@keystrokehq/openai 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-upload-part.cjs +1 -0
- package/dist/actions/add-upload-part.cjs.map +1 -1
- package/dist/actions/add-upload-part.d.cts +3 -11
- package/dist/actions/add-upload-part.d.cts.map +1 -1
- package/dist/actions/add-upload-part.d.mts +3 -11
- package/dist/actions/add-upload-part.d.mts.map +1 -1
- package/dist/actions/add-upload-part.mjs +1 -0
- package/dist/actions/add-upload-part.mjs.map +1 -1
- package/dist/actions/cancel-batch.cjs +1 -0
- package/dist/actions/cancel-batch.cjs.map +1 -1
- package/dist/actions/cancel-batch.d.cts +3 -3
- package/dist/actions/cancel-batch.d.cts.map +1 -1
- package/dist/actions/cancel-batch.d.mts +3 -3
- package/dist/actions/cancel-batch.d.mts.map +1 -1
- package/dist/actions/cancel-batch.mjs +1 -0
- package/dist/actions/cancel-batch.mjs.map +1 -1
- package/dist/actions/cancel-eval-run.cjs +1 -0
- package/dist/actions/cancel-eval-run.cjs.map +1 -1
- package/dist/actions/cancel-eval-run.d.cts +3 -4
- package/dist/actions/cancel-eval-run.d.cts.map +1 -1
- package/dist/actions/cancel-eval-run.d.mts +3 -4
- package/dist/actions/cancel-eval-run.d.mts.map +1 -1
- package/dist/actions/cancel-eval-run.mjs +1 -0
- package/dist/actions/cancel-eval-run.mjs.map +1 -1
- package/dist/actions/cancel-response.cjs +1 -0
- package/dist/actions/cancel-response.cjs.map +1 -1
- package/dist/actions/cancel-response.d.cts +3 -3
- package/dist/actions/cancel-response.d.cts.map +1 -1
- package/dist/actions/cancel-response.d.mts +3 -3
- package/dist/actions/cancel-response.d.mts.map +1 -1
- package/dist/actions/cancel-response.mjs +1 -0
- package/dist/actions/cancel-response.mjs.map +1 -1
- package/dist/actions/cancel-run.cjs +1 -0
- package/dist/actions/cancel-run.cjs.map +1 -1
- package/dist/actions/cancel-run.d.cts +3 -4
- package/dist/actions/cancel-run.d.cts.map +1 -1
- package/dist/actions/cancel-run.d.mts +3 -4
- package/dist/actions/cancel-run.d.mts.map +1 -1
- package/dist/actions/cancel-run.mjs +1 -0
- package/dist/actions/cancel-run.mjs.map +1 -1
- package/dist/actions/cancel-upload.cjs +1 -0
- package/dist/actions/cancel-upload.cjs.map +1 -1
- package/dist/actions/cancel-upload.d.cts +3 -3
- package/dist/actions/cancel-upload.d.cts.map +1 -1
- package/dist/actions/cancel-upload.d.mts +3 -3
- package/dist/actions/cancel-upload.d.mts.map +1 -1
- package/dist/actions/cancel-upload.mjs +1 -0
- package/dist/actions/cancel-upload.mjs.map +1 -1
- package/dist/actions/compact-response.cjs +1 -0
- package/dist/actions/compact-response.cjs.map +1 -1
- package/dist/actions/compact-response.d.cts +3 -15
- package/dist/actions/compact-response.d.cts.map +1 -1
- package/dist/actions/compact-response.d.mts +3 -15
- package/dist/actions/compact-response.d.mts.map +1 -1
- package/dist/actions/compact-response.mjs +1 -0
- package/dist/actions/compact-response.mjs.map +1 -1
- package/dist/actions/create-audio-transcription.cjs +1 -0
- package/dist/actions/create-audio-transcription.cjs.map +1 -1
- package/dist/actions/create-audio-transcription.d.cts +3 -16
- package/dist/actions/create-audio-transcription.d.cts.map +1 -1
- package/dist/actions/create-audio-transcription.d.mts +3 -16
- package/dist/actions/create-audio-transcription.d.mts.map +1 -1
- package/dist/actions/create-audio-transcription.mjs +1 -0
- package/dist/actions/create-audio-transcription.mjs.map +1 -1
- package/dist/actions/create-audio-translation.cjs +1 -0
- package/dist/actions/create-audio-translation.cjs.map +1 -1
- package/dist/actions/create-audio-translation.d.cts +3 -14
- package/dist/actions/create-audio-translation.d.cts.map +1 -1
- package/dist/actions/create-audio-translation.d.mts +3 -14
- package/dist/actions/create-audio-translation.d.mts.map +1 -1
- package/dist/actions/create-audio-translation.mjs +1 -0
- package/dist/actions/create-audio-translation.mjs.map +1 -1
- package/dist/actions/create-batch.cjs +1 -0
- package/dist/actions/create-batch.cjs.map +1 -1
- package/dist/actions/create-batch.d.cts +3 -10
- package/dist/actions/create-batch.d.cts.map +1 -1
- package/dist/actions/create-batch.d.mts +3 -10
- package/dist/actions/create-batch.d.mts.map +1 -1
- package/dist/actions/create-batch.mjs +1 -0
- package/dist/actions/create-batch.mjs.map +1 -1
- package/dist/actions/create-chat-completion.cjs +1 -0
- package/dist/actions/create-chat-completion.cjs.map +1 -1
- package/dist/actions/create-chat-completion.d.cts +3 -60
- package/dist/actions/create-chat-completion.d.cts.map +1 -1
- package/dist/actions/create-chat-completion.d.mts +3 -60
- package/dist/actions/create-chat-completion.d.mts.map +1 -1
- package/dist/actions/create-chat-completion.mjs +1 -0
- package/dist/actions/create-chat-completion.mjs.map +1 -1
- package/dist/actions/create-completion.cjs +1 -0
- package/dist/actions/create-completion.cjs.map +1 -1
- package/dist/actions/create-completion.d.cts +3 -20
- package/dist/actions/create-completion.d.cts.map +1 -1
- package/dist/actions/create-completion.d.mts +3 -20
- package/dist/actions/create-completion.d.mts.map +1 -1
- package/dist/actions/create-completion.mjs +1 -0
- package/dist/actions/create-completion.mjs.map +1 -1
- package/dist/actions/create-container-file.cjs +1 -0
- package/dist/actions/create-container-file.cjs.map +1 -1
- package/dist/actions/create-container-file.d.cts +3 -5
- package/dist/actions/create-container-file.d.cts.map +1 -1
- package/dist/actions/create-container-file.d.mts +3 -5
- package/dist/actions/create-container-file.d.mts.map +1 -1
- package/dist/actions/create-container-file.mjs +1 -0
- package/dist/actions/create-container-file.mjs.map +1 -1
- package/dist/actions/create-container.cjs +1 -0
- package/dist/actions/create-container.cjs.map +1 -1
- package/dist/actions/create-container.d.cts +3 -30
- package/dist/actions/create-container.d.cts.map +1 -1
- package/dist/actions/create-container.d.mts +3 -30
- package/dist/actions/create-container.d.mts.map +1 -1
- package/dist/actions/create-container.mjs +1 -0
- package/dist/actions/create-container.mjs.map +1 -1
- package/dist/actions/create-conversation-items.cjs +1 -0
- package/dist/actions/create-conversation-items.cjs.map +1 -1
- package/dist/actions/create-conversation-items.d.cts +3 -14
- package/dist/actions/create-conversation-items.d.cts.map +1 -1
- package/dist/actions/create-conversation-items.d.mts +3 -14
- package/dist/actions/create-conversation-items.d.mts.map +1 -1
- package/dist/actions/create-conversation-items.mjs +1 -0
- package/dist/actions/create-conversation-items.mjs.map +1 -1
- package/dist/actions/create-conversation.cjs +1 -0
- package/dist/actions/create-conversation.cjs.map +1 -1
- package/dist/actions/create-conversation.d.cts +3 -9
- package/dist/actions/create-conversation.d.cts.map +1 -1
- package/dist/actions/create-conversation.d.mts +3 -9
- package/dist/actions/create-conversation.d.mts.map +1 -1
- package/dist/actions/create-conversation.mjs +1 -0
- package/dist/actions/create-conversation.mjs.map +1 -1
- package/dist/actions/create-embeddings.cjs +1 -0
- package/dist/actions/create-embeddings.cjs.map +1 -1
- package/dist/actions/create-embeddings.d.cts +3 -7
- package/dist/actions/create-embeddings.d.cts.map +1 -1
- package/dist/actions/create-embeddings.d.mts +3 -7
- package/dist/actions/create-embeddings.d.mts.map +1 -1
- package/dist/actions/create-embeddings.mjs +1 -0
- package/dist/actions/create-embeddings.mjs.map +1 -1
- package/dist/actions/create-eval-run.cjs +1 -0
- package/dist/actions/create-eval-run.cjs.map +1 -1
- package/dist/actions/create-eval-run.d.cts +3 -48
- package/dist/actions/create-eval-run.d.cts.map +1 -1
- package/dist/actions/create-eval-run.d.mts +3 -48
- package/dist/actions/create-eval-run.d.mts.map +1 -1
- package/dist/actions/create-eval-run.mjs +1 -0
- package/dist/actions/create-eval-run.mjs.map +1 -1
- package/dist/actions/create-eval.cjs +1 -0
- package/dist/actions/create-eval.cjs.map +1 -1
- package/dist/actions/create-eval.d.cts +3 -47
- package/dist/actions/create-eval.d.cts.map +1 -1
- package/dist/actions/create-eval.d.mts +3 -47
- package/dist/actions/create-eval.d.mts.map +1 -1
- package/dist/actions/create-eval.mjs +1 -0
- package/dist/actions/create-eval.mjs.map +1 -1
- package/dist/actions/create-fine-tuning-job.cjs +1 -0
- package/dist/actions/create-fine-tuning-job.cjs.map +1 -1
- package/dist/actions/create-fine-tuning-job.d.cts +3 -11
- package/dist/actions/create-fine-tuning-job.d.cts.map +1 -1
- package/dist/actions/create-fine-tuning-job.d.mts +3 -11
- package/dist/actions/create-fine-tuning-job.d.mts.map +1 -1
- package/dist/actions/create-fine-tuning-job.mjs +1 -0
- package/dist/actions/create-fine-tuning-job.mjs.map +1 -1
- package/dist/actions/create-image-edit.cjs +1 -0
- package/dist/actions/create-image-edit.cjs.map +1 -1
- package/dist/actions/create-image-edit.d.cts +4 -23
- package/dist/actions/create-image-edit.d.cts.map +1 -1
- package/dist/actions/create-image-edit.d.mts +4 -23
- package/dist/actions/create-image-edit.d.mts.map +1 -1
- package/dist/actions/create-image-edit.mjs +1 -0
- package/dist/actions/create-image-edit.mjs.map +1 -1
- package/dist/actions/create-image-variation.cjs +1 -0
- package/dist/actions/create-image-variation.cjs.map +1 -1
- package/dist/actions/create-image-variation.d.cts +3 -12
- package/dist/actions/create-image-variation.d.cts.map +1 -1
- package/dist/actions/create-image-variation.d.mts +3 -12
- package/dist/actions/create-image-variation.d.mts.map +1 -1
- package/dist/actions/create-image-variation.mjs +1 -0
- package/dist/actions/create-image-variation.mjs.map +1 -1
- package/dist/actions/create-image.cjs +1 -0
- package/dist/actions/create-image.cjs.map +1 -1
- package/dist/actions/create-image.d.cts +4 -14
- package/dist/actions/create-image.d.cts.map +1 -1
- package/dist/actions/create-image.d.mts +4 -14
- package/dist/actions/create-image.d.mts.map +1 -1
- package/dist/actions/create-image.mjs +1 -0
- package/dist/actions/create-image.mjs.map +1 -1
- package/dist/actions/create-message.cjs +1 -0
- package/dist/actions/create-message.cjs.map +1 -1
- package/dist/actions/create-message.d.cts +3 -21
- package/dist/actions/create-message.d.cts.map +1 -1
- package/dist/actions/create-message.d.mts +3 -21
- package/dist/actions/create-message.d.mts.map +1 -1
- package/dist/actions/create-message.mjs +1 -0
- package/dist/actions/create-message.mjs.map +1 -1
- package/dist/actions/create-moderation.cjs +1 -0
- package/dist/actions/create-moderation.cjs.map +1 -1
- package/dist/actions/create-moderation.d.cts +3 -9
- package/dist/actions/create-moderation.d.cts.map +1 -1
- package/dist/actions/create-moderation.d.mts +3 -9
- package/dist/actions/create-moderation.d.mts.map +1 -1
- package/dist/actions/create-moderation.mjs +1 -0
- package/dist/actions/create-moderation.mjs.map +1 -1
- package/dist/actions/create-realtime-call.cjs +1 -0
- package/dist/actions/create-realtime-call.cjs.map +1 -1
- package/dist/actions/create-realtime-call.d.cts +3 -4
- package/dist/actions/create-realtime-call.d.cts.map +1 -1
- package/dist/actions/create-realtime-call.d.mts +3 -4
- package/dist/actions/create-realtime-call.d.mts.map +1 -1
- package/dist/actions/create-realtime-call.mjs +1 -0
- package/dist/actions/create-realtime-call.mjs.map +1 -1
- package/dist/actions/create-realtime-client-secret.cjs +1 -0
- package/dist/actions/create-realtime-client-secret.cjs.map +1 -1
- package/dist/actions/create-realtime-client-secret.d.cts +3 -26
- package/dist/actions/create-realtime-client-secret.d.cts.map +1 -1
- package/dist/actions/create-realtime-client-secret.d.mts +3 -26
- package/dist/actions/create-realtime-client-secret.d.mts.map +1 -1
- package/dist/actions/create-realtime-client-secret.mjs +1 -0
- package/dist/actions/create-realtime-client-secret.mjs.map +1 -1
- package/dist/actions/create-realtime-session.cjs +1 -0
- package/dist/actions/create-realtime-session.cjs.map +1 -1
- package/dist/actions/create-realtime-session.d.cts +3 -48
- package/dist/actions/create-realtime-session.d.cts.map +1 -1
- package/dist/actions/create-realtime-session.d.mts +3 -48
- package/dist/actions/create-realtime-session.d.mts.map +1 -1
- package/dist/actions/create-realtime-session.mjs +1 -0
- package/dist/actions/create-realtime-session.mjs.map +1 -1
- package/dist/actions/create-realtime-transcription-session.cjs +1 -0
- package/dist/actions/create-realtime-transcription-session.cjs.map +1 -1
- package/dist/actions/create-realtime-transcription-session.d.cts +3 -18
- package/dist/actions/create-realtime-transcription-session.d.cts.map +1 -1
- package/dist/actions/create-realtime-transcription-session.d.mts +3 -18
- package/dist/actions/create-realtime-transcription-session.d.mts.map +1 -1
- package/dist/actions/create-realtime-transcription-session.mjs +1 -0
- package/dist/actions/create-realtime-transcription-session.mjs.map +1 -1
- package/dist/actions/create-response.cjs +1 -0
- package/dist/actions/create-response.cjs.map +1 -1
- package/dist/actions/create-response.d.cts +3 -63
- package/dist/actions/create-response.d.cts.map +1 -1
- package/dist/actions/create-response.d.mts +3 -63
- package/dist/actions/create-response.d.mts.map +1 -1
- package/dist/actions/create-response.mjs +1 -0
- package/dist/actions/create-response.mjs.map +1 -1
- package/dist/actions/create-run.cjs +1 -0
- package/dist/actions/create-run.cjs.map +1 -1
- package/dist/actions/create-run.d.cts +3 -52
- package/dist/actions/create-run.d.cts.map +1 -1
- package/dist/actions/create-run.d.mts +3 -52
- package/dist/actions/create-run.d.mts.map +1 -1
- package/dist/actions/create-run.mjs +1 -0
- package/dist/actions/create-run.mjs.map +1 -1
- package/dist/actions/create-skill.cjs +1 -0
- package/dist/actions/create-skill.cjs.map +1 -1
- package/dist/actions/create-skill.d.cts +3 -13
- package/dist/actions/create-skill.d.cts.map +1 -1
- package/dist/actions/create-skill.d.mts +3 -13
- package/dist/actions/create-skill.d.mts.map +1 -1
- package/dist/actions/create-skill.mjs +1 -0
- package/dist/actions/create-skill.mjs.map +1 -1
- package/dist/actions/create-speech.cjs +1 -0
- package/dist/actions/create-speech.cjs.map +1 -1
- package/dist/actions/create-speech.d.cts +3 -7
- package/dist/actions/create-speech.d.cts.map +1 -1
- package/dist/actions/create-speech.d.mts +3 -7
- package/dist/actions/create-speech.d.mts.map +1 -1
- package/dist/actions/create-speech.mjs +1 -0
- package/dist/actions/create-speech.mjs.map +1 -1
- package/dist/actions/create-thread-and-run.cjs +1 -0
- package/dist/actions/create-thread-and-run.cjs.map +1 -1
- package/dist/actions/create-thread-and-run.d.cts +3 -78
- package/dist/actions/create-thread-and-run.d.cts.map +1 -1
- package/dist/actions/create-thread-and-run.d.mts +3 -78
- package/dist/actions/create-thread-and-run.d.mts.map +1 -1
- package/dist/actions/create-thread-and-run.mjs +1 -0
- package/dist/actions/create-thread-and-run.mjs.map +1 -1
- package/dist/actions/create-thread.cjs +1 -0
- package/dist/actions/create-thread.cjs.map +1 -1
- package/dist/actions/create-thread.d.cts +3 -8
- package/dist/actions/create-thread.d.cts.map +1 -1
- package/dist/actions/create-thread.d.mts +3 -8
- package/dist/actions/create-thread.d.mts.map +1 -1
- package/dist/actions/create-thread.mjs +1 -0
- package/dist/actions/create-thread.mjs.map +1 -1
- package/dist/actions/create-upload.cjs +1 -0
- package/dist/actions/create-upload.cjs.map +1 -1
- package/dist/actions/create-upload.d.cts +3 -10
- package/dist/actions/create-upload.d.cts.map +1 -1
- package/dist/actions/create-upload.d.mts +3 -10
- package/dist/actions/create-upload.d.mts.map +1 -1
- package/dist/actions/create-upload.mjs +1 -0
- package/dist/actions/create-upload.mjs.map +1 -1
- package/dist/actions/create-vector-store-file-batch.cjs +1 -0
- package/dist/actions/create-vector-store-file-batch.cjs.map +1 -1
- package/dist/actions/create-vector-store-file-batch.d.cts +3 -34
- package/dist/actions/create-vector-store-file-batch.d.cts.map +1 -1
- package/dist/actions/create-vector-store-file-batch.d.mts +3 -34
- package/dist/actions/create-vector-store-file-batch.d.mts.map +1 -1
- package/dist/actions/create-vector-store-file-batch.mjs +1 -0
- package/dist/actions/create-vector-store-file-batch.mjs.map +1 -1
- package/dist/actions/create-vector-store-file.cjs +1 -0
- package/dist/actions/create-vector-store-file.cjs.map +1 -1
- package/dist/actions/create-vector-store-file.d.cts +3 -16
- package/dist/actions/create-vector-store-file.d.cts.map +1 -1
- package/dist/actions/create-vector-store-file.d.mts +3 -16
- package/dist/actions/create-vector-store-file.d.mts.map +1 -1
- package/dist/actions/create-vector-store-file.mjs +1 -0
- package/dist/actions/create-vector-store-file.mjs.map +1 -1
- package/dist/actions/create-vector-store.cjs +1 -0
- package/dist/actions/create-vector-store.cjs.map +1 -1
- package/dist/actions/create-vector-store.d.cts +3 -21
- package/dist/actions/create-vector-store.d.cts.map +1 -1
- package/dist/actions/create-vector-store.d.mts +3 -21
- package/dist/actions/create-vector-store.d.mts.map +1 -1
- package/dist/actions/create-vector-store.mjs +1 -0
- package/dist/actions/create-vector-store.mjs.map +1 -1
- package/dist/actions/create-video-remix.cjs +1 -0
- package/dist/actions/create-video-remix.cjs.map +1 -1
- package/dist/actions/create-video-remix.d.cts +3 -4
- package/dist/actions/create-video-remix.d.cts.map +1 -1
- package/dist/actions/create-video-remix.d.mts +3 -4
- package/dist/actions/create-video-remix.d.mts.map +1 -1
- package/dist/actions/create-video-remix.mjs +1 -0
- package/dist/actions/create-video-remix.mjs.map +1 -1
- package/dist/actions/create-video.cjs +1 -0
- package/dist/actions/create-video.cjs.map +1 -1
- package/dist/actions/create-video.d.cts +3 -6
- package/dist/actions/create-video.d.cts.map +1 -1
- package/dist/actions/create-video.d.mts +3 -6
- package/dist/actions/create-video.d.mts.map +1 -1
- package/dist/actions/create-video.mjs +1 -0
- package/dist/actions/create-video.mjs.map +1 -1
- package/dist/actions/delete-assistant.cjs +1 -0
- package/dist/actions/delete-assistant.cjs.map +1 -1
- package/dist/actions/delete-assistant.d.cts +3 -3
- package/dist/actions/delete-assistant.d.cts.map +1 -1
- package/dist/actions/delete-assistant.d.mts +3 -3
- package/dist/actions/delete-assistant.d.mts.map +1 -1
- package/dist/actions/delete-assistant.mjs +1 -0
- package/dist/actions/delete-assistant.mjs.map +1 -1
- package/dist/actions/delete-chat-completion.cjs +1 -0
- package/dist/actions/delete-chat-completion.cjs.map +1 -1
- package/dist/actions/delete-chat-completion.d.cts +3 -3
- package/dist/actions/delete-chat-completion.d.cts.map +1 -1
- package/dist/actions/delete-chat-completion.d.mts +3 -3
- package/dist/actions/delete-chat-completion.d.mts.map +1 -1
- package/dist/actions/delete-chat-completion.mjs +1 -0
- package/dist/actions/delete-chat-completion.mjs.map +1 -1
- package/dist/actions/delete-container-file.cjs +1 -0
- package/dist/actions/delete-container-file.cjs.map +1 -1
- package/dist/actions/delete-container-file.d.cts +3 -4
- package/dist/actions/delete-container-file.d.cts.map +1 -1
- package/dist/actions/delete-container-file.d.mts +3 -4
- package/dist/actions/delete-container-file.d.mts.map +1 -1
- package/dist/actions/delete-container-file.mjs +1 -0
- package/dist/actions/delete-container-file.mjs.map +1 -1
- package/dist/actions/delete-container.cjs +1 -0
- package/dist/actions/delete-container.cjs.map +1 -1
- package/dist/actions/delete-container.d.cts +3 -3
- package/dist/actions/delete-container.d.cts.map +1 -1
- package/dist/actions/delete-container.d.mts +3 -3
- package/dist/actions/delete-container.d.mts.map +1 -1
- package/dist/actions/delete-container.mjs +1 -0
- package/dist/actions/delete-container.mjs.map +1 -1
- package/dist/actions/delete-conversation-item.cjs +1 -0
- package/dist/actions/delete-conversation-item.cjs.map +1 -1
- package/dist/actions/delete-conversation-item.d.cts +3 -4
- package/dist/actions/delete-conversation-item.d.cts.map +1 -1
- package/dist/actions/delete-conversation-item.d.mts +3 -4
- package/dist/actions/delete-conversation-item.d.mts.map +1 -1
- package/dist/actions/delete-conversation-item.mjs +1 -0
- package/dist/actions/delete-conversation-item.mjs.map +1 -1
- package/dist/actions/delete-conversation.cjs +1 -0
- package/dist/actions/delete-conversation.cjs.map +1 -1
- package/dist/actions/delete-conversation.d.cts +3 -3
- package/dist/actions/delete-conversation.d.cts.map +1 -1
- package/dist/actions/delete-conversation.d.mts +3 -3
- package/dist/actions/delete-conversation.d.mts.map +1 -1
- package/dist/actions/delete-conversation.mjs +1 -0
- package/dist/actions/delete-conversation.mjs.map +1 -1
- package/dist/actions/delete-eval-run.cjs +1 -0
- package/dist/actions/delete-eval-run.cjs.map +1 -1
- package/dist/actions/delete-eval-run.d.cts +3 -4
- package/dist/actions/delete-eval-run.d.cts.map +1 -1
- package/dist/actions/delete-eval-run.d.mts +3 -4
- package/dist/actions/delete-eval-run.d.mts.map +1 -1
- package/dist/actions/delete-eval-run.mjs +1 -0
- package/dist/actions/delete-eval-run.mjs.map +1 -1
- package/dist/actions/delete-eval.cjs +1 -0
- package/dist/actions/delete-eval.cjs.map +1 -1
- package/dist/actions/delete-eval.d.cts +3 -3
- package/dist/actions/delete-eval.d.cts.map +1 -1
- package/dist/actions/delete-eval.d.mts +3 -3
- package/dist/actions/delete-eval.d.mts.map +1 -1
- package/dist/actions/delete-eval.mjs +1 -0
- package/dist/actions/delete-eval.mjs.map +1 -1
- package/dist/actions/delete-file.cjs +1 -0
- package/dist/actions/delete-file.cjs.map +1 -1
- package/dist/actions/delete-file.d.cts +3 -3
- package/dist/actions/delete-file.d.cts.map +1 -1
- package/dist/actions/delete-file.d.mts +3 -3
- package/dist/actions/delete-file.d.mts.map +1 -1
- package/dist/actions/delete-file.mjs +1 -0
- package/dist/actions/delete-file.mjs.map +1 -1
- package/dist/actions/delete-message.cjs +1 -0
- package/dist/actions/delete-message.cjs.map +1 -1
- package/dist/actions/delete-message.d.cts +3 -4
- package/dist/actions/delete-message.d.cts.map +1 -1
- package/dist/actions/delete-message.d.mts +3 -4
- package/dist/actions/delete-message.d.mts.map +1 -1
- package/dist/actions/delete-message.mjs +1 -0
- package/dist/actions/delete-message.mjs.map +1 -1
- package/dist/actions/delete-response.cjs +1 -0
- package/dist/actions/delete-response.cjs.map +1 -1
- package/dist/actions/delete-response.d.cts +3 -3
- package/dist/actions/delete-response.d.cts.map +1 -1
- package/dist/actions/delete-response.d.mts +3 -3
- package/dist/actions/delete-response.d.mts.map +1 -1
- package/dist/actions/delete-response.mjs +1 -0
- package/dist/actions/delete-response.mjs.map +1 -1
- package/dist/actions/delete-skill.cjs +1 -0
- package/dist/actions/delete-skill.cjs.map +1 -1
- package/dist/actions/delete-skill.d.cts +3 -3
- package/dist/actions/delete-skill.d.cts.map +1 -1
- package/dist/actions/delete-skill.d.mts +3 -3
- package/dist/actions/delete-skill.d.mts.map +1 -1
- package/dist/actions/delete-skill.mjs +1 -0
- package/dist/actions/delete-skill.mjs.map +1 -1
- package/dist/actions/delete-thread.cjs +1 -0
- package/dist/actions/delete-thread.cjs.map +1 -1
- package/dist/actions/delete-thread.d.cts +3 -3
- package/dist/actions/delete-thread.d.cts.map +1 -1
- package/dist/actions/delete-thread.d.mts +3 -3
- package/dist/actions/delete-thread.d.mts.map +1 -1
- package/dist/actions/delete-thread.mjs +1 -0
- package/dist/actions/delete-thread.mjs.map +1 -1
- package/dist/actions/delete-vector-store-file.cjs +1 -0
- package/dist/actions/delete-vector-store-file.cjs.map +1 -1
- package/dist/actions/delete-vector-store-file.d.cts +3 -4
- package/dist/actions/delete-vector-store-file.d.cts.map +1 -1
- package/dist/actions/delete-vector-store-file.d.mts +3 -4
- package/dist/actions/delete-vector-store-file.d.mts.map +1 -1
- package/dist/actions/delete-vector-store-file.mjs +1 -0
- package/dist/actions/delete-vector-store-file.mjs.map +1 -1
- package/dist/actions/delete-vector-store.cjs +1 -0
- package/dist/actions/delete-vector-store.cjs.map +1 -1
- package/dist/actions/delete-vector-store.d.cts +3 -3
- package/dist/actions/delete-vector-store.d.cts.map +1 -1
- package/dist/actions/delete-vector-store.d.mts +3 -3
- package/dist/actions/delete-vector-store.d.mts.map +1 -1
- package/dist/actions/delete-vector-store.mjs +1 -0
- package/dist/actions/delete-vector-store.mjs.map +1 -1
- package/dist/actions/delete-video.cjs +1 -0
- package/dist/actions/delete-video.cjs.map +1 -1
- package/dist/actions/delete-video.d.cts +3 -3
- package/dist/actions/delete-video.d.cts.map +1 -1
- package/dist/actions/delete-video.d.mts +3 -3
- package/dist/actions/delete-video.d.mts.map +1 -1
- package/dist/actions/delete-video.mjs +1 -0
- package/dist/actions/delete-video.mjs.map +1 -1
- package/dist/actions/download-file.cjs +1 -0
- package/dist/actions/download-file.cjs.map +1 -1
- package/dist/actions/download-file.d.cts +3 -3
- package/dist/actions/download-file.d.cts.map +1 -1
- package/dist/actions/download-file.d.mts +3 -3
- package/dist/actions/download-file.d.mts.map +1 -1
- package/dist/actions/download-file.mjs +1 -0
- package/dist/actions/download-file.mjs.map +1 -1
- package/dist/actions/download-video.cjs +1 -0
- package/dist/actions/download-video.cjs.map +1 -1
- package/dist/actions/download-video.d.cts +3 -4
- package/dist/actions/download-video.d.cts.map +1 -1
- package/dist/actions/download-video.d.mts +3 -4
- package/dist/actions/download-video.d.mts.map +1 -1
- package/dist/actions/download-video.mjs +1 -0
- package/dist/actions/download-video.mjs.map +1 -1
- package/dist/actions/get-chat-completion-messages.cjs +1 -0
- package/dist/actions/get-chat-completion-messages.cjs.map +1 -1
- package/dist/actions/get-chat-completion-messages.d.cts +3 -6
- package/dist/actions/get-chat-completion-messages.d.cts.map +1 -1
- package/dist/actions/get-chat-completion-messages.d.mts +3 -6
- package/dist/actions/get-chat-completion-messages.d.mts.map +1 -1
- package/dist/actions/get-chat-completion-messages.mjs +1 -0
- package/dist/actions/get-chat-completion-messages.mjs.map +1 -1
- package/dist/actions/get-chat-completion.cjs +1 -0
- package/dist/actions/get-chat-completion.cjs.map +1 -1
- package/dist/actions/get-chat-completion.d.cts +3 -3
- package/dist/actions/get-chat-completion.d.cts.map +1 -1
- package/dist/actions/get-chat-completion.d.mts +3 -3
- package/dist/actions/get-chat-completion.d.mts.map +1 -1
- package/dist/actions/get-chat-completion.mjs +1 -0
- package/dist/actions/get-chat-completion.mjs.map +1 -1
- package/dist/actions/get-chatkit-thread.cjs +1 -0
- package/dist/actions/get-chatkit-thread.cjs.map +1 -1
- package/dist/actions/get-chatkit-thread.d.cts +3 -3
- package/dist/actions/get-chatkit-thread.d.cts.map +1 -1
- package/dist/actions/get-chatkit-thread.d.mts +3 -3
- package/dist/actions/get-chatkit-thread.d.mts.map +1 -1
- package/dist/actions/get-chatkit-thread.mjs +1 -0
- package/dist/actions/get-chatkit-thread.mjs.map +1 -1
- package/dist/actions/get-conversation-item.cjs +1 -0
- package/dist/actions/get-conversation-item.cjs.map +1 -1
- package/dist/actions/get-conversation-item.d.cts +3 -5
- package/dist/actions/get-conversation-item.d.cts.map +1 -1
- package/dist/actions/get-conversation-item.d.mts +3 -5
- package/dist/actions/get-conversation-item.d.mts.map +1 -1
- package/dist/actions/get-conversation-item.mjs +1 -0
- package/dist/actions/get-conversation-item.mjs.map +1 -1
- package/dist/actions/get-eval-run-output-item.cjs +1 -0
- package/dist/actions/get-eval-run-output-item.cjs.map +1 -1
- package/dist/actions/get-eval-run-output-item.d.cts +3 -5
- package/dist/actions/get-eval-run-output-item.d.cts.map +1 -1
- package/dist/actions/get-eval-run-output-item.d.mts +3 -5
- package/dist/actions/get-eval-run-output-item.d.mts.map +1 -1
- package/dist/actions/get-eval-run-output-item.mjs +1 -0
- package/dist/actions/get-eval-run-output-item.mjs.map +1 -1
- package/dist/actions/get-eval-run-output-items.cjs +1 -0
- package/dist/actions/get-eval-run-output-items.cjs.map +1 -1
- package/dist/actions/get-eval-run-output-items.d.cts +3 -8
- package/dist/actions/get-eval-run-output-items.d.cts.map +1 -1
- package/dist/actions/get-eval-run-output-items.d.mts +3 -8
- package/dist/actions/get-eval-run-output-items.d.mts.map +1 -1
- package/dist/actions/get-eval-run-output-items.mjs +1 -0
- package/dist/actions/get-eval-run-output-items.mjs.map +1 -1
- package/dist/actions/get-eval-run.cjs +1 -0
- package/dist/actions/get-eval-run.cjs.map +1 -1
- package/dist/actions/get-eval-run.d.cts +3 -4
- package/dist/actions/get-eval-run.d.cts.map +1 -1
- package/dist/actions/get-eval-run.d.mts +3 -4
- package/dist/actions/get-eval-run.d.mts.map +1 -1
- package/dist/actions/get-eval-run.mjs +1 -0
- package/dist/actions/get-eval-run.mjs.map +1 -1
- package/dist/actions/get-eval-runs.cjs +1 -0
- package/dist/actions/get-eval-runs.cjs.map +1 -1
- package/dist/actions/get-eval-runs.d.cts +3 -7
- package/dist/actions/get-eval-runs.d.cts.map +1 -1
- package/dist/actions/get-eval-runs.d.mts +3 -7
- package/dist/actions/get-eval-runs.d.mts.map +1 -1
- package/dist/actions/get-eval-runs.mjs +1 -0
- package/dist/actions/get-eval-runs.mjs.map +1 -1
- package/dist/actions/get-eval.cjs +1 -0
- package/dist/actions/get-eval.cjs.map +1 -1
- package/dist/actions/get-eval.d.cts +3 -3
- package/dist/actions/get-eval.d.cts.map +1 -1
- package/dist/actions/get-eval.d.mts +3 -3
- package/dist/actions/get-eval.d.mts.map +1 -1
- package/dist/actions/get-eval.mjs +1 -0
- package/dist/actions/get-eval.mjs.map +1 -1
- package/dist/actions/get-input-token-counts.cjs +1 -0
- package/dist/actions/get-input-token-counts.cjs.map +1 -1
- package/dist/actions/get-input-token-counts.d.cts +4 -21
- package/dist/actions/get-input-token-counts.d.cts.map +1 -1
- package/dist/actions/get-input-token-counts.d.mts +4 -21
- package/dist/actions/get-input-token-counts.d.mts.map +1 -1
- package/dist/actions/get-input-token-counts.mjs +1 -0
- package/dist/actions/get-input-token-counts.mjs.map +1 -1
- package/dist/actions/get-message.cjs +1 -0
- package/dist/actions/get-message.cjs.map +1 -1
- package/dist/actions/get-message.d.cts +3 -4
- package/dist/actions/get-message.d.cts.map +1 -1
- package/dist/actions/get-message.d.mts +3 -4
- package/dist/actions/get-message.d.mts.map +1 -1
- package/dist/actions/get-message.mjs +1 -0
- package/dist/actions/get-message.mjs.map +1 -1
- package/dist/actions/get-response.cjs +1 -0
- package/dist/actions/get-response.cjs.map +1 -1
- package/dist/actions/get-response.d.cts +3 -7
- package/dist/actions/get-response.d.cts.map +1 -1
- package/dist/actions/get-response.d.mts +3 -7
- package/dist/actions/get-response.d.mts.map +1 -1
- package/dist/actions/get-response.mjs +1 -0
- package/dist/actions/get-response.mjs.map +1 -1
- package/dist/actions/get-run-step.cjs +1 -0
- package/dist/actions/get-run-step.cjs.map +1 -1
- package/dist/actions/get-run-step.d.cts +3 -6
- package/dist/actions/get-run-step.d.cts.map +1 -1
- package/dist/actions/get-run-step.d.mts +3 -6
- package/dist/actions/get-run-step.d.mts.map +1 -1
- package/dist/actions/get-run-step.mjs +1 -0
- package/dist/actions/get-run-step.mjs.map +1 -1
- package/dist/actions/get-vector-store-file-batch.cjs +1 -0
- package/dist/actions/get-vector-store-file-batch.cjs.map +1 -1
- package/dist/actions/get-vector-store-file-batch.d.cts +3 -4
- package/dist/actions/get-vector-store-file-batch.d.cts.map +1 -1
- package/dist/actions/get-vector-store-file-batch.d.mts +3 -4
- package/dist/actions/get-vector-store-file-batch.d.mts.map +1 -1
- package/dist/actions/get-vector-store-file-batch.mjs +1 -0
- package/dist/actions/get-vector-store-file-batch.mjs.map +1 -1
- package/dist/actions/get-vector-store-file.cjs +1 -0
- package/dist/actions/get-vector-store-file.cjs.map +1 -1
- package/dist/actions/get-vector-store-file.d.cts +3 -4
- package/dist/actions/get-vector-store-file.d.cts.map +1 -1
- package/dist/actions/get-vector-store-file.d.mts +3 -4
- package/dist/actions/get-vector-store-file.d.mts.map +1 -1
- package/dist/actions/get-vector-store-file.mjs +1 -0
- package/dist/actions/get-vector-store-file.mjs.map +1 -1
- package/dist/actions/get-vector-store.cjs +1 -0
- package/dist/actions/get-vector-store.cjs.map +1 -1
- package/dist/actions/get-vector-store.d.cts +3 -3
- package/dist/actions/get-vector-store.d.cts.map +1 -1
- package/dist/actions/get-vector-store.d.mts +3 -3
- package/dist/actions/get-vector-store.d.mts.map +1 -1
- package/dist/actions/get-vector-store.mjs +1 -0
- package/dist/actions/get-vector-store.mjs.map +1 -1
- package/dist/actions/get-video.cjs +1 -0
- package/dist/actions/get-video.cjs.map +1 -1
- package/dist/actions/get-video.d.cts +3 -3
- package/dist/actions/get-video.d.cts.map +1 -1
- package/dist/actions/get-video.d.mts +3 -3
- package/dist/actions/get-video.d.mts.map +1 -1
- package/dist/actions/get-video.mjs +1 -0
- package/dist/actions/get-video.mjs.map +1 -1
- package/dist/actions/list-assistants.cjs +1 -0
- package/dist/actions/list-assistants.cjs.map +1 -1
- package/dist/actions/list-assistants.d.cts +3 -6
- package/dist/actions/list-assistants.d.cts.map +1 -1
- package/dist/actions/list-assistants.d.mts +3 -6
- package/dist/actions/list-assistants.d.mts.map +1 -1
- package/dist/actions/list-assistants.mjs +1 -0
- package/dist/actions/list-assistants.mjs.map +1 -1
- package/dist/actions/list-batches.cjs +1 -0
- package/dist/actions/list-batches.cjs.map +1 -1
- package/dist/actions/list-batches.d.cts +3 -4
- package/dist/actions/list-batches.d.cts.map +1 -1
- package/dist/actions/list-batches.d.mts +3 -4
- package/dist/actions/list-batches.d.mts.map +1 -1
- package/dist/actions/list-batches.mjs +1 -0
- package/dist/actions/list-batches.mjs.map +1 -1
- package/dist/actions/list-chat-completions.cjs +1 -0
- package/dist/actions/list-chat-completions.cjs.map +1 -1
- package/dist/actions/list-chat-completions.d.cts +3 -7
- package/dist/actions/list-chat-completions.d.cts.map +1 -1
- package/dist/actions/list-chat-completions.d.mts +3 -7
- package/dist/actions/list-chat-completions.d.mts.map +1 -1
- package/dist/actions/list-chat-completions.mjs +1 -0
- package/dist/actions/list-chat-completions.mjs.map +1 -1
- package/dist/actions/list-chatkit-thread-items.cjs +1 -0
- package/dist/actions/list-chatkit-thread-items.cjs.map +1 -1
- package/dist/actions/list-chatkit-thread-items.d.cts +3 -7
- package/dist/actions/list-chatkit-thread-items.d.cts.map +1 -1
- package/dist/actions/list-chatkit-thread-items.d.mts +3 -7
- package/dist/actions/list-chatkit-thread-items.d.mts.map +1 -1
- package/dist/actions/list-chatkit-thread-items.mjs +1 -0
- package/dist/actions/list-chatkit-thread-items.mjs.map +1 -1
- package/dist/actions/list-container-files.cjs +1 -0
- package/dist/actions/list-container-files.cjs.map +1 -1
- package/dist/actions/list-container-files.d.cts +3 -6
- package/dist/actions/list-container-files.d.cts.map +1 -1
- package/dist/actions/list-container-files.d.mts +3 -6
- package/dist/actions/list-container-files.d.mts.map +1 -1
- package/dist/actions/list-container-files.mjs +1 -0
- package/dist/actions/list-container-files.mjs.map +1 -1
- package/dist/actions/list-containers.cjs +1 -0
- package/dist/actions/list-containers.cjs.map +1 -1
- package/dist/actions/list-containers.d.cts +3 -6
- package/dist/actions/list-containers.d.cts.map +1 -1
- package/dist/actions/list-containers.d.mts +3 -6
- package/dist/actions/list-containers.d.mts.map +1 -1
- package/dist/actions/list-containers.mjs +1 -0
- package/dist/actions/list-containers.mjs.map +1 -1
- package/dist/actions/list-conversation-items.cjs +1 -0
- package/dist/actions/list-conversation-items.cjs.map +1 -1
- package/dist/actions/list-conversation-items.d.cts +3 -7
- package/dist/actions/list-conversation-items.d.cts.map +1 -1
- package/dist/actions/list-conversation-items.d.mts +3 -7
- package/dist/actions/list-conversation-items.d.mts.map +1 -1
- package/dist/actions/list-conversation-items.mjs +1 -0
- package/dist/actions/list-conversation-items.mjs.map +1 -1
- package/dist/actions/list-engines.cjs +1 -0
- package/dist/actions/list-engines.cjs.map +1 -1
- package/dist/actions/list-engines.d.cts +3 -1
- package/dist/actions/list-engines.d.cts.map +1 -1
- package/dist/actions/list-engines.d.mts +3 -1
- package/dist/actions/list-engines.d.mts.map +1 -1
- package/dist/actions/list-engines.mjs +1 -0
- package/dist/actions/list-engines.mjs.map +1 -1
- package/dist/actions/list-evals.cjs +1 -0
- package/dist/actions/list-evals.cjs.map +1 -1
- package/dist/actions/list-evals.d.cts +3 -6
- package/dist/actions/list-evals.d.cts.map +1 -1
- package/dist/actions/list-evals.d.mts +3 -6
- package/dist/actions/list-evals.d.mts.map +1 -1
- package/dist/actions/list-evals.mjs +1 -0
- package/dist/actions/list-evals.mjs.map +1 -1
- package/dist/actions/list-files-in-vector-store-batch.cjs +1 -0
- package/dist/actions/list-files-in-vector-store-batch.cjs.map +1 -1
- package/dist/actions/list-files-in-vector-store-batch.d.cts +3 -9
- package/dist/actions/list-files-in-vector-store-batch.d.cts.map +1 -1
- package/dist/actions/list-files-in-vector-store-batch.d.mts +3 -9
- package/dist/actions/list-files-in-vector-store-batch.d.mts.map +1 -1
- package/dist/actions/list-files-in-vector-store-batch.mjs +1 -0
- package/dist/actions/list-files-in-vector-store-batch.mjs.map +1 -1
- package/dist/actions/list-files.cjs +1 -0
- package/dist/actions/list-files.cjs.map +1 -1
- package/dist/actions/list-files.d.cts +3 -5
- package/dist/actions/list-files.d.cts.map +1 -1
- package/dist/actions/list-files.d.mts +3 -5
- package/dist/actions/list-files.d.mts.map +1 -1
- package/dist/actions/list-files.mjs +1 -0
- package/dist/actions/list-files.mjs.map +1 -1
- package/dist/actions/list-fine-tunes.cjs +1 -0
- package/dist/actions/list-fine-tunes.cjs.map +1 -1
- package/dist/actions/list-fine-tunes.d.cts +3 -4
- package/dist/actions/list-fine-tunes.d.cts.map +1 -1
- package/dist/actions/list-fine-tunes.d.mts +3 -4
- package/dist/actions/list-fine-tunes.d.mts.map +1 -1
- package/dist/actions/list-fine-tunes.mjs +1 -0
- package/dist/actions/list-fine-tunes.mjs.map +1 -1
- package/dist/actions/list-fine-tuning-events.cjs +1 -0
- package/dist/actions/list-fine-tuning-events.cjs.map +1 -1
- package/dist/actions/list-fine-tuning-events.d.cts +3 -5
- package/dist/actions/list-fine-tuning-events.d.cts.map +1 -1
- package/dist/actions/list-fine-tuning-events.d.mts +3 -5
- package/dist/actions/list-fine-tuning-events.d.mts.map +1 -1
- package/dist/actions/list-fine-tuning-events.mjs +1 -0
- package/dist/actions/list-fine-tuning-events.mjs.map +1 -1
- package/dist/actions/list-fine-tuning-job-checkpoints.cjs +1 -0
- package/dist/actions/list-fine-tuning-job-checkpoints.cjs.map +1 -1
- package/dist/actions/list-fine-tuning-job-checkpoints.d.cts +3 -5
- package/dist/actions/list-fine-tuning-job-checkpoints.d.cts.map +1 -1
- package/dist/actions/list-fine-tuning-job-checkpoints.d.mts +3 -5
- package/dist/actions/list-fine-tuning-job-checkpoints.d.mts.map +1 -1
- package/dist/actions/list-fine-tuning-job-checkpoints.mjs +1 -0
- package/dist/actions/list-fine-tuning-job-checkpoints.mjs.map +1 -1
- package/dist/actions/list-input-items.cjs +1 -0
- package/dist/actions/list-input-items.cjs.map +1 -1
- package/dist/actions/list-input-items.d.cts +3 -7
- package/dist/actions/list-input-items.d.cts.map +1 -1
- package/dist/actions/list-input-items.d.mts +3 -7
- package/dist/actions/list-input-items.d.mts.map +1 -1
- package/dist/actions/list-input-items.mjs +1 -0
- package/dist/actions/list-input-items.mjs.map +1 -1
- package/dist/actions/list-messages.cjs +1 -0
- package/dist/actions/list-messages.cjs.map +1 -1
- package/dist/actions/list-messages.d.cts +3 -8
- package/dist/actions/list-messages.d.cts.map +1 -1
- package/dist/actions/list-messages.d.mts +3 -8
- package/dist/actions/list-messages.d.mts.map +1 -1
- package/dist/actions/list-messages.mjs +1 -0
- package/dist/actions/list-messages.mjs.map +1 -1
- package/dist/actions/list-models.cjs +1 -0
- package/dist/actions/list-models.cjs.map +1 -1
- package/dist/actions/list-models.d.cts +3 -1
- package/dist/actions/list-models.d.cts.map +1 -1
- package/dist/actions/list-models.d.mts +3 -1
- package/dist/actions/list-models.d.mts.map +1 -1
- package/dist/actions/list-models.mjs +1 -0
- package/dist/actions/list-models.mjs.map +1 -1
- package/dist/actions/list-run-steps.cjs +1 -0
- package/dist/actions/list-run-steps.cjs.map +1 -1
- package/dist/actions/list-run-steps.d.cts +3 -9
- package/dist/actions/list-run-steps.d.cts.map +1 -1
- package/dist/actions/list-run-steps.d.mts +3 -9
- package/dist/actions/list-run-steps.d.mts.map +1 -1
- package/dist/actions/list-run-steps.mjs +1 -0
- package/dist/actions/list-run-steps.mjs.map +1 -1
- package/dist/actions/list-runs.cjs +1 -0
- package/dist/actions/list-runs.cjs.map +1 -1
- package/dist/actions/list-runs.d.cts +3 -7
- package/dist/actions/list-runs.d.cts.map +1 -1
- package/dist/actions/list-runs.d.mts +3 -7
- package/dist/actions/list-runs.d.mts.map +1 -1
- package/dist/actions/list-runs.mjs +1 -0
- package/dist/actions/list-runs.mjs.map +1 -1
- package/dist/actions/list-skills.cjs +1 -0
- package/dist/actions/list-skills.cjs.map +1 -1
- package/dist/actions/list-skills.d.cts +3 -5
- package/dist/actions/list-skills.d.cts.map +1 -1
- package/dist/actions/list-skills.d.mts +3 -5
- package/dist/actions/list-skills.d.mts.map +1 -1
- package/dist/actions/list-skills.mjs +1 -0
- package/dist/actions/list-skills.mjs.map +1 -1
- package/dist/actions/list-threads.cjs +1 -0
- package/dist/actions/list-threads.cjs.map +1 -1
- package/dist/actions/list-threads.d.cts +3 -7
- package/dist/actions/list-threads.d.cts.map +1 -1
- package/dist/actions/list-threads.d.mts +3 -7
- package/dist/actions/list-threads.d.mts.map +1 -1
- package/dist/actions/list-threads.mjs +1 -0
- package/dist/actions/list-threads.mjs.map +1 -1
- package/dist/actions/list-vector-store-files.cjs +1 -0
- package/dist/actions/list-vector-store-files.cjs.map +1 -1
- package/dist/actions/list-vector-store-files.d.cts +3 -8
- package/dist/actions/list-vector-store-files.d.cts.map +1 -1
- package/dist/actions/list-vector-store-files.d.mts +3 -8
- package/dist/actions/list-vector-store-files.d.mts.map +1 -1
- package/dist/actions/list-vector-store-files.mjs +1 -0
- package/dist/actions/list-vector-store-files.mjs.map +1 -1
- package/dist/actions/list-vector-stores.cjs +1 -0
- package/dist/actions/list-vector-stores.cjs.map +1 -1
- package/dist/actions/list-vector-stores.d.cts +3 -6
- package/dist/actions/list-vector-stores.d.cts.map +1 -1
- package/dist/actions/list-vector-stores.d.mts +3 -6
- package/dist/actions/list-vector-stores.d.mts.map +1 -1
- package/dist/actions/list-vector-stores.mjs +1 -0
- package/dist/actions/list-vector-stores.mjs.map +1 -1
- package/dist/actions/list-videos.cjs +1 -0
- package/dist/actions/list-videos.cjs.map +1 -1
- package/dist/actions/list-videos.d.cts +3 -5
- package/dist/actions/list-videos.d.cts.map +1 -1
- package/dist/actions/list-videos.d.mts +3 -5
- package/dist/actions/list-videos.d.mts.map +1 -1
- package/dist/actions/list-videos.mjs +1 -0
- package/dist/actions/list-videos.mjs.map +1 -1
- package/dist/actions/modify-assistant.cjs +1 -0
- package/dist/actions/modify-assistant.cjs.map +1 -1
- package/dist/actions/modify-assistant.d.cts +3 -20
- package/dist/actions/modify-assistant.d.cts.map +1 -1
- package/dist/actions/modify-assistant.d.mts +3 -20
- package/dist/actions/modify-assistant.d.mts.map +1 -1
- package/dist/actions/modify-assistant.mjs +1 -0
- package/dist/actions/modify-assistant.mjs.map +1 -1
- package/dist/actions/modify-message.cjs +1 -0
- package/dist/actions/modify-message.cjs.map +1 -1
- package/dist/actions/modify-message.d.cts +3 -5
- package/dist/actions/modify-message.d.cts.map +1 -1
- package/dist/actions/modify-message.d.mts +3 -5
- package/dist/actions/modify-message.d.mts.map +1 -1
- package/dist/actions/modify-message.mjs +1 -0
- package/dist/actions/modify-message.mjs.map +1 -1
- package/dist/actions/modify-run.cjs +1 -0
- package/dist/actions/modify-run.cjs.map +1 -1
- package/dist/actions/modify-run.d.cts +3 -5
- package/dist/actions/modify-run.d.cts.map +1 -1
- package/dist/actions/modify-run.d.mts +3 -5
- package/dist/actions/modify-run.d.mts.map +1 -1
- package/dist/actions/modify-run.mjs +1 -0
- package/dist/actions/modify-run.mjs.map +1 -1
- package/dist/actions/modify-thread.cjs +1 -0
- package/dist/actions/modify-thread.cjs.map +1 -1
- package/dist/actions/modify-thread.d.cts +3 -4
- package/dist/actions/modify-thread.d.cts.map +1 -1
- package/dist/actions/modify-thread.d.mts +3 -4
- package/dist/actions/modify-thread.d.mts.map +1 -1
- package/dist/actions/modify-thread.mjs +1 -0
- package/dist/actions/modify-thread.mjs.map +1 -1
- package/dist/actions/modify-vector-store.cjs +1 -0
- package/dist/actions/modify-vector-store.cjs.map +1 -1
- package/dist/actions/modify-vector-store.d.cts +3 -9
- package/dist/actions/modify-vector-store.d.cts.map +1 -1
- package/dist/actions/modify-vector-store.d.mts +3 -9
- package/dist/actions/modify-vector-store.d.mts.map +1 -1
- package/dist/actions/modify-vector-store.mjs +1 -0
- package/dist/actions/modify-vector-store.mjs.map +1 -1
- package/dist/actions/retrieve-assistant.cjs +1 -0
- package/dist/actions/retrieve-assistant.cjs.map +1 -1
- package/dist/actions/retrieve-assistant.d.cts +3 -3
- package/dist/actions/retrieve-assistant.d.cts.map +1 -1
- package/dist/actions/retrieve-assistant.d.mts +3 -3
- package/dist/actions/retrieve-assistant.d.mts.map +1 -1
- package/dist/actions/retrieve-assistant.mjs +1 -0
- package/dist/actions/retrieve-assistant.mjs.map +1 -1
- package/dist/actions/retrieve-batch.cjs +1 -0
- package/dist/actions/retrieve-batch.cjs.map +1 -1
- package/dist/actions/retrieve-batch.d.cts +3 -3
- package/dist/actions/retrieve-batch.d.cts.map +1 -1
- package/dist/actions/retrieve-batch.d.mts +3 -3
- package/dist/actions/retrieve-batch.d.mts.map +1 -1
- package/dist/actions/retrieve-batch.mjs +1 -0
- package/dist/actions/retrieve-batch.mjs.map +1 -1
- package/dist/actions/retrieve-container-file-content.cjs +1 -0
- package/dist/actions/retrieve-container-file-content.cjs.map +1 -1
- package/dist/actions/retrieve-container-file-content.d.cts +3 -4
- package/dist/actions/retrieve-container-file-content.d.cts.map +1 -1
- package/dist/actions/retrieve-container-file-content.d.mts +3 -4
- package/dist/actions/retrieve-container-file-content.d.mts.map +1 -1
- package/dist/actions/retrieve-container-file-content.mjs +1 -0
- package/dist/actions/retrieve-container-file-content.mjs.map +1 -1
- package/dist/actions/retrieve-container-file.cjs +1 -0
- package/dist/actions/retrieve-container-file.cjs.map +1 -1
- package/dist/actions/retrieve-container-file.d.cts +3 -4
- package/dist/actions/retrieve-container-file.d.cts.map +1 -1
- package/dist/actions/retrieve-container-file.d.mts +3 -4
- package/dist/actions/retrieve-container-file.d.mts.map +1 -1
- package/dist/actions/retrieve-container-file.mjs +1 -0
- package/dist/actions/retrieve-container-file.mjs.map +1 -1
- package/dist/actions/retrieve-container.cjs +1 -0
- package/dist/actions/retrieve-container.cjs.map +1 -1
- package/dist/actions/retrieve-container.d.cts +3 -3
- package/dist/actions/retrieve-container.d.cts.map +1 -1
- package/dist/actions/retrieve-container.d.mts +3 -3
- package/dist/actions/retrieve-container.d.mts.map +1 -1
- package/dist/actions/retrieve-container.mjs +1 -0
- package/dist/actions/retrieve-container.mjs.map +1 -1
- package/dist/actions/retrieve-engine.cjs +1 -0
- package/dist/actions/retrieve-engine.cjs.map +1 -1
- package/dist/actions/retrieve-engine.d.cts +3 -3
- package/dist/actions/retrieve-engine.d.cts.map +1 -1
- package/dist/actions/retrieve-engine.d.mts +3 -3
- package/dist/actions/retrieve-engine.d.mts.map +1 -1
- package/dist/actions/retrieve-engine.mjs +1 -0
- package/dist/actions/retrieve-engine.mjs.map +1 -1
- package/dist/actions/retrieve-file.cjs +1 -0
- package/dist/actions/retrieve-file.cjs.map +1 -1
- package/dist/actions/retrieve-file.d.cts +3 -3
- package/dist/actions/retrieve-file.d.cts.map +1 -1
- package/dist/actions/retrieve-file.d.mts +3 -3
- package/dist/actions/retrieve-file.d.mts.map +1 -1
- package/dist/actions/retrieve-file.mjs +1 -0
- package/dist/actions/retrieve-file.mjs.map +1 -1
- package/dist/actions/retrieve-fine-tuning-job.cjs +1 -0
- package/dist/actions/retrieve-fine-tuning-job.cjs.map +1 -1
- package/dist/actions/retrieve-fine-tuning-job.d.cts +3 -3
- package/dist/actions/retrieve-fine-tuning-job.d.cts.map +1 -1
- package/dist/actions/retrieve-fine-tuning-job.d.mts +3 -3
- package/dist/actions/retrieve-fine-tuning-job.d.mts.map +1 -1
- package/dist/actions/retrieve-fine-tuning-job.mjs +1 -0
- package/dist/actions/retrieve-fine-tuning-job.mjs.map +1 -1
- package/dist/actions/retrieve-model.cjs +1 -0
- package/dist/actions/retrieve-model.cjs.map +1 -1
- package/dist/actions/retrieve-model.d.cts +3 -3
- package/dist/actions/retrieve-model.d.cts.map +1 -1
- package/dist/actions/retrieve-model.d.mts +3 -3
- package/dist/actions/retrieve-model.d.mts.map +1 -1
- package/dist/actions/retrieve-model.mjs +1 -0
- package/dist/actions/retrieve-model.mjs.map +1 -1
- package/dist/actions/retrieve-run.cjs +1 -0
- package/dist/actions/retrieve-run.cjs.map +1 -1
- package/dist/actions/retrieve-run.d.cts +3 -4
- package/dist/actions/retrieve-run.d.cts.map +1 -1
- package/dist/actions/retrieve-run.d.mts +3 -4
- package/dist/actions/retrieve-run.d.mts.map +1 -1
- package/dist/actions/retrieve-run.mjs +1 -0
- package/dist/actions/retrieve-run.mjs.map +1 -1
- package/dist/actions/retrieve-thread.cjs +1 -0
- package/dist/actions/retrieve-thread.cjs.map +1 -1
- package/dist/actions/retrieve-thread.d.cts +3 -3
- package/dist/actions/retrieve-thread.d.cts.map +1 -1
- package/dist/actions/retrieve-thread.d.mts +3 -3
- package/dist/actions/retrieve-thread.d.mts.map +1 -1
- package/dist/actions/retrieve-thread.mjs +1 -0
- package/dist/actions/retrieve-thread.mjs.map +1 -1
- package/dist/actions/retrieve-vector-store-file-content.cjs +1 -0
- package/dist/actions/retrieve-vector-store-file-content.cjs.map +1 -1
- package/dist/actions/retrieve-vector-store-file-content.d.cts +3 -4
- package/dist/actions/retrieve-vector-store-file-content.d.cts.map +1 -1
- package/dist/actions/retrieve-vector-store-file-content.d.mts +3 -4
- package/dist/actions/retrieve-vector-store-file-content.d.mts.map +1 -1
- package/dist/actions/retrieve-vector-store-file-content.mjs +1 -0
- package/dist/actions/retrieve-vector-store-file-content.mjs.map +1 -1
- package/dist/actions/run-grader.cjs +1 -0
- package/dist/actions/run-grader.cjs.map +1 -1
- package/dist/actions/run-grader.d.cts +3 -39
- package/dist/actions/run-grader.d.cts.map +1 -1
- package/dist/actions/run-grader.d.mts +3 -39
- package/dist/actions/run-grader.d.mts.map +1 -1
- package/dist/actions/run-grader.mjs +1 -0
- package/dist/actions/run-grader.mjs.map +1 -1
- package/dist/actions/search-vector-store.cjs +1 -0
- package/dist/actions/search-vector-store.cjs.map +1 -1
- package/dist/actions/search-vector-store.d.cts +3 -11
- package/dist/actions/search-vector-store.d.cts.map +1 -1
- package/dist/actions/search-vector-store.d.mts +3 -11
- package/dist/actions/search-vector-store.d.mts.map +1 -1
- package/dist/actions/search-vector-store.mjs +1 -0
- package/dist/actions/search-vector-store.mjs.map +1 -1
- package/dist/actions/submit-tool-outputs-to-run.cjs +1 -0
- package/dist/actions/submit-tool-outputs-to-run.cjs.map +1 -1
- package/dist/actions/submit-tool-outputs-to-run.d.cts +3 -10
- package/dist/actions/submit-tool-outputs-to-run.d.cts.map +1 -1
- package/dist/actions/submit-tool-outputs-to-run.d.mts +3 -10
- package/dist/actions/submit-tool-outputs-to-run.d.mts.map +1 -1
- package/dist/actions/submit-tool-outputs-to-run.mjs +1 -0
- package/dist/actions/submit-tool-outputs-to-run.mjs.map +1 -1
- package/dist/actions/update-chat-completion.cjs +1 -0
- package/dist/actions/update-chat-completion.cjs.map +1 -1
- package/dist/actions/update-chat-completion.d.cts +3 -4
- package/dist/actions/update-chat-completion.d.cts.map +1 -1
- package/dist/actions/update-chat-completion.d.mts +3 -4
- package/dist/actions/update-chat-completion.d.mts.map +1 -1
- package/dist/actions/update-chat-completion.mjs +1 -0
- package/dist/actions/update-chat-completion.mjs.map +1 -1
- package/dist/actions/update-conversation.cjs +1 -0
- package/dist/actions/update-conversation.cjs.map +1 -1
- package/dist/actions/update-conversation.d.cts +3 -4
- package/dist/actions/update-conversation.d.cts.map +1 -1
- package/dist/actions/update-conversation.d.mts +3 -4
- package/dist/actions/update-conversation.d.mts.map +1 -1
- package/dist/actions/update-conversation.mjs +1 -0
- package/dist/actions/update-conversation.mjs.map +1 -1
- package/dist/actions/update-eval.cjs +1 -0
- package/dist/actions/update-eval.cjs.map +1 -1
- package/dist/actions/update-eval.d.cts +3 -5
- package/dist/actions/update-eval.d.cts.map +1 -1
- package/dist/actions/update-eval.d.mts +3 -5
- package/dist/actions/update-eval.d.mts.map +1 -1
- package/dist/actions/update-eval.mjs +1 -0
- package/dist/actions/update-eval.mjs.map +1 -1
- package/dist/actions/update-vector-store-file-attributes.cjs +1 -0
- package/dist/actions/update-vector-store-file-attributes.cjs.map +1 -1
- package/dist/actions/update-vector-store-file-attributes.d.cts +3 -5
- package/dist/actions/update-vector-store-file-attributes.d.cts.map +1 -1
- package/dist/actions/update-vector-store-file-attributes.d.mts +3 -5
- package/dist/actions/update-vector-store-file-attributes.d.mts.map +1 -1
- package/dist/actions/update-vector-store-file-attributes.mjs +1 -0
- package/dist/actions/update-vector-store-file-attributes.mjs.map +1 -1
- package/dist/actions/upload-file.cjs +1 -0
- package/dist/actions/upload-file.cjs.map +1 -1
- package/dist/actions/upload-file.d.cts +3 -4
- package/dist/actions/upload-file.d.cts.map +1 -1
- package/dist/actions/upload-file.d.mts +3 -4
- package/dist/actions/upload-file.d.mts.map +1 -1
- package/dist/actions/upload-file.mjs +1 -0
- package/dist/actions/upload-file.mjs.map +1 -1
- package/dist/actions/validate-grader.cjs +1 -0
- package/dist/actions/validate-grader.cjs.map +1 -1
- package/dist/actions/validate-grader.d.cts +3 -37
- package/dist/actions/validate-grader.d.cts.map +1 -1
- package/dist/actions/validate-grader.d.mts +3 -37
- package/dist/actions/validate-grader.d.mts.map +1 -1
- package/dist/actions/validate-grader.mjs +1 -0
- package/dist/actions/validate-grader.mjs.map +1 -1
- package/dist/app.cjs +9 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +8 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +8 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +6 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modify-run.mjs","names":[],"sources":["../../src/actions/modify-run.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiModifyRunInput = z.object({\n run_id: z.string().describe(\"The ID of the run to modify\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Set of up to 16 key-value pairs that can be attached to the run. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. This can be useful for storing additional information about the run in a structured format\").optional(),\n thread_id: z.string().describe(\"The ID of the thread that was run\"),\n}).describe(\"Request model for modifying a run.\");\nconst OpenaiModifyRun_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(\"Usage statistics for the run.\");\nconst OpenaiModifyRun_LastErrorSchema = z.object({\n code: z.enum([\"server_error\", \"rate_limit_exceeded\", \"invalid_prompt\"]).describe(\"One of server_error, rate_limit_exceeded, or invalid_prompt\").nullable(),\n message: z.string().describe(\"A human-readable description of the error\").nullable(),\n}).passthrough().describe(\"Last error associated with the run.\");\nconst OpenaiModifyRun_RequiredActionSchema = z.object({\n type: z.string().describe(\"For now, this is always submit_tool_outputs\").nullable(),\n submit_tool_outputs: z.record(z.string(), z.unknown()).describe(\"Details on the tool outputs needed for this run to continue\"),\n}).passthrough().describe(\"Details on the action required to continue the run.\");\nconst OpenaiModifyRun_IncompleteDetailsSchema = z.object({\n reason: z.enum([\"max_completion_tokens\", \"max_prompt_tokens\"]).describe(\"The reason why the run is incomplete. This will point to which specific token limit was reached over the course of the run\").nullable().optional(),\n}).passthrough().describe(\"Details on why the run is incomplete.\");\nconst OpenaiModifyRun_TruncationStrategySchema = z.object({\n type: z.string().describe(\"Truncation strategy type\").nullable(),\n last_messages: z.unknown().describe(\"Number of most recent messages to retain\").nullable().optional(),\n}).passthrough().describe(\"Thread truncation controls.\");\nexport const OpenaiModifyRunOutput = z.object({\n id: z.string().describe(\"The identifier, which can be referenced in API endpoints\").nullable(),\n model: z.string().describe(\"The model that the assistant used for this run\").nullable(),\n tools: z.array(z.record(z.string(), z.unknown())).describe(\"The list of tools that the assistant used for this run\"),\n top_p: z.number().describe(\"The nucleus sampling value used for this run. If not set, defaults to 1\").nullable().optional(),\n usage: OpenaiModifyRun_UsageSchema.nullable().optional(),\n object: z.string().describe(\"The object type, which is always thread.run\").nullable(),\n status: z.enum([\"queued\", \"in_progress\", \"requires_action\", \"cancelling\", \"cancelled\", \"failed\", \"completed\", \"incomplete\", \"expired\"]).describe(\"The status of the run, which can be either queued, in_progress, requires_action, cancelling, cancelled, failed, completed, incomplete, or expired\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Set of 16 key-value pairs for storing additional information\").nullable().optional(),\n failed_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the run failed\").nullable().optional(),\n thread_id: z.string().describe(\"The ID of the thread that was executed on as a part of this run\").nullable(),\n created_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the run was created\").nullable(),\n expires_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the run will expire\").nullable().optional(),\n last_error: OpenaiModifyRun_LastErrorSchema.nullable().optional(),\n started_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the run was started\").nullable().optional(),\n temperature: z.number().describe(\"The sampling temperature used for this run. If not set, defaults to 1\").nullable().optional(),\n tool_choice: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n assistant_id: z.string().describe(\"The ID of the assistant used for execution of this run\").nullable(),\n cancelled_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the run was cancelled\").nullable().optional(),\n completed_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the run was completed\").nullable().optional(),\n instructions: z.string().describe(\"The instructions that the assistant used for this run\").nullable().optional(),\n required_action: OpenaiModifyRun_RequiredActionSchema.nullable().optional(),\n response_format: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n max_prompt_tokens: z.number().int().describe(\"The maximum number of prompt tokens specified to have been used over the course of the run\").nullable().optional(),\n incomplete_details: OpenaiModifyRun_IncompleteDetailsSchema.nullable().optional(),\n parallel_tool_calls: z.boolean().describe(\"Whether to enable parallel function calling during tool use\").nullable(),\n truncation_strategy: OpenaiModifyRun_TruncationStrategySchema.nullable().optional(),\n max_completion_tokens: z.number().int().describe(\"The maximum number of completion tokens specified to have been used over the course of the run\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a modified run.\");\n\nexport const openaiModifyRun = action(\"OPENAI_MODIFY_RUN\", {\n slug: \"openai-modify-run\",\n name: \"Modify Run\",\n description: \"Tool to modify a run's metadata. Use when you need to update metadata information for a specific run.\",\n input: OpenaiModifyRunInput,\n output: OpenaiModifyRunOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuB,EAAE,OAAO;CAC3C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACzD,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6PAA6P,CAAC,CAAC,SAAS;CAC7T,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;AACpE,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,8BAA8B,EAAE,OAAO;CAC3C,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,+BAA+B;AACzD,MAAM,kCAAkC,EAAE,OAAO;CAC/C,MAAM,EAAE,KAAK;EAAC;EAAgB;EAAuB;CAAgB,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACzJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAM,uCAAuC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAClF,qBAAqB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAC/H,CAAC,CAAC,CAAC,YAAY,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AS;EAC1E,iBAAiB,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/J,oBAAoB,wCAAwC,SAAS,CAAC,CAAC,SAAS;EAChF,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EAClH,qBAAqB,yCAAyC,SAAS,CAAC,CAAC,SAAS;EAClF,uBAAuB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAOhB;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"modify-run.mjs","names":[],"sources":["../../src/actions/modify-run.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { openai } from \"../app\";\n\nexport const OpenaiModifyRunInput = z.object({\n run_id: z.string().describe(\"The ID of the run to modify\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Set of up to 16 key-value pairs that can be attached to the run. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. This can be useful for storing additional information about the run in a structured format\").optional(),\n thread_id: z.string().describe(\"The ID of the thread that was run\"),\n}).describe(\"Request model for modifying a run.\");\nconst OpenaiModifyRun_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(\"Usage statistics for the run.\");\nconst OpenaiModifyRun_LastErrorSchema = z.object({\n code: z.enum([\"server_error\", \"rate_limit_exceeded\", \"invalid_prompt\"]).describe(\"One of server_error, rate_limit_exceeded, or invalid_prompt\").nullable(),\n message: z.string().describe(\"A human-readable description of the error\").nullable(),\n}).passthrough().describe(\"Last error associated with the run.\");\nconst OpenaiModifyRun_RequiredActionSchema = z.object({\n type: z.string().describe(\"For now, this is always submit_tool_outputs\").nullable(),\n submit_tool_outputs: z.record(z.string(), z.unknown()).describe(\"Details on the tool outputs needed for this run to continue\"),\n}).passthrough().describe(\"Details on the action required to continue the run.\");\nconst OpenaiModifyRun_IncompleteDetailsSchema = z.object({\n reason: z.enum([\"max_completion_tokens\", \"max_prompt_tokens\"]).describe(\"The reason why the run is incomplete. This will point to which specific token limit was reached over the course of the run\").nullable().optional(),\n}).passthrough().describe(\"Details on why the run is incomplete.\");\nconst OpenaiModifyRun_TruncationStrategySchema = z.object({\n type: z.string().describe(\"Truncation strategy type\").nullable(),\n last_messages: z.unknown().describe(\"Number of most recent messages to retain\").nullable().optional(),\n}).passthrough().describe(\"Thread truncation controls.\");\nexport const OpenaiModifyRunOutput = z.object({\n id: z.string().describe(\"The identifier, which can be referenced in API endpoints\").nullable(),\n model: z.string().describe(\"The model that the assistant used for this run\").nullable(),\n tools: z.array(z.record(z.string(), z.unknown())).describe(\"The list of tools that the assistant used for this run\"),\n top_p: z.number().describe(\"The nucleus sampling value used for this run. If not set, defaults to 1\").nullable().optional(),\n usage: OpenaiModifyRun_UsageSchema.nullable().optional(),\n object: z.string().describe(\"The object type, which is always thread.run\").nullable(),\n status: z.enum([\"queued\", \"in_progress\", \"requires_action\", \"cancelling\", \"cancelled\", \"failed\", \"completed\", \"incomplete\", \"expired\"]).describe(\"The status of the run, which can be either queued, in_progress, requires_action, cancelling, cancelled, failed, completed, incomplete, or expired\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Set of 16 key-value pairs for storing additional information\").nullable().optional(),\n failed_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the run failed\").nullable().optional(),\n thread_id: z.string().describe(\"The ID of the thread that was executed on as a part of this run\").nullable(),\n created_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the run was created\").nullable(),\n expires_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the run will expire\").nullable().optional(),\n last_error: OpenaiModifyRun_LastErrorSchema.nullable().optional(),\n started_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the run was started\").nullable().optional(),\n temperature: z.number().describe(\"The sampling temperature used for this run. If not set, defaults to 1\").nullable().optional(),\n tool_choice: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n assistant_id: z.string().describe(\"The ID of the assistant used for execution of this run\").nullable(),\n cancelled_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the run was cancelled\").nullable().optional(),\n completed_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the run was completed\").nullable().optional(),\n instructions: z.string().describe(\"The instructions that the assistant used for this run\").nullable().optional(),\n required_action: OpenaiModifyRun_RequiredActionSchema.nullable().optional(),\n response_format: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n max_prompt_tokens: z.number().int().describe(\"The maximum number of prompt tokens specified to have been used over the course of the run\").nullable().optional(),\n incomplete_details: OpenaiModifyRun_IncompleteDetailsSchema.nullable().optional(),\n parallel_tool_calls: z.boolean().describe(\"Whether to enable parallel function calling during tool use\").nullable(),\n truncation_strategy: OpenaiModifyRun_TruncationStrategySchema.nullable().optional(),\n max_completion_tokens: z.number().int().describe(\"The maximum number of completion tokens specified to have been used over the course of the run\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a modified run.\");\n\nexport const openaiModifyRun: AppAction<\n typeof OpenaiModifyRunInput,\n typeof OpenaiModifyRunOutput,\n typeof openai.credential\n> = action(\"OPENAI_MODIFY_RUN\", {\n slug: \"openai-modify-run\",\n name: \"Modify Run\",\n description: \"Tool to modify a run's metadata. Use when you need to update metadata information for a specific run.\",\n input: OpenaiModifyRunInput,\n output: Openai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AAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/J,oBAAoB,wCAAwC,SAAS,CAAC,CAAC,SAAS;EAChF,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EAClH,qBAAqB,yCAAyC,SAAS,CAAC,CAAC,SAAS;EAClF,uBAAuB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modify-thread.cjs","names":["z","action"],"sources":["../../src/actions/modify-thread.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiModifyThreadInput = z.object({\n metadata: z.record(z.string(), z.unknown()).describe(\"Arbitrary JSON metadata to attach to the thread Values must be short strings; large, nested, or complex payloads are rejected.\").optional(),\n thread_id: z.string().describe(\"ID of the thread to modify\"),\n}).describe(\"Request model for modifying an existing thread.\");\nexport const OpenaiModifyThreadOutput = z.object({\n id: z.string().describe(\"The thread's unique identifier\").nullable(),\n object: z.string().describe(\"Object type, always 'thread'\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Metadata key-value pairs attached to the thread\"),\n created_at: z.number().int().describe(\"Unix timestamp when the thread was created\").nullable(),\n}).passthrough().describe(\"Response schema for the modified thread.\");\n\nexport const openaiModifyThread = action(\"OPENAI_MODIFY_THREAD\", {\n slug: \"openai-modify-thread\",\n name: \"Modify thread\",\n description: \"Tool to modify an existing thread's metadata. Use after obtaining the thread ID when you need to update metadata.\",\n input: OpenaiModifyThreadInput,\n output: OpenaiModifyThreadOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"modify-thread.cjs","names":["z","action"],"sources":["../../src/actions/modify-thread.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { openai } from \"../app\";\n\nexport const OpenaiModifyThreadInput = z.object({\n metadata: z.record(z.string(), z.unknown()).describe(\"Arbitrary JSON metadata to attach to the thread Values must be short strings; large, nested, or complex payloads are rejected.\").optional(),\n thread_id: z.string().describe(\"ID of the thread to modify\"),\n}).describe(\"Request model for modifying an existing thread.\");\nexport const OpenaiModifyThreadOutput = z.object({\n id: z.string().describe(\"The thread's unique identifier\").nullable(),\n object: z.string().describe(\"Object type, always 'thread'\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Metadata key-value pairs attached to the thread\"),\n created_at: z.number().int().describe(\"Unix timestamp when the thread was created\").nullable(),\n}).passthrough().describe(\"Response schema for the modified thread.\");\n\nexport const openaiModifyThread: AppAction<\n typeof OpenaiModifyThreadInput,\n typeof OpenaiModifyThreadOutput,\n typeof openai.credential\n> = action(\"OPENAI_MODIFY_THREAD\", {\n slug: \"openai-modify-thread\",\n name: \"Modify thread\",\n description: \"Tool to modify an existing thread's metadata. Use after obtaining the thread ID when you need to update metadata.\",\n input: OpenaiModifyThreadInput,\n output: OpenaiModifyThreadOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;CAChM,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;AAC7D,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACrE,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD;CACtG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,qBAITC,eAAAA,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { openai } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/modify-thread.d.ts
|
|
@@ -11,10 +13,7 @@ declare const OpenaiModifyThreadOutput: z.ZodObject<{
|
|
|
11
13
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
12
14
|
created_at: z.ZodNullable<z.ZodNumber>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const openaiModifyThread:
|
|
15
|
-
thread_id: string;
|
|
16
|
-
metadata?: Record<string, unknown> | undefined;
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
16
|
+
declare const openaiModifyThread: AppAction<typeof OpenaiModifyThreadInput, typeof OpenaiModifyThreadOutput, typeof openai.credential>;
|
|
18
17
|
//#endregion
|
|
19
18
|
export { openaiModifyThread };
|
|
20
19
|
//# sourceMappingURL=modify-thread.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modify-thread.d.cts","names":[],"sources":["../../src/actions/modify-thread.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"modify-thread.d.cts","names":[],"sources":["../../src/actions/modify-thread.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAIvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;cAOxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { openai } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/modify-thread.d.ts
|
|
@@ -11,10 +13,7 @@ declare const OpenaiModifyThreadOutput: z.ZodObject<{
|
|
|
11
13
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
12
14
|
created_at: z.ZodNullable<z.ZodNumber>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const openaiModifyThread:
|
|
15
|
-
thread_id: string;
|
|
16
|
-
metadata?: Record<string, unknown> | undefined;
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
16
|
+
declare const openaiModifyThread: AppAction<typeof OpenaiModifyThreadInput, typeof OpenaiModifyThreadOutput, typeof openai.credential>;
|
|
18
17
|
//#endregion
|
|
19
18
|
export { openaiModifyThread };
|
|
20
19
|
//# sourceMappingURL=modify-thread.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modify-thread.d.mts","names":[],"sources":["../../src/actions/modify-thread.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"modify-thread.d.mts","names":[],"sources":["../../src/actions/modify-thread.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAIvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;cAOxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modify-thread.mjs","names":[],"sources":["../../src/actions/modify-thread.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiModifyThreadInput = z.object({\n metadata: z.record(z.string(), z.unknown()).describe(\"Arbitrary JSON metadata to attach to the thread Values must be short strings; large, nested, or complex payloads are rejected.\").optional(),\n thread_id: z.string().describe(\"ID of the thread to modify\"),\n}).describe(\"Request model for modifying an existing thread.\");\nexport const OpenaiModifyThreadOutput = z.object({\n id: z.string().describe(\"The thread's unique identifier\").nullable(),\n object: z.string().describe(\"Object type, always 'thread'\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Metadata key-value pairs attached to the thread\"),\n created_at: z.number().int().describe(\"Unix timestamp when the thread was created\").nullable(),\n}).passthrough().describe(\"Response schema for the modified thread.\");\n\nexport const openaiModifyThread = action(\"OPENAI_MODIFY_THREAD\", {\n slug: \"openai-modify-thread\",\n name: \"Modify thread\",\n description: \"Tool to modify an existing thread's metadata. Use after obtaining the thread ID when you need to update metadata.\",\n input: OpenaiModifyThreadInput,\n output: OpenaiModifyThreadOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"modify-thread.mjs","names":[],"sources":["../../src/actions/modify-thread.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { openai } from \"../app\";\n\nexport const OpenaiModifyThreadInput = z.object({\n metadata: z.record(z.string(), z.unknown()).describe(\"Arbitrary JSON metadata to attach to the thread Values must be short strings; large, nested, or complex payloads are rejected.\").optional(),\n thread_id: z.string().describe(\"ID of the thread to modify\"),\n}).describe(\"Request model for modifying an existing thread.\");\nexport const OpenaiModifyThreadOutput = z.object({\n id: z.string().describe(\"The thread's unique identifier\").nullable(),\n object: z.string().describe(\"Object type, always 'thread'\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Metadata key-value pairs attached to the thread\"),\n created_at: z.number().int().describe(\"Unix timestamp when the thread was created\").nullable(),\n}).passthrough().describe(\"Response schema for the modified thread.\");\n\nexport const openaiModifyThread: AppAction<\n typeof OpenaiModifyThreadInput,\n typeof OpenaiModifyThreadOutput,\n typeof openai.credential\n> = action(\"OPENAI_MODIFY_THREAD\", {\n slug: \"openai-modify-thread\",\n name: \"Modify thread\",\n description: \"Tool to modify an existing thread's metadata. Use after obtaining the thread ID when you need to update metadata.\",\n input: OpenaiModifyThreadInput,\n output: OpenaiModifyThreadOutput,\n});\n"],"mappings":";;;AAiBA,MAAa,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBqC,EAAE,OAAO;EAC9C,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;EAChM,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CAC7D,CAAC,CAAC,CAAC,SAAS,iDAgBH;CACP,QAhBsC,EAAE,OAAO;EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACnE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACrE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD;EACtG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modify-vector-store.cjs","names":["z","action"],"sources":["../../src/actions/modify-vector-store.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiModifyVectorStoreInput = z.object({\n name: z.string().describe(\"The name of the vector store.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Set of up to 16 key-value pairs that can be attached to the vector store. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. Pass null to clear existing metadata.\").optional(),\n expires_after: z.object({\n days: z.number().int().describe(\"The number of days after the anchor time that the vector store will expire.\"),\n anchor: z.enum([\"last_active_at\"]).describe(\"Anchor timestamp after which the expiration policy applies. Supported anchors: 'last_active_at'.\"),\n}).describe(\"Expiration policy for a vector store.\").optional(),\n vector_store_id: z.string().describe(\"The ID of the vector store to modify.\"),\n}).describe(\"Request model for modifying a vector store.\");\nconst OpenaiModifyVectorStore_VectorStoreStatusSchema = z.enum([\"expired\", \"in_progress\", \"completed\"]).describe(\"Status of a vector store.\");\nconst OpenaiModifyVectorStore_FileCountsSchema = z.object({\n total: z.number().int().describe(\"The total number of files\").nullable(),\n failed: z.number().int().describe(\"The number of files that have failed to process\").nullable(),\n cancelled: z.number().int().describe(\"The number of files that were cancelled\").nullable(),\n completed: z.number().int().describe(\"The number of files that have been successfully processed\").nullable(),\n in_progress: z.number().int().describe(\"The number of files that are currently being processed\").nullable(),\n}).passthrough().describe(\"File processing counts for a vector store.\");\nconst OpenaiModifyVectorStore_ExpirationAnchorSchema = z.enum([\"last_active_at\"]).describe(\"Anchor timestamp for expiration policy.\");\nconst OpenaiModifyVectorStore_ExpirationPolicySchema = z.object({\n days: z.number().int().describe(\"The number of days after the anchor time that the vector store will expire.\").nullable(),\n anchor: OpenaiModifyVectorStore_ExpirationAnchorSchema.nullable(),\n}).passthrough().describe(\"Expiration policy for a vector store.\");\nexport const OpenaiModifyVectorStoreOutput = z.object({\n id: z.string().describe(\"The identifier, which can be referenced in API endpoints\").nullable(),\n name: z.string().describe(\"The name of the vector store\").nullable(),\n object: z.string().describe(\"The object type, which is always 'vector_store'\").nullable(),\n status: OpenaiModifyVectorStore_VectorStoreStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Set of up to 16 key-value pairs attached to the vector store\").nullable().optional(),\n created_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store was created\").nullable(),\n expires_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store will expire\").nullable().optional(),\n file_counts: OpenaiModifyVectorStore_FileCountsSchema.nullable(),\n usage_bytes: z.number().int().describe(\"The total number of bytes used by the files in the vector store\").nullable(),\n expires_after: OpenaiModifyVectorStore_ExpirationPolicySchema.nullable().optional(),\n last_active_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store was last active\").nullable().optional(),\n}).passthrough().describe(\"Response schema for modified vector store.\");\n\nexport const openaiModifyVectorStore = action(\"OPENAI_MODIFY_VECTOR_STORE\", {\n slug: \"openai-modify-vector-store\",\n name: \"Modify Vector Store\",\n description: \"Tool to modify an existing vector store. Use when you need to update the name, expiration policy, or metadata of a vector store.\",\n input: OpenaiModifyVectorStoreInput,\n output: OpenaiModifyVectorStoreOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"modify-vector-store.cjs","names":["z","action"],"sources":["../../src/actions/modify-vector-store.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { openai } from \"../app\";\n\nexport const OpenaiModifyVectorStoreInput = z.object({\n name: z.string().describe(\"The name of the vector store.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Set of up to 16 key-value pairs that can be attached to the vector store. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. Pass null to clear existing metadata.\").optional(),\n expires_after: z.object({\n days: z.number().int().describe(\"The number of days after the anchor time that the vector store will expire.\"),\n anchor: z.enum([\"last_active_at\"]).describe(\"Anchor timestamp after which the expiration policy applies. Supported anchors: 'last_active_at'.\"),\n}).describe(\"Expiration policy for a vector store.\").optional(),\n vector_store_id: z.string().describe(\"The ID of the vector store to modify.\"),\n}).describe(\"Request model for modifying a vector store.\");\nconst OpenaiModifyVectorStore_VectorStoreStatusSchema = z.enum([\"expired\", \"in_progress\", \"completed\"]).describe(\"Status of a vector store.\");\nconst OpenaiModifyVectorStore_FileCountsSchema = z.object({\n total: z.number().int().describe(\"The total number of files\").nullable(),\n failed: z.number().int().describe(\"The number of files that have failed to process\").nullable(),\n cancelled: z.number().int().describe(\"The number of files that were cancelled\").nullable(),\n completed: z.number().int().describe(\"The number of files that have been successfully processed\").nullable(),\n in_progress: z.number().int().describe(\"The number of files that are currently being processed\").nullable(),\n}).passthrough().describe(\"File processing counts for a vector store.\");\nconst OpenaiModifyVectorStore_ExpirationAnchorSchema = z.enum([\"last_active_at\"]).describe(\"Anchor timestamp for expiration policy.\");\nconst OpenaiModifyVectorStore_ExpirationPolicySchema = z.object({\n days: z.number().int().describe(\"The number of days after the anchor time that the vector store will expire.\").nullable(),\n anchor: OpenaiModifyVectorStore_ExpirationAnchorSchema.nullable(),\n}).passthrough().describe(\"Expiration policy for a vector store.\");\nexport const OpenaiModifyVectorStoreOutput = z.object({\n id: z.string().describe(\"The identifier, which can be referenced in API endpoints\").nullable(),\n name: z.string().describe(\"The name of the vector store\").nullable(),\n object: z.string().describe(\"The object type, which is always 'vector_store'\").nullable(),\n status: OpenaiModifyVectorStore_VectorStoreStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Set of up to 16 key-value pairs attached to the vector store\").nullable().optional(),\n created_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store was created\").nullable(),\n expires_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store will expire\").nullable().optional(),\n file_counts: OpenaiModifyVectorStore_FileCountsSchema.nullable(),\n usage_bytes: z.number().int().describe(\"The total number of bytes used by the files in the vector store\").nullable(),\n expires_after: OpenaiModifyVectorStore_ExpirationPolicySchema.nullable().optional(),\n last_active_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store was last active\").nullable().optional(),\n}).passthrough().describe(\"Response schema for modified vector store.\");\n\nexport const openaiModifyVectorStore: AppAction<\n typeof OpenaiModifyVectorStoreInput,\n typeof OpenaiModifyVectorStoreOutput,\n typeof openai.credential\n> = action(\"OPENAI_MODIFY_VECTOR_STORE\", {\n slug: \"openai-modify-vector-store\",\n name: \"Modify Vector Store\",\n description: \"Tool to modify an existing vector store. Use when you need to update the name, expiration policy, or metadata of a vector store.\",\n input: OpenaiModifyVectorStoreInput,\n output: OpenaiModifyVectorStoreOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iNAAiN,CAAC,CAAC,SAAS;CACjR,eAAeA,IAAAA,EAAE,OAAO;EACxB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E;EAC7G,QAAQA,IAAAA,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,kGAAkG;CAChJ,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5D,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AAC9E,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,kDAAkDA,IAAAA,EAAE,KAAK;CAAC;CAAW;CAAe;AAAW,CAAC,CAAC,CAAC,SAAS,2BAA2B;AAC5I,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC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,SAAS,CAAC,CAAC,SAAS;CACzI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACxH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,aAAa,yCAAyC,SAAS;CAC/D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACnH,eAAe,+CAA+C,SAAS,CAAC,CAAC,SAAS;CAClF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,0BAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { openai } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/modify-vector-store.d.ts
|
|
@@ -40,15 +42,7 @@ declare const OpenaiModifyVectorStoreOutput: z.ZodObject<{
|
|
|
40
42
|
}, z.core.$loose>>>;
|
|
41
43
|
last_active_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
42
44
|
}, z.core.$loose>;
|
|
43
|
-
declare const openaiModifyVectorStore:
|
|
44
|
-
vector_store_id: string;
|
|
45
|
-
name?: string | undefined;
|
|
46
|
-
metadata?: Record<string, unknown> | undefined;
|
|
47
|
-
expires_after?: {
|
|
48
|
-
days: number;
|
|
49
|
-
anchor: "last_active_at";
|
|
50
|
-
} | undefined;
|
|
51
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
45
|
+
declare const openaiModifyVectorStore: AppAction<typeof OpenaiModifyVectorStoreInput, typeof OpenaiModifyVectorStoreOutput, typeof openai.credential>;
|
|
52
46
|
//#endregion
|
|
53
47
|
export { openaiModifyVectorStore };
|
|
54
48
|
//# sourceMappingURL=modify-vector-store.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modify-vector-store.d.cts","names":[],"sources":["../../src/actions/modify-vector-store.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"modify-vector-store.d.cts","names":[],"sources":["../../src/actions/modify-vector-store.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;cAsB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAc7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { openai } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/modify-vector-store.d.ts
|
|
@@ -40,15 +42,7 @@ declare const OpenaiModifyVectorStoreOutput: z.ZodObject<{
|
|
|
40
42
|
}, z.core.$loose>>>;
|
|
41
43
|
last_active_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
42
44
|
}, z.core.$loose>;
|
|
43
|
-
declare const openaiModifyVectorStore:
|
|
44
|
-
vector_store_id: string;
|
|
45
|
-
name?: string | undefined;
|
|
46
|
-
metadata?: Record<string, unknown> | undefined;
|
|
47
|
-
expires_after?: {
|
|
48
|
-
days: number;
|
|
49
|
-
anchor: "last_active_at";
|
|
50
|
-
} | undefined;
|
|
51
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
45
|
+
declare const openaiModifyVectorStore: AppAction<typeof OpenaiModifyVectorStoreInput, typeof OpenaiModifyVectorStoreOutput, typeof openai.credential>;
|
|
52
46
|
//#endregion
|
|
53
47
|
export { openaiModifyVectorStore };
|
|
54
48
|
//# sourceMappingURL=modify-vector-store.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modify-vector-store.d.mts","names":[],"sources":["../../src/actions/modify-vector-store.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"modify-vector-store.d.mts","names":[],"sources":["../../src/actions/modify-vector-store.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;cAsB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAc7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modify-vector-store.mjs","names":[],"sources":["../../src/actions/modify-vector-store.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiModifyVectorStoreInput = z.object({\n name: z.string().describe(\"The name of the vector store.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Set of up to 16 key-value pairs that can be attached to the vector store. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. Pass null to clear existing metadata.\").optional(),\n expires_after: z.object({\n days: z.number().int().describe(\"The number of days after the anchor time that the vector store will expire.\"),\n anchor: z.enum([\"last_active_at\"]).describe(\"Anchor timestamp after which the expiration policy applies. Supported anchors: 'last_active_at'.\"),\n}).describe(\"Expiration policy for a vector store.\").optional(),\n vector_store_id: z.string().describe(\"The ID of the vector store to modify.\"),\n}).describe(\"Request model for modifying a vector store.\");\nconst OpenaiModifyVectorStore_VectorStoreStatusSchema = z.enum([\"expired\", \"in_progress\", \"completed\"]).describe(\"Status of a vector store.\");\nconst OpenaiModifyVectorStore_FileCountsSchema = z.object({\n total: z.number().int().describe(\"The total number of files\").nullable(),\n failed: z.number().int().describe(\"The number of files that have failed to process\").nullable(),\n cancelled: z.number().int().describe(\"The number of files that were cancelled\").nullable(),\n completed: z.number().int().describe(\"The number of files that have been successfully processed\").nullable(),\n in_progress: z.number().int().describe(\"The number of files that are currently being processed\").nullable(),\n}).passthrough().describe(\"File processing counts for a vector store.\");\nconst OpenaiModifyVectorStore_ExpirationAnchorSchema = z.enum([\"last_active_at\"]).describe(\"Anchor timestamp for expiration policy.\");\nconst OpenaiModifyVectorStore_ExpirationPolicySchema = z.object({\n days: z.number().int().describe(\"The number of days after the anchor time that the vector store will expire.\").nullable(),\n anchor: OpenaiModifyVectorStore_ExpirationAnchorSchema.nullable(),\n}).passthrough().describe(\"Expiration policy for a vector store.\");\nexport const OpenaiModifyVectorStoreOutput = z.object({\n id: z.string().describe(\"The identifier, which can be referenced in API endpoints\").nullable(),\n name: z.string().describe(\"The name of the vector store\").nullable(),\n object: z.string().describe(\"The object type, which is always 'vector_store'\").nullable(),\n status: OpenaiModifyVectorStore_VectorStoreStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Set of up to 16 key-value pairs attached to the vector store\").nullable().optional(),\n created_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store was created\").nullable(),\n expires_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store will expire\").nullable().optional(),\n file_counts: OpenaiModifyVectorStore_FileCountsSchema.nullable(),\n usage_bytes: z.number().int().describe(\"The total number of bytes used by the files in the vector store\").nullable(),\n expires_after: OpenaiModifyVectorStore_ExpirationPolicySchema.nullable().optional(),\n last_active_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store was last active\").nullable().optional(),\n}).passthrough().describe(\"Response schema for modified vector store.\");\n\nexport const openaiModifyVectorStore = action(\"OPENAI_MODIFY_VECTOR_STORE\", {\n slug: \"openai-modify-vector-store\",\n name: \"Modify Vector Store\",\n description: \"Tool to modify an existing vector store. Use when you need to update the name, expiration policy, or metadata of a vector store.\",\n input: OpenaiModifyVectorStoreInput,\n output: OpenaiModifyVectorStoreOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"modify-vector-store.mjs","names":[],"sources":["../../src/actions/modify-vector-store.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { openai } from \"../app\";\n\nexport const OpenaiModifyVectorStoreInput = z.object({\n name: z.string().describe(\"The name of the vector store.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Set of up to 16 key-value pairs that can be attached to the vector store. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. Pass null to clear existing metadata.\").optional(),\n expires_after: z.object({\n days: z.number().int().describe(\"The number of days after the anchor time that the vector store will expire.\"),\n anchor: z.enum([\"last_active_at\"]).describe(\"Anchor timestamp after which the expiration policy applies. Supported anchors: 'last_active_at'.\"),\n}).describe(\"Expiration policy for a vector store.\").optional(),\n vector_store_id: z.string().describe(\"The ID of the vector store to modify.\"),\n}).describe(\"Request model for modifying a vector store.\");\nconst OpenaiModifyVectorStore_VectorStoreStatusSchema = z.enum([\"expired\", \"in_progress\", \"completed\"]).describe(\"Status of a vector store.\");\nconst OpenaiModifyVectorStore_FileCountsSchema = z.object({\n total: z.number().int().describe(\"The total number of files\").nullable(),\n failed: z.number().int().describe(\"The number of files that have failed to process\").nullable(),\n cancelled: z.number().int().describe(\"The number of files that were cancelled\").nullable(),\n completed: z.number().int().describe(\"The number of files that have been successfully processed\").nullable(),\n in_progress: z.number().int().describe(\"The number of files that are currently being processed\").nullable(),\n}).passthrough().describe(\"File processing counts for a vector store.\");\nconst OpenaiModifyVectorStore_ExpirationAnchorSchema = z.enum([\"last_active_at\"]).describe(\"Anchor timestamp for expiration policy.\");\nconst OpenaiModifyVectorStore_ExpirationPolicySchema = z.object({\n days: z.number().int().describe(\"The number of days after the anchor time that the vector store will expire.\").nullable(),\n anchor: OpenaiModifyVectorStore_ExpirationAnchorSchema.nullable(),\n}).passthrough().describe(\"Expiration policy for a vector store.\");\nexport const OpenaiModifyVectorStoreOutput = z.object({\n id: z.string().describe(\"The identifier, which can be referenced in API endpoints\").nullable(),\n name: z.string().describe(\"The name of the vector store\").nullable(),\n object: z.string().describe(\"The object type, which is always 'vector_store'\").nullable(),\n status: OpenaiModifyVectorStore_VectorStoreStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Set of up to 16 key-value pairs attached to the vector store\").nullable().optional(),\n created_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store was created\").nullable(),\n expires_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store will expire\").nullable().optional(),\n file_counts: OpenaiModifyVectorStore_FileCountsSchema.nullable(),\n usage_bytes: z.number().int().describe(\"The total number of bytes used by the files in the vector store\").nullable(),\n expires_after: OpenaiModifyVectorStore_ExpirationPolicySchema.nullable().optional(),\n last_active_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store was last active\").nullable().optional(),\n}).passthrough().describe(\"Response schema for modified vector store.\");\n\nexport const openaiModifyVectorStore: AppAction<\n typeof OpenaiModifyVectorStoreInput,\n typeof OpenaiModifyVectorStoreOutput,\n typeof openai.credential\n> = action(\"OPENAI_MODIFY_VECTOR_STORE\", {\n slug: \"openai-modify-vector-store\",\n name: \"Modify Vector Store\",\n description: \"Tool to modify an existing vector store. Use when you need to update the name, expiration policy, or metadata of a vector store.\",\n input: OpenaiModifyVectorStoreInput,\n output: OpenaiModifyVectorStoreOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAA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AAC,CAAC,SAAS;CACxH,QAAQ,+CAA+C,SAAS;AAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAejE,MAAa,0BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAvB2C,EAAE,OAAO;EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAC7F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACnE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACxF,QAAQ,gDAAgD,SAAS;EACjE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EACxH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnI,aAAa,yCAAyC,SAAS;EAC/D,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EACnH,eAAe,+CAA+C,SAAS,CAAC,CAAC,SAAS;EAClF,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-assistant.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-assistant.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiRetrieveAssistantInput = z.object({\n assistant_id: z.string().describe(\"Identifier of the assistant to retrieve (path parameter) Must be a valid, stored OpenAI assistant ID; stale or incorrect IDs cause failed retrievals and require additional lookup calls.\"),\n}).describe(\"Request model for retrieving an assistant.\");\nconst OpenaiRetrieveAssistant_AssistantToolParametersSchema = z.object({\n type: z.string().describe(\"Must be 'object'\").nullable(),\n required: z.array(z.string()).describe(\"List of required parameter names\"),\n properties: z.record(z.string(), z.unknown()).describe(\"Schema properties mapping parameter names to schemas\"),\n}).passthrough().describe(\"JSON schema for an assistant tool's parameters.\");\nconst OpenaiRetrieveAssistant_AssistantToolSchema = z.object({\n name: z.string().describe(\"Unique name of the tool\").nullable(),\n parameters: OpenaiRetrieveAssistant_AssistantToolParametersSchema.nullable().optional(),\n description: z.string().describe(\"Short description of the tool's purpose\").nullable().optional(),\n}).passthrough().describe(\"Definition of a tool usable by the assistant.\");\nexport const OpenaiRetrieveAssistantOutput = z.object({\n id: z.string().describe(\"Unique identifier for the assistant\").nullable(),\n name: z.string().describe(\"User-friendly name of the assistant\").nullable().optional(),\n model: z.string().describe(\"Model ID used by the assistant\").nullable(),\n tools: z.array(OpenaiRetrieveAssistant_AssistantToolSchema).describe(\"Tools assigned to the assistant\").nullable().optional(),\n object: z.string().describe(\"Object type, always 'assistant'\").nullable(),\n file_ids: z.array(z.string()).describe(\"IDs of files associated with the assistant\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata attached to the assistant\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix time (seconds) when created\").nullable(),\n description: z.string().describe(\"Description of the assistant\").nullable().optional(),\n instructions: z.string().describe(\"System instructions for the assistant\").nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieving an assistant.\");\n\nexport const openaiRetrieveAssistant = action(\"OPENAI_RETRIEVE_ASSISTANT\", {\n slug: \"openai-retrieve-assistant\",\n name: \"Retrieve assistant\",\n description: \"Tool to retrieve details of a specific assistant. Use when you need to confirm assistant metadata before performing further operations. Prefer this over repeated OPENAI_CREATE_ASSISTANT calls to avoid cluttering assistant configurations.\",\n input: OpenaiRetrieveAssistantInput,\n output: OpenaiRetrieveAssistantOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"retrieve-assistant.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-assistant.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { openai } from \"../app\";\n\nexport const OpenaiRetrieveAssistantInput = z.object({\n assistant_id: z.string().describe(\"Identifier of the assistant to retrieve (path parameter) Must be a valid, stored OpenAI assistant ID; stale or incorrect IDs cause failed retrievals and require additional lookup calls.\"),\n}).describe(\"Request model for retrieving an assistant.\");\nconst OpenaiRetrieveAssistant_AssistantToolParametersSchema = z.object({\n type: z.string().describe(\"Must be 'object'\").nullable(),\n required: z.array(z.string()).describe(\"List of required parameter names\"),\n properties: z.record(z.string(), z.unknown()).describe(\"Schema properties mapping parameter names to schemas\"),\n}).passthrough().describe(\"JSON schema for an assistant tool's parameters.\");\nconst OpenaiRetrieveAssistant_AssistantToolSchema = z.object({\n name: z.string().describe(\"Unique name of the tool\").nullable(),\n parameters: OpenaiRetrieveAssistant_AssistantToolParametersSchema.nullable().optional(),\n description: z.string().describe(\"Short description of the tool's purpose\").nullable().optional(),\n}).passthrough().describe(\"Definition of a tool usable by the assistant.\");\nexport const OpenaiRetrieveAssistantOutput = z.object({\n id: z.string().describe(\"Unique identifier for the assistant\").nullable(),\n name: z.string().describe(\"User-friendly name of the assistant\").nullable().optional(),\n model: z.string().describe(\"Model ID used by the assistant\").nullable(),\n tools: z.array(OpenaiRetrieveAssistant_AssistantToolSchema).describe(\"Tools assigned to the assistant\").nullable().optional(),\n object: z.string().describe(\"Object type, always 'assistant'\").nullable(),\n file_ids: z.array(z.string()).describe(\"IDs of files associated with the assistant\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata attached to the assistant\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix time (seconds) when created\").nullable(),\n description: z.string().describe(\"Description of the assistant\").nullable().optional(),\n instructions: z.string().describe(\"System instructions for the assistant\").nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieving an assistant.\");\n\nexport const openaiRetrieveAssistant: AppAction<\n typeof OpenaiRetrieveAssistantInput,\n typeof OpenaiRetrieveAssistantOutput,\n typeof openai.credential\n> = action(\"OPENAI_RETRIEVE_ASSISTANT\", {\n slug: \"openai-retrieve-assistant\",\n name: \"Retrieve assistant\",\n description: \"Tool to retrieve details of a specific assistant. Use when you need to confirm assistant metadata before performing further operations. Prefer this over repeated OPENAI_CREATE_ASSISTANT calls to avoid cluttering assistant configurations.\",\n input: OpenaiRetrieveAssistantInput,\n output: OpenaiRetrieveAssistantOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2LAA2L,EAC/N,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kCAAkC;CACzE,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,YAAY,sDAAsD,SAAS,CAAC,CAAC,SAAS;CAC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;AAExE,MAAa,0BAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { openai } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/retrieve-assistant.d.ts
|
|
@@ -24,9 +26,7 @@ declare const OpenaiRetrieveAssistantOutput: z.ZodObject<{
|
|
|
24
26
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
27
|
instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
28
|
}, z.core.$loose>;
|
|
27
|
-
declare const openaiRetrieveAssistant:
|
|
28
|
-
assistant_id: string;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
29
|
+
declare const openaiRetrieveAssistant: AppAction<typeof OpenaiRetrieveAssistantInput, typeof OpenaiRetrieveAssistantOutput, typeof openai.credential>;
|
|
30
30
|
//#endregion
|
|
31
31
|
export { openaiRetrieveAssistant };
|
|
32
32
|
//# sourceMappingURL=retrieve-assistant.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-assistant.d.cts","names":[],"sources":["../../src/actions/retrieve-assistant.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"retrieve-assistant.d.cts","names":[],"sources":["../../src/actions/retrieve-assistant.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAa5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAa7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { openai } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/retrieve-assistant.d.ts
|
|
@@ -24,9 +26,7 @@ declare const OpenaiRetrieveAssistantOutput: z.ZodObject<{
|
|
|
24
26
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
27
|
instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
28
|
}, z.core.$loose>;
|
|
27
|
-
declare const openaiRetrieveAssistant:
|
|
28
|
-
assistant_id: string;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
29
|
+
declare const openaiRetrieveAssistant: AppAction<typeof OpenaiRetrieveAssistantInput, typeof OpenaiRetrieveAssistantOutput, typeof openai.credential>;
|
|
30
30
|
//#endregion
|
|
31
31
|
export { openaiRetrieveAssistant };
|
|
32
32
|
//# sourceMappingURL=retrieve-assistant.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-assistant.d.mts","names":[],"sources":["../../src/actions/retrieve-assistant.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"retrieve-assistant.d.mts","names":[],"sources":["../../src/actions/retrieve-assistant.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAa5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAa7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-assistant.mjs","names":[],"sources":["../../src/actions/retrieve-assistant.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiRetrieveAssistantInput = z.object({\n assistant_id: z.string().describe(\"Identifier of the assistant to retrieve (path parameter) Must be a valid, stored OpenAI assistant ID; stale or incorrect IDs cause failed retrievals and require additional lookup calls.\"),\n}).describe(\"Request model for retrieving an assistant.\");\nconst OpenaiRetrieveAssistant_AssistantToolParametersSchema = z.object({\n type: z.string().describe(\"Must be 'object'\").nullable(),\n required: z.array(z.string()).describe(\"List of required parameter names\"),\n properties: z.record(z.string(), z.unknown()).describe(\"Schema properties mapping parameter names to schemas\"),\n}).passthrough().describe(\"JSON schema for an assistant tool's parameters.\");\nconst OpenaiRetrieveAssistant_AssistantToolSchema = z.object({\n name: z.string().describe(\"Unique name of the tool\").nullable(),\n parameters: OpenaiRetrieveAssistant_AssistantToolParametersSchema.nullable().optional(),\n description: z.string().describe(\"Short description of the tool's purpose\").nullable().optional(),\n}).passthrough().describe(\"Definition of a tool usable by the assistant.\");\nexport const OpenaiRetrieveAssistantOutput = z.object({\n id: z.string().describe(\"Unique identifier for the assistant\").nullable(),\n name: z.string().describe(\"User-friendly name of the assistant\").nullable().optional(),\n model: z.string().describe(\"Model ID used by the assistant\").nullable(),\n tools: z.array(OpenaiRetrieveAssistant_AssistantToolSchema).describe(\"Tools assigned to the assistant\").nullable().optional(),\n object: z.string().describe(\"Object type, always 'assistant'\").nullable(),\n file_ids: z.array(z.string()).describe(\"IDs of files associated with the assistant\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata attached to the assistant\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix time (seconds) when created\").nullable(),\n description: z.string().describe(\"Description of the assistant\").nullable().optional(),\n instructions: z.string().describe(\"System instructions for the assistant\").nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieving an assistant.\");\n\nexport const openaiRetrieveAssistant = action(\"OPENAI_RETRIEVE_ASSISTANT\", {\n slug: \"openai-retrieve-assistant\",\n name: \"Retrieve assistant\",\n description: \"Tool to retrieve details of a specific assistant. Use when you need to confirm assistant metadata before performing further operations. Prefer this over repeated OPENAI_CREATE_ASSISTANT calls to avoid cluttering assistant configurations.\",\n input: OpenaiRetrieveAssistantInput,\n output: OpenaiRetrieveAssistantOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"retrieve-assistant.mjs","names":[],"sources":["../../src/actions/retrieve-assistant.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { openai } from \"../app\";\n\nexport const OpenaiRetrieveAssistantInput = z.object({\n assistant_id: z.string().describe(\"Identifier of the assistant to retrieve (path parameter) Must be a valid, stored OpenAI assistant ID; stale or incorrect IDs cause failed retrievals and require additional lookup calls.\"),\n}).describe(\"Request model for retrieving an assistant.\");\nconst OpenaiRetrieveAssistant_AssistantToolParametersSchema = z.object({\n type: z.string().describe(\"Must be 'object'\").nullable(),\n required: z.array(z.string()).describe(\"List of required parameter names\"),\n properties: z.record(z.string(), z.unknown()).describe(\"Schema properties mapping parameter names to schemas\"),\n}).passthrough().describe(\"JSON schema for an assistant tool's parameters.\");\nconst OpenaiRetrieveAssistant_AssistantToolSchema = z.object({\n name: z.string().describe(\"Unique name of the tool\").nullable(),\n parameters: OpenaiRetrieveAssistant_AssistantToolParametersSchema.nullable().optional(),\n description: z.string().describe(\"Short description of the tool's purpose\").nullable().optional(),\n}).passthrough().describe(\"Definition of a tool usable by the assistant.\");\nexport const OpenaiRetrieveAssistantOutput = z.object({\n id: z.string().describe(\"Unique identifier for the assistant\").nullable(),\n name: z.string().describe(\"User-friendly name of the assistant\").nullable().optional(),\n model: z.string().describe(\"Model ID used by the assistant\").nullable(),\n tools: z.array(OpenaiRetrieveAssistant_AssistantToolSchema).describe(\"Tools assigned to the assistant\").nullable().optional(),\n object: z.string().describe(\"Object type, always 'assistant'\").nullable(),\n file_ids: z.array(z.string()).describe(\"IDs of files associated with the assistant\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata attached to the assistant\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix time (seconds) when created\").nullable(),\n description: z.string().describe(\"Description of the assistant\").nullable().optional(),\n instructions: z.string().describe(\"System instructions for the assistant\").nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieving an assistant.\");\n\nexport const openaiRetrieveAssistant: AppAction<\n typeof OpenaiRetrieveAssistantInput,\n typeof OpenaiRetrieveAssistantOutput,\n typeof openai.credential\n> = action(\"OPENAI_RETRIEVE_ASSISTANT\", {\n slug: \"openai-retrieve-assistant\",\n name: \"Retrieve assistant\",\n description: \"Tool to retrieve details of a specific assistant. Use when you need to confirm assistant metadata before performing further operations. Prefer this over repeated OPENAI_CREATE_ASSISTANT calls to avoid cluttering assistant configurations.\",\n input: OpenaiRetrieveAssistantInput,\n output: OpenaiRetrieveAssistantOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO,EACnD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2LAA2L,EAC/N,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,wDAAwD,EAAE,OAAO;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kCAAkC;CACzE,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAM,8CAA8C,EAAE,OAAO;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,YAAY,sDAAsD,SAAS,CAAC,CAAC,SAAS;CACtF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAczE,MAAa,0BAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAtB2C,EAAE,OAAO;EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACtE,OAAO,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACxE,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACnF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-batch.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-batch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiRetrieveBatchInput = z.object({\n batch_id: z.string().describe(\"The ID of the batch to retrieve.\"),\n}).describe(\"Request model for retrieving a batch by ID.\");\nconst OpenaiRetrieveBatch_InputTokensDetailsSchema = z.object({\n cached_tokens: z.number().int().describe(\"Number of cached input tokens.\").nullable(),\n}).passthrough().describe(\"Detailed breakdown of input tokens.\");\nconst OpenaiRetrieveBatch_OutputTokensDetailsSchema = z.object({\n reasoning_tokens: z.number().int().describe(\"Number of reasoning tokens used.\").nullable(),\n}).passthrough().describe(\"Detailed breakdown of output tokens.\");\nconst OpenaiRetrieveBatch_BatchUsageSchema = z.object({\n input_tokens: z.number().int().describe(\"The number of input tokens.\").nullable(),\n total_tokens: z.number().int().describe(\"The total number of tokens used.\").nullable(),\n output_tokens: z.number().int().describe(\"The number of output tokens.\").nullable(),\n input_tokens_details: OpenaiRetrieveBatch_InputTokensDetailsSchema.nullable(),\n output_tokens_details: OpenaiRetrieveBatch_OutputTokensDetailsSchema.nullable(),\n}).passthrough().describe(\"Token usage details for the batch.\");\nconst OpenaiRetrieveBatch_BatchErrorsSchema = z.object({\n data: z.array(z.record(z.string(), z.unknown())).describe(\"Array of error data objects.\").nullable().optional(),\n object: z.string().describe(\"The object type, which is always 'list'.\").nullable().optional(),\n}).passthrough().describe(\"Errors that occurred during batch processing.\");\nconst OpenaiRetrieveBatch_RequestCountsSchema = z.object({\n total: z.number().int().describe(\"Total number of requests in the batch.\").nullable(),\n failed: z.number().int().describe(\"Number of requests that have failed.\").nullable(),\n completed: z.number().int().describe(\"Number of requests that have been completed successfully.\").nullable(),\n}).passthrough().describe(\"Request counts for different statuses within the batch.\");\nexport const OpenaiRetrieveBatchOutput = z.object({\n id: z.string().describe(\"Unique identifier of the batch.\").nullable(),\n model: z.string().describe(\"Model ID used to process the batch, like 'gpt-5-2025-08-07'. OpenAI offers a wide range of models with different capabilities, performance characteristics, and price points. Refer to the model guide to browse and compare available models.\").nullable().optional(),\n usage: OpenaiRetrieveBatch_BatchUsageSchema.nullable().optional(),\n errors: OpenaiRetrieveBatch_BatchErrorsSchema.nullable().optional(),\n object: z.string().describe(\"The object type, which is always 'batch'.\").nullable(),\n status: z.enum([\"validating\", \"failed\", \"in_progress\", \"finalizing\", \"completed\", \"expired\", \"cancelling\", \"cancelled\"]).describe(\"The current status of the batch.\").nullable(),\n endpoint: z.string().describe(\"The OpenAI API endpoint used by the batch.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Set of key-value pairs for storing additional information.\").nullable().optional(),\n failed_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the batch failed.\").nullable().optional(),\n created_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the batch was created.\").nullable(),\n expired_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the batch expired.\").nullable().optional(),\n expires_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the batch will expire.\").nullable().optional(),\n cancelled_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the batch was cancelled.\").nullable().optional(),\n completed_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the batch was completed.\").nullable().optional(),\n cancelling_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the batch started cancelling.\").nullable().optional(),\n error_file_id: z.string().describe(\"The ID of the file containing the outputs of requests with errors.\").nullable().optional(),\n finalizing_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the batch started finalizing.\").nullable().optional(),\n input_file_id: z.string().describe(\"The ID of the input file for the batch.\").nullable(),\n in_progress_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the batch started processing.\").nullable().optional(),\n output_file_id: z.string().describe(\"The ID of the file containing the outputs of successfully executed requests.\").nullable().optional(),\n request_counts: OpenaiRetrieveBatch_RequestCountsSchema.nullable().optional(),\n completion_window: z.string().describe(\"The time frame within which the batch should be processed.\").nullable(),\n}).passthrough().describe(\"Response schema for retrieving a batch.\");\n\nexport const openaiRetrieveBatch = action(\"OPENAI_RETRIEVE_BATCH\", {\n slug: \"openai-retrieve-batch\",\n name: \"Retrieve Batch\",\n description: \"Tool to retrieve a batch by ID to check its status, progress, and results. Use when you need to check the current state of a batch job, view completion statistics, or access output file IDs.\",\n input: OpenaiRetrieveBatchInput,\n output: OpenaiRetrieveBatchOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"retrieve-batch.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-batch.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { openai } from \"../app\";\n\nexport const OpenaiRetrieveBatchInput = z.object({\n batch_id: z.string().describe(\"The ID of the batch to retrieve.\"),\n}).describe(\"Request model for retrieving a batch by ID.\");\nconst OpenaiRetrieveBatch_InputTokensDetailsSchema = z.object({\n cached_tokens: z.number().int().describe(\"Number of cached input tokens.\").nullable(),\n}).passthrough().describe(\"Detailed breakdown of input tokens.\");\nconst OpenaiRetrieveBatch_OutputTokensDetailsSchema = z.object({\n reasoning_tokens: z.number().int().describe(\"Number of reasoning tokens used.\").nullable(),\n}).passthrough().describe(\"Detailed breakdown of output tokens.\");\nconst OpenaiRetrieveBatch_BatchUsageSchema = z.object({\n input_tokens: z.number().int().describe(\"The number of input tokens.\").nullable(),\n total_tokens: z.number().int().describe(\"The total number of tokens used.\").nullable(),\n output_tokens: z.number().int().describe(\"The number of output tokens.\").nullable(),\n input_tokens_details: OpenaiRetrieveBatch_InputTokensDetailsSchema.nullable(),\n output_tokens_details: OpenaiRetrieveBatch_OutputTokensDetailsSchema.nullable(),\n}).passthrough().describe(\"Token usage details for the batch.\");\nconst OpenaiRetrieveBatch_BatchErrorsSchema = z.object({\n data: z.array(z.record(z.string(), z.unknown())).describe(\"Array of error data objects.\").nullable().optional(),\n object: z.string().describe(\"The object type, which is always 'list'.\").nullable().optional(),\n}).passthrough().describe(\"Errors that occurred during batch processing.\");\nconst OpenaiRetrieveBatch_RequestCountsSchema = z.object({\n total: z.number().int().describe(\"Total number of requests in the batch.\").nullable(),\n failed: z.number().int().describe(\"Number of requests that have failed.\").nullable(),\n completed: z.number().int().describe(\"Number of requests that have been completed successfully.\").nullable(),\n}).passthrough().describe(\"Request counts for different statuses within the batch.\");\nexport const OpenaiRetrieveBatchOutput = z.object({\n id: z.string().describe(\"Unique identifier of the batch.\").nullable(),\n model: z.string().describe(\"Model ID used to process the batch, like 'gpt-5-2025-08-07'. OpenAI offers a wide range of models with different capabilities, performance characteristics, and price points. Refer to the model guide to browse and compare available models.\").nullable().optional(),\n usage: OpenaiRetrieveBatch_BatchUsageSchema.nullable().optional(),\n errors: OpenaiRetrieveBatch_BatchErrorsSchema.nullable().optional(),\n object: z.string().describe(\"The object type, which is always 'batch'.\").nullable(),\n status: z.enum([\"validating\", \"failed\", \"in_progress\", \"finalizing\", \"completed\", \"expired\", \"cancelling\", \"cancelled\"]).describe(\"The current status of the batch.\").nullable(),\n endpoint: z.string().describe(\"The OpenAI API endpoint used by the batch.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Set of key-value pairs for storing additional information.\").nullable().optional(),\n failed_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the batch failed.\").nullable().optional(),\n created_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the batch was created.\").nullable(),\n expired_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the batch expired.\").nullable().optional(),\n expires_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the batch will expire.\").nullable().optional(),\n cancelled_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the batch was cancelled.\").nullable().optional(),\n completed_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the batch was completed.\").nullable().optional(),\n cancelling_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the batch started cancelling.\").nullable().optional(),\n error_file_id: z.string().describe(\"The ID of the file containing the outputs of requests with errors.\").nullable().optional(),\n finalizing_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the batch started finalizing.\").nullable().optional(),\n input_file_id: z.string().describe(\"The ID of the input file for the batch.\").nullable(),\n in_progress_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the batch started processing.\").nullable().optional(),\n output_file_id: z.string().describe(\"The ID of the file containing the outputs of successfully executed requests.\").nullable().optional(),\n request_counts: OpenaiRetrieveBatch_RequestCountsSchema.nullable().optional(),\n completion_window: z.string().describe(\"The time frame within which the batch should be processed.\").nullable(),\n}).passthrough().describe(\"Response schema for retrieving a batch.\");\n\nexport const openaiRetrieveBatch: AppAction<\n typeof OpenaiRetrieveBatchInput,\n typeof OpenaiRetrieveBatchOutput,\n typeof openai.credential\n> = action(\"OPENAI_RETRIEVE_BATCH\", {\n slug: \"openai-retrieve-batch\",\n name: \"Retrieve Batch\",\n description: \"Tool to retrieve a batch by ID to check its status, progress, and results. Use when you need to check the current state of a batch job, view completion statistics, or access output file IDs.\",\n input: OpenaiRetrieveBatchInput,\n output: OpenaiRetrieveBatchOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,EAClE,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,+CAA+CA,IAAAA,EAAE,OAAO,EAC5D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,EACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAM,gDAAgDA,IAAAA,EAAE,OAAO,EAC7D,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,EAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,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AC,SAAS;CACjI,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACvF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,gBAAgB,wCAAwC,SAAS,CAAC,CAAC,SAAS;CAC5E,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { openai } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/retrieve-batch.d.ts
|
|
@@ -54,9 +56,7 @@ declare const OpenaiRetrieveBatchOutput: z.ZodObject<{
|
|
|
54
56
|
}, z.core.$loose>>>;
|
|
55
57
|
completion_window: z.ZodNullable<z.ZodString>;
|
|
56
58
|
}, z.core.$loose>;
|
|
57
|
-
declare const openaiRetrieveBatch:
|
|
58
|
-
batch_id: string;
|
|
59
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
59
|
+
declare const openaiRetrieveBatch: AppAction<typeof OpenaiRetrieveBatchInput, typeof OpenaiRetrieveBatchOutput, typeof openai.credential>;
|
|
60
60
|
//#endregion
|
|
61
61
|
export { openaiRetrieveBatch };
|
|
62
62
|
//# sourceMappingURL=retrieve-batch.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-batch.d.cts","names":[],"sources":["../../src/actions/retrieve-batch.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"retrieve-batch.d.cts","names":[],"sources":["../../src/actions/retrieve-batch.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAyBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAyBzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { openai } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/retrieve-batch.d.ts
|
|
@@ -54,9 +56,7 @@ declare const OpenaiRetrieveBatchOutput: z.ZodObject<{
|
|
|
54
56
|
}, z.core.$loose>>>;
|
|
55
57
|
completion_window: z.ZodNullable<z.ZodString>;
|
|
56
58
|
}, z.core.$loose>;
|
|
57
|
-
declare const openaiRetrieveBatch:
|
|
58
|
-
batch_id: string;
|
|
59
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
59
|
+
declare const openaiRetrieveBatch: AppAction<typeof OpenaiRetrieveBatchInput, typeof OpenaiRetrieveBatchOutput, typeof openai.credential>;
|
|
60
60
|
//#endregion
|
|
61
61
|
export { openaiRetrieveBatch };
|
|
62
62
|
//# sourceMappingURL=retrieve-batch.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-batch.d.mts","names":[],"sources":["../../src/actions/retrieve-batch.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"retrieve-batch.d.mts","names":[],"sources":["../../src/actions/retrieve-batch.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAyBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAyBzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-batch.mjs","names":[],"sources":["../../src/actions/retrieve-batch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiRetrieveBatchInput = z.object({\n batch_id: z.string().describe(\"The ID of the batch to retrieve.\"),\n}).describe(\"Request model for retrieving a batch by ID.\");\nconst OpenaiRetrieveBatch_InputTokensDetailsSchema = z.object({\n cached_tokens: z.number().int().describe(\"Number of cached input tokens.\").nullable(),\n}).passthrough().describe(\"Detailed breakdown of input tokens.\");\nconst OpenaiRetrieveBatch_OutputTokensDetailsSchema = z.object({\n reasoning_tokens: z.number().int().describe(\"Number of reasoning tokens used.\").nullable(),\n}).passthrough().describe(\"Detailed breakdown of output tokens.\");\nconst OpenaiRetrieveBatch_BatchUsageSchema = z.object({\n input_tokens: z.number().int().describe(\"The number of input tokens.\").nullable(),\n total_tokens: z.number().int().describe(\"The total number of tokens used.\").nullable(),\n output_tokens: z.number().int().describe(\"The number of output tokens.\").nullable(),\n input_tokens_details: OpenaiRetrieveBatch_InputTokensDetailsSchema.nullable(),\n output_tokens_details: OpenaiRetrieveBatch_OutputTokensDetailsSchema.nullable(),\n}).passthrough().describe(\"Token usage details for the batch.\");\nconst OpenaiRetrieveBatch_BatchErrorsSchema = z.object({\n data: z.array(z.record(z.string(), z.unknown())).describe(\"Array of error data objects.\").nullable().optional(),\n object: z.string().describe(\"The object type, which is always 'list'.\").nullable().optional(),\n}).passthrough().describe(\"Errors that occurred during batch processing.\");\nconst OpenaiRetrieveBatch_RequestCountsSchema = z.object({\n total: z.number().int().describe(\"Total number of requests in the batch.\").nullable(),\n failed: z.number().int().describe(\"Number of requests that have failed.\").nullable(),\n completed: z.number().int().describe(\"Number of requests that have been completed successfully.\").nullable(),\n}).passthrough().describe(\"Request counts for different statuses within the batch.\");\nexport const OpenaiRetrieveBatchOutput = z.object({\n id: z.string().describe(\"Unique identifier of the batch.\").nullable(),\n model: z.string().describe(\"Model ID used to process the batch, like 'gpt-5-2025-08-07'. OpenAI offers a wide range of models with different capabilities, performance characteristics, and price points. Refer to the model guide to browse and compare available models.\").nullable().optional(),\n usage: OpenaiRetrieveBatch_BatchUsageSchema.nullable().optional(),\n errors: OpenaiRetrieveBatch_BatchErrorsSchema.nullable().optional(),\n object: z.string().describe(\"The object type, which is always 'batch'.\").nullable(),\n status: z.enum([\"validating\", \"failed\", \"in_progress\", \"finalizing\", \"completed\", \"expired\", \"cancelling\", \"cancelled\"]).describe(\"The current status of the batch.\").nullable(),\n endpoint: z.string().describe(\"The OpenAI API endpoint used by the batch.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Set of key-value pairs for storing additional information.\").nullable().optional(),\n failed_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the batch failed.\").nullable().optional(),\n created_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the batch was created.\").nullable(),\n expired_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the batch expired.\").nullable().optional(),\n expires_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the batch will expire.\").nullable().optional(),\n cancelled_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the batch was cancelled.\").nullable().optional(),\n completed_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the batch was completed.\").nullable().optional(),\n cancelling_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the batch started cancelling.\").nullable().optional(),\n error_file_id: z.string().describe(\"The ID of the file containing the outputs of requests with errors.\").nullable().optional(),\n finalizing_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the batch started finalizing.\").nullable().optional(),\n input_file_id: z.string().describe(\"The ID of the input file for the batch.\").nullable(),\n in_progress_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the batch started processing.\").nullable().optional(),\n output_file_id: z.string().describe(\"The ID of the file containing the outputs of successfully executed requests.\").nullable().optional(),\n request_counts: OpenaiRetrieveBatch_RequestCountsSchema.nullable().optional(),\n completion_window: z.string().describe(\"The time frame within which the batch should be processed.\").nullable(),\n}).passthrough().describe(\"Response schema for retrieving a batch.\");\n\nexport const openaiRetrieveBatch = action(\"OPENAI_RETRIEVE_BATCH\", {\n slug: \"openai-retrieve-batch\",\n name: \"Retrieve Batch\",\n description: \"Tool to retrieve a batch by ID to check its status, progress, and results. Use when you need to check the current state of a batch job, view completion statistics, or access output file IDs.\",\n input: OpenaiRetrieveBatchInput,\n output: OpenaiRetrieveBatchOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"retrieve-batch.mjs","names":[],"sources":["../../src/actions/retrieve-batch.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { openai } from \"../app\";\n\nexport const OpenaiRetrieveBatchInput = z.object({\n batch_id: z.string().describe(\"The ID of the batch to retrieve.\"),\n}).describe(\"Request model for retrieving a batch by ID.\");\nconst OpenaiRetrieveBatch_InputTokensDetailsSchema = z.object({\n cached_tokens: z.number().int().describe(\"Number of cached input tokens.\").nullable(),\n}).passthrough().describe(\"Detailed breakdown of input tokens.\");\nconst OpenaiRetrieveBatch_OutputTokensDetailsSchema = z.object({\n reasoning_tokens: z.number().int().describe(\"Number of reasoning tokens used.\").nullable(),\n}).passthrough().describe(\"Detailed breakdown of output tokens.\");\nconst OpenaiRetrieveBatch_BatchUsageSchema = z.object({\n input_tokens: z.number().int().describe(\"The number of input tokens.\").nullable(),\n total_tokens: z.number().int().describe(\"The total number of tokens used.\").nullable(),\n output_tokens: z.number().int().describe(\"The number of output tokens.\").nullable(),\n input_tokens_details: OpenaiRetrieveBatch_InputTokensDetailsSchema.nullable(),\n output_tokens_details: OpenaiRetrieveBatch_OutputTokensDetailsSchema.nullable(),\n}).passthrough().describe(\"Token usage details for the batch.\");\nconst OpenaiRetrieveBatch_BatchErrorsSchema = z.object({\n data: z.array(z.record(z.string(), z.unknown())).describe(\"Array of error data objects.\").nullable().optional(),\n object: z.string().describe(\"The object type, which is always 'list'.\").nullable().optional(),\n}).passthrough().describe(\"Errors that occurred during batch processing.\");\nconst OpenaiRetrieveBatch_RequestCountsSchema = z.object({\n total: z.number().int().describe(\"Total number of requests in the batch.\").nullable(),\n failed: z.number().int().describe(\"Number of requests that have failed.\").nullable(),\n completed: z.number().int().describe(\"Number of requests that have been completed successfully.\").nullable(),\n}).passthrough().describe(\"Request counts for different statuses within the batch.\");\nexport const OpenaiRetrieveBatchOutput = z.object({\n id: z.string().describe(\"Unique identifier of the batch.\").nullable(),\n model: z.string().describe(\"Model ID used to process the batch, like 'gpt-5-2025-08-07'. OpenAI offers a wide range of models with different capabilities, performance characteristics, and price points. Refer to the model guide to browse and compare available models.\").nullable().optional(),\n usage: OpenaiRetrieveBatch_BatchUsageSchema.nullable().optional(),\n errors: OpenaiRetrieveBatch_BatchErrorsSchema.nullable().optional(),\n object: z.string().describe(\"The object type, which is always 'batch'.\").nullable(),\n status: z.enum([\"validating\", \"failed\", \"in_progress\", \"finalizing\", \"completed\", \"expired\", \"cancelling\", \"cancelled\"]).describe(\"The current status of the batch.\").nullable(),\n endpoint: z.string().describe(\"The OpenAI API endpoint used by the batch.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Set of key-value pairs for storing additional information.\").nullable().optional(),\n failed_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the batch failed.\").nullable().optional(),\n created_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the batch was created.\").nullable(),\n expired_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the batch expired.\").nullable().optional(),\n expires_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the batch will expire.\").nullable().optional(),\n cancelled_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the batch was cancelled.\").nullable().optional(),\n completed_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the batch was completed.\").nullable().optional(),\n cancelling_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the batch started cancelling.\").nullable().optional(),\n error_file_id: z.string().describe(\"The ID of the file containing the outputs of requests with errors.\").nullable().optional(),\n finalizing_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the batch started finalizing.\").nullable().optional(),\n input_file_id: z.string().describe(\"The ID of the input file for the batch.\").nullable(),\n in_progress_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the batch started processing.\").nullable().optional(),\n output_file_id: z.string().describe(\"The ID of the file containing the outputs of successfully executed requests.\").nullable().optional(),\n request_counts: OpenaiRetrieveBatch_RequestCountsSchema.nullable().optional(),\n completion_window: z.string().describe(\"The time frame within which the batch should be processed.\").nullable(),\n}).passthrough().describe(\"Response schema for retrieving a batch.\");\n\nexport const openaiRetrieveBatch: AppAction<\n typeof OpenaiRetrieveBatchInput,\n typeof OpenaiRetrieveBatchOutput,\n typeof openai.credential\n> = action(\"OPENAI_RETRIEVE_BATCH\", {\n slug: \"openai-retrieve-batch\",\n name: \"Retrieve Batch\",\n description: \"Tool to retrieve a batch by ID to check its status, progress, and results. Use when you need to check the current state of a batch job, view completion statistics, or access output file IDs.\",\n input: OpenaiRetrieveBatchInput,\n output: OpenaiRetrieveBatchOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2B,EAAE,OAAO,EAC/C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,EAClE,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,+CAA+C,EAAE,OAAO,EAC5D,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,EACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAM,gDAAgD,EAAE,OAAO,EAC7D,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,EAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAM,uCAAuC,EAAE,OAAO;CACpD,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAChF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrF,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAClF,sBAAsB,6CAA6C,SAAS;CAC5E,uBAAuB,8CAA8C,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAC9D,MAAM,wCAAwC,EAAE,OAAO;CACrD,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0C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AA4D,CAAC,CAAC,SAAS;CAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-container-file-content.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-container-file-content.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiRetrieveContainerFileContentInput = z.object({\n file_id: z.string().describe(\"Identifier of the file within the container (path parameter)\"),\n container_id: z.string().describe(\"Identifier of the container (path parameter)\"),\n}).describe(\"Request model for retrieving container file content.\");\nconst OpenaiRetrieveContainerFileContent_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const OpenaiRetrieveContainerFileContentOutput = z.object({\n content: OpenaiRetrieveContainerFileContent_FileDownloadableSchema.nullable(),\n}).passthrough().describe(\"Response schema for retrieving container file content.\");\n\nexport const openaiRetrieveContainerFileContent = action(\"OPENAI_RETRIEVE_CONTAINER_FILE_CONTENT\", {\n slug: \"openai-retrieve-container-file-content\",\n name: \"Retrieve container file content\",\n description: \"Tool to retrieve the content of a file within a container. Use when you need to download or access the actual file data from a container.\",\n input: OpenaiRetrieveContainerFileContentInput,\n output: OpenaiRetrieveContainerFileContentOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"retrieve-container-file-content.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-container-file-content.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { openai } from \"../app\";\n\nexport const OpenaiRetrieveContainerFileContentInput = z.object({\n file_id: z.string().describe(\"Identifier of the file within the container (path parameter)\"),\n container_id: z.string().describe(\"Identifier of the container (path parameter)\"),\n}).describe(\"Request model for retrieving container file content.\");\nconst OpenaiRetrieveContainerFileContent_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const OpenaiRetrieveContainerFileContentOutput = z.object({\n content: OpenaiRetrieveContainerFileContent_FileDownloadableSchema.nullable(),\n}).passthrough().describe(\"Response schema for retrieving container file content.\");\n\nexport const openaiRetrieveContainerFileContent: AppAction<\n typeof OpenaiRetrieveContainerFileContentInput,\n typeof OpenaiRetrieveContainerFileContentOutput,\n typeof openai.credential\n> = action(\"OPENAI_RETRIEVE_CONTAINER_FILE_CONTENT\", {\n slug: \"openai-retrieve-container-file-content\",\n name: \"Retrieve container file content\",\n description: \"Tool to retrieve the content of a file within a container. Use when you need to download or access the actual file data from a container.\",\n input: OpenaiRetrieveContainerFileContentInput,\n output: OpenaiRetrieveContainerFileContentOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CAC3F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;AAClF,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,4DAA4DA,IAAAA,EAAE,OAAO;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,2CAA2CA,IAAAA,EAAE,OAAO,EAC/D,SAAS,0DAA0D,SAAS,EAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,qCAITC,eAAAA,OAAO,0CAA0C;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { openai } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/retrieve-container-file-content.d.ts
|
|
@@ -12,10 +14,7 @@ declare const OpenaiRetrieveContainerFileContentOutput: z.ZodObject<{
|
|
|
12
14
|
mimetype: z.ZodNullable<z.ZodString>;
|
|
13
15
|
}, z.core.$loose>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const openaiRetrieveContainerFileContent:
|
|
16
|
-
file_id: string;
|
|
17
|
-
container_id: string;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
17
|
+
declare const openaiRetrieveContainerFileContent: AppAction<typeof OpenaiRetrieveContainerFileContentInput, typeof OpenaiRetrieveContainerFileContentOutput, typeof openai.credential>;
|
|
19
18
|
//#endregion
|
|
20
19
|
export { openaiRetrieveContainerFileContent };
|
|
21
20
|
//# sourceMappingURL=retrieve-container-file-content.d.cts.map
|