@meetkai/mka1 0.54.76 → 0.54.77

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/bin/mcp-server.js +8 -8
  2. package/bin/mcp-server.js.map +8 -8
  3. package/dist/commonjs/funcs/llmFilesDelete.d.ts +1 -1
  4. package/dist/commonjs/funcs/llmFilesDelete.js +1 -1
  5. package/dist/commonjs/funcs/llmVectorStoresDeleteFile.d.ts +1 -1
  6. package/dist/commonjs/funcs/llmVectorStoresDeleteFile.js +1 -1
  7. package/dist/commonjs/lib/config.d.ts +3 -3
  8. package/dist/commonjs/lib/config.js +3 -3
  9. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  10. package/dist/commonjs/mcp-server/server.js +1 -1
  11. package/dist/commonjs/mcp-server/tools/llmFilesDelete.js +1 -1
  12. package/dist/commonjs/mcp-server/tools/llmFilesDelete.js.map +1 -1
  13. package/dist/commonjs/mcp-server/tools/llmVectorStoresDeleteFile.js +1 -1
  14. package/dist/commonjs/mcp-server/tools/llmVectorStoresDeleteFile.js.map +1 -1
  15. package/dist/commonjs/react-query/llmFilesDelete.d.ts +1 -1
  16. package/dist/commonjs/react-query/llmFilesDelete.js +1 -1
  17. package/dist/commonjs/react-query/llmVectorStoresDeleteFile.d.ts +1 -1
  18. package/dist/commonjs/react-query/llmVectorStoresDeleteFile.js +1 -1
  19. package/dist/commonjs/sdk/files.d.ts +1 -1
  20. package/dist/commonjs/sdk/files.js +1 -1
  21. package/dist/commonjs/sdk/vectorstores.d.ts +1 -1
  22. package/dist/commonjs/sdk/vectorstores.js +1 -1
  23. package/dist/esm/funcs/llmFilesDelete.d.ts +1 -1
  24. package/dist/esm/funcs/llmFilesDelete.js +1 -1
  25. package/dist/esm/funcs/llmVectorStoresDeleteFile.d.ts +1 -1
  26. package/dist/esm/funcs/llmVectorStoresDeleteFile.js +1 -1
  27. package/dist/esm/lib/config.d.ts +3 -3
  28. package/dist/esm/lib/config.js +3 -3
  29. package/dist/esm/mcp-server/mcp-server.js +1 -1
  30. package/dist/esm/mcp-server/server.js +1 -1
  31. package/dist/esm/mcp-server/tools/llmFilesDelete.js +1 -1
  32. package/dist/esm/mcp-server/tools/llmFilesDelete.js.map +1 -1
  33. package/dist/esm/mcp-server/tools/llmVectorStoresDeleteFile.js +1 -1
  34. package/dist/esm/mcp-server/tools/llmVectorStoresDeleteFile.js.map +1 -1
  35. package/dist/esm/react-query/llmFilesDelete.d.ts +1 -1
  36. package/dist/esm/react-query/llmFilesDelete.js +1 -1
  37. package/dist/esm/react-query/llmVectorStoresDeleteFile.d.ts +1 -1
  38. package/dist/esm/react-query/llmVectorStoresDeleteFile.js +1 -1
  39. package/dist/esm/sdk/files.d.ts +1 -1
  40. package/dist/esm/sdk/files.js +1 -1
  41. package/dist/esm/sdk/vectorstores.d.ts +1 -1
  42. package/dist/esm/sdk/vectorstores.js +1 -1
  43. package/jsr.json +1 -1
  44. package/package.json +1 -1
  45. package/src/funcs/llmFilesDelete.ts +1 -1
  46. package/src/funcs/llmVectorStoresDeleteFile.ts +1 -1
  47. package/src/lib/config.ts +3 -3
  48. package/src/mcp-server/mcp-server.ts +1 -1
  49. package/src/mcp-server/server.ts +1 -1
  50. package/src/mcp-server/tools/llmFilesDelete.ts +1 -1
  51. package/src/mcp-server/tools/llmVectorStoresDeleteFile.ts +1 -1
  52. package/src/react-query/llmFilesDelete.ts +1 -1
  53. package/src/react-query/llmVectorStoresDeleteFile.ts +1 -1
  54. package/src/sdk/files.ts +1 -1
  55. package/src/sdk/vectorstores.ts +1 -1
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
12
12
  * Delete file
13
13
  *
14
14
  * @remarks
15
- * Delete a file from storage. This will also remove it from any vector stores.
15
+ * Delete a file from storage. The file is first removed from every vector store it is attached to, embeddings included, so it no longer appears in vector store search or `file_search` results. If that cannot finish, the file is kept and the request fails; retrying completes the deletion. Returns 400 `feature_unavailable` when the file is attached to a vector store while the search service is unavailable, and 409 when the file was added to a vector store during the deletion.
16
16
  *
17
17
  * If set, this operation will use {@link Security.bearerAuth} from the global security.
18
18
  */
@@ -51,7 +51,7 @@ const async_js_1 = require("../types/async.js");
51
51
  * Delete file
52
52
  *
53
53
  * @remarks
54
- * Delete a file from storage. This will also remove it from any vector stores.
54
+ * Delete a file from storage. The file is first removed from every vector store it is attached to, embeddings included, so it no longer appears in vector store search or `file_search` results. If that cannot finish, the file is kept and the request fails; retrying completes the deletion. Returns 400 `feature_unavailable` when the file is attached to a vector store while the search service is unavailable, and 409 when the file was added to a vector store during the deletion.
55
55
  *
