@keystrokehq/pinecone 0.1.4 → 0.1.6
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/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/cancel-bulk-import.cjs +1 -0
- package/dist/actions/cancel-bulk-import.cjs.map +1 -1
- package/dist/actions/cancel-bulk-import.d.cts +3 -4
- package/dist/actions/cancel-bulk-import.d.cts.map +1 -1
- package/dist/actions/cancel-bulk-import.d.mts +3 -4
- package/dist/actions/cancel-bulk-import.d.mts.map +1 -1
- package/dist/actions/cancel-bulk-import.mjs +1 -0
- package/dist/actions/cancel-bulk-import.mjs.map +1 -1
- package/dist/actions/chat-assistant.cjs +1 -0
- package/dist/actions/chat-assistant.cjs.map +1 -1
- package/dist/actions/chat-assistant.d.cts +3 -21
- package/dist/actions/chat-assistant.d.cts.map +1 -1
- package/dist/actions/chat-assistant.d.mts +3 -21
- package/dist/actions/chat-assistant.d.mts.map +1 -1
- package/dist/actions/chat-assistant.mjs +1 -0
- package/dist/actions/chat-assistant.mjs.map +1 -1
- package/dist/actions/chat-completion-assistant.cjs +1 -0
- package/dist/actions/chat-completion-assistant.cjs.map +1 -1
- package/dist/actions/chat-completion-assistant.d.cts +3 -13
- package/dist/actions/chat-completion-assistant.d.cts.map +1 -1
- package/dist/actions/chat-completion-assistant.d.mts +3 -13
- package/dist/actions/chat-completion-assistant.d.mts.map +1 -1
- package/dist/actions/chat-completion-assistant.mjs +1 -0
- package/dist/actions/chat-completion-assistant.mjs.map +1 -1
- package/dist/actions/configure-index.cjs +1 -0
- package/dist/actions/configure-index.cjs.map +1 -1
- package/dist/actions/configure-index.d.cts +3 -17
- package/dist/actions/configure-index.d.cts.map +1 -1
- package/dist/actions/configure-index.d.mts +3 -17
- package/dist/actions/configure-index.d.mts.map +1 -1
- package/dist/actions/configure-index.mjs +1 -0
- package/dist/actions/configure-index.mjs.map +1 -1
- package/dist/actions/create-assistant.cjs +1 -0
- package/dist/actions/create-assistant.cjs.map +1 -1
- package/dist/actions/create-assistant.d.cts +3 -6
- package/dist/actions/create-assistant.d.cts.map +1 -1
- package/dist/actions/create-assistant.d.mts +3 -6
- package/dist/actions/create-assistant.d.mts.map +1 -1
- package/dist/actions/create-assistant.mjs +1 -0
- package/dist/actions/create-assistant.mjs.map +1 -1
- package/dist/actions/create-backup.cjs +1 -0
- package/dist/actions/create-backup.cjs.map +1 -1
- package/dist/actions/create-backup.d.cts +3 -5
- package/dist/actions/create-backup.d.cts.map +1 -1
- package/dist/actions/create-backup.d.mts +3 -5
- package/dist/actions/create-backup.d.mts.map +1 -1
- package/dist/actions/create-backup.mjs +1 -0
- package/dist/actions/create-backup.mjs.map +1 -1
- package/dist/actions/create-index-for-model.cjs +1 -0
- package/dist/actions/create-index-for-model.cjs.map +1 -1
- package/dist/actions/create-index-for-model.d.cts +4 -13
- package/dist/actions/create-index-for-model.d.cts.map +1 -1
- package/dist/actions/create-index-for-model.d.mts +4 -13
- package/dist/actions/create-index-for-model.d.mts.map +1 -1
- package/dist/actions/create-index-for-model.mjs +1 -0
- package/dist/actions/create-index-for-model.mjs.map +1 -1
- package/dist/actions/create-index-from-backup.cjs +1 -0
- package/dist/actions/create-index-from-backup.cjs.map +1 -1
- package/dist/actions/create-index-from-backup.d.cts +3 -6
- package/dist/actions/create-index-from-backup.d.cts.map +1 -1
- package/dist/actions/create-index-from-backup.d.mts +3 -6
- package/dist/actions/create-index-from-backup.d.mts.map +1 -1
- package/dist/actions/create-index-from-backup.mjs +1 -0
- package/dist/actions/create-index-from-backup.mjs.map +1 -1
- package/dist/actions/create-index.cjs +1 -0
- package/dist/actions/create-index.cjs.map +1 -1
- package/dist/actions/create-index.d.cts +4 -22
- package/dist/actions/create-index.d.cts.map +1 -1
- package/dist/actions/create-index.d.mts +4 -22
- package/dist/actions/create-index.d.mts.map +1 -1
- package/dist/actions/create-index.mjs +1 -0
- package/dist/actions/create-index.mjs.map +1 -1
- package/dist/actions/create-namespace.cjs +1 -0
- package/dist/actions/create-namespace.cjs.map +1 -1
- package/dist/actions/create-namespace.d.cts +3 -7
- package/dist/actions/create-namespace.d.cts.map +1 -1
- package/dist/actions/create-namespace.d.mts +3 -7
- package/dist/actions/create-namespace.d.mts.map +1 -1
- package/dist/actions/create-namespace.mjs +1 -0
- package/dist/actions/create-namespace.mjs.map +1 -1
- package/dist/actions/delete-assistant.cjs +1 -0
- package/dist/actions/delete-assistant.cjs.map +1 -1
- package/dist/actions/delete-assistant.d.cts +3 -3
- package/dist/actions/delete-assistant.d.cts.map +1 -1
- package/dist/actions/delete-assistant.d.mts +3 -3
- package/dist/actions/delete-assistant.d.mts.map +1 -1
- package/dist/actions/delete-assistant.mjs +1 -0
- package/dist/actions/delete-assistant.mjs.map +1 -1
- package/dist/actions/delete-backup.cjs +1 -0
- package/dist/actions/delete-backup.cjs.map +1 -1
- package/dist/actions/delete-backup.d.cts +3 -3
- package/dist/actions/delete-backup.d.cts.map +1 -1
- package/dist/actions/delete-backup.d.mts +3 -3
- package/dist/actions/delete-backup.d.mts.map +1 -1
- package/dist/actions/delete-backup.mjs +1 -0
- package/dist/actions/delete-backup.mjs.map +1 -1
- package/dist/actions/delete-file.cjs +1 -0
- package/dist/actions/delete-file.cjs.map +1 -1
- package/dist/actions/delete-file.d.cts +3 -5
- package/dist/actions/delete-file.d.cts.map +1 -1
- package/dist/actions/delete-file.d.mts +3 -5
- package/dist/actions/delete-file.d.mts.map +1 -1
- package/dist/actions/delete-file.mjs +1 -0
- package/dist/actions/delete-file.mjs.map +1 -1
- package/dist/actions/delete-index.cjs +1 -0
- package/dist/actions/delete-index.cjs.map +1 -1
- package/dist/actions/delete-index.d.cts +3 -3
- package/dist/actions/delete-index.d.cts.map +1 -1
- package/dist/actions/delete-index.d.mts +3 -3
- package/dist/actions/delete-index.d.mts.map +1 -1
- package/dist/actions/delete-index.mjs +1 -0
- package/dist/actions/delete-index.mjs.map +1 -1
- package/dist/actions/delete-namespace.cjs +1 -0
- package/dist/actions/delete-namespace.cjs.map +1 -1
- package/dist/actions/delete-namespace.d.cts +3 -4
- package/dist/actions/delete-namespace.d.cts.map +1 -1
- package/dist/actions/delete-namespace.d.mts +3 -4
- package/dist/actions/delete-namespace.d.mts.map +1 -1
- package/dist/actions/delete-namespace.mjs +1 -0
- package/dist/actions/delete-namespace.mjs.map +1 -1
- package/dist/actions/delete-vectors.cjs +1 -0
- package/dist/actions/delete-vectors.cjs.map +1 -1
- package/dist/actions/delete-vectors.d.cts +3 -7
- package/dist/actions/delete-vectors.d.cts.map +1 -1
- package/dist/actions/delete-vectors.d.mts +3 -7
- package/dist/actions/delete-vectors.d.mts.map +1 -1
- package/dist/actions/delete-vectors.mjs +1 -0
- package/dist/actions/delete-vectors.mjs.map +1 -1
- package/dist/actions/describe-backup.cjs +1 -0
- package/dist/actions/describe-backup.cjs.map +1 -1
- package/dist/actions/describe-backup.d.cts +3 -3
- package/dist/actions/describe-backup.d.cts.map +1 -1
- package/dist/actions/describe-backup.d.mts +3 -3
- package/dist/actions/describe-backup.d.mts.map +1 -1
- package/dist/actions/describe-backup.mjs +1 -0
- package/dist/actions/describe-backup.mjs.map +1 -1
- package/dist/actions/describe-bulk-import.cjs +1 -0
- package/dist/actions/describe-bulk-import.cjs.map +1 -1
- package/dist/actions/describe-bulk-import.d.cts +3 -4
- package/dist/actions/describe-bulk-import.d.cts.map +1 -1
- package/dist/actions/describe-bulk-import.d.mts +3 -4
- package/dist/actions/describe-bulk-import.d.mts.map +1 -1
- package/dist/actions/describe-bulk-import.mjs +1 -0
- package/dist/actions/describe-bulk-import.mjs.map +1 -1
- package/dist/actions/describe-file.cjs +1 -0
- package/dist/actions/describe-file.cjs.map +1 -1
- package/dist/actions/describe-file.d.cts +3 -7
- package/dist/actions/describe-file.d.cts.map +1 -1
- package/dist/actions/describe-file.d.mts +3 -7
- package/dist/actions/describe-file.d.mts.map +1 -1
- package/dist/actions/describe-file.mjs +1 -0
- package/dist/actions/describe-file.mjs.map +1 -1
- package/dist/actions/describe-index-stats.cjs +1 -0
- package/dist/actions/describe-index-stats.cjs.map +1 -1
- package/dist/actions/describe-index-stats.d.cts +3 -4
- package/dist/actions/describe-index-stats.d.cts.map +1 -1
- package/dist/actions/describe-index-stats.d.mts +3 -4
- package/dist/actions/describe-index-stats.d.mts.map +1 -1
- package/dist/actions/describe-index-stats.mjs +1 -0
- package/dist/actions/describe-index-stats.mjs.map +1 -1
- package/dist/actions/describe-index.cjs +1 -0
- package/dist/actions/describe-index.cjs.map +1 -1
- package/dist/actions/describe-index.d.cts +3 -4
- package/dist/actions/describe-index.d.cts.map +1 -1
- package/dist/actions/describe-index.d.mts +3 -4
- package/dist/actions/describe-index.d.mts.map +1 -1
- package/dist/actions/describe-index.mjs +1 -0
- package/dist/actions/describe-index.mjs.map +1 -1
- package/dist/actions/describe-namespace.cjs +1 -0
- package/dist/actions/describe-namespace.cjs.map +1 -1
- package/dist/actions/describe-namespace.d.cts +3 -4
- package/dist/actions/describe-namespace.d.cts.map +1 -1
- package/dist/actions/describe-namespace.d.mts +3 -4
- package/dist/actions/describe-namespace.d.mts.map +1 -1
- package/dist/actions/describe-namespace.mjs +1 -0
- package/dist/actions/describe-namespace.mjs.map +1 -1
- package/dist/actions/describe-restore-job.cjs +1 -0
- package/dist/actions/describe-restore-job.cjs.map +1 -1
- package/dist/actions/describe-restore-job.d.cts +3 -3
- package/dist/actions/describe-restore-job.d.cts.map +1 -1
- package/dist/actions/describe-restore-job.d.mts +3 -3
- package/dist/actions/describe-restore-job.d.mts.map +1 -1
- package/dist/actions/describe-restore-job.mjs +1 -0
- package/dist/actions/describe-restore-job.mjs.map +1 -1
- package/dist/actions/embed.cjs +1 -0
- package/dist/actions/embed.cjs.map +1 -1
- package/dist/actions/embed.d.cts +3 -11
- package/dist/actions/embed.d.cts.map +1 -1
- package/dist/actions/embed.d.mts +3 -11
- package/dist/actions/embed.d.mts.map +1 -1
- package/dist/actions/embed.mjs +1 -0
- package/dist/actions/embed.mjs.map +1 -1
- package/dist/actions/fetch-vectors.cjs +1 -0
- package/dist/actions/fetch-vectors.cjs.map +1 -1
- package/dist/actions/fetch-vectors.d.cts +3 -5
- package/dist/actions/fetch-vectors.d.cts.map +1 -1
- package/dist/actions/fetch-vectors.d.mts +3 -5
- package/dist/actions/fetch-vectors.d.mts.map +1 -1
- package/dist/actions/fetch-vectors.mjs +1 -0
- package/dist/actions/fetch-vectors.mjs.map +1 -1
- package/dist/actions/get-assistant.cjs +1 -0
- package/dist/actions/get-assistant.cjs.map +1 -1
- package/dist/actions/get-assistant.d.cts +3 -4
- package/dist/actions/get-assistant.d.cts.map +1 -1
- package/dist/actions/get-assistant.d.mts +3 -4
- package/dist/actions/get-assistant.d.mts.map +1 -1
- package/dist/actions/get-assistant.mjs +1 -0
- package/dist/actions/get-assistant.mjs.map +1 -1
- package/dist/actions/get-model.cjs +1 -0
- package/dist/actions/get-model.cjs.map +1 -1
- package/dist/actions/get-model.d.cts +3 -4
- package/dist/actions/get-model.d.cts.map +1 -1
- package/dist/actions/get-model.d.mts +3 -4
- package/dist/actions/get-model.d.mts.map +1 -1
- package/dist/actions/get-model.mjs +1 -0
- package/dist/actions/get-model.mjs.map +1 -1
- package/dist/actions/list-assistants.cjs +1 -0
- package/dist/actions/list-assistants.cjs.map +1 -1
- package/dist/actions/list-assistants.d.cts +3 -4
- package/dist/actions/list-assistants.d.cts.map +1 -1
- package/dist/actions/list-assistants.d.mts +3 -4
- package/dist/actions/list-assistants.d.mts.map +1 -1
- package/dist/actions/list-assistants.mjs +1 -0
- package/dist/actions/list-assistants.mjs.map +1 -1
- package/dist/actions/list-bulk-imports.cjs +1 -0
- package/dist/actions/list-bulk-imports.cjs.map +1 -1
- package/dist/actions/list-bulk-imports.d.cts +3 -5
- package/dist/actions/list-bulk-imports.d.cts.map +1 -1
- package/dist/actions/list-bulk-imports.d.mts +3 -5
- package/dist/actions/list-bulk-imports.d.mts.map +1 -1
- package/dist/actions/list-bulk-imports.mjs +1 -0
- package/dist/actions/list-bulk-imports.mjs.map +1 -1
- package/dist/actions/list-collections.cjs +1 -0
- package/dist/actions/list-collections.cjs.map +1 -1
- package/dist/actions/list-collections.d.cts +3 -1
- package/dist/actions/list-collections.d.cts.map +1 -1
- package/dist/actions/list-collections.d.mts +3 -1
- package/dist/actions/list-collections.d.mts.map +1 -1
- package/dist/actions/list-collections.mjs +1 -0
- package/dist/actions/list-collections.mjs.map +1 -1
- package/dist/actions/list-files.cjs +1 -0
- package/dist/actions/list-files.cjs.map +1 -1
- package/dist/actions/list-files.d.cts +3 -8
- package/dist/actions/list-files.d.cts.map +1 -1
- package/dist/actions/list-files.d.mts +3 -8
- package/dist/actions/list-files.d.mts.map +1 -1
- package/dist/actions/list-files.mjs +1 -0
- package/dist/actions/list-files.mjs.map +1 -1
- package/dist/actions/list-index-backups.cjs +1 -0
- package/dist/actions/list-index-backups.cjs.map +1 -1
- package/dist/actions/list-index-backups.d.cts +3 -5
- package/dist/actions/list-index-backups.d.cts.map +1 -1
- package/dist/actions/list-index-backups.d.mts +3 -5
- package/dist/actions/list-index-backups.d.mts.map +1 -1
- package/dist/actions/list-index-backups.mjs +1 -0
- package/dist/actions/list-index-backups.mjs.map +1 -1
- package/dist/actions/list-indexes.cjs +1 -0
- package/dist/actions/list-indexes.cjs.map +1 -1
- package/dist/actions/list-indexes.d.cts +3 -1
- package/dist/actions/list-indexes.d.cts.map +1 -1
- package/dist/actions/list-indexes.d.mts +3 -1
- package/dist/actions/list-indexes.d.mts.map +1 -1
- package/dist/actions/list-indexes.mjs +1 -0
- package/dist/actions/list-indexes.mjs.map +1 -1
- package/dist/actions/list-models.cjs +1 -0
- package/dist/actions/list-models.cjs.map +1 -1
- package/dist/actions/list-models.d.cts +3 -4
- package/dist/actions/list-models.d.cts.map +1 -1
- package/dist/actions/list-models.d.mts +3 -4
- package/dist/actions/list-models.d.mts.map +1 -1
- package/dist/actions/list-models.mjs +1 -0
- package/dist/actions/list-models.mjs.map +1 -1
- package/dist/actions/list-namespaces-operation.cjs +1 -0
- package/dist/actions/list-namespaces-operation.cjs.map +1 -1
- package/dist/actions/list-namespaces-operation.d.cts +3 -7
- package/dist/actions/list-namespaces-operation.d.cts.map +1 -1
- package/dist/actions/list-namespaces-operation.d.mts +3 -7
- package/dist/actions/list-namespaces-operation.d.mts.map +1 -1
- package/dist/actions/list-namespaces-operation.mjs +1 -0
- package/dist/actions/list-namespaces-operation.mjs.map +1 -1
- package/dist/actions/list-project-backups.cjs +1 -0
- package/dist/actions/list-project-backups.cjs.map +1 -1
- package/dist/actions/list-project-backups.d.cts +3 -4
- package/dist/actions/list-project-backups.d.cts.map +1 -1
- package/dist/actions/list-project-backups.d.mts +3 -4
- package/dist/actions/list-project-backups.d.mts.map +1 -1
- package/dist/actions/list-project-backups.mjs +1 -0
- package/dist/actions/list-project-backups.mjs.map +1 -1
- package/dist/actions/list-restore-jobs.cjs +1 -0
- package/dist/actions/list-restore-jobs.cjs.map +1 -1
- package/dist/actions/list-restore-jobs.d.cts +3 -4
- package/dist/actions/list-restore-jobs.d.cts.map +1 -1
- package/dist/actions/list-restore-jobs.d.mts +3 -4
- package/dist/actions/list-restore-jobs.d.mts.map +1 -1
- package/dist/actions/list-restore-jobs.mjs +1 -0
- package/dist/actions/list-restore-jobs.mjs.map +1 -1
- package/dist/actions/list-vectors.cjs +1 -0
- package/dist/actions/list-vectors.cjs.map +1 -1
- package/dist/actions/list-vectors.d.cts +3 -7
- package/dist/actions/list-vectors.d.cts.map +1 -1
- package/dist/actions/list-vectors.d.mts +3 -7
- package/dist/actions/list-vectors.d.mts.map +1 -1
- package/dist/actions/list-vectors.mjs +1 -0
- package/dist/actions/list-vectors.mjs.map +1 -1
- package/dist/actions/query-vectors.cjs +1 -0
- package/dist/actions/query-vectors.cjs.map +1 -1
- package/dist/actions/query-vectors.d.cts +3 -14
- package/dist/actions/query-vectors.d.cts.map +1 -1
- package/dist/actions/query-vectors.d.mts +3 -14
- package/dist/actions/query-vectors.d.mts.map +1 -1
- package/dist/actions/query-vectors.mjs +1 -0
- package/dist/actions/query-vectors.mjs.map +1 -1
- package/dist/actions/rerank.cjs +1 -0
- package/dist/actions/rerank.cjs.map +1 -1
- package/dist/actions/rerank.d.cts +3 -13
- package/dist/actions/rerank.d.cts.map +1 -1
- package/dist/actions/rerank.d.mts +3 -13
- package/dist/actions/rerank.d.mts.map +1 -1
- package/dist/actions/rerank.mjs +1 -0
- package/dist/actions/rerank.mjs.map +1 -1
- package/dist/actions/retrieve-context-assistant.cjs +1 -0
- package/dist/actions/retrieve-context-assistant.cjs.map +1 -1
- package/dist/actions/retrieve-context-assistant.d.cts +3 -15
- package/dist/actions/retrieve-context-assistant.d.cts.map +1 -1
- package/dist/actions/retrieve-context-assistant.d.mts +3 -15
- package/dist/actions/retrieve-context-assistant.d.mts.map +1 -1
- package/dist/actions/retrieve-context-assistant.mjs +1 -0
- package/dist/actions/retrieve-context-assistant.mjs.map +1 -1
- package/dist/actions/search-records-namespace.cjs +1 -0
- package/dist/actions/search-records-namespace.cjs.map +1 -1
- package/dist/actions/search-records-namespace.d.cts +3 -31
- package/dist/actions/search-records-namespace.d.cts.map +1 -1
- package/dist/actions/search-records-namespace.d.mts +3 -31
- package/dist/actions/search-records-namespace.d.mts.map +1 -1
- package/dist/actions/search-records-namespace.mjs +1 -0
- package/dist/actions/search-records-namespace.mjs.map +1 -1
- package/dist/actions/start-bulk-import.cjs +1 -0
- package/dist/actions/start-bulk-import.cjs.map +1 -1
- package/dist/actions/start-bulk-import.d.cts +3 -8
- package/dist/actions/start-bulk-import.d.cts.map +1 -1
- package/dist/actions/start-bulk-import.d.mts +3 -8
- package/dist/actions/start-bulk-import.d.mts.map +1 -1
- package/dist/actions/start-bulk-import.mjs +1 -0
- package/dist/actions/start-bulk-import.mjs.map +1 -1
- package/dist/actions/update-assistant.cjs +1 -0
- package/dist/actions/update-assistant.cjs.map +1 -1
- package/dist/actions/update-assistant.d.cts +3 -6
- package/dist/actions/update-assistant.d.cts.map +1 -1
- package/dist/actions/update-assistant.d.mts +3 -6
- package/dist/actions/update-assistant.d.mts.map +1 -1
- package/dist/actions/update-assistant.mjs +1 -0
- package/dist/actions/update-assistant.mjs.map +1 -1
- package/dist/actions/update-vector.cjs +1 -0
- package/dist/actions/update-vector.cjs.map +1 -1
- package/dist/actions/update-vector.d.cts +3 -13
- package/dist/actions/update-vector.d.cts.map +1 -1
- package/dist/actions/update-vector.d.mts +3 -13
- package/dist/actions/update-vector.d.mts.map +1 -1
- package/dist/actions/update-vector.mjs +1 -0
- package/dist/actions/update-vector.mjs.map +1 -1
- package/dist/actions/upload-file.cjs +1 -0
- package/dist/actions/upload-file.cjs.map +1 -1
- package/dist/actions/upload-file.d.cts +3 -16
- package/dist/actions/upload-file.d.cts.map +1 -1
- package/dist/actions/upload-file.d.mts +3 -16
- package/dist/actions/upload-file.d.mts.map +1 -1
- package/dist/actions/upload-file.mjs +1 -0
- package/dist/actions/upload-file.mjs.map +1 -1
- package/dist/actions/upsert-records-namespace.cjs +1 -0
- package/dist/actions/upsert-records-namespace.cjs.map +1 -1
- package/dist/actions/upsert-records-namespace.d.cts +3 -6
- package/dist/actions/upsert-records-namespace.d.cts.map +1 -1
- package/dist/actions/upsert-records-namespace.d.mts +3 -6
- package/dist/actions/upsert-records-namespace.d.mts.map +1 -1
- package/dist/actions/upsert-records-namespace.mjs +1 -0
- package/dist/actions/upsert-records-namespace.mjs.map +1 -1
- package/dist/actions/upsert-vectors.cjs +1 -0
- package/dist/actions/upsert-vectors.cjs.map +1 -1
- package/dist/actions/upsert-vectors.d.cts +3 -14
- package/dist/actions/upsert-vectors.d.cts.map +1 -1
- package/dist/actions/upsert-vectors.d.mts +3 -14
- package/dist/actions/upsert-vectors.d.mts.map +1 -1
- package/dist/actions/upsert-vectors.mjs +1 -0
- package/dist/actions/upsert-vectors.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"describe-index-stats.mjs","names":[],"sources":["../../src/actions/describe-index-stats.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeDescribeIndexStatsInput = z.object({\n filter: z.record(z.string(), z.unknown()).describe(\"Metadata filter expression to get stats for only vectors matching the filter. Only supported on pod-based indexes. Serverless and starter indexes do not support this parameter.\").optional(),\n index_host: z.string().describe(\"The host URL of the index to get stats for (e.g., 'index-name-xxx.svc.region.pinecone.io'). Get this from the list_indexes response.\"),\n}).describe(\"Request model for getting index statistics.\");\nexport const PineconeDescribeIndexStatsOutput = z.object({\n metric: z.string().describe(\"Similarity measurement metric (e.g., 'cosine')\").nullable().optional(),\n dimension: z.number().int().describe(\"Vector dimension (not specified for sparse indexes)\").nullable().optional(),\n namespaces: z.record(z.string(), z.unknown()).describe(\"Maps each namespace name to a NamespaceSummary object containing vector count\").nullable().optional(),\n vectorType: z.string().describe(\"Type of vectors stored (e.g., 'dense')\").nullable().optional(),\n indexFullness: z.number().describe(\"Index fullness percentage (0-1), relevant only for pod-based indexes\").nullable().optional(),\n memory_fullness: z.number().describe(\"Memory usage for dedicated indexes\").nullable().optional(),\n storage_fullness: z.number().describe(\"Storage usage for dedicated indexes\").nullable().optional(),\n totalVectorCount: z.number().int().describe(\"Total number of vectors across all namespaces\").nullable().optional(),\n}).passthrough().describe(\"Response model for index statistics including vector count, dimensions, and fullness.\");\n\nexport const pineconeDescribeIndexStats = action(\"PINECONE_DESCRIBE_INDEX_STATS\", {\n slug: \"pinecone-describe-index-stats\",\n name: \"Describe Index Stats\",\n description: \"Tool to get index statistics including vector count per namespace, dimensions, and fullness. Use when you need to understand the contents and status of an index.\",\n input: PineconeDescribeIndexStatsInput,\n output: PineconeDescribeIndexStatsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"describe-index-stats.mjs","names":[],"sources":["../../src/actions/describe-index-stats.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pinecone } from \"../app\";\n\nexport const PineconeDescribeIndexStatsInput = z.object({\n filter: z.record(z.string(), z.unknown()).describe(\"Metadata filter expression to get stats for only vectors matching the filter. Only supported on pod-based indexes. Serverless and starter indexes do not support this parameter.\").optional(),\n index_host: z.string().describe(\"The host URL of the index to get stats for (e.g., 'index-name-xxx.svc.region.pinecone.io'). Get this from the list_indexes response.\"),\n}).describe(\"Request model for getting index statistics.\");\nexport const PineconeDescribeIndexStatsOutput = z.object({\n metric: z.string().describe(\"Similarity measurement metric (e.g., 'cosine')\").nullable().optional(),\n dimension: z.number().int().describe(\"Vector dimension (not specified for sparse indexes)\").nullable().optional(),\n namespaces: z.record(z.string(), z.unknown()).describe(\"Maps each namespace name to a NamespaceSummary object containing vector count\").nullable().optional(),\n vectorType: z.string().describe(\"Type of vectors stored (e.g., 'dense')\").nullable().optional(),\n indexFullness: z.number().describe(\"Index fullness percentage (0-1), relevant only for pod-based indexes\").nullable().optional(),\n memory_fullness: z.number().describe(\"Memory usage for dedicated indexes\").nullable().optional(),\n storage_fullness: z.number().describe(\"Storage usage for dedicated indexes\").nullable().optional(),\n totalVectorCount: z.number().int().describe(\"Total number of vectors across all namespaces\").nullable().optional(),\n}).passthrough().describe(\"Response model for index statistics including vector count, dimensions, and fullness.\");\n\nexport const pineconeDescribeIndexStats: AppAction<\n typeof PineconeDescribeIndexStatsInput,\n typeof PineconeDescribeIndexStatsOutput,\n typeof pinecone.credential\n> = action(\"PINECONE_DESCRIBE_INDEX_STATS\", {\n slug: \"pinecone-describe-index-stats\",\n name: \"Describe Index Stats\",\n description: \"Tool to get index statistics including vector count per namespace, dimensions, and fullness. Use when you need to understand the contents and status of an index.\",\n input: PineconeDescribeIndexStatsInput,\n output: PineconeDescribeIndexStatsOutput,\n});\n"],"mappings":";;;AAqBA,MAAa,6BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvB6C,EAAE,OAAO;EACtD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kLAAkL,CAAC,CAAC,SAAS;EAChP,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI;CACxK,CAAC,CAAC,CAAC,SAAS,6CAoBH;CACP,QApB8C,EAAE,OAAO;EACvD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5J,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/H,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uFAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"describe-index.cjs","names":["z","action"],"sources":["../../src/actions/describe-index.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeDescribeIndexInput = z.object({\n index_name: z.string().describe(\"The name of the index to describe.\"),\n api_version: z.string().default(\"2025-10\").describe(\"Date-based version header for the Pinecone API.\").optional(),\n}).describe(\"Request parameters for describing a Pinecone index.\");\nconst PineconeDescribeIndex_PodSpecSchema = z.object({\n pods: z.number().int().describe(\"Number of pods.\").nullable(),\n shards: z.number().int().describe(\"Number of shards.\").nullable(),\n pod_type: z.string().describe(\"Type of pod.\").nullable(),\n replicas: z.number().int().describe(\"Number of replicas.\").nullable(),\n environment: z.string().describe(\"Deployment environment.\").nullable(),\n metadata_config: z.record(z.string(), z.unknown()).describe(\"Metadata configuration.\").nullable().optional(),\n source_collection: z.string().describe(\"Source collection name.\").nullable().optional(),\n}).passthrough().describe(\"Pod-based deployment specification.\");\nconst PineconeDescribeIndex_ServerlessSpecSchema = z.object({\n cloud: z.string().describe(\"Cloud provider.\").nullable(),\n region: z.string().describe(\"Cloud region.\").nullable(),\n}).passthrough().describe(\"Serverless deployment specification.\");\nconst PineconeDescribeIndex_IndexSpecSchema = z.object({\n pod: PineconeDescribeIndex_PodSpecSchema.nullable().optional(),\n serverless: PineconeDescribeIndex_ServerlessSpecSchema.nullable().optional(),\n}).passthrough().describe(\"Deployment specification for an index.\");\nconst PineconeDescribeIndex_EmbedFieldMapSchema = z.object({\n input_field: z.string().describe(\"Name of the field containing text to embed.\").nullable().optional(),\n metadata_fields: z.array(z.string()).describe(\"List of metadata field names to include.\").nullable().optional(),\n}).passthrough().describe(\"Field mapping for integrated embedding.\");\nconst PineconeDescribeIndex_EmbedConfigSchema = z.object({\n read: z.boolean().describe(\"Whether to use embeddings for read operations.\").nullable().optional(),\n model: z.string().describe(\"Name of the embedding model.\").nullable(),\n write: z.boolean().describe(\"Whether to use embeddings for write operations.\").nullable().optional(),\n field_map: PineconeDescribeIndex_EmbedFieldMapSchema.nullable().optional(),\n}).passthrough().describe(\"Configuration for integrated embedding and inference.\");\nconst PineconeDescribeIndex_IndexStatusSchema = z.object({\n ready: z.boolean().describe(\"Whether the index is operational.\").nullable(),\n state: z.string().describe(\"Current condition of the index (e.g., Initializing, Ready, ScalingUp, ScalingDown, Terminating).\").nullable(),\n}).passthrough().describe(\"Current state of the index.\");\nexport const PineconeDescribeIndexOutput = z.object({\n host: z.string().describe(\"Hosted URL address of the index.\").nullable(),\n name: z.string().describe(\"Index name, 1-45 chars, alphanumeric/hyphens only.\").nullable(),\n spec: PineconeDescribeIndex_IndexSpecSchema.nullable().optional(),\n tags: z.record(z.string(), z.unknown()).describe(\"Custom metadata key-value pairs.\").nullable().optional(),\n embed: PineconeDescribeIndex_EmbedConfigSchema.nullable().optional(),\n metric: z.string().describe(\"Distance metric: 'cosine', 'euclidean', or 'dotproduct'.\").nullable(),\n status: PineconeDescribeIndex_IndexStatusSchema.nullable(),\n dimension: z.number().int().describe(\"Vector dimensions, range 1-20000.\").nullable(),\n vector_type: z.string().describe(\"Vector type: 'dense' or 'sparse' (default: 'dense').\").nullable().optional(),\n private_host: z.string().describe(\"Private endpoint URL if configured.\").nullable().optional(),\n deletion_protection: z.string().describe(\"Protection status for deletion.\").nullable().optional(),\n}).passthrough().describe(\"Response containing full index configuration including host and integrated embedding settings.\");\n\nexport const pineconeDescribeIndex = action(\"PINECONE_DESCRIBE_INDEX\", {\n slug: \"pinecone-describe-index\",\n name: \"Describe Index\",\n description: \"Tool to retrieve full Pinecone index configuration including host and integrated embedding settings. Use when you need to check if an index has integrated inference (embed config) to avoid 'Integrated inference is not configured' errors by choosing the appropriate search method.\",\n input: PineconeDescribeIndexInput,\n output: PineconeDescribeIndexOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"describe-index.cjs","names":["z","action"],"sources":["../../src/actions/describe-index.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pinecone } from \"../app\";\n\nexport const PineconeDescribeIndexInput = z.object({\n index_name: z.string().describe(\"The name of the index to describe.\"),\n api_version: z.string().default(\"2025-10\").describe(\"Date-based version header for the Pinecone API.\").optional(),\n}).describe(\"Request parameters for describing a Pinecone index.\");\nconst PineconeDescribeIndex_PodSpecSchema = z.object({\n pods: z.number().int().describe(\"Number of pods.\").nullable(),\n shards: z.number().int().describe(\"Number of shards.\").nullable(),\n pod_type: z.string().describe(\"Type of pod.\").nullable(),\n replicas: z.number().int().describe(\"Number of replicas.\").nullable(),\n environment: z.string().describe(\"Deployment environment.\").nullable(),\n metadata_config: z.record(z.string(), z.unknown()).describe(\"Metadata configuration.\").nullable().optional(),\n source_collection: z.string().describe(\"Source collection name.\").nullable().optional(),\n}).passthrough().describe(\"Pod-based deployment specification.\");\nconst PineconeDescribeIndex_ServerlessSpecSchema = z.object({\n cloud: z.string().describe(\"Cloud provider.\").nullable(),\n region: z.string().describe(\"Cloud region.\").nullable(),\n}).passthrough().describe(\"Serverless deployment specification.\");\nconst PineconeDescribeIndex_IndexSpecSchema = z.object({\n pod: PineconeDescribeIndex_PodSpecSchema.nullable().optional(),\n serverless: PineconeDescribeIndex_ServerlessSpecSchema.nullable().optional(),\n}).passthrough().describe(\"Deployment specification for an index.\");\nconst PineconeDescribeIndex_EmbedFieldMapSchema = z.object({\n input_field: z.string().describe(\"Name of the field containing text to embed.\").nullable().optional(),\n metadata_fields: z.array(z.string()).describe(\"List of metadata field names to include.\").nullable().optional(),\n}).passthrough().describe(\"Field mapping for integrated embedding.\");\nconst PineconeDescribeIndex_EmbedConfigSchema = z.object({\n read: z.boolean().describe(\"Whether to use embeddings for read operations.\").nullable().optional(),\n model: z.string().describe(\"Name of the embedding model.\").nullable(),\n write: z.boolean().describe(\"Whether to use embeddings for write operations.\").nullable().optional(),\n field_map: PineconeDescribeIndex_EmbedFieldMapSchema.nullable().optional(),\n}).passthrough().describe(\"Configuration for integrated embedding and inference.\");\nconst PineconeDescribeIndex_IndexStatusSchema = z.object({\n ready: z.boolean().describe(\"Whether the index is operational.\").nullable(),\n state: z.string().describe(\"Current condition of the index (e.g., Initializing, Ready, ScalingUp, ScalingDown, Terminating).\").nullable(),\n}).passthrough().describe(\"Current state of the index.\");\nexport const PineconeDescribeIndexOutput = z.object({\n host: z.string().describe(\"Hosted URL address of the index.\").nullable(),\n name: z.string().describe(\"Index name, 1-45 chars, alphanumeric/hyphens only.\").nullable(),\n spec: PineconeDescribeIndex_IndexSpecSchema.nullable().optional(),\n tags: z.record(z.string(), z.unknown()).describe(\"Custom metadata key-value pairs.\").nullable().optional(),\n embed: PineconeDescribeIndex_EmbedConfigSchema.nullable().optional(),\n metric: z.string().describe(\"Distance metric: 'cosine', 'euclidean', or 'dotproduct'.\").nullable(),\n status: PineconeDescribeIndex_IndexStatusSchema.nullable(),\n dimension: z.number().int().describe(\"Vector dimensions, range 1-20000.\").nullable(),\n vector_type: z.string().describe(\"Vector type: 'dense' or 'sparse' (default: 'dense').\").nullable().optional(),\n private_host: z.string().describe(\"Private endpoint URL if configured.\").nullable().optional(),\n deletion_protection: z.string().describe(\"Protection status for deletion.\").nullable().optional(),\n}).passthrough().describe(\"Response containing full index configuration including host and integrated embedding settings.\");\n\nexport const pineconeDescribeIndex: AppAction<\n typeof PineconeDescribeIndexInput,\n typeof PineconeDescribeIndexOutput,\n typeof pinecone.credential\n> = action(\"PINECONE_DESCRIBE_INDEX\", {\n slug: \"pinecone-describe-index\",\n name: \"Describe Index\",\n description: \"Tool to retrieve full Pinecone index configuration including host and integrated embedding settings. Use when you need to check if an index has integrated inference (embed config) to avoid 'Integrated inference is not configured' errors by choosing the appropriate search method.\",\n input: PineconeDescribeIndexInput,\n output: PineconeDescribeIndexOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAA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O;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACzF,MAAM,sCAAsC,SAAS,CAAC,CAAC,SAAS;CAChE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,OAAO,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACnE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACjG,QAAQ,wCAAwC,SAAS;CACzD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACnF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gGAAgG;AAE1H,MAAa,wBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pinecone } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/describe-index.d.ts
|
|
@@ -43,10 +45,7 @@ declare const PineconeDescribeIndexOutput: z.ZodObject<{
|
|
|
43
45
|
private_host: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
46
|
deletion_protection: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
47
|
}, z.core.$loose>;
|
|
46
|
-
declare const pineconeDescribeIndex:
|
|
47
|
-
index_name: string;
|
|
48
|
-
api_version?: string | undefined;
|
|
49
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
48
|
+
declare const pineconeDescribeIndex: AppAction<typeof PineconeDescribeIndexInput, typeof PineconeDescribeIndexOutput, typeof pinecone.credential>;
|
|
50
49
|
//#endregion
|
|
51
50
|
export { pineconeDescribeIndex };
|
|
52
51
|
//# sourceMappingURL=describe-index.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"describe-index.d.cts","names":[],"sources":["../../src/actions/describe-index.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"describe-index.d.cts","names":[],"sources":["../../src/actions/describe-index.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAmC1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAc3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pinecone } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/describe-index.d.ts
|
|
@@ -43,10 +45,7 @@ declare const PineconeDescribeIndexOutput: z.ZodObject<{
|
|
|
43
45
|
private_host: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
46
|
deletion_protection: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
47
|
}, z.core.$loose>;
|
|
46
|
-
declare const pineconeDescribeIndex:
|
|
47
|
-
index_name: string;
|
|
48
|
-
api_version?: string | undefined;
|
|
49
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
48
|
+
declare const pineconeDescribeIndex: AppAction<typeof PineconeDescribeIndexInput, typeof PineconeDescribeIndexOutput, typeof pinecone.credential>;
|
|
50
49
|
//#endregion
|
|
51
50
|
export { pineconeDescribeIndex };
|
|
52
51
|
//# sourceMappingURL=describe-index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"describe-index.d.mts","names":[],"sources":["../../src/actions/describe-index.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"describe-index.d.mts","names":[],"sources":["../../src/actions/describe-index.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAmC1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAc3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"describe-index.mjs","names":[],"sources":["../../src/actions/describe-index.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeDescribeIndexInput = z.object({\n index_name: z.string().describe(\"The name of the index to describe.\"),\n api_version: z.string().default(\"2025-10\").describe(\"Date-based version header for the Pinecone API.\").optional(),\n}).describe(\"Request parameters for describing a Pinecone index.\");\nconst PineconeDescribeIndex_PodSpecSchema = z.object({\n pods: z.number().int().describe(\"Number of pods.\").nullable(),\n shards: z.number().int().describe(\"Number of shards.\").nullable(),\n pod_type: z.string().describe(\"Type of pod.\").nullable(),\n replicas: z.number().int().describe(\"Number of replicas.\").nullable(),\n environment: z.string().describe(\"Deployment environment.\").nullable(),\n metadata_config: z.record(z.string(), z.unknown()).describe(\"Metadata configuration.\").nullable().optional(),\n source_collection: z.string().describe(\"Source collection name.\").nullable().optional(),\n}).passthrough().describe(\"Pod-based deployment specification.\");\nconst PineconeDescribeIndex_ServerlessSpecSchema = z.object({\n cloud: z.string().describe(\"Cloud provider.\").nullable(),\n region: z.string().describe(\"Cloud region.\").nullable(),\n}).passthrough().describe(\"Serverless deployment specification.\");\nconst PineconeDescribeIndex_IndexSpecSchema = z.object({\n pod: PineconeDescribeIndex_PodSpecSchema.nullable().optional(),\n serverless: PineconeDescribeIndex_ServerlessSpecSchema.nullable().optional(),\n}).passthrough().describe(\"Deployment specification for an index.\");\nconst PineconeDescribeIndex_EmbedFieldMapSchema = z.object({\n input_field: z.string().describe(\"Name of the field containing text to embed.\").nullable().optional(),\n metadata_fields: z.array(z.string()).describe(\"List of metadata field names to include.\").nullable().optional(),\n}).passthrough().describe(\"Field mapping for integrated embedding.\");\nconst PineconeDescribeIndex_EmbedConfigSchema = z.object({\n read: z.boolean().describe(\"Whether to use embeddings for read operations.\").nullable().optional(),\n model: z.string().describe(\"Name of the embedding model.\").nullable(),\n write: z.boolean().describe(\"Whether to use embeddings for write operations.\").nullable().optional(),\n field_map: PineconeDescribeIndex_EmbedFieldMapSchema.nullable().optional(),\n}).passthrough().describe(\"Configuration for integrated embedding and inference.\");\nconst PineconeDescribeIndex_IndexStatusSchema = z.object({\n ready: z.boolean().describe(\"Whether the index is operational.\").nullable(),\n state: z.string().describe(\"Current condition of the index (e.g., Initializing, Ready, ScalingUp, ScalingDown, Terminating).\").nullable(),\n}).passthrough().describe(\"Current state of the index.\");\nexport const PineconeDescribeIndexOutput = z.object({\n host: z.string().describe(\"Hosted URL address of the index.\").nullable(),\n name: z.string().describe(\"Index name, 1-45 chars, alphanumeric/hyphens only.\").nullable(),\n spec: PineconeDescribeIndex_IndexSpecSchema.nullable().optional(),\n tags: z.record(z.string(), z.unknown()).describe(\"Custom metadata key-value pairs.\").nullable().optional(),\n embed: PineconeDescribeIndex_EmbedConfigSchema.nullable().optional(),\n metric: z.string().describe(\"Distance metric: 'cosine', 'euclidean', or 'dotproduct'.\").nullable(),\n status: PineconeDescribeIndex_IndexStatusSchema.nullable(),\n dimension: z.number().int().describe(\"Vector dimensions, range 1-20000.\").nullable(),\n vector_type: z.string().describe(\"Vector type: 'dense' or 'sparse' (default: 'dense').\").nullable().optional(),\n private_host: z.string().describe(\"Private endpoint URL if configured.\").nullable().optional(),\n deletion_protection: z.string().describe(\"Protection status for deletion.\").nullable().optional(),\n}).passthrough().describe(\"Response containing full index configuration including host and integrated embedding settings.\");\n\nexport const pineconeDescribeIndex = action(\"PINECONE_DESCRIBE_INDEX\", {\n slug: \"pinecone-describe-index\",\n name: \"Describe Index\",\n description: \"Tool to retrieve full Pinecone index configuration including host and integrated embedding settings. Use when you need to check if an index has integrated inference (embed config) to avoid 'Integrated inference is not configured' errors by choosing the appropriate search method.\",\n input: PineconeDescribeIndexInput,\n output: PineconeDescribeIndexOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"describe-index.mjs","names":[],"sources":["../../src/actions/describe-index.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pinecone } from \"../app\";\n\nexport const PineconeDescribeIndexInput = z.object({\n index_name: z.string().describe(\"The name of the index to describe.\"),\n api_version: z.string().default(\"2025-10\").describe(\"Date-based version header for the Pinecone API.\").optional(),\n}).describe(\"Request parameters for describing a Pinecone index.\");\nconst PineconeDescribeIndex_PodSpecSchema = z.object({\n pods: z.number().int().describe(\"Number of pods.\").nullable(),\n shards: z.number().int().describe(\"Number of shards.\").nullable(),\n pod_type: z.string().describe(\"Type of pod.\").nullable(),\n replicas: z.number().int().describe(\"Number of replicas.\").nullable(),\n environment: z.string().describe(\"Deployment environment.\").nullable(),\n metadata_config: z.record(z.string(), z.unknown()).describe(\"Metadata configuration.\").nullable().optional(),\n source_collection: z.string().describe(\"Source collection name.\").nullable().optional(),\n}).passthrough().describe(\"Pod-based deployment specification.\");\nconst PineconeDescribeIndex_ServerlessSpecSchema = z.object({\n cloud: z.string().describe(\"Cloud provider.\").nullable(),\n region: z.string().describe(\"Cloud region.\").nullable(),\n}).passthrough().describe(\"Serverless deployment specification.\");\nconst PineconeDescribeIndex_IndexSpecSchema = z.object({\n pod: PineconeDescribeIndex_PodSpecSchema.nullable().optional(),\n serverless: PineconeDescribeIndex_ServerlessSpecSchema.nullable().optional(),\n}).passthrough().describe(\"Deployment specification for an index.\");\nconst PineconeDescribeIndex_EmbedFieldMapSchema = z.object({\n input_field: z.string().describe(\"Name of the field containing text to embed.\").nullable().optional(),\n metadata_fields: z.array(z.string()).describe(\"List of metadata field names to include.\").nullable().optional(),\n}).passthrough().describe(\"Field mapping for integrated embedding.\");\nconst PineconeDescribeIndex_EmbedConfigSchema = z.object({\n read: z.boolean().describe(\"Whether to use embeddings for read operations.\").nullable().optional(),\n model: z.string().describe(\"Name of the embedding model.\").nullable(),\n write: z.boolean().describe(\"Whether to use embeddings for write operations.\").nullable().optional(),\n field_map: PineconeDescribeIndex_EmbedFieldMapSchema.nullable().optional(),\n}).passthrough().describe(\"Configuration for integrated embedding and inference.\");\nconst PineconeDescribeIndex_IndexStatusSchema = z.object({\n ready: z.boolean().describe(\"Whether the index is operational.\").nullable(),\n state: z.string().describe(\"Current condition of the index (e.g., Initializing, Ready, ScalingUp, ScalingDown, Terminating).\").nullable(),\n}).passthrough().describe(\"Current state of the index.\");\nexport const PineconeDescribeIndexOutput = z.object({\n host: z.string().describe(\"Hosted URL address of the index.\").nullable(),\n name: z.string().describe(\"Index name, 1-45 chars, alphanumeric/hyphens only.\").nullable(),\n spec: PineconeDescribeIndex_IndexSpecSchema.nullable().optional(),\n tags: z.record(z.string(), z.unknown()).describe(\"Custom metadata key-value pairs.\").nullable().optional(),\n embed: PineconeDescribeIndex_EmbedConfigSchema.nullable().optional(),\n metric: z.string().describe(\"Distance metric: 'cosine', 'euclidean', or 'dotproduct'.\").nullable(),\n status: PineconeDescribeIndex_IndexStatusSchema.nullable(),\n dimension: z.number().int().describe(\"Vector dimensions, range 1-20000.\").nullable(),\n vector_type: z.string().describe(\"Vector type: 'dense' or 'sparse' (default: 'dense').\").nullable().optional(),\n private_host: z.string().describe(\"Private endpoint URL if configured.\").nullable().optional(),\n deletion_protection: z.string().describe(\"Protection status for deletion.\").nullable().optional(),\n}).passthrough().describe(\"Response containing full index configuration including host and integrated embedding settings.\");\n\nexport const pineconeDescribeIndex: AppAction<\n typeof PineconeDescribeIndexInput,\n typeof PineconeDescribeIndexOutput,\n typeof pinecone.credential\n> = action(\"PINECONE_DESCRIBE_INDEX\", {\n slug: \"pinecone-describe-index\",\n name: \"Describe Index\",\n description: \"Tool to retrieve full Pinecone index configuration including host and integrated embedding settings. Use when you need to check if an index has integrated inference (embed config) to avoid 'Integrated inference is not configured' errors by choosing the appropriate search method.\",\n input: PineconeDescribeIndexInput,\n output: PineconeDescribeIndexOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6B,EAAE,OAAO;CACjD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACpE,aAAa,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,sCAAsC,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CAC5D,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAChE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACvD,UAAU,EAAE,OA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AC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gGAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"describe-namespace.cjs","names":["z","action"],"sources":["../../src/actions/describe-namespace.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeDescribeNamespaceInput = z.object({\n namespace: z.string().describe(\"The namespace to describe.\"),\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 model for describing a namespace in a serverless index.\");\nconst PineconeDescribeNamespace_NamespaceSchemaSchema = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"A map of metadata field names to their configuration. The field name must be a valid metadata field name and must be unique.\"),\n}).passthrough().describe(\"Schema for the behavior of Pinecone's internal metadata index.\");\nconst PineconeDescribeNamespace_IndexedFieldsSchema = z.object({\n fields: z.array(z.string()).describe(\"List of all indexed metadata field names in the namespace\").nullable().optional(),\n}).passthrough().describe(\"Contains indexed metadata field information.\");\nexport const PineconeDescribeNamespaceOutput = z.object({\n name: z.string().describe(\"The name of the namespace\").nullable().optional(),\n schema: PineconeDescribeNamespace_NamespaceSchemaSchema.nullable().optional(),\n record_count: z.number().int().describe(\"The total amount of records within the namespace\").nullable().optional(),\n indexed_fields: PineconeDescribeNamespace_IndexedFieldsSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for namespace description, including name, record count, and indexed fields.\");\n\nexport const pineconeDescribeNamespace = action(\"PINECONE_DESCRIBE_NAMESPACE\", {\n slug: \"pinecone-describe-namespace\",\n name: \"Describe Namespace\",\n description: \"Tool to describe a namespace in a serverless index, including the total number of vectors. Use when you need to get metadata about a namespace such as record count and indexed fields.\",\n input: PineconeDescribeNamespaceInput,\n output: PineconeDescribeNamespaceOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"describe-namespace.cjs","names":["z","action"],"sources":["../../src/actions/describe-namespace.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pinecone } from \"../app\";\n\nexport const PineconeDescribeNamespaceInput = z.object({\n namespace: z.string().describe(\"The namespace to describe.\"),\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 model for describing a namespace in a serverless index.\");\nconst PineconeDescribeNamespace_NamespaceSchemaSchema = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"A map of metadata field names to their configuration. The field name must be a valid metadata field name and must be unique.\"),\n}).passthrough().describe(\"Schema for the behavior of Pinecone's internal metadata index.\");\nconst PineconeDescribeNamespace_IndexedFieldsSchema = z.object({\n fields: z.array(z.string()).describe(\"List of all indexed metadata field names in the namespace\").nullable().optional(),\n}).passthrough().describe(\"Contains indexed metadata field information.\");\nexport const PineconeDescribeNamespaceOutput = z.object({\n name: z.string().describe(\"The name of the namespace\").nullable().optional(),\n schema: PineconeDescribeNamespace_NamespaceSchemaSchema.nullable().optional(),\n record_count: z.number().int().describe(\"The total amount of records within the namespace\").nullable().optional(),\n indexed_fields: PineconeDescribeNamespace_IndexedFieldsSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for namespace description, including name, record count, and indexed fields.\");\n\nexport const pineconeDescribeNamespace: AppAction<\n typeof PineconeDescribeNamespaceInput,\n typeof PineconeDescribeNamespaceOutput,\n typeof pinecone.credential\n> = action(\"PINECONE_DESCRIBE_NAMESPACE\", {\n slug: \"pinecone-describe-namespace\",\n name: \"Describe Namespace\",\n description: \"Tool to describe a namespace in a serverless index, including the total number of vectors. Use when you need to get metadata about a namespace such as record count and indexed fields.\",\n input: PineconeDescribeNamespaceInput,\n output: PineconeDescribeNamespa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
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/describe-namespace.d.ts
|
|
@@ -15,10 +17,7 @@ declare const PineconeDescribeNamespaceOutput: z.ZodObject<{
|
|
|
15
17
|
fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
16
18
|
}, z.core.$loose>>>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const pineconeDescribeNamespace:
|
|
19
|
-
namespace: string;
|
|
20
|
-
index_host: string;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
20
|
+
declare const pineconeDescribeNamespace: AppAction<typeof PineconeDescribeNamespaceInput, typeof PineconeDescribeNamespaceOutput, typeof pinecone.credential>;
|
|
22
21
|
//#endregion
|
|
23
22
|
export { pineconeDescribeNamespace };
|
|
24
23
|
//# sourceMappingURL=describe-namespace.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"describe-namespace.d.cts","names":[],"sources":["../../src/actions/describe-namespace.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"describe-namespace.d.cts","names":[],"sources":["../../src/actions/describe-namespace.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAU9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;cAO/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pinecone } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/describe-namespace.d.ts
|
|
@@ -15,10 +17,7 @@ declare const PineconeDescribeNamespaceOutput: z.ZodObject<{
|
|
|
15
17
|
fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
16
18
|
}, z.core.$loose>>>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const pineconeDescribeNamespace:
|
|
19
|
-
namespace: string;
|
|
20
|
-
index_host: string;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
20
|
+
declare const pineconeDescribeNamespace: AppAction<typeof PineconeDescribeNamespaceInput, typeof PineconeDescribeNamespaceOutput, typeof pinecone.credential>;
|
|
22
21
|
//#endregion
|
|
23
22
|
export { pineconeDescribeNamespace };
|
|
24
23
|
//# sourceMappingURL=describe-namespace.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"describe-namespace.d.mts","names":[],"sources":["../../src/actions/describe-namespace.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"describe-namespace.d.mts","names":[],"sources":["../../src/actions/describe-namespace.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAU9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;cAO/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"describe-namespace.mjs","names":[],"sources":["../../src/actions/describe-namespace.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeDescribeNamespaceInput = z.object({\n namespace: z.string().describe(\"The namespace to describe.\"),\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 model for describing a namespace in a serverless index.\");\nconst PineconeDescribeNamespace_NamespaceSchemaSchema = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"A map of metadata field names to their configuration. The field name must be a valid metadata field name and must be unique.\"),\n}).passthrough().describe(\"Schema for the behavior of Pinecone's internal metadata index.\");\nconst PineconeDescribeNamespace_IndexedFieldsSchema = z.object({\n fields: z.array(z.string()).describe(\"List of all indexed metadata field names in the namespace\").nullable().optional(),\n}).passthrough().describe(\"Contains indexed metadata field information.\");\nexport const PineconeDescribeNamespaceOutput = z.object({\n name: z.string().describe(\"The name of the namespace\").nullable().optional(),\n schema: PineconeDescribeNamespace_NamespaceSchemaSchema.nullable().optional(),\n record_count: z.number().int().describe(\"The total amount of records within the namespace\").nullable().optional(),\n indexed_fields: PineconeDescribeNamespace_IndexedFieldsSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for namespace description, including name, record count, and indexed fields.\");\n\nexport const pineconeDescribeNamespace = action(\"PINECONE_DESCRIBE_NAMESPACE\", {\n slug: \"pinecone-describe-namespace\",\n name: \"Describe Namespace\",\n description: \"Tool to describe a namespace in a serverless index, including the total number of vectors. Use when you need to get metadata about a namespace such as record count and indexed fields.\",\n input: PineconeDescribeNamespaceInput,\n output: PineconeDescribeNamespaceOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"describe-namespace.mjs","names":[],"sources":["../../src/actions/describe-namespace.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pinecone } from \"../app\";\n\nexport const PineconeDescribeNamespaceInput = z.object({\n namespace: z.string().describe(\"The namespace to describe.\"),\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 model for describing a namespace in a serverless index.\");\nconst PineconeDescribeNamespace_NamespaceSchemaSchema = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"A map of metadata field names to their configuration. The field name must be a valid metadata field name and must be unique.\"),\n}).passthrough().describe(\"Schema for the behavior of Pinecone's internal metadata index.\");\nconst PineconeDescribeNamespace_IndexedFieldsSchema = z.object({\n fields: z.array(z.string()).describe(\"List of all indexed metadata field names in the namespace\").nullable().optional(),\n}).passthrough().describe(\"Contains indexed metadata field information.\");\nexport const PineconeDescribeNamespaceOutput = z.object({\n name: z.string().describe(\"The name of the namespace\").nullable().optional(),\n schema: PineconeDescribeNamespace_NamespaceSchemaSchema.nullable().optional(),\n record_count: z.number().int().describe(\"The total amount of records within the namespace\").nullable().optional(),\n indexed_fields: PineconeDescribeNamespace_IndexedFieldsSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for namespace description, including name, record count, and indexed fields.\");\n\nexport const pineconeDescribeNamespace: AppAction<\n typeof PineconeDescribeNamespaceInput,\n typeof PineconeDescribeNamespaceOutput,\n typeof pinecone.credential\n> = action(\"PINECONE_DESCRIBE_NAMESPACE\", {\n slug: \"pinecone-describe-namespace\",\n name: \"Describe Namespace\",\n description: \"Tool to describe a namespace in a serverless index, including the total number of vectors. Use when you need to get metadata about a namespace such as record count and indexed fields.\",\n input: PineconeDescribeNamespaceInput,\n output: PineconeDescribeNamespaceOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiC,EAAE,OAAO;CACrD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CAC3D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH;AACnJ,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,kDAAkD,EAAE,OAAO,EAC/D,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8HAA8H,EACnL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAC1F,MAAM,gDAAgD,EAAE,OAAO,EAC7D,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAQxE,MAAa,4BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhB6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,QAAQ,gDAAgD,SAAS,CAAC,CAAC,SAAS;EAC5E,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,gBAAgB,8CAA8C,SAAS,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6FAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"describe-restore-job.cjs","names":["z","action"],"sources":["../../src/actions/describe-restore-job.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeDescribeRestoreJobInput = z.object({\n job_id: z.string().describe(\"The ID of the restore job to describe.\"),\n}).describe(\"Request model for describing a restore job.\");\nexport const PineconeDescribeRestoreJobOutput = z.object({\n status: z.string().describe(\"Current status of the restore job (e.g., 'Initializing', 'Completed', 'Failed').\").nullable(),\n backup_id: z.string().describe(\"ID of the backup being restored.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the restore job was initiated.\").nullable(),\n completed_at: z.string().describe(\"Timestamp when restoration finished.\").nullable().optional(),\n restore_job_id: z.string().describe(\"Unique identifier for the restore job.\").nullable(),\n target_index_id: z.string().describe(\"ID of the created index.\").nullable(),\n percent_complete: z.number().int().describe(\"Progress percentage (0-100). May be absent for pending jobs.\").nullable().optional(),\n target_index_name: z.string().describe(\"Name of the index created from the backup.\").nullable(),\n}).passthrough().describe(\"Response model for restore job details.\");\n\nexport const pineconeDescribeRestoreJob = action(\"PINECONE_DESCRIBE_RESTORE_JOB\", {\n slug: \"pinecone-describe-restore-job\",\n name: \"Describe Restore Job\",\n description: \"Tool to get detailed information about a specific restore job in Pinecone. Use when you need to check the status, progress, or metadata of a restore operation.\",\n input: PineconeDescribeRestoreJobInput,\n output: PineconeDescribeRestoreJobOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"describe-restore-job.cjs","names":["z","action"],"sources":["../../src/actions/describe-restore-job.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pinecone } from \"../app\";\n\nexport const PineconeDescribeRestoreJobInput = z.object({\n job_id: z.string().describe(\"The ID of the restore job to describe.\"),\n}).describe(\"Request model for describing a restore job.\");\nexport const PineconeDescribeRestoreJobOutput = z.object({\n status: z.string().describe(\"Current status of the restore job (e.g., 'Initializing', 'Completed', 'Failed').\").nullable(),\n backup_id: z.string().describe(\"ID of the backup being restored.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the restore job was initiated.\").nullable(),\n completed_at: z.string().describe(\"Timestamp when restoration finished.\").nullable().optional(),\n restore_job_id: z.string().describe(\"Unique identifier for the restore job.\").nullable(),\n target_index_id: z.string().describe(\"ID of the created index.\").nullable(),\n percent_complete: z.number().int().describe(\"Progress percentage (0-100). May be absent for pending jobs.\").nullable().optional(),\n target_index_name: z.string().describe(\"Name of the index created from the backup.\").nullable(),\n}).passthrough().describe(\"Response model for restore job details.\");\n\nexport const pineconeDescribeRestoreJob: AppAction<\n typeof PineconeDescribeRestoreJobInput,\n typeof PineconeDescribeRestoreJobOutput,\n typeof pinecone.credential\n> = action(\"PINECONE_DESCRIBE_RESTORE_JOB\", {\n slug: \"pinecone-describe-restore-job\",\n name: \"Describe Restore Job\",\n description: \"Tool to get detailed information about a specific restore job in Pinecone. Use when you need to check the status, progress, or metadata of a restore operation.\",\n input: PineconeDescribeRestoreJobInput,\n output: PineconeDescribeRestoreJobOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,EACtE,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACzH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC5E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC1F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACvF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC1E,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,6BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pinecone } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/describe-restore-job.d.ts
|
|
@@ -14,9 +16,7 @@ declare const PineconeDescribeRestoreJobOutput: z.ZodObject<{
|
|
|
14
16
|
percent_complete: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
17
|
target_index_name: z.ZodNullable<z.ZodString>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const pineconeDescribeRestoreJob:
|
|
18
|
-
job_id: string;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
|
+
declare const pineconeDescribeRestoreJob: AppAction<typeof PineconeDescribeRestoreJobInput, typeof PineconeDescribeRestoreJobOutput, typeof pinecone.credential>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { pineconeDescribeRestoreJob };
|
|
22
22
|
//# sourceMappingURL=describe-restore-job.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"describe-restore-job.d.cts","names":[],"sources":["../../src/actions/describe-restore-job.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"describe-restore-job.d.cts","names":[],"sources":["../../src/actions/describe-restore-job.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAG/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;cAWhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pinecone } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/describe-restore-job.d.ts
|
|
@@ -14,9 +16,7 @@ declare const PineconeDescribeRestoreJobOutput: z.ZodObject<{
|
|
|
14
16
|
percent_complete: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
17
|
target_index_name: z.ZodNullable<z.ZodString>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const pineconeDescribeRestoreJob:
|
|
18
|
-
job_id: string;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
|
+
declare const pineconeDescribeRestoreJob: AppAction<typeof PineconeDescribeRestoreJobInput, typeof PineconeDescribeRestoreJobOutput, typeof pinecone.credential>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { pineconeDescribeRestoreJob };
|
|
22
22
|
//# sourceMappingURL=describe-restore-job.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"describe-restore-job.d.mts","names":[],"sources":["../../src/actions/describe-restore-job.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"describe-restore-job.d.mts","names":[],"sources":["../../src/actions/describe-restore-job.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAG/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;cAWhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"describe-restore-job.mjs","names":[],"sources":["../../src/actions/describe-restore-job.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeDescribeRestoreJobInput = z.object({\n job_id: z.string().describe(\"The ID of the restore job to describe.\"),\n}).describe(\"Request model for describing a restore job.\");\nexport const PineconeDescribeRestoreJobOutput = z.object({\n status: z.string().describe(\"Current status of the restore job (e.g., 'Initializing', 'Completed', 'Failed').\").nullable(),\n backup_id: z.string().describe(\"ID of the backup being restored.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the restore job was initiated.\").nullable(),\n completed_at: z.string().describe(\"Timestamp when restoration finished.\").nullable().optional(),\n restore_job_id: z.string().describe(\"Unique identifier for the restore job.\").nullable(),\n target_index_id: z.string().describe(\"ID of the created index.\").nullable(),\n percent_complete: z.number().int().describe(\"Progress percentage (0-100). May be absent for pending jobs.\").nullable().optional(),\n target_index_name: z.string().describe(\"Name of the index created from the backup.\").nullable(),\n}).passthrough().describe(\"Response model for restore job details.\");\n\nexport const pineconeDescribeRestoreJob = action(\"PINECONE_DESCRIBE_RESTORE_JOB\", {\n slug: \"pinecone-describe-restore-job\",\n name: \"Describe Restore Job\",\n description: \"Tool to get detailed information about a specific restore job in Pinecone. Use when you need to check the status, progress, or metadata of a restore operation.\",\n input: PineconeDescribeRestoreJobInput,\n output: PineconeDescribeRestoreJobOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"describe-restore-job.mjs","names":[],"sources":["../../src/actions/describe-restore-job.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pinecone } from \"../app\";\n\nexport const PineconeDescribeRestoreJobInput = z.object({\n job_id: z.string().describe(\"The ID of the restore job to describe.\"),\n}).describe(\"Request model for describing a restore job.\");\nexport const PineconeDescribeRestoreJobOutput = z.object({\n status: z.string().describe(\"Current status of the restore job (e.g., 'Initializing', 'Completed', 'Failed').\").nullable(),\n backup_id: z.string().describe(\"ID of the backup being restored.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the restore job was initiated.\").nullable(),\n completed_at: z.string().describe(\"Timestamp when restoration finished.\").nullable().optional(),\n restore_job_id: z.string().describe(\"Unique identifier for the restore job.\").nullable(),\n target_index_id: z.string().describe(\"ID of the created index.\").nullable(),\n percent_complete: z.number().int().describe(\"Progress percentage (0-100). May be absent for pending jobs.\").nullable().optional(),\n target_index_name: z.string().describe(\"Name of the index created from the backup.\").nullable(),\n}).passthrough().describe(\"Response model for restore job details.\");\n\nexport const pineconeDescribeRestoreJob: AppAction<\n typeof PineconeDescribeRestoreJobInput,\n typeof PineconeDescribeRestoreJobOutput,\n typeof pinecone.credential\n> = action(\"PINECONE_DESCRIBE_RESTORE_JOB\", {\n slug: \"pinecone-describe-restore-job\",\n name: \"Describe Restore Job\",\n description: \"Tool to get detailed information about a specific restore job in Pinecone. Use when you need to check the status, progress, or metadata of a restore operation.\",\n input: PineconeDescribeRestoreJobInput,\n output: PineconeDescribeRestoreJobOutput,\n});\n"],"mappings":";;;AAoBA,MAAa,6BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtB6C,EAAE,OAAO,EACtD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,EACtE,CAAC,CAAC,CAAC,SAAS,6CAoBH;CACP,QApB8C,EAAE,OAAO;EACvD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;EACzH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAC1F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACvF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAC1E,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChI,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAWhB;AACV,CAAC"}
|
package/dist/actions/embed.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"embed.cjs","names":["z","action"],"sources":["../../src/actions/embed.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeEmbedInput = z.object({\n model: z.string().describe(\"The embedding model to use (e.g., 'multilingual-e5-large').\"),\n inputs: z.array(z.object({\n text: z.string().describe(\"The text input to generate embeddings for.\"),\n}).passthrough().describe(\"Single input item for embedding generation.\")).describe(\"List of input objects to generate embeddings for. Each item contains a text field.\"),\n parameters: z.object({\n truncate: z.enum([\"NONE\", \"END\"]).describe(\"How to truncate input text if it exceeds the model's maximum token length. 'NONE' returns error, 'END' truncates from the end.\").optional(),\n input_type: z.enum([\"query\", \"passage\"]).describe(\"Type of input text. Use 'query' for search queries and 'passage' for documents to be searched.\").optional(),\n}).describe(\"Optional parameters for the embedding model.\").optional(),\n}).describe(\"Request parameters for generating embeddings.\");\nconst PineconeEmbed_DenseEmbeddingSchema = z.object({\n values: z.array(z.number()).describe(\"The dense embedding values.\"),\n vector_type: z.string().describe(\"Type of vector, always 'dense' for dense embeddings.\").nullable(),\n}).passthrough().describe(\"Dense embedding representation.\");\nconst PineconeEmbed_SparseEmbeddingSchema = z.object({\n vector_type: z.string().describe(\"Type of vector, always 'sparse' for sparse embeddings.\").nullable(),\n sparse_tokens: z.array(z.string()).describe(\"Normalized tokens corresponding to sparse values. Only returned when return_tokens parameter is true.\").nullable().optional(),\n sparse_values: z.array(z.number()).describe(\"Sparse embedding values.\"),\n sparse_indices: z.array(z.number().int()).describe(\"Indices for sparse values (0 to 4,294,967,295).\"),\n}).passthrough().describe(\"Sparse embedding representation.\");\nconst PineconeEmbed_UsageStatsSchema = z.object({\n total_tokens: z.number().int().describe(\"Total number of tokens processed.\").nullable(),\n}).passthrough().describe(\"Usage statistics for the embedding request.\");\nexport const PineconeEmbedOutput = z.object({\n data: z.array(z.union([PineconeEmbed_DenseEmbeddingSchema, PineconeEmbed_SparseEmbeddingSchema])).describe(\"Array of embedding objects (dense or sparse).\"),\n model: z.string().describe(\"The model used to generate embeddings.\").nullable(),\n usage: PineconeEmbed_UsageStatsSchema.nullable(),\n}).passthrough().describe(\"Response schema for embedding generation.\");\n\nexport const pineconeEmbed = action(\"PINECONE_EMBED\", {\n slug: \"pinecone-embed\",\n name: \"Generate Embeddings\",\n description: \"Tool to generate vector embeddings for input text using Pinecone's hosted embedding models. Use when you need to convert text into vector representations for semantic search or similarity matching.\",\n input: PineconeEmbedInput,\n output: PineconeEmbedOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"embed.cjs","names":["z","action"],"sources":["../../src/actions/embed.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pinecone } from \"../app\";\n\nexport const PineconeEmbedInput = z.object({\n model: z.string().describe(\"The embedding model to use (e.g., 'multilingual-e5-large').\"),\n inputs: z.array(z.object({\n text: z.string().describe(\"The text input to generate embeddings for.\"),\n}).passthrough().describe(\"Single input item for embedding generation.\")).describe(\"List of input objects to generate embeddings for. Each item contains a text field.\"),\n parameters: z.object({\n truncate: z.enum([\"NONE\", \"END\"]).describe(\"How to truncate input text if it exceeds the model's maximum token length. 'NONE' returns error, 'END' truncates from the end.\").optional(),\n input_type: z.enum([\"query\", \"passage\"]).describe(\"Type of input text. Use 'query' for search queries and 'passage' for documents to be searched.\").optional(),\n}).describe(\"Optional parameters for the embedding model.\").optional(),\n}).describe(\"Request parameters for generating embeddings.\");\nconst PineconeEmbed_DenseEmbeddingSchema = z.object({\n values: z.array(z.number()).describe(\"The dense embedding values.\"),\n vector_type: z.string().describe(\"Type of vector, always 'dense' for dense embeddings.\").nullable(),\n}).passthrough().describe(\"Dense embedding representation.\");\nconst PineconeEmbed_SparseEmbeddingSchema = z.object({\n vector_type: z.string().describe(\"Type of vector, always 'sparse' for sparse embeddings.\").nullable(),\n sparse_tokens: z.array(z.string()).describe(\"Normalized tokens corresponding to sparse values. Only returned when return_tokens parameter is true.\").nullable().optional(),\n sparse_values: z.array(z.number()).describe(\"Sparse embedding values.\"),\n sparse_indices: z.array(z.number().int()).describe(\"Indices for sparse values (0 to 4,294,967,295).\"),\n}).passthrough().describe(\"Sparse embedding representation.\");\nconst PineconeEmbed_UsageStatsSchema = z.object({\n total_tokens: z.number().int().describe(\"Total number of tokens processed.\").nullable(),\n}).passthrough().describe(\"Usage statistics for the embedding request.\");\nexport const PineconeEmbedOutput = z.object({\n data: z.array(z.union([PineconeEmbed_DenseEmbeddingSchema, PineconeEmbed_SparseEmbeddingSchema])).describe(\"Array of embedding objects (dense or sparse).\"),\n model: z.string().describe(\"The model used to generate embeddings.\").nullable(),\n usage: PineconeEmbed_UsageStatsSchema.nullable(),\n}).passthrough().describe(\"Response schema for embedding generation.\");\n\nexport const pineconeEmbed: AppAction<\n typeof PineconeEmbedInput,\n typeof PineconeEmbedOutput,\n typeof pinecone.credential\n> = action(\"PINECONE_EMBED\", {\n slug: \"pinecone-embed\",\n name: \"Generate Embeddings\",\n description: \"Tool to generate vector embeddings for input text using Pinecone's hosted embedding models. Use when you need to convert text into vector representations for semantic search or similarity matching.\",\n input: PineconeEmbedInput,\n output: PineconeEmbedOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qBAAqBA,IAAAA,EAAE,OAAO;CACzC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CACxF,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,EACzB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,CAAC,SAAS,oFAAoF;CACrK,YAAYA,IAAAA,EAAE,OAAO;EACrB,UAAUA,IAAAA,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;EACtL,YAAYA,IAAAA,EAAE,KAAK,CAAC,SAAS,SAAS,CAAC,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CAC/J,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AACrE,CA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AAS;AACjD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,gBAITC,eAAAA,OAAO,kBAAkB;CAC3B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
package/dist/actions/embed.d.cts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pinecone } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/embed.d.ts
|
|
@@ -32,17 +34,7 @@ declare const PineconeEmbedOutput: z.ZodObject<{
|
|
|
32
34
|
total_tokens: z.ZodNullable<z.ZodNumber>;
|
|
33
35
|
}, z.core.$loose>>;
|
|
34
36
|
}, z.core.$loose>;
|
|
35
|
-
declare const pineconeEmbed:
|
|
36
|
-
model: string;
|
|
37
|
-
inputs: {
|
|
38
|
-
[x: string]: unknown;
|
|
39
|
-
text: string;
|
|
40
|
-
}[];
|
|
41
|
-
parameters?: {
|
|
42
|
-
truncate?: "NONE" | "END" | undefined;
|
|
43
|
-
input_type?: "query" | "passage" | undefined;
|
|
44
|
-
} | undefined;
|
|
45
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
37
|
+
declare const pineconeEmbed: AppAction<typeof PineconeEmbedInput, typeof PineconeEmbedOutput, typeof pinecone.credential>;
|
|
46
38
|
//#endregion
|
|
47
39
|
export { pineconeEmbed };
|
|
48
40
|
//# sourceMappingURL=embed.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"embed.d.cts","names":[],"sources":["../../src/actions/embed.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"embed.d.cts","names":[],"sources":["../../src/actions/embed.ts"],"mappings":";;;;;cAMa,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAuBlB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAMnB,aAAA,EAAe,SAAA,QACnB,kBAAA,SACA,mBAAA,SACA,QAAA,CAAS,UAAA"}
|
package/dist/actions/embed.d.mts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pinecone } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/embed.d.ts
|
|
@@ -32,17 +34,7 @@ declare const PineconeEmbedOutput: z.ZodObject<{
|
|
|
32
34
|
total_tokens: z.ZodNullable<z.ZodNumber>;
|
|
33
35
|
}, z.core.$loose>>;
|
|
34
36
|
}, z.core.$loose>;
|
|
35
|
-
declare const pineconeEmbed:
|
|
36
|
-
model: string;
|
|
37
|
-
inputs: {
|
|
38
|
-
[x: string]: unknown;
|
|
39
|
-
text: string;
|
|
40
|
-
}[];
|
|
41
|
-
parameters?: {
|
|
42
|
-
truncate?: "NONE" | "END" | undefined;
|
|
43
|
-
input_type?: "query" | "passage" | undefined;
|
|
44
|
-
} | undefined;
|
|
45
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
37
|
+
declare const pineconeEmbed: AppAction<typeof PineconeEmbedInput, typeof PineconeEmbedOutput, typeof pinecone.credential>;
|
|
46
38
|
//#endregion
|
|
47
39
|
export { pineconeEmbed };
|
|
48
40
|
//# sourceMappingURL=embed.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"embed.d.mts","names":[],"sources":["../../src/actions/embed.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"embed.d.mts","names":[],"sources":["../../src/actions/embed.ts"],"mappings":";;;;;cAMa,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAuBlB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAMnB,aAAA,EAAe,SAAA,QACnB,kBAAA,SACA,mBAAA,SACA,QAAA,CAAS,UAAA"}
|
package/dist/actions/embed.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"embed.mjs","names":[],"sources":["../../src/actions/embed.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeEmbedInput = z.object({\n model: z.string().describe(\"The embedding model to use (e.g., 'multilingual-e5-large').\"),\n inputs: z.array(z.object({\n text: z.string().describe(\"The text input to generate embeddings for.\"),\n}).passthrough().describe(\"Single input item for embedding generation.\")).describe(\"List of input objects to generate embeddings for. Each item contains a text field.\"),\n parameters: z.object({\n truncate: z.enum([\"NONE\", \"END\"]).describe(\"How to truncate input text if it exceeds the model's maximum token length. 'NONE' returns error, 'END' truncates from the end.\").optional(),\n input_type: z.enum([\"query\", \"passage\"]).describe(\"Type of input text. Use 'query' for search queries and 'passage' for documents to be searched.\").optional(),\n}).describe(\"Optional parameters for the embedding model.\").optional(),\n}).describe(\"Request parameters for generating embeddings.\");\nconst PineconeEmbed_DenseEmbeddingSchema = z.object({\n values: z.array(z.number()).describe(\"The dense embedding values.\"),\n vector_type: z.string().describe(\"Type of vector, always 'dense' for dense embeddings.\").nullable(),\n}).passthrough().describe(\"Dense embedding representation.\");\nconst PineconeEmbed_SparseEmbeddingSchema = z.object({\n vector_type: z.string().describe(\"Type of vector, always 'sparse' for sparse embeddings.\").nullable(),\n sparse_tokens: z.array(z.string()).describe(\"Normalized tokens corresponding to sparse values. Only returned when return_tokens parameter is true.\").nullable().optional(),\n sparse_values: z.array(z.number()).describe(\"Sparse embedding values.\"),\n sparse_indices: z.array(z.number().int()).describe(\"Indices for sparse values (0 to 4,294,967,295).\"),\n}).passthrough().describe(\"Sparse embedding representation.\");\nconst PineconeEmbed_UsageStatsSchema = z.object({\n total_tokens: z.number().int().describe(\"Total number of tokens processed.\").nullable(),\n}).passthrough().describe(\"Usage statistics for the embedding request.\");\nexport const PineconeEmbedOutput = z.object({\n data: z.array(z.union([PineconeEmbed_DenseEmbeddingSchema, PineconeEmbed_SparseEmbeddingSchema])).describe(\"Array of embedding objects (dense or sparse).\"),\n model: z.string().describe(\"The model used to generate embeddings.\").nullable(),\n usage: PineconeEmbed_UsageStatsSchema.nullable(),\n}).passthrough().describe(\"Response schema for embedding generation.\");\n\nexport const pineconeEmbed = action(\"PINECONE_EMBED\", {\n slug: \"pinecone-embed\",\n name: \"Generate Embeddings\",\n description: \"Tool to generate vector embeddings for input text using Pinecone's hosted embedding models. Use when you need to convert text into vector representations for semantic search or similarity matching.\",\n input: PineconeEmbedInput,\n output: PineconeEmbedOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"embed.mjs","names":[],"sources":["../../src/actions/embed.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pinecone } from \"../app\";\n\nexport const PineconeEmbedInput = z.object({\n model: z.string().describe(\"The embedding model to use (e.g., 'multilingual-e5-large').\"),\n inputs: z.array(z.object({\n text: z.string().describe(\"The text input to generate embeddings for.\"),\n}).passthrough().describe(\"Single input item for embedding generation.\")).describe(\"List of input objects to generate embeddings for. Each item contains a text field.\"),\n parameters: z.object({\n truncate: z.enum([\"NONE\", \"END\"]).describe(\"How to truncate input text if it exceeds the model's maximum token length. 'NONE' returns error, 'END' truncates from the end.\").optional(),\n input_type: z.enum([\"query\", \"passage\"]).describe(\"Type of input text. Use 'query' for search queries and 'passage' for documents to be searched.\").optional(),\n}).describe(\"Optional parameters for the embedding model.\").optional(),\n}).describe(\"Request parameters for generating embeddings.\");\nconst PineconeEmbed_DenseEmbeddingSchema = z.object({\n values: z.array(z.number()).describe(\"The dense embedding values.\"),\n vector_type: z.string().describe(\"Type of vector, always 'dense' for dense embeddings.\").nullable(),\n}).passthrough().describe(\"Dense embedding representation.\");\nconst PineconeEmbed_SparseEmbeddingSchema = z.object({\n vector_type: z.string().describe(\"Type of vector, always 'sparse' for sparse embeddings.\").nullable(),\n sparse_tokens: z.array(z.string()).describe(\"Normalized tokens corresponding to sparse values. Only returned when return_tokens parameter is true.\").nullable().optional(),\n sparse_values: z.array(z.number()).describe(\"Sparse embedding values.\"),\n sparse_indices: z.array(z.number().int()).describe(\"Indices for sparse values (0 to 4,294,967,295).\"),\n}).passthrough().describe(\"Sparse embedding representation.\");\nconst PineconeEmbed_UsageStatsSchema = z.object({\n total_tokens: z.number().int().describe(\"Total number of tokens processed.\").nullable(),\n}).passthrough().describe(\"Usage statistics for the embedding request.\");\nexport const PineconeEmbedOutput = z.object({\n data: z.array(z.union([PineconeEmbed_DenseEmbeddingSchema, PineconeEmbed_SparseEmbeddingSchema])).describe(\"Array of embedding objects (dense or sparse).\"),\n model: z.string().describe(\"The model used to generate embeddings.\").nullable(),\n usage: PineconeEmbed_UsageStatsSchema.nullable(),\n}).passthrough().describe(\"Response schema for embedding generation.\");\n\nexport const pineconeEmbed: AppAction<\n typeof PineconeEmbedInput,\n typeof PineconeEmbedOutput,\n typeof pinecone.credential\n> = action(\"PINECONE_EMBED\", {\n slug: \"pinecone-embed\",\n name: \"Generate Embeddings\",\n description: \"Tool to generate vector embeddings for input text using Pinecone's hosted embedding models. Use when you need to convert text into vector representations for semantic search or similarity matching.\",\n input: PineconeEmbedInput,\n output: PineconeEmbedOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qBAAqB,EAAE,OAAO;CACzC,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CACxF,QAAQ,EAAE,MAAM,EAAE,OAAO,EACzB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,CAAC,SAAS,oFAAoF;CACrK,YAAY,EAAE,OAAO;EACrB,UAAU,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E,MAAM,CAAC,oCAAoC,mCAAmC,CAAC,CAAC,CAAC,CAAC,SAAS,+CAA+C;EAC1J,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC9E,OAAO,+BAA+B,SAAS;CACjD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-vectors.cjs","names":["z","action"],"sources":["../../src/actions/fetch-vectors.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeFetchVectorsInput = z.object({\n ids: z.array(z.string()).describe(\"The vector IDs to fetch. Does not accept values containing spaces.\"),\n namespace: z.string().describe(\"The namespace to fetch vectors from. If not provided, the default namespace is used.\").optional(),\n index_host: z.string().describe(\"The host URL of the Pinecone index to fetch vectors from. Get this from the list indexes operation.\"),\n}).describe(\"Request model for fetching vectors by ID from Pinecone.\");\nconst PineconeFetchVectors_UsageSchema = z.object({\n readUnits: z.number().int().describe(\"The number of read units consumed by this operation.\").nullable().optional(),\n}).passthrough().describe(\"Usage information for the fetch operation.\");\nexport const PineconeFetchVectorsOutput = z.object({\n usage: PineconeFetchVectors_UsageSchema.nullable().optional(),\n vectors: z.record(z.string(), z.unknown()).describe(\"The fetched vectors, in the form of a map between the fetched IDs and the fetched vectors.\").nullable().optional(),\n namespace: z.string().describe(\"The namespace of the vectors.\").nullable().optional(),\n}).passthrough().describe(\"Response model for fetch vectors operation.\");\n\nexport const pineconeFetchVectors = action(\"PINECONE_FETCH_VECTORS\", {\n slug: \"pinecone-fetch-vectors\",\n name: \"Fetch Vectors\",\n description: \"Tool to fetch vectors by ID from a Pinecone index. Use when you need to retrieve vector data and metadata for specific vector IDs from a single namespace.\",\n input: PineconeFetchVectorsInput,\n output: PineconeFetchVectorsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"fetch-vectors.cjs","names":["z","action"],"sources":["../../src/actions/fetch-vectors.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pinecone } from \"../app\";\n\nexport const PineconeFetchVectorsInput = z.object({\n ids: z.array(z.string()).describe(\"The vector IDs to fetch. Does not accept values containing spaces.\"),\n namespace: z.string().describe(\"The namespace to fetch vectors from. If not provided, the default namespace is used.\").optional(),\n index_host: z.string().describe(\"The host URL of the Pinecone index to fetch vectors from. Get this from the list indexes operation.\"),\n}).describe(\"Request model for fetching vectors by ID from Pinecone.\");\nconst PineconeFetchVectors_UsageSchema = z.object({\n readUnits: z.number().int().describe(\"The number of read units consumed by this operation.\").nullable().optional(),\n}).passthrough().describe(\"Usage information for the fetch operation.\");\nexport const PineconeFetchVectorsOutput = z.object({\n usage: PineconeFetchVectors_UsageSchema.nullable().optional(),\n vectors: z.record(z.string(), z.unknown()).describe(\"The fetched vectors, in the form of a map between the fetched IDs and the fetched vectors.\").nullable().optional(),\n namespace: z.string().describe(\"The namespace of the vectors.\").nullable().optional(),\n}).passthrough().describe(\"Response model for fetch vectors operation.\");\n\nexport const pineconeFetchVectors: AppAction<\n typeof PineconeFetchVectorsInput,\n typeof PineconeFetchVectorsOutput,\n typeof pinecone.credential\n> = action(\"PINECONE_FETCH_VECTORS\", {\n slug: \"pinecone-fetch-vectors\",\n name: \"Fetch Vectors\",\n description: \"Tool to fetch vectors by ID from a Pinecone index. Use when you need to retrieve vector data and metadata for specific vector IDs from a single namespace.\",\n input: PineconeFetchVectorsInput,\n output: PineconeFetchVectorsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oEAAoE;CACtG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAChI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG;AACvI,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,mCAAmCA,IAAAA,EAAE,OAAO,EAChD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,OAAO,iCAAiC,SAAS,CAAC,CAAC,SAAS;CAC5D,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtK,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pinecone } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/fetch-vectors.d.ts
|
|
@@ -13,11 +15,7 @@ declare const PineconeFetchVectorsOutput: z.ZodObject<{
|
|
|
13
15
|
vectors: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
14
16
|
namespace: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const pineconeFetchVectors:
|
|
17
|
-
ids: string[];
|
|
18
|
-
index_host: string;
|
|
19
|
-
namespace?: string | undefined;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
|
+
declare const pineconeFetchVectors: AppAction<typeof PineconeFetchVectorsInput, typeof PineconeFetchVectorsOutput, typeof pinecone.credential>;
|
|
21
19
|
//#endregion
|
|
22
20
|
export { pineconeFetchVectors };
|
|
23
21
|
//# sourceMappingURL=fetch-vectors.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-vectors.d.cts","names":[],"sources":["../../src/actions/fetch-vectors.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"fetch-vectors.d.cts","names":[],"sources":["../../src/actions/fetch-vectors.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cAQzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAM1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pinecone } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/fetch-vectors.d.ts
|
|
@@ -13,11 +15,7 @@ declare const PineconeFetchVectorsOutput: z.ZodObject<{
|
|
|
13
15
|
vectors: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
14
16
|
namespace: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const pineconeFetchVectors:
|
|
17
|
-
ids: string[];
|
|
18
|
-
index_host: string;
|
|
19
|
-
namespace?: string | undefined;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
|
+
declare const pineconeFetchVectors: AppAction<typeof PineconeFetchVectorsInput, typeof PineconeFetchVectorsOutput, typeof pinecone.credential>;
|
|
21
19
|
//#endregion
|
|
22
20
|
export { pineconeFetchVectors };
|
|
23
21
|
//# sourceMappingURL=fetch-vectors.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-vectors.d.mts","names":[],"sources":["../../src/actions/fetch-vectors.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"fetch-vectors.d.mts","names":[],"sources":["../../src/actions/fetch-vectors.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cAQzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAM1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-vectors.mjs","names":[],"sources":["../../src/actions/fetch-vectors.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeFetchVectorsInput = z.object({\n ids: z.array(z.string()).describe(\"The vector IDs to fetch. Does not accept values containing spaces.\"),\n namespace: z.string().describe(\"The namespace to fetch vectors from. If not provided, the default namespace is used.\").optional(),\n index_host: z.string().describe(\"The host URL of the Pinecone index to fetch vectors from. Get this from the list indexes operation.\"),\n}).describe(\"Request model for fetching vectors by ID from Pinecone.\");\nconst PineconeFetchVectors_UsageSchema = z.object({\n readUnits: z.number().int().describe(\"The number of read units consumed by this operation.\").nullable().optional(),\n}).passthrough().describe(\"Usage information for the fetch operation.\");\nexport const PineconeFetchVectorsOutput = z.object({\n usage: PineconeFetchVectors_UsageSchema.nullable().optional(),\n vectors: z.record(z.string(), z.unknown()).describe(\"The fetched vectors, in the form of a map between the fetched IDs and the fetched vectors.\").nullable().optional(),\n namespace: z.string().describe(\"The namespace of the vectors.\").nullable().optional(),\n}).passthrough().describe(\"Response model for fetch vectors operation.\");\n\nexport const pineconeFetchVectors = action(\"PINECONE_FETCH_VECTORS\", {\n slug: \"pinecone-fetch-vectors\",\n name: \"Fetch Vectors\",\n description: \"Tool to fetch vectors by ID from a Pinecone index. Use when you need to retrieve vector data and metadata for specific vector IDs from a single namespace.\",\n input: PineconeFetchVectorsInput,\n output: PineconeFetchVectorsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"fetch-vectors.mjs","names":[],"sources":["../../src/actions/fetch-vectors.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pinecone } from \"../app\";\n\nexport const PineconeFetchVectorsInput = z.object({\n ids: z.array(z.string()).describe(\"The vector IDs to fetch. Does not accept values containing spaces.\"),\n namespace: z.string().describe(\"The namespace to fetch vectors from. If not provided, the default namespace is used.\").optional(),\n index_host: z.string().describe(\"The host URL of the Pinecone index to fetch vectors from. Get this from the list indexes operation.\"),\n}).describe(\"Request model for fetching vectors by ID from Pinecone.\");\nconst PineconeFetchVectors_UsageSchema = z.object({\n readUnits: z.number().int().describe(\"The number of read units consumed by this operation.\").nullable().optional(),\n}).passthrough().describe(\"Usage information for the fetch operation.\");\nexport const PineconeFetchVectorsOutput = z.object({\n usage: PineconeFetchVectors_UsageSchema.nullable().optional(),\n vectors: z.record(z.string(), z.unknown()).describe(\"The fetched vectors, in the form of a map between the fetched IDs and the fetched vectors.\").nullable().optional(),\n namespace: z.string().describe(\"The namespace of the vectors.\").nullable().optional(),\n}).passthrough().describe(\"Response model for fetch vectors operation.\");\n\nexport const pineconeFetchVectors: AppAction<\n typeof PineconeFetchVectorsInput,\n typeof PineconeFetchVectorsOutput,\n typeof pinecone.credential\n> = action(\"PINECONE_FETCH_VECTORS\", {\n slug: \"pinecone-fetch-vectors\",\n name: \"Fetch Vectors\",\n description: \"Tool to fetch vectors by ID from a Pinecone index. Use when you need to retrieve vector data and metadata for specific vector IDs from a single namespace.\",\n input: PineconeFetchVectorsInput,\n output: PineconeFetchVectorsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4B,EAAE,OAAO;CAChD,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oEAAoE;CACtG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAChI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG;AACvI,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,mCAAmC,EAAE,OAAO,EAChD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAOtE,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfwC,EAAE,OAAO;EACjD,OAAO,iCAAiC,SAAS,CAAC,CAAC,SAAS;EAC5D,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtK,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAWhB;AACV,CAAC"}
|