@keystrokehq/pinecone 0.1.5 → 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 -16
- package/dist/actions/cancel-bulk-import.d.cts.map +1 -1
- package/dist/actions/cancel-bulk-import.d.mts +3 -16
- 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 -33
- package/dist/actions/chat-assistant.d.cts.map +1 -1
- package/dist/actions/chat-assistant.d.mts +3 -33
- 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 -25
- package/dist/actions/chat-completion-assistant.d.cts.map +1 -1
- package/dist/actions/chat-completion-assistant.d.mts +3 -25
- 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 -29
- package/dist/actions/configure-index.d.cts.map +1 -1
- package/dist/actions/configure-index.d.mts +3 -29
- 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 -18
- package/dist/actions/create-assistant.d.cts.map +1 -1
- package/dist/actions/create-assistant.d.mts +3 -18
- 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 -17
- package/dist/actions/create-backup.d.cts.map +1 -1
- package/dist/actions/create-backup.d.mts +3 -17
- 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 +3 -24
- package/dist/actions/create-index-for-model.d.cts.map +1 -1
- package/dist/actions/create-index-for-model.d.mts +3 -24
- 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 -18
- package/dist/actions/create-index-from-backup.d.cts.map +1 -1
- package/dist/actions/create-index-from-backup.d.mts +3 -18
- 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 +3 -33
- package/dist/actions/create-index.d.cts.map +1 -1
- package/dist/actions/create-index.d.mts +3 -33
- 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 -19
- package/dist/actions/create-namespace.d.cts.map +1 -1
- package/dist/actions/create-namespace.d.mts +3 -19
- 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 -15
- package/dist/actions/delete-assistant.d.cts.map +1 -1
- package/dist/actions/delete-assistant.d.mts +3 -15
- 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 -15
- package/dist/actions/delete-backup.d.cts.map +1 -1
- package/dist/actions/delete-backup.d.mts +3 -15
- 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 -17
- package/dist/actions/delete-file.d.cts.map +1 -1
- package/dist/actions/delete-file.d.mts +3 -17
- 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 -15
- package/dist/actions/delete-index.d.cts.map +1 -1
- package/dist/actions/delete-index.d.mts +3 -15
- 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 -16
- package/dist/actions/delete-namespace.d.cts.map +1 -1
- package/dist/actions/delete-namespace.d.mts +3 -16
- 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 -19
- package/dist/actions/delete-vectors.d.cts.map +1 -1
- package/dist/actions/delete-vectors.d.mts +3 -19
- 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 -15
- package/dist/actions/describe-backup.d.cts.map +1 -1
- package/dist/actions/describe-backup.d.mts +3 -15
- 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 -16
- package/dist/actions/describe-bulk-import.d.cts.map +1 -1
- package/dist/actions/describe-bulk-import.d.mts +3 -16
- 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 -19
- package/dist/actions/describe-file.d.cts.map +1 -1
- package/dist/actions/describe-file.d.mts +3 -19
- 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 -16
- package/dist/actions/describe-index-stats.d.cts.map +1 -1
- package/dist/actions/describe-index-stats.d.mts +3 -16
- 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 -16
- package/dist/actions/describe-index.d.cts.map +1 -1
- package/dist/actions/describe-index.d.mts +3 -16
- 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 -16
- package/dist/actions/describe-namespace.d.cts.map +1 -1
- package/dist/actions/describe-namespace.d.mts +3 -16
- 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 -15
- package/dist/actions/describe-restore-job.d.cts.map +1 -1
- package/dist/actions/describe-restore-job.d.mts +3 -15
- 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 -23
- package/dist/actions/embed.d.cts.map +1 -1
- package/dist/actions/embed.d.mts +3 -23
- 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 -17
- package/dist/actions/fetch-vectors.d.cts.map +1 -1
- package/dist/actions/fetch-vectors.d.mts +3 -17
- 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 -16
- package/dist/actions/get-assistant.d.cts.map +1 -1
- package/dist/actions/get-assistant.d.mts +3 -16
- 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 -16
- package/dist/actions/get-model.d.cts.map +1 -1
- package/dist/actions/get-model.d.mts +3 -16
- 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 -16
- package/dist/actions/list-assistants.d.cts.map +1 -1
- package/dist/actions/list-assistants.d.mts +3 -16
- 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 -17
- package/dist/actions/list-bulk-imports.d.cts.map +1 -1
- package/dist/actions/list-bulk-imports.d.mts +3 -17
- 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 -13
- package/dist/actions/list-collections.d.cts.map +1 -1
- package/dist/actions/list-collections.d.mts +3 -13
- 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 -20
- package/dist/actions/list-files.d.cts.map +1 -1
- package/dist/actions/list-files.d.mts +3 -20
- 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 -17
- package/dist/actions/list-index-backups.d.cts.map +1 -1
- package/dist/actions/list-index-backups.d.mts +3 -17
- 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 -13
- package/dist/actions/list-indexes.d.cts.map +1 -1
- package/dist/actions/list-indexes.d.mts +3 -13
- 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 -16
- package/dist/actions/list-models.d.cts.map +1 -1
- package/dist/actions/list-models.d.mts +3 -16
- 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 -19
- package/dist/actions/list-namespaces-operation.d.cts.map +1 -1
- package/dist/actions/list-namespaces-operation.d.mts +3 -19
- 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 -16
- package/dist/actions/list-project-backups.d.cts.map +1 -1
- package/dist/actions/list-project-backups.d.mts +3 -16
- 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 -16
- package/dist/actions/list-restore-jobs.d.cts.map +1 -1
- package/dist/actions/list-restore-jobs.d.mts +3 -16
- 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 -19
- package/dist/actions/list-vectors.d.cts.map +1 -1
- package/dist/actions/list-vectors.d.mts +3 -19
- 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 -26
- package/dist/actions/query-vectors.d.cts.map +1 -1
- package/dist/actions/query-vectors.d.mts +3 -26
- 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 -25
- package/dist/actions/rerank.d.cts.map +1 -1
- package/dist/actions/rerank.d.mts +3 -25
- 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 -27
- package/dist/actions/retrieve-context-assistant.d.cts.map +1 -1
- package/dist/actions/retrieve-context-assistant.d.mts +3 -27
- 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 -43
- package/dist/actions/search-records-namespace.d.cts.map +1 -1
- package/dist/actions/search-records-namespace.d.mts +3 -43
- 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 -20
- package/dist/actions/start-bulk-import.d.cts.map +1 -1
- package/dist/actions/start-bulk-import.d.mts +3 -20
- 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 -18
- package/dist/actions/update-assistant.d.cts.map +1 -1
- package/dist/actions/update-assistant.d.mts +3 -18
- 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 -25
- package/dist/actions/update-vector.d.cts.map +1 -1
- package/dist/actions/update-vector.d.mts +3 -25
- 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 -28
- package/dist/actions/upload-file.d.cts.map +1 -1
- package/dist/actions/upload-file.d.mts +3 -28
- 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 -18
- package/dist/actions/upsert-records-namespace.d.cts.map +1 -1
- package/dist/actions/upsert-records-namespace.d.mts +3 -18
- 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 -26
- package/dist/actions/upsert-vectors.d.cts.map +1 -1
- package/dist/actions/upsert-vectors.d.mts +3 -26
- 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 +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- 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,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,22 +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<"pinecone", z.ZodObject<{
|
|
22
|
-
connectionId: z.ZodString;
|
|
23
|
-
entityId: z.ZodString;
|
|
24
|
-
instanceId: z.ZodString;
|
|
25
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
-
generic_api_key: z.ZodString;
|
|
27
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pinecone", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>;
|
|
20
|
+
declare const pineconeDescribeNamespace: AppAction<typeof PineconeDescribeNamespaceInput, typeof PineconeDescribeNamespaceOutput, typeof pinecone.credential>;
|
|
34
21
|
//#endregion
|
|
35
22
|
export { pineconeDescribeNamespace };
|
|
36
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,21 +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<"pinecone", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
generic_api_key: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pinecone", z.ZodObject<{
|
|
26
|
-
connectionId: z.ZodString;
|
|
27
|
-
entityId: z.ZodString;
|
|
28
|
-
instanceId: z.ZodString;
|
|
29
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
generic_api_key: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>;
|
|
19
|
+
declare const pineconeDescribeRestoreJob: AppAction<typeof PineconeDescribeRestoreJobInput, typeof PineconeDescribeRestoreJobOutput, typeof pinecone.credential>;
|
|
32
20
|
//#endregion
|
|
33
21
|
export { pineconeDescribeRestoreJob };
|
|
34
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,21 +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<"pinecone", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
generic_api_key: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pinecone", z.ZodObject<{
|
|
26
|
-
connectionId: z.ZodString;
|
|
27
|
-
entityId: z.ZodString;
|
|
28
|
-
instanceId: z.ZodString;
|
|
29
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
generic_api_key: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>;
|
|
19
|
+
declare const pineconeDescribeRestoreJob: AppAction<typeof PineconeDescribeRestoreJobInput, typeof PineconeDescribeRestoreJobOutput, typeof pinecone.credential>;
|
|
32
20
|
//#endregion
|
|
33
21
|
export { pineconeDescribeRestoreJob };
|
|
34
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,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6BAA6B;CAClE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAC3D,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACpG,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzK,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0BAA0B;CACtE,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,iDAAiD;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAC5D,MAAM,iCAAiCA,IAAAA,EAAE,OAAO,EAC9C,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,EACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM,CAAC,oCAAoC,mCAAmC,CAAC,CAAC,CAAC,CAAC,SAAS,+CAA+C;CAC1J,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC9E,OAAO,+BAA+B,SAAS;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,29 +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<"pinecone", z.ZodObject<{
|
|
46
|
-
connectionId: z.ZodString;
|
|
47
|
-
entityId: z.ZodString;
|
|
48
|
-
instanceId: z.ZodString;
|
|
49
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
50
|
-
generic_api_key: z.ZodString;
|
|
51
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pinecone", z.ZodObject<{
|
|
52
|
-
connectionId: z.ZodString;
|
|
53
|
-
entityId: z.ZodString;
|
|
54
|
-
instanceId: z.ZodString;
|
|
55
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
56
|
-
generic_api_key: z.ZodString;
|
|
57
|
-
}, z.core.$strip>>]>;
|
|
37
|
+
declare const pineconeEmbed: AppAction<typeof PineconeEmbedInput, typeof PineconeEmbedOutput, typeof pinecone.credential>;
|
|
58
38
|
//#endregion
|
|
59
39
|
export { pineconeEmbed };
|
|
60
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,29 +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<"pinecone", z.ZodObject<{
|
|
46
|
-
connectionId: z.ZodString;
|
|
47
|
-
entityId: z.ZodString;
|
|
48
|
-
instanceId: z.ZodString;
|
|
49
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
50
|
-
generic_api_key: z.ZodString;
|
|
51
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pinecone", z.ZodObject<{
|
|
52
|
-
connectionId: z.ZodString;
|
|
53
|
-
entityId: z.ZodString;
|
|
54
|
-
instanceId: z.ZodString;
|
|
55
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
56
|
-
generic_api_key: z.ZodString;
|
|
57
|
-
}, z.core.$strip>>]>;
|
|
37
|
+
declare const pineconeEmbed: AppAction<typeof PineconeEmbedInput, typeof PineconeEmbedOutput, typeof pinecone.credential>;
|
|
58
38
|
//#endregion
|
|
59
39
|
export { pineconeEmbed };
|
|
60
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,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;EACtL,YAAY,EAAE,KAAK,CAAC,SAAS,SAAS,CAAC,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CAC/J,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AACrE,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,qCAAqC,EAAE,OAAO;CAClD,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6BAA6B;CAClE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAC3D,MAAM,sCAAsC,EAAE,OAAO;CACnD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACpG,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzK,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0BAA0B;CACtE,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,iDAAiD;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAC5D,MAAM,iCAAiC,EAAE,OAAO,EAC9C,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,EACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAOvE,MAAa,gBAIT,OAAO,kBAAkB;CAC3B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfiC,EAAE,OAAO;EAC1C,MAAM,EAAE,MAAM,EAAE,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,23 +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<"pinecone", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pinecone", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
generic_api_key: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>;
|
|
18
|
+
declare const pineconeFetchVectors: AppAction<typeof PineconeFetchVectorsInput, typeof PineconeFetchVectorsOutput, typeof pinecone.credential>;
|
|
33
19
|
//#endregion
|
|
34
20
|
export { pineconeFetchVectors };
|
|
35
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,23 +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<"pinecone", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pinecone", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
generic_api_key: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>;
|
|
18
|
+
declare const pineconeFetchVectors: AppAction<typeof PineconeFetchVectorsInput, typeof PineconeFetchVectorsOutput, typeof pinecone.credential>;
|
|
33
19
|
//#endregion
|
|
34
20
|
export { pineconeFetchVectors };
|
|
35
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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-assistant.cjs","names":["z","action"],"sources":["../../src/actions/get-assistant.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeGetAssistantInput = z.object({\n api_version: z.string().default(\"2025-10\").describe(\"Required date-based version header for the Pinecone API.\").optional(),\n assistant_name: z.string().describe(\"The name of the assistant to get a status on. Resource name must be 1-63 characters long, start and end with an alphanumeric character, and consist only of lower case alphanumeric characters or '-'.\"),\n}).describe(\"Request parameters for retrieving an assistant's status and details.\");\nexport const PineconeGetAssistantOutput = z.object({\n host: z.string().describe(\"The host where the assistant is deployed.\").nullable().optional(),\n name: z.string().describe(\"The name of the assistant. Resource name must be 1-63 characters long, start and end with an alphanumeric character, and consist only of lower case alphanumeric characters or '-'.\").nullable(),\n status: z.string().describe(\"Current status of the assistant.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Optional metadata associated with the assistant. Metadata is a JSON object that can store custom organizational data, tags, and attributes.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the assistant was created (ISO 8601 format).\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the assistant was last updated (ISO 8601 format).\").nullable().optional(),\n instructions: z.string().describe(\"Description or directive for the assistant to apply to all responses.\").nullable().optional(),\n}).passthrough().describe(\"Response containing the configuration and status of a Pinecone Assistant.\");\n\nexport const pineconeGetAssistant = action(\"PINECONE_GET_ASSISTANT\", {\n slug: \"pinecone-get-assistant\",\n name: \"Get Assistant Status\",\n description: \"Tool to retrieve the status and details of a Pinecone assistant. Use when you need to check assistant configuration, deployment status, or metadata.\",\n input: PineconeGetAssistantInput,\n output: PineconeGetAssistantOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-assistant.cjs","names":["z","action"],"sources":["../../src/actions/get-assistant.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 PineconeGetAssistantInput = z.object({\n api_version: z.string().default(\"2025-10\").describe(\"Required date-based version header for the Pinecone API.\").optional(),\n assistant_name: z.string().describe(\"The name of the assistant to get a status on. Resource name must be 1-63 characters long, start and end with an alphanumeric character, and consist only of lower case alphanumeric characters or '-'.\"),\n}).describe(\"Request parameters for retrieving an assistant's status and details.\");\nexport const PineconeGetAssistantOutput = z.object({\n host: z.string().describe(\"The host where the assistant is deployed.\").nullable().optional(),\n name: z.string().describe(\"The name of the assistant. Resource name must be 1-63 characters long, start and end with an alphanumeric character, and consist only of lower case alphanumeric characters or '-'.\").nullable(),\n status: z.string().describe(\"Current status of the assistant.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Optional metadata associated with the assistant. Metadata is a JSON object that can store custom organizational data, tags, and attributes.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the assistant was created (ISO 8601 format).\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the assistant was last updated (ISO 8601 format).\").nullable().optional(),\n instructions: z.string().describe(\"Description or directive for the assistant to apply to all responses.\").nullable().optional(),\n}).passthrough().describe(\"Response containing the configuration and status of a Pinecone Assistant.\");\n\nexport const pineconeGetAssistant: AppAction<\n typeof PineconeGetAssistantInput,\n typeof PineconeGetAssistantOutput,\n typeof pinecone.credential\n> = action(\"PINECONE_GET_ASSISTANT\", {\n slug: \"pinecone-get-assistant\",\n name: \"Get Assistant Status\",\n description: \"Tool to retrieve the status and details of a Pinecone assistant. Use when you need to check assistant configuration, deployment status, or metadata.\",\n input: PineconeGetAssistantInput,\n output: PineconeGetAssistantOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACzH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;AAC9O,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qLAAqL,CAAC,CAAC,SAAS;CAC1N,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACzE,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxN,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAA2E;AAErG,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/get-assistant.d.ts
|
|
@@ -14,22 +16,7 @@ declare const PineconeGetAssistantOutput: z.ZodObject<{
|
|
|
14
16
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
17
|
instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const pineconeGetAssistant:
|
|
18
|
-
assistant_name: string;
|
|
19
|
-
api_version?: string | undefined;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pinecone", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pinecone", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
generic_api_key: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>;
|
|
19
|
+
declare const pineconeGetAssistant: AppAction<typeof PineconeGetAssistantInput, typeof PineconeGetAssistantOutput, typeof pinecone.credential>;
|
|
33
20
|
//#endregion
|
|
34
21
|
export { pineconeGetAssistant };
|
|
35
22
|
//# sourceMappingURL=get-assistant.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-assistant.d.cts","names":[],"sources":["../../src/actions/get-assistant.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-assistant.d.cts","names":[],"sources":["../../src/actions/get-assistant.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAIzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;cAU1B,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/get-assistant.d.ts
|
|
@@ -14,22 +16,7 @@ declare const PineconeGetAssistantOutput: z.ZodObject<{
|
|
|
14
16
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
17
|
instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const pineconeGetAssistant:
|
|
18
|
-
assistant_name: string;
|
|
19
|
-
api_version?: string | undefined;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pinecone", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pinecone", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
generic_api_key: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>;
|
|
19
|
+
declare const pineconeGetAssistant: AppAction<typeof PineconeGetAssistantInput, typeof PineconeGetAssistantOutput, typeof pinecone.credential>;
|
|
33
20
|
//#endregion
|
|
34
21
|
export { pineconeGetAssistant };
|
|
35
22
|
//# sourceMappingURL=get-assistant.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-assistant.d.mts","names":[],"sources":["../../src/actions/get-assistant.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-assistant.d.mts","names":[],"sources":["../../src/actions/get-assistant.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAIzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;cAU1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-assistant.mjs","names":[],"sources":["../../src/actions/get-assistant.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeGetAssistantInput = z.object({\n api_version: z.string().default(\"2025-10\").describe(\"Required date-based version header for the Pinecone API.\").optional(),\n assistant_name: z.string().describe(\"The name of the assistant to get a status on. Resource name must be 1-63 characters long, start and end with an alphanumeric character, and consist only of lower case alphanumeric characters or '-'.\"),\n}).describe(\"Request parameters for retrieving an assistant's status and details.\");\nexport const PineconeGetAssistantOutput = z.object({\n host: z.string().describe(\"The host where the assistant is deployed.\").nullable().optional(),\n name: z.string().describe(\"The name of the assistant. Resource name must be 1-63 characters long, start and end with an alphanumeric character, and consist only of lower case alphanumeric characters or '-'.\").nullable(),\n status: z.string().describe(\"Current status of the assistant.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Optional metadata associated with the assistant. Metadata is a JSON object that can store custom organizational data, tags, and attributes.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the assistant was created (ISO 8601 format).\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the assistant was last updated (ISO 8601 format).\").nullable().optional(),\n instructions: z.string().describe(\"Description or directive for the assistant to apply to all responses.\").nullable().optional(),\n}).passthrough().describe(\"Response containing the configuration and status of a Pinecone Assistant.\");\n\nexport const pineconeGetAssistant = action(\"PINECONE_GET_ASSISTANT\", {\n slug: \"pinecone-get-assistant\",\n name: \"Get Assistant Status\",\n description: \"Tool to retrieve the status and details of a Pinecone assistant. Use when you need to check assistant configuration, deployment status, or metadata.\",\n input: PineconeGetAssistantInput,\n output: PineconeGetAssistantOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-assistant.mjs","names":[],"sources":["../../src/actions/get-assistant.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 PineconeGetAssistantInput = z.object({\n api_version: z.string().default(\"2025-10\").describe(\"Required date-based version header for the Pinecone API.\").optional(),\n assistant_name: z.string().describe(\"The name of the assistant to get a status on. Resource name must be 1-63 characters long, start and end with an alphanumeric character, and consist only of lower case alphanumeric characters or '-'.\"),\n}).describe(\"Request parameters for retrieving an assistant's status and details.\");\nexport const PineconeGetAssistantOutput = z.object({\n host: z.string().describe(\"The host where the assistant is deployed.\").nullable().optional(),\n name: z.string().describe(\"The name of the assistant. Resource name must be 1-63 characters long, start and end with an alphanumeric character, and consist only of lower case alphanumeric characters or '-'.\").nullable(),\n status: z.string().describe(\"Current status of the assistant.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Optional metadata associated with the assistant. Metadata is a JSON object that can store custom organizational data, tags, and attributes.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the assistant was created (ISO 8601 format).\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the assistant was last updated (ISO 8601 format).\").nullable().optional(),\n instructions: z.string().describe(\"Description or directive for the assistant to apply to all responses.\").nullable().optional(),\n}).passthrough().describe(\"Response containing the configuration and status of a Pinecone Assistant.\");\n\nexport const pineconeGetAssistant: AppAction<\n typeof PineconeGetAssistantInput,\n typeof PineconeGetAssistantOutput,\n typeof pinecone.credential\n> = action(\"PINECONE_GET_ASSISTANT\", {\n slug: \"pinecone-get-assistant\",\n name: \"Get Assistant Status\",\n description: \"Tool to retrieve the status and details of a Pinecone assistant. Use when you need to check assistant configuration, deployment status, or metadata.\",\n input: PineconeGetAssistantInput,\n output: PineconeGetAssistantOutput,\n});\n"],"mappings":";;;AAoBA,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBuC,EAAE,OAAO;EAChD,aAAa,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EACzH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;CAC9O,CAAC,CAAC,CAAC,SAAS,sEAmBH;CACP,QAnBwC,EAAE,OAAO;EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qLAAqL,CAAC,CAAC,SAAS;EAC1N,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACzE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxN,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAWhB;AACV,CAAC"}
|