Repository navigation
Releases
@typesensekit/[email protected]
Minor Changes
-
0c94c19: Help AI agents finish Typesense tasks in fewer calls:
- MCP tools now carry agent-oriented descriptions, and the server sends instructions covering discovery, search parameters, filter syntax, facets, synonym and curation sets, and schema changes.
search,documents.searchanddocuments.exportdocument common Typesense parameters (q,query_by,filter_by,sort_by,facet_by,per_page, ...) while still accepting any other parameter.- New optional
compact: trueonsearch,documents.searchandmulti_searchreturns hits as{document}only, without highlight and text-match metadata (compactinsideparamsor a multi-search entry is honored too). - New
documents.delete_by_filter,documents.update_by_filteranddocuments.copy(server-side copy between collections, for reindexing) operations, full access only. collections.fields.*exposefacet,sort,index,optional,infix,stemandlocalein their schemas;collections.fields.replacedefaultstypeto the field's current type.- MCP errors add hints for common Typesense failures (in-place field changes, non-facetable, non-sortable or unindexed fields, missing
query_by, unknown collections), and legacyoverrides.listnow points to the linked curation sets on Typesense v30.
Patch Changes
-
0c94c19: Reduce MCP context overhead:
- Tool listings are about 40% smaller than in 1.5 (read-only 23.6k → 14.9k chars). They drop
$schema,additionalProperties: falseand descriptions that repeat the server instructions;collections.fields.droponly advertises its real inputs; rarely used vector and wait options are named instead of typed. Calls are still validated against the full input schemas. - Tool guidance is more concise, and JSON responses are unindented (lossless).
- New opt-in
collections.list {compact: true}: one call returns every collection's fields asname: type [non-default flags], its aliases, linked synonym and curation sets, andtext_fields(candidates forquery_by). Full schemas and search defaults are unchanged. - Errors about field flags (facet, sort, filter, non-indexed, missing
query_by) list the collection's fields, andcollections.fields.replacereturnsnum_documents.
- Tool listings are about 40% smaller than in 1.5 (read-only 23.6k → 14.9k chars). They drop
-
0c94c19: Update dependencies to clear all
pnpm auditadvisories: Zod 4.6 (replacing Zod 3 andzod-to-json-schema, using Zod's built-in JSON Schema output),@modelcontextprotocol/sdk1.32, andtypesense3.2, plus patched transitive versions offollow-redirects,fast-uri,hono,@hono/node-server,body-parser,qs,ip-address,undici,sharpandsource-map-js. Validation error messages now use Zod 4's wording, and--schemaoutput marks passthrough inputs withadditionalProperties: {}(equivalent totrue).
@typesensekit/[email protected]
Minor Changes
-
0c94c19: Make the CLI faster to learn from a shell.
tskandtsk --helpnow open with a quick-start cheat sheet, andtsk operationsprints it on stderr so its stdout stays the plainname<TAB>summarylist. Every input field can be passed as a--<field> valueflag, and search/export accept Typesense parameters as flags (tsk search products --filter-by 'price:<100' --per-page 0 --compact) or as flat--inputkeys, withqdefaulting to*.collections list|retrieve --compactprints a short overview with document counts, aliases and field facet/sort flags. When a cluster is configured,tsk,tsk --helpandtsk operationsalso show that overview for the connected cluster (one quick request; silent if unreachable; setTSK_NO_OVERVIEW=1to skip). Without--json,--compactsearch output is laid out densely (one hit or facet value per line, still valid JSON).--compacton other operations prints the same dense layout, and boolean flags accept--facet true|false. Extra flags on document writes set document fields (tsk documents update products p1 --price 9.99), and singular group names resolve (tsk key create). Operation help shows descriptions and field docs,yes: truein--inputconfirms destructive operations, and errors name unknown input fields and list a collection's fields when a field name is wrong. Unknown flags and extra arguments still run the command, now with a warning on stderr. Existing commands, flags and--jsonoutput are unchanged. -
0c94c19: Accept grouped operation paths and positional string inputs, add focused group and operation help with runnable examples, and report concise errors with diagnostics behind --debug. Add explicit JSONL and array export formats while preserving existing output.
-
0c94c19: Help AI agents finish Typesense tasks in fewer calls:
- MCP tools now carry agent-oriented descriptions, and the server sends instructions covering discovery, search parameters, filter syntax, facets, synonym and curation sets, and schema changes.
search,documents.searchanddocuments.exportdocument common Typesense parameters (q,query_by,filter_by,sort_by,facet_by,per_page, ...) while still accepting any other parameter.- New optional
compact: trueonsearch,documents.searchandmulti_searchreturns hits as{document}only, without highlight and text-match metadata (compactinsideparamsor a multi-search entry is honored too). - New
documents.delete_by_filter,documents.update_by_filteranddocuments.copy(server-side copy between collections, for reindexing) operations, full access only. collections.fields.*exposefacet,sort,index,optional,infix,stemandlocalein their schemas;collections.fields.replacedefaultstypeto the field's current type.- MCP errors add hints for common Typesense failures (in-place field changes, non-facetable, non-sortable or unindexed fields, missing
query_by, unknown collections), and legacyoverrides.listnow points to the linked curation sets on Typesense v30.
Patch Changes
- 0c94c19: Fix flag handling found in review:
--yes falseno longer confirms a destructive operation,--params '{...}'is used as the search/export params object (individual--<param>flags still override it),--compactoutput redacts credentials in collection schemas, andcollections.list --input '{"compact":true}' --compactprints the compact result instead of an empty schema. - 0c94c19: Reduce CLI startup work by lazily constructing command arguments and caching schema conversion. Restore live discovery in top-level help, explain common write and schema-repair workflows, and accept API key IDs as positional arguments.
- 0c94c19: Update dependencies to clear all
pnpm auditadvisories: Zod 4.6 (replacing Zod 3 andzod-to-json-schema, using Zod's built-in JSON Schema output),@modelcontextprotocol/sdk1.32, andtypesense3.2, plus patched transitive versions offollow-redirects,fast-uri,hono,@hono/node-server,body-parser,qs,ip-address,undici,sharpandsource-map-js. Validation error messages now use Zod 4's wording, and--schemaoutput marks passthrough inputs withadditionalProperties: {}(equivalent totrue).
@typesensekit/[email protected]
Minor Changes
-
8567435: Update dependencies to patched versions. Emit complete CLI JSON Schemas and validate examples for every operation. Add explicit CLI-only
keys.create --revealoutput and isolate new Keychain credentials by unique references.Apply the shared execution limits to MCP resource reads and return failures as protocol errors. Limit document batches to 100 IDs and eight concurrent requests per batch, preserving input order and draining active requests on failure. Record successful tool audits only after response serialization succeeds.
Patch Changes
- 8567435: Preserve MCP field definition inputs, retain concurrency slots for timed-out work until it settles, require confirmation for schema updates that drop fields, and prevent malformed HTTP Host headers from crashing the server. Prevent failed Keychain saves from printing API keys. Clarify credential setup and MCP execution limits.
- 8567435: Send document and stemming-dictionary imports with the correct text/plain content type so JSONL batches reach Typesense without JSON string encoding. Explicitly request text for document import/export responses. Add SDK transport regressions and a reusable live CLI/MCP integration test.
@typesensekit/[email protected]
Minor Changes
-
8567435: Update dependencies to patched versions. Emit complete CLI JSON Schemas and validate examples for every operation. Add explicit CLI-only
keys.create --revealoutput and isolate new Keychain credentials by unique references.Apply the shared execution limits to MCP resource reads and return failures as protocol errors. Limit document batches to 100 IDs and eight concurrent requests per batch, preserving input order and draining active requests on failure. Record successful tool audits only after response serialization succeeds.
Patch Changes
- 8567435: Preserve MCP field definition inputs, retain concurrency slots for timed-out work until it settles, require confirmation for schema updates that drop fields, and prevent malformed HTTP Host headers from crashing the server. Prevent failed Keychain saves from printing API keys. Clarify credential setup and MCP execution limits.
- 8567435: Send document and stemming-dictionary imports with the correct text/plain content type so JSONL batches reach Typesense without JSON string encoding. Explicitly request text for document import/export responses. Add SDK transport regressions and a reusable live CLI/MCP integration test.
@typesensekit/[email protected]
Patch Changes
- 7c3eee5: Move package repository metadata and the MCP Registry identity to the TypesenseKit GitHub organization.
@typesensekit/[email protected]
Patch Changes
- 90c4ed3: Improve npm discovery metadata and link each package to its dedicated Typesense CLI or Typesense MCP product page.
@typesensekit/[email protected]
Patch Changes
- Add official MCP Registry ownership metadata and an
mcpexecutable alias for registry clients.
@typesensekit/[email protected]
Minor Changes
- 8681b76: Add secret-safe structured tool auditing, consistent resource redaction, and real HTTP and stdio transport verification.
- 3323c2e: Add process-wide MCP tool timeouts, concurrency and rate limits, and bounded serialized responses.
- e57268d: Return structured MCP results and publish read-only, destructive, idempotent, and open-world tool annotations.
- 65c719d: Secure Streamable HTTP with loopback binding, Origin validation, bearer authentication, non-loopback startup safeguards, and bounded request bodies.
@typesensekit/[email protected]
Minor Changes
- 71373eb: Add first-class Typesense cluster operations for schema status, snapshots, leader election, cache clearing, database compaction, and slow-request logging.
- 3859593: Add first-class Typesense v30 global curation set and curation item operations.
- b9ca3a8: Add first-class natural-language search model management and redact provider token and client-secret fields.
- fcd42e1: Add first-class operations for listing, retrieving, and importing Typesense stemming dictionaries.
- c72997f: Add current analytics rule creation and filtering, event retrieval, status, and flush operations.
- 7ef1669: Declare Typesense v30.2 compatibility and add registry-generated API coverage documentation.