@keystrokehq/pinecone 0.1.2 → 0.1.4
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.
- package/dist/actions/cancel-bulk-import.cjs +1 -1
- package/dist/actions/cancel-bulk-import.cjs.map +1 -1
- package/dist/actions/cancel-bulk-import.d.cts +1 -1
- package/dist/actions/cancel-bulk-import.d.cts.map +1 -1
- package/dist/actions/cancel-bulk-import.d.mts +1 -1
- package/dist/actions/cancel-bulk-import.d.mts.map +1 -1
- package/dist/actions/cancel-bulk-import.mjs +1 -1
- package/dist/actions/cancel-bulk-import.mjs.map +1 -1
- package/dist/actions/chat-assistant.cjs +9 -9
- package/dist/actions/chat-assistant.cjs.map +1 -1
- package/dist/actions/chat-assistant.d.cts +11 -10
- package/dist/actions/chat-assistant.d.cts.map +1 -1
- package/dist/actions/chat-assistant.d.mts +11 -10
- package/dist/actions/chat-assistant.d.mts.map +1 -1
- package/dist/actions/chat-assistant.mjs +9 -9
- package/dist/actions/chat-assistant.mjs.map +1 -1
- package/dist/actions/chat-completion-assistant.cjs +6 -6
- package/dist/actions/chat-completion-assistant.cjs.map +1 -1
- package/dist/actions/chat-completion-assistant.d.cts +8 -7
- package/dist/actions/chat-completion-assistant.d.cts.map +1 -1
- package/dist/actions/chat-completion-assistant.d.mts +8 -7
- package/dist/actions/chat-completion-assistant.d.mts.map +1 -1
- package/dist/actions/chat-completion-assistant.mjs +6 -6
- package/dist/actions/chat-completion-assistant.mjs.map +1 -1
- package/dist/actions/configure-index.cjs +6 -6
- package/dist/actions/configure-index.cjs.map +1 -1
- package/dist/actions/configure-index.d.cts +7 -7
- package/dist/actions/configure-index.d.mts +7 -7
- package/dist/actions/configure-index.mjs +6 -6
- package/dist/actions/configure-index.mjs.map +1 -1
- package/dist/actions/create-assistant.cjs +3 -3
- package/dist/actions/create-assistant.cjs.map +1 -1
- package/dist/actions/create-assistant.d.cts +4 -4
- package/dist/actions/create-assistant.d.mts +4 -4
- package/dist/actions/create-assistant.mjs +3 -3
- package/dist/actions/create-assistant.mjs.map +1 -1
- package/dist/actions/create-backup.cjs +1 -1
- package/dist/actions/create-backup.cjs.map +1 -1
- package/dist/actions/create-backup.d.cts +1 -1
- package/dist/actions/create-backup.d.mts +1 -1
- package/dist/actions/create-backup.mjs +1 -1
- package/dist/actions/create-backup.mjs.map +1 -1
- package/dist/actions/create-index-for-model.cjs +9 -9
- package/dist/actions/create-index-for-model.cjs.map +1 -1
- package/dist/actions/create-index-for-model.d.cts +13 -13
- package/dist/actions/create-index-for-model.d.mts +13 -13
- package/dist/actions/create-index-for-model.mjs +9 -9
- package/dist/actions/create-index-for-model.mjs.map +1 -1
- package/dist/actions/create-index-from-backup.cjs +2 -2
- package/dist/actions/create-index-from-backup.cjs.map +1 -1
- package/dist/actions/create-index-from-backup.d.cts +3 -3
- package/dist/actions/create-index-from-backup.d.mts +3 -3
- package/dist/actions/create-index-from-backup.mjs +2 -2
- package/dist/actions/create-index-from-backup.mjs.map +1 -1
- package/dist/actions/create-index.cjs +2 -2
- package/dist/actions/create-index.cjs.map +1 -1
- package/dist/actions/create-index.d.cts +4 -4
- package/dist/actions/create-index.d.mts +4 -4
- package/dist/actions/create-index.mjs +2 -2
- package/dist/actions/create-index.mjs.map +1 -1
- package/dist/actions/create-namespace.cjs +4 -4
- package/dist/actions/create-namespace.cjs.map +1 -1
- package/dist/actions/create-namespace.d.cts +6 -6
- package/dist/actions/create-namespace.d.mts +6 -6
- package/dist/actions/create-namespace.mjs +4 -4
- package/dist/actions/create-namespace.mjs.map +1 -1
- package/dist/actions/delete-assistant.cjs +1 -1
- package/dist/actions/delete-assistant.cjs.map +1 -1
- package/dist/actions/delete-assistant.d.cts +1 -1
- package/dist/actions/delete-assistant.d.mts +1 -1
- package/dist/actions/delete-assistant.mjs +1 -1
- package/dist/actions/delete-assistant.mjs.map +1 -1
- package/dist/actions/delete-backup.cjs +1 -1
- package/dist/actions/delete-backup.cjs.map +1 -1
- package/dist/actions/delete-backup.d.cts +1 -1
- package/dist/actions/delete-backup.d.mts +1 -1
- package/dist/actions/delete-backup.mjs +1 -1
- package/dist/actions/delete-backup.mjs.map +1 -1
- package/dist/actions/delete-file.cjs +1 -1
- package/dist/actions/delete-file.cjs.map +1 -1
- package/dist/actions/delete-file.d.cts +1 -1
- package/dist/actions/delete-file.d.mts +1 -1
- package/dist/actions/delete-file.mjs +1 -1
- package/dist/actions/delete-file.mjs.map +1 -1
- package/dist/actions/delete-index.cjs +1 -1
- package/dist/actions/delete-index.cjs.map +1 -1
- package/dist/actions/delete-index.d.cts +1 -1
- package/dist/actions/delete-index.d.mts +1 -1
- package/dist/actions/delete-index.mjs +1 -1
- package/dist/actions/delete-index.mjs.map +1 -1
- package/dist/actions/delete-namespace.cjs +1 -1
- package/dist/actions/delete-namespace.cjs.map +1 -1
- package/dist/actions/delete-namespace.d.cts +1 -1
- package/dist/actions/delete-namespace.d.cts.map +1 -1
- package/dist/actions/delete-namespace.d.mts +1 -1
- package/dist/actions/delete-namespace.d.mts.map +1 -1
- package/dist/actions/delete-namespace.mjs +1 -1
- package/dist/actions/delete-namespace.mjs.map +1 -1
- package/dist/actions/delete-vectors.cjs +2 -2
- package/dist/actions/delete-vectors.cjs.map +1 -1
- package/dist/actions/delete-vectors.d.cts +3 -3
- package/dist/actions/delete-vectors.d.cts.map +1 -1
- package/dist/actions/delete-vectors.d.mts +3 -3
- package/dist/actions/delete-vectors.d.mts.map +1 -1
- package/dist/actions/delete-vectors.mjs +2 -2
- package/dist/actions/delete-vectors.mjs.map +1 -1
- package/dist/actions/describe-backup.cjs +3 -3
- package/dist/actions/describe-backup.cjs.map +1 -1
- package/dist/actions/describe-backup.d.cts +3 -3
- package/dist/actions/describe-backup.d.mts +3 -3
- package/dist/actions/describe-backup.mjs +3 -3
- package/dist/actions/describe-backup.mjs.map +1 -1
- package/dist/actions/describe-bulk-import.cjs +1 -1
- package/dist/actions/describe-bulk-import.cjs.map +1 -1
- package/dist/actions/describe-bulk-import.d.cts +1 -1
- package/dist/actions/describe-bulk-import.d.mts +1 -1
- package/dist/actions/describe-bulk-import.mjs +1 -1
- package/dist/actions/describe-bulk-import.mjs.map +1 -1
- package/dist/actions/describe-file.cjs +2 -2
- package/dist/actions/describe-file.cjs.map +1 -1
- package/dist/actions/describe-file.d.cts +2 -2
- package/dist/actions/describe-file.d.mts +2 -2
- package/dist/actions/describe-file.mjs +2 -2
- package/dist/actions/describe-file.mjs.map +1 -1
- package/dist/actions/describe-index-stats.cjs +2 -2
- package/dist/actions/describe-index-stats.cjs.map +1 -1
- package/dist/actions/describe-index-stats.d.cts +2 -2
- package/dist/actions/describe-index-stats.d.mts +2 -2
- package/dist/actions/describe-index-stats.mjs +2 -2
- package/dist/actions/describe-index-stats.mjs.map +1 -1
- package/dist/actions/describe-index.cjs +9 -9
- package/dist/actions/describe-index.cjs.map +1 -1
- package/dist/actions/describe-index.d.cts +9 -9
- package/dist/actions/describe-index.d.mts +9 -9
- package/dist/actions/describe-index.mjs +9 -9
- package/dist/actions/describe-index.mjs.map +1 -1
- package/dist/actions/describe-namespace.cjs +3 -3
- package/dist/actions/describe-namespace.cjs.map +1 -1
- package/dist/actions/describe-namespace.d.cts +4 -4
- package/dist/actions/describe-namespace.d.mts +4 -4
- package/dist/actions/describe-namespace.mjs +3 -3
- package/dist/actions/describe-namespace.mjs.map +1 -1
- package/dist/actions/describe-restore-job.cjs +1 -1
- package/dist/actions/describe-restore-job.cjs.map +1 -1
- package/dist/actions/describe-restore-job.d.cts +1 -1
- package/dist/actions/describe-restore-job.d.mts +1 -1
- package/dist/actions/describe-restore-job.mjs +1 -1
- package/dist/actions/describe-restore-job.mjs.map +1 -1
- package/dist/actions/embed.cjs +5 -5
- package/dist/actions/embed.cjs.map +1 -1
- package/dist/actions/embed.d.cts +6 -5
- package/dist/actions/embed.d.mts +6 -5
- package/dist/actions/embed.mjs +5 -5
- package/dist/actions/embed.mjs.map +1 -1
- package/dist/actions/fetch-vectors.cjs +3 -3
- package/dist/actions/fetch-vectors.cjs.map +1 -1
- package/dist/actions/fetch-vectors.d.cts +3 -3
- package/dist/actions/fetch-vectors.d.mts +3 -3
- package/dist/actions/fetch-vectors.mjs +3 -3
- package/dist/actions/fetch-vectors.mjs.map +1 -1
- package/dist/actions/get-assistant.cjs +2 -2
- package/dist/actions/get-assistant.cjs.map +1 -1
- package/dist/actions/get-assistant.d.cts +2 -2
- package/dist/actions/get-assistant.d.mts +2 -2
- package/dist/actions/get-assistant.mjs +2 -2
- package/dist/actions/get-assistant.mjs.map +1 -1
- package/dist/actions/get-model.cjs +2 -2
- package/dist/actions/get-model.cjs.map +1 -1
- package/dist/actions/get-model.d.cts +2 -2
- package/dist/actions/get-model.d.mts +2 -2
- package/dist/actions/get-model.mjs +2 -2
- package/dist/actions/get-model.mjs.map +1 -1
- package/dist/actions/list-assistants.cjs +4 -4
- package/dist/actions/list-assistants.cjs.map +1 -1
- package/dist/actions/list-assistants.d.cts +4 -4
- package/dist/actions/list-assistants.d.mts +4 -4
- package/dist/actions/list-assistants.mjs +4 -4
- package/dist/actions/list-assistants.mjs.map +1 -1
- package/dist/actions/list-bulk-imports.cjs +3 -3
- package/dist/actions/list-bulk-imports.cjs.map +1 -1
- package/dist/actions/list-bulk-imports.d.cts +3 -3
- package/dist/actions/list-bulk-imports.d.mts +3 -3
- package/dist/actions/list-bulk-imports.mjs +3 -3
- package/dist/actions/list-bulk-imports.mjs.map +1 -1
- package/dist/actions/list-collections.cjs +2 -2
- package/dist/actions/list-collections.cjs.map +1 -1
- package/dist/actions/list-collections.d.cts +2 -2
- package/dist/actions/list-collections.d.mts +2 -2
- package/dist/actions/list-collections.mjs +2 -2
- package/dist/actions/list-collections.mjs.map +1 -1
- package/dist/actions/list-files.cjs +4 -4
- package/dist/actions/list-files.cjs.map +1 -1
- package/dist/actions/list-files.d.cts +4 -4
- package/dist/actions/list-files.d.mts +4 -4
- package/dist/actions/list-files.mjs +4 -4
- package/dist/actions/list-files.mjs.map +1 -1
- package/dist/actions/list-index-backups.cjs +5 -5
- package/dist/actions/list-index-backups.cjs.map +1 -1
- package/dist/actions/list-index-backups.d.cts +5 -5
- package/dist/actions/list-index-backups.d.mts +5 -5
- package/dist/actions/list-index-backups.mjs +5 -5
- package/dist/actions/list-index-backups.mjs.map +1 -1
- package/dist/actions/list-indexes.cjs +8 -8
- package/dist/actions/list-indexes.cjs.map +1 -1
- package/dist/actions/list-indexes.d.cts +8 -8
- package/dist/actions/list-indexes.d.mts +8 -8
- package/dist/actions/list-indexes.mjs +8 -8
- package/dist/actions/list-indexes.mjs.map +1 -1
- package/dist/actions/list-models.cjs +3 -3
- package/dist/actions/list-models.cjs.map +1 -1
- package/dist/actions/list-models.d.cts +3 -3
- package/dist/actions/list-models.d.mts +3 -3
- package/dist/actions/list-models.mjs +3 -3
- package/dist/actions/list-models.mjs.map +1 -1
- package/dist/actions/list-namespaces-operation.cjs +5 -5
- package/dist/actions/list-namespaces-operation.cjs.map +1 -1
- package/dist/actions/list-namespaces-operation.d.cts +6 -6
- package/dist/actions/list-namespaces-operation.d.mts +6 -6
- package/dist/actions/list-namespaces-operation.mjs +5 -5
- package/dist/actions/list-namespaces-operation.mjs.map +1 -1
- package/dist/actions/list-project-backups.cjs +5 -5
- package/dist/actions/list-project-backups.cjs.map +1 -1
- package/dist/actions/list-project-backups.d.cts +5 -5
- package/dist/actions/list-project-backups.d.mts +5 -5
- package/dist/actions/list-project-backups.mjs +5 -5
- package/dist/actions/list-project-backups.mjs.map +1 -1
- package/dist/actions/list-restore-jobs.cjs +3 -3
- package/dist/actions/list-restore-jobs.cjs.map +1 -1
- package/dist/actions/list-restore-jobs.d.cts +3 -3
- package/dist/actions/list-restore-jobs.d.mts +3 -3
- package/dist/actions/list-restore-jobs.mjs +3 -3
- package/dist/actions/list-restore-jobs.mjs.map +1 -1
- package/dist/actions/list-vectors.cjs +4 -4
- package/dist/actions/list-vectors.cjs.map +1 -1
- package/dist/actions/list-vectors.d.cts +4 -4
- package/dist/actions/list-vectors.d.mts +4 -4
- package/dist/actions/list-vectors.mjs +4 -4
- package/dist/actions/list-vectors.mjs.map +1 -1
- package/dist/actions/query-vectors.cjs +6 -6
- package/dist/actions/query-vectors.cjs.map +1 -1
- package/dist/actions/query-vectors.d.cts +7 -7
- package/dist/actions/query-vectors.d.mts +7 -7
- package/dist/actions/query-vectors.mjs +6 -6
- package/dist/actions/query-vectors.mjs.map +1 -1
- package/dist/actions/rerank.cjs +4 -4
- package/dist/actions/rerank.cjs.map +1 -1
- package/dist/actions/rerank.d.cts +5 -4
- package/dist/actions/rerank.d.cts.map +1 -1
- package/dist/actions/rerank.d.mts +5 -4
- package/dist/actions/rerank.d.mts.map +1 -1
- package/dist/actions/rerank.mjs +4 -4
- package/dist/actions/rerank.mjs.map +1 -1
- package/dist/actions/retrieve-context-assistant.cjs +9 -9
- package/dist/actions/retrieve-context-assistant.cjs.map +1 -1
- package/dist/actions/retrieve-context-assistant.d.cts +11 -10
- package/dist/actions/retrieve-context-assistant.d.mts +11 -10
- package/dist/actions/retrieve-context-assistant.mjs +9 -9
- package/dist/actions/retrieve-context-assistant.mjs.map +1 -1
- package/dist/actions/search-records-namespace.cjs +7 -7
- package/dist/actions/search-records-namespace.cjs.map +1 -1
- package/dist/actions/search-records-namespace.d.cts +9 -9
- package/dist/actions/search-records-namespace.d.mts +9 -9
- package/dist/actions/search-records-namespace.mjs +7 -7
- package/dist/actions/search-records-namespace.mjs.map +1 -1
- package/dist/actions/start-bulk-import.cjs +1 -1
- package/dist/actions/start-bulk-import.cjs.map +1 -1
- package/dist/actions/start-bulk-import.d.cts +1 -1
- package/dist/actions/start-bulk-import.d.mts +1 -1
- package/dist/actions/start-bulk-import.mjs +1 -1
- package/dist/actions/start-bulk-import.mjs.map +1 -1
- package/dist/actions/update-assistant.cjs +3 -3
- package/dist/actions/update-assistant.cjs.map +1 -1
- package/dist/actions/update-assistant.d.cts +4 -4
- package/dist/actions/update-assistant.d.mts +4 -4
- package/dist/actions/update-assistant.mjs +3 -3
- package/dist/actions/update-assistant.mjs.map +1 -1
- package/dist/actions/update-vector.cjs +3 -3
- package/dist/actions/update-vector.cjs.map +1 -1
- package/dist/actions/update-vector.d.cts +5 -5
- package/dist/actions/update-vector.d.mts +5 -5
- package/dist/actions/update-vector.mjs +3 -3
- package/dist/actions/update-vector.mjs.map +1 -1
- package/dist/actions/upload-file.cjs +1 -1
- package/dist/actions/upload-file.cjs.map +1 -1
- package/dist/actions/upload-file.d.cts +1 -1
- package/dist/actions/upload-file.d.mts +1 -1
- package/dist/actions/upload-file.mjs +1 -1
- package/dist/actions/upload-file.mjs.map +1 -1
- package/dist/actions/upsert-records-namespace.cjs +1 -1
- package/dist/actions/upsert-records-namespace.cjs.map +1 -1
- package/dist/actions/upsert-records-namespace.d.cts +1 -1
- package/dist/actions/upsert-records-namespace.d.mts +1 -1
- package/dist/actions/upsert-records-namespace.mjs +1 -1
- package/dist/actions/upsert-records-namespace.mjs.map +1 -1
- package/dist/actions/upsert-vectors.cjs +3 -3
- package/dist/actions/upsert-vectors.cjs.map +1 -1
- package/dist/actions/upsert-vectors.d.cts +5 -4
- package/dist/actions/upsert-vectors.d.cts.map +1 -1
- package/dist/actions/upsert-vectors.d.mts +5 -4
- package/dist/actions/upsert-vectors.d.mts.map +1 -1
- package/dist/actions/upsert-vectors.mjs +3 -3
- package/dist/actions/upsert-vectors.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -33,7 +33,7 @@ const PineconeCreateIndexInput = z.object({
|
|
|
33
33
|
const PineconeCreateIndex_IndexStatusSchema = z.object({
|
|
34
34
|
ready: z.boolean().describe("Whether the index is ready to serve queries.").nullable().optional(),
|
|
35
35
|
state: z.string().describe("Current state of the index (e.g., Initializing, Ready).").nullable().optional()
|
|
36
|
-
}).describe("Index status information.");
|
|
36
|
+
}).passthrough().describe("Index status information.");
|
|
37
37
|
const pineconeCreateIndex = action("PINECONE_CREATE_INDEX", {
|
|
38
38
|
slug: "pinecone-create-index",
|
|
39
39
|
name: "Create Index",
|
|
@@ -48,7 +48,7 @@ const pineconeCreateIndex = action("PINECONE_CREATE_INDEX", {
|
|
|
48
48
|
dimension: z.number().int().describe("Vector dimensions of the index.").nullable().optional(),
|
|
49
49
|
vector_type: z.string().describe("Vector type: dense or sparse.").nullable().optional(),
|
|
50
50
|
deletion_protection: z.string().describe("Deletion protection status.").nullable().optional()
|
|
51
|
-
}).describe("Response schema for creating a Pinecone index.")
|
|
51
|
+
}).passthrough().describe("Response schema for creating a Pinecone index.")
|
|
52
52
|
});
|
|
53
53
|
//#endregion
|
|
54
54
|
export { pineconeCreateIndex };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-index.mjs","names":[],"sources":["../../src/actions/create-index.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeCreateIndexInput = z.object({\n name: z.string().describe(\"Index identifier (1-45 chars, lowercase alphanumeric or hyphens, must start/end with alphanumeric).\"),\n spec: z.object({\n pod: z.object({\n pods: z.number().int().describe(\"Number of pods to deploy (default: 1).\").optional(),\n shards: z.number().int().describe(\"Number of data shards (default: 1).\").optional(),\n pod_type: z.string().describe(\"Pod size and type (e.g., p1.x1, p1.x2, s1.x1).\"),\n replicas: z.number().int().describe(\"Replication factor (default: 1).\").optional(),\n environment: z.string().describe(\"Deployment environment.\"),\n source_collection: z.string().describe(\"Optional collection to use as data source.\").optional(),\n}).describe(\"Pod-based deployment specification.\").optional(),\n serverless: z.object({\n cloud: z.enum([\"aws\", \"gcp\", \"azure\"]).describe(\"Cloud provider for serverless deployment.\"),\n region: z.string().describe(\"Cloud region for deployment.\"),\n}).describe(\"Serverless deployment specification.\").optional(),\n}).describe(\"Deployment configuration. Must provide either serverless or pod specification.\"),\n metric: z.enum([\"cosine\", \"euclidean\", \"dotproduct\"]).describe(\"Similarity measure. Must be 'dotproduct' for sparse vectors.\"),\n dimension: z.number().int().describe(\"Vector dimensions (1-20,000). Required for dense vectors; omit for sparse vectors.\").optional(),\n vector_type: z.enum([\"dense\", \"sparse\"]).describe(\"Vector type: 'dense' (default) or 'sparse'.\").optional(),\n deletion_protection: z.enum([\"enabled\", \"disabled\"]).describe(\"Set to 'enabled' to prevent accidental deletion.\").optional(),\n}).describe(\"Request model for creating a Pinecone index.\\n\\nRequired fields: name, metric, spec\\nDimension is required for dense vectors but should be omitted for sparse vectors.\");\nconst PineconeCreateIndex_IndexStatusSchema = z.object({\n ready: z.boolean().describe(\"Whether the index is ready to serve queries.\").nullable().optional(),\n state: z.string().describe(\"Current state of the index (e.g., Initializing, Ready).\").nullable().optional(),\n}).describe(\"Index status information.\");\nexport const PineconeCreateIndexOutput = z.object({\n host: z.string().describe(\"Index endpoint URL for API operations.\").nullable().optional(),\n name: z.string().describe(\"Name of the created index.\").nullable().optional(),\n spec: z.record(z.string(), z.unknown()).describe(\"Deployment configuration (echoed back).\").nullable().optional(),\n metric: z.string().describe(\"Similarity metric used by the index.\").nullable().optional(),\n status: PineconeCreateIndex_IndexStatusSchema.nullable().optional(),\n dimension: z.number().int().describe(\"Vector dimensions of the index.\").nullable().optional(),\n vector_type: z.string().describe(\"Vector type: dense or sparse.\").nullable().optional(),\n deletion_protection: z.string().describe(\"Deletion protection status.\").nullable().optional(),\n}).describe(\"Response schema for creating a Pinecone index.\");\n\nexport const pineconeCreateIndex = action(\"PINECONE_CREATE_INDEX\", {\n slug: \"pinecone-create-index\",\n name: \"Create Index\",\n description: \"Tool to create a Pinecone index with specified configuration. Use when you need to initialize a new vector database index for storing and querying embeddings.\",\n input: PineconeCreateIndexInput,\n output: PineconeCreateIndexOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG;CAC/H,MAAM,EAAE,OAAO;EACf,KAAK,EAAE,OAAO;GACd,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;GACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;GAClF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;GAC9E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;GACjF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;GAC1D,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAChG,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC1D,YAAY,EAAE,OAAO;GACrB,OAAO,EAAE,KAAK;IAAC;IAAO;IAAO;GAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C;GAC3F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;EAC5D,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC7D,CAAC,CAAC,CAAC,SAAS,gFAAgF;CAC1F,QAAQ,EAAE,KAAK;EAAC;EAAU;EAAa;CAAY,CAAC,CAAC,CAAC,SAAS,8DAA8D;CAC7H,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACpI,aAAa,EAAE,KAAK,CAAC,SAAS,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC1G,qBAAqB,EAAE,KAAK,CAAC,WAAW,UAAU,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,SAAS,wKAAwK;AACpL,MAAM,wCAAwC,EAAE,OAAO;CACrD,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,2BAA2B;
|
|
1
|
+
{"version":3,"file":"create-index.mjs","names":[],"sources":["../../src/actions/create-index.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeCreateIndexInput = z.object({\n name: z.string().describe(\"Index identifier (1-45 chars, lowercase alphanumeric or hyphens, must start/end with alphanumeric).\"),\n spec: z.object({\n pod: z.object({\n pods: z.number().int().describe(\"Number of pods to deploy (default: 1).\").optional(),\n shards: z.number().int().describe(\"Number of data shards (default: 1).\").optional(),\n pod_type: z.string().describe(\"Pod size and type (e.g., p1.x1, p1.x2, s1.x1).\"),\n replicas: z.number().int().describe(\"Replication factor (default: 1).\").optional(),\n environment: z.string().describe(\"Deployment environment.\"),\n source_collection: z.string().describe(\"Optional collection to use as data source.\").optional(),\n}).describe(\"Pod-based deployment specification.\").optional(),\n serverless: z.object({\n cloud: z.enum([\"aws\", \"gcp\", \"azure\"]).describe(\"Cloud provider for serverless deployment.\"),\n region: z.string().describe(\"Cloud region for deployment.\"),\n}).describe(\"Serverless deployment specification.\").optional(),\n}).describe(\"Deployment configuration. Must provide either serverless or pod specification.\"),\n metric: z.enum([\"cosine\", \"euclidean\", \"dotproduct\"]).describe(\"Similarity measure. Must be 'dotproduct' for sparse vectors.\"),\n dimension: z.number().int().describe(\"Vector dimensions (1-20,000). Required for dense vectors; omit for sparse vectors.\").optional(),\n vector_type: z.enum([\"dense\", \"sparse\"]).describe(\"Vector type: 'dense' (default) or 'sparse'.\").optional(),\n deletion_protection: z.enum([\"enabled\", \"disabled\"]).describe(\"Set to 'enabled' to prevent accidental deletion.\").optional(),\n}).describe(\"Request model for creating a Pinecone index.\\n\\nRequired fields: name, metric, spec\\nDimension is required for dense vectors but should be omitted for sparse vectors.\");\nconst PineconeCreateIndex_IndexStatusSchema = z.object({\n ready: z.boolean().describe(\"Whether the index is ready to serve queries.\").nullable().optional(),\n state: z.string().describe(\"Current state of the index (e.g., Initializing, Ready).\").nullable().optional(),\n}).passthrough().describe(\"Index status information.\");\nexport const PineconeCreateIndexOutput = z.object({\n host: z.string().describe(\"Index endpoint URL for API operations.\").nullable().optional(),\n name: z.string().describe(\"Name of the created index.\").nullable().optional(),\n spec: z.record(z.string(), z.unknown()).describe(\"Deployment configuration (echoed back).\").nullable().optional(),\n metric: z.string().describe(\"Similarity metric used by the index.\").nullable().optional(),\n status: PineconeCreateIndex_IndexStatusSchema.nullable().optional(),\n dimension: z.number().int().describe(\"Vector dimensions of the index.\").nullable().optional(),\n vector_type: z.string().describe(\"Vector type: dense or sparse.\").nullable().optional(),\n deletion_protection: z.string().describe(\"Deletion protection status.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for creating a Pinecone index.\");\n\nexport const pineconeCreateIndex = action(\"PINECONE_CREATE_INDEX\", {\n slug: \"pinecone-create-index\",\n name: \"Create Index\",\n description: \"Tool to create a Pinecone index with specified configuration. Use when you need to initialize a new vector database index for storing and querying embeddings.\",\n input: PineconeCreateIndexInput,\n output: PineconeCreateIndexOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG;CAC/H,MAAM,EAAE,OAAO;EACf,KAAK,EAAE,OAAO;GACd,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;GACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;GAClF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;GAC9E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;GACjF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;GAC1D,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAChG,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC1D,YAAY,EAAE,OAAO;GACrB,OAAO,EAAE,KAAK;IAAC;IAAO;IAAO;GAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C;GAC3F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;EAC5D,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC7D,CAAC,CAAC,CAAC,SAAS,gFAAgF;CAC1F,QAAQ,EAAE,KAAK;EAAC;EAAU;EAAa;CAAY,CAAC,CAAC,CAAC,SAAS,8DAA8D;CAC7H,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACpI,aAAa,EAAE,KAAK,CAAC,SAAS,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC1G,qBAAqB,EAAE,KAAK,CAAC,WAAW,UAAU,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,SAAS,wKAAwK;AACpL,MAAM,wCAAwC,EAAE,OAAO;CACrD,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2BAA2B;AAYrD,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhBuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,QAAQ,sCAAsC,SAAS,CAAC,CAAC,SAAS;EAClE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
|
|
@@ -3,16 +3,16 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/create-namespace.ts
|
|
4
4
|
const PineconeCreateNamespaceInput = zod.z.object({
|
|
5
5
|
name: zod.z.string().describe("The name of the namespace to create."),
|
|
6
|
-
schema: zod.z.object({ fields: zod.z.
|
|
6
|
+
schema: zod.z.object({ fields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Mapping of field names to their indexing configuration.") }).describe("Schema configuration for metadata indexing behavior.").optional(),
|
|
7
7
|
index_host: zod.z.string().describe("The host URL of the serverless index (e.g., 'index-name-xxxxx.svc.aped-xxxx-xxxx.pinecone.io').")
|
|
8
8
|
}).describe("Request model for creating a namespace in a serverless Pinecone index.");
|
|
9
|
-
const PineconeCreateNamespace_SchemaConfigSchema = zod.z.object({ fields: zod.z.
|
|
9
|
+
const PineconeCreateNamespace_SchemaConfigSchema = zod.z.object({ fields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Mapping of field names to their indexing configuration.") }).passthrough().describe("Schema configuration for metadata indexing behavior.");
|
|
10
10
|
const PineconeCreateNamespaceOutput = zod.z.object({
|
|
11
11
|
name: zod.z.string().describe("The name of the created namespace.").nullable(),
|
|
12
12
|
schema: PineconeCreateNamespace_SchemaConfigSchema.nullable().optional(),
|
|
13
13
|
record_count: zod.z.number().int().describe("Total number of records within the namespace.").nullable().optional(),
|
|
14
|
-
indexed_fields: zod.z.
|
|
15
|
-
}).describe("Response model containing details of the created namespace.");
|
|
14
|
+
indexed_fields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("List of all indexed metadata fields.").nullable().optional()
|
|
15
|
+
}).passthrough().describe("Response model containing details of the created namespace.");
|
|
16
16
|
const pineconeCreateNamespace = require_action.action("PINECONE_CREATE_NAMESPACE", {
|
|
17
17
|
slug: "pinecone-create-namespace",
|
|
18
18
|
name: "Create Namespace",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-namespace.cjs","names":["z","action"],"sources":["../../src/actions/create-namespace.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeCreateNamespaceInput = z.object({\n name: z.string().describe(\"The name of the namespace to create.\"),\n schema: z.object({\n fields: z.
|
|
1
|
+
{"version":3,"file":"create-namespace.cjs","names":["z","action"],"sources":["../../src/actions/create-namespace.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeCreateNamespaceInput = z.object({\n name: z.string().describe(\"The name of the namespace to create.\"),\n schema: z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"Mapping of field names to their indexing configuration.\"),\n}).describe(\"Schema configuration for metadata indexing behavior.\").optional(),\n index_host: z.string().describe(\"The host URL of the serverless index (e.g., 'index-name-xxxxx.svc.aped-xxxx-xxxx.pinecone.io').\"),\n}).describe(\"Request model for creating a namespace in a serverless Pinecone index.\");\nconst PineconeCreateNamespace_SchemaConfigSchema = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"Mapping of field names to their indexing configuration.\"),\n}).passthrough().describe(\"Schema configuration for metadata indexing behavior.\");\nexport const PineconeCreateNamespaceOutput = z.object({\n name: z.string().describe(\"The name of the created namespace.\").nullable(),\n schema: PineconeCreateNamespace_SchemaConfigSchema.nullable().optional(),\n record_count: z.number().int().describe(\"Total number of records within the namespace.\").nullable().optional(),\n indexed_fields: z.record(z.string(), z.unknown()).describe(\"List of all indexed metadata fields.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing details of the created namespace.\");\n\nexport const pineconeCreateNamespace = action(\"PINECONE_CREATE_NAMESPACE\", {\n slug: \"pinecone-create-namespace\",\n name: \"Create Namespace\",\n description: \"Tool to create a namespace within a serverless Pinecone index. Use when you need to organize vectors into isolated partitions.\",\n input: PineconeCreateNamespaceInput,\n output: PineconeCreateNamespaceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAChE,QAAQA,IAAAA,EAAE,OAAO,EACjB,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yDAAyD,EAC9G,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;AACnI,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,6CAA6CA,IAAAA,EAAE,OAAO,EAC1D,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yDAAyD,EAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,QAAQ,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACvE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,gBAAgBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -4,23 +4,23 @@ import { z } from "zod";
|
|
|
4
4
|
declare const PineconeCreateNamespaceInput: z.ZodObject<{
|
|
5
5
|
name: z.ZodString;
|
|
6
6
|
schema: z.ZodOptional<z.ZodObject<{
|
|
7
|
-
fields: z.
|
|
7
|
+
fields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8
8
|
}, z.core.$strip>>;
|
|
9
9
|
index_host: z.ZodString;
|
|
10
10
|
}, z.core.$strip>;
|
|
11
11
|
declare const PineconeCreateNamespaceOutput: z.ZodObject<{
|
|
12
12
|
name: z.ZodNullable<z.ZodString>;
|
|
13
13
|
schema: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14
|
-
fields: z.
|
|
15
|
-
}, z.core.$
|
|
14
|
+
fields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
15
|
+
}, z.core.$loose>>>;
|
|
16
16
|
record_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
-
indexed_fields: z.ZodOptional<z.ZodNullable<z.
|
|
18
|
-
}, z.core.$
|
|
17
|
+
indexed_fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const pineconeCreateNamespace: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
name: string;
|
|
21
21
|
index_host: string;
|
|
22
22
|
schema?: {
|
|
23
|
-
fields: Record<string,
|
|
23
|
+
fields: Record<string, unknown>;
|
|
24
24
|
} | undefined;
|
|
25
25
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
26
26
|
//#endregion
|
|
@@ -4,23 +4,23 @@ import { z } from "zod";
|
|
|
4
4
|
declare const PineconeCreateNamespaceInput: z.ZodObject<{
|
|
5
5
|
name: z.ZodString;
|
|
6
6
|
schema: z.ZodOptional<z.ZodObject<{
|
|
7
|
-
fields: z.
|
|
7
|
+
fields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8
8
|
}, z.core.$strip>>;
|
|
9
9
|
index_host: z.ZodString;
|
|
10
10
|
}, z.core.$strip>;
|
|
11
11
|
declare const PineconeCreateNamespaceOutput: z.ZodObject<{
|
|
12
12
|
name: z.ZodNullable<z.ZodString>;
|
|
13
13
|
schema: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14
|
-
fields: z.
|
|
15
|
-
}, z.core.$
|
|
14
|
+
fields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
15
|
+
}, z.core.$loose>>>;
|
|
16
16
|
record_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
-
indexed_fields: z.ZodOptional<z.ZodNullable<z.
|
|
18
|
-
}, z.core.$
|
|
17
|
+
indexed_fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const pineconeCreateNamespace: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
name: string;
|
|
21
21
|
index_host: string;
|
|
22
22
|
schema?: {
|
|
23
|
-
fields: Record<string,
|
|
23
|
+
fields: Record<string, unknown>;
|
|
24
24
|
} | undefined;
|
|
25
25
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
26
26
|
//#endregion
|
|
@@ -3,10 +3,10 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/create-namespace.ts
|
|
4
4
|
const PineconeCreateNamespaceInput = z.object({
|
|
5
5
|
name: z.string().describe("The name of the namespace to create."),
|
|
6
|
-
schema: z.object({ fields: z.
|
|
6
|
+
schema: z.object({ fields: z.record(z.string(), z.unknown()).describe("Mapping of field names to their indexing configuration.") }).describe("Schema configuration for metadata indexing behavior.").optional(),
|
|
7
7
|
index_host: z.string().describe("The host URL of the serverless index (e.g., 'index-name-xxxxx.svc.aped-xxxx-xxxx.pinecone.io').")
|
|
8
8
|
}).describe("Request model for creating a namespace in a serverless Pinecone index.");
|
|
9
|
-
const PineconeCreateNamespace_SchemaConfigSchema = z.object({ fields: z.
|
|
9
|
+
const PineconeCreateNamespace_SchemaConfigSchema = z.object({ fields: z.record(z.string(), z.unknown()).describe("Mapping of field names to their indexing configuration.") }).passthrough().describe("Schema configuration for metadata indexing behavior.");
|
|
10
10
|
const pineconeCreateNamespace = action("PINECONE_CREATE_NAMESPACE", {
|
|
11
11
|
slug: "pinecone-create-namespace",
|
|
12
12
|
name: "Create Namespace",
|
|
@@ -16,8 +16,8 @@ const pineconeCreateNamespace = action("PINECONE_CREATE_NAMESPACE", {
|
|
|
16
16
|
name: z.string().describe("The name of the created namespace.").nullable(),
|
|
17
17
|
schema: PineconeCreateNamespace_SchemaConfigSchema.nullable().optional(),
|
|
18
18
|
record_count: z.number().int().describe("Total number of records within the namespace.").nullable().optional(),
|
|
19
|
-
indexed_fields: z.
|
|
20
|
-
}).describe("Response model containing details of the created namespace.")
|
|
19
|
+
indexed_fields: z.record(z.string(), z.unknown()).describe("List of all indexed metadata fields.").nullable().optional()
|
|
20
|
+
}).passthrough().describe("Response model containing details of the created namespace.")
|
|
21
21
|
});
|
|
22
22
|
//#endregion
|
|
23
23
|
export { pineconeCreateNamespace };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-namespace.mjs","names":[],"sources":["../../src/actions/create-namespace.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeCreateNamespaceInput = z.object({\n name: z.string().describe(\"The name of the namespace to create.\"),\n schema: z.object({\n fields: z.
|
|
1
|
+
{"version":3,"file":"create-namespace.mjs","names":[],"sources":["../../src/actions/create-namespace.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeCreateNamespaceInput = z.object({\n name: z.string().describe(\"The name of the namespace to create.\"),\n schema: z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"Mapping of field names to their indexing configuration.\"),\n}).describe(\"Schema configuration for metadata indexing behavior.\").optional(),\n index_host: z.string().describe(\"The host URL of the serverless index (e.g., 'index-name-xxxxx.svc.aped-xxxx-xxxx.pinecone.io').\"),\n}).describe(\"Request model for creating a namespace in a serverless Pinecone index.\");\nconst PineconeCreateNamespace_SchemaConfigSchema = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"Mapping of field names to their indexing configuration.\"),\n}).passthrough().describe(\"Schema configuration for metadata indexing behavior.\");\nexport const PineconeCreateNamespaceOutput = z.object({\n name: z.string().describe(\"The name of the created namespace.\").nullable(),\n schema: PineconeCreateNamespace_SchemaConfigSchema.nullable().optional(),\n record_count: z.number().int().describe(\"Total number of records within the namespace.\").nullable().optional(),\n indexed_fields: z.record(z.string(), z.unknown()).describe(\"List of all indexed metadata fields.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing details of the created namespace.\");\n\nexport const pineconeCreateNamespace = action(\"PINECONE_CREATE_NAMESPACE\", {\n slug: \"pinecone-create-namespace\",\n name: \"Create Namespace\",\n description: \"Tool to create a namespace within a serverless Pinecone index. Use when you need to organize vectors into isolated partitions.\",\n input: PineconeCreateNamespaceInput,\n output: PineconeCreateNamespaceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAChE,QAAQ,EAAE,OAAO,EACjB,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yDAAyD,EAC9G,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;AACnI,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,6CAA6C,EAAE,OAAO,EAC1D,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yDAAyD,EAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAQhF,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZ2C,EAAE,OAAO;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACzE,QAAQ,2CAA2C,SAAS,CAAC,CAAC,SAAS;EACvE,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,gBAAgB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const PineconeDeleteAssistantInput = zod.z.object({ assistant_name: zod.z.string
|
|
|
5
5
|
const PineconeDeleteAssistantOutput = zod.z.object({
|
|
6
6
|
message: zod.z.string().default("Assistant deletion request accepted").describe("Confirmation message for the deletion request").nullable().optional(),
|
|
7
7
|
success: zod.z.boolean().default(true).describe("Indicates whether the deletion request was successfully accepted").nullable().optional()
|
|
8
|
-
}).describe("Response model for the delete assistant operation.");
|
|
8
|
+
}).passthrough().describe("Response model for the delete assistant operation.");
|
|
9
9
|
const pineconeDeleteAssistant = require_action.action("PINECONE_DELETE_ASSISTANT", {
|
|
10
10
|
slug: "pinecone-delete-assistant",
|
|
11
11
|
name: "Delete Assistant",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-assistant.cjs","names":["z","action"],"sources":["../../src/actions/delete-assistant.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeDeleteAssistantInput = z.object({\n assistant_name: z.string().describe(\"The name of the assistant to delete.\"),\n}).describe(\"Request model for deleting a Pinecone assistant.\");\nexport const PineconeDeleteAssistantOutput = z.object({\n message: z.string().default(\"Assistant deletion request accepted\").describe(\"Confirmation message for the deletion request\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the deletion request was successfully accepted\").nullable().optional(),\n}).describe(\"Response model for the delete assistant operation.\");\n\nexport const pineconeDeleteAssistant = action(\"PINECONE_DELETE_ASSISTANT\", {\n slug: \"pinecone-delete-assistant\",\n name: \"Delete Assistant\",\n description: \"Tool to permanently delete a Pinecone assistant. Use when you need to remove an assistant from your project.\",\n input: PineconeDeleteAssistantInput,\n output: PineconeDeleteAssistantOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAC5E,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,qCAAqC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjJ,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,SAAS,oDAAoD;
|
|
1
|
+
{"version":3,"file":"delete-assistant.cjs","names":["z","action"],"sources":["../../src/actions/delete-assistant.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeDeleteAssistantInput = z.object({\n assistant_name: z.string().describe(\"The name of the assistant to delete.\"),\n}).describe(\"Request model for deleting a Pinecone assistant.\");\nexport const PineconeDeleteAssistantOutput = z.object({\n message: z.string().default(\"Assistant deletion request accepted\").describe(\"Confirmation message for the deletion request\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the deletion request was successfully accepted\").nullable().optional(),\n}).passthrough().describe(\"Response model for the delete assistant operation.\");\n\nexport const pineconeDeleteAssistant = action(\"PINECONE_DELETE_ASSISTANT\", {\n slug: \"pinecone-delete-assistant\",\n name: \"Delete Assistant\",\n description: \"Tool to permanently delete a Pinecone assistant. Use when you need to remove an assistant from your project.\",\n input: PineconeDeleteAssistantInput,\n output: PineconeDeleteAssistantOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAC5E,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,qCAAqC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjJ,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ declare const PineconeDeleteAssistantInput: z.ZodObject<{
|
|
|
7
7
|
declare const PineconeDeleteAssistantOutput: z.ZodObject<{
|
|
8
8
|
message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
9
9
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const pineconeDeleteAssistant: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
assistant_name: string;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -7,7 +7,7 @@ declare const PineconeDeleteAssistantInput: z.ZodObject<{
|
|
|
7
7
|
declare const PineconeDeleteAssistantOutput: z.ZodObject<{
|
|
8
8
|
message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
9
9
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const pineconeDeleteAssistant: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
assistant_name: string;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,7 +8,7 @@ const pineconeDeleteAssistant = action("PINECONE_DELETE_ASSISTANT", {
|
|
|
8
8
|
output: z.object({
|
|
9
9
|
message: z.string().default("Assistant deletion request accepted").describe("Confirmation message for the deletion request").nullable().optional(),
|
|
10
10
|
success: z.boolean().default(true).describe("Indicates whether the deletion request was successfully accepted").nullable().optional()
|
|
11
|
-
}).describe("Response model for the delete assistant operation.")
|
|
11
|
+
}).passthrough().describe("Response model for the delete assistant operation.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { pineconeDeleteAssistant };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-assistant.mjs","names":[],"sources":["../../src/actions/delete-assistant.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeDeleteAssistantInput = z.object({\n assistant_name: z.string().describe(\"The name of the assistant to delete.\"),\n}).describe(\"Request model for deleting a Pinecone assistant.\");\nexport const PineconeDeleteAssistantOutput = z.object({\n message: z.string().default(\"Assistant deletion request accepted\").describe(\"Confirmation message for the deletion request\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the deletion request was successfully accepted\").nullable().optional(),\n}).describe(\"Response model for the delete assistant operation.\");\n\nexport const pineconeDeleteAssistant = action(\"PINECONE_DELETE_ASSISTANT\", {\n slug: \"pinecone-delete-assistant\",\n name: \"Delete Assistant\",\n description: \"Tool to permanently delete a Pinecone assistant. Use when you need to remove an assistant from your project.\",\n input: PineconeDeleteAssistantInput,\n output: PineconeDeleteAssistantOutput,\n});\n"],"mappings":";;AAYA,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ0C,EAAE,OAAO,EACnD,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAC5E,CAAC,CAAC,CAAC,SAAS,kDAUH;CACP,QAV2C,EAAE,OAAO;EACpD,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,qCAAqC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjJ,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"delete-assistant.mjs","names":[],"sources":["../../src/actions/delete-assistant.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeDeleteAssistantInput = z.object({\n assistant_name: z.string().describe(\"The name of the assistant to delete.\"),\n}).describe(\"Request model for deleting a Pinecone assistant.\");\nexport const PineconeDeleteAssistantOutput = z.object({\n message: z.string().default(\"Assistant deletion request accepted\").describe(\"Confirmation message for the deletion request\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the deletion request was successfully accepted\").nullable().optional(),\n}).passthrough().describe(\"Response model for the delete assistant operation.\");\n\nexport const pineconeDeleteAssistant = action(\"PINECONE_DELETE_ASSISTANT\", {\n slug: \"pinecone-delete-assistant\",\n name: \"Delete Assistant\",\n description: \"Tool to permanently delete a Pinecone assistant. Use when you need to remove an assistant from your project.\",\n input: PineconeDeleteAssistantInput,\n output: PineconeDeleteAssistantOutput,\n});\n"],"mappings":";;AAYA,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ0C,EAAE,OAAO,EACnD,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAC5E,CAAC,CAAC,CAAC,SAAS,kDAUH;CACP,QAV2C,EAAE,OAAO;EACpD,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,qCAAqC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjJ,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const PineconeDeleteBackupInput = zod.z.object({ backup_id: zod.z.string().descr
|
|
|
5
5
|
const PineconeDeleteBackupOutput = zod.z.object({
|
|
6
6
|
message: zod.z.string().default("Backup deletion request accepted").describe("Confirmation message for the deletion request").nullable().optional(),
|
|
7
7
|
success: zod.z.boolean().default(true).describe("Indicates whether the deletion request was successfully accepted").nullable().optional()
|
|
8
|
-
}).describe("Response model for the delete backup operation.");
|
|
8
|
+
}).passthrough().describe("Response model for the delete backup operation.");
|
|
9
9
|
const pineconeDeleteBackup = require_action.action("PINECONE_DELETE_BACKUP", {
|
|
10
10
|
slug: "pinecone-delete-backup",
|
|
11
11
|
name: "Delete Backup",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-backup.cjs","names":["z","action"],"sources":["../../src/actions/delete-backup.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeDeleteBackupInput = z.object({\n backup_id: z.string().describe(\"The ID of the backup to delete.\"),\n}).describe(\"Request model for deleting a Pinecone backup.\");\nexport const PineconeDeleteBackupOutput = z.object({\n message: z.string().default(\"Backup deletion request accepted\").describe(\"Confirmation message for the deletion request\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the deletion request was successfully accepted\").nullable().optional(),\n}).describe(\"Response model for the delete backup operation.\");\n\nexport const pineconeDeleteBackup = action(\"PINECONE_DELETE_BACKUP\", {\n slug: \"pinecone-delete-backup\",\n name: \"Delete Backup\",\n description: \"Tool to delete a backup. Use when you need to permanently remove a backup from your project.\",\n input: PineconeDeleteBackupInput,\n output: PineconeDeleteBackupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,EAClE,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,kCAAkC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,SAAS,iDAAiD;
|
|
1
|
+
{"version":3,"file":"delete-backup.cjs","names":["z","action"],"sources":["../../src/actions/delete-backup.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeDeleteBackupInput = z.object({\n backup_id: z.string().describe(\"The ID of the backup to delete.\"),\n}).describe(\"Request model for deleting a Pinecone backup.\");\nexport const PineconeDeleteBackupOutput = z.object({\n message: z.string().default(\"Backup deletion request accepted\").describe(\"Confirmation message for the deletion request\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the deletion request was successfully accepted\").nullable().optional(),\n}).passthrough().describe(\"Response model for the delete backup operation.\");\n\nexport const pineconeDeleteBackup = action(\"PINECONE_DELETE_BACKUP\", {\n slug: \"pinecone-delete-backup\",\n name: \"Delete Backup\",\n description: \"Tool to delete a backup. Use when you need to permanently remove a backup from your project.\",\n input: PineconeDeleteBackupInput,\n output: PineconeDeleteBackupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,EAClE,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,kCAAkC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ declare const PineconeDeleteBackupInput: z.ZodObject<{
|
|
|
7
7
|
declare const PineconeDeleteBackupOutput: z.ZodObject<{
|
|
8
8
|
message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
9
9
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const pineconeDeleteBackup: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
backup_id: string;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -7,7 +7,7 @@ declare const PineconeDeleteBackupInput: z.ZodObject<{
|
|
|
7
7
|
declare const PineconeDeleteBackupOutput: z.ZodObject<{
|
|
8
8
|
message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
9
9
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const pineconeDeleteBackup: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
backup_id: string;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,7 +8,7 @@ const pineconeDeleteBackup = action("PINECONE_DELETE_BACKUP", {
|
|
|
8
8
|
output: z.object({
|
|
9
9
|
message: z.string().default("Backup deletion request accepted").describe("Confirmation message for the deletion request").nullable().optional(),
|
|
10
10
|
success: z.boolean().default(true).describe("Indicates whether the deletion request was successfully accepted").nullable().optional()
|
|
11
|
-
}).describe("Response model for the delete backup operation.")
|
|
11
|
+
}).passthrough().describe("Response model for the delete backup operation.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { pineconeDeleteBackup };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-backup.mjs","names":[],"sources":["../../src/actions/delete-backup.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeDeleteBackupInput = z.object({\n backup_id: z.string().describe(\"The ID of the backup to delete.\"),\n}).describe(\"Request model for deleting a Pinecone backup.\");\nexport const PineconeDeleteBackupOutput = z.object({\n message: z.string().default(\"Backup deletion request accepted\").describe(\"Confirmation message for the deletion request\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the deletion request was successfully accepted\").nullable().optional(),\n}).describe(\"Response model for the delete backup operation.\");\n\nexport const pineconeDeleteBackup = action(\"PINECONE_DELETE_BACKUP\", {\n slug: \"pinecone-delete-backup\",\n name: \"Delete Backup\",\n description: \"Tool to delete a backup. Use when you need to permanently remove a backup from your project.\",\n input: PineconeDeleteBackupInput,\n output: PineconeDeleteBackupOutput,\n});\n"],"mappings":";;AAYA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZuC,EAAE,OAAO,EAChD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,EAClE,CAAC,CAAC,CAAC,SAAS,+CAUH;CACP,QAVwC,EAAE,OAAO;EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,kCAAkC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9I,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"delete-backup.mjs","names":[],"sources":["../../src/actions/delete-backup.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeDeleteBackupInput = z.object({\n backup_id: z.string().describe(\"The ID of the backup to delete.\"),\n}).describe(\"Request model for deleting a Pinecone backup.\");\nexport const PineconeDeleteBackupOutput = z.object({\n message: z.string().default(\"Backup deletion request accepted\").describe(\"Confirmation message for the deletion request\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the deletion request was successfully accepted\").nullable().optional(),\n}).passthrough().describe(\"Response model for the delete backup operation.\");\n\nexport const pineconeDeleteBackup = action(\"PINECONE_DELETE_BACKUP\", {\n slug: \"pinecone-delete-backup\",\n name: \"Delete Backup\",\n description: \"Tool to delete a backup. Use when you need to permanently remove a backup from your project.\",\n input: PineconeDeleteBackupInput,\n output: PineconeDeleteBackupOutput,\n});\n"],"mappings":";;AAYA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZuC,EAAE,OAAO,EAChD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,EAClE,CAAC,CAAC,CAAC,SAAS,+CAUH;CACP,QAVwC,EAAE,OAAO;EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,kCAAkC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9I,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ const PineconeDeleteFileInput = zod.z.object({
|
|
|
9
9
|
const PineconeDeleteFileOutput = zod.z.object({
|
|
10
10
|
message: zod.z.string().default("File deletion successful").describe("Confirmation message for the deletion operation").nullable().optional(),
|
|
11
11
|
success: zod.z.boolean().default(true).describe("Indicates whether the file deletion was successful").nullable().optional()
|
|
12
|
-
}).describe("Response model for file deletion operation. Returns success confirmation.");
|
|
12
|
+
}).passthrough().describe("Response model for file deletion operation. Returns success confirmation.");
|
|
13
13
|
const pineconeDeleteFile = require_action.action("PINECONE_DELETE_FILE", {
|
|
14
14
|
slug: "pinecone-delete-file",
|
|
15
15
|
name: "Delete File",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-file.cjs","names":["z","action"],"sources":["../../src/actions/delete-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeDeleteFileInput = z.object({\n assistant_host: z.string().describe(\"The host URL of the assistant. This is typically in the format 'prod-1-data.ke.pinecone.io' or similar.\"),\n assistant_name: z.string().describe(\"The name of the assistant to delete the file from.\"),\n assistant_file_id: z.string().describe(\"The UUID of the file to be deleted.\"),\n}).describe(\"Request parameters for deleting an uploaded file from a Pinecone assistant.\");\nexport const PineconeDeleteFileOutput = z.object({\n message: z.string().default(\"File deletion successful\").describe(\"Confirmation message for the deletion operation\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the file deletion was successful\").nullable().optional(),\n}).describe(\"Response model for file deletion operation. Returns success confirmation.\");\n\nexport const pineconeDeleteFile = action(\"PINECONE_DELETE_FILE\", {\n slug: \"pinecone-delete-file\",\n name: \"Delete File\",\n description: \"Tool to delete an uploaded file from a Pinecone assistant. Use when you need to remove a file that was previously uploaded to an assistant.\",\n input: PineconeDeleteFileInput,\n output: PineconeDeleteFileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG;CAC7I,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CACxF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;AAC9E,CAAC,CAAC,CAAC,SAAS,6EAA6E;AACzF,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,0BAA0B,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,2EAA2E;
|
|
1
|
+
{"version":3,"file":"delete-file.cjs","names":["z","action"],"sources":["../../src/actions/delete-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeDeleteFileInput = z.object({\n assistant_host: z.string().describe(\"The host URL of the assistant. This is typically in the format 'prod-1-data.ke.pinecone.io' or similar.\"),\n assistant_name: z.string().describe(\"The name of the assistant to delete the file from.\"),\n assistant_file_id: z.string().describe(\"The UUID of the file to be deleted.\"),\n}).describe(\"Request parameters for deleting an uploaded file from a Pinecone assistant.\");\nexport const PineconeDeleteFileOutput = z.object({\n message: z.string().default(\"File deletion successful\").describe(\"Confirmation message for the deletion operation\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the file deletion was successful\").nullable().optional(),\n}).passthrough().describe(\"Response model for file deletion operation. Returns success confirmation.\");\n\nexport const pineconeDeleteFile = action(\"PINECONE_DELETE_FILE\", {\n slug: \"pinecone-delete-file\",\n name: \"Delete File\",\n description: \"Tool to delete an uploaded file from a Pinecone assistant. Use when you need to remove a file that was previously uploaded to an assistant.\",\n input: PineconeDeleteFileInput,\n output: PineconeDeleteFileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG;CAC7I,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CACxF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;AAC9E,CAAC,CAAC,CAAC,SAAS,6EAA6E;AACzF,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,0BAA0B,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAA2E;AAErG,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ declare const PineconeDeleteFileInput: z.ZodObject<{
|
|
|
9
9
|
declare const PineconeDeleteFileOutput: z.ZodObject<{
|
|
10
10
|
message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
11
11
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const pineconeDeleteFile: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
assistant_host: string;
|
|
15
15
|
assistant_name: string;
|
|
@@ -9,7 +9,7 @@ declare const PineconeDeleteFileInput: z.ZodObject<{
|
|
|
9
9
|
declare const PineconeDeleteFileOutput: z.ZodObject<{
|
|
10
10
|
message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
11
11
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const pineconeDeleteFile: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
assistant_host: string;
|
|
15
15
|
assistant_name: string;
|
|
@@ -12,7 +12,7 @@ const pineconeDeleteFile = action("PINECONE_DELETE_FILE", {
|
|
|
12
12
|
output: z.object({
|
|
13
13
|
message: z.string().default("File deletion successful").describe("Confirmation message for the deletion operation").nullable().optional(),
|
|
14
14
|
success: z.boolean().default(true).describe("Indicates whether the file deletion was successful").nullable().optional()
|
|
15
|
-
}).describe("Response model for file deletion operation. Returns success confirmation.")
|
|
15
|
+
}).passthrough().describe("Response model for file deletion operation. Returns success confirmation.")
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { pineconeDeleteFile };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-file.mjs","names":[],"sources":["../../src/actions/delete-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeDeleteFileInput = z.object({\n assistant_host: z.string().describe(\"The host URL of the assistant. This is typically in the format 'prod-1-data.ke.pinecone.io' or similar.\"),\n assistant_name: z.string().describe(\"The name of the assistant to delete the file from.\"),\n assistant_file_id: z.string().describe(\"The UUID of the file to be deleted.\"),\n}).describe(\"Request parameters for deleting an uploaded file from a Pinecone assistant.\");\nexport const PineconeDeleteFileOutput = z.object({\n message: z.string().default(\"File deletion successful\").describe(\"Confirmation message for the deletion operation\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the file deletion was successful\").nullable().optional(),\n}).describe(\"Response model for file deletion operation. Returns success confirmation.\");\n\nexport const pineconeDeleteFile = action(\"PINECONE_DELETE_FILE\", {\n slug: \"pinecone-delete-file\",\n name: \"Delete File\",\n description: \"Tool to delete an uploaded file from a Pinecone assistant. Use when you need to remove a file that was previously uploaded to an assistant.\",\n input: PineconeDeleteFileInput,\n output: PineconeDeleteFileOutput,\n});\n"],"mappings":";;AAcA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdqC,EAAE,OAAO;EAC9C,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG;EAC7I,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;EACxF,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC9E,CAAC,CAAC,CAAC,SAAS,6EAUH;CACP,QAVsC,EAAE,OAAO;EAC/C,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,0BAA0B,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxI,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"delete-file.mjs","names":[],"sources":["../../src/actions/delete-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeDeleteFileInput = z.object({\n assistant_host: z.string().describe(\"The host URL of the assistant. This is typically in the format 'prod-1-data.ke.pinecone.io' or similar.\"),\n assistant_name: z.string().describe(\"The name of the assistant to delete the file from.\"),\n assistant_file_id: z.string().describe(\"The UUID of the file to be deleted.\"),\n}).describe(\"Request parameters for deleting an uploaded file from a Pinecone assistant.\");\nexport const PineconeDeleteFileOutput = z.object({\n message: z.string().default(\"File deletion successful\").describe(\"Confirmation message for the deletion operation\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the file deletion was successful\").nullable().optional(),\n}).passthrough().describe(\"Response model for file deletion operation. Returns success confirmation.\");\n\nexport const pineconeDeleteFile = action(\"PINECONE_DELETE_FILE\", {\n slug: \"pinecone-delete-file\",\n name: \"Delete File\",\n description: \"Tool to delete an uploaded file from a Pinecone assistant. Use when you need to remove a file that was previously uploaded to an assistant.\",\n input: PineconeDeleteFileInput,\n output: PineconeDeleteFileOutput,\n});\n"],"mappings":";;AAcA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdqC,EAAE,OAAO;EAC9C,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG;EAC7I,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;EACxF,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC9E,CAAC,CAAC,CAAC,SAAS,6EAUH;CACP,QAVsC,EAAE,OAAO;EAC/C,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,0BAA0B,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxI,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const PineconeDeleteIndexInput = zod.z.object({ index_name: zod.z.string().descr
|
|
|
5
5
|
const PineconeDeleteIndexOutput = zod.z.object({
|
|
6
6
|
message: zod.z.string().default("Index deletion request accepted").describe("Confirmation message for the deletion request").nullable().optional(),
|
|
7
7
|
success: zod.z.boolean().default(true).describe("Indicates whether the deletion request was successfully accepted").nullable().optional()
|
|
8
|
-
}).describe("Response model for the delete index operation.");
|
|
8
|
+
}).passthrough().describe("Response model for the delete index operation.");
|
|
9
9
|
const pineconeDeleteIndex = require_action.action("PINECONE_DELETE_INDEX", {
|
|
10
10
|
slug: "pinecone-delete-index",
|
|
11
11
|
name: "Delete Index",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-index.cjs","names":["z","action"],"sources":["../../src/actions/delete-index.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeDeleteIndexInput = z.object({\n index_name: z.string().describe(\"The name of the index to delete. Example: 'test-index'\"),\n}).describe(\"Request model for deleting a Pinecone index.\");\nexport const PineconeDeleteIndexOutput = z.object({\n message: z.string().default(\"Index deletion request accepted\").describe(\"Confirmation message for the deletion request\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the deletion request was successfully accepted\").nullable().optional(),\n}).describe(\"Response model for the delete index operation.\");\n\nexport const pineconeDeleteIndex = action(\"PINECONE_DELETE_INDEX\", {\n slug: \"pinecone-delete-index\",\n name: \"Delete Index\",\n description: \"Tool to permanently delete a Pinecone index. Use when you need to remove an index from your project. Note: Deletion protection and pending collections can prevent deletion.\",\n input: PineconeDeleteIndexInput,\n output: PineconeDeleteIndexOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,EAC1F,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,iCAAiC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,SAAS,gDAAgD;
|
|
1
|
+
{"version":3,"file":"delete-index.cjs","names":["z","action"],"sources":["../../src/actions/delete-index.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeDeleteIndexInput = z.object({\n index_name: z.string().describe(\"The name of the index to delete. Example: 'test-index'\"),\n}).describe(\"Request model for deleting a Pinecone index.\");\nexport const PineconeDeleteIndexOutput = z.object({\n message: z.string().default(\"Index deletion request accepted\").describe(\"Confirmation message for the deletion request\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the deletion request was successfully accepted\").nullable().optional(),\n}).passthrough().describe(\"Response model for the delete index operation.\");\n\nexport const pineconeDeleteIndex = action(\"PINECONE_DELETE_INDEX\", {\n slug: \"pinecone-delete-index\",\n name: \"Delete Index\",\n description: \"Tool to permanently delete a Pinecone index. Use when you need to remove an index from your project. Note: Deletion protection and pending collections can prevent deletion.\",\n input: PineconeDeleteIndexInput,\n output: PineconeDeleteIndexOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,EAC1F,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,iCAAiC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ declare const PineconeDeleteIndexInput: z.ZodObject<{
|
|
|
7
7
|
declare const PineconeDeleteIndexOutput: z.ZodObject<{
|
|
8
8
|
message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
9
9
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const pineconeDeleteIndex: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
index_name: string;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -7,7 +7,7 @@ declare const PineconeDeleteIndexInput: z.ZodObject<{
|
|
|
7
7
|
declare const PineconeDeleteIndexOutput: z.ZodObject<{
|
|
8
8
|
message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
9
9
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const pineconeDeleteIndex: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
index_name: string;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,7 +8,7 @@ const pineconeDeleteIndex = action("PINECONE_DELETE_INDEX", {
|
|
|
8
8
|
output: z.object({
|
|
9
9
|
message: z.string().default("Index deletion request accepted").describe("Confirmation message for the deletion request").nullable().optional(),
|
|
10
10
|
success: z.boolean().default(true).describe("Indicates whether the deletion request was successfully accepted").nullable().optional()
|
|
11
|
-
}).describe("Response model for the delete index operation.")
|
|
11
|
+
}).passthrough().describe("Response model for the delete index operation.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { pineconeDeleteIndex };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-index.mjs","names":[],"sources":["../../src/actions/delete-index.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeDeleteIndexInput = z.object({\n index_name: z.string().describe(\"The name of the index to delete. Example: 'test-index'\"),\n}).describe(\"Request model for deleting a Pinecone index.\");\nexport const PineconeDeleteIndexOutput = z.object({\n message: z.string().default(\"Index deletion request accepted\").describe(\"Confirmation message for the deletion request\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the deletion request was successfully accepted\").nullable().optional(),\n}).describe(\"Response model for the delete index operation.\");\n\nexport const pineconeDeleteIndex = action(\"PINECONE_DELETE_INDEX\", {\n slug: \"pinecone-delete-index\",\n name: \"Delete Index\",\n description: \"Tool to permanently delete a Pinecone index. Use when you need to remove an index from your project. Note: Deletion protection and pending collections can prevent deletion.\",\n input: PineconeDeleteIndexInput,\n output: PineconeDeleteIndexOutput,\n});\n"],"mappings":";;AAYA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZsC,EAAE,OAAO,EAC/C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,EAC1F,CAAC,CAAC,CAAC,SAAS,8CAUH;CACP,QAVuC,EAAE,OAAO;EAChD,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,iCAAiC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"delete-index.mjs","names":[],"sources":["../../src/actions/delete-index.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeDeleteIndexInput = z.object({\n index_name: z.string().describe(\"The name of the index to delete. Example: 'test-index'\"),\n}).describe(\"Request model for deleting a Pinecone index.\");\nexport const PineconeDeleteIndexOutput = z.object({\n message: z.string().default(\"Index deletion request accepted\").describe(\"Confirmation message for the deletion request\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the deletion request was successfully accepted\").nullable().optional(),\n}).passthrough().describe(\"Response model for the delete index operation.\");\n\nexport const pineconeDeleteIndex = action(\"PINECONE_DELETE_INDEX\", {\n slug: \"pinecone-delete-index\",\n name: \"Delete Index\",\n description: \"Tool to permanently delete a Pinecone index. Use when you need to remove an index from your project. Note: Deletion protection and pending collections can prevent deletion.\",\n input: PineconeDeleteIndexInput,\n output: PineconeDeleteIndexOutput,\n});\n"],"mappings":";;AAYA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZsC,EAAE,OAAO,EAC/C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,EAC1F,CAAC,CAAC,CAAC,SAAS,8CAUH;CACP,QAVuC,EAAE,OAAO;EAChD,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,iCAAiC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const PineconeDeleteNamespaceInput = zod.z.object({
|
|
|
5
5
|
namespace: zod.z.string().describe("The namespace identifier to be deleted. This operation is irreversible and will destroy all vectors in the namespace."),
|
|
6
6
|
index_host: zod.z.string().describe("The host URL of the serverless index containing the namespace. Can be obtained from the list indexes operation.")
|
|
7
7
|
}).describe("Request parameters for deleting a namespace from a serverless index.");
|
|
8
|
-
const PineconeDeleteNamespaceOutput = zod.z.
|
|
8
|
+
const PineconeDeleteNamespaceOutput = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Response model for namespace deletion. Returns empty object on success.");
|
|
9
9
|
const pineconeDeleteNamespace = require_action.action("PINECONE_DELETE_NAMESPACE", {
|
|
10
10
|
slug: "pinecone-delete-namespace",
|
|
11
11
|
name: "Delete Namespace",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-namespace.cjs","names":["z","action"],"sources":["../../src/actions/delete-namespace.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeDeleteNamespaceInput = z.object({\n namespace: z.string().describe(\"The namespace identifier to be deleted. This operation is irreversible and will destroy all vectors in the namespace.\"),\n index_host: z.string().describe(\"The host URL of the serverless index containing the namespace. Can be obtained from the list indexes operation.\"),\n}).describe(\"Request parameters for deleting a namespace from a serverless index.\");\nexport const PineconeDeleteNamespaceOutput = z.
|
|
1
|
+
{"version":3,"file":"delete-namespace.cjs","names":["z","action"],"sources":["../../src/actions/delete-namespace.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeDeleteNamespaceInput = z.object({\n namespace: z.string().describe(\"The namespace identifier to be deleted. This operation is irreversible and will destroy all vectors in the namespace.\"),\n index_host: z.string().describe(\"The host URL of the serverless index containing the namespace. Can be obtained from the list indexes operation.\"),\n}).describe(\"Request parameters for deleting a namespace from a serverless index.\");\nexport const PineconeDeleteNamespaceOutput = z.record(z.string(), z.unknown()).describe(\"Response model for namespace deletion. Returns empty object on success.\");\n\nexport const pineconeDeleteNamespace = action(\"PINECONE_DELETE_NAMESPACE\", {\n slug: \"pinecone-delete-namespace\",\n name: \"Delete Namespace\",\n description: \"Tool to permanently delete a namespace from a serverless index. Use when you need to remove an entire namespace and all its data. This operation is irreversible and only supported on serverless indexes.\",\n input: PineconeDeleteNamespaceInput,\n output: PineconeDeleteNamespaceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH;CACtJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH;AACnJ,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAa,gCAAgCA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yEAAyE;AAEjK,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ declare const PineconeDeleteNamespaceInput: z.ZodObject<{
|
|
|
5
5
|
namespace: z.ZodString;
|
|
6
6
|
index_host: z.ZodString;
|
|
7
7
|
}, z.core.$strip>;
|
|
8
|
-
declare const PineconeDeleteNamespaceOutput: z.
|
|
8
|
+
declare const PineconeDeleteNamespaceOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
9
|
declare const pineconeDeleteNamespace: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
10
10
|
namespace: string;
|
|
11
11
|
index_host: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-namespace.d.cts","names":[],"sources":["../../src/actions/delete-namespace.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAI5B,6BAAA,EAA6B,CAAA,CAAA,SAAA,
|
|
1
|
+
{"version":3,"file":"delete-namespace.d.cts","names":[],"sources":["../../src/actions/delete-namespace.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAI5B,6BAAA,EAA6B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE7B,uBAAA,gCAAuB,wBAAA"}
|
|
@@ -5,7 +5,7 @@ declare const PineconeDeleteNamespaceInput: z.ZodObject<{
|
|
|
5
5
|
namespace: z.ZodString;
|
|
6
6
|
index_host: z.ZodString;
|
|
7
7
|
}, z.core.$strip>;
|
|
8
|
-
declare const PineconeDeleteNamespaceOutput: z.
|
|
8
|
+
declare const PineconeDeleteNamespaceOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
9
|
declare const pineconeDeleteNamespace: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
10
10
|
namespace: string;
|
|
11
11
|
index_host: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-namespace.d.mts","names":[],"sources":["../../src/actions/delete-namespace.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAI5B,6BAAA,EAA6B,CAAA,CAAA,SAAA,
|
|
1
|
+
{"version":3,"file":"delete-namespace.d.mts","names":[],"sources":["../../src/actions/delete-namespace.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAI5B,6BAAA,EAA6B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE7B,uBAAA,gCAAuB,wBAAA"}
|
|
@@ -8,7 +8,7 @@ const pineconeDeleteNamespace = action("PINECONE_DELETE_NAMESPACE", {
|
|
|
8
8
|
namespace: z.string().describe("The namespace identifier to be deleted. This operation is irreversible and will destroy all vectors in the namespace."),
|
|
9
9
|
index_host: z.string().describe("The host URL of the serverless index containing the namespace. Can be obtained from the list indexes operation.")
|
|
10
10
|
}).describe("Request parameters for deleting a namespace from a serverless index."),
|
|
11
|
-
output: z.
|
|
11
|
+
output: z.record(z.string(), z.unknown()).describe("Response model for namespace deletion. Returns empty object on success.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { pineconeDeleteNamespace };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-namespace.mjs","names":[],"sources":["../../src/actions/delete-namespace.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeDeleteNamespaceInput = z.object({\n namespace: z.string().describe(\"The namespace identifier to be deleted. This operation is irreversible and will destroy all vectors in the namespace.\"),\n index_host: z.string().describe(\"The host URL of the serverless index containing the namespace. Can be obtained from the list indexes operation.\"),\n}).describe(\"Request parameters for deleting a namespace from a serverless index.\");\nexport const PineconeDeleteNamespaceOutput = z.
|
|
1
|
+
{"version":3,"file":"delete-namespace.mjs","names":[],"sources":["../../src/actions/delete-namespace.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeDeleteNamespaceInput = z.object({\n namespace: z.string().describe(\"The namespace identifier to be deleted. This operation is irreversible and will destroy all vectors in the namespace.\"),\n index_host: z.string().describe(\"The host URL of the serverless index containing the namespace. Can be obtained from the list indexes operation.\"),\n}).describe(\"Request parameters for deleting a namespace from a serverless index.\");\nexport const PineconeDeleteNamespaceOutput = z.record(z.string(), z.unknown()).describe(\"Response model for namespace deletion. Returns empty object on success.\");\n\nexport const pineconeDeleteNamespace = action(\"PINECONE_DELETE_NAMESPACE\", {\n slug: \"pinecone-delete-namespace\",\n name: \"Delete Namespace\",\n description: \"Tool to permanently delete a namespace from a serverless index. Use when you need to remove an entire namespace and all its data. This operation is irreversible and only supported on serverless indexes.\",\n input: PineconeDeleteNamespaceInput,\n output: PineconeDeleteNamespaceOutput,\n});\n"],"mappings":";;AAUA,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAV0C,EAAE,OAAO;EACnD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH;EACtJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH;CACnJ,CAAC,CAAC,CAAC,SAAS,sEAOH;CACP,QAP2C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yEAO9E;AACV,CAAC"}
|
|
@@ -3,12 +3,12 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/delete-vectors.ts
|
|
4
4
|
const PineconeDeleteVectorsInput = zod.z.object({
|
|
5
5
|
ids: zod.z.array(zod.z.string()).describe("List of vector IDs to delete. Mutually exclusive with deleteAll and filter. Length: 1-1,000 IDs.").optional(),
|
|
6
|
-
filter: zod.z.
|
|
6
|
+
filter: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Metadata filter to select vectors for deletion. Mutually exclusive with ids and deleteAll. Example: {\"genre\": {\"$in\": [\"comedy\", \"documentary\"]}, \"year\": {\"$eq\": 2019}}").optional(),
|
|
7
7
|
namespace: zod.z.string().describe("The namespace to delete vectors from. If not specified, uses the default namespace.").optional(),
|
|
8
8
|
delete_all: zod.z.boolean().describe("If true, deletes all vectors in the namespace. Mutually exclusive with ids and filter. Default: false.").optional(),
|
|
9
9
|
index_host: zod.z.string().describe("The host URL of the index to delete vectors from. Get this from the list_indexes response (e.g., 'my-index-abc123.svc.region.pinecone.io').")
|
|
10
10
|
}).describe("Request model for deleting vectors from a Pinecone index.");
|
|
11
|
-
const PineconeDeleteVectorsOutput = zod.z.
|
|
11
|
+
const PineconeDeleteVectorsOutput = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Response model for delete vectors operation. Returns empty object on success.");
|
|
12
12
|
const pineconeDeleteVectors = require_action.action("PINECONE_DELETE_VECTORS", {
|
|
13
13
|
slug: "pinecone-delete-vectors",
|
|
14
14
|
name: "Delete Vectors",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-vectors.cjs","names":["z","action"],"sources":["../../src/actions/delete-vectors.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeDeleteVectorsInput = z.object({\n ids: z.array(z.string()).describe(\"List of vector IDs to delete. Mutually exclusive with deleteAll and filter. Length: 1-1,000 IDs.\").optional(),\n filter: z.
|
|
1
|
+
{"version":3,"file":"delete-vectors.cjs","names":["z","action"],"sources":["../../src/actions/delete-vectors.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeDeleteVectorsInput = z.object({\n ids: z.array(z.string()).describe(\"List of vector IDs to delete. Mutually exclusive with deleteAll and filter. Length: 1-1,000 IDs.\").optional(),\n filter: z.record(z.string(), z.unknown()).describe(\"Metadata filter to select vectors for deletion. Mutually exclusive with ids and deleteAll. Example: {\\\"genre\\\": {\\\"$in\\\": [\\\"comedy\\\", \\\"documentary\\\"]}, \\\"year\\\": {\\\"$eq\\\": 2019}}\").optional(),\n namespace: z.string().describe(\"The namespace to delete vectors from. If not specified, uses the default namespace.\").optional(),\n delete_all: z.boolean().describe(\"If true, deletes all vectors in the namespace. Mutually exclusive with ids and filter. Default: false.\").optional(),\n index_host: z.string().describe(\"The host URL of the index to delete vectors from. Get this from the list_indexes response (e.g., 'my-index-abc123.svc.region.pinecone.io').\"),\n}).describe(\"Request model for deleting vectors from a Pinecone index.\");\nexport const PineconeDeleteVectorsOutput = z.record(z.string(), z.unknown()).describe(\"Response model for delete vectors operation. Returns empty object on success.\");\n\nexport const pineconeDeleteVectors = action(\"PINECONE_DELETE_VECTORS\", {\n slug: \"pinecone-delete-vectors\",\n name: \"Delete Vectors\",\n description: \"Tool to delete vectors by ID from a Pinecone index. Use when you need to remove specific vectors from a namespace. Supports deletion by IDs, metadata filter, or entire namespace deletion.\",\n input: PineconeDeleteVectorsInput,\n output: PineconeDeleteVectorsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CAC/I,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sLAAsL,CAAC,CAAC,SAAS;CACpP,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC/H,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CACpJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I;AAC/K,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,8BAA8BA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAErK,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|