@keystrokehq/scale_ai 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-studio-assignments.cjs +1 -0
- package/dist/actions/add-studio-assignments.cjs.map +1 -1
- package/dist/actions/add-studio-assignments.d.cts +3 -4
- package/dist/actions/add-studio-assignments.d.cts.map +1 -1
- package/dist/actions/add-studio-assignments.d.mts +3 -4
- package/dist/actions/add-studio-assignments.d.mts.map +1 -1
- package/dist/actions/add-studio-assignments.mjs +1 -0
- package/dist/actions/add-studio-assignments.mjs.map +1 -1
- package/dist/actions/add-task-tags.cjs +1 -0
- package/dist/actions/add-task-tags.cjs.map +1 -1
- package/dist/actions/add-task-tags.d.cts +3 -4
- package/dist/actions/add-task-tags.d.cts.map +1 -1
- package/dist/actions/add-task-tags.d.mts +3 -4
- package/dist/actions/add-task-tags.d.mts.map +1 -1
- package/dist/actions/add-task-tags.mjs +1 -0
- package/dist/actions/add-task-tags.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 -7
- package/dist/actions/create-batch.d.cts.map +1 -1
- package/dist/actions/create-batch.d.mts +3 -7
- 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-document-transcription-task.cjs +1 -0
- package/dist/actions/create-document-transcription-task.cjs.map +1 -1
- package/dist/actions/create-document-transcription-task.d.cts +3 -41
- package/dist/actions/create-document-transcription-task.d.cts.map +1 -1
- package/dist/actions/create-document-transcription-task.d.mts +3 -41
- package/dist/actions/create-document-transcription-task.d.mts.map +1 -1
- package/dist/actions/create-document-transcription-task.mjs +1 -0
- package/dist/actions/create-document-transcription-task.mjs.map +1 -1
- package/dist/actions/create-image-annotation-task.cjs +1 -0
- package/dist/actions/create-image-annotation-task.cjs.map +1 -1
- package/dist/actions/create-image-annotation-task.d.cts +3 -113
- package/dist/actions/create-image-annotation-task.d.cts.map +1 -1
- package/dist/actions/create-image-annotation-task.d.mts +3 -113
- package/dist/actions/create-image-annotation-task.d.mts.map +1 -1
- package/dist/actions/create-image-annotation-task.mjs +1 -0
- package/dist/actions/create-image-annotation-task.mjs.map +1 -1
- package/dist/actions/create-lidar-annotation-task.cjs +1 -0
- package/dist/actions/create-lidar-annotation-task.cjs.map +1 -1
- package/dist/actions/create-lidar-annotation-task.d.cts +3 -20
- package/dist/actions/create-lidar-annotation-task.d.cts.map +1 -1
- package/dist/actions/create-lidar-annotation-task.d.mts +3 -20
- package/dist/actions/create-lidar-annotation-task.d.mts.map +1 -1
- package/dist/actions/create-lidar-annotation-task.mjs +1 -0
- package/dist/actions/create-lidar-annotation-task.mjs.map +1 -1
- package/dist/actions/create-lidar-segmentation-task.cjs +1 -0
- package/dist/actions/create-lidar-segmentation-task.cjs.map +1 -1
- package/dist/actions/create-lidar-segmentation-task.d.cts +3 -15
- package/dist/actions/create-lidar-segmentation-task.d.cts.map +1 -1
- package/dist/actions/create-lidar-segmentation-task.d.mts +3 -15
- package/dist/actions/create-lidar-segmentation-task.d.mts.map +1 -1
- package/dist/actions/create-lidar-segmentation-task.mjs +1 -0
- package/dist/actions/create-lidar-segmentation-task.mjs.map +1 -1
- package/dist/actions/create-named-entity-recognition-task.cjs +1 -0
- package/dist/actions/create-named-entity-recognition-task.cjs.map +1 -1
- package/dist/actions/create-named-entity-recognition-task.d.cts +3 -31
- package/dist/actions/create-named-entity-recognition-task.d.cts.map +1 -1
- package/dist/actions/create-named-entity-recognition-task.d.mts +3 -31
- package/dist/actions/create-named-entity-recognition-task.d.mts.map +1 -1
- package/dist/actions/create-named-entity-recognition-task.mjs +1 -0
- package/dist/actions/create-named-entity-recognition-task.mjs.map +1 -1
- package/dist/actions/create-segmentation-annotation-task.cjs +1 -0
- package/dist/actions/create-segmentation-annotation-task.cjs.map +1 -1
- package/dist/actions/create-segmentation-annotation-task.d.cts +3 -24
- package/dist/actions/create-segmentation-annotation-task.d.cts.map +1 -1
- package/dist/actions/create-segmentation-annotation-task.d.mts +3 -24
- package/dist/actions/create-segmentation-annotation-task.d.mts.map +1 -1
- package/dist/actions/create-segmentation-annotation-task.mjs +1 -0
- package/dist/actions/create-segmentation-annotation-task.mjs.map +1 -1
- package/dist/actions/create-text-collection-task.cjs +1 -0
- package/dist/actions/create-text-collection-task.cjs.map +1 -1
- package/dist/actions/create-text-collection-task.d.cts +3 -33
- package/dist/actions/create-text-collection-task.d.cts.map +1 -1
- package/dist/actions/create-text-collection-task.d.mts +3 -33
- package/dist/actions/create-text-collection-task.d.mts.map +1 -1
- package/dist/actions/create-text-collection-task.mjs +1 -0
- package/dist/actions/create-text-collection-task.mjs.map +1 -1
- package/dist/actions/create-video-annotation-task.cjs +1 -0
- package/dist/actions/create-video-annotation-task.cjs.map +1 -1
- package/dist/actions/create-video-annotation-task.d.cts +3 -65
- package/dist/actions/create-video-annotation-task.d.cts.map +1 -1
- package/dist/actions/create-video-annotation-task.d.mts +3 -65
- package/dist/actions/create-video-annotation-task.d.mts.map +1 -1
- package/dist/actions/create-video-annotation-task.mjs +1 -0
- package/dist/actions/create-video-annotation-task.mjs.map +1 -1
- package/dist/actions/create-video-playback-annotation-task.cjs +1 -0
- package/dist/actions/create-video-playback-annotation-task.cjs.map +1 -1
- package/dist/actions/create-video-playback-annotation-task.d.cts +3 -71
- package/dist/actions/create-video-playback-annotation-task.d.cts.map +1 -1
- package/dist/actions/create-video-playback-annotation-task.d.mts +3 -71
- package/dist/actions/create-video-playback-annotation-task.d.mts.map +1 -1
- package/dist/actions/create-video-playback-annotation-task.mjs +1 -0
- package/dist/actions/create-video-playback-annotation-task.mjs.map +1 -1
- package/dist/actions/delete-task-tags.cjs +1 -0
- package/dist/actions/delete-task-tags.cjs.map +1 -1
- package/dist/actions/delete-task-tags.d.cts +3 -4
- package/dist/actions/delete-task-tags.d.cts.map +1 -1
- package/dist/actions/delete-task-tags.d.mts +3 -4
- package/dist/actions/delete-task-tags.d.mts.map +1 -1
- package/dist/actions/delete-task-tags.mjs +1 -0
- package/dist/actions/delete-task-tags.mjs.map +1 -1
- package/dist/actions/delete-task-unique-id.cjs +1 -0
- package/dist/actions/delete-task-unique-id.cjs.map +1 -1
- package/dist/actions/delete-task-unique-id.d.cts +3 -3
- package/dist/actions/delete-task-unique-id.d.cts.map +1 -1
- package/dist/actions/delete-task-unique-id.d.mts +3 -3
- package/dist/actions/delete-task-unique-id.d.mts.map +1 -1
- package/dist/actions/delete-task-unique-id.mjs +1 -0
- package/dist/actions/delete-task-unique-id.mjs.map +1 -1
- package/dist/actions/finalize-batch.cjs +1 -0
- package/dist/actions/finalize-batch.cjs.map +1 -1
- package/dist/actions/finalize-batch.d.cts +3 -3
- package/dist/actions/finalize-batch.d.cts.map +1 -1
- package/dist/actions/finalize-batch.d.mts +3 -3
- package/dist/actions/finalize-batch.d.mts.map +1 -1
- package/dist/actions/finalize-batch.mjs +1 -0
- package/dist/actions/finalize-batch.mjs.map +1 -1
- package/dist/actions/get-assets.cjs +1 -0
- package/dist/actions/get-assets.cjs.map +1 -1
- package/dist/actions/get-assets.d.cts +3 -5
- package/dist/actions/get-assets.d.cts.map +1 -1
- package/dist/actions/get-assets.d.mts +3 -5
- package/dist/actions/get-assets.d.mts.map +1 -1
- package/dist/actions/get-assets.mjs +1 -0
- package/dist/actions/get-assets.mjs.map +1 -1
- package/dist/actions/get-batch-status.cjs +1 -0
- package/dist/actions/get-batch-status.cjs.map +1 -1
- package/dist/actions/get-batch-status.d.cts +3 -3
- package/dist/actions/get-batch-status.d.cts.map +1 -1
- package/dist/actions/get-batch-status.d.mts +3 -3
- package/dist/actions/get-batch-status.d.mts.map +1 -1
- package/dist/actions/get-batch-status.mjs +1 -0
- package/dist/actions/get-batch-status.mjs.map +1 -1
- package/dist/actions/get-batch.cjs +1 -0
- package/dist/actions/get-batch.cjs.map +1 -1
- package/dist/actions/get-batch.d.cts +3 -3
- package/dist/actions/get-batch.d.cts.map +1 -1
- package/dist/actions/get-batch.d.mts +3 -3
- package/dist/actions/get-batch.d.mts.map +1 -1
- package/dist/actions/get-batch.mjs +1 -0
- package/dist/actions/get-batch.mjs.map +1 -1
- package/dist/actions/get-fixless-audits.cjs +1 -0
- package/dist/actions/get-fixless-audits.cjs.map +1 -1
- package/dist/actions/get-fixless-audits.d.cts +3 -4
- package/dist/actions/get-fixless-audits.d.cts.map +1 -1
- package/dist/actions/get-fixless-audits.d.mts +3 -4
- package/dist/actions/get-fixless-audits.d.mts.map +1 -1
- package/dist/actions/get-fixless-audits.mjs +1 -0
- package/dist/actions/get-fixless-audits.mjs.map +1 -1
- package/dist/actions/get-project.cjs +1 -0
- package/dist/actions/get-project.cjs.map +1 -1
- package/dist/actions/get-project.d.cts +3 -3
- package/dist/actions/get-project.d.cts.map +1 -1
- package/dist/actions/get-project.d.mts +3 -3
- package/dist/actions/get-project.d.mts.map +1 -1
- package/dist/actions/get-project.mjs +1 -0
- package/dist/actions/get-project.mjs.map +1 -1
- package/dist/actions/get-quality-labelers.cjs +1 -0
- package/dist/actions/get-quality-labelers.cjs.map +1 -1
- package/dist/actions/get-quality-labelers.d.cts +3 -6
- package/dist/actions/get-quality-labelers.d.cts.map +1 -1
- package/dist/actions/get-quality-labelers.d.mts +3 -6
- package/dist/actions/get-quality-labelers.d.mts.map +1 -1
- package/dist/actions/get-quality-labelers.mjs +1 -0
- package/dist/actions/get-quality-labelers.mjs.map +1 -1
- package/dist/actions/get-studio-assignments.cjs +1 -0
- package/dist/actions/get-studio-assignments.cjs.map +1 -1
- package/dist/actions/get-studio-assignments.d.cts +3 -1
- package/dist/actions/get-studio-assignments.d.cts.map +1 -1
- package/dist/actions/get-studio-assignments.d.mts +3 -1
- package/dist/actions/get-studio-assignments.d.mts.map +1 -1
- package/dist/actions/get-studio-assignments.mjs +1 -0
- package/dist/actions/get-studio-assignments.mjs.map +1 -1
- package/dist/actions/get-studio-batches.cjs +1 -0
- package/dist/actions/get-studio-batches.cjs.map +1 -1
- package/dist/actions/get-studio-batches.d.cts +3 -1
- package/dist/actions/get-studio-batches.d.cts.map +1 -1
- package/dist/actions/get-studio-batches.d.mts +3 -1
- package/dist/actions/get-studio-batches.d.mts.map +1 -1
- package/dist/actions/get-studio-batches.mjs +1 -0
- package/dist/actions/get-studio-batches.mjs.map +1 -1
- package/dist/actions/get-teams.cjs +1 -0
- package/dist/actions/get-teams.cjs.map +1 -1
- package/dist/actions/get-teams.d.cts +3 -1
- package/dist/actions/get-teams.d.cts.map +1 -1
- package/dist/actions/get-teams.d.mts +3 -1
- package/dist/actions/get-teams.d.mts.map +1 -1
- package/dist/actions/get-teams.mjs +1 -0
- package/dist/actions/get-teams.mjs.map +1 -1
- package/dist/actions/get-v1-task-response-url.cjs +1 -0
- package/dist/actions/get-v1-task-response-url.cjs.map +1 -1
- package/dist/actions/get-v1-task-response-url.d.cts +3 -4
- package/dist/actions/get-v1-task-response-url.d.cts.map +1 -1
- package/dist/actions/get-v1-task-response-url.d.mts +3 -4
- package/dist/actions/get-v1-task-response-url.d.mts.map +1 -1
- package/dist/actions/get-v1-task-response-url.mjs +1 -0
- package/dist/actions/get-v1-task-response-url.mjs.map +1 -1
- package/dist/actions/get-v1-task.cjs +1 -0
- package/dist/actions/get-v1-task.cjs.map +1 -1
- package/dist/actions/get-v1-task.d.cts +3 -3
- package/dist/actions/get-v1-task.d.cts.map +1 -1
- package/dist/actions/get-v1-task.d.mts +3 -3
- package/dist/actions/get-v1-task.d.mts.map +1 -1
- package/dist/actions/get-v1-task.mjs +1 -0
- package/dist/actions/get-v1-task.mjs.map +1 -1
- package/dist/actions/import-file.cjs +1 -0
- package/dist/actions/import-file.cjs.map +1 -1
- package/dist/actions/import-file.d.cts +3 -4
- package/dist/actions/import-file.d.cts.map +1 -1
- package/dist/actions/import-file.d.mts +3 -4
- package/dist/actions/import-file.d.mts.map +1 -1
- package/dist/actions/import-file.mjs +1 -0
- package/dist/actions/import-file.mjs.map +1 -1
- package/dist/actions/invite-team-member.cjs +1 -0
- package/dist/actions/invite-team-member.cjs.map +1 -1
- package/dist/actions/invite-team-member.d.cts +3 -4
- package/dist/actions/invite-team-member.d.cts.map +1 -1
- package/dist/actions/invite-team-member.d.mts +3 -4
- package/dist/actions/invite-team-member.d.mts.map +1 -1
- package/dist/actions/invite-team-member.mjs +1 -0
- package/dist/actions/invite-team-member.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 -9
- package/dist/actions/list-batches.d.cts.map +1 -1
- package/dist/actions/list-batches.d.mts +3 -9
- 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-projects.cjs +1 -0
- package/dist/actions/list-projects.cjs.map +1 -1
- package/dist/actions/list-projects.d.cts +3 -5
- package/dist/actions/list-projects.d.cts.map +1 -1
- package/dist/actions/list-projects.d.mts +3 -5
- package/dist/actions/list-projects.d.mts.map +1 -1
- package/dist/actions/list-projects.mjs +1 -0
- package/dist/actions/list-projects.mjs.map +1 -1
- package/dist/actions/list-tasks.cjs +1 -0
- package/dist/actions/list-tasks.cjs.map +1 -1
- package/dist/actions/list-tasks.d.cts +3 -18
- package/dist/actions/list-tasks.d.cts.map +1 -1
- package/dist/actions/list-tasks.d.mts +3 -18
- package/dist/actions/list-tasks.d.mts.map +1 -1
- package/dist/actions/list-tasks.mjs +1 -0
- package/dist/actions/list-tasks.mjs.map +1 -1
- package/dist/actions/post-v1-task-send-callback.cjs +1 -0
- package/dist/actions/post-v1-task-send-callback.cjs.map +1 -1
- package/dist/actions/post-v1-task-send-callback.d.cts +3 -3
- package/dist/actions/post-v1-task-send-callback.d.cts.map +1 -1
- package/dist/actions/post-v1-task-send-callback.d.mts +3 -3
- package/dist/actions/post-v1-task-send-callback.d.mts.map +1 -1
- package/dist/actions/post-v1-task-send-callback.mjs +1 -0
- package/dist/actions/post-v1-task-send-callback.mjs.map +1 -1
- package/dist/actions/remove-studio-assignments.cjs +1 -0
- package/dist/actions/remove-studio-assignments.cjs.map +1 -1
- package/dist/actions/remove-studio-assignments.d.cts +3 -4
- package/dist/actions/remove-studio-assignments.d.cts.map +1 -1
- package/dist/actions/remove-studio-assignments.d.mts +3 -4
- package/dist/actions/remove-studio-assignments.d.mts.map +1 -1
- package/dist/actions/remove-studio-assignments.mjs +1 -0
- package/dist/actions/remove-studio-assignments.mjs.map +1 -1
- package/dist/actions/reset-batch-priorities.cjs +1 -0
- package/dist/actions/reset-batch-priorities.cjs.map +1 -1
- package/dist/actions/reset-batch-priorities.d.cts +3 -3
- package/dist/actions/reset-batch-priorities.d.cts.map +1 -1
- package/dist/actions/reset-batch-priorities.d.mts +3 -3
- package/dist/actions/reset-batch-priorities.d.mts.map +1 -1
- package/dist/actions/reset-batch-priorities.mjs +1 -0
- package/dist/actions/reset-batch-priorities.mjs.map +1 -1
- package/dist/actions/set-batch-priorities.cjs +1 -0
- package/dist/actions/set-batch-priorities.cjs.map +1 -1
- package/dist/actions/set-batch-priorities.d.cts +3 -6
- package/dist/actions/set-batch-priorities.d.cts.map +1 -1
- package/dist/actions/set-batch-priorities.d.mts +3 -6
- package/dist/actions/set-batch-priorities.d.mts.map +1 -1
- package/dist/actions/set-batch-priorities.mjs +1 -0
- package/dist/actions/set-batch-priorities.mjs.map +1 -1
- package/dist/actions/set-project-ontology.cjs +1 -0
- package/dist/actions/set-project-ontology.cjs.map +1 -1
- package/dist/actions/set-project-ontology.d.cts +3 -5
- package/dist/actions/set-project-ontology.d.cts.map +1 -1
- package/dist/actions/set-project-ontology.d.mts +3 -5
- package/dist/actions/set-project-ontology.d.mts.map +1 -1
- package/dist/actions/set-project-ontology.mjs +1 -0
- package/dist/actions/set-project-ontology.mjs.map +1 -1
- package/dist/actions/set-project-params.cjs +1 -0
- package/dist/actions/set-project-params.cjs.map +1 -1
- package/dist/actions/set-project-params.d.cts +3 -7
- package/dist/actions/set-project-params.d.cts.map +1 -1
- package/dist/actions/set-project-params.d.mts +3 -7
- package/dist/actions/set-project-params.d.mts.map +1 -1
- package/dist/actions/set-project-params.mjs +1 -0
- package/dist/actions/set-project-params.mjs.map +1 -1
- package/dist/actions/set-task-metadata.cjs +1 -0
- package/dist/actions/set-task-metadata.cjs.map +1 -1
- package/dist/actions/set-task-metadata.d.cts +3 -4
- package/dist/actions/set-task-metadata.d.cts.map +1 -1
- package/dist/actions/set-task-metadata.d.mts +3 -4
- package/dist/actions/set-task-metadata.d.mts.map +1 -1
- package/dist/actions/set-task-metadata.mjs +1 -0
- package/dist/actions/set-task-metadata.mjs.map +1 -1
- package/dist/actions/update-task-unique-id.cjs +1 -0
- package/dist/actions/update-task-unique-id.cjs.map +1 -1
- package/dist/actions/update-task-unique-id.d.cts +3 -4
- package/dist/actions/update-task-unique-id.d.cts.map +1 -1
- package/dist/actions/update-task-unique-id.d.mts +3 -4
- package/dist/actions/update-task-unique-id.d.mts.map +1 -1
- package/dist/actions/update-task-unique-id.mjs +1 -0
- package/dist/actions/update-task-unique-id.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 -11
- package/dist/actions/upload-file.d.cts.map +1 -1
- package/dist/actions/upload-file.d.mts +3 -11
- 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/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-assets.mjs","names":[],"sources":["../../src/actions/get-assets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiGetAssetsInput = z.object({\n cursor: z.string().describe(\"Cursor for pagination to retrieve the next page of results. Use the cursor value from a previous response to get the next page.\").optional(),\n project: z.string().describe(\"Project filter to retrieve assets associated with a specific project. This parameter is required.\"),\n metadata: z.string().describe(\"Metadata filter to retrieve assets matching specific metadata criteria.\").optional(),\n}).describe(\"Request model for retrieving file assets with filtering and pagination.\");\nconst ScaleAiGetAssets_AssetItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the asset file.\").nullable().optional(),\n size: z.number().int().describe(\"File size in bytes.\").nullable().optional(),\n mime_type: z.string().describe(\"MIME type of the file (e.g., 'image/jpeg', 'application/pdf').\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the file was created.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the file was last updated.\").nullable().optional(),\n project_names: z.array(z.string()).describe(\"Array of project names the file is associated with.\").nullable().optional(),\n attachment_url: z.string().describe(\"URL where the file is stored (typically with scaledata:// prefix).\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single file asset object.\");\nexport const ScaleAiGetAssetsOutput = z.object({\n assets: z.array(ScaleAiGetAssets_AssetItemSchema).describe(\"List of asset objects matching the filter criteria.\").nullable().optional(),\n cursor: z.string().describe(\"Cursor for retrieving the next page of results. Include this value in the next request to paginate through results.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates whether more results are available for pagination.\").nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving file assets.\");\n\nexport const scaleAiGetAssets = action(\"SCALE_AI_GET_ASSETS\", {\n slug: \"scale_ai-get-assets\",\n name: \"Get Assets\",\n description: \"Tool to retrieve file assets with filtering capabilities by project and metadata. Use when you need to list or search for files uploaded to Scale AI, filtered by project and optionally by metadata. Supports cursor-based pagination for large result sets.\",\n input: ScaleAiGetAssetsInput,\n output: ScaleAiGetAssetsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-assets.mjs","names":[],"sources":["../../src/actions/get-assets.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scaleAi } from \"../app\";\n\nexport const ScaleAiGetAssetsInput = z.object({\n cursor: z.string().describe(\"Cursor for pagination to retrieve the next page of results. Use the cursor value from a previous response to get the next page.\").optional(),\n project: z.string().describe(\"Project filter to retrieve assets associated with a specific project. This parameter is required.\"),\n metadata: z.string().describe(\"Metadata filter to retrieve assets matching specific metadata criteria.\").optional(),\n}).describe(\"Request model for retrieving file assets with filtering and pagination.\");\nconst ScaleAiGetAssets_AssetItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the asset file.\").nullable().optional(),\n size: z.number().int().describe(\"File size in bytes.\").nullable().optional(),\n mime_type: z.string().describe(\"MIME type of the file (e.g., 'image/jpeg', 'application/pdf').\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the file was created.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the file was last updated.\").nullable().optional(),\n project_names: z.array(z.string()).describe(\"Array of project names the file is associated with.\").nullable().optional(),\n attachment_url: z.string().describe(\"URL where the file is stored (typically with scaledata:// prefix).\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single file asset object.\");\nexport const ScaleAiGetAssetsOutput = z.object({\n assets: z.array(ScaleAiGetAssets_AssetItemSchema).describe(\"List of asset objects matching the filter criteria.\").nullable().optional(),\n cursor: z.string().describe(\"Cursor for retrieving the next page of results. Include this value in the next request to paginate through results.\").nullable().optional(),\n has_more: z.boolean().describe(\"Indicates whether more results are available for pagination.\").nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving file assets.\");\n\nexport const scaleAiGetAssets: AppAction<\n typeof ScaleAiGetAssetsInput,\n typeof ScaleAiGetAssetsOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_GET_ASSETS\", {\n slug: \"scale_ai-get-assets\",\n name: \"Get Assets\",\n description: \"Tool to retrieve file assets with filtering capabilities by project and metadata. Use when you need to list or search for files uploaded to Scale AI, filtered by project and optionally by metadata. Supports cursor-based pagination for large result sets.\",\n input: ScaleAiGetAssetsInput,\n output: ScaleAiGetAssetsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS;CACxK,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG;CAChI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAO1E,MAAa,mBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfoC,EAAE,OAAO;EAC7C,QAAQ,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvK,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-batch-status.cjs","names":["z","action"],"sources":["../../src/actions/get-batch-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiGetBatchStatusInput = z.object({\n batch_name: z.string().describe(\"The name of the batch to retrieve status for\"),\n}).describe(\"Request model for retrieving batch status information.\");\nexport const ScaleAiGetBatchStatusOutput = z.object({\n queue: z.number().int().describe(\"Number of tasks in the batch that are in the queue\").nullable(),\n status: z.string().describe(\"The current state of the batch (e.g., 'in_progress', 'completed')\").nullable(),\n pending: z.number().int().describe(\"Number of tasks in the batch that are pending\").nullable(),\n completed: z.number().int().describe(\"Number of tasks in the batch that have been completed\").nullable(),\n inProgress: z.number().int().describe(\"Number of tasks in the batch that are currently in progress\").nullable(),\n}).passthrough().describe(\"Response model for batch status information.\");\n\nexport const scaleAiGetBatchStatus = action(\"SCALE_AI_GET_BATCH_STATUS\", {\n slug: \"scale_ai-get-batch-status\",\n name: \"Get Batch Status\",\n description: \"Tool to retrieve the current status of a batch and task completion counts. Use when you need to monitor batch progress or check how many tasks are pending or completed.\",\n input: ScaleAiGetBatchStatusInput,\n output: ScaleAiGetBatchStatusOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-batch-status.cjs","names":["z","action"],"sources":["../../src/actions/get-batch-status.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scaleAi } from \"../app\";\n\nexport const ScaleAiGetBatchStatusInput = z.object({\n batch_name: z.string().describe(\"The name of the batch to retrieve status for\"),\n}).describe(\"Request model for retrieving batch status information.\");\nexport const ScaleAiGetBatchStatusOutput = z.object({\n queue: z.number().int().describe(\"Number of tasks in the batch that are in the queue\").nullable(),\n status: z.string().describe(\"The current state of the batch (e.g., 'in_progress', 'completed')\").nullable(),\n pending: z.number().int().describe(\"Number of tasks in the batch that are pending\").nullable(),\n completed: z.number().int().describe(\"Number of tasks in the batch that have been completed\").nullable(),\n inProgress: z.number().int().describe(\"Number of tasks in the batch that are currently in progress\").nullable(),\n}).passthrough().describe(\"Response model for batch status information.\");\n\nexport const scaleAiGetBatchStatus: AppAction<\n typeof ScaleAiGetBatchStatusInput,\n typeof ScaleAiGetBatchStatusOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_GET_BATCH_STATUS\", {\n slug: \"scale_ai-get-batch-status\",\n name: \"Get Batch Status\",\n description: \"Tool to retrieve the current status of a batch and task completion counts. Use when you need to monitor batch progress or check how many tasks are pending or completed.\",\n input: ScaleAiGetBatchStatusInput,\n output: ScaleAiGetBatchStatusOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAChF,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAChG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC1G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC7F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACvG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,wBAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scaleAi } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-batch-status.d.ts
|
|
@@ -11,9 +13,7 @@ declare const ScaleAiGetBatchStatusOutput: z.ZodObject<{
|
|
|
11
13
|
completed: z.ZodNullable<z.ZodNumber>;
|
|
12
14
|
inProgress: z.ZodNullable<z.ZodNumber>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const scaleAiGetBatchStatus:
|
|
15
|
-
batch_name: string;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
16
|
+
declare const scaleAiGetBatchStatus: AppAction<typeof ScaleAiGetBatchStatusInput, typeof ScaleAiGetBatchStatusOutput, typeof scaleAi.credential>;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { scaleAiGetBatchStatus };
|
|
19
19
|
//# sourceMappingURL=get-batch-status.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-batch-status.d.cts","names":[],"sources":["../../src/actions/get-batch-status.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-batch-status.d.cts","names":[],"sources":["../../src/actions/get-batch-status.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;cAQ3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scaleAi } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-batch-status.d.ts
|
|
@@ -11,9 +13,7 @@ declare const ScaleAiGetBatchStatusOutput: z.ZodObject<{
|
|
|
11
13
|
completed: z.ZodNullable<z.ZodNumber>;
|
|
12
14
|
inProgress: z.ZodNullable<z.ZodNumber>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const scaleAiGetBatchStatus:
|
|
15
|
-
batch_name: string;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
16
|
+
declare const scaleAiGetBatchStatus: AppAction<typeof ScaleAiGetBatchStatusInput, typeof ScaleAiGetBatchStatusOutput, typeof scaleAi.credential>;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { scaleAiGetBatchStatus };
|
|
19
19
|
//# sourceMappingURL=get-batch-status.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-batch-status.d.mts","names":[],"sources":["../../src/actions/get-batch-status.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-batch-status.d.mts","names":[],"sources":["../../src/actions/get-batch-status.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;cAQ3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-batch-status.mjs","names":[],"sources":["../../src/actions/get-batch-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiGetBatchStatusInput = z.object({\n batch_name: z.string().describe(\"The name of the batch to retrieve status for\"),\n}).describe(\"Request model for retrieving batch status information.\");\nexport const ScaleAiGetBatchStatusOutput = z.object({\n queue: z.number().int().describe(\"Number of tasks in the batch that are in the queue\").nullable(),\n status: z.string().describe(\"The current state of the batch (e.g., 'in_progress', 'completed')\").nullable(),\n pending: z.number().int().describe(\"Number of tasks in the batch that are pending\").nullable(),\n completed: z.number().int().describe(\"Number of tasks in the batch that have been completed\").nullable(),\n inProgress: z.number().int().describe(\"Number of tasks in the batch that are currently in progress\").nullable(),\n}).passthrough().describe(\"Response model for batch status information.\");\n\nexport const scaleAiGetBatchStatus = action(\"SCALE_AI_GET_BATCH_STATUS\", {\n slug: \"scale_ai-get-batch-status\",\n name: \"Get Batch Status\",\n description: \"Tool to retrieve the current status of a batch and task completion counts. Use when you need to monitor batch progress or check how many tasks are pending or completed.\",\n input: ScaleAiGetBatchStatusInput,\n output: ScaleAiGetBatchStatusOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-batch-status.mjs","names":[],"sources":["../../src/actions/get-batch-status.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scaleAi } from \"../app\";\n\nexport const ScaleAiGetBatchStatusInput = z.object({\n batch_name: z.string().describe(\"The name of the batch to retrieve status for\"),\n}).describe(\"Request model for retrieving batch status information.\");\nexport const ScaleAiGetBatchStatusOutput = z.object({\n queue: z.number().int().describe(\"Number of tasks in the batch that are in the queue\").nullable(),\n status: z.string().describe(\"The current state of the batch (e.g., 'in_progress', 'completed')\").nullable(),\n pending: z.number().int().describe(\"Number of tasks in the batch that are pending\").nullable(),\n completed: z.number().int().describe(\"Number of tasks in the batch that have been completed\").nullable(),\n inProgress: z.number().int().describe(\"Number of tasks in the batch that are currently in progress\").nullable(),\n}).passthrough().describe(\"Response model for batch status information.\");\n\nexport const scaleAiGetBatchStatus: AppAction<\n typeof ScaleAiGetBatchStatusInput,\n typeof ScaleAiGetBatchStatusOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_GET_BATCH_STATUS\", {\n slug: \"scale_ai-get-batch-status\",\n name: \"Get Batch Status\",\n description: \"Tool to retrieve the current status of a batch and task completion counts. Use when you need to monitor batch progress or check how many tasks are pending or completed.\",\n input: ScaleAiGetBatchStatusInput,\n output: ScaleAiGetBatchStatusOutput,\n});\n"],"mappings":";;;AAiBA,MAAa,wBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBwC,EAAE,OAAO,EACjD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAChF,CAAC,CAAC,CAAC,SAAS,wDAiBH;CACP,QAjByC,EAAE,OAAO;EAClD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EAChG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EAC1G,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAC7F,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EACvG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-batch.cjs","names":["z","action"],"sources":["../../src/actions/get-batch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiGetBatchInput = z.object({\n batch_name: z.string().describe(\"The batch identifier to retrieve\"),\n}).describe(\"Request model for retrieving a batch by name.\");\nexport const ScaleAiGetBatchOutput = z.object({\n name: z.string().describe(\"Identifier for the batch\").nullable().optional(),\n status: z.string().describe(\"Current batch state (e.g., 'in_progress')\").nullable().optional(),\n project: z.string().describe(\"The project name associated with the batch\").nullable().optional(),\n callback: z.string().describe(\"The callback URL or email address configured for task completion notifications\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value pairs associated with the batch\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of batch creation\").nullable().optional(),\n}).passthrough().describe(\"Response model for batch details.\");\n\nexport const scaleAiGetBatch = action(\"SCALE_AI_GET_BATCH\", {\n slug: \"scale_ai-get-batch\",\n name: \"Get Batch\",\n description: \"Tool to retrieve the details of a batch with the specified name. Use when you need to check the status or configuration of an existing batch.\",\n input: ScaleAiGetBatchInput,\n output: ScaleAiGetBatchOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-batch.cjs","names":["z","action"],"sources":["../../src/actions/get-batch.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scaleAi } from \"../app\";\n\nexport const ScaleAiGetBatchInput = z.object({\n batch_name: z.string().describe(\"The batch identifier to retrieve\"),\n}).describe(\"Request model for retrieving a batch by name.\");\nexport const ScaleAiGetBatchOutput = z.object({\n name: z.string().describe(\"Identifier for the batch\").nullable().optional(),\n status: z.string().describe(\"Current batch state (e.g., 'in_progress')\").nullable().optional(),\n project: z.string().describe(\"The project name associated with the batch\").nullable().optional(),\n callback: z.string().describe(\"The callback URL or email address configured for task completion notifications\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value pairs associated with the batch\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of batch creation\").nullable().optional(),\n}).passthrough().describe(\"Response model for batch details.\");\n\nexport const scaleAiGetBatch: AppAction<\n typeof ScaleAiGetBatchInput,\n typeof ScaleAiGetBatchOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_GET_BATCH\", {\n slug: \"scale_ai-get-batch\",\n name: \"Get Batch\",\n description: \"Tool to retrieve the details of a batch with the specified name. Use when you need to check the status or configuration of an existing batch.\",\n input: ScaleAiGetBatchInput,\n output: ScaleAiGetBatchOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,EACpE,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAE7D,MAAa,kBAITC,eAAAA,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scaleAi } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-batch.d.ts
|
|
@@ -12,9 +14,7 @@ declare const ScaleAiGetBatchOutput: z.ZodObject<{
|
|
|
12
14
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
13
15
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const scaleAiGetBatch:
|
|
16
|
-
batch_name: string;
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
17
|
+
declare const scaleAiGetBatch: AppAction<typeof ScaleAiGetBatchInput, typeof ScaleAiGetBatchOutput, typeof scaleAi.credential>;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { scaleAiGetBatch };
|
|
20
20
|
//# sourceMappingURL=get-batch.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-batch.d.cts","names":[],"sources":["../../src/actions/get-batch.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-batch.d.cts","names":[],"sources":["../../src/actions/get-batch.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAGpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;cASrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scaleAi } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-batch.d.ts
|
|
@@ -12,9 +14,7 @@ declare const ScaleAiGetBatchOutput: z.ZodObject<{
|
|
|
12
14
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
13
15
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const scaleAiGetBatch:
|
|
16
|
-
batch_name: string;
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
17
|
+
declare const scaleAiGetBatch: AppAction<typeof ScaleAiGetBatchInput, typeof ScaleAiGetBatchOutput, typeof scaleAi.credential>;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { scaleAiGetBatch };
|
|
20
20
|
//# sourceMappingURL=get-batch.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-batch.d.mts","names":[],"sources":["../../src/actions/get-batch.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-batch.d.mts","names":[],"sources":["../../src/actions/get-batch.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAGpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;cASrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-batch.mjs","names":[],"sources":["../../src/actions/get-batch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiGetBatchInput = z.object({\n batch_name: z.string().describe(\"The batch identifier to retrieve\"),\n}).describe(\"Request model for retrieving a batch by name.\");\nexport const ScaleAiGetBatchOutput = z.object({\n name: z.string().describe(\"Identifier for the batch\").nullable().optional(),\n status: z.string().describe(\"Current batch state (e.g., 'in_progress')\").nullable().optional(),\n project: z.string().describe(\"The project name associated with the batch\").nullable().optional(),\n callback: z.string().describe(\"The callback URL or email address configured for task completion notifications\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value pairs associated with the batch\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of batch creation\").nullable().optional(),\n}).passthrough().describe(\"Response model for batch details.\");\n\nexport const scaleAiGetBatch = action(\"SCALE_AI_GET_BATCH\", {\n slug: \"scale_ai-get-batch\",\n name: \"Get Batch\",\n description: \"Tool to retrieve the details of a batch with the specified name. Use when you need to check the status or configuration of an existing batch.\",\n input: ScaleAiGetBatchInput,\n output: ScaleAiGetBatchOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-batch.mjs","names":[],"sources":["../../src/actions/get-batch.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scaleAi } from \"../app\";\n\nexport const ScaleAiGetBatchInput = z.object({\n batch_name: z.string().describe(\"The batch identifier to retrieve\"),\n}).describe(\"Request model for retrieving a batch by name.\");\nexport const ScaleAiGetBatchOutput = z.object({\n name: z.string().describe(\"Identifier for the batch\").nullable().optional(),\n status: z.string().describe(\"Current batch state (e.g., 'in_progress')\").nullable().optional(),\n project: z.string().describe(\"The project name associated with the batch\").nullable().optional(),\n callback: z.string().describe(\"The callback URL or email address configured for task completion notifications\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value pairs associated with the batch\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of batch creation\").nullable().optional(),\n}).passthrough().describe(\"Response model for batch details.\");\n\nexport const scaleAiGetBatch: AppAction<\n typeof ScaleAiGetBatchInput,\n typeof ScaleAiGetBatchOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_GET_BATCH\", {\n slug: \"scale_ai-get-batch\",\n name: \"Get Batch\",\n description: \"Tool to retrieve the details of a batch with the specified name. Use when you need to check the status or configuration of an existing batch.\",\n input: ScaleAiGetBatchInput,\n output: ScaleAiGetBatchOutput,\n});\n"],"mappings":";;;AAkBA,MAAa,kBAIT,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBkC,EAAE,OAAO,EAC3C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,EACpE,CAAC,CAAC,CAAC,SAAS,+CAkBH;CACP,QAlBmC,EAAE,OAAO;EAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-fixless-audits.cjs","names":["z","action"],"sources":["../../src/actions/get-fixless-audits.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiGetFixlessAuditsInput = z.object({\n id: z.string().describe(\"Identifier for the specific audit. At least one of task_id or id must be provided.\").optional(),\n task_id: z.string().describe(\"Identifier for the task being audited. At least one of task_id or id must be provided.\").optional(),\n}).describe(\"Request model for retrieving fixless audits. At least one of task_id or id must be provided.\");\nconst ScaleAiGetFixlessAudits_FeedbackItemSchema = z.object({\n type: z.string().describe(\"Type of feedback item\").nullable().optional(),\n scope: z.string().describe(\"Scope of the feedback\").nullable().optional(),\n state: z.string().describe(\"State of the feedback item\").nullable().optional(),\n category: z.string().describe(\"Category of the feedback\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata for the feedback item\").nullable().optional(),\n severity: z.string().describe(\"Severity level of the feedback\").nullable().optional(),\n description: z.string().describe(\"Description of the feedback\").nullable().optional(),\n}).passthrough().describe(\"Feedback item within an audit.\");\nconst ScaleAiGetFixlessAudits_TargetResponseSchema = z.object({\n url: z.string().describe(\"URL pointing to audited task response\").nullable().optional(),\n}).passthrough().describe(\"Target response containing URL to audited task response.\");\nconst ScaleAiGetFixlessAudits_FixlessAuditSchema = z.object({\n id: z.string().describe(\"Unique audit identifier\").nullable(),\n srn: z.string().describe(\"Scale Resource Name in format 'srn:scale:avcv:audit:{{id}}'\").nullable().optional(),\n type: z.string().describe(\"Type of audit, typically 'fixless'\").nullable().optional(),\n active: z.boolean().describe(\"Indicates if this is the latest audit for the task\").nullable().optional(),\n result: z.string().describe(\"Audit outcome - 'accepted' or 'rejected'\").nullable().optional(),\n source: z.string().describe(\"Origin - 'api', 'lidarlite', or 'classic'\").nullable().optional(),\n task_id: z.string().describe(\"Associated task identifier\").nullable().optional(),\n comments: z.string().describe(\"Optional auditor comments\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value pairs for tracking\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of creation\").nullable().optional(),\n created_by: z.string().describe(\"User who created the audit\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n feedback_items: z.array(ScaleAiGetFixlessAudits_FeedbackItemSchema).describe(\"Array of feedback item objects\").nullable().optional(),\n target_response: ScaleAiGetFixlessAudits_TargetResponseSchema.nullable().optional(),\n}).passthrough().describe(\"Represents a single fixless audit object.\");\nexport const ScaleAiGetFixlessAuditsOutput = z.object({\n audits: z.array(ScaleAiGetFixlessAudits_FixlessAuditSchema).describe(\"List of fixless audit objects\"),\n}).passthrough().describe(\"Response model for retrieving fixless audits. Returns an array of FixlessAudit objects.\");\n\nexport const scaleAiGetFixlessAudits = action(\"SCALE_AI_GET_FIXLESS_AUDITS\", {\n slug: \"scale_ai-get-fixless-audits\",\n name: \"Get Fixless Audits\",\n description: \"Tool to retrieve fixless audits by task ID or audit ID. Use when you need to fetch audit information for quality assessment. At least one of task_id or id must be provided.\",\n input: ScaleAiGetFixlessAuditsInput,\n output: ScaleAiGetFixlessAuditsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-fixless-audits.cjs","names":["z","action"],"sources":["../../src/actions/get-fixless-audits.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scaleAi } from \"../app\";\n\nexport const ScaleAiGetFixlessAuditsInput = z.object({\n id: z.string().describe(\"Identifier for the specific audit. At least one of task_id or id must be provided.\").optional(),\n task_id: z.string().describe(\"Identifier for the task being audited. At least one of task_id or id must be provided.\").optional(),\n}).describe(\"Request model for retrieving fixless audits. At least one of task_id or id must be provided.\");\nconst ScaleAiGetFixlessAudits_FeedbackItemSchema = z.object({\n type: z.string().describe(\"Type of feedback item\").nullable().optional(),\n scope: z.string().describe(\"Scope of the feedback\").nullable().optional(),\n state: z.string().describe(\"State of the feedback item\").nullable().optional(),\n category: z.string().describe(\"Category of the feedback\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata for the feedback item\").nullable().optional(),\n severity: z.string().describe(\"Severity level of the feedback\").nullable().optional(),\n description: z.string().describe(\"Description of the feedback\").nullable().optional(),\n}).passthrough().describe(\"Feedback item within an audit.\");\nconst ScaleAiGetFixlessAudits_TargetResponseSchema = z.object({\n url: z.string().describe(\"URL pointing to audited task response\").nullable().optional(),\n}).passthrough().describe(\"Target response containing URL to audited task response.\");\nconst ScaleAiGetFixlessAudits_FixlessAuditSchema = z.object({\n id: z.string().describe(\"Unique audit identifier\").nullable(),\n srn: z.string().describe(\"Scale Resource Name in format 'srn:scale:avcv:audit:{{id}}'\").nullable().optional(),\n type: z.string().describe(\"Type of audit, typically 'fixless'\").nullable().optional(),\n active: z.boolean().describe(\"Indicates if this is the latest audit for the task\").nullable().optional(),\n result: z.string().describe(\"Audit outcome - 'accepted' or 'rejected'\").nullable().optional(),\n source: z.string().describe(\"Origin - 'api', 'lidarlite', or 'classic'\").nullable().optional(),\n task_id: z.string().describe(\"Associated task identifier\").nullable().optional(),\n comments: z.string().describe(\"Optional auditor comments\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value pairs for tracking\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of creation\").nullable().optional(),\n created_by: z.string().describe(\"User who created the audit\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n feedback_items: z.array(ScaleAiGetFixlessAudits_FeedbackItemSchema).describe(\"Array of feedback item objects\").nullable().optional(),\n target_response: ScaleAiGetFixlessAudits_TargetResponseSchema.nullable().optional(),\n}).passthrough().describe(\"Represents a single fixless audit object.\");\nexport const ScaleAiGetFixlessAuditsOutput = z.object({\n audits: z.array(ScaleAiGetFixlessAudits_FixlessAuditSchema).describe(\"List of fixless audit objects\"),\n}).passthrough().describe(\"Response model for retrieving fixless audits. Returns an array of FixlessAudit objects.\");\n\nexport const scaleAiGetFixlessAudits: AppAction<\n typeof ScaleAiGetFixlessAuditsInput,\n typeof ScaleAiGetFixlessAuditsOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_GET_FIXLESS_AUDITS\", {\n slug: \"scale_ai-get-fixless-audits\",\n name: \"Get Fixless Audits\",\n description: \"Tool to retrieve fixless audits by task ID or audit ID. Use when you need to fetch audit information for quality assessment. At least one of task_id or id must be provided.\",\n input: ScaleAiGetFixlessAuditsInput,\n output: ScaleAiGetFixlessAuditsOutput,\n});\n"],"mappings":"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"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scaleAi } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-fixless-audits.d.ts
|
|
@@ -33,10 +35,7 @@ declare const ScaleAiGetFixlessAuditsOutput: z.ZodObject<{
|
|
|
33
35
|
}, z.core.$loose>>>;
|
|
34
36
|
}, z.core.$loose>>;
|
|
35
37
|
}, z.core.$loose>;
|
|
36
|
-
declare const scaleAiGetFixlessAudits:
|
|
37
|
-
id?: string | undefined;
|
|
38
|
-
task_id?: string | undefined;
|
|
39
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
38
|
+
declare const scaleAiGetFixlessAudits: AppAction<typeof ScaleAiGetFixlessAuditsInput, typeof ScaleAiGetFixlessAuditsOutput, typeof scaleAi.credential>;
|
|
40
39
|
//#endregion
|
|
41
40
|
export { scaleAiGetFixlessAudits };
|
|
42
41
|
//# sourceMappingURL=get-fixless-audits.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-fixless-audits.d.cts","names":[],"sources":["../../src/actions/get-fixless-audits.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-fixless-audits.d.cts","names":[],"sources":["../../src/actions/get-fixless-audits.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAgC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scaleAi } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-fixless-audits.d.ts
|
|
@@ -33,10 +35,7 @@ declare const ScaleAiGetFixlessAuditsOutput: z.ZodObject<{
|
|
|
33
35
|
}, z.core.$loose>>>;
|
|
34
36
|
}, z.core.$loose>>;
|
|
35
37
|
}, z.core.$loose>;
|
|
36
|
-
declare const scaleAiGetFixlessAudits:
|
|
37
|
-
id?: string | undefined;
|
|
38
|
-
task_id?: string | undefined;
|
|
39
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
38
|
+
declare const scaleAiGetFixlessAudits: AppAction<typeof ScaleAiGetFixlessAuditsInput, typeof ScaleAiGetFixlessAuditsOutput, typeof scaleAi.credential>;
|
|
40
39
|
//#endregion
|
|
41
40
|
export { scaleAiGetFixlessAudits };
|
|
42
41
|
//# sourceMappingURL=get-fixless-audits.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-fixless-audits.d.mts","names":[],"sources":["../../src/actions/get-fixless-audits.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-fixless-audits.d.mts","names":[],"sources":["../../src/actions/get-fixless-audits.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAgC5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-fixless-audits.mjs","names":[],"sources":["../../src/actions/get-fixless-audits.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiGetFixlessAuditsInput = z.object({\n id: z.string().describe(\"Identifier for the specific audit. At least one of task_id or id must be provided.\").optional(),\n task_id: z.string().describe(\"Identifier for the task being audited. At least one of task_id or id must be provided.\").optional(),\n}).describe(\"Request model for retrieving fixless audits. At least one of task_id or id must be provided.\");\nconst ScaleAiGetFixlessAudits_FeedbackItemSchema = z.object({\n type: z.string().describe(\"Type of feedback item\").nullable().optional(),\n scope: z.string().describe(\"Scope of the feedback\").nullable().optional(),\n state: z.string().describe(\"State of the feedback item\").nullable().optional(),\n category: z.string().describe(\"Category of the feedback\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata for the feedback item\").nullable().optional(),\n severity: z.string().describe(\"Severity level of the feedback\").nullable().optional(),\n description: z.string().describe(\"Description of the feedback\").nullable().optional(),\n}).passthrough().describe(\"Feedback item within an audit.\");\nconst ScaleAiGetFixlessAudits_TargetResponseSchema = z.object({\n url: z.string().describe(\"URL pointing to audited task response\").nullable().optional(),\n}).passthrough().describe(\"Target response containing URL to audited task response.\");\nconst ScaleAiGetFixlessAudits_FixlessAuditSchema = z.object({\n id: z.string().describe(\"Unique audit identifier\").nullable(),\n srn: z.string().describe(\"Scale Resource Name in format 'srn:scale:avcv:audit:{{id}}'\").nullable().optional(),\n type: z.string().describe(\"Type of audit, typically 'fixless'\").nullable().optional(),\n active: z.boolean().describe(\"Indicates if this is the latest audit for the task\").nullable().optional(),\n result: z.string().describe(\"Audit outcome - 'accepted' or 'rejected'\").nullable().optional(),\n source: z.string().describe(\"Origin - 'api', 'lidarlite', or 'classic'\").nullable().optional(),\n task_id: z.string().describe(\"Associated task identifier\").nullable().optional(),\n comments: z.string().describe(\"Optional auditor comments\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value pairs for tracking\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of creation\").nullable().optional(),\n created_by: z.string().describe(\"User who created the audit\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n feedback_items: z.array(ScaleAiGetFixlessAudits_FeedbackItemSchema).describe(\"Array of feedback item objects\").nullable().optional(),\n target_response: ScaleAiGetFixlessAudits_TargetResponseSchema.nullable().optional(),\n}).passthrough().describe(\"Represents a single fixless audit object.\");\nexport const ScaleAiGetFixlessAuditsOutput = z.object({\n audits: z.array(ScaleAiGetFixlessAudits_FixlessAuditSchema).describe(\"List of fixless audit objects\"),\n}).passthrough().describe(\"Response model for retrieving fixless audits. Returns an array of FixlessAudit objects.\");\n\nexport const scaleAiGetFixlessAudits = action(\"SCALE_AI_GET_FIXLESS_AUDITS\", {\n slug: \"scale_ai-get-fixless-audits\",\n name: \"Get Fixless Audits\",\n description: \"Tool to retrieve fixless audits by task ID or audit ID. Use when you need to fetch audit information for quality assessment. At least one of task_id or id must be provided.\",\n input: ScaleAiGetFixlessAuditsInput,\n output: ScaleAiGetFixlessAuditsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-fixless-audits.mjs","names":[],"sources":["../../src/actions/get-fixless-audits.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scaleAi } from \"../app\";\n\nexport const ScaleAiGetFixlessAuditsInput = z.object({\n id: z.string().describe(\"Identifier for the specific audit. At least one of task_id or id must be provided.\").optional(),\n task_id: z.string().describe(\"Identifier for the task being audited. At least one of task_id or id must be provided.\").optional(),\n}).describe(\"Request model for retrieving fixless audits. At least one of task_id or id must be provided.\");\nconst ScaleAiGetFixlessAudits_FeedbackItemSchema = z.object({\n type: z.string().describe(\"Type of feedback item\").nullable().optional(),\n scope: z.string().describe(\"Scope of the feedback\").nullable().optional(),\n state: z.string().describe(\"State of the feedback item\").nullable().optional(),\n category: z.string().describe(\"Category of the feedback\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata for the feedback item\").nullable().optional(),\n severity: z.string().describe(\"Severity level of the feedback\").nullable().optional(),\n description: z.string().describe(\"Description of the feedback\").nullable().optional(),\n}).passthrough().describe(\"Feedback item within an audit.\");\nconst ScaleAiGetFixlessAudits_TargetResponseSchema = z.object({\n url: z.string().describe(\"URL pointing to audited task response\").nullable().optional(),\n}).passthrough().describe(\"Target response containing URL to audited task response.\");\nconst ScaleAiGetFixlessAudits_FixlessAuditSchema = z.object({\n id: z.string().describe(\"Unique audit identifier\").nullable(),\n srn: z.string().describe(\"Scale Resource Name in format 'srn:scale:avcv:audit:{{id}}'\").nullable().optional(),\n type: z.string().describe(\"Type of audit, typically 'fixless'\").nullable().optional(),\n active: z.boolean().describe(\"Indicates if this is the latest audit for the task\").nullable().optional(),\n result: z.string().describe(\"Audit outcome - 'accepted' or 'rejected'\").nullable().optional(),\n source: z.string().describe(\"Origin - 'api', 'lidarlite', or 'classic'\").nullable().optional(),\n task_id: z.string().describe(\"Associated task identifier\").nullable().optional(),\n comments: z.string().describe(\"Optional auditor comments\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value pairs for tracking\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of creation\").nullable().optional(),\n created_by: z.string().describe(\"User who created the audit\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n feedback_items: z.array(ScaleAiGetFixlessAudits_FeedbackItemSchema).describe(\"Array of feedback item objects\").nullable().optional(),\n target_response: ScaleAiGetFixlessAudits_TargetResponseSchema.nullable().optional(),\n}).passthrough().describe(\"Represents a single fixless audit object.\");\nexport const ScaleAiGetFixlessAuditsOutput = z.object({\n audits: z.array(ScaleAiGetFixlessAudits_FixlessAuditSchema).describe(\"List of fixless audit objects\"),\n}).passthrough().describe(\"Response model for retrieving fixless audits. Returns an array of FixlessAudit objects.\");\n\nexport const scaleAiGetFixlessAudits: AppAction<\n typeof ScaleAiGetFixlessAuditsInput,\n typeof ScaleAiGetFixlessAuditsOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_GET_FIXLESS_AUDITS\", {\n slug: \"scale_ai-get-fixless-audits\",\n name: \"Get Fixless Audits\",\n description: \"Tool to retrieve fixless audits by task ID or audit ID. Use when you need to fetch audit information for quality assessment. At least one of task_id or id must be provided.\",\n input: ScaleAiGetFixlessAuditsInput,\n output: ScaleAiGetFixlessAuditsOutput,\n});\n"],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-project.cjs","names":["z","action"],"sources":["../../src/actions/get-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiGetProjectInput = z.object({\n name: z.string().describe(\"The unique project identifier to retrieve. This is the project name.\"),\n}).describe(\"Request model for retrieving a specific project by its identifier.\");\nconst ScaleAiGetProject_ParamHistoryItemSchema = z.object({\n version: z.number().int().describe(\"Version number of the parameter set.\").nullable(),\n created_at: z.string().describe(\"ISO timestamp when this version was created.\").nullable(),\n instruction: z.string().describe(\"Instructions associated with this parameter version.\").nullable(),\n}).passthrough().describe(\"Historical parameter version for a project.\");\nexport const ScaleAiGetProjectOutput = z.object({\n name: z.string().describe(\"Project identifier name.\").nullable(),\n type: z.string().describe(\"Task type for the project (e.g., 'imageannotation', 'audiotranscription').\").nullable(),\n created_at: z.string().describe(\"ISO timestamp of project creation.\").nullable(),\n param_history: z.array(ScaleAiGetProject_ParamHistoryItemSchema).describe(\"Historical record of project parameters.\"),\n}).passthrough().describe(\"Response model for project details.\");\n\nexport const scaleAiGetProject = action(\"SCALE_AI_GET_PROJECT\", {\n slug: \"scale_ai-get-project\",\n name: \"Get Project\",\n description: \"Tool to retrieve details about a specific Scale AI project using its unique identifier. Use when you need to get project metadata including type, name, parameter history, and creation timestamp.\",\n input: ScaleAiGetProjectInput,\n output: ScaleAiGetProjectOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-project.cjs","names":["z","action"],"sources":["../../src/actions/get-project.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scaleAi } from \"../app\";\n\nexport const ScaleAiGetProjectInput = z.object({\n name: z.string().describe(\"The unique project identifier to retrieve. This is the project name.\"),\n}).describe(\"Request model for retrieving a specific project by its identifier.\");\nconst ScaleAiGetProject_ParamHistoryItemSchema = z.object({\n version: z.number().int().describe(\"Version number of the parameter set.\").nullable(),\n created_at: z.string().describe(\"ISO timestamp when this version was created.\").nullable(),\n instruction: z.string().describe(\"Instructions associated with this parameter version.\").nullable(),\n}).passthrough().describe(\"Historical parameter version for a project.\");\nexport const ScaleAiGetProjectOutput = z.object({\n name: z.string().describe(\"Project identifier name.\").nullable(),\n type: z.string().describe(\"Task type for the project (e.g., 'imageannotation', 'audiotranscription').\").nullable(),\n created_at: z.string().describe(\"ISO timestamp of project creation.\").nullable(),\n param_history: z.array(ScaleAiGetProject_ParamHistoryItemSchema).describe(\"Historical record of project parameters.\"),\n}).passthrough().describe(\"Response model for project details.\");\n\nexport const scaleAiGetProject: AppAction<\n typeof ScaleAiGetProjectInput,\n typeof ScaleAiGetProjectOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_GET_PROJECT\", {\n slug: \"scale_ai-get-project\",\n name: \"Get Project\",\n description: \"Tool to retrieve details about a specific Scale AI project using its unique identifier. Use when you need to get project metadata including type, name, parameter history, and creation timestamp.\",\n input: ScaleAiGetProjectInput,\n output: ScaleAiGetProjectOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,EAClG,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC/E,eAAeA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,0CAA0C;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAE/D,MAAa,oBAITC,eAAAA,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scaleAi } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-project.d.ts
|
|
@@ -14,9 +16,7 @@ declare const ScaleAiGetProjectOutput: z.ZodObject<{
|
|
|
14
16
|
instruction: z.ZodNullable<z.ZodString>;
|
|
15
17
|
}, z.core.$loose>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const scaleAiGetProject:
|
|
18
|
-
name: string;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
|
+
declare const scaleAiGetProject: AppAction<typeof ScaleAiGetProjectInput, typeof ScaleAiGetProjectOutput, typeof scaleAi.credential>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { scaleAiGetProject };
|
|
22
22
|
//# sourceMappingURL=get-project.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-project.d.cts","names":[],"sources":["../../src/actions/get-project.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-project.d.cts","names":[],"sources":["../../src/actions/get-project.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAQtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;cAOvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scaleAi } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-project.d.ts
|
|
@@ -14,9 +16,7 @@ declare const ScaleAiGetProjectOutput: z.ZodObject<{
|
|
|
14
16
|
instruction: z.ZodNullable<z.ZodString>;
|
|
15
17
|
}, z.core.$loose>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const scaleAiGetProject:
|
|
18
|
-
name: string;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
|
+
declare const scaleAiGetProject: AppAction<typeof ScaleAiGetProjectInput, typeof ScaleAiGetProjectOutput, typeof scaleAi.credential>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { scaleAiGetProject };
|
|
22
22
|
//# sourceMappingURL=get-project.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-project.d.mts","names":[],"sources":["../../src/actions/get-project.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-project.d.mts","names":[],"sources":["../../src/actions/get-project.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAQtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;cAOvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-project.mjs","names":[],"sources":["../../src/actions/get-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiGetProjectInput = z.object({\n name: z.string().describe(\"The unique project identifier to retrieve. This is the project name.\"),\n}).describe(\"Request model for retrieving a specific project by its identifier.\");\nconst ScaleAiGetProject_ParamHistoryItemSchema = z.object({\n version: z.number().int().describe(\"Version number of the parameter set.\").nullable(),\n created_at: z.string().describe(\"ISO timestamp when this version was created.\").nullable(),\n instruction: z.string().describe(\"Instructions associated with this parameter version.\").nullable(),\n}).passthrough().describe(\"Historical parameter version for a project.\");\nexport const ScaleAiGetProjectOutput = z.object({\n name: z.string().describe(\"Project identifier name.\").nullable(),\n type: z.string().describe(\"Task type for the project (e.g., 'imageannotation', 'audiotranscription').\").nullable(),\n created_at: z.string().describe(\"ISO timestamp of project creation.\").nullable(),\n param_history: z.array(ScaleAiGetProject_ParamHistoryItemSchema).describe(\"Historical record of project parameters.\"),\n}).passthrough().describe(\"Response model for project details.\");\n\nexport const scaleAiGetProject = action(\"SCALE_AI_GET_PROJECT\", {\n slug: \"scale_ai-get-project\",\n name: \"Get Project\",\n description: \"Tool to retrieve details about a specific Scale AI project using its unique identifier. Use when you need to get project metadata including type, name, parameter history, and creation timestamp.\",\n input: ScaleAiGetProjectInput,\n output: ScaleAiGetProjectOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-project.mjs","names":[],"sources":["../../src/actions/get-project.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scaleAi } from \"../app\";\n\nexport const ScaleAiGetProjectInput = z.object({\n name: z.string().describe(\"The unique project identifier to retrieve. This is the project name.\"),\n}).describe(\"Request model for retrieving a specific project by its identifier.\");\nconst ScaleAiGetProject_ParamHistoryItemSchema = z.object({\n version: z.number().int().describe(\"Version number of the parameter set.\").nullable(),\n created_at: z.string().describe(\"ISO timestamp when this version was created.\").nullable(),\n instruction: z.string().describe(\"Instructions associated with this parameter version.\").nullable(),\n}).passthrough().describe(\"Historical parameter version for a project.\");\nexport const ScaleAiGetProjectOutput = z.object({\n name: z.string().describe(\"Project identifier name.\").nullable(),\n type: z.string().describe(\"Task type for the project (e.g., 'imageannotation', 'audiotranscription').\").nullable(),\n created_at: z.string().describe(\"ISO timestamp of project creation.\").nullable(),\n param_history: z.array(ScaleAiGetProject_ParamHistoryItemSchema).describe(\"Historical record of project parameters.\"),\n}).passthrough().describe(\"Response model for project details.\");\n\nexport const scaleAiGetProject: AppAction<\n typeof ScaleAiGetProjectInput,\n typeof ScaleAiGetProjectOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_GET_PROJECT\", {\n slug: \"scale_ai-get-project\",\n name: \"Get Project\",\n description: \"Tool to retrieve details about a specific Scale AI project using its unique identifier. Use when you need to get project metadata including type, name, parameter history, and creation timestamp.\",\n input: ScaleAiGetProjectInput,\n output: ScaleAiGetProjectOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyB,EAAE,OAAO,EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,EAClG,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,2CAA2C,EAAE,OAAO;CACxD,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACzF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAQvE,MAAa,oBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhBqC,EAAE,OAAO;EAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EACjH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC/E,eAAe,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,0CAA0C;CACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-quality-labelers.cjs","names":["z","action"],"sources":["../../src/actions/get-quality-labelers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiGetQualityLabelersInput = z.object({\n limit: z.number().int().describe(\"Maximum number of training attempt records to return per request.\").optional(),\n next_token: z.string().describe(\"Pagination token for retrieving subsequent result pages. Use the next_token value from a previous response to get the next page of results.\").optional(),\n labeler_emails: z.array(z.string()).describe(\"Filter results by labeler email addresses. At least one of quality_task_ids or labeler_emails must be provided.\").optional(),\n quality_task_ids: z.array(z.string()).describe(\"Filter results by specific quality task identifiers. At least one of quality_task_ids or labeler_emails must be provided.\").optional(),\n}).describe(\"Request model for retrieving training attempts matching provided parameters.\\nAt least one of quality_task_ids or labeler_emails must be provided.\");\nconst ScaleAiGetQualityLabelers_TrainingAttemptSchema = z.object({\n score: z.number().describe(\"Performance score for the training attempt.\").nullable().optional(),\n status: z.string().describe(\"Status of the training attempt.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata associated with the training attempt.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the training attempt was created.\").nullable().optional(),\n completed_at: z.string().describe(\"Timestamp when the training attempt was completed.\").nullable().optional(),\n labeler_email: z.string().describe(\"Email address of the labeler.\").nullable().optional(),\n quality_task_id: z.string().describe(\"Associated quality task identifier.\").nullable().optional(),\n training_attempt_id: z.string().describe(\"Unique identifier for the training attempt.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single training attempt with related data.\");\nexport const ScaleAiGetQualityLabelersOutput = z.object({\n next_token: z.string().describe(\"Pagination token for retrieving the next page of results.\").nullable().optional(),\n training_attempts: z.array(ScaleAiGetQualityLabelers_TrainingAttemptSchema).describe(\"List of training attempt objects matching the provided filter parameters.\"),\n}).passthrough().describe(\"Response model for retrieving training attempts.\");\n\nexport const scaleAiGetQualityLabelers = action(\"SCALE_AI_GET_QUALITY_LABELERS\", {\n slug: \"scale_ai-get-quality-labelers\",\n name: \"Get Quality Labelers\",\n description: \"Tool to retrieve training attempts matching provided filter parameters. Use when you need to assess labeler performance and understanding of task instructions. At least one of quality_task_ids or labeler_emails must be provided.\",\n input: ScaleAiGetQualityLabelersInput,\n output: ScaleAiGetQualityLabelersOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-quality-labelers.cjs","names":["z","action"],"sources":["../../src/actions/get-quality-labelers.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scaleAi } from \"../app\";\n\nexport const ScaleAiGetQualityLabelersInput = z.object({\n limit: z.number().int().describe(\"Maximum number of training attempt records to return per request.\").optional(),\n next_token: z.string().describe(\"Pagination token for retrieving subsequent result pages. Use the next_token value from a previous response to get the next page of results.\").optional(),\n labeler_emails: z.array(z.string()).describe(\"Filter results by labeler email addresses. At least one of quality_task_ids or labeler_emails must be provided.\").optional(),\n quality_task_ids: z.array(z.string()).describe(\"Filter results by specific quality task identifiers. At least one of quality_task_ids or labeler_emails must be provided.\").optional(),\n}).describe(\"Request model for retrieving training attempts matching provided parameters.\\nAt least one of quality_task_ids or labeler_emails must be provided.\");\nconst ScaleAiGetQualityLabelers_TrainingAttemptSchema = z.object({\n score: z.number().describe(\"Performance score for the training attempt.\").nullable().optional(),\n status: z.string().describe(\"Status of the training attempt.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata associated with the training attempt.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the training attempt was created.\").nullable().optional(),\n completed_at: z.string().describe(\"Timestamp when the training attempt was completed.\").nullable().optional(),\n labeler_email: z.string().describe(\"Email address of the labeler.\").nullable().optional(),\n quality_task_id: z.string().describe(\"Associated quality task identifier.\").nullable().optional(),\n training_attempt_id: z.string().describe(\"Unique identifier for the training attempt.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single training attempt with related data.\");\nexport const ScaleAiGetQualityLabelersOutput = z.object({\n next_token: z.string().describe(\"Pagination token for retrieving the next page of results.\").nullable().optional(),\n training_attempts: z.array(ScaleAiGetQualityLabelers_TrainingAttemptSchema).describe(\"List of training attempt objects matching the provided filter parameters.\"),\n}).passthrough().describe(\"Response model for retrieving training attempts.\");\n\nexport const scaleAiGetQualityLabelers: AppAction<\n typeof ScaleAiGetQualityLabelersInput,\n typeof ScaleAiGetQualityLabelersOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_GET_QUALITY_LABELERS\", {\n slug: \"scale_ai-get-quality-labelers\",\n name: \"Get Quality Labelers\",\n description: \"Tool to retrieve training attempts matching provided filter parameters. Use when you need to assess labeler performance and understanding of task instructions. At least one of quality_task_ids or labeler_emails must be provided.\",\n input: ScaleAiGetQualityLabelersInput,\n output: ScaleAiGetQualityLabelersOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC/G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS;CACxL,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CACzK,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;AACvL,CAAC,CAAC,CAAC,SAAS,oJAAoJ;AAChK,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AACnF,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,mBAAmBA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,2EAA2E;AAClK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,4BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scaleAi } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-quality-labelers.d.ts
|
|
@@ -20,12 +22,7 @@ declare const ScaleAiGetQualityLabelersOutput: z.ZodObject<{
|
|
|
20
22
|
training_attempt_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
23
|
}, z.core.$loose>>;
|
|
22
24
|
}, z.core.$loose>;
|
|
23
|
-
declare const scaleAiGetQualityLabelers:
|
|
24
|
-
limit?: number | undefined;
|
|
25
|
-
next_token?: string | undefined;
|
|
26
|
-
labeler_emails?: string[] | undefined;
|
|
27
|
-
quality_task_ids?: string[] | undefined;
|
|
28
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
25
|
+
declare const scaleAiGetQualityLabelers: AppAction<typeof ScaleAiGetQualityLabelersInput, typeof ScaleAiGetQualityLabelersOutput, typeof scaleAi.credential>;
|
|
29
26
|
//#endregion
|
|
30
27
|
export { scaleAiGetQualityLabelers };
|
|
31
28
|
//# sourceMappingURL=get-quality-labelers.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-quality-labelers.d.cts","names":[],"sources":["../../src/actions/get-quality-labelers.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-quality-labelers.d.cts","names":[],"sources":["../../src/actions/get-quality-labelers.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAgB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAK/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scaleAi } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-quality-labelers.d.ts
|
|
@@ -20,12 +22,7 @@ declare const ScaleAiGetQualityLabelersOutput: z.ZodObject<{
|
|
|
20
22
|
training_attempt_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
23
|
}, z.core.$loose>>;
|
|
22
24
|
}, z.core.$loose>;
|
|
23
|
-
declare const scaleAiGetQualityLabelers:
|
|
24
|
-
limit?: number | undefined;
|
|
25
|
-
next_token?: string | undefined;
|
|
26
|
-
labeler_emails?: string[] | undefined;
|
|
27
|
-
quality_task_ids?: string[] | undefined;
|
|
28
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
25
|
+
declare const scaleAiGetQualityLabelers: AppAction<typeof ScaleAiGetQualityLabelersInput, typeof ScaleAiGetQualityLabelersOutput, typeof scaleAi.credential>;
|
|
29
26
|
//#endregion
|
|
30
27
|
export { scaleAiGetQualityLabelers };
|
|
31
28
|
//# sourceMappingURL=get-quality-labelers.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-quality-labelers.d.mts","names":[],"sources":["../../src/actions/get-quality-labelers.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-quality-labelers.d.mts","names":[],"sources":["../../src/actions/get-quality-labelers.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAgB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAK/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-quality-labelers.mjs","names":[],"sources":["../../src/actions/get-quality-labelers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiGetQualityLabelersInput = z.object({\n limit: z.number().int().describe(\"Maximum number of training attempt records to return per request.\").optional(),\n next_token: z.string().describe(\"Pagination token for retrieving subsequent result pages. Use the next_token value from a previous response to get the next page of results.\").optional(),\n labeler_emails: z.array(z.string()).describe(\"Filter results by labeler email addresses. At least one of quality_task_ids or labeler_emails must be provided.\").optional(),\n quality_task_ids: z.array(z.string()).describe(\"Filter results by specific quality task identifiers. At least one of quality_task_ids or labeler_emails must be provided.\").optional(),\n}).describe(\"Request model for retrieving training attempts matching provided parameters.\\nAt least one of quality_task_ids or labeler_emails must be provided.\");\nconst ScaleAiGetQualityLabelers_TrainingAttemptSchema = z.object({\n score: z.number().describe(\"Performance score for the training attempt.\").nullable().optional(),\n status: z.string().describe(\"Status of the training attempt.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata associated with the training attempt.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the training attempt was created.\").nullable().optional(),\n completed_at: z.string().describe(\"Timestamp when the training attempt was completed.\").nullable().optional(),\n labeler_email: z.string().describe(\"Email address of the labeler.\").nullable().optional(),\n quality_task_id: z.string().describe(\"Associated quality task identifier.\").nullable().optional(),\n training_attempt_id: z.string().describe(\"Unique identifier for the training attempt.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single training attempt with related data.\");\nexport const ScaleAiGetQualityLabelersOutput = z.object({\n next_token: z.string().describe(\"Pagination token for retrieving the next page of results.\").nullable().optional(),\n training_attempts: z.array(ScaleAiGetQualityLabelers_TrainingAttemptSchema).describe(\"List of training attempt objects matching the provided filter parameters.\"),\n}).passthrough().describe(\"Response model for retrieving training attempts.\");\n\nexport const scaleAiGetQualityLabelers = action(\"SCALE_AI_GET_QUALITY_LABELERS\", {\n slug: \"scale_ai-get-quality-labelers\",\n name: \"Get Quality Labelers\",\n description: \"Tool to retrieve training attempts matching provided filter parameters. Use when you need to assess labeler performance and understanding of task instructions. At least one of quality_task_ids or labeler_emails must be provided.\",\n input: ScaleAiGetQualityLabelersInput,\n output: ScaleAiGetQualityLabelersOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-quality-labelers.mjs","names":[],"sources":["../../src/actions/get-quality-labelers.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scaleAi } from \"../app\";\n\nexport const ScaleAiGetQualityLabelersInput = z.object({\n limit: z.number().int().describe(\"Maximum number of training attempt records to return per request.\").optional(),\n next_token: z.string().describe(\"Pagination token for retrieving subsequent result pages. Use the next_token value from a previous response to get the next page of results.\").optional(),\n labeler_emails: z.array(z.string()).describe(\"Filter results by labeler email addresses. At least one of quality_task_ids or labeler_emails must be provided.\").optional(),\n quality_task_ids: z.array(z.string()).describe(\"Filter results by specific quality task identifiers. At least one of quality_task_ids or labeler_emails must be provided.\").optional(),\n}).describe(\"Request model for retrieving training attempts matching provided parameters.\\nAt least one of quality_task_ids or labeler_emails must be provided.\");\nconst ScaleAiGetQualityLabelers_TrainingAttemptSchema = z.object({\n score: z.number().describe(\"Performance score for the training attempt.\").nullable().optional(),\n status: z.string().describe(\"Status of the training attempt.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata associated with the training attempt.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the training attempt was created.\").nullable().optional(),\n completed_at: z.string().describe(\"Timestamp when the training attempt was completed.\").nullable().optional(),\n labeler_email: z.string().describe(\"Email address of the labeler.\").nullable().optional(),\n quality_task_id: z.string().describe(\"Associated quality task identifier.\").nullable().optional(),\n training_attempt_id: z.string().describe(\"Unique identifier for the training attempt.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single training attempt with related data.\");\nexport const ScaleAiGetQualityLabelersOutput = z.object({\n next_token: z.string().describe(\"Pagination token for retrieving the next page of results.\").nullable().optional(),\n training_attempts: z.array(ScaleAiGetQualityLabelers_TrainingAttemptSchema).describe(\"List of training attempt objects matching the provided filter parameters.\"),\n}).passthrough().describe(\"Response model for retrieving training attempts.\");\n\nexport const scaleAiGetQualityLabelers: AppAction<\n typeof ScaleAiGetQualityLabelersInput,\n typeof ScaleAiGetQualityLabelersOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_GET_QUALITY_LABELERS\", {\n slug: \"scale_ai-get-quality-labelers\",\n name: \"Get Quality Labelers\",\n description: \"Tool to retrieve training attempts matching provided filter parameters. Use when you need to assess labeler performance and understanding of task instructions. At least one of quality_task_ids or labeler_emails must be provided.\",\n input: ScaleAiGetQualityLabelersInput,\n output: ScaleAiGetQualityLabelersOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiC,EAAE,OAAO;CACrD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC/G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS;CACxL,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CACzK,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;AACvL,CAAC,CAAC,CAAC,SAAS,oJAAoJ;AAChK,MAAM,kDAAkD,EAAE,OAAO;CAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAMnF,MAAa,4BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd6C,EAAE,OAAO;EACtD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,mBAAmB,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,2EAA2E;CAClK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-studio-assignments.cjs","names":["z","action"],"sources":["../../src/actions/get-studio-assignments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiGetStudioAssignmentsInput = z.object({}).describe(\"Request model for retrieving studio assignments. No parameters are required.\");\nconst ScaleAiGetStudioAssignments_AssignmentSchema = z.object({\n user_id: z.string().describe(\"Unique identifier for the user.\").nullable().optional(),\n project_id: z.string().describe(\"Unique identifier for the project.\").nullable().optional(),\n user_email: z.string().describe(\"Email address of the user.\").nullable().optional(),\n project_name: z.string().describe(\"Name of the project assigned to the user.\").nullable().optional(),\n assignment_count: z.number().int().describe(\"Number of assignments for the user in the project.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a studio assignment for a team member.\");\nexport const ScaleAiGetStudioAssignmentsOutput = z.object({\n assignments: z.array(ScaleAiGetStudioAssignments_AssignmentSchema).describe(\"List of current project assignments for all active team users.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing studio assignments for all active team users.\");\n\nexport const scaleAiGetStudioAssignments = action(\"SCALE_AI_GET_STUDIO_ASSIGNMENTS\", {\n slug: \"scale_ai-get-studio-assignments\",\n name: \"Get Studio Assignments\",\n description: \"Tool to retrieve current project assignments of all active team users in Scale AI Studio. Use when you need to view team member assignments and workload distribution. Excludes invited or disabled team members.\",\n input: ScaleAiGetStudioAssignmentsInput,\n output: ScaleAiGetStudioAssignmentsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-studio-assignments.cjs","names":["z","action"],"sources":["../../src/actions/get-studio-assignments.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scaleAi } from \"../app\";\n\nexport const ScaleAiGetStudioAssignmentsInput = z.object({}).describe(\"Request model for retrieving studio assignments. No parameters are required.\");\nconst ScaleAiGetStudioAssignments_AssignmentSchema = z.object({\n user_id: z.string().describe(\"Unique identifier for the user.\").nullable().optional(),\n project_id: z.string().describe(\"Unique identifier for the project.\").nullable().optional(),\n user_email: z.string().describe(\"Email address of the user.\").nullable().optional(),\n project_name: z.string().describe(\"Name of the project assigned to the user.\").nullable().optional(),\n assignment_count: z.number().int().describe(\"Number of assignments for the user in the project.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a studio assignment for a team member.\");\nexport const ScaleAiGetStudioAssignmentsOutput = z.object({\n assignments: z.array(ScaleAiGetStudioAssignments_AssignmentSchema).describe(\"List of current project assignments for all active team users.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing studio assignments for all active team users.\");\n\nexport const scaleAiGetStudioAssignments: AppAction<\n typeof ScaleAiGetStudioAssignmentsInput,\n typeof ScaleAiGetStudioAssignmentsOutput,\n typeof scaleAi.credential\n> = action(\"SCALE_AI_GET_STUDIO_ASSIGNMENTS\", {\n slug: \"scale_ai-get-studio-assignments\",\n name: \"Get Studio Assignments\",\n description: \"Tool to retrieve current project assignments of all active team users in Scale AI Studio. Use when you need to view team member assignments and workload distribution. Excludes invited or disabled team members.\",\n input: ScaleAiGetStudioAssignmentsInput,\n output: ScaleAiGetStudioAssignmentsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8EAA8E;AACpJ,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AACrF,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,aAAaA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yEAAyE;AAEnG,MAAa,8BAITC,eAAAA,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scaleAi } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-studio-assignments.d.ts
|
|
@@ -11,7 +13,7 @@ declare const ScaleAiGetStudioAssignmentsOutput: z.ZodObject<{
|
|
|
11
13
|
assignment_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
14
|
}, z.core.$loose>>>>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const scaleAiGetStudioAssignments:
|
|
16
|
+
declare const scaleAiGetStudioAssignments: AppAction<typeof ScaleAiGetStudioAssignmentsInput, typeof ScaleAiGetStudioAssignmentsOutput, typeof scaleAi.credential>;
|
|
15
17
|
//#endregion
|
|
16
18
|
export { scaleAiGetStudioAssignments };
|
|
17
19
|
//# sourceMappingURL=get-studio-assignments.d.cts.map
|