@keystrokehq/openai 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/add-upload-part.cjs +1 -1
- package/dist/actions/add-upload-part.cjs.map +1 -1
- package/dist/actions/add-upload-part.d.cts +1 -1
- package/dist/actions/add-upload-part.d.mts +1 -1
- package/dist/actions/add-upload-part.mjs +1 -1
- package/dist/actions/add-upload-part.mjs.map +1 -1
- package/dist/actions/cancel-batch.cjs +6 -6
- package/dist/actions/cancel-batch.cjs.map +1 -1
- package/dist/actions/cancel-batch.d.cts +10 -10
- package/dist/actions/cancel-batch.d.mts +10 -10
- package/dist/actions/cancel-batch.mjs +6 -6
- package/dist/actions/cancel-batch.mjs.map +1 -1
- package/dist/actions/cancel-eval-run.cjs +8 -8
- package/dist/actions/cancel-eval-run.cjs.map +1 -1
- package/dist/actions/cancel-eval-run.d.cts +8 -8
- package/dist/actions/cancel-eval-run.d.mts +8 -8
- package/dist/actions/cancel-eval-run.mjs +8 -8
- package/dist/actions/cancel-eval-run.mjs.map +1 -1
- package/dist/actions/cancel-response.cjs +11 -11
- package/dist/actions/cancel-response.cjs.map +1 -1
- package/dist/actions/cancel-response.d.cts +11 -11
- package/dist/actions/cancel-response.d.mts +11 -11
- package/dist/actions/cancel-response.mjs +11 -11
- package/dist/actions/cancel-response.mjs.map +1 -1
- package/dist/actions/cancel-run.cjs +7 -7
- package/dist/actions/cancel-run.cjs.map +1 -1
- package/dist/actions/cancel-run.d.cts +11 -11
- package/dist/actions/cancel-run.d.mts +11 -11
- package/dist/actions/cancel-run.mjs +7 -7
- package/dist/actions/cancel-run.mjs.map +1 -1
- package/dist/actions/cancel-upload.cjs +2 -2
- package/dist/actions/cancel-upload.cjs.map +1 -1
- package/dist/actions/cancel-upload.d.cts +3 -3
- package/dist/actions/cancel-upload.d.mts +3 -3
- package/dist/actions/cancel-upload.mjs +2 -2
- package/dist/actions/cancel-upload.mjs.map +1 -1
- package/dist/actions/compact-response.cjs +9 -9
- package/dist/actions/compact-response.cjs.map +1 -1
- package/dist/actions/compact-response.d.cts +11 -9
- package/dist/actions/compact-response.d.mts +11 -9
- package/dist/actions/compact-response.mjs +9 -9
- package/dist/actions/compact-response.mjs.map +1 -1
- package/dist/actions/create-audio-transcription.cjs +3 -3
- package/dist/actions/create-audio-transcription.cjs.map +1 -1
- package/dist/actions/create-audio-transcription.d.cts +3 -3
- package/dist/actions/create-audio-transcription.d.mts +3 -3
- package/dist/actions/create-audio-transcription.mjs +3 -3
- package/dist/actions/create-audio-transcription.mjs.map +1 -1
- package/dist/actions/create-audio-translation.cjs +1 -1
- package/dist/actions/create-audio-translation.cjs.map +1 -1
- package/dist/actions/create-audio-translation.d.cts +1 -1
- package/dist/actions/create-audio-translation.d.mts +1 -1
- package/dist/actions/create-audio-translation.mjs +1 -1
- package/dist/actions/create-audio-translation.mjs.map +1 -1
- package/dist/actions/create-batch.cjs +9 -9
- package/dist/actions/create-batch.cjs.map +1 -1
- package/dist/actions/create-batch.d.cts +14 -14
- package/dist/actions/create-batch.d.mts +14 -14
- package/dist/actions/create-batch.mjs +9 -9
- package/dist/actions/create-batch.mjs.map +1 -1
- package/dist/actions/create-chat-completion.cjs +13 -13
- package/dist/actions/create-chat-completion.cjs.map +1 -1
- package/dist/actions/create-chat-completion.d.cts +19 -16
- package/dist/actions/create-chat-completion.d.mts +19 -16
- package/dist/actions/create-chat-completion.mjs +13 -13
- package/dist/actions/create-chat-completion.mjs.map +1 -1
- package/dist/actions/create-completion.cjs +9 -9
- package/dist/actions/create-completion.cjs.map +1 -1
- package/dist/actions/create-completion.d.cts +11 -11
- package/dist/actions/create-completion.d.mts +11 -11
- package/dist/actions/create-completion.mjs +9 -9
- package/dist/actions/create-completion.mjs.map +1 -1
- package/dist/actions/create-container-file.cjs +1 -1
- package/dist/actions/create-container-file.cjs.map +1 -1
- package/dist/actions/create-container-file.d.cts +1 -1
- package/dist/actions/create-container-file.d.mts +1 -1
- package/dist/actions/create-container-file.mjs +1 -1
- package/dist/actions/create-container-file.mjs.map +1 -1
- package/dist/actions/create-container.cjs +8 -8
- package/dist/actions/create-container.cjs.map +1 -1
- package/dist/actions/create-container.d.cts +13 -9
- package/dist/actions/create-container.d.cts.map +1 -1
- package/dist/actions/create-container.d.mts +13 -9
- package/dist/actions/create-container.d.mts.map +1 -1
- package/dist/actions/create-container.mjs +8 -8
- package/dist/actions/create-container.mjs.map +1 -1
- package/dist/actions/create-conversation-items.cjs +4 -4
- package/dist/actions/create-conversation-items.cjs.map +1 -1
- package/dist/actions/create-conversation-items.d.cts +6 -4
- package/dist/actions/create-conversation-items.d.cts.map +1 -1
- package/dist/actions/create-conversation-items.d.mts +6 -4
- package/dist/actions/create-conversation-items.d.mts.map +1 -1
- package/dist/actions/create-conversation-items.mjs +4 -4
- package/dist/actions/create-conversation-items.mjs.map +1 -1
- package/dist/actions/create-conversation.cjs +3 -3
- package/dist/actions/create-conversation.cjs.map +1 -1
- package/dist/actions/create-conversation.d.cts +5 -4
- package/dist/actions/create-conversation.d.cts.map +1 -1
- package/dist/actions/create-conversation.d.mts +5 -4
- package/dist/actions/create-conversation.d.mts.map +1 -1
- package/dist/actions/create-conversation.mjs +3 -3
- package/dist/actions/create-conversation.mjs.map +1 -1
- package/dist/actions/create-embeddings.cjs +3 -3
- package/dist/actions/create-embeddings.cjs.map +1 -1
- package/dist/actions/create-embeddings.d.cts +3 -3
- package/dist/actions/create-embeddings.d.mts +3 -3
- package/dist/actions/create-embeddings.mjs +3 -3
- package/dist/actions/create-embeddings.mjs.map +1 -1
- package/dist/actions/create-eval-run.cjs +19 -19
- package/dist/actions/create-eval-run.cjs.map +1 -1
- package/dist/actions/create-eval-run.d.cts +32 -23
- package/dist/actions/create-eval-run.d.mts +32 -23
- package/dist/actions/create-eval-run.mjs +19 -19
- package/dist/actions/create-eval-run.mjs.map +1 -1
- package/dist/actions/create-eval.cjs +10 -10
- package/dist/actions/create-eval.cjs.map +1 -1
- package/dist/actions/create-eval.d.cts +19 -10
- package/dist/actions/create-eval.d.mts +19 -10
- package/dist/actions/create-eval.mjs +10 -10
- package/dist/actions/create-eval.mjs.map +1 -1
- package/dist/actions/create-fine-tuning-job.cjs +4 -4
- package/dist/actions/create-fine-tuning-job.cjs.map +1 -1
- package/dist/actions/create-fine-tuning-job.d.cts +5 -5
- package/dist/actions/create-fine-tuning-job.d.mts +5 -5
- package/dist/actions/create-fine-tuning-job.mjs +4 -4
- package/dist/actions/create-fine-tuning-job.mjs.map +1 -1
- package/dist/actions/create-image-edit.cjs +5 -5
- package/dist/actions/create-image-edit.cjs.map +1 -1
- package/dist/actions/create-image-edit.d.cts +7 -6
- package/dist/actions/create-image-edit.d.mts +7 -6
- package/dist/actions/create-image-edit.mjs +5 -5
- package/dist/actions/create-image-edit.mjs.map +1 -1
- package/dist/actions/create-image-variation.cjs +2 -2
- package/dist/actions/create-image-variation.cjs.map +1 -1
- package/dist/actions/create-image-variation.d.cts +2 -2
- package/dist/actions/create-image-variation.d.mts +2 -2
- package/dist/actions/create-image-variation.mjs +2 -2
- package/dist/actions/create-image-variation.mjs.map +1 -1
- package/dist/actions/create-image.cjs +4 -4
- package/dist/actions/create-image.cjs.map +1 -1
- package/dist/actions/create-image.d.cts +4 -4
- package/dist/actions/create-image.d.mts +4 -4
- package/dist/actions/create-image.mjs +4 -4
- package/dist/actions/create-image.mjs.map +1 -1
- package/dist/actions/create-message.cjs +13 -13
- package/dist/actions/create-message.cjs.map +1 -1
- package/dist/actions/create-message.d.cts +17 -14
- package/dist/actions/create-message.d.cts.map +1 -1
- package/dist/actions/create-message.d.mts +17 -14
- package/dist/actions/create-message.d.mts.map +1 -1
- package/dist/actions/create-message.mjs +13 -13
- package/dist/actions/create-message.mjs.map +1 -1
- package/dist/actions/create-moderation.cjs +7 -7
- package/dist/actions/create-moderation.cjs.map +1 -1
- package/dist/actions/create-moderation.d.cts +9 -8
- package/dist/actions/create-moderation.d.cts.map +1 -1
- package/dist/actions/create-moderation.d.mts +9 -8
- package/dist/actions/create-moderation.d.mts.map +1 -1
- package/dist/actions/create-moderation.mjs +7 -7
- package/dist/actions/create-moderation.mjs.map +1 -1
- package/dist/actions/create-realtime-call.cjs +1 -1
- package/dist/actions/create-realtime-call.cjs.map +1 -1
- package/dist/actions/create-realtime-call.d.cts +1 -1
- package/dist/actions/create-realtime-call.d.mts +1 -1
- package/dist/actions/create-realtime-call.mjs +1 -1
- package/dist/actions/create-realtime-call.mjs.map +1 -1
- package/dist/actions/create-realtime-client-secret.cjs +3 -3
- package/dist/actions/create-realtime-client-secret.cjs.map +1 -1
- package/dist/actions/create-realtime-client-secret.d.cts +5 -3
- package/dist/actions/create-realtime-client-secret.d.mts +5 -3
- package/dist/actions/create-realtime-client-secret.mjs +3 -3
- package/dist/actions/create-realtime-client-secret.mjs.map +1 -1
- package/dist/actions/create-realtime-session.cjs +6 -6
- package/dist/actions/create-realtime-session.cjs.map +1 -1
- package/dist/actions/create-realtime-session.d.cts +10 -6
- package/dist/actions/create-realtime-session.d.mts +10 -6
- package/dist/actions/create-realtime-session.mjs +6 -6
- package/dist/actions/create-realtime-session.mjs.map +1 -1
- package/dist/actions/create-realtime-transcription-session.cjs +4 -4
- package/dist/actions/create-realtime-transcription-session.cjs.map +1 -1
- package/dist/actions/create-realtime-transcription-session.d.cts +4 -4
- package/dist/actions/create-realtime-transcription-session.d.mts +4 -4
- package/dist/actions/create-realtime-transcription-session.mjs +4 -4
- package/dist/actions/create-realtime-transcription-session.mjs.map +1 -1
- package/dist/actions/create-response.cjs +15 -15
- package/dist/actions/create-response.cjs.map +1 -1
- package/dist/actions/create-response.d.cts +28 -18
- package/dist/actions/create-response.d.mts +28 -18
- package/dist/actions/create-response.mjs +15 -15
- package/dist/actions/create-response.mjs.map +1 -1
- package/dist/actions/create-run.cjs +24 -24
- package/dist/actions/create-run.cjs.map +1 -1
- package/dist/actions/create-run.d.cts +36 -31
- package/dist/actions/create-run.d.mts +36 -31
- package/dist/actions/create-run.mjs +24 -24
- package/dist/actions/create-run.mjs.map +1 -1
- package/dist/actions/create-skill.cjs +3 -3
- package/dist/actions/create-skill.cjs.map +1 -1
- package/dist/actions/create-skill.d.cts +5 -3
- package/dist/actions/create-skill.d.mts +5 -3
- package/dist/actions/create-skill.mjs +3 -3
- package/dist/actions/create-skill.mjs.map +1 -1
- package/dist/actions/create-speech.cjs +2 -2
- package/dist/actions/create-speech.cjs.map +1 -1
- package/dist/actions/create-speech.d.cts +2 -2
- package/dist/actions/create-speech.d.mts +2 -2
- package/dist/actions/create-speech.mjs +2 -2
- package/dist/actions/create-speech.mjs.map +1 -1
- package/dist/actions/create-thread-and-run.cjs +29 -29
- package/dist/actions/create-thread-and-run.cjs.map +1 -1
- package/dist/actions/create-thread-and-run.d.cts +46 -39
- package/dist/actions/create-thread-and-run.d.mts +46 -39
- package/dist/actions/create-thread-and-run.mjs +29 -29
- package/dist/actions/create-thread-and-run.mjs.map +1 -1
- package/dist/actions/create-thread.cjs +5 -5
- package/dist/actions/create-thread.cjs.map +1 -1
- package/dist/actions/create-thread.d.cts +7 -6
- package/dist/actions/create-thread.d.cts.map +1 -1
- package/dist/actions/create-thread.d.mts +7 -6
- package/dist/actions/create-thread.d.mts.map +1 -1
- package/dist/actions/create-thread.mjs +5 -5
- package/dist/actions/create-thread.mjs.map +1 -1
- package/dist/actions/create-upload.cjs +2 -2
- package/dist/actions/create-upload.cjs.map +1 -1
- package/dist/actions/create-upload.d.cts +3 -3
- package/dist/actions/create-upload.d.mts +3 -3
- package/dist/actions/create-upload.mjs +2 -2
- package/dist/actions/create-upload.mjs.map +1 -1
- package/dist/actions/create-vector-store-file-batch.cjs +11 -11
- package/dist/actions/create-vector-store-file-batch.cjs.map +1 -1
- package/dist/actions/create-vector-store-file-batch.d.cts +21 -14
- package/dist/actions/create-vector-store-file-batch.d.cts.map +1 -1
- package/dist/actions/create-vector-store-file-batch.d.mts +21 -14
- package/dist/actions/create-vector-store-file-batch.d.mts.map +1 -1
- package/dist/actions/create-vector-store-file-batch.mjs +11 -11
- package/dist/actions/create-vector-store-file-batch.mjs.map +1 -1
- package/dist/actions/create-vector-store-file.cjs +7 -7
- package/dist/actions/create-vector-store-file.cjs.map +1 -1
- package/dist/actions/create-vector-store-file.d.cts +11 -8
- package/dist/actions/create-vector-store-file.d.mts +11 -8
- package/dist/actions/create-vector-store-file.mjs +7 -7
- package/dist/actions/create-vector-store-file.mjs.map +1 -1
- package/dist/actions/create-vector-store.cjs +8 -8
- package/dist/actions/create-vector-store.cjs.map +1 -1
- package/dist/actions/create-vector-store.d.cts +12 -9
- package/dist/actions/create-vector-store.d.mts +12 -9
- package/dist/actions/create-vector-store.mjs +8 -8
- package/dist/actions/create-vector-store.mjs.map +1 -1
- package/dist/actions/create-video-remix.cjs +2 -2
- package/dist/actions/create-video-remix.cjs.map +1 -1
- package/dist/actions/create-video-remix.d.cts +3 -3
- package/dist/actions/create-video-remix.d.mts +3 -3
- package/dist/actions/create-video-remix.mjs +2 -2
- package/dist/actions/create-video-remix.mjs.map +1 -1
- package/dist/actions/create-video.cjs +2 -2
- package/dist/actions/create-video.cjs.map +1 -1
- package/dist/actions/create-video.d.cts +2 -2
- package/dist/actions/create-video.d.mts +2 -2
- package/dist/actions/create-video.mjs +2 -2
- package/dist/actions/create-video.mjs.map +1 -1
- package/dist/actions/delete-assistant.cjs +1 -1
- package/dist/actions/delete-assistant.cjs.map +1 -1
- package/dist/actions/delete-assistant.d.cts +1 -1
- package/dist/actions/delete-assistant.d.mts +1 -1
- package/dist/actions/delete-assistant.mjs +1 -1
- package/dist/actions/delete-assistant.mjs.map +1 -1
- package/dist/actions/delete-chat-completion.cjs +1 -1
- package/dist/actions/delete-chat-completion.cjs.map +1 -1
- package/dist/actions/delete-chat-completion.d.cts +1 -1
- package/dist/actions/delete-chat-completion.d.mts +1 -1
- package/dist/actions/delete-chat-completion.mjs +1 -1
- package/dist/actions/delete-chat-completion.mjs.map +1 -1
- package/dist/actions/delete-container-file.cjs +1 -1
- package/dist/actions/delete-container-file.cjs.map +1 -1
- package/dist/actions/delete-container-file.d.cts +1 -1
- package/dist/actions/delete-container-file.d.mts +1 -1
- package/dist/actions/delete-container-file.mjs +1 -1
- package/dist/actions/delete-container-file.mjs.map +1 -1
- package/dist/actions/delete-container.cjs +1 -1
- package/dist/actions/delete-container.cjs.map +1 -1
- package/dist/actions/delete-container.d.cts +1 -1
- package/dist/actions/delete-container.d.mts +1 -1
- package/dist/actions/delete-container.mjs +1 -1
- package/dist/actions/delete-container.mjs.map +1 -1
- package/dist/actions/delete-conversation-item.cjs +1 -1
- package/dist/actions/delete-conversation-item.cjs.map +1 -1
- package/dist/actions/delete-conversation-item.d.cts +1 -1
- package/dist/actions/delete-conversation-item.d.mts +1 -1
- package/dist/actions/delete-conversation-item.mjs +1 -1
- package/dist/actions/delete-conversation-item.mjs.map +1 -1
- package/dist/actions/delete-conversation.cjs +1 -1
- package/dist/actions/delete-conversation.cjs.map +1 -1
- package/dist/actions/delete-conversation.d.cts +1 -1
- package/dist/actions/delete-conversation.d.mts +1 -1
- package/dist/actions/delete-conversation.mjs +1 -1
- package/dist/actions/delete-conversation.mjs.map +1 -1
- package/dist/actions/delete-eval-run.cjs +1 -1
- package/dist/actions/delete-eval-run.cjs.map +1 -1
- package/dist/actions/delete-eval-run.d.cts +1 -1
- package/dist/actions/delete-eval-run.d.mts +1 -1
- package/dist/actions/delete-eval-run.mjs +1 -1
- package/dist/actions/delete-eval-run.mjs.map +1 -1
- package/dist/actions/delete-eval.cjs +1 -1
- package/dist/actions/delete-eval.cjs.map +1 -1
- package/dist/actions/delete-eval.d.cts +1 -1
- package/dist/actions/delete-eval.d.mts +1 -1
- package/dist/actions/delete-eval.mjs +1 -1
- package/dist/actions/delete-eval.mjs.map +1 -1
- package/dist/actions/delete-file.cjs +1 -1
- package/dist/actions/delete-file.cjs.map +1 -1
- package/dist/actions/delete-file.d.cts +1 -1
- package/dist/actions/delete-file.d.mts +1 -1
- package/dist/actions/delete-file.mjs +1 -1
- package/dist/actions/delete-file.mjs.map +1 -1
- package/dist/actions/delete-message.cjs +1 -1
- package/dist/actions/delete-message.cjs.map +1 -1
- package/dist/actions/delete-message.d.cts +1 -1
- package/dist/actions/delete-message.d.mts +1 -1
- package/dist/actions/delete-message.mjs +1 -1
- package/dist/actions/delete-message.mjs.map +1 -1
- package/dist/actions/delete-response.cjs +1 -1
- package/dist/actions/delete-response.cjs.map +1 -1
- package/dist/actions/delete-response.d.cts +1 -1
- package/dist/actions/delete-response.d.mts +1 -1
- package/dist/actions/delete-response.mjs +1 -1
- package/dist/actions/delete-response.mjs.map +1 -1
- package/dist/actions/delete-skill.cjs +1 -1
- package/dist/actions/delete-skill.cjs.map +1 -1
- package/dist/actions/delete-skill.d.cts +1 -1
- package/dist/actions/delete-skill.d.mts +1 -1
- package/dist/actions/delete-skill.mjs +1 -1
- package/dist/actions/delete-skill.mjs.map +1 -1
- package/dist/actions/delete-thread.cjs +1 -1
- package/dist/actions/delete-thread.cjs.map +1 -1
- package/dist/actions/delete-thread.d.cts +1 -1
- package/dist/actions/delete-thread.d.mts +1 -1
- package/dist/actions/delete-thread.mjs +1 -1
- package/dist/actions/delete-thread.mjs.map +1 -1
- package/dist/actions/delete-vector-store-file.cjs +1 -1
- package/dist/actions/delete-vector-store-file.cjs.map +1 -1
- package/dist/actions/delete-vector-store-file.d.cts +1 -1
- package/dist/actions/delete-vector-store-file.d.mts +1 -1
- package/dist/actions/delete-vector-store-file.mjs +1 -1
- package/dist/actions/delete-vector-store-file.mjs.map +1 -1
- package/dist/actions/delete-vector-store.cjs +1 -1
- package/dist/actions/delete-vector-store.cjs.map +1 -1
- package/dist/actions/delete-vector-store.d.cts +1 -1
- package/dist/actions/delete-vector-store.d.mts +1 -1
- package/dist/actions/delete-vector-store.mjs +1 -1
- package/dist/actions/delete-vector-store.mjs.map +1 -1
- package/dist/actions/delete-video.cjs +1 -1
- package/dist/actions/delete-video.cjs.map +1 -1
- package/dist/actions/delete-video.d.cts +1 -1
- package/dist/actions/delete-video.d.mts +1 -1
- package/dist/actions/delete-video.mjs +1 -1
- package/dist/actions/delete-video.mjs.map +1 -1
- package/dist/actions/download-file.cjs +2 -2
- package/dist/actions/download-file.cjs.map +1 -1
- package/dist/actions/download-file.d.cts +2 -2
- package/dist/actions/download-file.d.mts +2 -2
- package/dist/actions/download-file.mjs +2 -2
- package/dist/actions/download-file.mjs.map +1 -1
- package/dist/actions/download-video.cjs +2 -2
- package/dist/actions/download-video.cjs.map +1 -1
- package/dist/actions/download-video.d.cts +2 -2
- package/dist/actions/download-video.d.mts +2 -2
- package/dist/actions/download-video.mjs +2 -2
- package/dist/actions/download-video.mjs.map +1 -1
- package/dist/actions/get-chat-completion-messages.cjs +2 -2
- package/dist/actions/get-chat-completion-messages.cjs.map +1 -1
- package/dist/actions/get-chat-completion-messages.d.cts +2 -2
- package/dist/actions/get-chat-completion-messages.d.mts +2 -2
- package/dist/actions/get-chat-completion-messages.mjs +2 -2
- package/dist/actions/get-chat-completion-messages.mjs.map +1 -1
- package/dist/actions/get-chat-completion.cjs +7 -7
- package/dist/actions/get-chat-completion.cjs.map +1 -1
- package/dist/actions/get-chat-completion.d.cts +7 -7
- package/dist/actions/get-chat-completion.d.mts +7 -7
- package/dist/actions/get-chat-completion.mjs +7 -7
- package/dist/actions/get-chat-completion.mjs.map +1 -1
- package/dist/actions/get-chatkit-thread.cjs +4 -4
- package/dist/actions/get-chatkit-thread.cjs.map +1 -1
- package/dist/actions/get-chatkit-thread.d.cts +4 -4
- package/dist/actions/get-chatkit-thread.d.mts +4 -4
- package/dist/actions/get-chatkit-thread.mjs +4 -4
- package/dist/actions/get-chatkit-thread.mjs.map +1 -1
- package/dist/actions/get-conversation-item.cjs +1 -1
- package/dist/actions/get-conversation-item.cjs.map +1 -1
- package/dist/actions/get-conversation-item.d.cts +1 -1
- package/dist/actions/get-conversation-item.d.mts +1 -1
- package/dist/actions/get-conversation-item.mjs +1 -1
- package/dist/actions/get-conversation-item.mjs.map +1 -1
- package/dist/actions/get-eval-run-output-item.cjs +5 -5
- package/dist/actions/get-eval-run-output-item.cjs.map +1 -1
- package/dist/actions/get-eval-run-output-item.d.cts +5 -5
- package/dist/actions/get-eval-run-output-item.d.mts +5 -5
- package/dist/actions/get-eval-run-output-item.mjs +5 -5
- package/dist/actions/get-eval-run-output-item.mjs.map +1 -1
- package/dist/actions/get-eval-run-output-items.cjs +6 -6
- package/dist/actions/get-eval-run-output-items.cjs.map +1 -1
- package/dist/actions/get-eval-run-output-items.d.cts +7 -7
- package/dist/actions/get-eval-run-output-items.d.mts +7 -7
- package/dist/actions/get-eval-run-output-items.mjs +6 -6
- package/dist/actions/get-eval-run-output-items.mjs.map +1 -1
- package/dist/actions/get-eval-run.cjs +10 -10
- package/dist/actions/get-eval-run.cjs.map +1 -1
- package/dist/actions/get-eval-run.d.cts +14 -14
- package/dist/actions/get-eval-run.d.mts +14 -14
- package/dist/actions/get-eval-run.mjs +10 -10
- package/dist/actions/get-eval-run.mjs.map +1 -1
- package/dist/actions/get-eval-runs.cjs +6 -6
- package/dist/actions/get-eval-runs.cjs.map +1 -1
- package/dist/actions/get-eval-runs.d.cts +8 -8
- package/dist/actions/get-eval-runs.d.mts +8 -8
- package/dist/actions/get-eval-runs.mjs +6 -6
- package/dist/actions/get-eval-runs.mjs.map +1 -1
- package/dist/actions/get-eval.cjs +1 -1
- package/dist/actions/get-eval.cjs.map +1 -1
- package/dist/actions/get-eval.d.cts +1 -1
- package/dist/actions/get-eval.d.mts +1 -1
- package/dist/actions/get-eval.mjs +1 -1
- package/dist/actions/get-eval.mjs.map +1 -1
- package/dist/actions/get-input-token-counts.cjs +1 -1
- package/dist/actions/get-input-token-counts.cjs.map +1 -1
- package/dist/actions/get-input-token-counts.d.cts +3 -3
- package/dist/actions/get-input-token-counts.d.mts +3 -3
- package/dist/actions/get-input-token-counts.mjs +1 -1
- package/dist/actions/get-input-token-counts.mjs.map +1 -1
- package/dist/actions/get-message.cjs +9 -9
- package/dist/actions/get-message.cjs.map +1 -1
- package/dist/actions/get-message.d.cts +9 -9
- package/dist/actions/get-message.d.mts +9 -9
- package/dist/actions/get-message.mjs +9 -9
- package/dist/actions/get-message.mjs.map +1 -1
- package/dist/actions/get-response.cjs +9 -9
- package/dist/actions/get-response.cjs.map +1 -1
- package/dist/actions/get-response.d.cts +9 -9
- package/dist/actions/get-response.d.mts +9 -9
- package/dist/actions/get-response.mjs +9 -9
- package/dist/actions/get-response.mjs.map +1 -1
- package/dist/actions/get-run-step.cjs +15 -15
- package/dist/actions/get-run-step.cjs.map +1 -1
- package/dist/actions/get-run-step.d.cts +16 -16
- package/dist/actions/get-run-step.d.mts +16 -16
- package/dist/actions/get-run-step.mjs +15 -15
- package/dist/actions/get-run-step.mjs.map +1 -1
- package/dist/actions/get-vector-store-file-batch.cjs +2 -2
- package/dist/actions/get-vector-store-file-batch.cjs.map +1 -1
- package/dist/actions/get-vector-store-file-batch.d.cts +3 -3
- package/dist/actions/get-vector-store-file-batch.d.mts +3 -3
- package/dist/actions/get-vector-store-file-batch.mjs +2 -2
- package/dist/actions/get-vector-store-file-batch.mjs.map +1 -1
- package/dist/actions/get-vector-store-file.cjs +4 -4
- package/dist/actions/get-vector-store-file.cjs.map +1 -1
- package/dist/actions/get-vector-store-file.d.cts +5 -5
- package/dist/actions/get-vector-store-file.d.mts +5 -5
- package/dist/actions/get-vector-store-file.mjs +4 -4
- package/dist/actions/get-vector-store-file.mjs.map +1 -1
- package/dist/actions/get-vector-store.cjs +4 -4
- package/dist/actions/get-vector-store.cjs.map +1 -1
- package/dist/actions/get-vector-store.d.cts +4 -4
- package/dist/actions/get-vector-store.d.mts +4 -4
- package/dist/actions/get-vector-store.mjs +4 -4
- package/dist/actions/get-vector-store.mjs.map +1 -1
- package/dist/actions/get-video.cjs +2 -2
- package/dist/actions/get-video.cjs.map +1 -1
- package/dist/actions/get-video.d.cts +3 -3
- package/dist/actions/get-video.d.mts +3 -3
- package/dist/actions/get-video.mjs +2 -2
- package/dist/actions/get-video.mjs.map +1 -1
- package/dist/actions/list-assistants.cjs +16 -16
- package/dist/actions/list-assistants.cjs.map +1 -1
- package/dist/actions/list-assistants.d.cts +16 -16
- package/dist/actions/list-assistants.d.mts +16 -16
- package/dist/actions/list-assistants.mjs +16 -16
- package/dist/actions/list-assistants.mjs.map +1 -1
- package/dist/actions/list-batches.cjs +8 -8
- package/dist/actions/list-batches.cjs.map +1 -1
- package/dist/actions/list-batches.d.cts +12 -12
- package/dist/actions/list-batches.d.mts +12 -12
- package/dist/actions/list-batches.mjs +8 -8
- package/dist/actions/list-batches.mjs.map +1 -1
- package/dist/actions/list-chat-completions.cjs +4 -4
- package/dist/actions/list-chat-completions.cjs.map +1 -1
- package/dist/actions/list-chat-completions.d.cts +4 -4
- package/dist/actions/list-chat-completions.d.mts +4 -4
- package/dist/actions/list-chat-completions.mjs +4 -4
- package/dist/actions/list-chat-completions.mjs.map +1 -1
- package/dist/actions/list-chatkit-thread-items.cjs +2 -2
- package/dist/actions/list-chatkit-thread-items.cjs.map +1 -1
- package/dist/actions/list-chatkit-thread-items.d.cts +2 -2
- package/dist/actions/list-chatkit-thread-items.d.mts +2 -2
- package/dist/actions/list-chatkit-thread-items.mjs +2 -2
- package/dist/actions/list-chatkit-thread-items.mjs.map +1 -1
- package/dist/actions/list-container-files.cjs +2 -2
- package/dist/actions/list-container-files.cjs.map +1 -1
- package/dist/actions/list-container-files.d.cts +2 -2
- package/dist/actions/list-container-files.d.mts +2 -2
- package/dist/actions/list-container-files.mjs +2 -2
- package/dist/actions/list-container-files.mjs.map +1 -1
- package/dist/actions/list-containers.cjs +4 -4
- package/dist/actions/list-containers.cjs.map +1 -1
- package/dist/actions/list-containers.d.cts +4 -4
- package/dist/actions/list-containers.d.mts +4 -4
- package/dist/actions/list-containers.mjs +4 -4
- package/dist/actions/list-containers.mjs.map +1 -1
- package/dist/actions/list-conversation-items.cjs +2 -2
- package/dist/actions/list-conversation-items.cjs.map +1 -1
- package/dist/actions/list-conversation-items.d.cts +2 -2
- package/dist/actions/list-conversation-items.d.mts +2 -2
- package/dist/actions/list-conversation-items.mjs +2 -2
- package/dist/actions/list-conversation-items.mjs.map +1 -1
- package/dist/actions/list-engines.cjs +2 -2
- package/dist/actions/list-engines.cjs.map +1 -1
- package/dist/actions/list-engines.d.cts +2 -2
- package/dist/actions/list-engines.d.mts +2 -2
- package/dist/actions/list-engines.mjs +2 -2
- package/dist/actions/list-engines.mjs.map +1 -1
- package/dist/actions/list-evals.cjs +14 -14
- package/dist/actions/list-evals.cjs.map +1 -1
- package/dist/actions/list-evals.d.cts +15 -15
- package/dist/actions/list-evals.d.mts +15 -15
- package/dist/actions/list-evals.mjs +14 -14
- package/dist/actions/list-evals.mjs.map +1 -1
- package/dist/actions/list-files-in-vector-store-batch.cjs +5 -5
- package/dist/actions/list-files-in-vector-store-batch.cjs.map +1 -1
- package/dist/actions/list-files-in-vector-store-batch.d.cts +8 -8
- package/dist/actions/list-files-in-vector-store-batch.d.mts +8 -8
- package/dist/actions/list-files-in-vector-store-batch.mjs +5 -5
- package/dist/actions/list-files-in-vector-store-batch.mjs.map +1 -1
- package/dist/actions/list-files.cjs +2 -2
- package/dist/actions/list-files.cjs.map +1 -1
- package/dist/actions/list-files.d.cts +2 -2
- package/dist/actions/list-files.d.mts +2 -2
- package/dist/actions/list-files.mjs +2 -2
- package/dist/actions/list-files.mjs.map +1 -1
- package/dist/actions/list-fine-tunes.cjs +5 -5
- package/dist/actions/list-fine-tunes.cjs.map +1 -1
- package/dist/actions/list-fine-tunes.d.cts +7 -7
- package/dist/actions/list-fine-tunes.d.mts +7 -7
- package/dist/actions/list-fine-tunes.mjs +5 -5
- package/dist/actions/list-fine-tunes.mjs.map +1 -1
- package/dist/actions/list-fine-tuning-events.cjs +2 -2
- package/dist/actions/list-fine-tuning-events.cjs.map +1 -1
- package/dist/actions/list-fine-tuning-events.d.cts +2 -2
- package/dist/actions/list-fine-tuning-events.d.mts +2 -2
- package/dist/actions/list-fine-tuning-events.mjs +2 -2
- package/dist/actions/list-fine-tuning-events.mjs.map +1 -1
- package/dist/actions/list-fine-tuning-job-checkpoints.cjs +3 -3
- package/dist/actions/list-fine-tuning-job-checkpoints.cjs.map +1 -1
- package/dist/actions/list-fine-tuning-job-checkpoints.d.cts +3 -3
- package/dist/actions/list-fine-tuning-job-checkpoints.d.mts +3 -3
- package/dist/actions/list-fine-tuning-job-checkpoints.mjs +3 -3
- package/dist/actions/list-fine-tuning-job-checkpoints.mjs.map +1 -1
- package/dist/actions/list-input-items.cjs +2 -2
- package/dist/actions/list-input-items.cjs.map +1 -1
- package/dist/actions/list-input-items.d.cts +2 -2
- package/dist/actions/list-input-items.d.mts +2 -2
- package/dist/actions/list-input-items.mjs +2 -2
- package/dist/actions/list-input-items.mjs.map +1 -1
- package/dist/actions/list-messages.cjs +10 -10
- package/dist/actions/list-messages.cjs.map +1 -1
- package/dist/actions/list-messages.d.cts +10 -10
- package/dist/actions/list-messages.d.mts +10 -10
- package/dist/actions/list-messages.mjs +10 -10
- package/dist/actions/list-messages.mjs.map +1 -1
- package/dist/actions/list-models.cjs +3 -3
- package/dist/actions/list-models.cjs.map +1 -1
- package/dist/actions/list-models.d.cts +3 -3
- package/dist/actions/list-models.d.mts +3 -3
- package/dist/actions/list-models.mjs +3 -3
- package/dist/actions/list-models.mjs.map +1 -1
- package/dist/actions/list-run-steps.cjs +16 -16
- package/dist/actions/list-run-steps.cjs.map +1 -1
- package/dist/actions/list-run-steps.d.cts +17 -17
- package/dist/actions/list-run-steps.d.mts +17 -17
- package/dist/actions/list-run-steps.mjs +16 -16
- package/dist/actions/list-run-steps.mjs.map +1 -1
- package/dist/actions/list-runs.cjs +8 -8
- package/dist/actions/list-runs.cjs.map +1 -1
- package/dist/actions/list-runs.d.cts +12 -12
- package/dist/actions/list-runs.d.mts +12 -12
- package/dist/actions/list-runs.mjs +8 -8
- package/dist/actions/list-runs.mjs.map +1 -1
- package/dist/actions/list-skills.cjs +2 -2
- package/dist/actions/list-skills.cjs.map +1 -1
- package/dist/actions/list-skills.d.cts +2 -2
- package/dist/actions/list-skills.d.mts +2 -2
- package/dist/actions/list-skills.mjs +2 -2
- package/dist/actions/list-skills.mjs.map +1 -1
- package/dist/actions/list-threads.cjs +4 -4
- package/dist/actions/list-threads.cjs.map +1 -1
- package/dist/actions/list-threads.d.cts +4 -4
- package/dist/actions/list-threads.d.mts +4 -4
- package/dist/actions/list-threads.mjs +4 -4
- package/dist/actions/list-threads.mjs.map +1 -1
- package/dist/actions/list-vector-store-files.cjs +3 -3
- package/dist/actions/list-vector-store-files.cjs.map +1 -1
- package/dist/actions/list-vector-store-files.d.cts +6 -6
- package/dist/actions/list-vector-store-files.d.mts +6 -6
- package/dist/actions/list-vector-store-files.mjs +3 -3
- package/dist/actions/list-vector-store-files.mjs.map +1 -1
- package/dist/actions/list-vector-stores.cjs +5 -5
- package/dist/actions/list-vector-stores.cjs.map +1 -1
- package/dist/actions/list-vector-stores.d.cts +5 -5
- package/dist/actions/list-vector-stores.d.mts +5 -5
- package/dist/actions/list-vector-stores.mjs +5 -5
- package/dist/actions/list-vector-stores.mjs.map +1 -1
- package/dist/actions/list-videos.cjs +3 -3
- package/dist/actions/list-videos.cjs.map +1 -1
- package/dist/actions/list-videos.d.cts +4 -4
- package/dist/actions/list-videos.d.mts +4 -4
- package/dist/actions/list-videos.mjs +3 -3
- package/dist/actions/list-videos.mjs.map +1 -1
- package/dist/actions/modify-assistant.cjs +3 -3
- package/dist/actions/modify-assistant.cjs.map +1 -1
- package/dist/actions/modify-assistant.d.cts +4 -4
- package/dist/actions/modify-assistant.d.mts +4 -4
- package/dist/actions/modify-assistant.mjs +3 -3
- package/dist/actions/modify-assistant.mjs.map +1 -1
- package/dist/actions/modify-message.cjs +9 -9
- package/dist/actions/modify-message.cjs.map +1 -1
- package/dist/actions/modify-message.d.cts +10 -10
- package/dist/actions/modify-message.d.mts +10 -10
- package/dist/actions/modify-message.mjs +9 -9
- package/dist/actions/modify-message.mjs.map +1 -1
- package/dist/actions/modify-run.cjs +8 -8
- package/dist/actions/modify-run.cjs.map +1 -1
- package/dist/actions/modify-run.d.cts +13 -13
- package/dist/actions/modify-run.d.mts +13 -13
- package/dist/actions/modify-run.mjs +8 -8
- package/dist/actions/modify-run.mjs.map +1 -1
- package/dist/actions/modify-thread.cjs +3 -3
- package/dist/actions/modify-thread.cjs.map +1 -1
- package/dist/actions/modify-thread.d.cts +4 -4
- package/dist/actions/modify-thread.d.mts +4 -4
- package/dist/actions/modify-thread.mjs +3 -3
- package/dist/actions/modify-thread.mjs.map +1 -1
- package/dist/actions/modify-vector-store.cjs +5 -5
- package/dist/actions/modify-vector-store.cjs.map +1 -1
- package/dist/actions/modify-vector-store.d.cts +6 -6
- package/dist/actions/modify-vector-store.d.mts +6 -6
- package/dist/actions/modify-vector-store.mjs +5 -5
- package/dist/actions/modify-vector-store.mjs.map +1 -1
- package/dist/actions/retrieve-assistant.cjs +3 -3
- package/dist/actions/retrieve-assistant.cjs.map +1 -1
- package/dist/actions/retrieve-assistant.d.cts +3 -3
- package/dist/actions/retrieve-assistant.d.mts +3 -3
- package/dist/actions/retrieve-assistant.mjs +3 -3
- package/dist/actions/retrieve-assistant.mjs.map +1 -1
- package/dist/actions/retrieve-batch.cjs +6 -6
- package/dist/actions/retrieve-batch.cjs.map +1 -1
- package/dist/actions/retrieve-batch.d.cts +10 -10
- package/dist/actions/retrieve-batch.d.mts +10 -10
- package/dist/actions/retrieve-batch.mjs +6 -6
- package/dist/actions/retrieve-batch.mjs.map +1 -1
- package/dist/actions/retrieve-container-file-content.cjs +2 -2
- package/dist/actions/retrieve-container-file-content.cjs.map +1 -1
- package/dist/actions/retrieve-container-file-content.d.cts +2 -2
- package/dist/actions/retrieve-container-file-content.d.mts +2 -2
- package/dist/actions/retrieve-container-file-content.mjs +2 -2
- package/dist/actions/retrieve-container-file-content.mjs.map +1 -1
- package/dist/actions/retrieve-container-file.cjs +1 -1
- package/dist/actions/retrieve-container-file.cjs.map +1 -1
- package/dist/actions/retrieve-container-file.d.cts +1 -1
- package/dist/actions/retrieve-container-file.d.mts +1 -1
- package/dist/actions/retrieve-container-file.mjs +1 -1
- package/dist/actions/retrieve-container-file.mjs.map +1 -1
- package/dist/actions/retrieve-container.cjs +3 -3
- package/dist/actions/retrieve-container.cjs.map +1 -1
- package/dist/actions/retrieve-container.d.cts +3 -3
- package/dist/actions/retrieve-container.d.mts +3 -3
- package/dist/actions/retrieve-container.mjs +3 -3
- package/dist/actions/retrieve-container.mjs.map +1 -1
- package/dist/actions/retrieve-engine.cjs +1 -1
- package/dist/actions/retrieve-engine.cjs.map +1 -1
- package/dist/actions/retrieve-engine.d.cts +1 -1
- package/dist/actions/retrieve-engine.d.mts +1 -1
- package/dist/actions/retrieve-engine.mjs +1 -1
- package/dist/actions/retrieve-engine.mjs.map +1 -1
- package/dist/actions/retrieve-file.cjs +1 -1
- package/dist/actions/retrieve-file.cjs.map +1 -1
- package/dist/actions/retrieve-file.d.cts +1 -1
- package/dist/actions/retrieve-file.d.mts +1 -1
- package/dist/actions/retrieve-file.mjs +1 -1
- package/dist/actions/retrieve-file.mjs.map +1 -1
- package/dist/actions/retrieve-fine-tuning-job.cjs +4 -4
- package/dist/actions/retrieve-fine-tuning-job.cjs.map +1 -1
- package/dist/actions/retrieve-fine-tuning-job.d.cts +5 -5
- package/dist/actions/retrieve-fine-tuning-job.d.mts +5 -5
- package/dist/actions/retrieve-fine-tuning-job.mjs +4 -4
- package/dist/actions/retrieve-fine-tuning-job.mjs.map +1 -1
- package/dist/actions/retrieve-model.cjs +2 -2
- package/dist/actions/retrieve-model.cjs.map +1 -1
- package/dist/actions/retrieve-model.d.cts +2 -2
- package/dist/actions/retrieve-model.d.mts +2 -2
- package/dist/actions/retrieve-model.mjs +2 -2
- package/dist/actions/retrieve-model.mjs.map +1 -1
- package/dist/actions/retrieve-run.cjs +7 -7
- package/dist/actions/retrieve-run.cjs.map +1 -1
- package/dist/actions/retrieve-run.d.cts +11 -11
- package/dist/actions/retrieve-run.d.mts +11 -11
- package/dist/actions/retrieve-run.mjs +7 -7
- package/dist/actions/retrieve-run.mjs.map +1 -1
- package/dist/actions/retrieve-thread.cjs +2 -2
- package/dist/actions/retrieve-thread.cjs.map +1 -1
- package/dist/actions/retrieve-thread.d.cts +2 -2
- package/dist/actions/retrieve-thread.d.mts +2 -2
- package/dist/actions/retrieve-thread.mjs +2 -2
- package/dist/actions/retrieve-thread.mjs.map +1 -1
- package/dist/actions/retrieve-vector-store-file-content.cjs +2 -2
- package/dist/actions/retrieve-vector-store-file-content.cjs.map +1 -1
- package/dist/actions/retrieve-vector-store-file-content.d.cts +2 -2
- package/dist/actions/retrieve-vector-store-file-content.d.mts +2 -2
- package/dist/actions/retrieve-vector-store-file-content.mjs +2 -2
- package/dist/actions/retrieve-vector-store-file-content.mjs.map +1 -1
- package/dist/actions/run-grader.cjs +8 -8
- package/dist/actions/run-grader.cjs.map +1 -1
- package/dist/actions/run-grader.d.cts +13 -8
- package/dist/actions/run-grader.d.mts +13 -8
- package/dist/actions/run-grader.mjs +8 -8
- package/dist/actions/run-grader.mjs.map +1 -1
- package/dist/actions/search-vector-store.cjs +3 -3
- package/dist/actions/search-vector-store.cjs.map +1 -1
- package/dist/actions/search-vector-store.d.cts +3 -3
- package/dist/actions/search-vector-store.d.mts +3 -3
- package/dist/actions/search-vector-store.mjs +3 -3
- package/dist/actions/search-vector-store.mjs.map +1 -1
- package/dist/actions/submit-tool-outputs-to-run.cjs +8 -8
- package/dist/actions/submit-tool-outputs-to-run.cjs.map +1 -1
- package/dist/actions/submit-tool-outputs-to-run.d.cts +13 -12
- package/dist/actions/submit-tool-outputs-to-run.d.mts +13 -12
- package/dist/actions/submit-tool-outputs-to-run.mjs +8 -8
- package/dist/actions/submit-tool-outputs-to-run.mjs.map +1 -1
- package/dist/actions/update-chat-completion.cjs +8 -8
- package/dist/actions/update-chat-completion.cjs.map +1 -1
- package/dist/actions/update-chat-completion.d.cts +9 -9
- package/dist/actions/update-chat-completion.d.mts +9 -9
- package/dist/actions/update-chat-completion.mjs +8 -8
- package/dist/actions/update-chat-completion.mjs.map +1 -1
- package/dist/actions/update-conversation.cjs +1 -1
- package/dist/actions/update-conversation.cjs.map +1 -1
- package/dist/actions/update-conversation.d.cts +1 -1
- package/dist/actions/update-conversation.d.mts +1 -1
- package/dist/actions/update-conversation.mjs +1 -1
- package/dist/actions/update-conversation.mjs.map +1 -1
- package/dist/actions/update-eval.cjs +1 -1
- package/dist/actions/update-eval.cjs.map +1 -1
- package/dist/actions/update-eval.d.cts +1 -1
- package/dist/actions/update-eval.d.mts +1 -1
- package/dist/actions/update-eval.mjs +1 -1
- package/dist/actions/update-eval.mjs.map +1 -1
- package/dist/actions/update-vector-store-file-attributes.cjs +4 -4
- package/dist/actions/update-vector-store-file-attributes.cjs.map +1 -1
- package/dist/actions/update-vector-store-file-attributes.d.cts +5 -5
- package/dist/actions/update-vector-store-file-attributes.d.mts +5 -5
- package/dist/actions/update-vector-store-file-attributes.mjs +4 -4
- package/dist/actions/update-vector-store-file-attributes.mjs.map +1 -1
- package/dist/actions/upload-file.cjs +1 -1
- package/dist/actions/upload-file.cjs.map +1 -1
- package/dist/actions/upload-file.d.cts +1 -1
- package/dist/actions/upload-file.d.mts +1 -1
- package/dist/actions/upload-file.mjs +1 -1
- package/dist/actions/upload-file.mjs.map +1 -1
- package/dist/actions/validate-grader.cjs +7 -7
- package/dist/actions/validate-grader.cjs.map +1 -1
- package/dist/actions/validate-grader.d.cts +12 -7
- package/dist/actions/validate-grader.d.cts.map +1 -1
- package/dist/actions/validate-grader.d.mts +12 -7
- package/dist/actions/validate-grader.d.mts.map +1 -1
- package/dist/actions/validate-grader.mjs +7 -7
- package/dist/actions/validate-grader.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -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}).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}).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}).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}).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}).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}).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}).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}).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}).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}).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}).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}).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}).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.object({}).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}).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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"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,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,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC/H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAM,y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C9G,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,mBAAmBC,eAAAA,OAAO,uBAAuB;CAC5D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -17,17 +17,17 @@ declare const OpenaiGetRunStepOutput: z.ZodObject<{
|
|
|
17
17
|
total_tokens: z.ZodNullable<z.ZodNumber>;
|
|
18
18
|
prompt_tokens: z.ZodNullable<z.ZodNumber>;
|
|
19
19
|
completion_tokens: z.ZodNullable<z.ZodNumber>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>>;
|
|
21
21
|
object: z.ZodNullable<z.ZodString>;
|
|
22
22
|
run_id: z.ZodNullable<z.ZodString>;
|
|
23
23
|
status: z.ZodNullable<z.ZodEnum<{
|
|
24
24
|
failed: "failed";
|
|
25
25
|
in_progress: "in_progress";
|
|
26
|
-
cancelled: "cancelled";
|
|
27
26
|
completed: "completed";
|
|
28
27
|
expired: "expired";
|
|
28
|
+
cancelled: "cancelled";
|
|
29
29
|
}>>;
|
|
30
|
-
metadata: z.ZodOptional<z.ZodNullable<z.
|
|
30
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
31
31
|
failed_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
32
32
|
thread_id: z.ZodNullable<z.ZodString>;
|
|
33
33
|
created_at: z.ZodNullable<z.ZodNumber>;
|
|
@@ -38,7 +38,7 @@ declare const OpenaiGetRunStepOutput: z.ZodObject<{
|
|
|
38
38
|
rate_limit_exceeded: "rate_limit_exceeded";
|
|
39
39
|
}>>;
|
|
40
40
|
message: z.ZodNullable<z.ZodString>;
|
|
41
|
-
}, z.core.$
|
|
41
|
+
}, z.core.$loose>>>;
|
|
42
42
|
assistant_id: z.ZodNullable<z.ZodString>;
|
|
43
43
|
cancelled_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
44
44
|
completed_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -46,8 +46,8 @@ declare const OpenaiGetRunStepOutput: z.ZodObject<{
|
|
|
46
46
|
type: z.ZodNullable<z.ZodString>;
|
|
47
47
|
message_creation: z.ZodNullable<z.ZodObject<{
|
|
48
48
|
message_id: z.ZodNullable<z.ZodString>;
|
|
49
|
-
}, z.core.$
|
|
50
|
-
}, z.core.$
|
|
49
|
+
}, z.core.$loose>>;
|
|
50
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
51
51
|
type: z.ZodNullable<z.ZodString>;
|
|
52
52
|
tool_calls: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
53
53
|
id: z.ZodNullable<z.ZodString>;
|
|
@@ -61,9 +61,9 @@ declare const OpenaiGetRunStepOutput: z.ZodObject<{
|
|
|
61
61
|
logs: "logs";
|
|
62
62
|
}>>;
|
|
63
63
|
image: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
64
|
-
}, z.core.$
|
|
65
|
-
}, z.core.$
|
|
66
|
-
}, z.core.$
|
|
64
|
+
}, z.core.$loose>>;
|
|
65
|
+
}, z.core.$loose>>;
|
|
66
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
67
67
|
id: z.ZodNullable<z.ZodString>;
|
|
68
68
|
type: z.ZodNullable<z.ZodString>;
|
|
69
69
|
file_search: z.ZodNullable<z.ZodObject<{
|
|
@@ -72,20 +72,20 @@ declare const OpenaiGetRunStepOutput: z.ZodObject<{
|
|
|
72
72
|
content: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
73
73
|
file_id: z.ZodNullable<z.ZodString>;
|
|
74
74
|
file_name: z.ZodNullable<z.ZodString>;
|
|
75
|
-
}, z.core.$
|
|
75
|
+
}, z.core.$loose>>>>;
|
|
76
76
|
ranking_options: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
77
|
-
}, z.core.$
|
|
78
|
-
}, z.core.$
|
|
77
|
+
}, z.core.$loose>>;
|
|
78
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
79
79
|
id: z.ZodNullable<z.ZodString>;
|
|
80
80
|
type: z.ZodNullable<z.ZodString>;
|
|
81
81
|
function: z.ZodNullable<z.ZodObject<{
|
|
82
82
|
name: z.ZodNullable<z.ZodString>;
|
|
83
83
|
output: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
84
84
|
arguments: z.ZodNullable<z.ZodString>;
|
|
85
|
-
}, z.core.$
|
|
86
|
-
}, z.core.$
|
|
87
|
-
}, z.core.$
|
|
88
|
-
}, z.core.$
|
|
85
|
+
}, z.core.$loose>>;
|
|
86
|
+
}, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
87
|
+
}, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
|
|
88
|
+
}, z.core.$loose>;
|
|
89
89
|
declare const openaiGetRunStep: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
90
90
|
run_id: string;
|
|
91
91
|
step_id: string;
|
|
@@ -17,17 +17,17 @@ declare const OpenaiGetRunStepOutput: z.ZodObject<{
|
|
|
17
17
|
total_tokens: z.ZodNullable<z.ZodNumber>;
|
|
18
18
|
prompt_tokens: z.ZodNullable<z.ZodNumber>;
|
|
19
19
|
completion_tokens: z.ZodNullable<z.ZodNumber>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>>;
|
|
21
21
|
object: z.ZodNullable<z.ZodString>;
|
|
22
22
|
run_id: z.ZodNullable<z.ZodString>;
|
|
23
23
|
status: z.ZodNullable<z.ZodEnum<{
|
|
24
24
|
failed: "failed";
|
|
25
25
|
in_progress: "in_progress";
|
|
26
|
-
cancelled: "cancelled";
|
|
27
26
|
completed: "completed";
|
|
28
27
|
expired: "expired";
|
|
28
|
+
cancelled: "cancelled";
|
|
29
29
|
}>>;
|
|
30
|
-
metadata: z.ZodOptional<z.ZodNullable<z.
|
|
30
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
31
31
|
failed_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
32
32
|
thread_id: z.ZodNullable<z.ZodString>;
|
|
33
33
|
created_at: z.ZodNullable<z.ZodNumber>;
|
|
@@ -38,7 +38,7 @@ declare const OpenaiGetRunStepOutput: z.ZodObject<{
|
|
|
38
38
|
rate_limit_exceeded: "rate_limit_exceeded";
|
|
39
39
|
}>>;
|
|
40
40
|
message: z.ZodNullable<z.ZodString>;
|
|
41
|
-
}, z.core.$
|
|
41
|
+
}, z.core.$loose>>>;
|
|
42
42
|
assistant_id: z.ZodNullable<z.ZodString>;
|
|
43
43
|
cancelled_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
44
44
|
completed_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -46,8 +46,8 @@ declare const OpenaiGetRunStepOutput: z.ZodObject<{
|
|
|
46
46
|
type: z.ZodNullable<z.ZodString>;
|
|
47
47
|
message_creation: z.ZodNullable<z.ZodObject<{
|
|
48
48
|
message_id: z.ZodNullable<z.ZodString>;
|
|
49
|
-
}, z.core.$
|
|
50
|
-
}, z.core.$
|
|
49
|
+
}, z.core.$loose>>;
|
|
50
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
51
51
|
type: z.ZodNullable<z.ZodString>;
|
|
52
52
|
tool_calls: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
53
53
|
id: z.ZodNullable<z.ZodString>;
|
|
@@ -61,9 +61,9 @@ declare const OpenaiGetRunStepOutput: z.ZodObject<{
|
|
|
61
61
|
logs: "logs";
|
|
62
62
|
}>>;
|
|
63
63
|
image: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
64
|
-
}, z.core.$
|
|
65
|
-
}, z.core.$
|
|
66
|
-
}, z.core.$
|
|
64
|
+
}, z.core.$loose>>;
|
|
65
|
+
}, z.core.$loose>>;
|
|
66
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
67
67
|
id: z.ZodNullable<z.ZodString>;
|
|
68
68
|
type: z.ZodNullable<z.ZodString>;
|
|
69
69
|
file_search: z.ZodNullable<z.ZodObject<{
|
|
@@ -72,20 +72,20 @@ declare const OpenaiGetRunStepOutput: z.ZodObject<{
|
|
|
72
72
|
content: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
73
73
|
file_id: z.ZodNullable<z.ZodString>;
|
|
74
74
|
file_name: z.ZodNullable<z.ZodString>;
|
|
75
|
-
}, z.core.$
|
|
75
|
+
}, z.core.$loose>>>>;
|
|
76
76
|
ranking_options: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
77
|
-
}, z.core.$
|
|
78
|
-
}, z.core.$
|
|
77
|
+
}, z.core.$loose>>;
|
|
78
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
79
79
|
id: z.ZodNullable<z.ZodString>;
|
|
80
80
|
type: z.ZodNullable<z.ZodString>;
|
|
81
81
|
function: z.ZodNullable<z.ZodObject<{
|
|
82
82
|
name: z.ZodNullable<z.ZodString>;
|
|
83
83
|
output: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
84
84
|
arguments: z.ZodNullable<z.ZodString>;
|
|
85
|
-
}, z.core.$
|
|
86
|
-
}, z.core.$
|
|
87
|
-
}, z.core.$
|
|
88
|
-
}, z.core.$
|
|
85
|
+
}, z.core.$loose>>;
|
|
86
|
+
}, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
87
|
+
}, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
|
|
88
|
+
}, z.core.$loose>;
|
|
89
89
|
declare const openaiGetRunStep: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
90
90
|
run_id: string;
|
|
91
91
|
step_id: string;
|
|
@@ -11,55 +11,55 @@ const OpenaiGetRunStep_UsageSchema = z.object({
|
|
|
11
11
|
total_tokens: z.number().int().describe("Total tokens used").nullable(),
|
|
12
12
|
prompt_tokens: z.number().int().describe("Number of prompt tokens used").nullable(),
|
|
13
13
|
completion_tokens: z.number().int().describe("Number of completion tokens used").nullable()
|
|
14
|
-
}).describe("Token usage statistics for the run step.");
|
|
14
|
+
}).passthrough().describe("Token usage statistics for the run step.");
|
|
15
15
|
const OpenaiGetRunStep_LastErrorSchema = z.object({
|
|
16
16
|
code: z.enum(["server_error", "rate_limit_exceeded"]).describe("Error code: 'server_error' or 'rate_limit_exceeded'").nullable(),
|
|
17
17
|
message: z.string().describe("Human-readable error message").nullable()
|
|
18
|
-
}).describe("Error information for a failed run step.");
|
|
19
|
-
const OpenaiGetRunStep_MessageCreationSchema = z.object({ message_id: z.string().describe("ID of the message that was created").nullable() }).describe("Details of message creation in a run step.");
|
|
18
|
+
}).passthrough().describe("Error information for a failed run step.");
|
|
19
|
+
const OpenaiGetRunStep_MessageCreationSchema = z.object({ message_id: z.string().describe("ID of the message that was created").nullable() }).passthrough().describe("Details of message creation in a run step.");
|
|
20
20
|
const OpenaiGetRunStep_MessageCreationStepDetailsSchema = z.object({
|
|
21
21
|
type: z.string().describe("Type of step, always 'message_creation'").nullable(),
|
|
22
22
|
message_creation: OpenaiGetRunStep_MessageCreationSchema.nullable()
|
|
23
|
-
}).describe("Step details for a message creation run step.");
|
|
23
|
+
}).passthrough().describe("Step details for a message creation run step.");
|
|
24
24
|
const OpenaiGetRunStep_CodeInterpreterOutputSchema = z.object({
|
|
25
25
|
logs: z.string().describe("Text output from code interpreter").nullable().optional(),
|
|
26
26
|
type: z.enum(["logs", "image"]).describe("Type of output").nullable(),
|
|
27
27
|
image: z.record(z.string(), z.unknown()).describe("Image output details").nullable().optional()
|
|
28
|
-
}).describe("Output from the code interpreter.");
|
|
28
|
+
}).passthrough().describe("Output from the code interpreter.");
|
|
29
29
|
const OpenaiGetRunStep_CodeInterpreterSchema = z.object({
|
|
30
30
|
input: z.string().describe("The input to the code interpreter").nullable(),
|
|
31
31
|
outputs: z.array(OpenaiGetRunStep_CodeInterpreterOutputSchema).describe("The outputs from the code interpreter call")
|
|
32
|
-
}).describe("Details of a code interpreter call.");
|
|
32
|
+
}).passthrough().describe("Details of a code interpreter call.");
|
|
33
33
|
const OpenaiGetRunStep_CodeInterpreterToolCallSchema = z.object({
|
|
34
34
|
id: z.string().describe("The ID of the tool call").nullable(),
|
|
35
35
|
type: z.string().describe("Type of tool call, always 'code_interpreter'").nullable(),
|
|
36
36
|
code_interpreter: OpenaiGetRunStep_CodeInterpreterSchema.nullable()
|
|
37
|
-
}).describe("A code interpreter tool call.");
|
|
37
|
+
}).passthrough().describe("A code interpreter tool call.");
|
|
38
38
|
const OpenaiGetRunStep_FileSearchResultSchema = z.object({
|
|
39
39
|
score: z.number().describe("Relevance score of the result").nullable(),
|
|
40
40
|
content: z.array(z.record(z.string(), z.unknown())).describe("The content of the matched text (if include parameter specified)").nullable().optional(),
|
|
41
41
|
file_id: z.string().describe("The ID of the file that was searched").nullable(),
|
|
42
42
|
file_name: z.string().describe("The name of the file").nullable()
|
|
43
|
-
}).describe("A single file search result.");
|
|
43
|
+
}).passthrough().describe("A single file search result.");
|
|
44
44
|
const OpenaiGetRunStep_FileSearchSchema = z.object({
|
|
45
45
|
results: z.array(OpenaiGetRunStep_FileSearchResultSchema).describe("The file search results").nullable().optional(),
|
|
46
46
|
ranking_options: z.record(z.string(), z.unknown()).describe("Ranking options used for the file search").nullable().optional()
|
|
47
|
-
}).describe("Details of a file search operation.");
|
|
47
|
+
}).passthrough().describe("Details of a file search operation.");
|
|
48
48
|
const OpenaiGetRunStep_FileSearchToolCallSchema = z.object({
|
|
49
49
|
id: z.string().describe("The ID of the tool call").nullable(),
|
|
50
50
|
type: z.string().describe("Type of tool call, always 'file_search'").nullable(),
|
|
51
51
|
file_search: OpenaiGetRunStep_FileSearchSchema.nullable()
|
|
52
|
-
}).describe("A file search tool call.");
|
|
52
|
+
}).passthrough().describe("A file search tool call.");
|
|
53
53
|
const OpenaiGetRunStep_FunctionCallSchema = z.object({
|
|
54
54
|
name: z.string().describe("The name of the function").nullable(),
|
|
55
55
|
output: z.string().describe("The output of the function (null if not yet submitted)").nullable().optional(),
|
|
56
56
|
arguments: z.string().describe("The arguments passed to the function as JSON string").nullable()
|
|
57
|
-
}).describe("Details of a function call.");
|
|
57
|
+
}).passthrough().describe("Details of a function call.");
|
|
58
58
|
const OpenaiGetRunStep_FunctionToolCallSchema = z.object({
|
|
59
59
|
id: z.string().describe("The ID of the tool call").nullable(),
|
|
60
60
|
type: z.string().describe("Type of tool call, always 'function'").nullable(),
|
|
61
61
|
"function": OpenaiGetRunStep_FunctionCallSchema.nullable()
|
|
62
|
-
}).describe("A function tool call.");
|
|
62
|
+
}).passthrough().describe("A function tool call.");
|
|
63
63
|
const OpenaiGetRunStep_ToolCallsStepDetailsSchema = z.object({
|
|
64
64
|
type: z.string().describe("Type of step, always 'tool_calls'").nullable(),
|
|
65
65
|
tool_calls: z.array(z.union([
|
|
@@ -68,7 +68,7 @@ const OpenaiGetRunStep_ToolCallsStepDetailsSchema = z.object({
|
|
|
68
68
|
OpenaiGetRunStep_FunctionToolCallSchema,
|
|
69
69
|
z.record(z.string(), z.unknown())
|
|
70
70
|
])).describe("List of tool calls made in this step")
|
|
71
|
-
}).describe("Step details for a tool calls run step.");
|
|
71
|
+
}).passthrough().describe("Step details for a tool calls run step.");
|
|
72
72
|
const openaiGetRunStep = action("OPENAI_GET_RUN_STEP", {
|
|
73
73
|
slug: "openai-get-run-step",
|
|
74
74
|
name: "Get Run Step",
|
|
@@ -87,7 +87,7 @@ const openaiGetRunStep = action("OPENAI_GET_RUN_STEP", {
|
|
|
87
87
|
"completed",
|
|
88
88
|
"expired"
|
|
89
89
|
]).describe("The status of the run step").nullable(),
|
|
90
|
-
metadata: z.
|
|
90
|
+
metadata: z.record(z.string(), z.unknown()).describe("Metadata key-value pairs attached to the run step").nullable().optional(),
|
|
91
91
|
failed_at: z.number().int().describe("Unix timestamp when the run step failed").nullable().optional(),
|
|
92
92
|
thread_id: z.string().describe("The ID of the thread this run step belongs to").nullable(),
|
|
93
93
|
created_at: z.number().int().describe("Unix timestamp (in seconds) when the run step was created").nullable(),
|
|
@@ -101,7 +101,7 @@ const openaiGetRunStep = action("OPENAI_GET_RUN_STEP", {
|
|
|
101
101
|
OpenaiGetRunStep_ToolCallsStepDetailsSchema,
|
|
102
102
|
z.record(z.string(), z.unknown())
|
|
103
103
|
])
|
|
104
|
-
}).describe("Response model for a run step object.")
|
|
104
|
+
}).passthrough().describe("Response model for a run step object.")
|
|
105
105
|
});
|
|
106
106
|
//#endregion
|
|
107
107
|
export { openaiGetRunStep };
|
|
@@ -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}).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}).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}).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}).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}).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}).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}).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}).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}).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}).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}).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}).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}).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.object({}).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}).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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,QAAQ,CAAC;EAAC,CAAC;CAC3J,CAAC,CAAC,CAAC,SAAS,uCAOF;AACV,CAAC"}
|
|
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,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,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAM,mCAAmC,EAAE,OAAO;CAChD,MAAM,EAAE,KAAK,CAAC,gBAAgB,qBAAqB,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC/H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AACxE,CAAC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AC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EAC/H,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACzF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EAC5G,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,YAAY,iCAAiC,SAAS,CAAC,CAAC,SAAS;EACjE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EACpG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,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"}
|
|
@@ -11,7 +11,7 @@ const OpenaiGetVectorStoreFileBatch_FileCountsSchema = zod.z.object({
|
|
|
11
11
|
cancelled: zod.z.number().int().describe("The number of files that where cancelled.").nullable(),
|
|
12
12
|
completed: zod.z.number().int().describe("The number of files that have been processed.").nullable(),
|
|
13
13
|
in_progress: zod.z.number().int().describe("The number of files that are currently being processed.").nullable()
|
|
14
|
-
}).describe("File counts for a vector store file batch.");
|
|
14
|
+
}).passthrough().describe("File counts for a vector store file batch.");
|
|
15
15
|
const OpenaiGetVectorStoreFileBatchOutput = zod.z.object({
|
|
16
16
|
id: zod.z.string().describe("The identifier, which can be referenced in API endpoints.").nullable(),
|
|
17
17
|
object: zod.z.union([
|
|
@@ -28,7 +28,7 @@ const OpenaiGetVectorStoreFileBatchOutput = zod.z.object({
|
|
|
28
28
|
created_at: zod.z.number().int().describe("The Unix timestamp (in seconds) for when the vector store files batch was created.").nullable(),
|
|
29
29
|
file_counts: OpenaiGetVectorStoreFileBatch_FileCountsSchema.nullable(),
|
|
30
30
|
vector_store_id: zod.z.string().describe("The ID of the vector store that the File is attached to.").nullable()
|
|
31
|
-
}).describe("Response schema for a vector store file batch.");
|
|
31
|
+
}).passthrough().describe("Response schema for a vector store file batch.");
|
|
32
32
|
const openaiGetVectorStoreFileBatch = require_action.action("OPENAI_GET_VECTOR_STORE_FILE_BATCH", {
|
|
33
33
|
slug: "openai-get-vector-store-file-batch",
|
|
34
34
|
name: "Get Vector Store File Batch",
|
|
@@ -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}).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}).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":";;;AAIA,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,SAAS,4CAA4C;
|
|
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":";;;AAIA,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,gCAAgCC,eAAAA,OAAO,sCAAsC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,8 +11,8 @@ declare const OpenaiGetVectorStoreFileBatchOutput: z.ZodObject<{
|
|
|
11
11
|
status: z.ZodNullable<z.ZodEnum<{
|
|
12
12
|
failed: "failed";
|
|
13
13
|
in_progress: "in_progress";
|
|
14
|
-
cancelled: "cancelled";
|
|
15
14
|
completed: "completed";
|
|
15
|
+
cancelled: "cancelled";
|
|
16
16
|
}>>;
|
|
17
17
|
created_at: z.ZodNullable<z.ZodNumber>;
|
|
18
18
|
file_counts: z.ZodNullable<z.ZodObject<{
|
|
@@ -21,9 +21,9 @@ declare const OpenaiGetVectorStoreFileBatchOutput: z.ZodObject<{
|
|
|
21
21
|
cancelled: z.ZodNullable<z.ZodNumber>;
|
|
22
22
|
completed: z.ZodNullable<z.ZodNumber>;
|
|
23
23
|
in_progress: z.ZodNullable<z.ZodNumber>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>>;
|
|
25
25
|
vector_store_id: z.ZodNullable<z.ZodString>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>;
|
|
27
27
|
declare const openaiGetVectorStoreFileBatch: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
28
28
|
batch_id: string;
|
|
29
29
|
vector_store_id: string;
|
|
@@ -11,8 +11,8 @@ declare const OpenaiGetVectorStoreFileBatchOutput: z.ZodObject<{
|
|
|
11
11
|
status: z.ZodNullable<z.ZodEnum<{
|
|
12
12
|
failed: "failed";
|
|
13
13
|
in_progress: "in_progress";
|
|
14
|
-
cancelled: "cancelled";
|
|
15
14
|
completed: "completed";
|
|
15
|
+
cancelled: "cancelled";
|
|
16
16
|
}>>;
|
|
17
17
|
created_at: z.ZodNullable<z.ZodNumber>;
|
|
18
18
|
file_counts: z.ZodNullable<z.ZodObject<{
|
|
@@ -21,9 +21,9 @@ declare const OpenaiGetVectorStoreFileBatchOutput: z.ZodObject<{
|
|
|
21
21
|
cancelled: z.ZodNullable<z.ZodNumber>;
|
|
22
22
|
completed: z.ZodNullable<z.ZodNumber>;
|
|
23
23
|
in_progress: z.ZodNullable<z.ZodNumber>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>>;
|
|
25
25
|
vector_store_id: z.ZodNullable<z.ZodString>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>;
|
|
27
27
|
declare const openaiGetVectorStoreFileBatch: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
28
28
|
batch_id: string;
|
|
29
29
|
vector_store_id: string;
|
|
@@ -11,7 +11,7 @@ const OpenaiGetVectorStoreFileBatch_FileCountsSchema = z.object({
|
|
|
11
11
|
cancelled: z.number().int().describe("The number of files that where cancelled.").nullable(),
|
|
12
12
|
completed: z.number().int().describe("The number of files that have been processed.").nullable(),
|
|
13
13
|
in_progress: z.number().int().describe("The number of files that are currently being processed.").nullable()
|
|
14
|
-
}).describe("File counts for a vector store file batch.");
|
|
14
|
+
}).passthrough().describe("File counts for a vector store file batch.");
|
|
15
15
|
const openaiGetVectorStoreFileBatch = action("OPENAI_GET_VECTOR_STORE_FILE_BATCH", {
|
|
16
16
|
slug: "openai-get-vector-store-file-batch",
|
|
17
17
|
name: "Get Vector Store File Batch",
|
|
@@ -33,7 +33,7 @@ const openaiGetVectorStoreFileBatch = action("OPENAI_GET_VECTOR_STORE_FILE_BATCH
|
|
|
33
33
|
created_at: z.number().int().describe("The Unix timestamp (in seconds) for when the vector store files batch was created.").nullable(),
|
|
34
34
|
file_counts: OpenaiGetVectorStoreFileBatch_FileCountsSchema.nullable(),
|
|
35
35
|
vector_store_id: z.string().describe("The ID of the vector store that the File is attached to.").nullable()
|
|
36
|
-
}).describe("Response schema for a vector store file batch.")
|
|
36
|
+
}).passthrough().describe("Response schema for a vector store file batch.")
|
|
37
37
|
});
|
|
38
38
|
//#endregion
|
|
39
39
|
export { openaiGetVectorStoreFileBatch };
|
|
@@ -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}).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}).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":";;;AAIA,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,SAAS,4CAA4C;
|
|
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":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO;CACzD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACzE,iBAA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CAAC"}
|
|
@@ -14,12 +14,12 @@ const OpenaiGetVectorStoreFile_VectorStoreFileStatusSchema = zod.z.enum([
|
|
|
14
14
|
const OpenaiGetVectorStoreFile_LastErrorInfoSchema = zod.z.object({
|
|
15
15
|
code: zod.z.string().describe("Error code").nullable(),
|
|
16
16
|
message: zod.z.string().describe("Error message").nullable()
|
|
17
|
-
}).describe("Information about the last error that occurred.");
|
|
17
|
+
}).passthrough().describe("Information about the last error that occurred.");
|
|
18
18
|
const OpenaiGetVectorStoreFile_StaticChunkingStrategyResponseSchema = zod.z.object({
|
|
19
19
|
type: zod.z.string().describe("The type of chunking strategy").nullable(),
|
|
20
20
|
static: zod.z.record(zod.z.string(), zod.z.unknown()).describe("The static chunking configuration")
|
|
21
|
-
}).describe("Static chunking strategy in response.");
|
|
22
|
-
const OpenaiGetVectorStoreFile_OtherChunkingStrategyResponseSchema = zod.z.object({ type: zod.z.string().describe("The type of chunking strategy").nullable() }).describe("Other chunking strategy in response.");
|
|
21
|
+
}).passthrough().describe("Static chunking strategy in response.");
|
|
22
|
+
const OpenaiGetVectorStoreFile_OtherChunkingStrategyResponseSchema = zod.z.object({ type: zod.z.string().describe("The type of chunking strategy").nullable() }).passthrough().describe("Other chunking strategy in response.");
|
|
23
23
|
const OpenaiGetVectorStoreFileOutput = zod.z.object({
|
|
24
24
|
id: zod.z.string().describe("The identifier, which can be referenced in API endpoints.").nullable(),
|
|
25
25
|
object: zod.z.string().describe("The object type, which is always 'vector_store.file'.").nullable(),
|
|
@@ -30,7 +30,7 @@ const OpenaiGetVectorStoreFileOutput = zod.z.object({
|
|
|
30
30
|
usage_bytes: zod.z.number().int().describe("The total vector store usage in bytes. Note that this may be different from the original file size.").nullable(),
|
|
31
31
|
vector_store_id: zod.z.string().describe("The ID of the vector store that the File is attached to.").nullable(),
|
|
32
32
|
chunking_strategy: zod.z.union([OpenaiGetVectorStoreFile_StaticChunkingStrategyResponseSchema, OpenaiGetVectorStoreFile_OtherChunkingStrategyResponseSchema]).nullable().optional()
|
|
33
|
-
}).describe("Response model for retrieved vector store file.");
|
|
33
|
+
}).passthrough().describe("Response model for retrieved vector store file.");
|
|
34
34
|
const openaiGetVectorStoreFile = require_action.action("OPENAI_GET_VECTOR_STORE_FILE", {
|
|
35
35
|
slug: "openai-get-vector-store-file",
|
|
36
36
|
name: "Get Vector Store File",
|
|
@@ -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}).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}).describe(\"Static chunking strategy in response.\");\nconst OpenaiGetVectorStoreFile_OtherChunkingStrategyResponseSchema = z.object({\n type: z.string().describe(\"The type of chunking strategy\").nullable(),\n}).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}).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":";;;AAIA,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,SAAS,iDAAiD;
|
|
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":";;;AAIA,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,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,24 +11,24 @@ declare const OpenaiGetVectorStoreFileOutput: z.ZodObject<{
|
|
|
11
11
|
status: z.ZodNullable<z.ZodEnum<{
|
|
12
12
|
failed: "failed";
|
|
13
13
|
in_progress: "in_progress";
|
|
14
|
-
cancelled: "cancelled";
|
|
15
14
|
completed: "completed";
|
|
15
|
+
cancelled: "cancelled";
|
|
16
16
|
}>>;
|
|
17
17
|
attributes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
18
18
|
created_at: z.ZodNullable<z.ZodNumber>;
|
|
19
19
|
last_error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
20
20
|
code: z.ZodNullable<z.ZodString>;
|
|
21
21
|
message: z.ZodNullable<z.ZodString>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>>;
|
|
23
23
|
usage_bytes: z.ZodNullable<z.ZodNumber>;
|
|
24
24
|
vector_store_id: z.ZodNullable<z.ZodString>;
|
|
25
25
|
chunking_strategy: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
26
26
|
type: z.ZodNullable<z.ZodString>;
|
|
27
27
|
static: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
28
|
-
}, z.core.$
|
|
28
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
29
29
|
type: z.ZodNullable<z.ZodString>;
|
|
30
|
-
}, z.core.$
|
|
31
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>]>>>;
|
|
31
|
+
}, z.core.$loose>;
|
|
32
32
|
declare const openaiGetVectorStoreFile: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
33
33
|
file_id: string;
|
|
34
34
|
vector_store_id: string;
|