@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,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/create-vector-store-file-batch.d.ts
|
|
@@ -59,40 +61,7 @@ declare const OpenaiCreateVectorStoreFileBatchOutput: z.ZodObject<{
|
|
|
59
61
|
}, z.core.$loose>>;
|
|
60
62
|
vector_store_id: z.ZodNullable<z.ZodString>;
|
|
61
63
|
}, z.core.$loose>;
|
|
62
|
-
declare const openaiCreateVectorStoreFileBatch:
|
|
63
|
-
vector_store_id: string;
|
|
64
|
-
files?: {
|
|
65
|
-
[x: string]: unknown;
|
|
66
|
-
file_id: string;
|
|
67
|
-
attributes?: Record<string, unknown> | undefined;
|
|
68
|
-
chunking_strategy?: {
|
|
69
|
-
[x: string]: unknown;
|
|
70
|
-
type?: "auto" | "static" | undefined;
|
|
71
|
-
} | {
|
|
72
|
-
[x: string]: unknown;
|
|
73
|
-
static: {
|
|
74
|
-
[x: string]: unknown;
|
|
75
|
-
chunk_overlap_tokens: number;
|
|
76
|
-
max_chunk_size_tokens: number;
|
|
77
|
-
};
|
|
78
|
-
type?: "auto" | "static" | undefined;
|
|
79
|
-
} | undefined;
|
|
80
|
-
}[] | undefined;
|
|
81
|
-
file_ids?: string[] | undefined;
|
|
82
|
-
attributes?: Record<string, unknown> | undefined;
|
|
83
|
-
chunking_strategy?: {
|
|
84
|
-
[x: string]: unknown;
|
|
85
|
-
type?: "auto" | "static" | undefined;
|
|
86
|
-
} | {
|
|
87
|
-
[x: string]: unknown;
|
|
88
|
-
static: {
|
|
89
|
-
[x: string]: unknown;
|
|
90
|
-
chunk_overlap_tokens: number;
|
|
91
|
-
max_chunk_size_tokens: number;
|
|
92
|
-
};
|
|
93
|
-
type?: "auto" | "static" | undefined;
|
|
94
|
-
} | undefined;
|
|
95
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
64
|
+
declare const openaiCreateVectorStoreFileBatch: AppAction<typeof OpenaiCreateVectorStoreFileBatchInput, typeof OpenaiCreateVectorStoreFileBatchOutput, typeof openai.credential>;
|
|
96
65
|
//#endregion
|
|
97
66
|
export { openaiCreateVectorStoreFileBatch };
|
|
98
67
|
//# sourceMappingURL=create-vector-store-file-batch.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-vector-store-file-batch.d.mts","names":[],"sources":["../../src/actions/create-vector-store-file-batch.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-vector-store-file-batch.d.mts","names":[],"sources":["../../src/actions/create-vector-store-file-batch.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmCrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAStC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-vector-store-file-batch.mjs","names":[],"sources":["../../src/actions/create-vector-store-file-batch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiCreateVectorStoreFileBatchInput = z.object({\n files: z.array(z.object({\n file_id: z.string().describe(\"The ID of the file to attach to the vector store.\"),\n attributes: z.record(z.string(), z.unknown()).describe(\"Optional metadata attributes for this specific file. All values must be strings.\").optional(),\n chunking_strategy: z.union([z.object({\n type: z.enum([\"auto\", \"static\"]).default(\"auto\").describe(\"Always 'auto' for auto chunking strategy.\").optional(),\n}).passthrough().describe(\"Auto chunking strategy configuration.\"), z.object({\n type: z.enum([\"auto\", \"static\"]).default(\"static\").describe(\"Always 'static' for static chunking strategy.\").optional(),\n static: z.object({\n chunk_overlap_tokens: z.number().int().describe(\"The number of tokens that overlap between chunks. The default value is 400. Note that the overlap must not exceed half of max_chunk_size_tokens.\"),\n max_chunk_size_tokens: z.number().int().describe(\"The maximum number of tokens in each chunk. The default value is 800. The minimum value is 100 and the maximum value is 4096.\"),\n}).passthrough().describe(\"The static chunking strategy configuration.\"),\n}).passthrough().describe(\"Static chunking strategy configuration.\")]).optional(),\n}).passthrough().describe(\"File object with optional attributes and chunking strategy.\")).describe(\"A list of objects that each include a file_id plus optional attributes or chunking_strategy. Use this when you need to override metadata for specific files. The global attributes or chunking_strategy will be ignored and must be specified for each file. Mutually exclusive with 'file_ids'.\").optional(),\n file_ids: z.array(z.string()).describe(\"A list of File IDs that the vector store should use. Useful for tools like file_search that can access files. If attributes or chunking_strategy are provided at the top level, they will be applied to all files in the batch. Mutually exclusive with 'files'.\").optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Optional metadata attributes to apply to all files in the batch. All values must be strings. Ignored if 'files' is provided instead of 'file_ids'.\").optional(),\n vector_store_id: z.string().describe(\"The ID of the vector store for which to create a file batch.\"),\n chunking_strategy: z.union([z.object({\n type: z.enum([\"auto\", \"static\"]).default(\"auto\").describe(\"Always 'auto' for auto chunking strategy.\").optional(),\n}).passthrough().describe(\"Auto chunking strategy configuration.\"), z.object({\n type: z.enum([\"auto\", \"static\"]).default(\"static\").describe(\"Always 'static' for static chunking strategy.\").optional(),\n static: z.object({\n chunk_overlap_tokens: z.number().int().describe(\"The number of tokens that overlap between chunks. The default value is 400. Note that the overlap must not exceed half of max_chunk_size_tokens.\"),\n max_chunk_size_tokens: z.number().int().describe(\"The maximum number of tokens in each chunk. The default value is 800. The minimum value is 100 and the maximum value is 4096.\"),\n}).passthrough().describe(\"The static chunking strategy configuration.\"),\n}).passthrough().describe(\"Static chunking strategy configuration.\")]).optional(),\n}).describe(\"Request model for creating a vector store file batch.\");\nconst OpenaiCreateVectorStoreFileBatch_VectorStoreFileBatchStatusSchema = z.enum([\"in_progress\", \"completed\", \"cancelled\", \"failed\"]).describe(\"Status of a vector store file batch.\");\nconst OpenaiCreateVectorStoreFileBatch_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 processed.\").nullable(),\n in_progress: z.number().int().describe(\"The number of files that are currently being processed.\").nullable(),\n}).passthrough().describe(\"File counts for a vector store file batch.\");\nexport const OpenaiCreateVectorStoreFileBatchOutput = z.object({\n id: z.string().describe(\"The identifier, which can be referenced in API endpoints.\").nullable(),\n object: z.string().describe(\"The object type, which is always 'vector_store.files_batch'.\").nullable(),\n status: OpenaiCreateVectorStoreFileBatch_VectorStoreFileBatchStatusSchema.nullable(),\n created_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store files batch was created.\").nullable(),\n file_counts: OpenaiCreateVectorStoreFileBatch_FileCountsSchema.nullable(),\n vector_store_id: z.string().describe(\"The ID of the vector store that the file batch is attached to.\").nullable(),\n}).passthrough().describe(\"Response model for created vector store file batch.\");\n\nexport const openaiCreateVectorStoreFileBatch = action(\"OPENAI_CREATE_VECTOR_STORE_FILE_BATCH\", {\n slug: \"openai-create-vector-store-file-batch\",\n name: \"Create vector store file batch\",\n description: \"Tool to create a vector store file batch. Use when attaching multiple files to a vector store for file search capabilities.\",\n input: OpenaiCreateVectorStoreFileBatchInput,\n output: OpenaiCreateVectorStoreFileBatchOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-vector-store-file-batch.mjs","names":[],"sources":["../../src/actions/create-vector-store-file-batch.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { openai } from \"../app\";\n\nexport const OpenaiCreateVectorStoreFileBatchInput = z.object({\n files: z.array(z.object({\n file_id: z.string().describe(\"The ID of the file to attach to the vector store.\"),\n attributes: z.record(z.string(), z.unknown()).describe(\"Optional metadata attributes for this specific file. All values must be strings.\").optional(),\n chunking_strategy: z.union([z.object({\n type: z.enum([\"auto\", \"static\"]).default(\"auto\").describe(\"Always 'auto' for auto chunking strategy.\").optional(),\n}).passthrough().describe(\"Auto chunking strategy configuration.\"), z.object({\n type: z.enum([\"auto\", \"static\"]).default(\"static\").describe(\"Always 'static' for static chunking strategy.\").optional(),\n static: z.object({\n chunk_overlap_tokens: z.number().int().describe(\"The number of tokens that overlap between chunks. The default value is 400. Note that the overlap must not exceed half of max_chunk_size_tokens.\"),\n max_chunk_size_tokens: z.number().int().describe(\"The maximum number of tokens in each chunk. The default value is 800. The minimum value is 100 and the maximum value is 4096.\"),\n}).passthrough().describe(\"The static chunking strategy configuration.\"),\n}).passthrough().describe(\"Static chunking strategy configuration.\")]).optional(),\n}).passthrough().describe(\"File object with optional attributes and chunking strategy.\")).describe(\"A list of objects that each include a file_id plus optional attributes or chunking_strategy. Use this when you need to override metadata for specific files. The global attributes or chunking_strategy will be ignored and must be specified for each file. Mutually exclusive with 'file_ids'.\").optional(),\n file_ids: z.array(z.string()).describe(\"A list of File IDs that the vector store should use. Useful for tools like file_search that can access files. If attributes or chunking_strategy are provided at the top level, they will be applied to all files in the batch. Mutually exclusive with 'files'.\").optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Optional metadata attributes to apply to all files in the batch. All values must be strings. Ignored if 'files' is provided instead of 'file_ids'.\").optional(),\n vector_store_id: z.string().describe(\"The ID of the vector store for which to create a file batch.\"),\n chunking_strategy: z.union([z.object({\n type: z.enum([\"auto\", \"static\"]).default(\"auto\").describe(\"Always 'auto' for auto chunking strategy.\").optional(),\n}).passthrough().describe(\"Auto chunking strategy configuration.\"), z.object({\n type: z.enum([\"auto\", \"static\"]).default(\"static\").describe(\"Always 'static' for static chunking strategy.\").optional(),\n static: z.object({\n chunk_overlap_tokens: z.number().int().describe(\"The number of tokens that overlap between chunks. The default value is 400. Note that the overlap must not exceed half of max_chunk_size_tokens.\"),\n max_chunk_size_tokens: z.number().int().describe(\"The maximum number of tokens in each chunk. The default value is 800. The minimum value is 100 and the maximum value is 4096.\"),\n}).passthrough().describe(\"The static chunking strategy configuration.\"),\n}).passthrough().describe(\"Static chunking strategy configuration.\")]).optional(),\n}).describe(\"Request model for creating a vector store file batch.\");\nconst OpenaiCreateVectorStoreFileBatch_VectorStoreFileBatchStatusSchema = z.enum([\"in_progress\", \"completed\", \"cancelled\", \"failed\"]).describe(\"Status of a vector store file batch.\");\nconst OpenaiCreateVectorStoreFileBatch_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 processed.\").nullable(),\n in_progress: z.number().int().describe(\"The number of files that are currently being processed.\").nullable(),\n}).passthrough().describe(\"File counts for a vector store file batch.\");\nexport const OpenaiCreateVectorStoreFileBatchOutput = z.object({\n id: z.string().describe(\"The identifier, which can be referenced in API endpoints.\").nullable(),\n object: z.string().describe(\"The object type, which is always 'vector_store.files_batch'.\").nullable(),\n status: OpenaiCreateVectorStoreFileBatch_VectorStoreFileBatchStatusSchema.nullable(),\n created_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store files batch was created.\").nullable(),\n file_counts: OpenaiCreateVectorStoreFileBatch_FileCountsSchema.nullable(),\n vector_store_id: z.string().describe(\"The ID of the vector store that the file batch is attached to.\").nullable(),\n}).passthrough().describe(\"Response model for created vector store file batch.\");\n\nexport const openaiCreateVectorStoreFileBatch: AppAction<\n typeof OpenaiCreateVectorStoreFileBatchInput,\n typeof OpenaiCreateVectorStoreFileBatchOutput,\n typeof openai.credential\n> = action(\"OPENAI_CREATE_VECTOR_STORE_FILE_BATCH\", {\n slug: \"openai-create-vector-store-file-batch\",\n name: \"Create vector store file batch\",\n description: \"Tool to create a vector store file batch. Use when attaching multiple files to a vector store for file search capabilities.\",\n input: OpenaiCreateVectorStoreFileBatchInput,\n output: OpenaiCreateVectorStoreFileBatchOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wCAAwC,EAAE,OAAO;CAC5D,OAAO,EAAE,MAAM,EAAE,OAAO;EACxB,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;EAChF,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;EACpJ,mBAAmB,EAAE,MAAM,CAAC,EAAE,OAAO,EACrC,MAAM,EAAE,KAAK,CAAC,QAAQ,QAAQ,CAAC,CAAC,CAAC,Q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C,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACrG,QAAQ,kEAAkE,SAAS;EACnF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;EACrI,aAAa,kDAAkD,SAAS;EACxE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-vector-store-file.cjs","names":["z","action"],"sources":["../../src/actions/create-vector-store-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiCreateVectorStoreFileInput = z.object({\n file_id: z.string().describe(\"A File ID that the vector store should use. Useful for tools like file_search that can access files.\"),\n vector_store_id: z.string().describe(\"The ID of the vector store for which to create a File.\"),\n chunking_strategy: z.union([z.object({\n type: z.enum([\"auto\", \"static\"]).default(\"auto\").describe(\"The type of chunking strategy. Set to 'auto' to use the default strategy.\").optional(),\n}).passthrough().describe(\"Auto chunking strategy - uses OpenAI's default chunking.\"), z.object({\n type: z.enum([\"auto\", \"static\"]).default(\"static\").describe(\"The type of chunking strategy. Set to 'static' to use the static strategy.\").optional(),\n static: z.object({\n chunk_overlap_tokens: z.number().int().describe(\"The number of tokens that overlap between chunks. The default value is 400.\"),\n max_chunk_size_tokens: z.number().int().describe(\"The maximum number of tokens in each chunk. The default is 800. The minimum value is 100 and the maximum value is 4096.\"),\n}).passthrough().describe(\"The static chunking configuration.\"),\n}).passthrough().describe(\"Static chunking strategy with custom configuration.\")]).optional(),\n}).describe(\"Request model for creating a vector store file.\");\nconst OpenaiCreateVectorStoreFile_VectorStoreFileStatusSchema = z.enum([\"in_progress\", \"completed\", \"cancelled\", \"failed\"]).describe(\"Status of a vector store file.\");\nconst OpenaiCreateVectorStoreFile_LastErrorInfoSchema = z.object({\n code: z.string().describe(\"Error code\").nullable(),\n message: z.string().describe(\"Error message\").nullable(),\n}).passthrough().describe(\"Information about the last error that occurred.\");\nconst OpenaiCreateVectorStoreFile_StaticChunkingStrategyResponseSchema = z.object({\n type: z.string().describe(\"The type of chunking strategy\").nullable(),\n static: z.record(z.string(), z.unknown()).describe(\"The static chunking configuration\"),\n}).passthrough().describe(\"Static chunking strategy in response.\");\nconst OpenaiCreateVectorStoreFile_OtherChunkingStrategyResponseSchema = z.object({\n type: z.string().describe(\"The type of chunking strategy\").nullable(),\n}).passthrough().describe(\"Other chunking strategy in response.\");\nexport const OpenaiCreateVectorStoreFileOutput = z.object({\n id: z.string().describe(\"The identifier, which can be referenced in API endpoints.\").nullable(),\n object: z.string().describe(\"The object type, which is always 'vector_store.file'.\").nullable(),\n status: OpenaiCreateVectorStoreFile_VectorStoreFileStatusSchema.nullable(),\n created_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store file was created.\").nullable(),\n last_error: OpenaiCreateVectorStoreFile_LastErrorInfoSchema.nullable().optional(),\n usage_bytes: z.number().int().describe(\"The total vector store usage in bytes. Note that this may be different from the original file size.\").nullable(),\n vector_store_id: z.string().describe(\"The ID of the vector store that the File is attached to.\").nullable(),\n chunking_strategy: z.union([OpenaiCreateVectorStoreFile_StaticChunkingStrategyResponseSchema, OpenaiCreateVectorStoreFile_OtherChunkingStrategyResponseSchema]).nullable().optional(),\n}).passthrough().describe(\"Response model for created vector store file.\");\n\nexport const openaiCreateVectorStoreFile = action(\"OPENAI_CREATE_VECTOR_STORE_FILE\", {\n slug: \"openai-create-vector-store-file\",\n name: \"Create Vector Store File\",\n description: \"Tool to create a vector store file by attaching a File to a vector store. Use when you need to add files to a vector store for file search capabilities.\",\n input: OpenaiCreateVectorStoreFileInput,\n output: OpenaiCreateVectorStoreFileOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-vector-store-file.cjs","names":["z","action"],"sources":["../../src/actions/create-vector-store-file.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { openai } from \"../app\";\n\nexport const OpenaiCreateVectorStoreFileInput = z.object({\n file_id: z.string().describe(\"A File ID that the vector store should use. Useful for tools like file_search that can access files.\"),\n vector_store_id: z.string().describe(\"The ID of the vector store for which to create a File.\"),\n chunking_strategy: z.union([z.object({\n type: z.enum([\"auto\", \"static\"]).default(\"auto\").describe(\"The type of chunking strategy. Set to 'auto' to use the default strategy.\").optional(),\n}).passthrough().describe(\"Auto chunking strategy - uses OpenAI's default chunking.\"), z.object({\n type: z.enum([\"auto\", \"static\"]).default(\"static\").describe(\"The type of chunking strategy. Set to 'static' to use the static strategy.\").optional(),\n static: z.object({\n chunk_overlap_tokens: z.number().int().describe(\"The number of tokens that overlap between chunks. The default value is 400.\"),\n max_chunk_size_tokens: z.number().int().describe(\"The maximum number of tokens in each chunk. The default is 800. The minimum value is 100 and the maximum value is 4096.\"),\n}).passthrough().describe(\"The static chunking configuration.\"),\n}).passthrough().describe(\"Static chunking strategy with custom configuration.\")]).optional(),\n}).describe(\"Request model for creating a vector store file.\");\nconst OpenaiCreateVectorStoreFile_VectorStoreFileStatusSchema = z.enum([\"in_progress\", \"completed\", \"cancelled\", \"failed\"]).describe(\"Status of a vector store file.\");\nconst OpenaiCreateVectorStoreFile_LastErrorInfoSchema = z.object({\n code: z.string().describe(\"Error code\").nullable(),\n message: z.string().describe(\"Error message\").nullable(),\n}).passthrough().describe(\"Information about the last error that occurred.\");\nconst OpenaiCreateVectorStoreFile_StaticChunkingStrategyResponseSchema = z.object({\n type: z.string().describe(\"The type of chunking strategy\").nullable(),\n static: z.record(z.string(), z.unknown()).describe(\"The static chunking configuration\"),\n}).passthrough().describe(\"Static chunking strategy in response.\");\nconst OpenaiCreateVectorStoreFile_OtherChunkingStrategyResponseSchema = z.object({\n type: z.string().describe(\"The type of chunking strategy\").nullable(),\n}).passthrough().describe(\"Other chunking strategy in response.\");\nexport const OpenaiCreateVectorStoreFileOutput = z.object({\n id: z.string().describe(\"The identifier, which can be referenced in API endpoints.\").nullable(),\n object: z.string().describe(\"The object type, which is always 'vector_store.file'.\").nullable(),\n status: OpenaiCreateVectorStoreFile_VectorStoreFileStatusSchema.nullable(),\n created_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store file was created.\").nullable(),\n last_error: OpenaiCreateVectorStoreFile_LastErrorInfoSchema.nullable().optional(),\n usage_bytes: z.number().int().describe(\"The total vector store usage in bytes. Note that this may be different from the original file size.\").nullable(),\n vector_store_id: z.string().describe(\"The ID of the vector store that the File is attached to.\").nullable(),\n chunking_strategy: z.union([OpenaiCreateVectorStoreFile_StaticChunkingStrategyResponseSchema, OpenaiCreateVectorStoreFile_OtherChunkingStrategyResponseSchema]).nullable().optional(),\n}).passthrough().describe(\"Response model for created vector store file.\");\n\nexport const openaiCreateVectorStoreFile: AppAction<\n typeof OpenaiCreateVectorStoreFileInput,\n typeof OpenaiCreateVectorStoreFileOutput,\n typeof openai.credential\n> = action(\"OPENAI_CREATE_VECTOR_STORE_FILE\", {\n slug: \"openai-create-vector-store-file\",\n name: \"Create Vector Store File\",\n description: \"Tool to create a vector store file by attaching a File to a vector store. Use when you need to add files to a vector store for file search capabilities.\",\n input: OpenaiCreateVectorStoreFileInput,\n output: OpenaiCreateVectorStoreFileOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG;CACnI,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CAC7F,mBAAmBA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,EACrC,MAAMA,IAAAA,EAAE,KAAK,CAAC,QAAQ,QAAQ,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,EAClJ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ACjE,MAAM,kEAAkEA,IAAAA,EAAE,OAAO,EAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,EACtE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC9F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC9F,QAAQ,wDAAwD,SAAS;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC9H,YAAY,gDAAgD,SAAS,CAAC,CAAC,SAAS;CAChF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CACvJ,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC1G,mBAAmBA,IAAAA,EAAE,MAAM,CAAC,kEAAkE,+DAA+D,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,8BAITC,eAAAA,OAAO,mCAAmC;CAC5C,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/create-vector-store-file.d.ts
|
|
@@ -43,22 +45,7 @@ declare const OpenaiCreateVectorStoreFileOutput: z.ZodObject<{
|
|
|
43
45
|
type: z.ZodNullable<z.ZodString>;
|
|
44
46
|
}, z.core.$loose>]>>>;
|
|
45
47
|
}, z.core.$loose>;
|
|
46
|
-
declare const openaiCreateVectorStoreFile:
|
|
47
|
-
file_id: string;
|
|
48
|
-
vector_store_id: string;
|
|
49
|
-
chunking_strategy?: {
|
|
50
|
-
[x: string]: unknown;
|
|
51
|
-
type?: "auto" | "static" | undefined;
|
|
52
|
-
} | {
|
|
53
|
-
[x: string]: unknown;
|
|
54
|
-
static: {
|
|
55
|
-
[x: string]: unknown;
|
|
56
|
-
chunk_overlap_tokens: number;
|
|
57
|
-
max_chunk_size_tokens: number;
|
|
58
|
-
};
|
|
59
|
-
type?: "auto" | "static" | undefined;
|
|
60
|
-
} | undefined;
|
|
61
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
48
|
+
declare const openaiCreateVectorStoreFile: AppAction<typeof OpenaiCreateVectorStoreFileInput, typeof OpenaiCreateVectorStoreFileOutput, typeof openai.credential>;
|
|
62
49
|
//#endregion
|
|
63
50
|
export { openaiCreateVectorStoreFile };
|
|
64
51
|
//# sourceMappingURL=create-vector-store-file.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-vector-store-file.d.cts","names":[],"sources":["../../src/actions/create-vector-store-file.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-vector-store-file.d.cts","names":[],"sources":["../../src/actions/create-vector-store-file.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAyBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAWjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,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/create-vector-store-file.d.ts
|
|
@@ -43,22 +45,7 @@ declare const OpenaiCreateVectorStoreFileOutput: z.ZodObject<{
|
|
|
43
45
|
type: z.ZodNullable<z.ZodString>;
|
|
44
46
|
}, z.core.$loose>]>>>;
|
|
45
47
|
}, z.core.$loose>;
|
|
46
|
-
declare const openaiCreateVectorStoreFile:
|
|
47
|
-
file_id: string;
|
|
48
|
-
vector_store_id: string;
|
|
49
|
-
chunking_strategy?: {
|
|
50
|
-
[x: string]: unknown;
|
|
51
|
-
type?: "auto" | "static" | undefined;
|
|
52
|
-
} | {
|
|
53
|
-
[x: string]: unknown;
|
|
54
|
-
static: {
|
|
55
|
-
[x: string]: unknown;
|
|
56
|
-
chunk_overlap_tokens: number;
|
|
57
|
-
max_chunk_size_tokens: number;
|
|
58
|
-
};
|
|
59
|
-
type?: "auto" | "static" | undefined;
|
|
60
|
-
} | undefined;
|
|
61
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
48
|
+
declare const openaiCreateVectorStoreFile: AppAction<typeof OpenaiCreateVectorStoreFileInput, typeof OpenaiCreateVectorStoreFileOutput, typeof openai.credential>;
|
|
62
49
|
//#endregion
|
|
63
50
|
export { openaiCreateVectorStoreFile };
|
|
64
51
|
//# sourceMappingURL=create-vector-store-file.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-vector-store-file.d.mts","names":[],"sources":["../../src/actions/create-vector-store-file.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-vector-store-file.d.mts","names":[],"sources":["../../src/actions/create-vector-store-file.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAyBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAWjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-vector-store-file.mjs","names":[],"sources":["../../src/actions/create-vector-store-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiCreateVectorStoreFileInput = z.object({\n file_id: z.string().describe(\"A File ID that the vector store should use. Useful for tools like file_search that can access files.\"),\n vector_store_id: z.string().describe(\"The ID of the vector store for which to create a File.\"),\n chunking_strategy: z.union([z.object({\n type: z.enum([\"auto\", \"static\"]).default(\"auto\").describe(\"The type of chunking strategy. Set to 'auto' to use the default strategy.\").optional(),\n}).passthrough().describe(\"Auto chunking strategy - uses OpenAI's default chunking.\"), z.object({\n type: z.enum([\"auto\", \"static\"]).default(\"static\").describe(\"The type of chunking strategy. Set to 'static' to use the static strategy.\").optional(),\n static: z.object({\n chunk_overlap_tokens: z.number().int().describe(\"The number of tokens that overlap between chunks. The default value is 400.\"),\n max_chunk_size_tokens: z.number().int().describe(\"The maximum number of tokens in each chunk. The default is 800. The minimum value is 100 and the maximum value is 4096.\"),\n}).passthrough().describe(\"The static chunking configuration.\"),\n}).passthrough().describe(\"Static chunking strategy with custom configuration.\")]).optional(),\n}).describe(\"Request model for creating a vector store file.\");\nconst OpenaiCreateVectorStoreFile_VectorStoreFileStatusSchema = z.enum([\"in_progress\", \"completed\", \"cancelled\", \"failed\"]).describe(\"Status of a vector store file.\");\nconst OpenaiCreateVectorStoreFile_LastErrorInfoSchema = z.object({\n code: z.string().describe(\"Error code\").nullable(),\n message: z.string().describe(\"Error message\").nullable(),\n}).passthrough().describe(\"Information about the last error that occurred.\");\nconst OpenaiCreateVectorStoreFile_StaticChunkingStrategyResponseSchema = z.object({\n type: z.string().describe(\"The type of chunking strategy\").nullable(),\n static: z.record(z.string(), z.unknown()).describe(\"The static chunking configuration\"),\n}).passthrough().describe(\"Static chunking strategy in response.\");\nconst OpenaiCreateVectorStoreFile_OtherChunkingStrategyResponseSchema = z.object({\n type: z.string().describe(\"The type of chunking strategy\").nullable(),\n}).passthrough().describe(\"Other chunking strategy in response.\");\nexport const OpenaiCreateVectorStoreFileOutput = z.object({\n id: z.string().describe(\"The identifier, which can be referenced in API endpoints.\").nullable(),\n object: z.string().describe(\"The object type, which is always 'vector_store.file'.\").nullable(),\n status: OpenaiCreateVectorStoreFile_VectorStoreFileStatusSchema.nullable(),\n created_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store file was created.\").nullable(),\n last_error: OpenaiCreateVectorStoreFile_LastErrorInfoSchema.nullable().optional(),\n usage_bytes: z.number().int().describe(\"The total vector store usage in bytes. Note that this may be different from the original file size.\").nullable(),\n vector_store_id: z.string().describe(\"The ID of the vector store that the File is attached to.\").nullable(),\n chunking_strategy: z.union([OpenaiCreateVectorStoreFile_StaticChunkingStrategyResponseSchema, OpenaiCreateVectorStoreFile_OtherChunkingStrategyResponseSchema]).nullable().optional(),\n}).passthrough().describe(\"Response model for created vector store file.\");\n\nexport const openaiCreateVectorStoreFile = action(\"OPENAI_CREATE_VECTOR_STORE_FILE\", {\n slug: \"openai-create-vector-store-file\",\n name: \"Create Vector Store File\",\n description: \"Tool to create a vector store file by attaching a File to a vector store. Use when you need to add files to a vector store for file search capabilities.\",\n input: OpenaiCreateVectorStoreFileInput,\n output: OpenaiCreateVectorStoreFileOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-vector-store-file.mjs","names":[],"sources":["../../src/actions/create-vector-store-file.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { openai } from \"../app\";\n\nexport const OpenaiCreateVectorStoreFileInput = z.object({\n file_id: z.string().describe(\"A File ID that the vector store should use. Useful for tools like file_search that can access files.\"),\n vector_store_id: z.string().describe(\"The ID of the vector store for which to create a File.\"),\n chunking_strategy: z.union([z.object({\n type: z.enum([\"auto\", \"static\"]).default(\"auto\").describe(\"The type of chunking strategy. Set to 'auto' to use the default strategy.\").optional(),\n}).passthrough().describe(\"Auto chunking strategy - uses OpenAI's default chunking.\"), z.object({\n type: z.enum([\"auto\", \"static\"]).default(\"static\").describe(\"The type of chunking strategy. Set to 'static' to use the static strategy.\").optional(),\n static: z.object({\n chunk_overlap_tokens: z.number().int().describe(\"The number of tokens that overlap between chunks. The default value is 400.\"),\n max_chunk_size_tokens: z.number().int().describe(\"The maximum number of tokens in each chunk. The default is 800. The minimum value is 100 and the maximum value is 4096.\"),\n}).passthrough().describe(\"The static chunking configuration.\"),\n}).passthrough().describe(\"Static chunking strategy with custom configuration.\")]).optional(),\n}).describe(\"Request model for creating a vector store file.\");\nconst OpenaiCreateVectorStoreFile_VectorStoreFileStatusSchema = z.enum([\"in_progress\", \"completed\", \"cancelled\", \"failed\"]).describe(\"Status of a vector store file.\");\nconst OpenaiCreateVectorStoreFile_LastErrorInfoSchema = z.object({\n code: z.string().describe(\"Error code\").nullable(),\n message: z.string().describe(\"Error message\").nullable(),\n}).passthrough().describe(\"Information about the last error that occurred.\");\nconst OpenaiCreateVectorStoreFile_StaticChunkingStrategyResponseSchema = z.object({\n type: z.string().describe(\"The type of chunking strategy\").nullable(),\n static: z.record(z.string(), z.unknown()).describe(\"The static chunking configuration\"),\n}).passthrough().describe(\"Static chunking strategy in response.\");\nconst OpenaiCreateVectorStoreFile_OtherChunkingStrategyResponseSchema = z.object({\n type: z.string().describe(\"The type of chunking strategy\").nullable(),\n}).passthrough().describe(\"Other chunking strategy in response.\");\nexport const OpenaiCreateVectorStoreFileOutput = z.object({\n id: z.string().describe(\"The identifier, which can be referenced in API endpoints.\").nullable(),\n object: z.string().describe(\"The object type, which is always 'vector_store.file'.\").nullable(),\n status: OpenaiCreateVectorStoreFile_VectorStoreFileStatusSchema.nullable(),\n created_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store file was created.\").nullable(),\n last_error: OpenaiCreateVectorStoreFile_LastErrorInfoSchema.nullable().optional(),\n usage_bytes: z.number().int().describe(\"The total vector store usage in bytes. Note that this may be different from the original file size.\").nullable(),\n vector_store_id: z.string().describe(\"The ID of the vector store that the File is attached to.\").nullable(),\n chunking_strategy: z.union([OpenaiCreateVectorStoreFile_StaticChunkingStrategyResponseSchema, OpenaiCreateVectorStoreFile_OtherChunkingStrategyResponseSchema]).nullable().optional(),\n}).passthrough().describe(\"Response model for created vector store file.\");\n\nexport const openaiCreateVectorStoreFile: AppAction<\n typeof OpenaiCreateVectorStoreFileInput,\n typeof OpenaiCreateVectorStoreFileOutput,\n typeof openai.credential\n> = action(\"OPENAI_CREATE_VECTOR_STORE_FILE\", {\n slug: \"openai-create-vector-store-file\",\n name: \"Create Vector Store File\",\n description: \"Tool to create a vector store file by attaching a File to a vector store. Use when you need to add files to a vector store for file search capabilities.\",\n input: OpenaiCreateVectorStoreFileInput,\n output: OpenaiCreateVectorStoreFileOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmC,EAAE,OAAO;CACvD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG;CACnI,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CAC7F,mBAAmB,EAAE,MAAM,CAAC,EAAE,OAAO,EACrC,MAAM,EAAE,KAAK,CAAC,QAAQ,QAAQ,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,EAClJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D,GAAG,EAAE,OAAO;EAC9F,MAAM,EAAE,KAAK,CAAC,QAAQ,QAAQ,CAAC,CAAC,CAAC,QAAQ,QAAQ,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EACnJ,QAAQ,EAAE,OAAO;GACjB,sBAAsB,EAAE,OAAO,CAAC,CAAC,I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,uDAAuD,CAAC,CAAC,SAAS;EAC9F,QAAQ,wDAAwD,SAAS;EACzE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;EAC9H,YAAY,gDAAgD,SAAS,CAAC,CAAC,SAAS;EAChF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EACvJ,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAC1G,mBAAmB,EAAE,MAAM,CAAC,kEAAkE,+DAA+D,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-vector-store.cjs","names":["z","action"],"sources":["../../src/actions/create-vector-store.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiCreateVectorStoreInput = z.object({\n name: z.string().describe(\"The name of the vector store. If not provided, the vector store will have no name.\").optional(),\n file_ids: z.array(z.string()).describe(\"A list of File IDs that the vector store should use. Useful for tools like file_search that can access files. Maximum 500 file IDs allowed.\").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.\").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. Must be between 1 and 365.\"),\n anchor: z.string().describe(\"Anchor timestamp after which the expiration policy applies. Must be 'last_active_at'.\"),\n}).describe(\"Expiration policy for a vector store.\").optional(),\n chunking_strategy: z.union([z.object({\n type: z.enum([\"auto\", \"static\"]).default(\"auto\").describe(\"Must be 'auto' for auto chunking strategy\").optional(),\n}).passthrough().describe(\"Auto chunking strategy configuration.\"), z.object({\n type: z.enum([\"auto\", \"static\"]).default(\"static\").describe(\"Must be 'static' for static chunking strategy\").optional(),\n static: z.object({\n chunk_overlap_tokens: z.number().int().describe(\"The number of tokens that overlap between chunks. Must be non-negative.\"),\n max_chunk_size_tokens: z.number().int().describe(\"The maximum number of tokens in each chunk. Must be between 100 and 4096.\"),\n}).passthrough().describe(\"Configuration for static chunking\"),\n}).passthrough().describe(\"Static chunking strategy configuration.\")]).optional(),\n}).describe(\"Request model for creating a vector store.\");\nconst OpenaiCreateVectorStore_VectorStoreStatusSchema = z.enum([\"expired\", \"in_progress\", \"completed\"]).describe(\"Status of a vector store.\");\nconst OpenaiCreateVectorStore_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 OpenaiCreateVectorStore_ExpirationPolicySchema = z.object({\n days: z.number().int().describe(\"The number of days after the anchor time that the vector store will expire. Must be between 1 and 365.\").nullable(),\n anchor: z.string().describe(\"Anchor timestamp after which the expiration policy applies. Must be 'last_active_at'.\").nullable(),\n}).passthrough().describe(\"Expiration policy for a vector store.\");\nexport const OpenaiCreateVectorStoreOutput = z.object({\n id: z.string().describe(\"The identifier of the vector store, which can be referenced in API endpoints\").nullable(),\n name: z.string().describe(\"The name of the vector store\").nullable().optional(),\n object: z.string().describe(\"The object type, which is always 'vector_store'\").nullable(),\n status: OpenaiCreateVectorStore_VectorStoreStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Metadata 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, if applicable\").nullable().optional(),\n file_counts: OpenaiCreateVectorStore_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: OpenaiCreateVectorStore_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 created vector store.\");\n\nexport const openaiCreateVectorStore = action(\"OPENAI_CREATE_VECTOR_STORE\", {\n slug: \"openai-create-vector-store\",\n name: \"Create Vector Store\",\n description: \"Tool to create a new vector store. Use when you need to create a collection of processed files for file_search tools.\",\n input: OpenaiCreateVectorStoreInput,\n output: OpenaiCreateVectorStoreOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-vector-store.cjs","names":["z","action"],"sources":["../../src/actions/create-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 OpenaiCreateVectorStoreInput = z.object({\n name: z.string().describe(\"The name of the vector store. If not provided, the vector store will have no name.\").optional(),\n file_ids: z.array(z.string()).describe(\"A list of File IDs that the vector store should use. Useful for tools like file_search that can access files. Maximum 500 file IDs allowed.\").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.\").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. Must be between 1 and 365.\"),\n anchor: z.string().describe(\"Anchor timestamp after which the expiration policy applies. Must be 'last_active_at'.\"),\n}).describe(\"Expiration policy for a vector store.\").optional(),\n chunking_strategy: z.union([z.object({\n type: z.enum([\"auto\", \"static\"]).default(\"auto\").describe(\"Must be 'auto' for auto chunking strategy\").optional(),\n}).passthrough().describe(\"Auto chunking strategy configuration.\"), z.object({\n type: z.enum([\"auto\", \"static\"]).default(\"static\").describe(\"Must be 'static' for static chunking strategy\").optional(),\n static: z.object({\n chunk_overlap_tokens: z.number().int().describe(\"The number of tokens that overlap between chunks. Must be non-negative.\"),\n max_chunk_size_tokens: z.number().int().describe(\"The maximum number of tokens in each chunk. Must be between 100 and 4096.\"),\n}).passthrough().describe(\"Configuration for static chunking\"),\n}).passthrough().describe(\"Static chunking strategy configuration.\")]).optional(),\n}).describe(\"Request model for creating a vector store.\");\nconst OpenaiCreateVectorStore_VectorStoreStatusSchema = z.enum([\"expired\", \"in_progress\", \"completed\"]).describe(\"Status of a vector store.\");\nconst OpenaiCreateVectorStore_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 OpenaiCreateVectorStore_ExpirationPolicySchema = z.object({\n days: z.number().int().describe(\"The number of days after the anchor time that the vector store will expire. Must be between 1 and 365.\").nullable(),\n anchor: z.string().describe(\"Anchor timestamp after which the expiration policy applies. Must be 'last_active_at'.\").nullable(),\n}).passthrough().describe(\"Expiration policy for a vector store.\");\nexport const OpenaiCreateVectorStoreOutput = z.object({\n id: z.string().describe(\"The identifier of the vector store, which can be referenced in API endpoints\").nullable(),\n name: z.string().describe(\"The name of the vector store\").nullable().optional(),\n object: z.string().describe(\"The object type, which is always 'vector_store'\").nullable(),\n status: OpenaiCreateVectorStore_VectorStoreStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Metadata 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, if applicable\").nullable().optional(),\n file_counts: OpenaiCreateVectorStore_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: OpenaiCreateVectorStore_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 created vector store.\");\n\nexport const openaiCreateVectorStore: AppAction<\n typeof OpenaiCreateVectorStoreInput,\n typeof OpenaiCreateVectorStoreOutput,\n typeof openai.credential\n> = action(\"OPENAI_CREATE_VECTOR_STORE\", {\n slug: \"openai-create-vector-store\",\n name: \"Create Vector Store\",\n description: \"Tool to create a new vector store. Use when you need to create a collection of processed files for file_search tools.\",\n input: OpenaiCreateVectorStoreInput,\n output: OpenaiCreateVectorStoreOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACzH,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS;CAC/L,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2KAA2K,CAAC,CAAC,SAAS;CAC3O,eAAeA,IAAAA,EAAE,OAAO;EACxB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wGAAwG;EACxI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF;CACrH,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5D,mBAAmBA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,EACrC,MAAMA,IAAAA,EAAE,KAAK,CAAC,QAAQ,QAAQ,CAAC,CAAC,CAAC,Q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E,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,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/create-vector-store.d.ts
|
|
@@ -51,27 +53,7 @@ declare const OpenaiCreateVectorStoreOutput: z.ZodObject<{
|
|
|
51
53
|
}, z.core.$loose>>>;
|
|
52
54
|
last_active_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
53
55
|
}, z.core.$loose>;
|
|
54
|
-
declare const openaiCreateVectorStore:
|
|
55
|
-
name?: string | undefined;
|
|
56
|
-
file_ids?: string[] | undefined;
|
|
57
|
-
metadata?: Record<string, unknown> | undefined;
|
|
58
|
-
expires_after?: {
|
|
59
|
-
days: number;
|
|
60
|
-
anchor: string;
|
|
61
|
-
} | undefined;
|
|
62
|
-
chunking_strategy?: {
|
|
63
|
-
[x: string]: unknown;
|
|
64
|
-
type?: "auto" | "static" | undefined;
|
|
65
|
-
} | {
|
|
66
|
-
[x: string]: unknown;
|
|
67
|
-
static: {
|
|
68
|
-
[x: string]: unknown;
|
|
69
|
-
chunk_overlap_tokens: number;
|
|
70
|
-
max_chunk_size_tokens: number;
|
|
71
|
-
};
|
|
72
|
-
type?: "auto" | "static" | undefined;
|
|
73
|
-
} | undefined;
|
|
74
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
56
|
+
declare const openaiCreateVectorStore: AppAction<typeof OpenaiCreateVectorStoreInput, typeof OpenaiCreateVectorStoreOutput, typeof openai.credential>;
|
|
75
57
|
//#endregion
|
|
76
58
|
export { openaiCreateVectorStore };
|
|
77
59
|
//# sourceMappingURL=create-vector-store.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-vector-store.d.cts","names":[],"sources":["../../src/actions/create-vector-store.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-vector-store.d.cts","names":[],"sources":["../../src/actions/create-vector-store.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cA8B5B,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/create-vector-store.d.ts
|
|
@@ -51,27 +53,7 @@ declare const OpenaiCreateVectorStoreOutput: z.ZodObject<{
|
|
|
51
53
|
}, z.core.$loose>>>;
|
|
52
54
|
last_active_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
53
55
|
}, z.core.$loose>;
|
|
54
|
-
declare const openaiCreateVectorStore:
|
|
55
|
-
name?: string | undefined;
|
|
56
|
-
file_ids?: string[] | undefined;
|
|
57
|
-
metadata?: Record<string, unknown> | undefined;
|
|
58
|
-
expires_after?: {
|
|
59
|
-
days: number;
|
|
60
|
-
anchor: string;
|
|
61
|
-
} | undefined;
|
|
62
|
-
chunking_strategy?: {
|
|
63
|
-
[x: string]: unknown;
|
|
64
|
-
type?: "auto" | "static" | undefined;
|
|
65
|
-
} | {
|
|
66
|
-
[x: string]: unknown;
|
|
67
|
-
static: {
|
|
68
|
-
[x: string]: unknown;
|
|
69
|
-
chunk_overlap_tokens: number;
|
|
70
|
-
max_chunk_size_tokens: number;
|
|
71
|
-
};
|
|
72
|
-
type?: "auto" | "static" | undefined;
|
|
73
|
-
} | undefined;
|
|
74
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
56
|
+
declare const openaiCreateVectorStore: AppAction<typeof OpenaiCreateVectorStoreInput, typeof OpenaiCreateVectorStoreOutput, typeof openai.credential>;
|
|
75
57
|
//#endregion
|
|
76
58
|
export { openaiCreateVectorStore };
|
|
77
59
|
//# sourceMappingURL=create-vector-store.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-vector-store.d.mts","names":[],"sources":["../../src/actions/create-vector-store.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-vector-store.d.mts","names":[],"sources":["../../src/actions/create-vector-store.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cA8B5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAc7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-vector-store.mjs","names":[],"sources":["../../src/actions/create-vector-store.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiCreateVectorStoreInput = z.object({\n name: z.string().describe(\"The name of the vector store. If not provided, the vector store will have no name.\").optional(),\n file_ids: z.array(z.string()).describe(\"A list of File IDs that the vector store should use. Useful for tools like file_search that can access files. Maximum 500 file IDs allowed.\").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.\").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. Must be between 1 and 365.\"),\n anchor: z.string().describe(\"Anchor timestamp after which the expiration policy applies. Must be 'last_active_at'.\"),\n}).describe(\"Expiration policy for a vector store.\").optional(),\n chunking_strategy: z.union([z.object({\n type: z.enum([\"auto\", \"static\"]).default(\"auto\").describe(\"Must be 'auto' for auto chunking strategy\").optional(),\n}).passthrough().describe(\"Auto chunking strategy configuration.\"), z.object({\n type: z.enum([\"auto\", \"static\"]).default(\"static\").describe(\"Must be 'static' for static chunking strategy\").optional(),\n static: z.object({\n chunk_overlap_tokens: z.number().int().describe(\"The number of tokens that overlap between chunks. Must be non-negative.\"),\n max_chunk_size_tokens: z.number().int().describe(\"The maximum number of tokens in each chunk. Must be between 100 and 4096.\"),\n}).passthrough().describe(\"Configuration for static chunking\"),\n}).passthrough().describe(\"Static chunking strategy configuration.\")]).optional(),\n}).describe(\"Request model for creating a vector store.\");\nconst OpenaiCreateVectorStore_VectorStoreStatusSchema = z.enum([\"expired\", \"in_progress\", \"completed\"]).describe(\"Status of a vector store.\");\nconst OpenaiCreateVectorStore_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 OpenaiCreateVectorStore_ExpirationPolicySchema = z.object({\n days: z.number().int().describe(\"The number of days after the anchor time that the vector store will expire. Must be between 1 and 365.\").nullable(),\n anchor: z.string().describe(\"Anchor timestamp after which the expiration policy applies. Must be 'last_active_at'.\").nullable(),\n}).passthrough().describe(\"Expiration policy for a vector store.\");\nexport const OpenaiCreateVectorStoreOutput = z.object({\n id: z.string().describe(\"The identifier of the vector store, which can be referenced in API endpoints\").nullable(),\n name: z.string().describe(\"The name of the vector store\").nullable().optional(),\n object: z.string().describe(\"The object type, which is always 'vector_store'\").nullable(),\n status: OpenaiCreateVectorStore_VectorStoreStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Metadata 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, if applicable\").nullable().optional(),\n file_counts: OpenaiCreateVectorStore_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: OpenaiCreateVectorStore_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 created vector store.\");\n\nexport const openaiCreateVectorStore = action(\"OPENAI_CREATE_VECTOR_STORE\", {\n slug: \"openai-create-vector-store\",\n name: \"Create Vector Store\",\n description: \"Tool to create a new vector store. Use when you need to create a collection of processed files for file_search tools.\",\n input: OpenaiCreateVectorStoreInput,\n output: OpenaiCreateVectorStoreOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-vector-store.mjs","names":[],"sources":["../../src/actions/create-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 OpenaiCreateVectorStoreInput = z.object({\n name: z.string().describe(\"The name of the vector store. If not provided, the vector store will have no name.\").optional(),\n file_ids: z.array(z.string()).describe(\"A list of File IDs that the vector store should use. Useful for tools like file_search that can access files. Maximum 500 file IDs allowed.\").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.\").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. Must be between 1 and 365.\"),\n anchor: z.string().describe(\"Anchor timestamp after which the expiration policy applies. Must be 'last_active_at'.\"),\n}).describe(\"Expiration policy for a vector store.\").optional(),\n chunking_strategy: z.union([z.object({\n type: z.enum([\"auto\", \"static\"]).default(\"auto\").describe(\"Must be 'auto' for auto chunking strategy\").optional(),\n}).passthrough().describe(\"Auto chunking strategy configuration.\"), z.object({\n type: z.enum([\"auto\", \"static\"]).default(\"static\").describe(\"Must be 'static' for static chunking strategy\").optional(),\n static: z.object({\n chunk_overlap_tokens: z.number().int().describe(\"The number of tokens that overlap between chunks. Must be non-negative.\"),\n max_chunk_size_tokens: z.number().int().describe(\"The maximum number of tokens in each chunk. Must be between 100 and 4096.\"),\n}).passthrough().describe(\"Configuration for static chunking\"),\n}).passthrough().describe(\"Static chunking strategy configuration.\")]).optional(),\n}).describe(\"Request model for creating a vector store.\");\nconst OpenaiCreateVectorStore_VectorStoreStatusSchema = z.enum([\"expired\", \"in_progress\", \"completed\"]).describe(\"Status of a vector store.\");\nconst OpenaiCreateVectorStore_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 OpenaiCreateVectorStore_ExpirationPolicySchema = z.object({\n days: z.number().int().describe(\"The number of days after the anchor time that the vector store will expire. Must be between 1 and 365.\").nullable(),\n anchor: z.string().describe(\"Anchor timestamp after which the expiration policy applies. Must be 'last_active_at'.\").nullable(),\n}).passthrough().describe(\"Expiration policy for a vector store.\");\nexport const OpenaiCreateVectorStoreOutput = z.object({\n id: z.string().describe(\"The identifier of the vector store, which can be referenced in API endpoints\").nullable(),\n name: z.string().describe(\"The name of the vector store\").nullable().optional(),\n object: z.string().describe(\"The object type, which is always 'vector_store'\").nullable(),\n status: OpenaiCreateVectorStore_VectorStoreStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Metadata 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, if applicable\").nullable().optional(),\n file_counts: OpenaiCreateVectorStore_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: OpenaiCreateVectorStore_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 created vector store.\");\n\nexport const openaiCreateVectorStore: AppAction<\n typeof OpenaiCreateVectorStoreInput,\n typeof OpenaiCreateVectorStoreOutput,\n typeof openai.credential\n> = action(\"OPENAI_CREATE_VECTOR_STORE\", {\n slug: \"openai-create-vector-store\",\n name: \"Create Vector Store\",\n description: \"Tool to create a new vector store. Use when you need to create a collection of processed files for file_search tools.\",\n input: OpenaiCreateVectorStoreInput,\n output: OpenaiCreateVectorStoreOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACzH,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS;CAC/L,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2KAA2K,CAAC,CAAC,SAAS;CAC3O,eAAe,EAAE,OAAO;EACxB,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC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,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,2CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-video-remix.cjs","names":["z","action"],"sources":["../../src/actions/create-video-remix.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiCreateVideoRemixInput = z.object({\n prompt: z.string().describe(\"Updated text prompt that directs the remix generation. Describes the transformations or changes to apply to the original video.\"),\n video_id: z.string().describe(\"The identifier of the completed video to remix. Must be a valid video ID from a previously generated video.\"),\n}).describe(\"Request model for creating a video remix from an existing generated video.\");\nconst OpenaiCreateVideoRemix_VideoSizeSchema = z.enum([\"720x1280\", \"1280x720\", \"1024x1792\", \"1792x1024\"]).describe(\"Size/aspect ratio values for video generation.\");\nconst OpenaiCreateVideoRemix_VideoErrorSchema = z.object({\n code: z.string().describe(\"Error code identifying the type of error\").nullable(),\n message: z.string().describe(\"Human-readable error message\").nullable(),\n}).passthrough().describe(\"Error details for failed video generation jobs.\");\nconst OpenaiCreateVideoRemix_VideoStatusSchema = z.enum([\"queued\", \"in_progress\", \"completed\", \"failed\"]).describe(\"Status values for video generation jobs.\");\nconst OpenaiCreateVideoRemix_VideoSecondsSchema = z.enum([\"4\", \"8\", \"12\"]).describe(\"Duration values for video generation.\");\nexport const OpenaiCreateVideoRemixOutput = z.object({\n id: z.string().describe(\"Unique identifier for the video remix generation job\").nullable(),\n size: OpenaiCreateVideoRemix_VideoSizeSchema.nullable(),\n error: OpenaiCreateVideoRemix_VideoErrorSchema.nullable().optional(),\n model: z.string().describe(\"The model used for video generation\").nullable().optional(),\n object: z.string().describe(\"The object type, which is always 'video'\").nullable(),\n prompt: z.string().describe(\"The prompt used for the remix generation\").nullable().optional(),\n status: OpenaiCreateVideoRemix_VideoStatusSchema.nullable(),\n seconds: OpenaiCreateVideoRemix_VideoSecondsSchema.nullable(),\n progress: z.number().int().describe(\"Approximate completion percentage for the generation task (0-100)\").nullable(),\n created_at: z.number().int().describe(\"Unix timestamp (in seconds) for when the job was created\").nullable(),\n expires_at: z.number().int().describe(\"Unix timestamp (in seconds) for when the video will expire and be deleted, or null if not applicable\").nullable().optional(),\n completed_at: z.number().int().describe(\"Unix timestamp (in seconds) for when the job completed, or null if not yet completed\").nullable().optional(),\n remixed_from_video_id: z.string().describe(\"The ID of the original video that this remix was created from\").nullable().optional(),\n}).passthrough().describe(\"Response model for video remix creation, containing the video job status and metadata.\");\n\nexport const openaiCreateVideoRemix = action(\"OPENAI_CREATE_VIDEO_REMIX\", {\n slug: \"openai-create-video-remix\",\n name: \"Create Video Remix\",\n description: \"Tool to create a video remix from an existing generated video using OpenAI's Video API. Use when you need to transform or modify a previously generated video based on a new prompt. The remix operation creates a new video job that applies the new prompt to the original video content.\",\n input: OpenaiCreateVideoRemixInput,\n output: OpenaiCreateVideoRemixOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-video-remix.cjs","names":["z","action"],"sources":["../../src/actions/create-video-remix.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 OpenaiCreateVideoRemixInput = z.object({\n prompt: z.string().describe(\"Updated text prompt that directs the remix generation. Describes the transformations or changes to apply to the original video.\"),\n video_id: z.string().describe(\"The identifier of the completed video to remix. Must be a valid video ID from a previously generated video.\"),\n}).describe(\"Request model for creating a video remix from an existing generated video.\");\nconst OpenaiCreateVideoRemix_VideoSizeSchema = z.enum([\"720x1280\", \"1280x720\", \"1024x1792\", \"1792x1024\"]).describe(\"Size/aspect ratio values for video generation.\");\nconst OpenaiCreateVideoRemix_VideoErrorSchema = z.object({\n code: z.string().describe(\"Error code identifying the type of error\").nullable(),\n message: z.string().describe(\"Human-readable error message\").nullable(),\n}).passthrough().describe(\"Error details for failed video generation jobs.\");\nconst OpenaiCreateVideoRemix_VideoStatusSchema = z.enum([\"queued\", \"in_progress\", \"completed\", \"failed\"]).describe(\"Status values for video generation jobs.\");\nconst OpenaiCreateVideoRemix_VideoSecondsSchema = z.enum([\"4\", \"8\", \"12\"]).describe(\"Duration values for video generation.\");\nexport const OpenaiCreateVideoRemixOutput = z.object({\n id: z.string().describe(\"Unique identifier for the video remix generation job\").nullable(),\n size: OpenaiCreateVideoRemix_VideoSizeSchema.nullable(),\n error: OpenaiCreateVideoRemix_VideoErrorSchema.nullable().optional(),\n model: z.string().describe(\"The model used for video generation\").nullable().optional(),\n object: z.string().describe(\"The object type, which is always 'video'\").nullable(),\n prompt: z.string().describe(\"The prompt used for the remix generation\").nullable().optional(),\n status: OpenaiCreateVideoRemix_VideoStatusSchema.nullable(),\n seconds: OpenaiCreateVideoRemix_VideoSecondsSchema.nullable(),\n progress: z.number().int().describe(\"Approximate completion percentage for the generation task (0-100)\").nullable(),\n created_at: z.number().int().describe(\"Unix timestamp (in seconds) for when the job was created\").nullable(),\n expires_at: z.number().int().describe(\"Unix timestamp (in seconds) for when the video will expire and be deleted, or null if not applicable\").nullable().optional(),\n completed_at: z.number().int().describe(\"Unix timestamp (in seconds) for when the job completed, or null if not yet completed\").nullable().optional(),\n remixed_from_video_id: z.string().describe(\"The ID of the original video that this remix was created from\").nullable().optional(),\n}).passthrough().describe(\"Response model for video remix creation, containing the video job status and metadata.\");\n\nexport const openaiCreateVideoRemix: AppAction<\n typeof OpenaiCreateVideoRemixInput,\n typeof OpenaiCreateVideoRemixOutput,\n typeof openai.credential\n> = action(\"OPENAI_CREATE_VIDEO_REMIX\", {\n slug: \"openai-create-video-remix\",\n name: \"Create Video Remix\",\n description: \"Tool to create a video remix from an existing generated video using OpenAI's Video API. Use when you need to transform or modify a previously generated video based on a new prompt. The remix operation creates a new video job that applies the new prompt to the original video content.\",\n input: OpenaiCreateVideoRemixInput,\n output: OpenaiCreateVideoRemixOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI;CAC7J,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;AAC7I,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,yCAAyCA,IAAAA,EAAE,KAAK;CAAC;CAAY;CAAY;CAAa;AAAW,CAAC,CAAC,CAAC,SAAS,gDAAgD;AACnK,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAM,2CAA2CA,IAAAA,EAAE,KAAK;CAAC;CAAU;CAAe;CAAa;AAAQ,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAC7J,MAAM,4CAA4CA,IAAAA,EAAE,KAAK;CAAC;CAAK;CAAK;AAAI,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAC3H,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACzF,MAAM,uCAAuC,SAAS;CACtD,OAAO,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,QAAQ,yCAAyC,SAAS;CAC1D,SAAS,0CAA0C,SAAS;CAC5D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAClH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC3G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClK,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpJ,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wFAAwF;AAElH,MAAa,yBAITC,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/create-video-remix.d.ts
|
|
@@ -37,10 +39,7 @@ declare const OpenaiCreateVideoRemixOutput: z.ZodObject<{
|
|
|
37
39
|
completed_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
38
40
|
remixed_from_video_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
41
|
}, z.core.$loose>;
|
|
40
|
-
declare const openaiCreateVideoRemix:
|
|
41
|
-
prompt: string;
|
|
42
|
-
video_id: string;
|
|
43
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
42
|
+
declare const openaiCreateVideoRemix: AppAction<typeof OpenaiCreateVideoRemixInput, typeof OpenaiCreateVideoRemixOutput, typeof openai.credential>;
|
|
44
43
|
//#endregion
|
|
45
44
|
export { openaiCreateVideoRemix };
|
|
46
45
|
//# sourceMappingURL=create-video-remix.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-video-remix.d.cts","names":[],"sources":["../../src/actions/create-video-remix.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-video-remix.d.cts","names":[],"sources":["../../src/actions/create-video-remix.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAW3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgB5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,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/create-video-remix.d.ts
|
|
@@ -37,10 +39,7 @@ declare const OpenaiCreateVideoRemixOutput: z.ZodObject<{
|
|
|
37
39
|
completed_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
38
40
|
remixed_from_video_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
41
|
}, z.core.$loose>;
|
|
40
|
-
declare const openaiCreateVideoRemix:
|
|
41
|
-
prompt: string;
|
|
42
|
-
video_id: string;
|
|
43
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
42
|
+
declare const openaiCreateVideoRemix: AppAction<typeof OpenaiCreateVideoRemixInput, typeof OpenaiCreateVideoRemixOutput, typeof openai.credential>;
|
|
44
43
|
//#endregion
|
|
45
44
|
export { openaiCreateVideoRemix };
|
|
46
45
|
//# sourceMappingURL=create-video-remix.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-video-remix.d.mts","names":[],"sources":["../../src/actions/create-video-remix.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-video-remix.d.mts","names":[],"sources":["../../src/actions/create-video-remix.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAW3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgB5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-video-remix.mjs","names":[],"sources":["../../src/actions/create-video-remix.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiCreateVideoRemixInput = z.object({\n prompt: z.string().describe(\"Updated text prompt that directs the remix generation. Describes the transformations or changes to apply to the original video.\"),\n video_id: z.string().describe(\"The identifier of the completed video to remix. Must be a valid video ID from a previously generated video.\"),\n}).describe(\"Request model for creating a video remix from an existing generated video.\");\nconst OpenaiCreateVideoRemix_VideoSizeSchema = z.enum([\"720x1280\", \"1280x720\", \"1024x1792\", \"1792x1024\"]).describe(\"Size/aspect ratio values for video generation.\");\nconst OpenaiCreateVideoRemix_VideoErrorSchema = z.object({\n code: z.string().describe(\"Error code identifying the type of error\").nullable(),\n message: z.string().describe(\"Human-readable error message\").nullable(),\n}).passthrough().describe(\"Error details for failed video generation jobs.\");\nconst OpenaiCreateVideoRemix_VideoStatusSchema = z.enum([\"queued\", \"in_progress\", \"completed\", \"failed\"]).describe(\"Status values for video generation jobs.\");\nconst OpenaiCreateVideoRemix_VideoSecondsSchema = z.enum([\"4\", \"8\", \"12\"]).describe(\"Duration values for video generation.\");\nexport const OpenaiCreateVideoRemixOutput = z.object({\n id: z.string().describe(\"Unique identifier for the video remix generation job\").nullable(),\n size: OpenaiCreateVideoRemix_VideoSizeSchema.nullable(),\n error: OpenaiCreateVideoRemix_VideoErrorSchema.nullable().optional(),\n model: z.string().describe(\"The model used for video generation\").nullable().optional(),\n object: z.string().describe(\"The object type, which is always 'video'\").nullable(),\n prompt: z.string().describe(\"The prompt used for the remix generation\").nullable().optional(),\n status: OpenaiCreateVideoRemix_VideoStatusSchema.nullable(),\n seconds: OpenaiCreateVideoRemix_VideoSecondsSchema.nullable(),\n progress: z.number().int().describe(\"Approximate completion percentage for the generation task (0-100)\").nullable(),\n created_at: z.number().int().describe(\"Unix timestamp (in seconds) for when the job was created\").nullable(),\n expires_at: z.number().int().describe(\"Unix timestamp (in seconds) for when the video will expire and be deleted, or null if not applicable\").nullable().optional(),\n completed_at: z.number().int().describe(\"Unix timestamp (in seconds) for when the job completed, or null if not yet completed\").nullable().optional(),\n remixed_from_video_id: z.string().describe(\"The ID of the original video that this remix was created from\").nullable().optional(),\n}).passthrough().describe(\"Response model for video remix creation, containing the video job status and metadata.\");\n\nexport const openaiCreateVideoRemix = action(\"OPENAI_CREATE_VIDEO_REMIX\", {\n slug: \"openai-create-video-remix\",\n name: \"Create Video Remix\",\n description: \"Tool to create a video remix from an existing generated video using OpenAI's Video API. Use when you need to transform or modify a previously generated video based on a new prompt. The remix operation creates a new video job that applies the new prompt to the original video content.\",\n input: OpenaiCreateVideoRemixInput,\n output: OpenaiCreateVideoRemixOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-video-remix.mjs","names":[],"sources":["../../src/actions/create-video-remix.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 OpenaiCreateVideoRemixInput = z.object({\n prompt: z.string().describe(\"Updated text prompt that directs the remix generation. Describes the transformations or changes to apply to the original video.\"),\n video_id: z.string().describe(\"The identifier of the completed video to remix. Must be a valid video ID from a previously generated video.\"),\n}).describe(\"Request model for creating a video remix from an existing generated video.\");\nconst OpenaiCreateVideoRemix_VideoSizeSchema = z.enum([\"720x1280\", \"1280x720\", \"1024x1792\", \"1792x1024\"]).describe(\"Size/aspect ratio values for video generation.\");\nconst OpenaiCreateVideoRemix_VideoErrorSchema = z.object({\n code: z.string().describe(\"Error code identifying the type of error\").nullable(),\n message: z.string().describe(\"Human-readable error message\").nullable(),\n}).passthrough().describe(\"Error details for failed video generation jobs.\");\nconst OpenaiCreateVideoRemix_VideoStatusSchema = z.enum([\"queued\", \"in_progress\", \"completed\", \"failed\"]).describe(\"Status values for video generation jobs.\");\nconst OpenaiCreateVideoRemix_VideoSecondsSchema = z.enum([\"4\", \"8\", \"12\"]).describe(\"Duration values for video generation.\");\nexport const OpenaiCreateVideoRemixOutput = z.object({\n id: z.string().describe(\"Unique identifier for the video remix generation job\").nullable(),\n size: OpenaiCreateVideoRemix_VideoSizeSchema.nullable(),\n error: OpenaiCreateVideoRemix_VideoErrorSchema.nullable().optional(),\n model: z.string().describe(\"The model used for video generation\").nullable().optional(),\n object: z.string().describe(\"The object type, which is always 'video'\").nullable(),\n prompt: z.string().describe(\"The prompt used for the remix generation\").nullable().optional(),\n status: OpenaiCreateVideoRemix_VideoStatusSchema.nullable(),\n seconds: OpenaiCreateVideoRemix_VideoSecondsSchema.nullable(),\n progress: z.number().int().describe(\"Approximate completion percentage for the generation task (0-100)\").nullable(),\n created_at: z.number().int().describe(\"Unix timestamp (in seconds) for when the job was created\").nullable(),\n expires_at: z.number().int().describe(\"Unix timestamp (in seconds) for when the video will expire and be deleted, or null if not applicable\").nullable().optional(),\n completed_at: z.number().int().describe(\"Unix timestamp (in seconds) for when the job completed, or null if not yet completed\").nullable().optional(),\n remixed_from_video_id: z.string().describe(\"The ID of the original video that this remix was created from\").nullable().optional(),\n}).passthrough().describe(\"Response model for video remix creation, containing the video job status and metadata.\");\n\nexport const openaiCreateVideoRemix: AppAction<\n typeof OpenaiCreateVideoRemixInput,\n typeof OpenaiCreateVideoRemixOutput,\n typeof openai.credential\n> = action(\"OPENAI_CREATE_VIDEO_REMIX\", {\n slug: \"openai-create-video-remix\",\n name: \"Create Video Remix\",\n description: \"Tool to create a video remix from an existing generated video using OpenAI's Video API. Use when you need to transform or modify a previously generated video based on a new prompt. The remix operation creates a new video job that applies the new prompt to the original video content.\",\n input: OpenaiCreateVideoRemixInput,\n output: OpenaiCreateVideoRemixOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8B,EAAE,OAAO;CAClD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI;CAC7J,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;AAC7I,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,yCAAyC,EAAE,KAAK;CAAC;CAAY;CAAY;CAAa;AAAW,CAAC,CAAC,CAAC,SAAS,gDAAgD;AACnK,MAAM,0CAA0C,EAAE,OAAO;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC/E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAM,2CAA2C,EAAE,KAAK;CAAC;CAAU;CAAe;CAAa;AAAQ,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAC7J,MAAM,4CAA4C,EAAE,KAAK;CAAC;CAAK;CAAK;AAAI,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAiB3H,MAAa,yBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAzB0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACzF,MAAM,uCAAuC,SAAS;EACtD,OAAO,wCAAwC,SAAS,CAAC,CAAC,SAAS;EACnE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,QAAQ,yCAAyC,SAAS;EAC1D,SAAS,0CAA0C,SAAS;EAC5D,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EAClH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAC3G,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClK,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpJ,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wFAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-video.cjs","names":["z","action"],"sources":["../../src/actions/create-video.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiCreateVideoInput = z.object({\n size: z.enum([\"720x1280\", \"1280x720\", \"1024x1792\", \"1792x1024\"]).describe(\"Resolution options for video generation.\").optional(),\n model: z.string().describe(\"ID of the Sora model to use for video generation. If not specified, the default model will be used. Common models include 'veo-2.0' and other Sora variants.\").optional(),\n prompt: z.string().describe(\"Text prompt that describes the video to generate. The prompt guides the visual content, scene composition, motion, and style of the video. Maximum length: 32000 characters.\"),\n seconds: z.enum([\"4\", \"8\", \"12\"]).describe(\"Duration options for video generation.\").optional(),\n}).describe(\"Request model for creating a video generation job using Sora models.\");\nconst OpenaiCreateVideo_VideoErrorSchema = z.object({\n code: z.string().describe(\"Error code indicating the type of failure\").nullable(),\n message: z.string().describe(\"Human-readable error message\").nullable(),\n}).passthrough().describe(\"Error details if video generation fails.\");\nexport const OpenaiCreateVideoOutput = z.object({\n id: z.string().describe(\"Unique identifier for the video generation job\").nullable(),\n size: z.string().describe(\"The resolution/size of the generated video (e.g., '1280x720')\").nullable(),\n error: OpenaiCreateVideo_VideoErrorSchema.nullable().optional(),\n model: z.string().describe(\"The model ID used for generating this video\").nullable(),\n object: z.string().describe(\"Object type, always 'video' for video generation jobs\").nullable(),\n prompt: z.string().describe(\"The text prompt used to generate this video\").nullable().optional(),\n status: z.string().describe(\"Current status of the video generation job. Possible values: 'queued' (job is waiting to start), 'in_progress' (actively generating), 'completed' (generation finished successfully), 'failed' (generation failed)\").nullable(),\n seconds: z.string().describe(\"The duration of the generated video in seconds (e.g., '4', '8', '12')\").nullable(),\n progress: z.number().int().describe(\"Approximate completion percentage for the generation task, ranging from 0 to 100\").nullable(),\n created_at: z.number().int().describe(\"Unix timestamp (seconds) indicating when the job was created\").nullable(),\n expires_at: z.number().int().describe(\"Unix timestamp (seconds) when the generated video will expire and be deleted. Null if not applicable or job not completed.\").nullable().optional(),\n completed_at: z.number().int().describe(\"Unix timestamp (seconds) when the job completed. Null if not yet completed.\").nullable().optional(),\n remixed_from_video_id: z.string().describe(\"ID of a source video if this video was remixed/generated from another video. Null if this is an original generation.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for video generation job.\");\n\nexport const openaiCreateVideo = action(\"OPENAI_CREATE_VIDEO\", {\n slug: \"openai-create-video\",\n name: \"Create Video\",\n description: \"Tool to create a video using Sora models via the OpenAI Videos API. Use when you need to generate videos from text descriptions. The response includes a job ID and status for tracking the asynchronous video generation process.\",\n input: OpenaiCreateVideoInput,\n output: OpenaiCreateVideoOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-video.cjs","names":["z","action"],"sources":["../../src/actions/create-video.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { openai } from \"../app\";\n\nexport const OpenaiCreateVideoInput = z.object({\n size: z.enum([\"720x1280\", \"1280x720\", \"1024x1792\", \"1792x1024\"]).describe(\"Resolution options for video generation.\").optional(),\n model: z.string().describe(\"ID of the Sora model to use for video generation. If not specified, the default model will be used. Common models include 'veo-2.0' and other Sora variants.\").optional(),\n prompt: z.string().describe(\"Text prompt that describes the video to generate. The prompt guides the visual content, scene composition, motion, and style of the video. Maximum length: 32000 characters.\"),\n seconds: z.enum([\"4\", \"8\", \"12\"]).describe(\"Duration options for video generation.\").optional(),\n}).describe(\"Request model for creating a video generation job using Sora models.\");\nconst OpenaiCreateVideo_VideoErrorSchema = z.object({\n code: z.string().describe(\"Error code indicating the type of failure\").nullable(),\n message: z.string().describe(\"Human-readable error message\").nullable(),\n}).passthrough().describe(\"Error details if video generation fails.\");\nexport const OpenaiCreateVideoOutput = z.object({\n id: z.string().describe(\"Unique identifier for the video generation job\").nullable(),\n size: z.string().describe(\"The resolution/size of the generated video (e.g., '1280x720')\").nullable(),\n error: OpenaiCreateVideo_VideoErrorSchema.nullable().optional(),\n model: z.string().describe(\"The model ID used for generating this video\").nullable(),\n object: z.string().describe(\"Object type, always 'video' for video generation jobs\").nullable(),\n prompt: z.string().describe(\"The text prompt used to generate this video\").nullable().optional(),\n status: z.string().describe(\"Current status of the video generation job. Possible values: 'queued' (job is waiting to start), 'in_progress' (actively generating), 'completed' (generation finished successfully), 'failed' (generation failed)\").nullable(),\n seconds: z.string().describe(\"The duration of the generated video in seconds (e.g., '4', '8', '12')\").nullable(),\n progress: z.number().int().describe(\"Approximate completion percentage for the generation task, ranging from 0 to 100\").nullable(),\n created_at: z.number().int().describe(\"Unix timestamp (seconds) indicating when the job was created\").nullable(),\n expires_at: z.number().int().describe(\"Unix timestamp (seconds) when the generated video will expire and be deleted. Null if not applicable or job not completed.\").nullable().optional(),\n completed_at: z.number().int().describe(\"Unix timestamp (seconds) when the job completed. Null if not yet completed.\").nullable().optional(),\n remixed_from_video_id: z.string().describe(\"ID of a source video if this video was remixed/generated from another video. Null if this is an original generation.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for video generation job.\");\n\nexport const openaiCreateVideo: AppAction<\n typeof OpenaiCreateVideoInput,\n typeof OpenaiCreateVideoOutput,\n typeof openai.credential\n> = action(\"OPENAI_CREATE_VIDEO\", {\n slug: \"openai-create-video\",\n name: \"Create Video\",\n description: \"Tool to create a video using Sora models via the OpenAI Videos API. Use when you need to generate videos from text descriptions. The response includes a job ID and status for tracking the asynchronous video generation process.\",\n input: OpenaiCreateVideoInput,\n output: OpenaiCreateVideoOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAY;EAAa;CAAW,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC/H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J,CAAC,CAAC,SAAS;CACpM,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8KAA8K;CAC1M,SAASA,IAAAA,EAAE,KAAK;EAAC;EAAK;EAAK;CAAI,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC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