@kosuke-ai/kosuke 1.0.0 → 1.0.2
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/CHANGELOG.md +66 -0
- package/README.md +198 -1
- package/dist/agent/http.js +18 -0
- package/dist/agent/summary.js +419 -0
- package/dist/commands/agent.js +22 -0
- package/dist/commands/auth.js +117 -0
- package/dist/commands/integrations.js +310 -0
- package/dist/commands/skill-runs.js +230 -0
- package/dist/commands/watch.js +167 -0
- package/dist/generated/commands/activity/list.js +73 -0
- package/dist/generated/commands/crons/artifacts-list.js +57 -0
- package/dist/generated/commands/crons/create.js +65 -0
- package/dist/generated/commands/crons/delete.js +18 -0
- package/dist/generated/commands/crons/get.js +19 -0
- package/dist/generated/commands/crons/list.js +54 -0
- package/dist/generated/commands/crons/projects-resume.js +21 -0
- package/dist/generated/commands/crons/run.js +37 -0
- package/dist/generated/commands/crons/runs-artifacts-get.js +23 -0
- package/dist/generated/commands/crons/runs-artifacts-list.js +22 -0
- package/dist/generated/commands/crons/runs-cancel.js +21 -0
- package/dist/generated/commands/crons/runs-diagnostics.js +23 -0
- package/dist/generated/commands/crons/runs-get.js +21 -0
- package/dist/generated/commands/crons/runs-list.js +58 -0
- package/dist/generated/commands/crons/runs-messages.js +21 -0
- package/dist/generated/commands/crons/update.js +73 -0
- package/dist/generated/commands/deploy/cancel.js +18 -0
- package/dist/generated/commands/deploy/list.js +33 -0
- package/dist/generated/commands/deploy/message.js +32 -0
- package/dist/generated/commands/deploy/messages.js +18 -0
- package/dist/generated/commands/deploy/queue-delete.js +19 -0
- package/dist/generated/commands/deploy/queue-list.js +19 -0
- package/dist/generated/commands/deploy/queue-move.js +31 -0
- package/dist/generated/commands/deploy/queue-resume.js +19 -0
- package/dist/generated/commands/deploy/queue-send.js +20 -0
- package/dist/generated/commands/deploy/queue-steer.js +20 -0
- package/dist/generated/commands/deploy/queue-update.js +56 -0
- package/dist/generated/commands/deploy/run.js +65 -0
- package/dist/generated/commands/deploy/set-model.js +28 -0
- package/dist/generated/commands/devices/list.js +18 -0
- package/dist/generated/commands/devices/request.js +31 -0
- package/dist/generated/commands/files/delete.js +18 -0
- package/dist/generated/commands/files/get.js +19 -0
- package/dist/generated/commands/files/list.js +25 -0
- package/dist/generated/commands/files/mkdir.js +28 -0
- package/dist/generated/commands/files/move.js +35 -0
- package/dist/generated/commands/files/put.js +92 -0
- package/dist/generated/commands/github/repositories.js +16 -0
- package/dist/generated/commands/github/status.js +16 -0
- package/dist/generated/commands/index.js +656 -0
- package/dist/generated/commands/integrations/execute.js +49 -0
- package/dist/generated/commands/integrations/tools.js +70 -0
- package/dist/generated/commands/mac/apps.js +30 -0
- package/dist/generated/commands/mac/ax-tree.js +65 -0
- package/dist/generated/commands/mac/browser-connection-check.js +69 -0
- package/dist/generated/commands/mac/browser-connections.js +30 -0
- package/dist/generated/commands/mac/browser-profiles.js +36 -0
- package/dist/generated/commands/mac/browser-sign-in.js +79 -0
- package/dist/generated/commands/mac/browser.js +44 -0
- package/dist/generated/commands/mac/click.js +72 -0
- package/dist/generated/commands/mac/file-delete.js +37 -0
- package/dist/generated/commands/mac/file-list.js +37 -0
- package/dist/generated/commands/mac/file-move.js +44 -0
- package/dist/generated/commands/mac/file-read.js +37 -0
- package/dist/generated/commands/mac/file-write.js +50 -0
- package/dist/generated/commands/mac/key.js +58 -0
- package/dist/generated/commands/mac/open.js +43 -0
- package/dist/generated/commands/mac/screenshot.js +51 -0
- package/dist/generated/commands/mac/scroll.js +70 -0
- package/dist/generated/commands/mac/shell.js +51 -0
- package/dist/generated/commands/mac/tools.js +18 -0
- package/dist/generated/commands/mac/type.js +64 -0
- package/dist/generated/commands/mac/windows.js +30 -0
- package/dist/generated/commands/members/list.js +24 -0
- package/dist/generated/commands/models/list.js +16 -0
- package/dist/generated/commands/personal-tasks/create.js +72 -0
- package/dist/generated/commands/personal-tasks/delete.js +17 -0
- package/dist/generated/commands/personal-tasks/get.js +20 -0
- package/dist/generated/commands/personal-tasks/list.js +71 -0
- package/dist/generated/commands/personal-tasks/move.js +31 -0
- package/dist/generated/commands/personal-tasks/start.js +69 -0
- package/dist/generated/commands/personal-tasks/update.js +81 -0
- package/dist/generated/commands/preview/get.js +26 -0
- package/dist/generated/commands/preview/health.js +26 -0
- package/dist/generated/commands/preview/reset.js +28 -0
- package/dist/generated/commands/preview/share-create.js +37 -0
- package/dist/generated/commands/preview/share-delete.js +26 -0
- package/dist/generated/commands/preview/share-get.js +27 -0
- package/dist/generated/commands/preview/shared-artifact.js +19 -0
- package/dist/generated/commands/preview/shared.js +17 -0
- package/dist/generated/commands/projects/backlog-items-create.js +35 -0
- package/dist/generated/commands/projects/backlog-items-delete.js +19 -0
- package/dist/generated/commands/projects/backlog-items-list.js +19 -0
- package/dist/generated/commands/projects/backlog-items-send.js +20 -0
- package/dist/generated/commands/projects/backlog-items-update.js +42 -0
- package/dist/generated/commands/projects/batch-merging-add-member.js +30 -0
- package/dist/generated/commands/projects/batch-merging-eject.js +37 -0
- package/dist/generated/commands/projects/batch-merging-finish.js +30 -0
- package/dist/generated/commands/projects/batch-merging-get.js +19 -0
- package/dist/generated/commands/projects/batch-merging-set.js +32 -0
- package/dist/generated/commands/projects/branches.js +31 -0
- package/dist/generated/commands/projects/create.js +72 -0
- package/dist/generated/commands/projects/delete.js +17 -0
- package/dist/generated/commands/projects/env-vars-add.js +22 -0
- package/dist/generated/commands/projects/env-vars-remove.js +21 -0
- package/dist/generated/commands/projects/get.js +18 -0
- package/dist/generated/commands/projects/labels-color.js +37 -0
- package/dist/generated/commands/projects/labels-delete.js +50 -0
- package/dist/generated/commands/projects/labels-usage.js +27 -0
- package/dist/generated/commands/projects/labels.js +18 -0
- package/dist/generated/commands/projects/list.js +16 -0
- package/dist/generated/commands/projects/live-logs.js +34 -0
- package/dist/generated/commands/projects/live-query.js +30 -0
- package/dist/generated/commands/projects/live-traffic.js +27 -0
- package/dist/generated/commands/projects/live-write-status.js +20 -0
- package/dist/generated/commands/projects/live-write.js +37 -0
- package/dist/generated/commands/projects/qa-guide-get.js +19 -0
- package/dist/generated/commands/projects/qa-guide-set.js +40 -0
- package/dist/generated/commands/projects/releases.js +18 -0
- package/dist/generated/commands/projects/services-add.js +88 -0
- package/dist/generated/commands/projects/services-list.js +19 -0
- package/dist/generated/commands/projects/services-remove.js +19 -0
- package/dist/generated/commands/projects/services-update.js +82 -0
- package/dist/generated/commands/projects/settings-get.js +19 -0
- package/dist/generated/commands/projects/settings-import.js +99 -0
- package/dist/generated/commands/projects/settings-update.js +85 -0
- package/dist/generated/commands/projects/skills.js +39 -0
- package/dist/generated/commands/projects/switch-workflow.js +34 -0
- package/dist/generated/commands/projects/update.js +28 -0
- package/dist/generated/commands/projects/versions.js +18 -0
- package/dist/generated/commands/sensei/cards-close.js +43 -0
- package/dist/generated/commands/sensei/cards-mark-read.js +30 -0
- package/dist/generated/commands/sensei/cards-put.js +152 -0
- package/dist/generated/commands/sensei/cards-send-reply.js +30 -0
- package/dist/generated/commands/sensei/cards.js +38 -0
- package/dist/generated/commands/sensei/chat.js +23 -0
- package/dist/generated/commands/sensei/connect.js +57 -0
- package/dist/generated/commands/sensei/delegates-get.js +21 -0
- package/dist/generated/commands/sensei/delegates-note.js +46 -0
- package/dist/generated/commands/sensei/delegates-start.js +51 -0
- package/dist/generated/commands/sensei/delegates-stop.js +21 -0
- package/dist/generated/commands/sensei/describe.js +36 -0
- package/dist/generated/commands/sensei/device-requests-decide.js +48 -0
- package/dist/generated/commands/sensei/device-requests-list.js +27 -0
- package/dist/generated/commands/sensei/memory-get.js +19 -0
- package/dist/generated/commands/sensei/memory-put.js +55 -0
- package/dist/generated/commands/sensei/merge-rule.js +36 -0
- package/dist/generated/commands/sensei/merge.js +36 -0
- package/dist/generated/commands/sensei/messages-reply.js +44 -0
- package/dist/generated/commands/sensei/messages-reroute.js +37 -0
- package/dist/generated/commands/sensei/messages-send.js +98 -0
- package/dist/generated/commands/sensei/notifications-open.js +19 -0
- package/dist/generated/commands/sensei/reels-activity.js +16 -0
- package/dist/generated/commands/sensei/reels-proposals.js +24 -0
- package/dist/generated/commands/sensei/reels-ranks.js +16 -0
- package/dist/generated/commands/sensei/reels-skips.js +32 -0
- package/dist/generated/commands/sensei/repository.js +36 -0
- package/dist/generated/commands/sensei/review-approve.js +37 -0
- package/dist/generated/commands/sensei/review-ask.js +44 -0
- package/dist/generated/commands/sensei/review-context.js +32 -0
- package/dist/generated/commands/sensei/sessions-assess.js +71 -0
- package/dist/generated/commands/sensei/sessions-facts.js +26 -0
- package/dist/generated/commands/sensei/suggest.js +36 -0
- package/dist/generated/commands/sensei/thread-done.js +21 -0
- package/dist/generated/commands/sensei/thread-move.js +30 -0
- package/dist/generated/commands/sensei/thread-read.js +41 -0
- package/dist/generated/commands/sensei/thread-split.js +30 -0
- package/dist/generated/commands/sensei/threads.js +47 -0
- package/dist/generated/commands/sensei/tickets-merge.js +51 -0
- package/dist/generated/commands/sensei/widgets.js +15 -0
- package/dist/generated/commands/sessions/activate.js +33 -0
- package/dist/generated/commands/sessions/all.js +142 -0
- package/dist/generated/commands/sessions/app-stack-start.js +20 -0
- package/dist/generated/commands/sessions/artifacts-attach.js +31 -0
- package/dist/generated/commands/sessions/artifacts-get.js +21 -0
- package/dist/generated/commands/sessions/artifacts-list.js +20 -0
- package/dist/generated/commands/sessions/create.js +234 -0
- package/dist/generated/commands/sessions/delete.js +21 -0
- package/dist/generated/commands/sessions/desktop-control.js +35 -0
- package/dist/generated/commands/sessions/desktop-start.js +19 -0
- package/dist/generated/commands/sessions/desktop.js +19 -0
- package/dist/generated/commands/sessions/diff-comments-add.js +65 -0
- package/dist/generated/commands/sessions/diff-comments-delete.js +21 -0
- package/dist/generated/commands/sessions/diff-comments-list.js +21 -0
- package/dist/generated/commands/sessions/diff-comments-update.js +25 -0
- package/dist/generated/commands/sessions/diff-commits.js +20 -0
- package/dist/generated/commands/sessions/diff-files.js +20 -0
- package/dist/generated/commands/sessions/diff-patch.js +87 -0
- package/dist/generated/commands/sessions/edit-prompt.js +81 -0
- package/dist/generated/commands/sessions/files-get.js +28 -0
- package/dist/generated/commands/sessions/files-list.js +20 -0
- package/dist/generated/commands/sessions/files-write.js +42 -0
- package/dist/generated/commands/sessions/get.js +19 -0
- package/dist/generated/commands/sessions/git-commit-message.js +20 -0
- package/dist/generated/commands/sessions/git-commit.js +30 -0
- package/dist/generated/commands/sessions/git-push.js +20 -0
- package/dist/generated/commands/sessions/git-state.js +20 -0
- package/dist/generated/commands/sessions/go-ahead-clear.js +22 -0
- package/dist/generated/commands/sessions/go-ahead-set.js +40 -0
- package/dist/generated/commands/sessions/jobs-cancel.js +21 -0
- package/dist/generated/commands/sessions/jobs-get.js +21 -0
- package/dist/generated/commands/sessions/jobs-list.js +35 -0
- package/dist/generated/commands/sessions/labels-edit.js +45 -0
- package/dist/generated/commands/sessions/labels-set.js +45 -0
- package/dist/generated/commands/sessions/list.js +130 -0
- package/dist/generated/commands/sessions/mark-read.js +19 -0
- package/dist/generated/commands/sessions/message.js +33 -0
- package/dist/generated/commands/sessions/messages.js +41 -0
- package/dist/generated/commands/sessions/needs-you.js +16 -0
- package/dist/generated/commands/sessions/qa-clear.js +22 -0
- package/dist/generated/commands/sessions/qa-set.js +33 -0
- package/dist/generated/commands/sessions/queue-delete.js +23 -0
- package/dist/generated/commands/sessions/queue-list.js +20 -0
- package/dist/generated/commands/sessions/queue-move.js +32 -0
- package/dist/generated/commands/sessions/queue-resume.js +20 -0
- package/dist/generated/commands/sessions/queue-send.js +21 -0
- package/dist/generated/commands/sessions/queue-steer.js +21 -0
- package/dist/generated/commands/sessions/queue-update.js +57 -0
- package/dist/generated/commands/sessions/runtime-command.js +39 -0
- package/dist/generated/commands/sessions/search.js +24 -0
- package/dist/generated/commands/sessions/send.js +138 -0
- package/dist/generated/commands/sessions/steer.js +36 -0
- package/dist/generated/commands/sessions/sync.js +37 -0
- package/dist/generated/commands/sessions/title-generate.js +29 -0
- package/dist/generated/commands/sessions/update.js +118 -0
- package/dist/generated/commands/tasks/all.js +112 -0
- package/dist/generated/commands/tasks/create.js +230 -0
- package/dist/generated/commands/tasks/delete.js +18 -0
- package/dist/generated/commands/tasks/get.js +19 -0
- package/dist/generated/commands/tasks/labels.js +18 -0
- package/dist/generated/commands/tasks/list.js +114 -0
- package/dist/generated/commands/tasks/start.js +68 -0
- package/dist/generated/commands/tasks/update.js +136 -0
- package/dist/generated/commands/user/auth-token-revoke.js +16 -0
- package/dist/generated/commands/user/crons-artifacts-list.js +59 -0
- package/dist/generated/commands/user/crons-create.js +65 -0
- package/dist/generated/commands/user/crons-get.js +21 -0
- package/dist/generated/commands/user/crons-list.js +41 -0
- package/dist/generated/commands/user/crons-run.js +21 -0
- package/dist/generated/commands/user/crons-runs-artifacts-get.js +25 -0
- package/dist/generated/commands/user/crons-runs-artifacts-list.js +24 -0
- package/dist/generated/commands/user/crons-runs-get.js +23 -0
- package/dist/generated/commands/user/crons-runs-list.js +52 -0
- package/dist/generated/commands/user/crons-update.js +73 -0
- package/dist/generated/commands/user/files-delete.js +18 -0
- package/dist/generated/commands/user/files-get.js +19 -0
- package/dist/generated/commands/user/files-list.js +24 -0
- package/dist/generated/commands/user/files-mkdir.js +27 -0
- package/dist/generated/commands/user/files-move.js +35 -0
- package/dist/generated/commands/user/files-put.js +91 -0
- package/dist/generated/commands/user/integrations-linkedin-connect.js +35 -0
- package/dist/generated/commands/user/integrations-linkedin-list.js +17 -0
- package/dist/generated/commands/user/integrations-linkedin-reconnect.js +19 -0
- package/dist/generated/commands/user/integrations-list.js +16 -0
- package/dist/generated/commands/user/integrations-remove.js +19 -0
- package/dist/generated/commands/user/integrations-x-connect.js +35 -0
- package/dist/generated/commands/user/integrations-x-list.js +17 -0
- package/dist/generated/commands/user/integrations-x-reconnect.js +19 -0
- package/dist/generated/commands/user/memory-list.js +16 -0
- package/dist/generated/commands/user/memory-put.js +36 -0
- package/dist/generated/commands/user/plugins-list.js +28 -0
- package/dist/generated/commands/user/plugins-update.js +29 -0
- package/dist/generated/commands/user/profile.js +16 -0
- package/dist/generated/commands/user/push-devices-register.js +76 -0
- package/dist/generated/commands/user/push-devices-remove.js +26 -0
- package/dist/generated/commands/user/skills-create.js +33 -0
- package/dist/generated/commands/user/skills-delete.js +18 -0
- package/dist/generated/commands/user/skills-get.js +19 -0
- package/dist/generated/commands/user/skills-list.js +17 -0
- package/dist/generated/commands/user/skills-update.js +35 -0
- package/dist/generated/commands/user/subscriptions-delete.js +18 -0
- package/dist/generated/commands/user/subscriptions-get.js +17 -0
- package/dist/generated/commands/user/subscriptions-grok-change.js +20 -0
- package/dist/generated/commands/user/subscriptions-grok-get.js +18 -0
- package/dist/generated/commands/user/subscriptions-login-antigravity-cancel.js +34 -0
- package/dist/generated/commands/user/subscriptions-login-antigravity-complete.js +40 -0
- package/dist/generated/commands/user/subscriptions-login-antigravity-start.js +28 -0
- package/dist/generated/commands/user/subscriptions-login-claude-complete.js +34 -0
- package/dist/generated/commands/user/subscriptions-login-claude-start.js +29 -0
- package/dist/generated/commands/user/subscriptions-login-codex-complete.js +28 -0
- package/dist/generated/commands/user/subscriptions-login-codex-start.js +29 -0
- package/dist/generated/commands/user/subscriptions-login-muse-complete.js +28 -0
- package/dist/generated/commands/user/subscriptions-login-muse-start.js +29 -0
- package/dist/generated/commands/user/subscriptions-logins-delete.js +20 -0
- package/dist/generated/commands/user/subscriptions-logins-recheck.js +19 -0
- package/dist/generated/commands/user/subscriptions-set-default-model.js +33 -0
- package/dist/generated/commands/user/subscriptions-set-key.js +35 -0
- package/dist/generated/commands/user/subscriptions-token-usage.js +17 -0
- package/dist/generated/commands/user/subscriptions-usage.js +52 -0
- package/dist/generated/commands/workspaces/access-status.js +30 -0
- package/dist/generated/commands/workspaces/ai-provider-get.js +19 -0
- package/dist/generated/commands/workspaces/ai-provider-google-delete-method.js +33 -0
- package/dist/generated/commands/workspaces/ai-provider-google-get.js +20 -0
- package/dist/generated/commands/workspaces/ai-provider-google-remove.js +19 -0
- package/dist/generated/commands/workspaces/ai-provider-google-save.js +38 -0
- package/dist/generated/commands/workspaces/ai-provider-google-select-method.js +39 -0
- package/dist/generated/commands/workspaces/ai-provider-google-usage.js +39 -0
- package/dist/generated/commands/workspaces/ai-provider-login-antigravity-cancel.js +36 -0
- package/dist/generated/commands/workspaces/ai-provider-login-antigravity-complete.js +42 -0
- package/dist/generated/commands/workspaces/ai-provider-login-antigravity-start.js +30 -0
- package/dist/generated/commands/workspaces/ai-provider-logins-recheck.js +41 -0
- package/dist/generated/commands/workspaces/ai-provider-remove.js +57 -0
- package/dist/generated/commands/workspaces/ai-provider-set.js +21 -0
- package/dist/generated/commands/workspaces/ai-provider-token-usage.js +19 -0
- package/dist/generated/commands/workspaces/ai-provider-usage-claude.js +39 -0
- package/dist/generated/commands/workspaces/ai-provider-usage-codex.js +39 -0
- package/dist/generated/commands/workspaces/ai-provider-usage-coding-plan.js +32 -0
- package/dist/generated/commands/workspaces/ai-provider-usage-deepseek.js +32 -0
- package/dist/generated/commands/workspaces/ai-provider-usage-grok.js +39 -0
- package/dist/generated/commands/workspaces/ai-provider-usage-kimi-code.js +32 -0
- package/dist/generated/commands/workspaces/ai-provider-usage-muse.js +39 -0
- package/dist/generated/commands/workspaces/artifacts.js +26 -0
- package/dist/generated/commands/workspaces/credits.js +18 -0
- package/dist/generated/commands/workspaces/get.js +18 -0
- package/dist/generated/commands/workspaces/grok-change.js +21 -0
- package/dist/generated/commands/workspaces/grok-get.js +19 -0
- package/dist/generated/commands/workspaces/integrations-get.js +20 -0
- package/dist/generated/commands/workspaces/integrations-list.js +37 -0
- package/dist/generated/commands/workspaces/integrations-remove.js +19 -0
- package/dist/generated/commands/workspaces/list.js +16 -0
- package/dist/generated/commands/workspaces/members.js +26 -0
- package/dist/generated/commands/workspaces/plugins-list.js +30 -0
- package/dist/generated/commands/workspaces/plugins-update.js +30 -0
- package/dist/generated/commands/workspaces/provider-login-claude-complete.js +35 -0
- package/dist/generated/commands/workspaces/provider-login-claude-start.js +30 -0
- package/dist/generated/commands/workspaces/provider-login-codex-complete.js +29 -0
- package/dist/generated/commands/workspaces/provider-login-codex-start.js +30 -0
- package/dist/generated/commands/workspaces/provider-login-muse-complete.js +29 -0
- package/dist/generated/commands/workspaces/provider-login-muse-start.js +30 -0
- package/dist/generated/commands/workspaces/sandbox-limit.js +18 -0
- package/dist/generated/commands/workspaces/skills-create.js +35 -0
- package/dist/generated/commands/workspaces/skills-delete.js +19 -0
- package/dist/generated/commands/workspaces/skills-get.js +20 -0
- package/dist/generated/commands/workspaces/skills-list.js +19 -0
- package/dist/generated/commands/workspaces/skills-update.js +36 -0
- package/dist/generated/commands/workspaces/stop-sandboxes.js +28 -0
- package/dist/generated/commands/workspaces/timezone-set.js +29 -0
- package/dist/generated/commands/workspaces/usage.js +33 -0
- package/dist/generated/providers.js +31 -0
- package/dist/index.js +7 -0
- package/dist/integrations/api.js +136 -0
- package/dist/integrations/render.js +59 -0
- package/dist/program.js +73 -0
- package/dist/runtime/agent-tokens.js +39 -0
- package/dist/runtime/attach.js +199 -0
- package/dist/runtime/attachments.js +63 -0
- package/dist/runtime/client.js +188 -0
- package/dist/runtime/config.js +49 -0
- package/dist/runtime/credentials.js +32 -0
- package/dist/runtime/descriptor.js +7 -0
- package/dist/runtime/invoke.js +152 -0
- package/dist/runtime/job-watch.js +374 -0
- package/dist/runtime/runtime.js +46 -0
- package/dist/runtime/version.js +5 -0
- package/openapi.json +26313 -0
- package/package.json +46 -4
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "post",
|
|
3
|
+
"path": "/api/organizations/{workspaceId}/tasks/{taskId}/start",
|
|
4
|
+
"command": [
|
|
5
|
+
"tasks",
|
|
6
|
+
"start"
|
|
7
|
+
],
|
|
8
|
+
"summary": "Start a Todo task. Members and Sensei only. sandboxSize and appStack set the task's Sandbox size and App stack as it starts; absent keeps what the task holds.",
|
|
9
|
+
"pathParams": [
|
|
10
|
+
"workspaceId",
|
|
11
|
+
"taskId"
|
|
12
|
+
],
|
|
13
|
+
"query": [],
|
|
14
|
+
"body": {
|
|
15
|
+
"fields": [
|
|
16
|
+
{
|
|
17
|
+
"name": "projectId",
|
|
18
|
+
"flag": "project-id",
|
|
19
|
+
"kind": "string",
|
|
20
|
+
"required": true
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "skill",
|
|
24
|
+
"flag": "skill",
|
|
25
|
+
"kind": "string",
|
|
26
|
+
"required": false,
|
|
27
|
+
"choices": [
|
|
28
|
+
"ship"
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "prompt",
|
|
33
|
+
"flag": "prompt",
|
|
34
|
+
"kind": "string",
|
|
35
|
+
"required": false
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "sandboxSize",
|
|
39
|
+
"flag": "sandbox-size",
|
|
40
|
+
"kind": "string",
|
|
41
|
+
"required": false,
|
|
42
|
+
"description": "The session's Sandbox size: small (2 CPU, 4 GB), medium (4 CPU, 8 GB), large (8 CPU, 16 GB) or xlarge (16 CPU, 32 GB). Absent boots the project's size. Fixed once the session starts.",
|
|
43
|
+
"choices": [
|
|
44
|
+
"small",
|
|
45
|
+
"medium",
|
|
46
|
+
"large",
|
|
47
|
+
"xlarge"
|
|
48
|
+
]
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "appStack",
|
|
52
|
+
"flag": "app-stack",
|
|
53
|
+
"kind": "string",
|
|
54
|
+
"required": false,
|
|
55
|
+
"description": "start (default) runs the project's services when the sandbox boots. skip boots setup and the agent only; a member or the session's agent starts the services later with sessions app-stack-start. Fixed once the session starts.",
|
|
56
|
+
"choices": [
|
|
57
|
+
"start",
|
|
58
|
+
"skip"
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
],
|
|
62
|
+
"required": true
|
|
63
|
+
},
|
|
64
|
+
"multipart": null,
|
|
65
|
+
"attachments": false,
|
|
66
|
+
"anonymous": false,
|
|
67
|
+
"agents": "all"
|
|
68
|
+
};
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "patch",
|
|
3
|
+
"path": "/api/organizations/{workspaceId}/tasks/{taskId}",
|
|
4
|
+
"command": [
|
|
5
|
+
"tasks",
|
|
6
|
+
"update"
|
|
7
|
+
],
|
|
8
|
+
"summary": "Edit a task.",
|
|
9
|
+
"pathParams": [
|
|
10
|
+
"workspaceId",
|
|
11
|
+
"taskId"
|
|
12
|
+
],
|
|
13
|
+
"query": [],
|
|
14
|
+
"body": {
|
|
15
|
+
"fields": [
|
|
16
|
+
{
|
|
17
|
+
"name": "startBranch",
|
|
18
|
+
"flag": "start-branch",
|
|
19
|
+
"kind": "string",
|
|
20
|
+
"required": false
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "title",
|
|
24
|
+
"flag": "title",
|
|
25
|
+
"kind": "string",
|
|
26
|
+
"required": false
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "model",
|
|
30
|
+
"flag": "model",
|
|
31
|
+
"kind": "string",
|
|
32
|
+
"required": false,
|
|
33
|
+
"description": "A model, or kosuke-free for personal work. Workspace tasks never use Kosuke free."
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "auto",
|
|
37
|
+
"flag": "auto",
|
|
38
|
+
"kind": "boolean",
|
|
39
|
+
"required": false,
|
|
40
|
+
"description": "True puts the session on Auto, from its next Turn. False takes it off; send it with model when choosing a Model. Absent leaves it as it is."
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "kosukeFree",
|
|
44
|
+
"flag": "kosuke-free",
|
|
45
|
+
"kind": "boolean",
|
|
46
|
+
"required": false,
|
|
47
|
+
"description": "true runs the session on Kosuke free, on the serving source's model; false, or picking any other model, takes it off. Refused for a session no member is assigned to and for one the workspace pays for."
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "nextTurn",
|
|
51
|
+
"flag": "next-turn",
|
|
52
|
+
"kind": "json",
|
|
53
|
+
"required": false,
|
|
54
|
+
"description": "Active or Under review only: the Model, Auto, or {kosukeFree:true} in personal scope, the session's next Turn runs on, whether or not a Turn is running now. The next Turn applies it once and clears it. null, or the Model and Auto state the session already has, clears it. Send it on its own."
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "ownerId",
|
|
58
|
+
"flag": "owner-id",
|
|
59
|
+
"kind": "string",
|
|
60
|
+
"required": false
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "priority",
|
|
64
|
+
"flag": "priority",
|
|
65
|
+
"kind": "string",
|
|
66
|
+
"required": false,
|
|
67
|
+
"choices": [
|
|
68
|
+
"urgent",
|
|
69
|
+
"high",
|
|
70
|
+
"medium",
|
|
71
|
+
"low",
|
|
72
|
+
"none"
|
|
73
|
+
]
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"name": "sandboxSize",
|
|
77
|
+
"flag": "sandbox-size",
|
|
78
|
+
"kind": "string",
|
|
79
|
+
"required": false,
|
|
80
|
+
"description": "The session's Sandbox size: small (2 CPU, 4 GB), medium (4 CPU, 8 GB), large (8 CPU, 16 GB) or xlarge (16 CPU, 32 GB). Absent boots the project's size. Fixed once the session starts.",
|
|
81
|
+
"choices": [
|
|
82
|
+
"small",
|
|
83
|
+
"medium",
|
|
84
|
+
"large",
|
|
85
|
+
"xlarge"
|
|
86
|
+
]
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"name": "appStack",
|
|
90
|
+
"flag": "app-stack",
|
|
91
|
+
"kind": "string",
|
|
92
|
+
"required": false,
|
|
93
|
+
"description": "start (default) runs the project's services when the sandbox boots. skip boots setup and the agent only; a member or the session's agent starts the services later with sessions app-stack-start. Fixed once the session starts.",
|
|
94
|
+
"choices": [
|
|
95
|
+
"start",
|
|
96
|
+
"skip"
|
|
97
|
+
]
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"name": "status",
|
|
101
|
+
"flag": "status",
|
|
102
|
+
"kind": "string",
|
|
103
|
+
"required": false,
|
|
104
|
+
"choices": [
|
|
105
|
+
"todo",
|
|
106
|
+
"done",
|
|
107
|
+
"archived"
|
|
108
|
+
]
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"name": "description",
|
|
112
|
+
"flag": "description",
|
|
113
|
+
"kind": "string",
|
|
114
|
+
"required": false
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"name": "ifRevision",
|
|
118
|
+
"flag": "if-revision",
|
|
119
|
+
"kind": "string",
|
|
120
|
+
"required": false
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"name": "hintProjectId",
|
|
124
|
+
"flag": "hint-project",
|
|
125
|
+
"kind": "string",
|
|
126
|
+
"required": false,
|
|
127
|
+
"description": "Files a Todo task with no repository in this Collaboration project without starting it. Send it alone, with ifRevision at most. The same project again succeeds; another answers 409."
|
|
128
|
+
}
|
|
129
|
+
],
|
|
130
|
+
"required": true
|
|
131
|
+
},
|
|
132
|
+
"multipart": null,
|
|
133
|
+
"attachments": false,
|
|
134
|
+
"anonymous": false,
|
|
135
|
+
"agents": "all"
|
|
136
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "delete",
|
|
3
|
+
"path": "/api/user/api-keys/current",
|
|
4
|
+
"command": [
|
|
5
|
+
"user",
|
|
6
|
+
"auth-token",
|
|
7
|
+
"revoke"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Revoke the API key this request is made with, and no other. The Apple Watch and the Meta glasses call it when they sign out. Answers 204.",
|
|
10
|
+
"pathParams": [],
|
|
11
|
+
"query": [],
|
|
12
|
+
"body": null,
|
|
13
|
+
"multipart": null,
|
|
14
|
+
"attachments": false,
|
|
15
|
+
"anonymous": false
|
|
16
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "get",
|
|
3
|
+
"path": "/api/user/crons/{cronId}/artifacts",
|
|
4
|
+
"command": [
|
|
5
|
+
"user",
|
|
6
|
+
"crons",
|
|
7
|
+
"artifacts",
|
|
8
|
+
"list"
|
|
9
|
+
],
|
|
10
|
+
"summary": "List the Artifacts a cron's runs published, across all of its runs, most recently changed first: each one's title, kind and version, with the run and the project it came from, and the total the filters keep. One row per Artifact: the same slug published by two runs is two rows. Rows only: a body or a file url comes from crons runs artifacts get, with the row's runId. The project and kind filters each take several values and keep an Artifact matching any of them.",
|
|
11
|
+
"pathParams": [
|
|
12
|
+
"cronId"
|
|
13
|
+
],
|
|
14
|
+
"query": [
|
|
15
|
+
{
|
|
16
|
+
"name": "projectId",
|
|
17
|
+
"flag": "project",
|
|
18
|
+
"kind": "string",
|
|
19
|
+
"required": false,
|
|
20
|
+
"description": "Only the Artifacts of runs in these projects.",
|
|
21
|
+
"repeated": true
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "kind",
|
|
25
|
+
"flag": "kind",
|
|
26
|
+
"kind": "string",
|
|
27
|
+
"required": false,
|
|
28
|
+
"description": "Only the Artifacts of these kinds.",
|
|
29
|
+
"choices": [
|
|
30
|
+
"markdown",
|
|
31
|
+
"html",
|
|
32
|
+
"image",
|
|
33
|
+
"video"
|
|
34
|
+
],
|
|
35
|
+
"repeated": true
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "page",
|
|
39
|
+
"flag": "page",
|
|
40
|
+
"kind": "integer",
|
|
41
|
+
"required": false,
|
|
42
|
+
"description": "1-based. Default 1."
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "pageSize",
|
|
46
|
+
"flag": "page-size",
|
|
47
|
+
"kind": "integer",
|
|
48
|
+
"required": false,
|
|
49
|
+
"description": "Default 25. Values above 100 are clamped, not rejected."
|
|
50
|
+
}
|
|
51
|
+
],
|
|
52
|
+
"body": null,
|
|
53
|
+
"multipart": null,
|
|
54
|
+
"attachments": false,
|
|
55
|
+
"anonymous": false,
|
|
56
|
+
"agents": [
|
|
57
|
+
"senseiToken"
|
|
58
|
+
]
|
|
59
|
+
};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "post",
|
|
3
|
+
"path": "/api/user/crons",
|
|
4
|
+
"command": [
|
|
5
|
+
"user",
|
|
6
|
+
"crons",
|
|
7
|
+
"create"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Create a Personal Cron, enabled, with you as its owner. A Personal Cron belongs to you and no workspace: with Personal Repositories or Apps it runs in its own sandbox; without, in its Sensei Thread. Repository runs use your own Subscriptions; thread runs use your Subscriptions or Kosuke free when you hold none. Kosuke free cannot run a Cron with repositories yet. The crontab is read in the cron's own timezone, and may not fire more often than every 15 minutes. The model is an encoded id such as anthropic:opus__xhigh; repositories require an explicit Model from any released Provider on one of your Subscriptions. Changing to Free while you hold a Subscription, or to a personal Model without one, is refused. Without repositories, null or left out runs on the thread’s model. From your Sensei it is refused with 409 CRON_ALREADY_EXISTS when you have a Personal Cron by that name.",
|
|
10
|
+
"pathParams": [],
|
|
11
|
+
"query": [],
|
|
12
|
+
"body": {
|
|
13
|
+
"fields": [
|
|
14
|
+
{
|
|
15
|
+
"name": "projectIds",
|
|
16
|
+
"flag": "project-ids",
|
|
17
|
+
"kind": "string",
|
|
18
|
+
"required": false,
|
|
19
|
+
"description": "Personal Repositories and Apps to clone in the run’s sandbox. With none, runs in its Sensei Thread.",
|
|
20
|
+
"repeated": true
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "name",
|
|
24
|
+
"flag": "name",
|
|
25
|
+
"kind": "string",
|
|
26
|
+
"required": true
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "prompt",
|
|
30
|
+
"flag": "prompt",
|
|
31
|
+
"kind": "string",
|
|
32
|
+
"required": true,
|
|
33
|
+
"description": "The prompt each run follows in its sandbox or Sensei Thread."
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "cronExpression",
|
|
37
|
+
"flag": "cron-expression",
|
|
38
|
+
"kind": "string",
|
|
39
|
+
"required": true,
|
|
40
|
+
"description": "Five fields: minute, hour, day of month, month, day of week, read in the cron's time zone. At most one fire every 15 minutes."
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "timezone",
|
|
44
|
+
"flag": "timezone",
|
|
45
|
+
"kind": "string",
|
|
46
|
+
"required": true,
|
|
47
|
+
"description": "The IANA zone the crontab is read in, such as Europe/Rome."
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "model",
|
|
51
|
+
"flag": "model",
|
|
52
|
+
"kind": "json",
|
|
53
|
+
"required": false,
|
|
54
|
+
"description": "An encoded model id such as anthropic:opus__xhigh, one your Sensei runs on your own Subscription, or kosuke-free for Auto - Kosuke free in a thread Cron while you hold no Subscription. With repositories, an explicit Model of a released provider your Subscription runs is required. Without repositories, null runs on the thread's model."
|
|
55
|
+
}
|
|
56
|
+
],
|
|
57
|
+
"required": true
|
|
58
|
+
},
|
|
59
|
+
"multipart": null,
|
|
60
|
+
"attachments": false,
|
|
61
|
+
"anonymous": false,
|
|
62
|
+
"agents": [
|
|
63
|
+
"senseiToken"
|
|
64
|
+
]
|
|
65
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "get",
|
|
3
|
+
"path": "/api/user/crons/{cronId}",
|
|
4
|
+
"command": [
|
|
5
|
+
"user",
|
|
6
|
+
"crons",
|
|
7
|
+
"get"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Read one of your Personal Crons: its prompt, schedule, timezone, model, when it runs next, its thread, its last run status, and how many runs in a row failed: five disable it. A Personal Cron belongs to you and no workspace: with Personal Repositories or Apps it runs in its own sandbox; without, in its Sensei Thread. Both use your own Subscription.",
|
|
10
|
+
"pathParams": [
|
|
11
|
+
"cronId"
|
|
12
|
+
],
|
|
13
|
+
"query": [],
|
|
14
|
+
"body": null,
|
|
15
|
+
"multipart": null,
|
|
16
|
+
"attachments": false,
|
|
17
|
+
"anonymous": false,
|
|
18
|
+
"agents": [
|
|
19
|
+
"senseiToken"
|
|
20
|
+
]
|
|
21
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "get",
|
|
3
|
+
"path": "/api/user/crons",
|
|
4
|
+
"command": [
|
|
5
|
+
"user",
|
|
6
|
+
"crons",
|
|
7
|
+
"list"
|
|
8
|
+
],
|
|
9
|
+
"summary": "List your Personal Crons, newest first, with each one's thread and last run status. A Personal Cron belongs to you and no workspace: with Personal Repositories or Apps it runs in its own sandbox; without, in its Sensei Thread. Repository runs use your own Subscriptions; thread runs use your Subscriptions or Kosuke free when you hold none. Among agents, only your Sensei reaches them.",
|
|
10
|
+
"pathParams": [],
|
|
11
|
+
"query": [
|
|
12
|
+
{
|
|
13
|
+
"name": "search",
|
|
14
|
+
"flag": "search",
|
|
15
|
+
"kind": "string",
|
|
16
|
+
"required": false,
|
|
17
|
+
"description": "Case-insensitive match on the name or the prompt."
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "page",
|
|
21
|
+
"flag": "page",
|
|
22
|
+
"kind": "integer",
|
|
23
|
+
"required": false,
|
|
24
|
+
"description": "1-based. Default 1."
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "pageSize",
|
|
28
|
+
"flag": "page-size",
|
|
29
|
+
"kind": "integer",
|
|
30
|
+
"required": false,
|
|
31
|
+
"description": "Default 25. Values above 100 are clamped, not rejected."
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
"body": null,
|
|
35
|
+
"multipart": null,
|
|
36
|
+
"attachments": false,
|
|
37
|
+
"anonymous": false,
|
|
38
|
+
"agents": [
|
|
39
|
+
"senseiToken"
|
|
40
|
+
]
|
|
41
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "post",
|
|
3
|
+
"path": "/api/user/crons/{cronId}/run",
|
|
4
|
+
"command": [
|
|
5
|
+
"user",
|
|
6
|
+
"crons",
|
|
7
|
+
"run"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Fire one of your Personal Crons once now, on your own Subscription: with repositories it runs in its own sandbox; without, in its Sensei Thread. Resume a paused Cron first. Refused for No projects left until a save picks a repository. Answers with runs: [{ runId, status, projectIds, projectId }]. Status may be queued while the fire is pending.",
|
|
10
|
+
"pathParams": [
|
|
11
|
+
"cronId"
|
|
12
|
+
],
|
|
13
|
+
"query": [],
|
|
14
|
+
"body": null,
|
|
15
|
+
"multipart": null,
|
|
16
|
+
"attachments": false,
|
|
17
|
+
"anonymous": false,
|
|
18
|
+
"agents": [
|
|
19
|
+
"senseiToken"
|
|
20
|
+
]
|
|
21
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "get",
|
|
3
|
+
"path": "/api/user/crons/{cronId}/runs/{runId}/artifacts/{artifactId}",
|
|
4
|
+
"command": [
|
|
5
|
+
"user",
|
|
6
|
+
"crons",
|
|
7
|
+
"runs",
|
|
8
|
+
"artifacts",
|
|
9
|
+
"get"
|
|
10
|
+
],
|
|
11
|
+
"summary": "Read one Artifact of a run of a cron, by its id or its slug: a markdown or html one carries its body, an image or a video a presigned url, its media type and its size.",
|
|
12
|
+
"pathParams": [
|
|
13
|
+
"cronId",
|
|
14
|
+
"runId",
|
|
15
|
+
"artifactId"
|
|
16
|
+
],
|
|
17
|
+
"query": [],
|
|
18
|
+
"body": null,
|
|
19
|
+
"multipart": null,
|
|
20
|
+
"attachments": false,
|
|
21
|
+
"anonymous": false,
|
|
22
|
+
"agents": [
|
|
23
|
+
"senseiToken"
|
|
24
|
+
]
|
|
25
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "get",
|
|
3
|
+
"path": "/api/user/crons/{cronId}/runs/{runId}/artifacts",
|
|
4
|
+
"command": [
|
|
5
|
+
"user",
|
|
6
|
+
"crons",
|
|
7
|
+
"runs",
|
|
8
|
+
"artifacts",
|
|
9
|
+
"list"
|
|
10
|
+
],
|
|
11
|
+
"summary": "List the Artifacts a run of a cron published, most recently changed first. Rows only: a body or a file url comes from reading one.",
|
|
12
|
+
"pathParams": [
|
|
13
|
+
"cronId",
|
|
14
|
+
"runId"
|
|
15
|
+
],
|
|
16
|
+
"query": [],
|
|
17
|
+
"body": null,
|
|
18
|
+
"multipart": null,
|
|
19
|
+
"attachments": false,
|
|
20
|
+
"anonymous": false,
|
|
21
|
+
"agents": [
|
|
22
|
+
"senseiToken"
|
|
23
|
+
]
|
|
24
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "get",
|
|
3
|
+
"path": "/api/user/crons/{cronId}/runs/{runId}",
|
|
4
|
+
"command": [
|
|
5
|
+
"user",
|
|
6
|
+
"crons",
|
|
7
|
+
"runs",
|
|
8
|
+
"get"
|
|
9
|
+
],
|
|
10
|
+
"summary": "Read one Personal Cron run: its kind, status, Model, report, repositories and filed sessions. A sandbox run has its Cron Agent transcript and Artifacts and threadId null. A thread run names the Sensei Thread holding its Turn.",
|
|
11
|
+
"pathParams": [
|
|
12
|
+
"cronId",
|
|
13
|
+
"runId"
|
|
14
|
+
],
|
|
15
|
+
"query": [],
|
|
16
|
+
"body": null,
|
|
17
|
+
"multipart": null,
|
|
18
|
+
"attachments": false,
|
|
19
|
+
"anonymous": false,
|
|
20
|
+
"agents": [
|
|
21
|
+
"senseiToken"
|
|
22
|
+
]
|
|
23
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "get",
|
|
3
|
+
"path": "/api/user/crons/{cronId}/runs",
|
|
4
|
+
"command": [
|
|
5
|
+
"user",
|
|
6
|
+
"crons",
|
|
7
|
+
"runs",
|
|
8
|
+
"list"
|
|
9
|
+
],
|
|
10
|
+
"summary": "List the runs of one of your Personal Crons, newest first: each one's status, the first line of its report or its error, and whether it ran in a sandbox or Sensei Thread, with the total and failed counts of the runs the filter keeps. The status filter takes several values and keeps a run matching any of them.",
|
|
11
|
+
"pathParams": [
|
|
12
|
+
"cronId"
|
|
13
|
+
],
|
|
14
|
+
"query": [
|
|
15
|
+
{
|
|
16
|
+
"name": "status",
|
|
17
|
+
"flag": "status",
|
|
18
|
+
"kind": "string",
|
|
19
|
+
"required": false,
|
|
20
|
+
"description": "Only the runs with these statuses.",
|
|
21
|
+
"choices": [
|
|
22
|
+
"running",
|
|
23
|
+
"succeeded",
|
|
24
|
+
"failed",
|
|
25
|
+
"cancelled",
|
|
26
|
+
"skipped"
|
|
27
|
+
],
|
|
28
|
+
"repeated": true
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "page",
|
|
32
|
+
"flag": "page",
|
|
33
|
+
"kind": "integer",
|
|
34
|
+
"required": false,
|
|
35
|
+
"description": "1-based. Default 1."
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "pageSize",
|
|
39
|
+
"flag": "page-size",
|
|
40
|
+
"kind": "integer",
|
|
41
|
+
"required": false,
|
|
42
|
+
"description": "Default 25. Values above 100 are clamped, not rejected."
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"body": null,
|
|
46
|
+
"multipart": null,
|
|
47
|
+
"attachments": false,
|
|
48
|
+
"anonymous": false,
|
|
49
|
+
"agents": [
|
|
50
|
+
"senseiToken"
|
|
51
|
+
]
|
|
52
|
+
};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "patch",
|
|
3
|
+
"path": "/api/user/crons/{cronId}",
|
|
4
|
+
"command": [
|
|
5
|
+
"user",
|
|
6
|
+
"crons",
|
|
7
|
+
"update"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Change one of your Personal Crons; only the fields sent change. Any edit sets the cron's failure count back to zero. enabled=false pauses the cron and enabled=true resumes it. No projects left stays until a save picks at least one repository, and Resume is refused meanwhile. Changing repositories rechecks the Model: a sandbox requires an explicit Model from any released Provider on one of your Subscriptions; Kosuke free cannot run it yet. Changing to Free while you hold a Subscription, or to a personal Model without one, is refused. Re-sending the unchanged stored Model is accepted. Without repositories, model=null goes back to the thread’s model. The crontab is read in the cron's own timezone.",
|
|
10
|
+
"pathParams": [
|
|
11
|
+
"cronId"
|
|
12
|
+
],
|
|
13
|
+
"query": [],
|
|
14
|
+
"body": {
|
|
15
|
+
"fields": [
|
|
16
|
+
{
|
|
17
|
+
"name": "projectIds",
|
|
18
|
+
"flag": "project-ids",
|
|
19
|
+
"kind": "string",
|
|
20
|
+
"required": false,
|
|
21
|
+
"description": "Personal Repositories and Apps to clone in the run’s sandbox. With none, runs in its Sensei Thread.",
|
|
22
|
+
"repeated": true
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "name",
|
|
26
|
+
"flag": "name",
|
|
27
|
+
"kind": "string",
|
|
28
|
+
"required": false
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "prompt",
|
|
32
|
+
"flag": "prompt",
|
|
33
|
+
"kind": "string",
|
|
34
|
+
"required": false,
|
|
35
|
+
"description": "The prompt each run follows in its sandbox or Sensei Thread."
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "cronExpression",
|
|
39
|
+
"flag": "cron-expression",
|
|
40
|
+
"kind": "string",
|
|
41
|
+
"required": false,
|
|
42
|
+
"description": "Five fields: minute, hour, day of month, month, day of week, read in the cron's time zone. At most one fire every 15 minutes."
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "timezone",
|
|
46
|
+
"flag": "timezone",
|
|
47
|
+
"kind": "string",
|
|
48
|
+
"required": false,
|
|
49
|
+
"description": "The IANA zone the crontab is read in, such as Europe/Rome."
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "model",
|
|
53
|
+
"flag": "model",
|
|
54
|
+
"kind": "json",
|
|
55
|
+
"required": false,
|
|
56
|
+
"description": "An encoded model id such as anthropic:opus__xhigh, one your Sensei runs on your own Subscription, or kosuke-free for Auto - Kosuke free in a thread Cron while you hold no Subscription. With repositories, an explicit Model of a released provider your Subscription runs is required. Without repositories, null runs on the thread's model."
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"name": "enabled",
|
|
60
|
+
"flag": "enabled",
|
|
61
|
+
"kind": "boolean",
|
|
62
|
+
"required": false
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
"required": true
|
|
66
|
+
},
|
|
67
|
+
"multipart": null,
|
|
68
|
+
"attachments": false,
|
|
69
|
+
"anonymous": false,
|
|
70
|
+
"agents": [
|
|
71
|
+
"senseiToken"
|
|
72
|
+
]
|
|
73
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "delete",
|
|
3
|
+
"path": "/api/user/files/{fileId}",
|
|
4
|
+
"command": [
|
|
5
|
+
"user",
|
|
6
|
+
"files",
|
|
7
|
+
"delete"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Delete a file of your personal Files, or a folder and every item inside it. Agents cannot delete Files.",
|
|
10
|
+
"pathParams": [
|
|
11
|
+
"fileId"
|
|
12
|
+
],
|
|
13
|
+
"query": [],
|
|
14
|
+
"body": null,
|
|
15
|
+
"multipart": null,
|
|
16
|
+
"attachments": false,
|
|
17
|
+
"anonymous": false
|
|
18
|
+
};
|