@keystrokehq/openai 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/add-upload-part.cjs +1 -0
- package/dist/actions/add-upload-part.cjs.map +1 -1
- package/dist/actions/add-upload-part.d.cts +3 -11
- package/dist/actions/add-upload-part.d.cts.map +1 -1
- package/dist/actions/add-upload-part.d.mts +3 -11
- package/dist/actions/add-upload-part.d.mts.map +1 -1
- package/dist/actions/add-upload-part.mjs +1 -0
- package/dist/actions/add-upload-part.mjs.map +1 -1
- package/dist/actions/cancel-batch.cjs +1 -0
- package/dist/actions/cancel-batch.cjs.map +1 -1
- package/dist/actions/cancel-batch.d.cts +3 -3
- package/dist/actions/cancel-batch.d.cts.map +1 -1
- package/dist/actions/cancel-batch.d.mts +3 -3
- package/dist/actions/cancel-batch.d.mts.map +1 -1
- package/dist/actions/cancel-batch.mjs +1 -0
- package/dist/actions/cancel-batch.mjs.map +1 -1
- package/dist/actions/cancel-eval-run.cjs +1 -0
- package/dist/actions/cancel-eval-run.cjs.map +1 -1
- package/dist/actions/cancel-eval-run.d.cts +3 -4
- package/dist/actions/cancel-eval-run.d.cts.map +1 -1
- package/dist/actions/cancel-eval-run.d.mts +3 -4
- package/dist/actions/cancel-eval-run.d.mts.map +1 -1
- package/dist/actions/cancel-eval-run.mjs +1 -0
- package/dist/actions/cancel-eval-run.mjs.map +1 -1
- package/dist/actions/cancel-response.cjs +1 -0
- package/dist/actions/cancel-response.cjs.map +1 -1
- package/dist/actions/cancel-response.d.cts +3 -3
- package/dist/actions/cancel-response.d.cts.map +1 -1
- package/dist/actions/cancel-response.d.mts +3 -3
- package/dist/actions/cancel-response.d.mts.map +1 -1
- package/dist/actions/cancel-response.mjs +1 -0
- package/dist/actions/cancel-response.mjs.map +1 -1
- package/dist/actions/cancel-run.cjs +1 -0
- package/dist/actions/cancel-run.cjs.map +1 -1
- package/dist/actions/cancel-run.d.cts +3 -4
- package/dist/actions/cancel-run.d.cts.map +1 -1
- package/dist/actions/cancel-run.d.mts +3 -4
- package/dist/actions/cancel-run.d.mts.map +1 -1
- package/dist/actions/cancel-run.mjs +1 -0
- package/dist/actions/cancel-run.mjs.map +1 -1
- package/dist/actions/cancel-upload.cjs +1 -0
- package/dist/actions/cancel-upload.cjs.map +1 -1
- package/dist/actions/cancel-upload.d.cts +3 -3
- package/dist/actions/cancel-upload.d.cts.map +1 -1
- package/dist/actions/cancel-upload.d.mts +3 -3
- package/dist/actions/cancel-upload.d.mts.map +1 -1
- package/dist/actions/cancel-upload.mjs +1 -0
- package/dist/actions/cancel-upload.mjs.map +1 -1
- package/dist/actions/compact-response.cjs +1 -0
- package/dist/actions/compact-response.cjs.map +1 -1
- package/dist/actions/compact-response.d.cts +3 -15
- package/dist/actions/compact-response.d.cts.map +1 -1
- package/dist/actions/compact-response.d.mts +3 -15
- package/dist/actions/compact-response.d.mts.map +1 -1
- package/dist/actions/compact-response.mjs +1 -0
- package/dist/actions/compact-response.mjs.map +1 -1
- package/dist/actions/create-audio-transcription.cjs +1 -0
- package/dist/actions/create-audio-transcription.cjs.map +1 -1
- package/dist/actions/create-audio-transcription.d.cts +3 -16
- package/dist/actions/create-audio-transcription.d.cts.map +1 -1
- package/dist/actions/create-audio-transcription.d.mts +3 -16
- package/dist/actions/create-audio-transcription.d.mts.map +1 -1
- package/dist/actions/create-audio-transcription.mjs +1 -0
- package/dist/actions/create-audio-transcription.mjs.map +1 -1
- package/dist/actions/create-audio-translation.cjs +1 -0
- package/dist/actions/create-audio-translation.cjs.map +1 -1
- package/dist/actions/create-audio-translation.d.cts +3 -14
- package/dist/actions/create-audio-translation.d.cts.map +1 -1
- package/dist/actions/create-audio-translation.d.mts +3 -14
- package/dist/actions/create-audio-translation.d.mts.map +1 -1
- package/dist/actions/create-audio-translation.mjs +1 -0
- package/dist/actions/create-audio-translation.mjs.map +1 -1
- package/dist/actions/create-batch.cjs +1 -0
- package/dist/actions/create-batch.cjs.map +1 -1
- package/dist/actions/create-batch.d.cts +3 -10
- package/dist/actions/create-batch.d.cts.map +1 -1
- package/dist/actions/create-batch.d.mts +3 -10
- package/dist/actions/create-batch.d.mts.map +1 -1
- package/dist/actions/create-batch.mjs +1 -0
- package/dist/actions/create-batch.mjs.map +1 -1
- package/dist/actions/create-chat-completion.cjs +1 -0
- package/dist/actions/create-chat-completion.cjs.map +1 -1
- package/dist/actions/create-chat-completion.d.cts +3 -60
- package/dist/actions/create-chat-completion.d.cts.map +1 -1
- package/dist/actions/create-chat-completion.d.mts +3 -60
- package/dist/actions/create-chat-completion.d.mts.map +1 -1
- package/dist/actions/create-chat-completion.mjs +1 -0
- package/dist/actions/create-chat-completion.mjs.map +1 -1
- package/dist/actions/create-completion.cjs +1 -0
- package/dist/actions/create-completion.cjs.map +1 -1
- package/dist/actions/create-completion.d.cts +3 -20
- package/dist/actions/create-completion.d.cts.map +1 -1
- package/dist/actions/create-completion.d.mts +3 -20
- package/dist/actions/create-completion.d.mts.map +1 -1
- package/dist/actions/create-completion.mjs +1 -0
- package/dist/actions/create-completion.mjs.map +1 -1
- package/dist/actions/create-container-file.cjs +1 -0
- package/dist/actions/create-container-file.cjs.map +1 -1
- package/dist/actions/create-container-file.d.cts +3 -5
- package/dist/actions/create-container-file.d.cts.map +1 -1
- package/dist/actions/create-container-file.d.mts +3 -5
- package/dist/actions/create-container-file.d.mts.map +1 -1
- package/dist/actions/create-container-file.mjs +1 -0
- package/dist/actions/create-container-file.mjs.map +1 -1
- package/dist/actions/create-container.cjs +1 -0
- package/dist/actions/create-container.cjs.map +1 -1
- package/dist/actions/create-container.d.cts +3 -30
- package/dist/actions/create-container.d.cts.map +1 -1
- package/dist/actions/create-container.d.mts +3 -30
- package/dist/actions/create-container.d.mts.map +1 -1
- package/dist/actions/create-container.mjs +1 -0
- package/dist/actions/create-container.mjs.map +1 -1
- package/dist/actions/create-conversation-items.cjs +1 -0
- package/dist/actions/create-conversation-items.cjs.map +1 -1
- package/dist/actions/create-conversation-items.d.cts +3 -14
- package/dist/actions/create-conversation-items.d.cts.map +1 -1
- package/dist/actions/create-conversation-items.d.mts +3 -14
- package/dist/actions/create-conversation-items.d.mts.map +1 -1
- package/dist/actions/create-conversation-items.mjs +1 -0
- package/dist/actions/create-conversation-items.mjs.map +1 -1
- package/dist/actions/create-conversation.cjs +1 -0
- package/dist/actions/create-conversation.cjs.map +1 -1
- package/dist/actions/create-conversation.d.cts +3 -9
- package/dist/actions/create-conversation.d.cts.map +1 -1
- package/dist/actions/create-conversation.d.mts +3 -9
- package/dist/actions/create-conversation.d.mts.map +1 -1
- package/dist/actions/create-conversation.mjs +1 -0
- package/dist/actions/create-conversation.mjs.map +1 -1
- package/dist/actions/create-embeddings.cjs +1 -0
- package/dist/actions/create-embeddings.cjs.map +1 -1
- package/dist/actions/create-embeddings.d.cts +3 -7
- package/dist/actions/create-embeddings.d.cts.map +1 -1
- package/dist/actions/create-embeddings.d.mts +3 -7
- package/dist/actions/create-embeddings.d.mts.map +1 -1
- package/dist/actions/create-embeddings.mjs +1 -0
- package/dist/actions/create-embeddings.mjs.map +1 -1
- package/dist/actions/create-eval-run.cjs +1 -0
- package/dist/actions/create-eval-run.cjs.map +1 -1
- package/dist/actions/create-eval-run.d.cts +3 -48
- package/dist/actions/create-eval-run.d.cts.map +1 -1
- package/dist/actions/create-eval-run.d.mts +3 -48
- package/dist/actions/create-eval-run.d.mts.map +1 -1
- package/dist/actions/create-eval-run.mjs +1 -0
- package/dist/actions/create-eval-run.mjs.map +1 -1
- package/dist/actions/create-eval.cjs +1 -0
- package/dist/actions/create-eval.cjs.map +1 -1
- package/dist/actions/create-eval.d.cts +3 -47
- package/dist/actions/create-eval.d.cts.map +1 -1
- package/dist/actions/create-eval.d.mts +3 -47
- package/dist/actions/create-eval.d.mts.map +1 -1
- package/dist/actions/create-eval.mjs +1 -0
- package/dist/actions/create-eval.mjs.map +1 -1
- package/dist/actions/create-fine-tuning-job.cjs +1 -0
- package/dist/actions/create-fine-tuning-job.cjs.map +1 -1
- package/dist/actions/create-fine-tuning-job.d.cts +3 -11
- package/dist/actions/create-fine-tuning-job.d.cts.map +1 -1
- package/dist/actions/create-fine-tuning-job.d.mts +3 -11
- package/dist/actions/create-fine-tuning-job.d.mts.map +1 -1
- package/dist/actions/create-fine-tuning-job.mjs +1 -0
- package/dist/actions/create-fine-tuning-job.mjs.map +1 -1
- package/dist/actions/create-image-edit.cjs +1 -0
- package/dist/actions/create-image-edit.cjs.map +1 -1
- package/dist/actions/create-image-edit.d.cts +4 -23
- package/dist/actions/create-image-edit.d.cts.map +1 -1
- package/dist/actions/create-image-edit.d.mts +4 -23
- package/dist/actions/create-image-edit.d.mts.map +1 -1
- package/dist/actions/create-image-edit.mjs +1 -0
- package/dist/actions/create-image-edit.mjs.map +1 -1
- package/dist/actions/create-image-variation.cjs +1 -0
- package/dist/actions/create-image-variation.cjs.map +1 -1
- package/dist/actions/create-image-variation.d.cts +3 -12
- package/dist/actions/create-image-variation.d.cts.map +1 -1
- package/dist/actions/create-image-variation.d.mts +3 -12
- package/dist/actions/create-image-variation.d.mts.map +1 -1
- package/dist/actions/create-image-variation.mjs +1 -0
- package/dist/actions/create-image-variation.mjs.map +1 -1
- package/dist/actions/create-image.cjs +1 -0
- package/dist/actions/create-image.cjs.map +1 -1
- package/dist/actions/create-image.d.cts +4 -14
- package/dist/actions/create-image.d.cts.map +1 -1
- package/dist/actions/create-image.d.mts +4 -14
- package/dist/actions/create-image.d.mts.map +1 -1
- package/dist/actions/create-image.mjs +1 -0
- package/dist/actions/create-image.mjs.map +1 -1
- package/dist/actions/create-message.cjs +1 -0
- package/dist/actions/create-message.cjs.map +1 -1
- package/dist/actions/create-message.d.cts +3 -21
- package/dist/actions/create-message.d.cts.map +1 -1
- package/dist/actions/create-message.d.mts +3 -21
- package/dist/actions/create-message.d.mts.map +1 -1
- package/dist/actions/create-message.mjs +1 -0
- package/dist/actions/create-message.mjs.map +1 -1
- package/dist/actions/create-moderation.cjs +1 -0
- package/dist/actions/create-moderation.cjs.map +1 -1
- package/dist/actions/create-moderation.d.cts +3 -9
- package/dist/actions/create-moderation.d.cts.map +1 -1
- package/dist/actions/create-moderation.d.mts +3 -9
- package/dist/actions/create-moderation.d.mts.map +1 -1
- package/dist/actions/create-moderation.mjs +1 -0
- package/dist/actions/create-moderation.mjs.map +1 -1
- package/dist/actions/create-realtime-call.cjs +1 -0
- package/dist/actions/create-realtime-call.cjs.map +1 -1
- package/dist/actions/create-realtime-call.d.cts +3 -4
- package/dist/actions/create-realtime-call.d.cts.map +1 -1
- package/dist/actions/create-realtime-call.d.mts +3 -4
- package/dist/actions/create-realtime-call.d.mts.map +1 -1
- package/dist/actions/create-realtime-call.mjs +1 -0
- package/dist/actions/create-realtime-call.mjs.map +1 -1
- package/dist/actions/create-realtime-client-secret.cjs +1 -0
- package/dist/actions/create-realtime-client-secret.cjs.map +1 -1
- package/dist/actions/create-realtime-client-secret.d.cts +3 -26
- package/dist/actions/create-realtime-client-secret.d.cts.map +1 -1
- package/dist/actions/create-realtime-client-secret.d.mts +3 -26
- package/dist/actions/create-realtime-client-secret.d.mts.map +1 -1
- package/dist/actions/create-realtime-client-secret.mjs +1 -0
- package/dist/actions/create-realtime-client-secret.mjs.map +1 -1
- package/dist/actions/create-realtime-session.cjs +1 -0
- package/dist/actions/create-realtime-session.cjs.map +1 -1
- package/dist/actions/create-realtime-session.d.cts +3 -48
- package/dist/actions/create-realtime-session.d.cts.map +1 -1
- package/dist/actions/create-realtime-session.d.mts +3 -48
- package/dist/actions/create-realtime-session.d.mts.map +1 -1
- package/dist/actions/create-realtime-session.mjs +1 -0
- package/dist/actions/create-realtime-session.mjs.map +1 -1
- package/dist/actions/create-realtime-transcription-session.cjs +1 -0
- package/dist/actions/create-realtime-transcription-session.cjs.map +1 -1
- package/dist/actions/create-realtime-transcription-session.d.cts +3 -18
- package/dist/actions/create-realtime-transcription-session.d.cts.map +1 -1
- package/dist/actions/create-realtime-transcription-session.d.mts +3 -18
- package/dist/actions/create-realtime-transcription-session.d.mts.map +1 -1
- package/dist/actions/create-realtime-transcription-session.mjs +1 -0
- package/dist/actions/create-realtime-transcription-session.mjs.map +1 -1
- package/dist/actions/create-response.cjs +1 -0
- package/dist/actions/create-response.cjs.map +1 -1
- package/dist/actions/create-response.d.cts +3 -63
- package/dist/actions/create-response.d.cts.map +1 -1
- package/dist/actions/create-response.d.mts +3 -63
- package/dist/actions/create-response.d.mts.map +1 -1
- package/dist/actions/create-response.mjs +1 -0
- package/dist/actions/create-response.mjs.map +1 -1
- package/dist/actions/create-run.cjs +1 -0
- package/dist/actions/create-run.cjs.map +1 -1
- package/dist/actions/create-run.d.cts +3 -52
- package/dist/actions/create-run.d.cts.map +1 -1
- package/dist/actions/create-run.d.mts +3 -52
- package/dist/actions/create-run.d.mts.map +1 -1
- package/dist/actions/create-run.mjs +1 -0
- package/dist/actions/create-run.mjs.map +1 -1
- package/dist/actions/create-skill.cjs +1 -0
- package/dist/actions/create-skill.cjs.map +1 -1
- package/dist/actions/create-skill.d.cts +3 -13
- package/dist/actions/create-skill.d.cts.map +1 -1
- package/dist/actions/create-skill.d.mts +3 -13
- package/dist/actions/create-skill.d.mts.map +1 -1
- package/dist/actions/create-skill.mjs +1 -0
- package/dist/actions/create-skill.mjs.map +1 -1
- package/dist/actions/create-speech.cjs +1 -0
- package/dist/actions/create-speech.cjs.map +1 -1
- package/dist/actions/create-speech.d.cts +3 -7
- package/dist/actions/create-speech.d.cts.map +1 -1
- package/dist/actions/create-speech.d.mts +3 -7
- package/dist/actions/create-speech.d.mts.map +1 -1
- package/dist/actions/create-speech.mjs +1 -0
- package/dist/actions/create-speech.mjs.map +1 -1
- package/dist/actions/create-thread-and-run.cjs +1 -0
- package/dist/actions/create-thread-and-run.cjs.map +1 -1
- package/dist/actions/create-thread-and-run.d.cts +3 -78
- package/dist/actions/create-thread-and-run.d.cts.map +1 -1
- package/dist/actions/create-thread-and-run.d.mts +3 -78
- package/dist/actions/create-thread-and-run.d.mts.map +1 -1
- package/dist/actions/create-thread-and-run.mjs +1 -0
- package/dist/actions/create-thread-and-run.mjs.map +1 -1
- package/dist/actions/create-thread.cjs +1 -0
- package/dist/actions/create-thread.cjs.map +1 -1
- package/dist/actions/create-thread.d.cts +3 -8
- package/dist/actions/create-thread.d.cts.map +1 -1
- package/dist/actions/create-thread.d.mts +3 -8
- package/dist/actions/create-thread.d.mts.map +1 -1
- package/dist/actions/create-thread.mjs +1 -0
- package/dist/actions/create-thread.mjs.map +1 -1
- package/dist/actions/create-upload.cjs +1 -0
- package/dist/actions/create-upload.cjs.map +1 -1
- package/dist/actions/create-upload.d.cts +3 -10
- package/dist/actions/create-upload.d.cts.map +1 -1
- package/dist/actions/create-upload.d.mts +3 -10
- package/dist/actions/create-upload.d.mts.map +1 -1
- package/dist/actions/create-upload.mjs +1 -0
- package/dist/actions/create-upload.mjs.map +1 -1
- package/dist/actions/create-vector-store-file-batch.cjs +1 -0
- package/dist/actions/create-vector-store-file-batch.cjs.map +1 -1
- package/dist/actions/create-vector-store-file-batch.d.cts +3 -34
- package/dist/actions/create-vector-store-file-batch.d.cts.map +1 -1
- package/dist/actions/create-vector-store-file-batch.d.mts +3 -34
- package/dist/actions/create-vector-store-file-batch.d.mts.map +1 -1
- package/dist/actions/create-vector-store-file-batch.mjs +1 -0
- package/dist/actions/create-vector-store-file-batch.mjs.map +1 -1
- package/dist/actions/create-vector-store-file.cjs +1 -0
- package/dist/actions/create-vector-store-file.cjs.map +1 -1
- package/dist/actions/create-vector-store-file.d.cts +3 -16
- package/dist/actions/create-vector-store-file.d.cts.map +1 -1
- package/dist/actions/create-vector-store-file.d.mts +3 -16
- package/dist/actions/create-vector-store-file.d.mts.map +1 -1
- package/dist/actions/create-vector-store-file.mjs +1 -0
- package/dist/actions/create-vector-store-file.mjs.map +1 -1
- package/dist/actions/create-vector-store.cjs +1 -0
- package/dist/actions/create-vector-store.cjs.map +1 -1
- package/dist/actions/create-vector-store.d.cts +3 -21
- package/dist/actions/create-vector-store.d.cts.map +1 -1
- package/dist/actions/create-vector-store.d.mts +3 -21
- package/dist/actions/create-vector-store.d.mts.map +1 -1
- package/dist/actions/create-vector-store.mjs +1 -0
- package/dist/actions/create-vector-store.mjs.map +1 -1
- package/dist/actions/create-video-remix.cjs +1 -0
- package/dist/actions/create-video-remix.cjs.map +1 -1
- package/dist/actions/create-video-remix.d.cts +3 -4
- package/dist/actions/create-video-remix.d.cts.map +1 -1
- package/dist/actions/create-video-remix.d.mts +3 -4
- package/dist/actions/create-video-remix.d.mts.map +1 -1
- package/dist/actions/create-video-remix.mjs +1 -0
- package/dist/actions/create-video-remix.mjs.map +1 -1
- package/dist/actions/create-video.cjs +1 -0
- package/dist/actions/create-video.cjs.map +1 -1
- package/dist/actions/create-video.d.cts +3 -6
- package/dist/actions/create-video.d.cts.map +1 -1
- package/dist/actions/create-video.d.mts +3 -6
- package/dist/actions/create-video.d.mts.map +1 -1
- package/dist/actions/create-video.mjs +1 -0
- package/dist/actions/create-video.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-chat-completion.cjs +1 -0
- package/dist/actions/delete-chat-completion.cjs.map +1 -1
- package/dist/actions/delete-chat-completion.d.cts +3 -3
- package/dist/actions/delete-chat-completion.d.cts.map +1 -1
- package/dist/actions/delete-chat-completion.d.mts +3 -3
- package/dist/actions/delete-chat-completion.d.mts.map +1 -1
- package/dist/actions/delete-chat-completion.mjs +1 -0
- package/dist/actions/delete-chat-completion.mjs.map +1 -1
- package/dist/actions/delete-container-file.cjs +1 -0
- package/dist/actions/delete-container-file.cjs.map +1 -1
- package/dist/actions/delete-container-file.d.cts +3 -4
- package/dist/actions/delete-container-file.d.cts.map +1 -1
- package/dist/actions/delete-container-file.d.mts +3 -4
- package/dist/actions/delete-container-file.d.mts.map +1 -1
- package/dist/actions/delete-container-file.mjs +1 -0
- package/dist/actions/delete-container-file.mjs.map +1 -1
- package/dist/actions/delete-container.cjs +1 -0
- package/dist/actions/delete-container.cjs.map +1 -1
- package/dist/actions/delete-container.d.cts +3 -3
- package/dist/actions/delete-container.d.cts.map +1 -1
- package/dist/actions/delete-container.d.mts +3 -3
- package/dist/actions/delete-container.d.mts.map +1 -1
- package/dist/actions/delete-container.mjs +1 -0
- package/dist/actions/delete-container.mjs.map +1 -1
- package/dist/actions/delete-conversation-item.cjs +1 -0
- package/dist/actions/delete-conversation-item.cjs.map +1 -1
- package/dist/actions/delete-conversation-item.d.cts +3 -4
- package/dist/actions/delete-conversation-item.d.cts.map +1 -1
- package/dist/actions/delete-conversation-item.d.mts +3 -4
- package/dist/actions/delete-conversation-item.d.mts.map +1 -1
- package/dist/actions/delete-conversation-item.mjs +1 -0
- package/dist/actions/delete-conversation-item.mjs.map +1 -1
- package/dist/actions/delete-conversation.cjs +1 -0
- package/dist/actions/delete-conversation.cjs.map +1 -1
- package/dist/actions/delete-conversation.d.cts +3 -3
- package/dist/actions/delete-conversation.d.cts.map +1 -1
- package/dist/actions/delete-conversation.d.mts +3 -3
- package/dist/actions/delete-conversation.d.mts.map +1 -1
- package/dist/actions/delete-conversation.mjs +1 -0
- package/dist/actions/delete-conversation.mjs.map +1 -1
- package/dist/actions/delete-eval-run.cjs +1 -0
- package/dist/actions/delete-eval-run.cjs.map +1 -1
- package/dist/actions/delete-eval-run.d.cts +3 -4
- package/dist/actions/delete-eval-run.d.cts.map +1 -1
- package/dist/actions/delete-eval-run.d.mts +3 -4
- package/dist/actions/delete-eval-run.d.mts.map +1 -1
- package/dist/actions/delete-eval-run.mjs +1 -0
- package/dist/actions/delete-eval-run.mjs.map +1 -1
- package/dist/actions/delete-eval.cjs +1 -0
- package/dist/actions/delete-eval.cjs.map +1 -1
- package/dist/actions/delete-eval.d.cts +3 -3
- package/dist/actions/delete-eval.d.cts.map +1 -1
- package/dist/actions/delete-eval.d.mts +3 -3
- package/dist/actions/delete-eval.d.mts.map +1 -1
- package/dist/actions/delete-eval.mjs +1 -0
- package/dist/actions/delete-eval.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 -3
- package/dist/actions/delete-file.d.cts.map +1 -1
- package/dist/actions/delete-file.d.mts +3 -3
- 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-message.cjs +1 -0
- package/dist/actions/delete-message.cjs.map +1 -1
- package/dist/actions/delete-message.d.cts +3 -4
- package/dist/actions/delete-message.d.cts.map +1 -1
- package/dist/actions/delete-message.d.mts +3 -4
- package/dist/actions/delete-message.d.mts.map +1 -1
- package/dist/actions/delete-message.mjs +1 -0
- package/dist/actions/delete-message.mjs.map +1 -1
- package/dist/actions/delete-response.cjs +1 -0
- package/dist/actions/delete-response.cjs.map +1 -1
- package/dist/actions/delete-response.d.cts +3 -3
- package/dist/actions/delete-response.d.cts.map +1 -1
- package/dist/actions/delete-response.d.mts +3 -3
- package/dist/actions/delete-response.d.mts.map +1 -1
- package/dist/actions/delete-response.mjs +1 -0
- package/dist/actions/delete-response.mjs.map +1 -1
- package/dist/actions/delete-skill.cjs +1 -0
- package/dist/actions/delete-skill.cjs.map +1 -1
- package/dist/actions/delete-skill.d.cts +3 -3
- package/dist/actions/delete-skill.d.cts.map +1 -1
- package/dist/actions/delete-skill.d.mts +3 -3
- package/dist/actions/delete-skill.d.mts.map +1 -1
- package/dist/actions/delete-skill.mjs +1 -0
- package/dist/actions/delete-skill.mjs.map +1 -1
- package/dist/actions/delete-thread.cjs +1 -0
- package/dist/actions/delete-thread.cjs.map +1 -1
- package/dist/actions/delete-thread.d.cts +3 -3
- package/dist/actions/delete-thread.d.cts.map +1 -1
- package/dist/actions/delete-thread.d.mts +3 -3
- package/dist/actions/delete-thread.d.mts.map +1 -1
- package/dist/actions/delete-thread.mjs +1 -0
- package/dist/actions/delete-thread.mjs.map +1 -1
- package/dist/actions/delete-vector-store-file.cjs +1 -0
- package/dist/actions/delete-vector-store-file.cjs.map +1 -1
- package/dist/actions/delete-vector-store-file.d.cts +3 -4
- package/dist/actions/delete-vector-store-file.d.cts.map +1 -1
- package/dist/actions/delete-vector-store-file.d.mts +3 -4
- package/dist/actions/delete-vector-store-file.d.mts.map +1 -1
- package/dist/actions/delete-vector-store-file.mjs +1 -0
- package/dist/actions/delete-vector-store-file.mjs.map +1 -1
- package/dist/actions/delete-vector-store.cjs +1 -0
- package/dist/actions/delete-vector-store.cjs.map +1 -1
- package/dist/actions/delete-vector-store.d.cts +3 -3
- package/dist/actions/delete-vector-store.d.cts.map +1 -1
- package/dist/actions/delete-vector-store.d.mts +3 -3
- package/dist/actions/delete-vector-store.d.mts.map +1 -1
- package/dist/actions/delete-vector-store.mjs +1 -0
- package/dist/actions/delete-vector-store.mjs.map +1 -1
- package/dist/actions/delete-video.cjs +1 -0
- package/dist/actions/delete-video.cjs.map +1 -1
- package/dist/actions/delete-video.d.cts +3 -3
- package/dist/actions/delete-video.d.cts.map +1 -1
- package/dist/actions/delete-video.d.mts +3 -3
- package/dist/actions/delete-video.d.mts.map +1 -1
- package/dist/actions/delete-video.mjs +1 -0
- package/dist/actions/delete-video.mjs.map +1 -1
- package/dist/actions/download-file.cjs +1 -0
- package/dist/actions/download-file.cjs.map +1 -1
- package/dist/actions/download-file.d.cts +3 -3
- package/dist/actions/download-file.d.cts.map +1 -1
- package/dist/actions/download-file.d.mts +3 -3
- package/dist/actions/download-file.d.mts.map +1 -1
- package/dist/actions/download-file.mjs +1 -0
- package/dist/actions/download-file.mjs.map +1 -1
- package/dist/actions/download-video.cjs +1 -0
- package/dist/actions/download-video.cjs.map +1 -1
- package/dist/actions/download-video.d.cts +3 -4
- package/dist/actions/download-video.d.cts.map +1 -1
- package/dist/actions/download-video.d.mts +3 -4
- package/dist/actions/download-video.d.mts.map +1 -1
- package/dist/actions/download-video.mjs +1 -0
- package/dist/actions/download-video.mjs.map +1 -1
- package/dist/actions/get-chat-completion-messages.cjs +1 -0
- package/dist/actions/get-chat-completion-messages.cjs.map +1 -1
- package/dist/actions/get-chat-completion-messages.d.cts +3 -6
- package/dist/actions/get-chat-completion-messages.d.cts.map +1 -1
- package/dist/actions/get-chat-completion-messages.d.mts +3 -6
- package/dist/actions/get-chat-completion-messages.d.mts.map +1 -1
- package/dist/actions/get-chat-completion-messages.mjs +1 -0
- package/dist/actions/get-chat-completion-messages.mjs.map +1 -1
- package/dist/actions/get-chat-completion.cjs +1 -0
- package/dist/actions/get-chat-completion.cjs.map +1 -1
- package/dist/actions/get-chat-completion.d.cts +3 -3
- package/dist/actions/get-chat-completion.d.cts.map +1 -1
- package/dist/actions/get-chat-completion.d.mts +3 -3
- package/dist/actions/get-chat-completion.d.mts.map +1 -1
- package/dist/actions/get-chat-completion.mjs +1 -0
- package/dist/actions/get-chat-completion.mjs.map +1 -1
- package/dist/actions/get-chatkit-thread.cjs +1 -0
- package/dist/actions/get-chatkit-thread.cjs.map +1 -1
- package/dist/actions/get-chatkit-thread.d.cts +3 -3
- package/dist/actions/get-chatkit-thread.d.cts.map +1 -1
- package/dist/actions/get-chatkit-thread.d.mts +3 -3
- package/dist/actions/get-chatkit-thread.d.mts.map +1 -1
- package/dist/actions/get-chatkit-thread.mjs +1 -0
- package/dist/actions/get-chatkit-thread.mjs.map +1 -1
- package/dist/actions/get-conversation-item.cjs +1 -0
- package/dist/actions/get-conversation-item.cjs.map +1 -1
- package/dist/actions/get-conversation-item.d.cts +3 -5
- package/dist/actions/get-conversation-item.d.cts.map +1 -1
- package/dist/actions/get-conversation-item.d.mts +3 -5
- package/dist/actions/get-conversation-item.d.mts.map +1 -1
- package/dist/actions/get-conversation-item.mjs +1 -0
- package/dist/actions/get-conversation-item.mjs.map +1 -1
- package/dist/actions/get-eval-run-output-item.cjs +1 -0
- package/dist/actions/get-eval-run-output-item.cjs.map +1 -1
- package/dist/actions/get-eval-run-output-item.d.cts +3 -5
- package/dist/actions/get-eval-run-output-item.d.cts.map +1 -1
- package/dist/actions/get-eval-run-output-item.d.mts +3 -5
- package/dist/actions/get-eval-run-output-item.d.mts.map +1 -1
- package/dist/actions/get-eval-run-output-item.mjs +1 -0
- package/dist/actions/get-eval-run-output-item.mjs.map +1 -1
- package/dist/actions/get-eval-run-output-items.cjs +1 -0
- package/dist/actions/get-eval-run-output-items.cjs.map +1 -1
- package/dist/actions/get-eval-run-output-items.d.cts +3 -8
- package/dist/actions/get-eval-run-output-items.d.cts.map +1 -1
- package/dist/actions/get-eval-run-output-items.d.mts +3 -8
- package/dist/actions/get-eval-run-output-items.d.mts.map +1 -1
- package/dist/actions/get-eval-run-output-items.mjs +1 -0
- package/dist/actions/get-eval-run-output-items.mjs.map +1 -1
- package/dist/actions/get-eval-run.cjs +1 -0
- package/dist/actions/get-eval-run.cjs.map +1 -1
- package/dist/actions/get-eval-run.d.cts +3 -4
- package/dist/actions/get-eval-run.d.cts.map +1 -1
- package/dist/actions/get-eval-run.d.mts +3 -4
- package/dist/actions/get-eval-run.d.mts.map +1 -1
- package/dist/actions/get-eval-run.mjs +1 -0
- package/dist/actions/get-eval-run.mjs.map +1 -1
- package/dist/actions/get-eval-runs.cjs +1 -0
- package/dist/actions/get-eval-runs.cjs.map +1 -1
- package/dist/actions/get-eval-runs.d.cts +3 -7
- package/dist/actions/get-eval-runs.d.cts.map +1 -1
- package/dist/actions/get-eval-runs.d.mts +3 -7
- package/dist/actions/get-eval-runs.d.mts.map +1 -1
- package/dist/actions/get-eval-runs.mjs +1 -0
- package/dist/actions/get-eval-runs.mjs.map +1 -1
- package/dist/actions/get-eval.cjs +1 -0
- package/dist/actions/get-eval.cjs.map +1 -1
- package/dist/actions/get-eval.d.cts +3 -3
- package/dist/actions/get-eval.d.cts.map +1 -1
- package/dist/actions/get-eval.d.mts +3 -3
- package/dist/actions/get-eval.d.mts.map +1 -1
- package/dist/actions/get-eval.mjs +1 -0
- package/dist/actions/get-eval.mjs.map +1 -1
- package/dist/actions/get-input-token-counts.cjs +1 -0
- package/dist/actions/get-input-token-counts.cjs.map +1 -1
- package/dist/actions/get-input-token-counts.d.cts +4 -21
- package/dist/actions/get-input-token-counts.d.cts.map +1 -1
- package/dist/actions/get-input-token-counts.d.mts +4 -21
- package/dist/actions/get-input-token-counts.d.mts.map +1 -1
- package/dist/actions/get-input-token-counts.mjs +1 -0
- package/dist/actions/get-input-token-counts.mjs.map +1 -1
- package/dist/actions/get-message.cjs +1 -0
- package/dist/actions/get-message.cjs.map +1 -1
- package/dist/actions/get-message.d.cts +3 -4
- package/dist/actions/get-message.d.cts.map +1 -1
- package/dist/actions/get-message.d.mts +3 -4
- package/dist/actions/get-message.d.mts.map +1 -1
- package/dist/actions/get-message.mjs +1 -0
- package/dist/actions/get-message.mjs.map +1 -1
- package/dist/actions/get-response.cjs +1 -0
- package/dist/actions/get-response.cjs.map +1 -1
- package/dist/actions/get-response.d.cts +3 -7
- package/dist/actions/get-response.d.cts.map +1 -1
- package/dist/actions/get-response.d.mts +3 -7
- package/dist/actions/get-response.d.mts.map +1 -1
- package/dist/actions/get-response.mjs +1 -0
- package/dist/actions/get-response.mjs.map +1 -1
- package/dist/actions/get-run-step.cjs +1 -0
- package/dist/actions/get-run-step.cjs.map +1 -1
- package/dist/actions/get-run-step.d.cts +3 -6
- package/dist/actions/get-run-step.d.cts.map +1 -1
- package/dist/actions/get-run-step.d.mts +3 -6
- package/dist/actions/get-run-step.d.mts.map +1 -1
- package/dist/actions/get-run-step.mjs +1 -0
- package/dist/actions/get-run-step.mjs.map +1 -1
- package/dist/actions/get-vector-store-file-batch.cjs +1 -0
- package/dist/actions/get-vector-store-file-batch.cjs.map +1 -1
- package/dist/actions/get-vector-store-file-batch.d.cts +3 -4
- package/dist/actions/get-vector-store-file-batch.d.cts.map +1 -1
- package/dist/actions/get-vector-store-file-batch.d.mts +3 -4
- package/dist/actions/get-vector-store-file-batch.d.mts.map +1 -1
- package/dist/actions/get-vector-store-file-batch.mjs +1 -0
- package/dist/actions/get-vector-store-file-batch.mjs.map +1 -1
- package/dist/actions/get-vector-store-file.cjs +1 -0
- package/dist/actions/get-vector-store-file.cjs.map +1 -1
- package/dist/actions/get-vector-store-file.d.cts +3 -4
- package/dist/actions/get-vector-store-file.d.cts.map +1 -1
- package/dist/actions/get-vector-store-file.d.mts +3 -4
- package/dist/actions/get-vector-store-file.d.mts.map +1 -1
- package/dist/actions/get-vector-store-file.mjs +1 -0
- package/dist/actions/get-vector-store-file.mjs.map +1 -1
- package/dist/actions/get-vector-store.cjs +1 -0
- package/dist/actions/get-vector-store.cjs.map +1 -1
- package/dist/actions/get-vector-store.d.cts +3 -3
- package/dist/actions/get-vector-store.d.cts.map +1 -1
- package/dist/actions/get-vector-store.d.mts +3 -3
- package/dist/actions/get-vector-store.d.mts.map +1 -1
- package/dist/actions/get-vector-store.mjs +1 -0
- package/dist/actions/get-vector-store.mjs.map +1 -1
- package/dist/actions/get-video.cjs +1 -0
- package/dist/actions/get-video.cjs.map +1 -1
- package/dist/actions/get-video.d.cts +3 -3
- package/dist/actions/get-video.d.cts.map +1 -1
- package/dist/actions/get-video.d.mts +3 -3
- package/dist/actions/get-video.d.mts.map +1 -1
- package/dist/actions/get-video.mjs +1 -0
- package/dist/actions/get-video.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 -6
- package/dist/actions/list-assistants.d.cts.map +1 -1
- package/dist/actions/list-assistants.d.mts +3 -6
- 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-batches.cjs +1 -0
- package/dist/actions/list-batches.cjs.map +1 -1
- package/dist/actions/list-batches.d.cts +3 -4
- package/dist/actions/list-batches.d.cts.map +1 -1
- package/dist/actions/list-batches.d.mts +3 -4
- package/dist/actions/list-batches.d.mts.map +1 -1
- package/dist/actions/list-batches.mjs +1 -0
- package/dist/actions/list-batches.mjs.map +1 -1
- package/dist/actions/list-chat-completions.cjs +1 -0
- package/dist/actions/list-chat-completions.cjs.map +1 -1
- package/dist/actions/list-chat-completions.d.cts +3 -7
- package/dist/actions/list-chat-completions.d.cts.map +1 -1
- package/dist/actions/list-chat-completions.d.mts +3 -7
- package/dist/actions/list-chat-completions.d.mts.map +1 -1
- package/dist/actions/list-chat-completions.mjs +1 -0
- package/dist/actions/list-chat-completions.mjs.map +1 -1
- package/dist/actions/list-chatkit-thread-items.cjs +1 -0
- package/dist/actions/list-chatkit-thread-items.cjs.map +1 -1
- package/dist/actions/list-chatkit-thread-items.d.cts +3 -7
- package/dist/actions/list-chatkit-thread-items.d.cts.map +1 -1
- package/dist/actions/list-chatkit-thread-items.d.mts +3 -7
- package/dist/actions/list-chatkit-thread-items.d.mts.map +1 -1
- package/dist/actions/list-chatkit-thread-items.mjs +1 -0
- package/dist/actions/list-chatkit-thread-items.mjs.map +1 -1
- package/dist/actions/list-container-files.cjs +1 -0
- package/dist/actions/list-container-files.cjs.map +1 -1
- package/dist/actions/list-container-files.d.cts +3 -6
- package/dist/actions/list-container-files.d.cts.map +1 -1
- package/dist/actions/list-container-files.d.mts +3 -6
- package/dist/actions/list-container-files.d.mts.map +1 -1
- package/dist/actions/list-container-files.mjs +1 -0
- package/dist/actions/list-container-files.mjs.map +1 -1
- package/dist/actions/list-containers.cjs +1 -0
- package/dist/actions/list-containers.cjs.map +1 -1
- package/dist/actions/list-containers.d.cts +3 -6
- package/dist/actions/list-containers.d.cts.map +1 -1
- package/dist/actions/list-containers.d.mts +3 -6
- package/dist/actions/list-containers.d.mts.map +1 -1
- package/dist/actions/list-containers.mjs +1 -0
- package/dist/actions/list-containers.mjs.map +1 -1
- package/dist/actions/list-conversation-items.cjs +1 -0
- package/dist/actions/list-conversation-items.cjs.map +1 -1
- package/dist/actions/list-conversation-items.d.cts +3 -7
- package/dist/actions/list-conversation-items.d.cts.map +1 -1
- package/dist/actions/list-conversation-items.d.mts +3 -7
- package/dist/actions/list-conversation-items.d.mts.map +1 -1
- package/dist/actions/list-conversation-items.mjs +1 -0
- package/dist/actions/list-conversation-items.mjs.map +1 -1
- package/dist/actions/list-engines.cjs +1 -0
- package/dist/actions/list-engines.cjs.map +1 -1
- package/dist/actions/list-engines.d.cts +3 -1
- package/dist/actions/list-engines.d.cts.map +1 -1
- package/dist/actions/list-engines.d.mts +3 -1
- package/dist/actions/list-engines.d.mts.map +1 -1
- package/dist/actions/list-engines.mjs +1 -0
- package/dist/actions/list-engines.mjs.map +1 -1
- package/dist/actions/list-evals.cjs +1 -0
- package/dist/actions/list-evals.cjs.map +1 -1
- package/dist/actions/list-evals.d.cts +3 -6
- package/dist/actions/list-evals.d.cts.map +1 -1
- package/dist/actions/list-evals.d.mts +3 -6
- package/dist/actions/list-evals.d.mts.map +1 -1
- package/dist/actions/list-evals.mjs +1 -0
- package/dist/actions/list-evals.mjs.map +1 -1
- package/dist/actions/list-files-in-vector-store-batch.cjs +1 -0
- package/dist/actions/list-files-in-vector-store-batch.cjs.map +1 -1
- package/dist/actions/list-files-in-vector-store-batch.d.cts +3 -9
- package/dist/actions/list-files-in-vector-store-batch.d.cts.map +1 -1
- package/dist/actions/list-files-in-vector-store-batch.d.mts +3 -9
- package/dist/actions/list-files-in-vector-store-batch.d.mts.map +1 -1
- package/dist/actions/list-files-in-vector-store-batch.mjs +1 -0
- package/dist/actions/list-files-in-vector-store-batch.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 -5
- package/dist/actions/list-files.d.cts.map +1 -1
- package/dist/actions/list-files.d.mts +3 -5
- 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-fine-tunes.cjs +1 -0
- package/dist/actions/list-fine-tunes.cjs.map +1 -1
- package/dist/actions/list-fine-tunes.d.cts +3 -4
- package/dist/actions/list-fine-tunes.d.cts.map +1 -1
- package/dist/actions/list-fine-tunes.d.mts +3 -4
- package/dist/actions/list-fine-tunes.d.mts.map +1 -1
- package/dist/actions/list-fine-tunes.mjs +1 -0
- package/dist/actions/list-fine-tunes.mjs.map +1 -1
- package/dist/actions/list-fine-tuning-events.cjs +1 -0
- package/dist/actions/list-fine-tuning-events.cjs.map +1 -1
- package/dist/actions/list-fine-tuning-events.d.cts +3 -5
- package/dist/actions/list-fine-tuning-events.d.cts.map +1 -1
- package/dist/actions/list-fine-tuning-events.d.mts +3 -5
- package/dist/actions/list-fine-tuning-events.d.mts.map +1 -1
- package/dist/actions/list-fine-tuning-events.mjs +1 -0
- package/dist/actions/list-fine-tuning-events.mjs.map +1 -1
- package/dist/actions/list-fine-tuning-job-checkpoints.cjs +1 -0
- package/dist/actions/list-fine-tuning-job-checkpoints.cjs.map +1 -1
- package/dist/actions/list-fine-tuning-job-checkpoints.d.cts +3 -5
- package/dist/actions/list-fine-tuning-job-checkpoints.d.cts.map +1 -1
- package/dist/actions/list-fine-tuning-job-checkpoints.d.mts +3 -5
- package/dist/actions/list-fine-tuning-job-checkpoints.d.mts.map +1 -1
- package/dist/actions/list-fine-tuning-job-checkpoints.mjs +1 -0
- package/dist/actions/list-fine-tuning-job-checkpoints.mjs.map +1 -1
- package/dist/actions/list-input-items.cjs +1 -0
- package/dist/actions/list-input-items.cjs.map +1 -1
- package/dist/actions/list-input-items.d.cts +3 -7
- package/dist/actions/list-input-items.d.cts.map +1 -1
- package/dist/actions/list-input-items.d.mts +3 -7
- package/dist/actions/list-input-items.d.mts.map +1 -1
- package/dist/actions/list-input-items.mjs +1 -0
- package/dist/actions/list-input-items.mjs.map +1 -1
- package/dist/actions/list-messages.cjs +1 -0
- package/dist/actions/list-messages.cjs.map +1 -1
- package/dist/actions/list-messages.d.cts +3 -8
- package/dist/actions/list-messages.d.cts.map +1 -1
- package/dist/actions/list-messages.d.mts +3 -8
- package/dist/actions/list-messages.d.mts.map +1 -1
- package/dist/actions/list-messages.mjs +1 -0
- package/dist/actions/list-messages.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 -1
- package/dist/actions/list-models.d.cts.map +1 -1
- package/dist/actions/list-models.d.mts +3 -1
- 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-run-steps.cjs +1 -0
- package/dist/actions/list-run-steps.cjs.map +1 -1
- package/dist/actions/list-run-steps.d.cts +3 -9
- package/dist/actions/list-run-steps.d.cts.map +1 -1
- package/dist/actions/list-run-steps.d.mts +3 -9
- package/dist/actions/list-run-steps.d.mts.map +1 -1
- package/dist/actions/list-run-steps.mjs +1 -0
- package/dist/actions/list-run-steps.mjs.map +1 -1
- package/dist/actions/list-runs.cjs +1 -0
- package/dist/actions/list-runs.cjs.map +1 -1
- package/dist/actions/list-runs.d.cts +3 -7
- package/dist/actions/list-runs.d.cts.map +1 -1
- package/dist/actions/list-runs.d.mts +3 -7
- package/dist/actions/list-runs.d.mts.map +1 -1
- package/dist/actions/list-runs.mjs +1 -0
- package/dist/actions/list-runs.mjs.map +1 -1
- package/dist/actions/list-skills.cjs +1 -0
- package/dist/actions/list-skills.cjs.map +1 -1
- package/dist/actions/list-skills.d.cts +3 -5
- package/dist/actions/list-skills.d.cts.map +1 -1
- package/dist/actions/list-skills.d.mts +3 -5
- package/dist/actions/list-skills.d.mts.map +1 -1
- package/dist/actions/list-skills.mjs +1 -0
- package/dist/actions/list-skills.mjs.map +1 -1
- package/dist/actions/list-threads.cjs +1 -0
- package/dist/actions/list-threads.cjs.map +1 -1
- package/dist/actions/list-threads.d.cts +3 -7
- package/dist/actions/list-threads.d.cts.map +1 -1
- package/dist/actions/list-threads.d.mts +3 -7
- package/dist/actions/list-threads.d.mts.map +1 -1
- package/dist/actions/list-threads.mjs +1 -0
- package/dist/actions/list-threads.mjs.map +1 -1
- package/dist/actions/list-vector-store-files.cjs +1 -0
- package/dist/actions/list-vector-store-files.cjs.map +1 -1
- package/dist/actions/list-vector-store-files.d.cts +3 -8
- package/dist/actions/list-vector-store-files.d.cts.map +1 -1
- package/dist/actions/list-vector-store-files.d.mts +3 -8
- package/dist/actions/list-vector-store-files.d.mts.map +1 -1
- package/dist/actions/list-vector-store-files.mjs +1 -0
- package/dist/actions/list-vector-store-files.mjs.map +1 -1
- package/dist/actions/list-vector-stores.cjs +1 -0
- package/dist/actions/list-vector-stores.cjs.map +1 -1
- package/dist/actions/list-vector-stores.d.cts +3 -6
- package/dist/actions/list-vector-stores.d.cts.map +1 -1
- package/dist/actions/list-vector-stores.d.mts +3 -6
- package/dist/actions/list-vector-stores.d.mts.map +1 -1
- package/dist/actions/list-vector-stores.mjs +1 -0
- package/dist/actions/list-vector-stores.mjs.map +1 -1
- package/dist/actions/list-videos.cjs +1 -0
- package/dist/actions/list-videos.cjs.map +1 -1
- package/dist/actions/list-videos.d.cts +3 -5
- package/dist/actions/list-videos.d.cts.map +1 -1
- package/dist/actions/list-videos.d.mts +3 -5
- package/dist/actions/list-videos.d.mts.map +1 -1
- package/dist/actions/list-videos.mjs +1 -0
- package/dist/actions/list-videos.mjs.map +1 -1
- package/dist/actions/modify-assistant.cjs +1 -0
- package/dist/actions/modify-assistant.cjs.map +1 -1
- package/dist/actions/modify-assistant.d.cts +3 -20
- package/dist/actions/modify-assistant.d.cts.map +1 -1
- package/dist/actions/modify-assistant.d.mts +3 -20
- package/dist/actions/modify-assistant.d.mts.map +1 -1
- package/dist/actions/modify-assistant.mjs +1 -0
- package/dist/actions/modify-assistant.mjs.map +1 -1
- package/dist/actions/modify-message.cjs +1 -0
- package/dist/actions/modify-message.cjs.map +1 -1
- package/dist/actions/modify-message.d.cts +3 -5
- package/dist/actions/modify-message.d.cts.map +1 -1
- package/dist/actions/modify-message.d.mts +3 -5
- package/dist/actions/modify-message.d.mts.map +1 -1
- package/dist/actions/modify-message.mjs +1 -0
- package/dist/actions/modify-message.mjs.map +1 -1
- package/dist/actions/modify-run.cjs +1 -0
- package/dist/actions/modify-run.cjs.map +1 -1
- package/dist/actions/modify-run.d.cts +3 -5
- package/dist/actions/modify-run.d.cts.map +1 -1
- package/dist/actions/modify-run.d.mts +3 -5
- package/dist/actions/modify-run.d.mts.map +1 -1
- package/dist/actions/modify-run.mjs +1 -0
- package/dist/actions/modify-run.mjs.map +1 -1
- package/dist/actions/modify-thread.cjs +1 -0
- package/dist/actions/modify-thread.cjs.map +1 -1
- package/dist/actions/modify-thread.d.cts +3 -4
- package/dist/actions/modify-thread.d.cts.map +1 -1
- package/dist/actions/modify-thread.d.mts +3 -4
- package/dist/actions/modify-thread.d.mts.map +1 -1
- package/dist/actions/modify-thread.mjs +1 -0
- package/dist/actions/modify-thread.mjs.map +1 -1
- package/dist/actions/modify-vector-store.cjs +1 -0
- package/dist/actions/modify-vector-store.cjs.map +1 -1
- package/dist/actions/modify-vector-store.d.cts +3 -9
- package/dist/actions/modify-vector-store.d.cts.map +1 -1
- package/dist/actions/modify-vector-store.d.mts +3 -9
- package/dist/actions/modify-vector-store.d.mts.map +1 -1
- package/dist/actions/modify-vector-store.mjs +1 -0
- package/dist/actions/modify-vector-store.mjs.map +1 -1
- package/dist/actions/retrieve-assistant.cjs +1 -0
- package/dist/actions/retrieve-assistant.cjs.map +1 -1
- package/dist/actions/retrieve-assistant.d.cts +3 -3
- package/dist/actions/retrieve-assistant.d.cts.map +1 -1
- package/dist/actions/retrieve-assistant.d.mts +3 -3
- package/dist/actions/retrieve-assistant.d.mts.map +1 -1
- package/dist/actions/retrieve-assistant.mjs +1 -0
- package/dist/actions/retrieve-assistant.mjs.map +1 -1
- package/dist/actions/retrieve-batch.cjs +1 -0
- package/dist/actions/retrieve-batch.cjs.map +1 -1
- package/dist/actions/retrieve-batch.d.cts +3 -3
- package/dist/actions/retrieve-batch.d.cts.map +1 -1
- package/dist/actions/retrieve-batch.d.mts +3 -3
- package/dist/actions/retrieve-batch.d.mts.map +1 -1
- package/dist/actions/retrieve-batch.mjs +1 -0
- package/dist/actions/retrieve-batch.mjs.map +1 -1
- package/dist/actions/retrieve-container-file-content.cjs +1 -0
- package/dist/actions/retrieve-container-file-content.cjs.map +1 -1
- package/dist/actions/retrieve-container-file-content.d.cts +3 -4
- package/dist/actions/retrieve-container-file-content.d.cts.map +1 -1
- package/dist/actions/retrieve-container-file-content.d.mts +3 -4
- package/dist/actions/retrieve-container-file-content.d.mts.map +1 -1
- package/dist/actions/retrieve-container-file-content.mjs +1 -0
- package/dist/actions/retrieve-container-file-content.mjs.map +1 -1
- package/dist/actions/retrieve-container-file.cjs +1 -0
- package/dist/actions/retrieve-container-file.cjs.map +1 -1
- package/dist/actions/retrieve-container-file.d.cts +3 -4
- package/dist/actions/retrieve-container-file.d.cts.map +1 -1
- package/dist/actions/retrieve-container-file.d.mts +3 -4
- package/dist/actions/retrieve-container-file.d.mts.map +1 -1
- package/dist/actions/retrieve-container-file.mjs +1 -0
- package/dist/actions/retrieve-container-file.mjs.map +1 -1
- package/dist/actions/retrieve-container.cjs +1 -0
- package/dist/actions/retrieve-container.cjs.map +1 -1
- package/dist/actions/retrieve-container.d.cts +3 -3
- package/dist/actions/retrieve-container.d.cts.map +1 -1
- package/dist/actions/retrieve-container.d.mts +3 -3
- package/dist/actions/retrieve-container.d.mts.map +1 -1
- package/dist/actions/retrieve-container.mjs +1 -0
- package/dist/actions/retrieve-container.mjs.map +1 -1
- package/dist/actions/retrieve-engine.cjs +1 -0
- package/dist/actions/retrieve-engine.cjs.map +1 -1
- package/dist/actions/retrieve-engine.d.cts +3 -3
- package/dist/actions/retrieve-engine.d.cts.map +1 -1
- package/dist/actions/retrieve-engine.d.mts +3 -3
- package/dist/actions/retrieve-engine.d.mts.map +1 -1
- package/dist/actions/retrieve-engine.mjs +1 -0
- package/dist/actions/retrieve-engine.mjs.map +1 -1
- package/dist/actions/retrieve-file.cjs +1 -0
- package/dist/actions/retrieve-file.cjs.map +1 -1
- package/dist/actions/retrieve-file.d.cts +3 -3
- package/dist/actions/retrieve-file.d.cts.map +1 -1
- package/dist/actions/retrieve-file.d.mts +3 -3
- package/dist/actions/retrieve-file.d.mts.map +1 -1
- package/dist/actions/retrieve-file.mjs +1 -0
- package/dist/actions/retrieve-file.mjs.map +1 -1
- package/dist/actions/retrieve-fine-tuning-job.cjs +1 -0
- package/dist/actions/retrieve-fine-tuning-job.cjs.map +1 -1
- package/dist/actions/retrieve-fine-tuning-job.d.cts +3 -3
- package/dist/actions/retrieve-fine-tuning-job.d.cts.map +1 -1
- package/dist/actions/retrieve-fine-tuning-job.d.mts +3 -3
- package/dist/actions/retrieve-fine-tuning-job.d.mts.map +1 -1
- package/dist/actions/retrieve-fine-tuning-job.mjs +1 -0
- package/dist/actions/retrieve-fine-tuning-job.mjs.map +1 -1
- package/dist/actions/retrieve-model.cjs +1 -0
- package/dist/actions/retrieve-model.cjs.map +1 -1
- package/dist/actions/retrieve-model.d.cts +3 -3
- package/dist/actions/retrieve-model.d.cts.map +1 -1
- package/dist/actions/retrieve-model.d.mts +3 -3
- package/dist/actions/retrieve-model.d.mts.map +1 -1
- package/dist/actions/retrieve-model.mjs +1 -0
- package/dist/actions/retrieve-model.mjs.map +1 -1
- package/dist/actions/retrieve-run.cjs +1 -0
- package/dist/actions/retrieve-run.cjs.map +1 -1
- package/dist/actions/retrieve-run.d.cts +3 -4
- package/dist/actions/retrieve-run.d.cts.map +1 -1
- package/dist/actions/retrieve-run.d.mts +3 -4
- package/dist/actions/retrieve-run.d.mts.map +1 -1
- package/dist/actions/retrieve-run.mjs +1 -0
- package/dist/actions/retrieve-run.mjs.map +1 -1
- package/dist/actions/retrieve-thread.cjs +1 -0
- package/dist/actions/retrieve-thread.cjs.map +1 -1
- package/dist/actions/retrieve-thread.d.cts +3 -3
- package/dist/actions/retrieve-thread.d.cts.map +1 -1
- package/dist/actions/retrieve-thread.d.mts +3 -3
- package/dist/actions/retrieve-thread.d.mts.map +1 -1
- package/dist/actions/retrieve-thread.mjs +1 -0
- package/dist/actions/retrieve-thread.mjs.map +1 -1
- package/dist/actions/retrieve-vector-store-file-content.cjs +1 -0
- package/dist/actions/retrieve-vector-store-file-content.cjs.map +1 -1
- package/dist/actions/retrieve-vector-store-file-content.d.cts +3 -4
- package/dist/actions/retrieve-vector-store-file-content.d.cts.map +1 -1
- package/dist/actions/retrieve-vector-store-file-content.d.mts +3 -4
- package/dist/actions/retrieve-vector-store-file-content.d.mts.map +1 -1
- package/dist/actions/retrieve-vector-store-file-content.mjs +1 -0
- package/dist/actions/retrieve-vector-store-file-content.mjs.map +1 -1
- package/dist/actions/run-grader.cjs +1 -0
- package/dist/actions/run-grader.cjs.map +1 -1
- package/dist/actions/run-grader.d.cts +3 -39
- package/dist/actions/run-grader.d.cts.map +1 -1
- package/dist/actions/run-grader.d.mts +3 -39
- package/dist/actions/run-grader.d.mts.map +1 -1
- package/dist/actions/run-grader.mjs +1 -0
- package/dist/actions/run-grader.mjs.map +1 -1
- package/dist/actions/search-vector-store.cjs +1 -0
- package/dist/actions/search-vector-store.cjs.map +1 -1
- package/dist/actions/search-vector-store.d.cts +3 -11
- package/dist/actions/search-vector-store.d.cts.map +1 -1
- package/dist/actions/search-vector-store.d.mts +3 -11
- package/dist/actions/search-vector-store.d.mts.map +1 -1
- package/dist/actions/search-vector-store.mjs +1 -0
- package/dist/actions/search-vector-store.mjs.map +1 -1
- package/dist/actions/submit-tool-outputs-to-run.cjs +1 -0
- package/dist/actions/submit-tool-outputs-to-run.cjs.map +1 -1
- package/dist/actions/submit-tool-outputs-to-run.d.cts +3 -10
- package/dist/actions/submit-tool-outputs-to-run.d.cts.map +1 -1
- package/dist/actions/submit-tool-outputs-to-run.d.mts +3 -10
- package/dist/actions/submit-tool-outputs-to-run.d.mts.map +1 -1
- package/dist/actions/submit-tool-outputs-to-run.mjs +1 -0
- package/dist/actions/submit-tool-outputs-to-run.mjs.map +1 -1
- package/dist/actions/update-chat-completion.cjs +1 -0
- package/dist/actions/update-chat-completion.cjs.map +1 -1
- package/dist/actions/update-chat-completion.d.cts +3 -4
- package/dist/actions/update-chat-completion.d.cts.map +1 -1
- package/dist/actions/update-chat-completion.d.mts +3 -4
- package/dist/actions/update-chat-completion.d.mts.map +1 -1
- package/dist/actions/update-chat-completion.mjs +1 -0
- package/dist/actions/update-chat-completion.mjs.map +1 -1
- package/dist/actions/update-conversation.cjs +1 -0
- package/dist/actions/update-conversation.cjs.map +1 -1
- package/dist/actions/update-conversation.d.cts +3 -4
- package/dist/actions/update-conversation.d.cts.map +1 -1
- package/dist/actions/update-conversation.d.mts +3 -4
- package/dist/actions/update-conversation.d.mts.map +1 -1
- package/dist/actions/update-conversation.mjs +1 -0
- package/dist/actions/update-conversation.mjs.map +1 -1
- package/dist/actions/update-eval.cjs +1 -0
- package/dist/actions/update-eval.cjs.map +1 -1
- package/dist/actions/update-eval.d.cts +3 -5
- package/dist/actions/update-eval.d.cts.map +1 -1
- package/dist/actions/update-eval.d.mts +3 -5
- package/dist/actions/update-eval.d.mts.map +1 -1
- package/dist/actions/update-eval.mjs +1 -0
- package/dist/actions/update-eval.mjs.map +1 -1
- package/dist/actions/update-vector-store-file-attributes.cjs +1 -0
- package/dist/actions/update-vector-store-file-attributes.cjs.map +1 -1
- package/dist/actions/update-vector-store-file-attributes.d.cts +3 -5
- package/dist/actions/update-vector-store-file-attributes.d.cts.map +1 -1
- package/dist/actions/update-vector-store-file-attributes.d.mts +3 -5
- package/dist/actions/update-vector-store-file-attributes.d.mts.map +1 -1
- package/dist/actions/update-vector-store-file-attributes.mjs +1 -0
- package/dist/actions/update-vector-store-file-attributes.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 -4
- package/dist/actions/upload-file.d.cts.map +1 -1
- package/dist/actions/upload-file.d.mts +3 -4
- 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/validate-grader.cjs +1 -0
- package/dist/actions/validate-grader.cjs.map +1 -1
- package/dist/actions/validate-grader.d.cts +3 -37
- package/dist/actions/validate-grader.d.cts.map +1 -1
- package/dist/actions/validate-grader.d.mts +3 -37
- package/dist/actions/validate-grader.d.mts.map +1 -1
- package/dist/actions/validate-grader.mjs +1 -0
- package/dist/actions/validate-grader.mjs.map +1 -1
- package/dist/app.cjs +9 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +8 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +8 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +6 -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":"get-run-step.cjs","names":["z","action"],"sources":["../../src/actions/get-run-step.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiGetRunStepInput = z.object({\n run_id: z.string().describe(\"The ID of the run to which the run step belongs.\"),\n include: z.array(z.string()).describe(\"Additional fields to include in the response. Use 'step_details.tool_calls[*].file_search.results[*].content' to include file search result content.\").optional(),\n step_id: z.string().describe(\"The ID of the run step to retrieve.\"),\n thread_id: z.string().describe(\"The ID of the thread to which the run and run step belongs.\"),\n}).describe(\"Request model for retrieving a specific run step.\");\nconst OpenaiGetRunStep_UsageSchema = z.object({\n total_tokens: z.number().int().describe(\"Total tokens used\").nullable(),\n prompt_tokens: z.number().int().describe(\"Number of prompt tokens used\").nullable(),\n completion_tokens: z.number().int().describe(\"Number of completion tokens used\").nullable(),\n}).passthrough().describe(\"Token usage statistics for the run step.\");\nconst OpenaiGetRunStep_LastErrorSchema = z.object({\n code: z.enum([\"server_error\", \"rate_limit_exceeded\"]).describe(\"Error code: 'server_error' or 'rate_limit_exceeded'\").nullable(),\n message: z.string().describe(\"Human-readable error message\").nullable(),\n}).passthrough().describe(\"Error information for a failed run step.\");\nconst OpenaiGetRunStep_MessageCreationSchema = z.object({\n message_id: z.string().describe(\"ID of the message that was created\").nullable(),\n}).passthrough().describe(\"Details of message creation in a run step.\");\nconst OpenaiGetRunStep_MessageCreationStepDetailsSchema = z.object({\n type: z.string().describe(\"Type of step, always 'message_creation'\").nullable(),\n message_creation: OpenaiGetRunStep_MessageCreationSchema.nullable(),\n}).passthrough().describe(\"Step details for a message creation run step.\");\nconst OpenaiGetRunStep_CodeInterpreterOutputSchema = z.object({\n logs: z.string().describe(\"Text output from code interpreter\").nullable().optional(),\n type: z.enum([\"logs\", \"image\"]).describe(\"Type of output\").nullable(),\n image: z.record(z.string(), z.unknown()).describe(\"Image output details\").nullable().optional(),\n}).passthrough().describe(\"Output from the code interpreter.\");\nconst OpenaiGetRunStep_CodeInterpreterSchema = z.object({\n input: z.string().describe(\"The input to the code interpreter\").nullable(),\n outputs: z.array(OpenaiGetRunStep_CodeInterpreterOutputSchema).describe(\"The outputs from the code interpreter call\"),\n}).passthrough().describe(\"Details of a code interpreter call.\");\nconst OpenaiGetRunStep_CodeInterpreterToolCallSchema = z.object({\n id: z.string().describe(\"The ID of the tool call\").nullable(),\n type: z.string().describe(\"Type of tool call, always 'code_interpreter'\").nullable(),\n code_interpreter: OpenaiGetRunStep_CodeInterpreterSchema.nullable(),\n}).passthrough().describe(\"A code interpreter tool call.\");\nconst OpenaiGetRunStep_FileSearchResultSchema = z.object({\n score: z.number().describe(\"Relevance score of the result\").nullable(),\n content: z.array(z.record(z.string(), z.unknown())).describe(\"The content of the matched text (if include parameter specified)\").nullable().optional(),\n file_id: z.string().describe(\"The ID of the file that was searched\").nullable(),\n file_name: z.string().describe(\"The name of the file\").nullable(),\n}).passthrough().describe(\"A single file search result.\");\nconst OpenaiGetRunStep_FileSearchSchema = z.object({\n results: z.array(OpenaiGetRunStep_FileSearchResultSchema).describe(\"The file search results\").nullable().optional(),\n ranking_options: z.record(z.string(), z.unknown()).describe(\"Ranking options used for the file search\").nullable().optional(),\n}).passthrough().describe(\"Details of a file search operation.\");\nconst OpenaiGetRunStep_FileSearchToolCallSchema = z.object({\n id: z.string().describe(\"The ID of the tool call\").nullable(),\n type: z.string().describe(\"Type of tool call, always 'file_search'\").nullable(),\n file_search: OpenaiGetRunStep_FileSearchSchema.nullable(),\n}).passthrough().describe(\"A file search tool call.\");\nconst OpenaiGetRunStep_FunctionCallSchema = z.object({\n name: z.string().describe(\"The name of the function\").nullable(),\n output: z.string().describe(\"The output of the function (null if not yet submitted)\").nullable().optional(),\n arguments: z.string().describe(\"The arguments passed to the function as JSON string\").nullable(),\n}).passthrough().describe(\"Details of a function call.\");\nconst OpenaiGetRunStep_FunctionToolCallSchema = z.object({\n id: z.string().describe(\"The ID of the tool call\").nullable(),\n type: z.string().describe(\"Type of tool call, always 'function'\").nullable(),\n \"function\": OpenaiGetRunStep_FunctionCallSchema.nullable(),\n}).passthrough().describe(\"A function tool call.\");\nconst OpenaiGetRunStep_ToolCallsStepDetailsSchema = z.object({\n type: z.string().describe(\"Type of step, always 'tool_calls'\").nullable(),\n tool_calls: z.array(z.union([OpenaiGetRunStep_CodeInterpreterToolCallSchema, OpenaiGetRunStep_FileSearchToolCallSchema, OpenaiGetRunStep_FunctionToolCallSchema, z.record(z.string(), z.unknown())])).describe(\"List of tool calls made in this step\"),\n}).passthrough().describe(\"Step details for a tool calls run step.\");\nexport const OpenaiGetRunStepOutput = z.object({\n id: z.string().describe(\"The identifier of the run step\").nullable(),\n type: z.enum([\"message_creation\", \"tool_calls\"]).describe(\"Type of run step: 'message_creation' or 'tool_calls'\").nullable(),\n usage: OpenaiGetRunStep_UsageSchema.nullable().optional(),\n object: z.string().describe(\"Object type, always 'thread.run.step'\").nullable(),\n run_id: z.string().describe(\"The ID of the run this step belongs to\").nullable(),\n status: z.enum([\"in_progress\", \"cancelled\", \"failed\", \"completed\", \"expired\"]).describe(\"The status of the run step\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Metadata key-value pairs attached to the run step\").nullable().optional(),\n failed_at: z.number().int().describe(\"Unix timestamp when the run step failed\").nullable().optional(),\n thread_id: z.string().describe(\"The ID of the thread this run step belongs to\").nullable(),\n created_at: z.number().int().describe(\"Unix timestamp (in seconds) when the run step was created\").nullable(),\n expired_at: z.number().int().describe(\"Unix timestamp when the run step expired\").nullable().optional(),\n last_error: OpenaiGetRunStep_LastErrorSchema.nullable().optional(),\n assistant_id: z.string().describe(\"The ID of the assistant associated with this run step\").nullable(),\n cancelled_at: z.number().int().describe(\"Unix timestamp when the run step was cancelled\").nullable().optional(),\n completed_at: z.number().int().describe(\"Unix timestamp when the run step was completed\").nullable().optional(),\n step_details: z.union([OpenaiGetRunStep_MessageCreationStepDetailsSchema, OpenaiGetRunStep_ToolCallsStepDetailsSchema, z.record(z.string(), z.unknown())]),\n}).passthrough().describe(\"Response model for a run step object.\");\n\nexport const openaiGetRunStep = action(\"OPENAI_GET_RUN_STEP\", {\n slug: \"openai-get-run-step\",\n name: \"Get Run Step\",\n description: \"Tool to retrieve a specific run step from an Assistants API run to inspect detailed execution progress, view tool calls, or check message creation. Use when you need details about a specific step in a run's execution.\",\n input: OpenaiGetRunStepInput,\n output: OpenaiGetRunStepOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAC9E,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAA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":"get-run-step.cjs","names":["z","action"],"sources":["../../src/actions/get-run-step.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { openai } from \"../app\";\n\nexport const OpenaiGetRunStepInput = z.object({\n run_id: z.string().describe(\"The ID of the run to which the run step belongs.\"),\n include: z.array(z.string()).describe(\"Additional fields to include in the response. Use 'step_details.tool_calls[*].file_search.results[*].content' to include file search result content.\").optional(),\n step_id: z.string().describe(\"The ID of the run step to retrieve.\"),\n thread_id: z.string().describe(\"The ID of the thread to which the run and run step belongs.\"),\n}).describe(\"Request model for retrieving a specific run step.\");\nconst OpenaiGetRunStep_UsageSchema = z.object({\n total_tokens: z.number().int().describe(\"Total tokens used\").nullable(),\n prompt_tokens: z.number().int().describe(\"Number of prompt tokens used\").nullable(),\n completion_tokens: z.number().int().describe(\"Number of completion tokens used\").nullable(),\n}).passthrough().describe(\"Token usage statistics for the run step.\");\nconst OpenaiGetRunStep_LastErrorSchema = z.object({\n code: z.enum([\"server_error\", \"rate_limit_exceeded\"]).describe(\"Error code: 'server_error' or 'rate_limit_exceeded'\").nullable(),\n message: z.string().describe(\"Human-readable error message\").nullable(),\n}).passthrough().describe(\"Error information for a failed run step.\");\nconst OpenaiGetRunStep_MessageCreationSchema = z.object({\n message_id: z.string().describe(\"ID of the message that was created\").nullable(),\n}).passthrough().describe(\"Details of message creation in a run step.\");\nconst OpenaiGetRunStep_MessageCreationStepDetailsSchema = z.object({\n type: z.string().describe(\"Type of step, always 'message_creation'\").nullable(),\n message_creation: OpenaiGetRunStep_MessageCreationSchema.nullable(),\n}).passthrough().describe(\"Step details for a message creation run step.\");\nconst OpenaiGetRunStep_CodeInterpreterOutputSchema = z.object({\n logs: z.string().describe(\"Text output from code interpreter\").nullable().optional(),\n type: z.enum([\"logs\", \"image\"]).describe(\"Type of output\").nullable(),\n image: z.record(z.string(), z.unknown()).describe(\"Image output details\").nullable().optional(),\n}).passthrough().describe(\"Output from the code interpreter.\");\nconst OpenaiGetRunStep_CodeInterpreterSchema = z.object({\n input: z.string().describe(\"The input to the code interpreter\").nullable(),\n outputs: z.array(OpenaiGetRunStep_CodeInterpreterOutputSchema).describe(\"The outputs from the code interpreter call\"),\n}).passthrough().describe(\"Details of a code interpreter call.\");\nconst OpenaiGetRunStep_CodeInterpreterToolCallSchema = z.object({\n id: z.string().describe(\"The ID of the tool call\").nullable(),\n type: z.string().describe(\"Type of tool call, always 'code_interpreter'\").nullable(),\n code_interpreter: OpenaiGetRunStep_CodeInterpreterSchema.nullable(),\n}).passthrough().describe(\"A code interpreter tool call.\");\nconst OpenaiGetRunStep_FileSearchResultSchema = z.object({\n score: z.number().describe(\"Relevance score of the result\").nullable(),\n content: z.array(z.record(z.string(), z.unknown())).describe(\"The content of the matched text (if include parameter specified)\").nullable().optional(),\n file_id: z.string().describe(\"The ID of the file that was searched\").nullable(),\n file_name: z.string().describe(\"The name of the file\").nullable(),\n}).passthrough().describe(\"A single file search result.\");\nconst OpenaiGetRunStep_FileSearchSchema = z.object({\n results: z.array(OpenaiGetRunStep_FileSearchResultSchema).describe(\"The file search results\").nullable().optional(),\n ranking_options: z.record(z.string(), z.unknown()).describe(\"Ranking options used for the file search\").nullable().optional(),\n}).passthrough().describe(\"Details of a file search operation.\");\nconst OpenaiGetRunStep_FileSearchToolCallSchema = z.object({\n id: z.string().describe(\"The ID of the tool call\").nullable(),\n type: z.string().describe(\"Type of tool call, always 'file_search'\").nullable(),\n file_search: OpenaiGetRunStep_FileSearchSchema.nullable(),\n}).passthrough().describe(\"A file search tool call.\");\nconst OpenaiGetRunStep_FunctionCallSchema = z.object({\n name: z.string().describe(\"The name of the function\").nullable(),\n output: z.string().describe(\"The output of the function (null if not yet submitted)\").nullable().optional(),\n arguments: z.string().describe(\"The arguments passed to the function as JSON string\").nullable(),\n}).passthrough().describe(\"Details of a function call.\");\nconst OpenaiGetRunStep_FunctionToolCallSchema = z.object({\n id: z.string().describe(\"The ID of the tool call\").nullable(),\n type: z.string().describe(\"Type of tool call, always 'function'\").nullable(),\n \"function\": OpenaiGetRunStep_FunctionCallSchema.nullable(),\n}).passthrough().describe(\"A function tool call.\");\nconst OpenaiGetRunStep_ToolCallsStepDetailsSchema = z.object({\n type: z.string().describe(\"Type of step, always 'tool_calls'\").nullable(),\n tool_calls: z.array(z.union([OpenaiGetRunStep_CodeInterpreterToolCallSchema, OpenaiGetRunStep_FileSearchToolCallSchema, OpenaiGetRunStep_FunctionToolCallSchema, z.record(z.string(), z.unknown())])).describe(\"List of tool calls made in this step\"),\n}).passthrough().describe(\"Step details for a tool calls run step.\");\nexport const OpenaiGetRunStepOutput = z.object({\n id: z.string().describe(\"The identifier of the run step\").nullable(),\n type: z.enum([\"message_creation\", \"tool_calls\"]).describe(\"Type of run step: 'message_creation' or 'tool_calls'\").nullable(),\n usage: OpenaiGetRunStep_UsageSchema.nullable().optional(),\n object: z.string().describe(\"Object type, always 'thread.run.step'\").nullable(),\n run_id: z.string().describe(\"The ID of the run this step belongs to\").nullable(),\n status: z.enum([\"in_progress\", \"cancelled\", \"failed\", \"completed\", \"expired\"]).describe(\"The status of the run step\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Metadata key-value pairs attached to the run step\").nullable().optional(),\n failed_at: z.number().int().describe(\"Unix timestamp when the run step failed\").nullable().optional(),\n thread_id: z.string().describe(\"The ID of the thread this run step belongs to\").nullable(),\n created_at: z.number().int().describe(\"Unix timestamp (in seconds) when the run step was created\").nullable(),\n expired_at: z.number().int().describe(\"Unix timestamp when the run step expired\").nullable().optional(),\n last_error: OpenaiGetRunStep_LastErrorSchema.nullable().optional(),\n assistant_id: z.string().describe(\"The ID of the assistant associated with this run step\").nullable(),\n cancelled_at: z.number().int().describe(\"Unix timestamp when the run step was cancelled\").nullable().optional(),\n completed_at: z.number().int().describe(\"Unix timestamp when the run step was completed\").nullable().optional(),\n step_details: z.union([OpenaiGetRunStep_MessageCreationStepDetailsSchema, OpenaiGetRunStep_ToolCallsStepDetailsSchema, z.record(z.string(), z.unknown())]),\n}).passthrough().describe(\"Response model for a run step object.\");\n\nexport const openaiGetRunStep: AppAction<\n typeof OpenaiGetRunStepInput,\n typeof OpenaiGetRunStepOutput,\n typeof openai.credential\n> = action(\"OPENAI_GET_RUN_STEP\", {\n slug: \"openai-get-run-step\",\n name: \"Get Run Step\",\n description: \"Tool to retrieve a specific run step from an Assistants API run to inspect detailed execution progress, view tool calls, or check message creation. Use when you need details about a specific step in a run's execution.\",\n input: OpenaiGetRunStepInput,\n output: OpenaiGetRunStepOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAC9E,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CACvM,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAClE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;AAC9F,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,+BAA+BA,IAAAA,EAAE,OAAO;CAC5C,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACtE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAClF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,KAAK,CAAC,gBAAgB,qBAAqB,CAA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C,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,cAAcA,IAAAA,EAAE,MAAM;EAAC;EAAmD;EAA6CA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC;CAAC,CAAC;AAC3J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,mBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { openai } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-run-step.d.ts
|
|
@@ -86,12 +88,7 @@ declare const OpenaiGetRunStepOutput: z.ZodObject<{
|
|
|
86
88
|
}, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
87
89
|
}, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
|
|
88
90
|
}, z.core.$loose>;
|
|
89
|
-
declare const openaiGetRunStep:
|
|
90
|
-
run_id: string;
|
|
91
|
-
step_id: string;
|
|
92
|
-
thread_id: string;
|
|
93
|
-
include?: string[] | undefined;
|
|
94
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
91
|
+
declare const openaiGetRunStep: AppAction<typeof OpenaiGetRunStepInput, typeof OpenaiGetRunStepOutput, typeof openai.credential>;
|
|
95
92
|
//#endregion
|
|
96
93
|
export { openaiGetRunStep };
|
|
97
94
|
//# sourceMappingURL=get-run-step.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-run-step.d.cts","names":[],"sources":["../../src/actions/get-run-step.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-run-step.d.cts","names":[],"sources":["../../src/actions/get-run-step.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;cAiErB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmBtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { openai } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-run-step.d.ts
|
|
@@ -86,12 +88,7 @@ declare const OpenaiGetRunStepOutput: z.ZodObject<{
|
|
|
86
88
|
}, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
87
89
|
}, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
|
|
88
90
|
}, z.core.$loose>;
|
|
89
|
-
declare const openaiGetRunStep:
|
|
90
|
-
run_id: string;
|
|
91
|
-
step_id: string;
|
|
92
|
-
thread_id: string;
|
|
93
|
-
include?: string[] | undefined;
|
|
94
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
91
|
+
declare const openaiGetRunStep: AppAction<typeof OpenaiGetRunStepInput, typeof OpenaiGetRunStepOutput, typeof openai.credential>;
|
|
95
92
|
//#endregion
|
|
96
93
|
export { openaiGetRunStep };
|
|
97
94
|
//# sourceMappingURL=get-run-step.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-run-step.d.mts","names":[],"sources":["../../src/actions/get-run-step.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-run-step.d.mts","names":[],"sources":["../../src/actions/get-run-step.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;cAiErB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmBtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-run-step.mjs","names":[],"sources":["../../src/actions/get-run-step.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiGetRunStepInput = z.object({\n run_id: z.string().describe(\"The ID of the run to which the run step belongs.\"),\n include: z.array(z.string()).describe(\"Additional fields to include in the response. Use 'step_details.tool_calls[*].file_search.results[*].content' to include file search result content.\").optional(),\n step_id: z.string().describe(\"The ID of the run step to retrieve.\"),\n thread_id: z.string().describe(\"The ID of the thread to which the run and run step belongs.\"),\n}).describe(\"Request model for retrieving a specific run step.\");\nconst OpenaiGetRunStep_UsageSchema = z.object({\n total_tokens: z.number().int().describe(\"Total tokens used\").nullable(),\n prompt_tokens: z.number().int().describe(\"Number of prompt tokens used\").nullable(),\n completion_tokens: z.number().int().describe(\"Number of completion tokens used\").nullable(),\n}).passthrough().describe(\"Token usage statistics for the run step.\");\nconst OpenaiGetRunStep_LastErrorSchema = z.object({\n code: z.enum([\"server_error\", \"rate_limit_exceeded\"]).describe(\"Error code: 'server_error' or 'rate_limit_exceeded'\").nullable(),\n message: z.string().describe(\"Human-readable error message\").nullable(),\n}).passthrough().describe(\"Error information for a failed run step.\");\nconst OpenaiGetRunStep_MessageCreationSchema = z.object({\n message_id: z.string().describe(\"ID of the message that was created\").nullable(),\n}).passthrough().describe(\"Details of message creation in a run step.\");\nconst OpenaiGetRunStep_MessageCreationStepDetailsSchema = z.object({\n type: z.string().describe(\"Type of step, always 'message_creation'\").nullable(),\n message_creation: OpenaiGetRunStep_MessageCreationSchema.nullable(),\n}).passthrough().describe(\"Step details for a message creation run step.\");\nconst OpenaiGetRunStep_CodeInterpreterOutputSchema = z.object({\n logs: z.string().describe(\"Text output from code interpreter\").nullable().optional(),\n type: z.enum([\"logs\", \"image\"]).describe(\"Type of output\").nullable(),\n image: z.record(z.string(), z.unknown()).describe(\"Image output details\").nullable().optional(),\n}).passthrough().describe(\"Output from the code interpreter.\");\nconst OpenaiGetRunStep_CodeInterpreterSchema = z.object({\n input: z.string().describe(\"The input to the code interpreter\").nullable(),\n outputs: z.array(OpenaiGetRunStep_CodeInterpreterOutputSchema).describe(\"The outputs from the code interpreter call\"),\n}).passthrough().describe(\"Details of a code interpreter call.\");\nconst OpenaiGetRunStep_CodeInterpreterToolCallSchema = z.object({\n id: z.string().describe(\"The ID of the tool call\").nullable(),\n type: z.string().describe(\"Type of tool call, always 'code_interpreter'\").nullable(),\n code_interpreter: OpenaiGetRunStep_CodeInterpreterSchema.nullable(),\n}).passthrough().describe(\"A code interpreter tool call.\");\nconst OpenaiGetRunStep_FileSearchResultSchema = z.object({\n score: z.number().describe(\"Relevance score of the result\").nullable(),\n content: z.array(z.record(z.string(), z.unknown())).describe(\"The content of the matched text (if include parameter specified)\").nullable().optional(),\n file_id: z.string().describe(\"The ID of the file that was searched\").nullable(),\n file_name: z.string().describe(\"The name of the file\").nullable(),\n}).passthrough().describe(\"A single file search result.\");\nconst OpenaiGetRunStep_FileSearchSchema = z.object({\n results: z.array(OpenaiGetRunStep_FileSearchResultSchema).describe(\"The file search results\").nullable().optional(),\n ranking_options: z.record(z.string(), z.unknown()).describe(\"Ranking options used for the file search\").nullable().optional(),\n}).passthrough().describe(\"Details of a file search operation.\");\nconst OpenaiGetRunStep_FileSearchToolCallSchema = z.object({\n id: z.string().describe(\"The ID of the tool call\").nullable(),\n type: z.string().describe(\"Type of tool call, always 'file_search'\").nullable(),\n file_search: OpenaiGetRunStep_FileSearchSchema.nullable(),\n}).passthrough().describe(\"A file search tool call.\");\nconst OpenaiGetRunStep_FunctionCallSchema = z.object({\n name: z.string().describe(\"The name of the function\").nullable(),\n output: z.string().describe(\"The output of the function (null if not yet submitted)\").nullable().optional(),\n arguments: z.string().describe(\"The arguments passed to the function as JSON string\").nullable(),\n}).passthrough().describe(\"Details of a function call.\");\nconst OpenaiGetRunStep_FunctionToolCallSchema = z.object({\n id: z.string().describe(\"The ID of the tool call\").nullable(),\n type: z.string().describe(\"Type of tool call, always 'function'\").nullable(),\n \"function\": OpenaiGetRunStep_FunctionCallSchema.nullable(),\n}).passthrough().describe(\"A function tool call.\");\nconst OpenaiGetRunStep_ToolCallsStepDetailsSchema = z.object({\n type: z.string().describe(\"Type of step, always 'tool_calls'\").nullable(),\n tool_calls: z.array(z.union([OpenaiGetRunStep_CodeInterpreterToolCallSchema, OpenaiGetRunStep_FileSearchToolCallSchema, OpenaiGetRunStep_FunctionToolCallSchema, z.record(z.string(), z.unknown())])).describe(\"List of tool calls made in this step\"),\n}).passthrough().describe(\"Step details for a tool calls run step.\");\nexport const OpenaiGetRunStepOutput = z.object({\n id: z.string().describe(\"The identifier of the run step\").nullable(),\n type: z.enum([\"message_creation\", \"tool_calls\"]).describe(\"Type of run step: 'message_creation' or 'tool_calls'\").nullable(),\n usage: OpenaiGetRunStep_UsageSchema.nullable().optional(),\n object: z.string().describe(\"Object type, always 'thread.run.step'\").nullable(),\n run_id: z.string().describe(\"The ID of the run this step belongs to\").nullable(),\n status: z.enum([\"in_progress\", \"cancelled\", \"failed\", \"completed\", \"expired\"]).describe(\"The status of the run step\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Metadata key-value pairs attached to the run step\").nullable().optional(),\n failed_at: z.number().int().describe(\"Unix timestamp when the run step failed\").nullable().optional(),\n thread_id: z.string().describe(\"The ID of the thread this run step belongs to\").nullable(),\n created_at: z.number().int().describe(\"Unix timestamp (in seconds) when the run step was created\").nullable(),\n expired_at: z.number().int().describe(\"Unix timestamp when the run step expired\").nullable().optional(),\n last_error: OpenaiGetRunStep_LastErrorSchema.nullable().optional(),\n assistant_id: z.string().describe(\"The ID of the assistant associated with this run step\").nullable(),\n cancelled_at: z.number().int().describe(\"Unix timestamp when the run step was cancelled\").nullable().optional(),\n completed_at: z.number().int().describe(\"Unix timestamp when the run step was completed\").nullable().optional(),\n step_details: z.union([OpenaiGetRunStep_MessageCreationStepDetailsSchema, OpenaiGetRunStep_ToolCallsStepDetailsSchema, z.record(z.string(), z.unknown())]),\n}).passthrough().describe(\"Response model for a run step object.\");\n\nexport const openaiGetRunStep = action(\"OPENAI_GET_RUN_STEP\", {\n slug: \"openai-get-run-step\",\n name: \"Get Run Step\",\n description: \"Tool to retrieve a specific run step from an Assistants API run to inspect detailed execution progress, view tool calls, or check message creation. Use when you need details about a specific step in a run's execution.\",\n input: OpenaiGetRunStepInput,\n output: OpenaiGetRunStepOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAC9E,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CACvM,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAClE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;AAC9F,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,+BAA+B,EAAE,OAAO;CAC5C,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACtE,eAAe,EAAE,OAAO,CAAC,CA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,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,cAAc,EAAE,MAAM;GAAC;GAAmD;GAA6C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC;EAAC,CAAC;CAC3J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAOhB;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"get-run-step.mjs","names":[],"sources":["../../src/actions/get-run-step.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { openai } from \"../app\";\n\nexport const OpenaiGetRunStepInput = z.object({\n run_id: z.string().describe(\"The ID of the run to which the run step belongs.\"),\n include: z.array(z.string()).describe(\"Additional fields to include in the response. Use 'step_details.tool_calls[*].file_search.results[*].content' to include file search result content.\").optional(),\n step_id: z.string().describe(\"The ID of the run step to retrieve.\"),\n thread_id: z.string().describe(\"The ID of the thread to which the run and run step belongs.\"),\n}).describe(\"Request model for retrieving a specific run step.\");\nconst OpenaiGetRunStep_UsageSchema = z.object({\n total_tokens: z.number().int().describe(\"Total tokens used\").nullable(),\n prompt_tokens: z.number().int().describe(\"Number of prompt tokens used\").nullable(),\n completion_tokens: z.number().int().describe(\"Number of completion tokens used\").nullable(),\n}).passthrough().describe(\"Token usage statistics for the run step.\");\nconst OpenaiGetRunStep_LastErrorSchema = z.object({\n code: z.enum([\"server_error\", \"rate_limit_exceeded\"]).describe(\"Error code: 'server_error' or 'rate_limit_exceeded'\").nullable(),\n message: z.string().describe(\"Human-readable error message\").nullable(),\n}).passthrough().describe(\"Error information for a failed run step.\");\nconst OpenaiGetRunStep_MessageCreationSchema = z.object({\n message_id: z.string().describe(\"ID of the message that was created\").nullable(),\n}).passthrough().describe(\"Details of message creation in a run step.\");\nconst OpenaiGetRunStep_MessageCreationStepDetailsSchema = z.object({\n type: z.string().describe(\"Type of step, always 'message_creation'\").nullable(),\n message_creation: OpenaiGetRunStep_MessageCreationSchema.nullable(),\n}).passthrough().describe(\"Step details for a message creation run step.\");\nconst OpenaiGetRunStep_CodeInterpreterOutputSchema = z.object({\n logs: z.string().describe(\"Text output from code interpreter\").nullable().optional(),\n type: z.enum([\"logs\", \"image\"]).describe(\"Type of output\").nullable(),\n image: z.record(z.string(), z.unknown()).describe(\"Image output details\").nullable().optional(),\n}).passthrough().describe(\"Output from the code interpreter.\");\nconst OpenaiGetRunStep_CodeInterpreterSchema = z.object({\n input: z.string().describe(\"The input to the code interpreter\").nullable(),\n outputs: z.array(OpenaiGetRunStep_CodeInterpreterOutputSchema).describe(\"The outputs from the code interpreter call\"),\n}).passthrough().describe(\"Details of a code interpreter call.\");\nconst OpenaiGetRunStep_CodeInterpreterToolCallSchema = z.object({\n id: z.string().describe(\"The ID of the tool call\").nullable(),\n type: z.string().describe(\"Type of tool call, always 'code_interpreter'\").nullable(),\n code_interpreter: OpenaiGetRunStep_CodeInterpreterSchema.nullable(),\n}).passthrough().describe(\"A code interpreter tool call.\");\nconst OpenaiGetRunStep_FileSearchResultSchema = z.object({\n score: z.number().describe(\"Relevance score of the result\").nullable(),\n content: z.array(z.record(z.string(), z.unknown())).describe(\"The content of the matched text (if include parameter specified)\").nullable().optional(),\n file_id: z.string().describe(\"The ID of the file that was searched\").nullable(),\n file_name: z.string().describe(\"The name of the file\").nullable(),\n}).passthrough().describe(\"A single file search result.\");\nconst OpenaiGetRunStep_FileSearchSchema = z.object({\n results: z.array(OpenaiGetRunStep_FileSearchResultSchema).describe(\"The file search results\").nullable().optional(),\n ranking_options: z.record(z.string(), z.unknown()).describe(\"Ranking options used for the file search\").nullable().optional(),\n}).passthrough().describe(\"Details of a file search operation.\");\nconst OpenaiGetRunStep_FileSearchToolCallSchema = z.object({\n id: z.string().describe(\"The ID of the tool call\").nullable(),\n type: z.string().describe(\"Type of tool call, always 'file_search'\").nullable(),\n file_search: OpenaiGetRunStep_FileSearchSchema.nullable(),\n}).passthrough().describe(\"A file search tool call.\");\nconst OpenaiGetRunStep_FunctionCallSchema = z.object({\n name: z.string().describe(\"The name of the function\").nullable(),\n output: z.string().describe(\"The output of the function (null if not yet submitted)\").nullable().optional(),\n arguments: z.string().describe(\"The arguments passed to the function as JSON string\").nullable(),\n}).passthrough().describe(\"Details of a function call.\");\nconst OpenaiGetRunStep_FunctionToolCallSchema = z.object({\n id: z.string().describe(\"The ID of the tool call\").nullable(),\n type: z.string().describe(\"Type of tool call, always 'function'\").nullable(),\n \"function\": OpenaiGetRunStep_FunctionCallSchema.nullable(),\n}).passthrough().describe(\"A function tool call.\");\nconst OpenaiGetRunStep_ToolCallsStepDetailsSchema = z.object({\n type: z.string().describe(\"Type of step, always 'tool_calls'\").nullable(),\n tool_calls: z.array(z.union([OpenaiGetRunStep_CodeInterpreterToolCallSchema, OpenaiGetRunStep_FileSearchToolCallSchema, OpenaiGetRunStep_FunctionToolCallSchema, z.record(z.string(), z.unknown())])).describe(\"List of tool calls made in this step\"),\n}).passthrough().describe(\"Step details for a tool calls run step.\");\nexport const OpenaiGetRunStepOutput = z.object({\n id: z.string().describe(\"The identifier of the run step\").nullable(),\n type: z.enum([\"message_creation\", \"tool_calls\"]).describe(\"Type of run step: 'message_creation' or 'tool_calls'\").nullable(),\n usage: OpenaiGetRunStep_UsageSchema.nullable().optional(),\n object: z.string().describe(\"Object type, always 'thread.run.step'\").nullable(),\n run_id: z.string().describe(\"The ID of the run this step belongs to\").nullable(),\n status: z.enum([\"in_progress\", \"cancelled\", \"failed\", \"completed\", \"expired\"]).describe(\"The status of the run step\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Metadata key-value pairs attached to the run step\").nullable().optional(),\n failed_at: z.number().int().describe(\"Unix timestamp when the run step failed\").nullable().optional(),\n thread_id: z.string().describe(\"The ID of the thread this run step belongs to\").nullable(),\n created_at: z.number().int().describe(\"Unix timestamp (in seconds) when the run step was created\").nullable(),\n expired_at: z.number().int().describe(\"Unix timestamp when the run step expired\").nullable().optional(),\n last_error: OpenaiGetRunStep_LastErrorSchema.nullable().optional(),\n assistant_id: z.string().describe(\"The ID of the assistant associated with this run step\").nullable(),\n cancelled_at: z.number().int().describe(\"Unix timestamp when the run step was cancelled\").nullable().optional(),\n completed_at: z.number().int().describe(\"Unix timestamp when the run step was completed\").nullable().optional(),\n step_details: z.union([OpenaiGetRunStep_MessageCreationStepDetailsSchema, OpenaiGetRunStep_ToolCallsStepDetailsSchema, z.record(z.string(), z.unknown())]),\n}).passthrough().describe(\"Response model for a run step object.\");\n\nexport const openaiGetRunStep: AppAction<\n typeof OpenaiGetRunStepInput,\n typeof OpenaiGetRunStepOutput,\n typeof openai.credential\n> = action(\"OPENAI_GET_RUN_STEP\", {\n slug: \"openai-get-run-step\",\n name: \"Get Run Step\",\n description: \"Tool to retrieve a specific run step from an Assistants API run to inspect detailed execution progress, view tool calls, or check message creation. Use when you need details about a specific step in a run's execution.\",\n input: OpenaiGetRunStepInput,\n output: OpenaiGetRunStepOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAC9E,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CACvM,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAClE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;AAC9F,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,+BAA+B,EAAE,OAAO;CAC5C,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACtE,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAClF,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC5F,CAAC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CAAC,YAAY,CAAC,CAAC,SAAS,uCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-vector-store-file-batch.cjs","names":["z","action"],"sources":["../../src/actions/get-vector-store-file-batch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiGetVectorStoreFileBatchInput = z.object({\n batch_id: z.string().describe(\"The ID of the file batch being retrieved.\"),\n vector_store_id: z.string().describe(\"The ID of the vector store that the file batch belongs to.\"),\n}).describe(\"Request model for retrieving a vector store file batch.\");\nconst OpenaiGetVectorStoreFileBatch_FileCountsSchema = z.object({\n total: z.number().int().describe(\"The total number of files.\").nullable(),\n failed: z.number().int().describe(\"The number of files that have failed to process.\").nullable(),\n cancelled: z.number().int().describe(\"The number of files that where cancelled.\").nullable(),\n completed: z.number().int().describe(\"The number of files that have been processed.\").nullable(),\n in_progress: z.number().int().describe(\"The number of files that are currently being processed.\").nullable(),\n}).passthrough().describe(\"File counts for a vector store file batch.\");\nexport const OpenaiGetVectorStoreFileBatchOutput = z.object({\n id: z.string().describe(\"The identifier, which can be referenced in API endpoints.\").nullable(),\n object: z.union([z.string(), z.string(), z.string()]),\n status: z.enum([\"in_progress\", \"completed\", \"cancelled\", \"failed\"]).describe(\"The status of the vector store files batch, which can be either `in_progress`, `completed`, `cancelled` or `failed`.\").nullable(),\n created_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store files batch was created.\").nullable(),\n file_counts: OpenaiGetVectorStoreFileBatch_FileCountsSchema.nullable(),\n vector_store_id: z.string().describe(\"The ID of the vector store that the File is attached to.\").nullable(),\n}).passthrough().describe(\"Response schema for a vector store file batch.\");\n\nexport const openaiGetVectorStoreFileBatch = action(\"OPENAI_GET_VECTOR_STORE_FILE_BATCH\", {\n slug: \"openai-get-vector-store-file-batch\",\n name: \"Get Vector Store File Batch\",\n description: \"Tool to retrieve a vector store file batch. Use when you need to check the status of a batch file processing operation.\",\n input: OpenaiGetVectorStoreFileBatchInput,\n output: OpenaiGetVectorStoreFileBatchOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-vector-store-file-batch.cjs","names":["z","action"],"sources":["../../src/actions/get-vector-store-file-batch.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { openai } from \"../app\";\n\nexport const OpenaiGetVectorStoreFileBatchInput = z.object({\n batch_id: z.string().describe(\"The ID of the file batch being retrieved.\"),\n vector_store_id: z.string().describe(\"The ID of the vector store that the file batch belongs to.\"),\n}).describe(\"Request model for retrieving a vector store file batch.\");\nconst OpenaiGetVectorStoreFileBatch_FileCountsSchema = z.object({\n total: z.number().int().describe(\"The total number of files.\").nullable(),\n failed: z.number().int().describe(\"The number of files that have failed to process.\").nullable(),\n cancelled: z.number().int().describe(\"The number of files that where cancelled.\").nullable(),\n completed: z.number().int().describe(\"The number of files that have been processed.\").nullable(),\n in_progress: z.number().int().describe(\"The number of files that are currently being processed.\").nullable(),\n}).passthrough().describe(\"File counts for a vector store file batch.\");\nexport const OpenaiGetVectorStoreFileBatchOutput = z.object({\n id: z.string().describe(\"The identifier, which can be referenced in API endpoints.\").nullable(),\n object: z.union([z.string(), z.string(), z.string()]),\n status: z.enum([\"in_progress\", \"completed\", \"cancelled\", \"failed\"]).describe(\"The status of the vector store files batch, which can be either `in_progress`, `completed`, `cancelled` or `failed`.\").nullable(),\n created_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store files batch was created.\").nullable(),\n file_counts: OpenaiGetVectorStoreFileBatch_FileCountsSchema.nullable(),\n vector_store_id: z.string().describe(\"The ID of the vector store that the File is attached to.\").nullable(),\n}).passthrough().describe(\"Response schema for a vector store file batch.\");\n\nexport const openaiGetVectorStoreFileBatch: AppAction<\n typeof OpenaiGetVectorStoreFileBatchInput,\n typeof OpenaiGetVectorStoreFileBatchOutput,\n typeof openai.credential\n> = action(\"OPENAI_GET_VECTOR_STORE_FILE_BATCH\", {\n slug: \"openai-get-vector-store-file-batch\",\n name: \"Get Vector Store File Batch\",\n description: \"Tool to retrieve a vector store file batch. Use when you need to check the status of a batch file processing operation.\",\n input: OpenaiGetVectorStoreFileBatchInput,\n output: OpenaiGetVectorStoreFileBatchOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACzE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;AACnG,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC/F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC/F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC9F,QAAQA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO;CAAC,CAAC;CACpD,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAe;EAAa;EAAa;CAAQ,CAAC,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;CAC9M,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACrI,aAAa,+CAA+C,SAAS;CACrE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,gCAITC,eAAAA,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { openai } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-vector-store-file-batch.d.ts
|
|
@@ -24,10 +26,7 @@ declare const OpenaiGetVectorStoreFileBatchOutput: z.ZodObject<{
|
|
|
24
26
|
}, z.core.$loose>>;
|
|
25
27
|
vector_store_id: z.ZodNullable<z.ZodString>;
|
|
26
28
|
}, z.core.$loose>;
|
|
27
|
-
declare const openaiGetVectorStoreFileBatch:
|
|
28
|
-
batch_id: string;
|
|
29
|
-
vector_store_id: string;
|
|
30
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
29
|
+
declare const openaiGetVectorStoreFileBatch: AppAction<typeof OpenaiGetVectorStoreFileBatchInput, typeof OpenaiGetVectorStoreFileBatchOutput, typeof openai.credential>;
|
|
31
30
|
//#endregion
|
|
32
31
|
export { openaiGetVectorStoreFileBatch };
|
|
33
32
|
//# sourceMappingURL=get-vector-store-file-batch.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-vector-store-file-batch.d.cts","names":[],"sources":["../../src/actions/get-vector-store-file-batch.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-vector-store-file-batch.d.cts","names":[],"sources":["../../src/actions/get-vector-store-file-batch.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;cAWlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cASnC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { openai } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-vector-store-file-batch.d.ts
|
|
@@ -24,10 +26,7 @@ declare const OpenaiGetVectorStoreFileBatchOutput: z.ZodObject<{
|
|
|
24
26
|
}, z.core.$loose>>;
|
|
25
27
|
vector_store_id: z.ZodNullable<z.ZodString>;
|
|
26
28
|
}, z.core.$loose>;
|
|
27
|
-
declare const openaiGetVectorStoreFileBatch:
|
|
28
|
-
batch_id: string;
|
|
29
|
-
vector_store_id: string;
|
|
30
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
29
|
+
declare const openaiGetVectorStoreFileBatch: AppAction<typeof OpenaiGetVectorStoreFileBatchInput, typeof OpenaiGetVectorStoreFileBatchOutput, typeof openai.credential>;
|
|
31
30
|
//#endregion
|
|
32
31
|
export { openaiGetVectorStoreFileBatch };
|
|
33
32
|
//# sourceMappingURL=get-vector-store-file-batch.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-vector-store-file-batch.d.mts","names":[],"sources":["../../src/actions/get-vector-store-file-batch.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-vector-store-file-batch.d.mts","names":[],"sources":["../../src/actions/get-vector-store-file-batch.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;cAWlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cASnC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-vector-store-file-batch.mjs","names":[],"sources":["../../src/actions/get-vector-store-file-batch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiGetVectorStoreFileBatchInput = z.object({\n batch_id: z.string().describe(\"The ID of the file batch being retrieved.\"),\n vector_store_id: z.string().describe(\"The ID of the vector store that the file batch belongs to.\"),\n}).describe(\"Request model for retrieving a vector store file batch.\");\nconst OpenaiGetVectorStoreFileBatch_FileCountsSchema = z.object({\n total: z.number().int().describe(\"The total number of files.\").nullable(),\n failed: z.number().int().describe(\"The number of files that have failed to process.\").nullable(),\n cancelled: z.number().int().describe(\"The number of files that where cancelled.\").nullable(),\n completed: z.number().int().describe(\"The number of files that have been processed.\").nullable(),\n in_progress: z.number().int().describe(\"The number of files that are currently being processed.\").nullable(),\n}).passthrough().describe(\"File counts for a vector store file batch.\");\nexport const OpenaiGetVectorStoreFileBatchOutput = z.object({\n id: z.string().describe(\"The identifier, which can be referenced in API endpoints.\").nullable(),\n object: z.union([z.string(), z.string(), z.string()]),\n status: z.enum([\"in_progress\", \"completed\", \"cancelled\", \"failed\"]).describe(\"The status of the vector store files batch, which can be either `in_progress`, `completed`, `cancelled` or `failed`.\").nullable(),\n created_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store files batch was created.\").nullable(),\n file_counts: OpenaiGetVectorStoreFileBatch_FileCountsSchema.nullable(),\n vector_store_id: z.string().describe(\"The ID of the vector store that the File is attached to.\").nullable(),\n}).passthrough().describe(\"Response schema for a vector store file batch.\");\n\nexport const openaiGetVectorStoreFileBatch = action(\"OPENAI_GET_VECTOR_STORE_FILE_BATCH\", {\n slug: \"openai-get-vector-store-file-batch\",\n name: \"Get Vector Store File Batch\",\n description: \"Tool to retrieve a vector store file batch. Use when you need to check the status of a batch file processing operation.\",\n input: OpenaiGetVectorStoreFileBatchInput,\n output: OpenaiGetVectorStoreFileBatchOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-vector-store-file-batch.mjs","names":[],"sources":["../../src/actions/get-vector-store-file-batch.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { openai } from \"../app\";\n\nexport const OpenaiGetVectorStoreFileBatchInput = z.object({\n batch_id: z.string().describe(\"The ID of the file batch being retrieved.\"),\n vector_store_id: z.string().describe(\"The ID of the vector store that the file batch belongs to.\"),\n}).describe(\"Request model for retrieving a vector store file batch.\");\nconst OpenaiGetVectorStoreFileBatch_FileCountsSchema = z.object({\n total: z.number().int().describe(\"The total number of files.\").nullable(),\n failed: z.number().int().describe(\"The number of files that have failed to process.\").nullable(),\n cancelled: z.number().int().describe(\"The number of files that where cancelled.\").nullable(),\n completed: z.number().int().describe(\"The number of files that have been processed.\").nullable(),\n in_progress: z.number().int().describe(\"The number of files that are currently being processed.\").nullable(),\n}).passthrough().describe(\"File counts for a vector store file batch.\");\nexport const OpenaiGetVectorStoreFileBatchOutput = z.object({\n id: z.string().describe(\"The identifier, which can be referenced in API endpoints.\").nullable(),\n object: z.union([z.string(), z.string(), z.string()]),\n status: z.enum([\"in_progress\", \"completed\", \"cancelled\", \"failed\"]).describe(\"The status of the vector store files batch, which can be either `in_progress`, `completed`, `cancelled` or `failed`.\").nullable(),\n created_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store files batch was created.\").nullable(),\n file_counts: OpenaiGetVectorStoreFileBatch_FileCountsSchema.nullable(),\n vector_store_id: z.string().describe(\"The ID of the vector store that the File is attached to.\").nullable(),\n}).passthrough().describe(\"Response schema for a vector store file batch.\");\n\nexport const openaiGetVectorStoreFileBatch: AppAction<\n typeof OpenaiGetVectorStoreFileBatchInput,\n typeof OpenaiGetVectorStoreFileBatchOutput,\n typeof openai.credential\n> = action(\"OPENAI_GET_VECTOR_STORE_FILE_BATCH\", {\n slug: \"openai-get-vector-store-file-batch\",\n name: \"Get Vector Store File Batch\",\n description: \"Tool to retrieve a vector store file batch. Use when you need to check the status of a batch file processing operation.\",\n input: OpenaiGetVectorStoreFileBatchInput,\n output: OpenaiGetVectorStoreFileBatchOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qCAAqC,EAAE,OAAO;CACzD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACzE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;AACnG,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,iDAAiD,EAAE,OAAO;CAC9D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC/F,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC/F,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAUtE,MAAa,gCAIT,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlBiD,EAAE,OAAO;EAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EAC9F,QAAQ,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,OAAO;GAAG,EAAE,OAAO;EAAC,CAAC;EACpD,QAAQ,EAAE,KAAK;GAAC;GAAe;GAAa;GAAa;EAAQ,CAAC,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;EAC9M,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;EACrI,aAAa,+CAA+C,SAAS;EACrE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-vector-store-file.cjs","names":["z","action"],"sources":["../../src/actions/get-vector-store-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiGetVectorStoreFileInput = z.object({\n file_id: z.string().describe(\"The ID of the file being retrieved.\"),\n vector_store_id: z.string().describe(\"The ID of the vector store that the file belongs to.\"),\n}).describe(\"Request model for retrieving a vector store file.\");\nconst OpenaiGetVectorStoreFile_VectorStoreFileStatusSchema = z.enum([\"in_progress\", \"completed\", \"cancelled\", \"failed\"]).describe(\"Status of a vector store file.\");\nconst OpenaiGetVectorStoreFile_LastErrorInfoSchema = z.object({\n code: z.string().describe(\"Error code\").nullable(),\n message: z.string().describe(\"Error message\").nullable(),\n}).passthrough().describe(\"Information about the last error that occurred.\");\nconst OpenaiGetVectorStoreFile_StaticChunkingStrategyResponseSchema = z.object({\n type: z.string().describe(\"The type of chunking strategy\").nullable(),\n static: z.record(z.string(), z.unknown()).describe(\"The static chunking configuration\"),\n}).passthrough().describe(\"Static chunking strategy in response.\");\nconst OpenaiGetVectorStoreFile_OtherChunkingStrategyResponseSchema = z.object({\n type: z.string().describe(\"The type of chunking strategy\").nullable(),\n}).passthrough().describe(\"Other chunking strategy in response.\");\nexport const OpenaiGetVectorStoreFileOutput = z.object({\n id: z.string().describe(\"The identifier, which can be referenced in API endpoints.\").nullable(),\n object: z.string().describe(\"The object type, which is always 'vector_store.file'.\").nullable(),\n status: OpenaiGetVectorStoreFile_VectorStoreFileStatusSchema.nullable(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Additional attributes associated with the file.\").nullable().optional(),\n created_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store file was created.\").nullable(),\n last_error: OpenaiGetVectorStoreFile_LastErrorInfoSchema.nullable().optional(),\n usage_bytes: z.number().int().describe(\"The total vector store usage in bytes. Note that this may be different from the original file size.\").nullable(),\n vector_store_id: z.string().describe(\"The ID of the vector store that the File is attached to.\").nullable(),\n chunking_strategy: z.union([OpenaiGetVectorStoreFile_StaticChunkingStrategyResponseSchema, OpenaiGetVectorStoreFile_OtherChunkingStrategyResponseSchema]).nullable().optional(),\n}).passthrough().describe(\"Response model for retrieved vector store file.\");\n\nexport const openaiGetVectorStoreFile = action(\"OPENAI_GET_VECTOR_STORE_FILE\", {\n slug: \"openai-get-vector-store-file\",\n name: \"Get Vector Store File\",\n description: \"Tool to retrieve a file from a vector store. Use when you need to check the status or details of a file attached to a vector store.\",\n input: OpenaiGetVectorStoreFileInput,\n output: OpenaiGetVectorStoreFileOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-vector-store-file.cjs","names":["z","action"],"sources":["../../src/actions/get-vector-store-file.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { openai } from \"../app\";\n\nexport const OpenaiGetVectorStoreFileInput = z.object({\n file_id: z.string().describe(\"The ID of the file being retrieved.\"),\n vector_store_id: z.string().describe(\"The ID of the vector store that the file belongs to.\"),\n}).describe(\"Request model for retrieving a vector store file.\");\nconst OpenaiGetVectorStoreFile_VectorStoreFileStatusSchema = z.enum([\"in_progress\", \"completed\", \"cancelled\", \"failed\"]).describe(\"Status of a vector store file.\");\nconst OpenaiGetVectorStoreFile_LastErrorInfoSchema = z.object({\n code: z.string().describe(\"Error code\").nullable(),\n message: z.string().describe(\"Error message\").nullable(),\n}).passthrough().describe(\"Information about the last error that occurred.\");\nconst OpenaiGetVectorStoreFile_StaticChunkingStrategyResponseSchema = z.object({\n type: z.string().describe(\"The type of chunking strategy\").nullable(),\n static: z.record(z.string(), z.unknown()).describe(\"The static chunking configuration\"),\n}).passthrough().describe(\"Static chunking strategy in response.\");\nconst OpenaiGetVectorStoreFile_OtherChunkingStrategyResponseSchema = z.object({\n type: z.string().describe(\"The type of chunking strategy\").nullable(),\n}).passthrough().describe(\"Other chunking strategy in response.\");\nexport const OpenaiGetVectorStoreFileOutput = z.object({\n id: z.string().describe(\"The identifier, which can be referenced in API endpoints.\").nullable(),\n object: z.string().describe(\"The object type, which is always 'vector_store.file'.\").nullable(),\n status: OpenaiGetVectorStoreFile_VectorStoreFileStatusSchema.nullable(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Additional attributes associated with the file.\").nullable().optional(),\n created_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store file was created.\").nullable(),\n last_error: OpenaiGetVectorStoreFile_LastErrorInfoSchema.nullable().optional(),\n usage_bytes: z.number().int().describe(\"The total vector store usage in bytes. Note that this may be different from the original file size.\").nullable(),\n vector_store_id: z.string().describe(\"The ID of the vector store that the File is attached to.\").nullable(),\n chunking_strategy: z.union([OpenaiGetVectorStoreFile_StaticChunkingStrategyResponseSchema, OpenaiGetVectorStoreFile_OtherChunkingStrategyResponseSchema]).nullable().optional(),\n}).passthrough().describe(\"Response model for retrieved vector store file.\");\n\nexport const openaiGetVectorStoreFile: AppAction<\n typeof OpenaiGetVectorStoreFileInput,\n typeof OpenaiGetVectorStoreFileOutput,\n typeof openai.credential\n> = action(\"OPENAI_GET_VECTOR_STORE_FILE\", {\n slug: \"openai-get-vector-store-file\",\n name: \"Get Vector Store File\",\n description: \"Tool to retrieve a file from a vector store. Use when you need to check the status or details of a file attached to a vector store.\",\n input: OpenaiGetVectorStoreFileInput,\n output: OpenaiGetVectorStoreFileOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAClE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;AAC7F,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,uDAAuDA,IAAAA,EAAE,KAAK;CAAC;CAAe;CAAa;CAAa;AAAQ,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAClK,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;AACzD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAM,gEAAgEA,IAAAA,EAAE,OAAO;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAM,+DAA+DA,IAAAA,EAAE,OAAO,EAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,EACtE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC9F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC9F,QAAQ,qDAAqD,SAAS;CACtE,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC9H,YAAY,6CAA6C,SAAS,CAAC,CAAC,SAAS;CAC7E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CACvJ,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC1G,mBAAmBA,IAAAA,EAAE,MAAM,CAAC,+DAA+D,4DAA4D,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,2BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { openai } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-vector-store-file.d.ts
|
|
@@ -29,10 +31,7 @@ declare const OpenaiGetVectorStoreFileOutput: z.ZodObject<{
|
|
|
29
31
|
type: z.ZodNullable<z.ZodString>;
|
|
30
32
|
}, z.core.$loose>]>>>;
|
|
31
33
|
}, z.core.$loose>;
|
|
32
|
-
declare const openaiGetVectorStoreFile:
|
|
33
|
-
file_id: string;
|
|
34
|
-
vector_store_id: string;
|
|
35
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
34
|
+
declare const openaiGetVectorStoreFile: AppAction<typeof OpenaiGetVectorStoreFileInput, typeof OpenaiGetVectorStoreFileOutput, typeof openai.credential>;
|
|
36
35
|
//#endregion
|
|
37
36
|
export { openaiGetVectorStoreFile };
|
|
38
37
|
//# sourceMappingURL=get-vector-store-file.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-vector-store-file.d.cts","names":[],"sources":["../../src/actions/get-vector-store-file.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-vector-store-file.d.cts","names":[],"sources":["../../src/actions/get-vector-store-file.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAgB7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAY9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { openai } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-vector-store-file.d.ts
|
|
@@ -29,10 +31,7 @@ declare const OpenaiGetVectorStoreFileOutput: z.ZodObject<{
|
|
|
29
31
|
type: z.ZodNullable<z.ZodString>;
|
|
30
32
|
}, z.core.$loose>]>>>;
|
|
31
33
|
}, z.core.$loose>;
|
|
32
|
-
declare const openaiGetVectorStoreFile:
|
|
33
|
-
file_id: string;
|
|
34
|
-
vector_store_id: string;
|
|
35
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
34
|
+
declare const openaiGetVectorStoreFile: AppAction<typeof OpenaiGetVectorStoreFileInput, typeof OpenaiGetVectorStoreFileOutput, typeof openai.credential>;
|
|
36
35
|
//#endregion
|
|
37
36
|
export { openaiGetVectorStoreFile };
|
|
38
37
|
//# sourceMappingURL=get-vector-store-file.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-vector-store-file.d.mts","names":[],"sources":["../../src/actions/get-vector-store-file.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-vector-store-file.d.mts","names":[],"sources":["../../src/actions/get-vector-store-file.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAgB7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAY9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-vector-store-file.mjs","names":[],"sources":["../../src/actions/get-vector-store-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiGetVectorStoreFileInput = z.object({\n file_id: z.string().describe(\"The ID of the file being retrieved.\"),\n vector_store_id: z.string().describe(\"The ID of the vector store that the file belongs to.\"),\n}).describe(\"Request model for retrieving a vector store file.\");\nconst OpenaiGetVectorStoreFile_VectorStoreFileStatusSchema = z.enum([\"in_progress\", \"completed\", \"cancelled\", \"failed\"]).describe(\"Status of a vector store file.\");\nconst OpenaiGetVectorStoreFile_LastErrorInfoSchema = z.object({\n code: z.string().describe(\"Error code\").nullable(),\n message: z.string().describe(\"Error message\").nullable(),\n}).passthrough().describe(\"Information about the last error that occurred.\");\nconst OpenaiGetVectorStoreFile_StaticChunkingStrategyResponseSchema = z.object({\n type: z.string().describe(\"The type of chunking strategy\").nullable(),\n static: z.record(z.string(), z.unknown()).describe(\"The static chunking configuration\"),\n}).passthrough().describe(\"Static chunking strategy in response.\");\nconst OpenaiGetVectorStoreFile_OtherChunkingStrategyResponseSchema = z.object({\n type: z.string().describe(\"The type of chunking strategy\").nullable(),\n}).passthrough().describe(\"Other chunking strategy in response.\");\nexport const OpenaiGetVectorStoreFileOutput = z.object({\n id: z.string().describe(\"The identifier, which can be referenced in API endpoints.\").nullable(),\n object: z.string().describe(\"The object type, which is always 'vector_store.file'.\").nullable(),\n status: OpenaiGetVectorStoreFile_VectorStoreFileStatusSchema.nullable(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Additional attributes associated with the file.\").nullable().optional(),\n created_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store file was created.\").nullable(),\n last_error: OpenaiGetVectorStoreFile_LastErrorInfoSchema.nullable().optional(),\n usage_bytes: z.number().int().describe(\"The total vector store usage in bytes. Note that this may be different from the original file size.\").nullable(),\n vector_store_id: z.string().describe(\"The ID of the vector store that the File is attached to.\").nullable(),\n chunking_strategy: z.union([OpenaiGetVectorStoreFile_StaticChunkingStrategyResponseSchema, OpenaiGetVectorStoreFile_OtherChunkingStrategyResponseSchema]).nullable().optional(),\n}).passthrough().describe(\"Response model for retrieved vector store file.\");\n\nexport const openaiGetVectorStoreFile = action(\"OPENAI_GET_VECTOR_STORE_FILE\", {\n slug: \"openai-get-vector-store-file\",\n name: \"Get Vector Store File\",\n description: \"Tool to retrieve a file from a vector store. Use when you need to check the status or details of a file attached to a vector store.\",\n input: OpenaiGetVectorStoreFileInput,\n output: OpenaiGetVectorStoreFileOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-vector-store-file.mjs","names":[],"sources":["../../src/actions/get-vector-store-file.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { openai } from \"../app\";\n\nexport const OpenaiGetVectorStoreFileInput = z.object({\n file_id: z.string().describe(\"The ID of the file being retrieved.\"),\n vector_store_id: z.string().describe(\"The ID of the vector store that the file belongs to.\"),\n}).describe(\"Request model for retrieving a vector store file.\");\nconst OpenaiGetVectorStoreFile_VectorStoreFileStatusSchema = z.enum([\"in_progress\", \"completed\", \"cancelled\", \"failed\"]).describe(\"Status of a vector store file.\");\nconst OpenaiGetVectorStoreFile_LastErrorInfoSchema = z.object({\n code: z.string().describe(\"Error code\").nullable(),\n message: z.string().describe(\"Error message\").nullable(),\n}).passthrough().describe(\"Information about the last error that occurred.\");\nconst OpenaiGetVectorStoreFile_StaticChunkingStrategyResponseSchema = z.object({\n type: z.string().describe(\"The type of chunking strategy\").nullable(),\n static: z.record(z.string(), z.unknown()).describe(\"The static chunking configuration\"),\n}).passthrough().describe(\"Static chunking strategy in response.\");\nconst OpenaiGetVectorStoreFile_OtherChunkingStrategyResponseSchema = z.object({\n type: z.string().describe(\"The type of chunking strategy\").nullable(),\n}).passthrough().describe(\"Other chunking strategy in response.\");\nexport const OpenaiGetVectorStoreFileOutput = z.object({\n id: z.string().describe(\"The identifier, which can be referenced in API endpoints.\").nullable(),\n object: z.string().describe(\"The object type, which is always 'vector_store.file'.\").nullable(),\n status: OpenaiGetVectorStoreFile_VectorStoreFileStatusSchema.nullable(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Additional attributes associated with the file.\").nullable().optional(),\n created_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store file was created.\").nullable(),\n last_error: OpenaiGetVectorStoreFile_LastErrorInfoSchema.nullable().optional(),\n usage_bytes: z.number().int().describe(\"The total vector store usage in bytes. Note that this may be different from the original file size.\").nullable(),\n vector_store_id: z.string().describe(\"The ID of the vector store that the File is attached to.\").nullable(),\n chunking_strategy: z.union([OpenaiGetVectorStoreFile_StaticChunkingStrategyResponseSchema, OpenaiGetVectorStoreFile_OtherChunkingStrategyResponseSchema]).nullable().optional(),\n}).passthrough().describe(\"Response model for retrieved vector store file.\");\n\nexport const openaiGetVectorStoreFile: AppAction<\n typeof OpenaiGetVectorStoreFileInput,\n typeof OpenaiGetVectorStoreFileOutput,\n typeof openai.credential\n> = action(\"OPENAI_GET_VECTOR_STORE_FILE\", {\n slug: \"openai-get-vector-store-file\",\n name: \"Get Vector Store File\",\n description: \"Tool to retrieve a file from a vector store. Use when you need to check the status or details of a file attached to a vector store.\",\n input: OpenaiGetVectorStoreFileInput,\n output: OpenaiGetVectorStoreFileOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgC,EAAE,OAAO;CACpD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAClE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;AAC7F,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,uDAAuD,EAAE,KAAK;CAAC;CAAe;CAAa;CAAa;AAAQ,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAClK,MAAM,+CAA+C,EAAE,OAAO;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;AACzD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAM,gEAAgE,EAAE,OAAO;CAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAM,+DAA+D,EAAE,OAAO,EAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,EACtE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAahE,MAAa,2BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QArB4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EAC9F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAC9F,QAAQ,qDAAqD,SAAS;EACtE,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;EAC9H,YAAY,6CAA6C,SAAS,CAAC,CAAC,SAAS;EAC7E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EACvJ,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAC1G,mBAAmB,EAAE,MAAM,CAAC,+DAA+D,4DAA4D,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-vector-store.cjs","names":["z","action"],"sources":["../../src/actions/get-vector-store.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiGetVectorStoreInput = z.object({\n vector_store_id: z.string().describe(\"The ID of the vector store to retrieve.\"),\n}).describe(\"Request model for retrieving a vector store.\");\nconst OpenaiGetVectorStore_VectorStoreStatusSchema = z.enum([\"expired\", \"in_progress\", \"completed\"]).describe(\"Status of a vector store.\");\nconst OpenaiGetVectorStore_FileCountsSchema = z.object({\n total: z.number().int().describe(\"The total number of files\").nullable(),\n failed: z.number().int().describe(\"The number of files that have failed to process\").nullable(),\n cancelled: z.number().int().describe(\"The number of files that were cancelled\").nullable(),\n completed: z.number().int().describe(\"The number of files that have been successfully processed\").nullable(),\n in_progress: z.number().int().describe(\"The number of files that are currently being processed\").nullable(),\n}).passthrough().describe(\"File processing counts for a vector store.\");\nconst OpenaiGetVectorStore_ExpirationAnchorSchema = z.enum([\"last_active_at\"]).describe(\"Anchor timestamp for expiration policy.\");\nconst OpenaiGetVectorStore_ExpirationPolicySchema = z.object({\n days: z.number().int().describe(\"The number of days after the anchor time that the vector store will expire.\").nullable(),\n anchor: OpenaiGetVectorStore_ExpirationAnchorSchema.nullable(),\n}).passthrough().describe(\"Expiration policy for a vector store.\");\nexport const OpenaiGetVectorStoreOutput = z.object({\n id: z.string().describe(\"The identifier, which can be referenced in API endpoints\").nullable(),\n name: z.string().describe(\"The name of the vector store\").nullable(),\n object: z.string().describe(\"The object type, which is always 'vector_store'\").nullable(),\n status: OpenaiGetVectorStore_VectorStoreStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Set of up to 16 key-value pairs attached to the vector store\").nullable().optional(),\n created_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store was created\").nullable(),\n expires_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store will expire\").nullable().optional(),\n file_counts: OpenaiGetVectorStore_FileCountsSchema.nullable(),\n usage_bytes: z.number().int().describe(\"The total number of bytes used by the files in the vector store\").nullable(),\n expires_after: OpenaiGetVectorStore_ExpirationPolicySchema.nullable().optional(),\n last_active_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store was last active\").nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieved vector store.\");\n\nexport const openaiGetVectorStore = action(\"OPENAI_GET_VECTOR_STORE\", {\n slug: \"openai-get-vector-store\",\n name: \"Get Vector Store\",\n description: \"Tool to retrieve a vector store by its ID. Use when you need to get details of an existing vector store for file_search operations.\",\n input: OpenaiGetVectorStoreInput,\n output: OpenaiGetVectorStoreOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-vector-store.cjs","names":["z","action"],"sources":["../../src/actions/get-vector-store.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { openai } from \"../app\";\n\nexport const OpenaiGetVectorStoreInput = z.object({\n vector_store_id: z.string().describe(\"The ID of the vector store to retrieve.\"),\n}).describe(\"Request model for retrieving a vector store.\");\nconst OpenaiGetVectorStore_VectorStoreStatusSchema = z.enum([\"expired\", \"in_progress\", \"completed\"]).describe(\"Status of a vector store.\");\nconst OpenaiGetVectorStore_FileCountsSchema = z.object({\n total: z.number().int().describe(\"The total number of files\").nullable(),\n failed: z.number().int().describe(\"The number of files that have failed to process\").nullable(),\n cancelled: z.number().int().describe(\"The number of files that were cancelled\").nullable(),\n completed: z.number().int().describe(\"The number of files that have been successfully processed\").nullable(),\n in_progress: z.number().int().describe(\"The number of files that are currently being processed\").nullable(),\n}).passthrough().describe(\"File processing counts for a vector store.\");\nconst OpenaiGetVectorStore_ExpirationAnchorSchema = z.enum([\"last_active_at\"]).describe(\"Anchor timestamp for expiration policy.\");\nconst OpenaiGetVectorStore_ExpirationPolicySchema = z.object({\n days: z.number().int().describe(\"The number of days after the anchor time that the vector store will expire.\").nullable(),\n anchor: OpenaiGetVectorStore_ExpirationAnchorSchema.nullable(),\n}).passthrough().describe(\"Expiration policy for a vector store.\");\nexport const OpenaiGetVectorStoreOutput = z.object({\n id: z.string().describe(\"The identifier, which can be referenced in API endpoints\").nullable(),\n name: z.string().describe(\"The name of the vector store\").nullable(),\n object: z.string().describe(\"The object type, which is always 'vector_store'\").nullable(),\n status: OpenaiGetVectorStore_VectorStoreStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Set of up to 16 key-value pairs attached to the vector store\").nullable().optional(),\n created_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store was created\").nullable(),\n expires_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store will expire\").nullable().optional(),\n file_counts: OpenaiGetVectorStore_FileCountsSchema.nullable(),\n usage_bytes: z.number().int().describe(\"The total number of bytes used by the files in the vector store\").nullable(),\n expires_after: OpenaiGetVectorStore_ExpirationPolicySchema.nullable().optional(),\n last_active_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store was last active\").nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieved vector store.\");\n\nexport const openaiGetVectorStore: AppAction<\n typeof OpenaiGetVectorStoreInput,\n typeof OpenaiGetVectorStoreOutput,\n typeof openai.credential\n> = action(\"OPENAI_GET_VECTOR_STORE\", {\n slug: \"openai-get-vector-store\",\n name: \"Get Vector Store\",\n description: \"Tool to retrieve a vector store by its ID. Use when you need to get details of an existing vector store for file_search operations.\",\n input: OpenaiGetVectorStoreInput,\n output: OpenaiGetVectorStoreOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,EAChF,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,+CAA+CA,IAAAA,EAAE,KAAK;CAAC;CAAW;CAAe;AAAW,CAAC,CAAC,CAAC,SAAS,2BAA2B;AACzI,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC9F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACzF,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,SAAS;CAC5D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACnH,eAAe,4CAA4C,SAAS,CAAC,CAAC,SAAS;CAC/E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,uBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { openai } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-vector-store.d.ts
|
|
@@ -32,9 +34,7 @@ declare const OpenaiGetVectorStoreOutput: z.ZodObject<{
|
|
|
32
34
|
}, z.core.$loose>>>;
|
|
33
35
|
last_active_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
34
36
|
}, z.core.$loose>;
|
|
35
|
-
declare const openaiGetVectorStore:
|
|
36
|
-
vector_store_id: string;
|
|
37
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
37
|
+
declare const openaiGetVectorStore: AppAction<typeof OpenaiGetVectorStoreInput, typeof OpenaiGetVectorStoreOutput, typeof openai.credential>;
|
|
38
38
|
//#endregion
|
|
39
39
|
export { openaiGetVectorStore };
|
|
40
40
|
//# sourceMappingURL=get-vector-store.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-vector-store.d.cts","names":[],"sources":["../../src/actions/get-vector-store.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-vector-store.d.cts","names":[],"sources":["../../src/actions/get-vector-store.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAgBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAc1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { openai } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-vector-store.d.ts
|
|
@@ -32,9 +34,7 @@ declare const OpenaiGetVectorStoreOutput: z.ZodObject<{
|
|
|
32
34
|
}, z.core.$loose>>>;
|
|
33
35
|
last_active_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
34
36
|
}, z.core.$loose>;
|
|
35
|
-
declare const openaiGetVectorStore:
|
|
36
|
-
vector_store_id: string;
|
|
37
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
37
|
+
declare const openaiGetVectorStore: AppAction<typeof OpenaiGetVectorStoreInput, typeof OpenaiGetVectorStoreOutput, typeof openai.credential>;
|
|
38
38
|
//#endregion
|
|
39
39
|
export { openaiGetVectorStore };
|
|
40
40
|
//# sourceMappingURL=get-vector-store.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-vector-store.d.mts","names":[],"sources":["../../src/actions/get-vector-store.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-vector-store.d.mts","names":[],"sources":["../../src/actions/get-vector-store.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAgBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAc1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-vector-store.mjs","names":[],"sources":["../../src/actions/get-vector-store.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiGetVectorStoreInput = z.object({\n vector_store_id: z.string().describe(\"The ID of the vector store to retrieve.\"),\n}).describe(\"Request model for retrieving a vector store.\");\nconst OpenaiGetVectorStore_VectorStoreStatusSchema = z.enum([\"expired\", \"in_progress\", \"completed\"]).describe(\"Status of a vector store.\");\nconst OpenaiGetVectorStore_FileCountsSchema = z.object({\n total: z.number().int().describe(\"The total number of files\").nullable(),\n failed: z.number().int().describe(\"The number of files that have failed to process\").nullable(),\n cancelled: z.number().int().describe(\"The number of files that were cancelled\").nullable(),\n completed: z.number().int().describe(\"The number of files that have been successfully processed\").nullable(),\n in_progress: z.number().int().describe(\"The number of files that are currently being processed\").nullable(),\n}).passthrough().describe(\"File processing counts for a vector store.\");\nconst OpenaiGetVectorStore_ExpirationAnchorSchema = z.enum([\"last_active_at\"]).describe(\"Anchor timestamp for expiration policy.\");\nconst OpenaiGetVectorStore_ExpirationPolicySchema = z.object({\n days: z.number().int().describe(\"The number of days after the anchor time that the vector store will expire.\").nullable(),\n anchor: OpenaiGetVectorStore_ExpirationAnchorSchema.nullable(),\n}).passthrough().describe(\"Expiration policy for a vector store.\");\nexport const OpenaiGetVectorStoreOutput = z.object({\n id: z.string().describe(\"The identifier, which can be referenced in API endpoints\").nullable(),\n name: z.string().describe(\"The name of the vector store\").nullable(),\n object: z.string().describe(\"The object type, which is always 'vector_store'\").nullable(),\n status: OpenaiGetVectorStore_VectorStoreStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Set of up to 16 key-value pairs attached to the vector store\").nullable().optional(),\n created_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store was created\").nullable(),\n expires_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store will expire\").nullable().optional(),\n file_counts: OpenaiGetVectorStore_FileCountsSchema.nullable(),\n usage_bytes: z.number().int().describe(\"The total number of bytes used by the files in the vector store\").nullable(),\n expires_after: OpenaiGetVectorStore_ExpirationPolicySchema.nullable().optional(),\n last_active_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store was last active\").nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieved vector store.\");\n\nexport const openaiGetVectorStore = action(\"OPENAI_GET_VECTOR_STORE\", {\n slug: \"openai-get-vector-store\",\n name: \"Get Vector Store\",\n description: \"Tool to retrieve a vector store by its ID. Use when you need to get details of an existing vector store for file_search operations.\",\n input: OpenaiGetVectorStoreInput,\n output: OpenaiGetVectorStoreOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-vector-store.mjs","names":[],"sources":["../../src/actions/get-vector-store.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { openai } from \"../app\";\n\nexport const OpenaiGetVectorStoreInput = z.object({\n vector_store_id: z.string().describe(\"The ID of the vector store to retrieve.\"),\n}).describe(\"Request model for retrieving a vector store.\");\nconst OpenaiGetVectorStore_VectorStoreStatusSchema = z.enum([\"expired\", \"in_progress\", \"completed\"]).describe(\"Status of a vector store.\");\nconst OpenaiGetVectorStore_FileCountsSchema = z.object({\n total: z.number().int().describe(\"The total number of files\").nullable(),\n failed: z.number().int().describe(\"The number of files that have failed to process\").nullable(),\n cancelled: z.number().int().describe(\"The number of files that were cancelled\").nullable(),\n completed: z.number().int().describe(\"The number of files that have been successfully processed\").nullable(),\n in_progress: z.number().int().describe(\"The number of files that are currently being processed\").nullable(),\n}).passthrough().describe(\"File processing counts for a vector store.\");\nconst OpenaiGetVectorStore_ExpirationAnchorSchema = z.enum([\"last_active_at\"]).describe(\"Anchor timestamp for expiration policy.\");\nconst OpenaiGetVectorStore_ExpirationPolicySchema = z.object({\n days: z.number().int().describe(\"The number of days after the anchor time that the vector store will expire.\").nullable(),\n anchor: OpenaiGetVectorStore_ExpirationAnchorSchema.nullable(),\n}).passthrough().describe(\"Expiration policy for a vector store.\");\nexport const OpenaiGetVectorStoreOutput = z.object({\n id: z.string().describe(\"The identifier, which can be referenced in API endpoints\").nullable(),\n name: z.string().describe(\"The name of the vector store\").nullable(),\n object: z.string().describe(\"The object type, which is always 'vector_store'\").nullable(),\n status: OpenaiGetVectorStore_VectorStoreStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Set of up to 16 key-value pairs attached to the vector store\").nullable().optional(),\n created_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store was created\").nullable(),\n expires_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store will expire\").nullable().optional(),\n file_counts: OpenaiGetVectorStore_FileCountsSchema.nullable(),\n usage_bytes: z.number().int().describe(\"The total number of bytes used by the files in the vector store\").nullable(),\n expires_after: OpenaiGetVectorStore_ExpirationPolicySchema.nullable().optional(),\n last_active_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store was last active\").nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieved vector store.\");\n\nexport const openaiGetVectorStore: AppAction<\n typeof OpenaiGetVectorStoreInput,\n typeof OpenaiGetVectorStoreOutput,\n typeof openai.credential\n> = action(\"OPENAI_GET_VECTOR_STORE\", {\n slug: \"openai-get-vector-store\",\n name: \"Get Vector Store\",\n description: \"Tool to retrieve a vector store by its ID. Use when you need to get details of an existing vector store for file_search operations.\",\n input: OpenaiGetVectorStoreInput,\n output: OpenaiGetVectorStoreOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4B,EAAE,OAAO,EAChD,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,EAChF,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,+CAA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AAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EACxH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnI,aAAa,sCAAsC,SAAS;EAC5D,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EACnH,eAAe,4CAA4C,SAAS,CAAC,CAAC,SAAS;EAC/E,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-video.cjs","names":["z","action"],"sources":["../../src/actions/get-video.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiGetVideoInput = z.object({\n video_id: z.string().describe(\"The unique identifier of the video generation job to retrieve. This ID is returned when you create a video generation job.\"),\n}).describe(\"Request model for retrieving a video generation job by ID.\");\nconst OpenaiGetVideo_VideoSizeSchema = z.enum([\"720x1280\", \"1280x720\", \"1024x1792\", \"1792x1024\"]).describe(\"Resolution options for video generation.\");\nconst OpenaiGetVideo_VideoErrorSchema = z.object({\n code: z.string().describe(\"Error code indicating the type of failure\").nullable(),\n message: z.string().describe(\"Human-readable error message\").nullable(),\n}).passthrough().describe(\"Error details if video generation fails.\");\nconst OpenaiGetVideo_VideoStatusSchema = z.enum([\"queued\", \"in_progress\", \"completed\", \"failed\"]).describe(\"Status options for video generation jobs.\");\nconst OpenaiGetVideo_VideoSecondsSchema = z.enum([\"4\", \"8\", \"12\"]).describe(\"Duration options for video generation.\");\nexport const OpenaiGetVideoOutput = z.object({\n id: z.string().describe(\"Unique identifier for the video generation job\").nullable(),\n size: OpenaiGetVideo_VideoSizeSchema.nullable(),\n error: OpenaiGetVideo_VideoErrorSchema.nullable().optional(),\n model: z.string().describe(\"The model ID used for generating this video\").nullable(),\n object: z.string().describe(\"The object type, which is always 'video'\").nullable(),\n prompt: z.string().describe(\"The text prompt used to generate this video\").nullable().optional(),\n status: OpenaiGetVideo_VideoStatusSchema.nullable(),\n seconds: OpenaiGetVideo_VideoSecondsSchema.nullable(),\n progress: z.number().int().describe(\"Approximate completion percentage for the generation task, ranging from 0 to 100\").nullable(),\n created_at: z.number().int().describe(\"Unix timestamp (seconds) indicating when the job was created\").nullable(),\n expires_at: z.number().int().describe(\"Unix timestamp (seconds) when the generated video will expire and be deleted. Null if not applicable or job not completed.\").nullable().optional(),\n completed_at: z.number().int().describe(\"Unix timestamp (seconds) when the job completed. Null if not yet completed.\").nullable().optional(),\n remixed_from_video_id: z.string().describe(\"ID of a source video if this video was remixed/generated from another video. Null if this is an original generation.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieving a video generation job.\");\n\nexport const openaiGetVideo = action(\"OPENAI_GET_VIDEO\", {\n slug: \"openai-get-video\",\n name: \"Get Video\",\n description: \"Tool to retrieve a video generation job by its unique identifier. Use when you need to check the status, progress, or details of a video generation task.\",\n input: OpenaiGetVideoInput,\n output: OpenaiGetVideoOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-video.cjs","names":["z","action"],"sources":["../../src/actions/get-video.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { openai } from \"../app\";\n\nexport const OpenaiGetVideoInput = z.object({\n video_id: z.string().describe(\"The unique identifier of the video generation job to retrieve. This ID is returned when you create a video generation job.\"),\n}).describe(\"Request model for retrieving a video generation job by ID.\");\nconst OpenaiGetVideo_VideoSizeSchema = z.enum([\"720x1280\", \"1280x720\", \"1024x1792\", \"1792x1024\"]).describe(\"Resolution options for video generation.\");\nconst OpenaiGetVideo_VideoErrorSchema = z.object({\n code: z.string().describe(\"Error code indicating the type of failure\").nullable(),\n message: z.string().describe(\"Human-readable error message\").nullable(),\n}).passthrough().describe(\"Error details if video generation fails.\");\nconst OpenaiGetVideo_VideoStatusSchema = z.enum([\"queued\", \"in_progress\", \"completed\", \"failed\"]).describe(\"Status options for video generation jobs.\");\nconst OpenaiGetVideo_VideoSecondsSchema = z.enum([\"4\", \"8\", \"12\"]).describe(\"Duration options for video generation.\");\nexport const OpenaiGetVideoOutput = z.object({\n id: z.string().describe(\"Unique identifier for the video generation job\").nullable(),\n size: OpenaiGetVideo_VideoSizeSchema.nullable(),\n error: OpenaiGetVideo_VideoErrorSchema.nullable().optional(),\n model: z.string().describe(\"The model ID used for generating this video\").nullable(),\n object: z.string().describe(\"The object type, which is always 'video'\").nullable(),\n prompt: z.string().describe(\"The text prompt used to generate this video\").nullable().optional(),\n status: OpenaiGetVideo_VideoStatusSchema.nullable(),\n seconds: OpenaiGetVideo_VideoSecondsSchema.nullable(),\n progress: z.number().int().describe(\"Approximate completion percentage for the generation task, ranging from 0 to 100\").nullable(),\n created_at: z.number().int().describe(\"Unix timestamp (seconds) indicating when the job was created\").nullable(),\n expires_at: z.number().int().describe(\"Unix timestamp (seconds) when the generated video will expire and be deleted. Null if not applicable or job not completed.\").nullable().optional(),\n completed_at: z.number().int().describe(\"Unix timestamp (seconds) when the job completed. Null if not yet completed.\").nullable().optional(),\n remixed_from_video_id: z.string().describe(\"ID of a source video if this video was remixed/generated from another video. Null if this is an original generation.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieving a video generation job.\");\n\nexport const openaiGetVideo: AppAction<\n typeof OpenaiGetVideoInput,\n typeof OpenaiGetVideoOutput,\n typeof openai.credential\n> = action(\"OPENAI_GET_VIDEO\", {\n slug: \"openai-get-video\",\n name: \"Get Video\",\n description: \"Tool to retrieve a video generation job by its unique identifier. Use when you need to check the status, progress, or details of a video generation task.\",\n input: OpenaiGetVideoInput,\n output: OpenaiGetVideoOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO,EAC1C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4HAA4H,EAC5J,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,iCAAiCA,IAAAA,EAAE,KAAK;CAAC;CAAY;CAAY;CAAa;AAAW,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACrJ,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAM,mCAAmCA,IAAAA,EAAE,KAAK;CAAC;CAAU;CAAe;CAAa;AAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACtJ,MAAM,oCAAoCA,IAAAA,EAAE,KAAK;CAAC;CAAK;CAAK;AAAI,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpH,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACnF,MAAM,+BAA+B,SAAS;CAC9C,OAAO,gCAAgC,SAAS,CAAC,CAAC,SAAS;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,QAAQ,iCAAiC,SAAS;CAClD,SAAS,kCAAkC,SAAS;CACpD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACjI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC/G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxL,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,iBAITC,eAAAA,OAAO,oBAAoB;CAC7B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { openai } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-video.d.ts
|
|
@@ -36,9 +38,7 @@ declare const OpenaiGetVideoOutput: z.ZodObject<{
|
|
|
36
38
|
completed_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
37
39
|
remixed_from_video_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
40
|
}, z.core.$loose>;
|
|
39
|
-
declare const openaiGetVideo:
|
|
40
|
-
video_id: string;
|
|
41
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
41
|
+
declare const openaiGetVideo: AppAction<typeof OpenaiGetVideoInput, typeof OpenaiGetVideoOutput, typeof openai.credential>;
|
|
42
42
|
//#endregion
|
|
43
43
|
export { openaiGetVideo };
|
|
44
44
|
//# sourceMappingURL=get-video.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-video.d.cts","names":[],"sources":["../../src/actions/get-video.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-video.d.cts","names":[],"sources":["../../src/actions/get-video.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cAUnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgBpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,MAAA,CAAO,UAAA"}
|