56
56
  * If set, this operation will use {@link Security.bearerAuth} from the global security.
57
57
  */
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
12
12
  * Remove file from vector store
13
13
  *
14
14
  * @remarks
15
- * Removes a file from a vector store and deletes its associated embeddings.
15
+ * Removes a file from a vector store and deletes its associated embeddings. If the file is no longer attached but the vector store still holds embeddings for it (for example, left behind by an earlier file deletion), those embeddings are deleted and the request succeeds, provided the file was deleted or you can read it; otherwise, and when there is nothing to remove, returns 404. Returns 409 if the file keeps being added back to the vector store while it is being removed; retrying completes the removal.
16
16
  *
17
17
  * If set, this operation will use {@link Security.bearerAuth} from the global security.
18
18
  */
@@ -51,7 +51,7 @@ const async_js_1 = require("../types/async.js");
51
51
  * Remove file from vector store
52
52
  *
53
53
  * @remarks
54
- * Removes a file from a vector store and deletes its associated embeddings.
54
+ * Removes a file from a vector store and deletes its associated embeddings. If the file is no longer attached but the vector store still holds embeddings for it (for example, left behind by an earlier file deletion), those embeddings are deleted and the request succeeds, provided the file was deleted or you can read it; otherwise, and when there is nothing to remove, returns 404. Returns 409 if the file keeps being added back to the vector store while it is being removed; retrying completes the removal.
55
55
  *
56
56
  * If set, this operation will use {@link Security.bearerAuth} from the global security.
57
57
  */
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
31
31
  export declare const SDK_METADATA: {
32
32
  readonly language: "typescript";
33
33
  readonly openapiDocVersion: "1.1.0";
34
- readonly sdkVersion: "0.54.76";
35
- readonly genVersion: "2.943.0";
36
- readonly userAgent: "speakeasy-sdk/typescript 0.54.76 2.943.0 1.1.0 @meetkai/mka1";
34
+ readonly sdkVersion: "0.54.77";
35
+ readonly genVersion: "2.946.0";
36
+ readonly userAgent: "speakeasy-sdk/typescript 0.54.77 2.946.0 1.1.0 @meetkai/mka1";
37
37
  };
38
38
  //# sourceMappingURL=config.d.ts.map
@@ -35,8 +35,8 @@ function serverURLFromOptions(options) {
35
35
  exports.SDK_METADATA = {
36
36
  language: "typescript",
37
37
  openapiDocVersion: "1.1.0",
38
- sdkVersion: "0.54.76",
39
- genVersion: "2.943.0",
40
- userAgent: "speakeasy-sdk/typescript 0.54.76 2.943.0 1.1.0 @meetkai/mka1",
38
+ sdkVersion: "0.54.77",
39
+ genVersion: "2.946.0",
40
+ userAgent: "speakeasy-sdk/typescript 0.54.77 2.946.0 1.1.0 @meetkai/mka1",
41
41
  };
42
42
  //# sourceMappingURL=config.js.map
@@ -22,7 +22,7 @@ const routes = (0, core_1.buildRouteMap)({
22
22
  exports.app = (0, core_1.buildApplication)(routes, {
23
23
  name: "mcp",
24
24
  versionInfo: {
25
- currentVersion: "0.54.76",
25
+ currentVersion: "0.54.77",
26
26
  },
27
27
  });
28
28
  (0, core_1.run)(exports.app, node_process_1.default.argv.slice(2), (0, cli_js_1.buildContext)(node_process_1.default));
@@ -460,7 +460,7 @@ const usageSandbox_js_1 = require("./tools/usageSandbox.js");
460
460
  function createMCPServer(deps) {
461
461
  const server = new mcp_js_1.McpServer({
462
462
  name: "SDK",
463
- version: "0.54.76",
463
+ version: "0.54.77",
464
464
  });
465
465
  const client = new core_js_1.SDKCore({
466
466
  bearerAuth: deps.bearerAuth,
@@ -47,7 +47,7 @@ exports.tool$llmFilesDelete = {
47
47
  name: "llm-files-delete",
48
48
  description: `Delete file
49
49
 
50
- Delete a file from storage. This will also remove it from any vector stores.`,
50
+ Delete a file from storage. The file is first removed from every vector store it is attached to, embeddings included, so it no longer appears in vector store search or \`file_search\` results. If that cannot finish, the file is kept and the request fails; retrying completes the deletion. Returns 400 \`feature_unavailable\` when the file is attached to a vector store while the search service is unavailable, and 409 when the file was added to a vector store during the deletion.`,
51
51
  args,
52
52
  tool: async (client, args, ctx) => {
53
53
  const [result, apiCall] = await (0, llmFilesDelete_js_1.llmFilesDelete)(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
@@ -1 +1 @@
1
- {"version":3,"file":"llmFilesDelete.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/llmFilesDelete.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,qEAA+D;AAC/D,6EAA+D;AAC/D,0CAA2D;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,UAAU,CAAC,+BAA+B;CACpD,CAAC;AAEW,QAAA,mBAAmB,GAAgC;IAC9D,IAAI,EAAE,kBAAkB;IACxB,WAAW,EAAE;;6EAE8D;IAC3E,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,IAAA,kCAAc,EAC5C,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;QAE3B,OAAO,IAAA,uBAAY,EAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;CACF,CAAC"}
1
+ {"version":3,"file":"llmFilesDelete.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/llmFilesDelete.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,qEAA+D;AAC/D,6EAA+D;AAC/D,0CAA2D;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,UAAU,CAAC,+BAA+B;CACpD,CAAC;AAEW,QAAA,mBAAmB,GAAgC;IAC9D,IAAI,EAAE,kBAAkB;IACxB,WAAW,EAAE;;ieAEkd;IAC/d,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,IAAA,kCAAc,EAC5C,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;QAE3B,OAAO,IAAA,uBAAY,EAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;CACF,CAAC"}
@@ -47,7 +47,7 @@ exports.tool$llmVectorStoresDeleteFile = {
47
47
  name: "llm-vector-stores-delete-file",
48
48
  description: `Remove file from vector store
49
49
 
50
- Removes a file from a vector store and deletes its associated embeddings.`,
50
+ Removes a file from a vector store and deletes its associated embeddings. If the file is no longer attached but the vector store still holds embeddings for it (for example, left behind by an earlier file deletion), those embeddings are deleted and the request succeeds, provided the file was deleted or you can read it; otherwise, and when there is nothing to remove, returns 404. Returns 409 if the file keeps being added back to the vector store while it is being removed; retrying completes the removal.`,
51
51
  args,
52
52
  tool: async (client, args, ctx) => {
53
53
  const [result, apiCall] = await (0, llmVectorStoresDeleteFile_js_1.llmVectorStoresDeleteFile)(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
@@ -1 +1 @@
1
- {"version":3,"file":"llmVectorStoresDeleteFile.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/llmVectorStoresDeleteFile.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,2FAAqF;AACrF,6EAA+D;AAC/D,0CAA2D;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,UAAU,CAAC,0CAA0C;CAC/D,CAAC;AAEW,QAAA,8BAA8B,GAAgC;IACzE,IAAI,EAAE,+BAA+B;IACrC,WAAW,EAAE;;0EAE2D;IACxE,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,IAAA,wDAAyB,EACvD,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;QAE3B,OAAO,IAAA,uBAAY,EAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;CACF,CAAC"}
1
+ {"version":3,"file":"llmVectorStoresDeleteFile.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/llmVectorStoresDeleteFile.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,2FAAqF;AACrF,6EAA+D;AAC/D,0CAA2D;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,UAAU,CAAC,0CAA0C;CAC/D,CAAC;AAEW,QAAA,8BAA8B,GAAgC;IACzE,IAAI,EAAE,+BAA+B;IACrC,WAAW,EAAE;;2fAE4e;IACzf,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,IAAA,wDAAyB,EACvD,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;QAE3B,OAAO,IAAA,uBAAY,EAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;CACF,CAAC"}
@@ -18,7 +18,7 @@ export type LlmFilesDeleteMutationError = SDKError | ResponseValidationError | C
18
18
  * Delete file
19
19
  *
20
20
  * @remarks
21
- * Delete a file from storage. This will also remove it from any vector stores.
21
+ * Delete a file from storage. The file is first removed from every vector store it is attached to, embeddings included, so it no longer appears in vector store search or `file_search` results. If that cannot finish, the file is kept and the request fails; retrying completes the deletion. Returns 400 `feature_unavailable` when the file is attached to a vector store while the search service is unavailable, and 409 when the file was added to a vector store during the deletion.
22
22
  */
23
23
  export declare function useLlmFilesDeleteMutation(options?: MutationHookOptions<LlmFilesDeleteMutationData, LlmFilesDeleteMutationError, LlmFilesDeleteMutationVariables>): UseMutationResult<LlmFilesDeleteMutationData, LlmFilesDeleteMutationError, LlmFilesDeleteMutationVariables>;
24
24
  export declare function mutationKeyLlmFilesDelete(): MutationKey;
@@ -15,7 +15,7 @@ const _context_js_1 = require("./_context.js");
15
15
  * Delete file
16
16
  *
17
17
  * @remarks
18
- * Delete a file from storage. This will also remove it from any vector stores.
18
+ * Delete a file from storage. The file is first removed from every vector store it is attached to, embeddings included, so it no longer appears in vector store search or `file_search` results. If that cannot finish, the file is kept and the request fails; retrying completes the deletion. Returns 400 `feature_unavailable` when the file is attached to a vector store while the search service is unavailable, and 409 when the file was added to a vector store during the deletion.
19
19
  */
20
20
  function useLlmFilesDeleteMutation(options) {
21
21
  const client = (0, _context_js_1.useSDKContext)();
@@ -18,7 +18,7 @@ export type LlmVectorStoresDeleteFileMutationError = SDKError | ResponseValidati
18
18
  * Remove file from vector store
19
19
  *
20
20
  * @remarks
21
- * Removes a file from a vector store and deletes its associated embeddings.
21
+ * Removes a file from a vector store and deletes its associated embeddings. If the file is no longer attached but the vector store still holds embeddings for it (for example, left behind by an earlier file deletion), those embeddings are deleted and the request succeeds, provided the file was deleted or you can read it; otherwise, and when there is nothing to remove, returns 404. Returns 409 if the file keeps being added back to the vector store while it is being removed; retrying completes the removal.
22
22
  */
23
23
  export declare function useLlmVectorStoresDeleteFileMutation(options?: MutationHookOptions<LlmVectorStoresDeleteFileMutationData, LlmVectorStoresDeleteFileMutationError, LlmVectorStoresDeleteFileMutationVariables>): UseMutationResult<LlmVectorStoresDeleteFileMutationData, LlmVectorStoresDeleteFileMutationError, LlmVectorStoresDeleteFileMutationVariables>;
24
24
  export declare function mutationKeyLlmVectorStoresDeleteFile(): MutationKey;
@@ -15,7 +15,7 @@ const _context_js_1 = require("./_context.js");
15
15
  * Remove file from vector store
16
16
  *
17
17
  * @remarks
18
- * Removes a file from a vector store and deletes its associated embeddings.
18
+ * Removes a file from a vector store and deletes its associated embeddings. If the file is no longer attached but the vector store still holds embeddings for it (for example, left behind by an earlier file deletion), those embeddings are deleted and the request succeeds, provided the file was deleted or you can read it; otherwise, and when there is nothing to remove, returns 404. Returns 409 if the file keeps being added back to the vector store while it is being removed; retrying completes the removal.
19
19
  */
20
20
  function useLlmVectorStoresDeleteFileMutation(options) {
21
21
  const client = (0, _context_js_1.useSDKContext)();
@@ -29,7 +29,7 @@ export declare class Files extends ClientSDK {
29
29
  * Delete file
30
30
  *
31
31
  * @remarks
32
- * Delete a file from storage. This will also remove it from any vector stores.
32
+ * Delete a file from storage. The file is first removed from every vector store it is attached to, embeddings included, so it no longer appears in vector store search or `file_search` results. If that cannot finish, the file is kept and the request fails; retrying completes the deletion. Returns 400 `feature_unavailable` when the file is attached to a vector store while the search service is unavailable, and 409 when the file was added to a vector store during the deletion.
33
33
  */
34
34
  delete(request: operations.DeleteFileRequest, options?: RequestOptions): Promise<components.FileDeletionStatus>;
35
35
  /**
@@ -45,7 +45,7 @@ class Files extends sdks_js_1.ClientSDK {
45
45
  * Delete file
46
46
  *
47
47
  * @remarks
48
- * Delete a file from storage. This will also remove it from any vector stores.
48
+ * Delete a file from storage. The file is first removed from every vector store it is attached to, embeddings included, so it no longer appears in vector store search or `file_search` results. If that cannot finish, the file is kept and the request fails; retrying completes the deletion. Returns 400 `feature_unavailable` when the file is attached to a vector store while the search service is unavailable, and 409 when the file was added to a vector store during the deletion.
49
49
  */
50
50
  async delete(request, options) {
51
51
  return (0, fp_js_1.unwrapAsync)((0, llmFilesDelete_js_1.llmFilesDelete)(this, request, options));
@@ -76,7 +76,7 @@ export declare class VectorStores extends ClientSDK {
76
76
  * Remove file from vector store
77
77
  *
78
78
  * @remarks
79
- * Removes a file from a vector store and deletes its associated embeddings.
79
+ * Removes a file from a vector store and deletes its associated embeddings. If the file is no longer attached but the vector store still holds embeddings for it (for example, left behind by an earlier file deletion), those embeddings are deleted and the request succeeds, provided the file was deleted or you can read it; otherwise, and when there is nothing to remove, returns 404. Returns 409 if the file keeps being added back to the vector store while it is being removed; retrying completes the removal.
80
80
  */
81
81
  deleteFile(request: operations.DeleteVectorStoreFileRequest, options?: RequestOptions): Promise<components.VectorStoreFileDeletionStatus>;
82
82
  /**
@@ -117,7 +117,7 @@ class VectorStores extends sdks_js_1.ClientSDK {
117
117
  * Remove file from vector store
118
118
  *
119
119
  * @remarks
120
- * Removes a file from a vector store and deletes its associated embeddings.
120
+ * Removes a file from a vector store and deletes its associated embeddings. If the file is no longer attached but the vector store still holds embeddings for it (for example, left behind by an earlier file deletion), those embeddings are deleted and the request succeeds, provided the file was deleted or you can read it; otherwise, and when there is nothing to remove, returns 404. Returns 409 if the file keeps being added back to the vector store while it is being removed; retrying completes the removal.
121
121
  */
122
122
  async deleteFile(request, options) {
123
123
  return (0, fp_js_1.unwrapAsync)((0, llmVectorStoresDeleteFile_js_1.llmVectorStoresDeleteFile)(this, request, options));
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
12
12
  * Delete file
13
13
  *
14
14
  * @remarks
15
- * Delete a file from storage. This will also remove it from any vector stores.
15
+ * Delete a file from storage. The file is first removed from every vector store it is attached to, embeddings included, so it no longer appears in vector store search or `file_search` results. If that cannot finish, the file is kept and the request fails; retrying completes the deletion. Returns 400 `feature_unavailable` when the file is attached to a vector store while the search service is unavailable, and 409 when the file was added to a vector store during the deletion.
16
16
  *
17
17
  * If set, this operation will use {@link Security.bearerAuth} from the global security.
18
18
  */
@@ -15,7 +15,7 @@ import { APIPromise } from "../types/async.js";
15
15
  * Delete file
16
16
  *
17
17
  * @remarks
18
- * Delete a file from storage. This will also remove it from any vector stores.
18
+ * Delete a file from storage. The file is first removed from every vector store it is attached to, embeddings included, so it no longer appears in vector store search or `file_search` results. If that cannot finish, the file is kept and the request fails; retrying completes the deletion. Returns 400 `feature_unavailable` when the file is attached to a vector store while the search service is unavailable, and 409 when the file was added to a vector store during the deletion.
19
19
  *
20
20
  * If set, this operation will use {@link Security.bearerAuth} from the global security.
21
21
  */
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
12
12
  * Remove file from vector store
13
13
  *
14
14
  * @remarks
15
- * Removes a file from a vector store and deletes its associated embeddings.
15
+ * Removes a file from a vector store and deletes its associated embeddings. If the file is no longer attached but the vector store still holds embeddings for it (for example, left behind by an earlier file deletion), those embeddings are deleted and the request succeeds, provided the file was deleted or you can read it; otherwise, and when there is nothing to remove, returns 404. Returns 409 if the file keeps being added back to the vector store while it is being removed; retrying completes the removal.
16
16
  *
17
17
  * If set, this operation will use {@link Security.bearerAuth} from the global security.
18
18
  */
@@ -15,7 +15,7 @@ import { APIPromise } from "../types/async.js";
15
15
  * Remove file from vector store
16
16
  *
17
17
  * @remarks
18
- * Removes a file from a vector store and deletes its associated embeddings.
18
+ * Removes a file from a vector store and deletes its associated embeddings. If the file is no longer attached but the vector store still holds embeddings for it (for example, left behind by an earlier file deletion), those embeddings are deleted and the request succeeds, provided the file was deleted or you can read it; otherwise, and when there is nothing to remove, returns 404. Returns 409 if the file keeps being added back to the vector store while it is being removed; retrying completes the removal.
19
19
  *
20
20
  * If set, this operation will use {@link Security.bearerAuth} from the global security.
21
21
  */
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
31
31
  export declare const SDK_METADATA: {
32
32
  readonly language: "typescript";
33
33
  readonly openapiDocVersion: "1.1.0";
34
- readonly sdkVersion: "0.54.76";
35
- readonly genVersion: "2.943.0";
36
- readonly userAgent: "speakeasy-sdk/typescript 0.54.76 2.943.0 1.1.0 @meetkai/mka1";
34
+ readonly sdkVersion: "0.54.77";
35
+ readonly genVersion: "2.946.0";
36
+ readonly userAgent: "speakeasy-sdk/typescript 0.54.77 2.946.0 1.1.0 @meetkai/mka1";
37
37
  };
38
38
  //# sourceMappingURL=config.d.ts.map
@@ -31,8 +31,8 @@ export function serverURLFromOptions(options) {
31
31
  export const SDK_METADATA = {
32
32
  language: "typescript",
33
33
  openapiDocVersion: "1.1.0",
34
- sdkVersion: "0.54.76",
35
- genVersion: "2.943.0",
36
- userAgent: "speakeasy-sdk/typescript 0.54.76 2.943.0 1.1.0 @meetkai/mka1",
34
+ sdkVersion: "0.54.77",
35
+ genVersion: "2.946.0",
36
+ userAgent: "speakeasy-sdk/typescript 0.54.77 2.946.0 1.1.0 @meetkai/mka1",
37
37
  };
38
38
  //# sourceMappingURL=config.js.map
@@ -16,7 +16,7 @@ const routes = buildRouteMap({
16
16
  export const app = buildApplication(routes, {
17
17
  name: "mcp",
18
18
  versionInfo: {
19
- currentVersion: "0.54.76",
19
+ currentVersion: "0.54.77",
20
20
  },
21
21
  });
22
22
  run(app, process.argv.slice(2), buildContext(process));
@@ -457,7 +457,7 @@ import { tool$usageSandbox } from "./tools/usageSandbox.js";
457
457
  export function createMCPServer(deps) {
458
458
  const server = new McpServer({
459
459
  name: "SDK",
460
- version: "0.54.76",
460
+ version: "0.54.77",
461
461
  });
462
462
  const client = new SDKCore({
463
463
  bearerAuth: deps.bearerAuth,
@@ -11,7 +11,7 @@ export const tool$llmFilesDelete = {
11
11
  name: "llm-files-delete",
12
12
  description: `Delete file
13
13
 
14
- Delete a file from storage. This will also remove it from any vector stores.`,
14
+ Delete a file from storage. The file is first removed from every vector store it is attached to, embeddings included, so it no longer appears in vector store search or \`file_search\` results. If that cannot finish, the file is kept and the request fails; retrying completes the deletion. Returns 400 \`feature_unavailable\` when the file is attached to a vector store while the search service is unavailable, and 409 when the file was added to a vector store during the deletion.`,
15
15
  args,
16
16
  tool: async (client, args, ctx) => {
17
17
  const [result, apiCall] = await llmFilesDelete(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
@@ -1 +1 @@
1
- {"version":3,"file":"llmFilesDelete.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/llmFilesDelete.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,KAAK,UAAU,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,UAAU,CAAC,+BAA+B;CACpD,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAgC;IAC9D,IAAI,EAAE,kBAAkB;IACxB,WAAW,EAAE;;6EAE8D;IAC3E,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,cAAc,CAC5C,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;QAE3B,OAAO,YAAY,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;CACF,CAAC"}
1
+ {"version":3,"file":"llmFilesDelete.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/llmFilesDelete.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,KAAK,UAAU,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,UAAU,CAAC,+BAA+B;CACpD,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAgC;IAC9D,IAAI,EAAE,kBAAkB;IACxB,WAAW,EAAE;;ieAEkd;IAC/d,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,cAAc,CAC5C,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;QAE3B,OAAO,YAAY,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;CACF,CAAC"}
@@ -11,7 +11,7 @@ export const tool$llmVectorStoresDeleteFile = {
11
11
  name: "llm-vector-stores-delete-file",
12
12
  description: `Remove file from vector store
13
13
 
14
- Removes a file from a vector store and deletes its associated embeddings.`,
14
+ Removes a file from a vector store and deletes its associated embeddings. If the file is no longer attached but the vector store still holds embeddings for it (for example, left behind by an earlier file deletion), those embeddings are deleted and the request succeeds, provided the file was deleted or you can read it; otherwise, and when there is nothing to remove, returns 404. Returns 409 if the file keeps being added back to the vector store while it is being removed; retrying completes the removal.`,
15
15
  args,
16
16
  tool: async (client, args, ctx) => {
17
17
  const [result, apiCall] = await llmVectorStoresDeleteFile(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
@@ -1 +1 @@
1
- {"version":3,"file":"llmVectorStoresDeleteFile.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/llmVectorStoresDeleteFile.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,yBAAyB,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,KAAK,UAAU,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,UAAU,CAAC,0CAA0C;CAC/D,CAAC;AAEF,MAAM,CAAC,MAAM,8BAA8B,GAAgC;IACzE,IAAI,EAAE,+BAA+B;IACrC,WAAW,EAAE;;0EAE2D;IACxE,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,yBAAyB,CACvD,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;QAE3B,OAAO,YAAY,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;CACF,CAAC"}
1
+ {"version":3,"file":"llmVectorStoresDeleteFile.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/llmVectorStoresDeleteFile.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,yBAAyB,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,KAAK,UAAU,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,UAAU,CAAC,0CAA0C;CAC/D,CAAC;AAEF,MAAM,CAAC,MAAM,8BAA8B,GAAgC;IACzE,IAAI,EAAE,+BAA+B;IACrC,WAAW,EAAE;;2fAE4e;IACzf,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,yBAAyB,CACvD,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;QAE3B,OAAO,YAAY,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;CACF,CAAC"}
@@ -18,7 +18,7 @@ export type LlmFilesDeleteMutationError = SDKError | ResponseValidationError | C
18
18
  * Delete file
19
19
  *
20
20
  * @remarks
21
- * Delete a file from storage. This will also remove it from any vector stores.
21
+ * Delete a file from storage. The file is first removed from every vector store it is attached to, embeddings included, so it no longer appears in vector store search or `file_search` results. If that cannot finish, the file is kept and the request fails; retrying completes the deletion. Returns 400 `feature_unavailable` when the file is attached to a vector store while the search service is unavailable, and 409 when the file was added to a vector store during the deletion.
22
22
  */
23
23
  export declare function useLlmFilesDeleteMutation(options?: MutationHookOptions<LlmFilesDeleteMutationData, LlmFilesDeleteMutationError, LlmFilesDeleteMutationVariables>): UseMutationResult<LlmFilesDeleteMutationData, LlmFilesDeleteMutationError, LlmFilesDeleteMutationVariables>;
24
24
  export declare function mutationKeyLlmFilesDelete(): MutationKey;
@@ -10,7 +10,7 @@ import { useSDKContext } from "./_context.js";
10
10
  * Delete file
11
11
  *
12
12
  * @remarks
13
- * Delete a file from storage. This will also remove it from any vector stores.
13
+ * Delete a file from storage. The file is first removed from every vector store it is attached to, embeddings included, so it no longer appears in vector store search or `file_search` results. If that cannot finish, the file is kept and the request fails; retrying completes the deletion. Returns 400 `feature_unavailable` when the file is attached to a vector store while the search service is unavailable, and 409 when the file was added to a vector store during the deletion.
14
14
  */
15
15
  export function useLlmFilesDeleteMutation(options) {
16
16
  const client = useSDKContext();
@@ -18,7 +18,7 @@ export type LlmVectorStoresDeleteFileMutationError = SDKError | ResponseValidati
18
18
  * Remove file from vector store
19
19
  *
20
20
  * @remarks
21
- * Removes a file from a vector store and deletes its associated embeddings.
21
+ * Removes a file from a vector store and deletes its associated embeddings. If the file is no longer attached but the vector store still holds embeddings for it (for example, left behind by an earlier file deletion), those embeddings are deleted and the request succeeds, provided the file was deleted or you can read it; otherwise, and when there is nothing to remove, returns 404. Returns 409 if the file keeps being added back to the vector store while it is being removed; retrying completes the removal.
22
22
  */
23
23
  export declare function useLlmVectorStoresDeleteFileMutation(options?: MutationHookOptions<LlmVectorStoresDeleteFileMutationData, LlmVectorStoresDeleteFileMutationError, LlmVectorStoresDeleteFileMutationVariables>): UseMutationResult<LlmVectorStoresDeleteFileMutationData, LlmVectorStoresDeleteFileMutationError, LlmVectorStoresDeleteFileMutationVariables>;
24
24
  export declare function mutationKeyLlmVectorStoresDeleteFile(): MutationKey;
@@ -10,7 +10,7 @@ import { useSDKContext } from "./_context.js";
10
10
  * Remove file from vector store
11
11
  *
12
12
  * @remarks
13
- * Removes a file from a vector store and deletes its associated embeddings.
13
+ * Removes a file from a vector store and deletes its associated embeddings. If the file is no longer attached but the vector store still holds embeddings for it (for example, left behind by an earlier file deletion), those embeddings are deleted and the request succeeds, provided the file was deleted or you can read it; otherwise, and when there is nothing to remove, returns 404. Returns 409 if the file keeps being added back to the vector store while it is being removed; retrying completes the removal.
14
14
  */
15
15
  export function useLlmVectorStoresDeleteFileMutation(options) {
16
16
  const client = useSDKContext();
@@ -29,7 +29,7 @@ export declare class Files extends ClientSDK {
29
29
  * Delete file
30
30
  *
31
31
  * @remarks
32
- * Delete a file from storage. This will also remove it from any vector stores.
32
+ * Delete a file from storage. The file is first removed from every vector store it is attached to, embeddings included, so it no longer appears in vector store search or `file_search` results. If that cannot finish, the file is kept and the request fails; retrying completes the deletion. Returns 400 `feature_unavailable` when the file is attached to a vector store while the search service is unavailable, and 409 when the file was added to a vector store during the deletion.
33
33
  */
34
34
  delete(request: operations.DeleteFileRequest, options?: RequestOptions): Promise<components.FileDeletionStatus>;
35
35
  /**
@@ -41,7 +41,7 @@ export class Files extends ClientSDK {
41
41
  * Delete file
42
42
  *
43
43
  * @remarks
44
- * Delete a file from storage. This will also remove it from any vector stores.
44
+ * Delete a file from storage. The file is first removed from every vector store it is attached to, embeddings included, so it no longer appears in vector store search or `file_search` results. If that cannot finish, the file is kept and the request fails; retrying completes the deletion. Returns 400 `feature_unavailable` when the file is attached to a vector store while the search service is unavailable, and 409 when the file was added to a vector store during the deletion.
45
45
  */
46
46
  async delete(request, options) {
47
47
  return unwrapAsync(llmFilesDelete(this, request, options));
@@ -76,7 +76,7 @@ export declare class VectorStores extends ClientSDK {
76
76
  * Remove file from vector store
77
77
  *
78
78
  * @remarks
79
- * Removes a file from a vector store and deletes its associated embeddings.
79
+ * Removes a file from a vector store and deletes its associated embeddings. If the file is no longer attached but the vector store still holds embeddings for it (for example, left behind by an earlier file deletion), those embeddings are deleted and the request succeeds, provided the file was deleted or you can read it; otherwise, and when there is nothing to remove, returns 404. Returns 409 if the file keeps being added back to the vector store while it is being removed; retrying completes the removal.
80
80
  */
81
81
  deleteFile(request: operations.DeleteVectorStoreFileRequest, options?: RequestOptions): Promise<components.VectorStoreFileDeletionStatus>;
82
82
  /**
@@ -114,7 +114,7 @@ export class VectorStores extends ClientSDK {
114
114
  * Remove file from vector store
115
115
  *
116
116
  * @remarks
117
- * Removes a file from a vector store and deletes its associated embeddings.
117
+ * Removes a file from a vector store and deletes its associated embeddings. If the file is no longer attached but the vector store still holds embeddings for it (for example, left behind by an earlier file deletion), those embeddings are deleted and the request succeeds, provided the file was deleted or you can read it; otherwise, and when there is nothing to remove, returns 404. Returns 409 if the file keeps being added back to the vector store while it is being removed; retrying completes the removal.
118
118
  */
119
119
  async deleteFile(request, options) {
120
120
  return unwrapAsync(llmVectorStoresDeleteFile(this, request, options));
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "@meetkai/mka1",
5
- "version": "0.54.76",
5
+ "version": "0.54.77",
6
6
  "exports": {
7
7
  ".": "./src/index.ts",
8
8
  "./models/errors": "./src/models/errors/index.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meetkai/mka1",
3
- "version": "0.54.76",
3
+ "version": "0.54.77",
4
4
  "author": "Daniel Wilder <dauncy@gmail.com>",
5
5
  "homepage": "https://docs.mka1.com",
6
6
  "publishConfig": {
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
30
30
  * Delete file
31
31
  *
32
32
  * @remarks
33
- * Delete a file from storage. This will also remove it from any vector stores.
33
+ * Delete a file from storage. The file is first removed from every vector store it is attached to, embeddings included, so it no longer appears in vector store search or `file_search` results. If that cannot finish, the file is kept and the request fails; retrying completes the deletion. Returns 400 `feature_unavailable` when the file is attached to a vector store while the search service is unavailable, and 409 when the file was added to a vector store during the deletion.
34
34
  *
35
35
  * If set, this operation will use {@link Security.bearerAuth} from the global security.
36
36
  */
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
30
30
  * Remove file from vector store
31
31
  *
32
32
  * @remarks
33
- * Removes a file from a vector store and deletes its associated embeddings.
33
+ * Removes a file from a vector store and deletes its associated embeddings. If the file is no longer attached but the vector store still holds embeddings for it (for example, left behind by an earlier file deletion), those embeddings are deleted and the request succeeds, provided the file was deleted or you can read it; otherwise, and when there is nothing to remove, returns 404. Returns 409 if the file keeps being added back to the vector store while it is being removed; retrying completes the removal.
34
34
  *
35
35
  * If set, this operation will use {@link Security.bearerAuth} from the global security.
36
36
  */
package/src/lib/config.ts CHANGED
@@ -65,7 +65,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
65
65
  export const SDK_METADATA = {
66
66
  language: "typescript",
67
67
  openapiDocVersion: "1.1.0",
68
- sdkVersion: "0.54.76",
69
- genVersion: "2.943.0",
70
- userAgent: "speakeasy-sdk/typescript 0.54.76 2.943.0 1.1.0 @meetkai/mka1",
68
+ sdkVersion: "0.54.77",
69
+ genVersion: "2.946.0",
70
+ userAgent: "speakeasy-sdk/typescript 0.54.77 2.946.0 1.1.0 @meetkai/mka1",
71
71
  } as const;
@@ -19,7 +19,7 @@ const routes = buildRouteMap({
19
19
  export const app = buildApplication(routes, {
20
20
  name: "mcp",
21
21
  versionInfo: {
22
- currentVersion: "0.54.76",
22
+ currentVersion: "0.54.77",
23
23
  },
24
24
  });
25
25
 
@@ -472,7 +472,7 @@ export function createMCPServer(deps: {
472
472
  }) {
473
473
  const server = new McpServer({
474
474
  name: "SDK",
475
- version: "0.54.76",
475
+ version: "0.54.77",
476
476
  });
477
477
 
478
478
  const client = new SDKCore({
@@ -14,7 +14,7 @@ export const tool$llmFilesDelete: ToolDefinition<typeof args> = {
14
14
  name: "llm-files-delete",
15
15
  description: `Delete file
16
16
 
17
- Delete a file from storage. This will also remove it from any vector stores.`,
17
+ Delete a file from storage. The file is first removed from every vector store it is attached to, embeddings included, so it no longer appears in vector store search or \`file_search\` results. If that cannot finish, the file is kept and the request fails; retrying completes the deletion. Returns 400 \`feature_unavailable\` when the file is attached to a vector store while the search service is unavailable, and 409 when the file was added to a vector store during the deletion.`,
18
18
  args,
19
19
  tool: async (client, args, ctx) => {
20
20
  const [result, apiCall] = await llmFilesDelete(
@@ -14,7 +14,7 @@ export const tool$llmVectorStoresDeleteFile: ToolDefinition<typeof args> = {
14
14
  name: "llm-vector-stores-delete-file",
15
15
  description: `Remove file from vector store
16
16
 
17
- Removes a file from a vector store and deletes its associated embeddings.`,
17
+ Removes a file from a vector store and deletes its associated embeddings. If the file is no longer attached but the vector store still holds embeddings for it (for example, left behind by an earlier file deletion), those embeddings are deleted and the request succeeds, provided the file was deleted or you can read it; otherwise, and when there is nothing to remove, returns 404. Returns 409 if the file keeps being added back to the vector store while it is being removed; retrying completes the removal.`,
18
18
  args,
19
19
  tool: async (client, args, ctx) => {
20
20
  const [result, apiCall] = await llmVectorStoresDeleteFile(
@@ -48,7 +48,7 @@ export type LlmFilesDeleteMutationError =
48
48
  * Delete file
49
49
  *
50
50
  * @remarks
51
- * Delete a file from storage. This will also remove it from any vector stores.
51
+ * Delete a file from storage. The file is first removed from every vector store it is attached to, embeddings included, so it no longer appears in vector store search or `file_search` results. If that cannot finish, the file is kept and the request fails; retrying completes the deletion. Returns 400 `feature_unavailable` when the file is attached to a vector store while the search service is unavailable, and 409 when the file was added to a vector store during the deletion.
52
52
  */
53
53
  export function useLlmFilesDeleteMutation(
54
54
  options?: MutationHookOptions<
@@ -49,7 +49,7 @@ export type LlmVectorStoresDeleteFileMutationError =
49
49
  * Remove file from vector store
50
50
  *
51
51
  * @remarks
52
- * Removes a file from a vector store and deletes its associated embeddings.
52
+ * Removes a file from a vector store and deletes its associated embeddings. If the file is no longer attached but the vector store still holds embeddings for it (for example, left behind by an earlier file deletion), those embeddings are deleted and the request succeeds, provided the file was deleted or you can read it; otherwise, and when there is nothing to remove, returns 404. Returns 409 if the file keeps being added back to the vector store while it is being removed; retrying completes the removal.
53
53
  */
54
54
  export function useLlmVectorStoresDeleteFileMutation(
55
55
  options?: MutationHookOptions<
package/src/sdk/files.ts CHANGED
@@ -73,7 +73,7 @@ export class Files extends ClientSDK {
73
73
  * Delete file
74
74
  *
75
75
  * @remarks
76
- * Delete a file from storage. This will also remove it from any vector stores.
76
+ * Delete a file from storage. The file is first removed from every vector store it is attached to, embeddings included, so it no longer appears in vector store search or `file_search` results. If that cannot finish, the file is kept and the request fails; retrying completes the deletion. Returns 400 `feature_unavailable` when the file is attached to a vector store while the search service is unavailable, and 409 when the file was added to a vector store during the deletion.
77
77
  */
78
78
  async delete(
79
79
  request: operations.DeleteFileRequest,
@@ -198,7 +198,7 @@ export class VectorStores extends ClientSDK {
198
198
  * Remove file from vector store
199
199
  *
200
200
  * @remarks
201
- * Removes a file from a vector store and deletes its associated embeddings.
201
+ * Removes a file from a vector store and deletes its associated embeddings. If the file is no longer attached but the vector store still holds embeddings for it (for example, left behind by an earlier file deletion), those embeddings are deleted and the request succeeds, provided the file was deleted or you can read it; otherwise, and when there is nothing to remove, returns 404. Returns 409 if the file keeps being added back to the vector store while it is being removed; retrying completes the removal.
202
202
  */
203
203
  async deleteFile(
204
204
  request: operations.DeleteVectorStoreFileRequest,