@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,28 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "get",
|
|
3
|
+
"path": "/api/projects/{projectId}/chat-sessions/{sessionId}/preview/files/content",
|
|
4
|
+
"command": [
|
|
5
|
+
"sessions",
|
|
6
|
+
"files",
|
|
7
|
+
"get"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Read one file from the session's sandbox.",
|
|
10
|
+
"pathParams": [
|
|
11
|
+
"projectId",
|
|
12
|
+
"sessionId"
|
|
13
|
+
],
|
|
14
|
+
"query": [
|
|
15
|
+
{
|
|
16
|
+
"name": "path",
|
|
17
|
+
"flag": "path",
|
|
18
|
+
"kind": "string",
|
|
19
|
+
"required": true,
|
|
20
|
+
"description": "Repository-relative path of the file to read."
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"body": null,
|
|
24
|
+
"multipart": null,
|
|
25
|
+
"attachments": false,
|
|
26
|
+
"anonymous": false,
|
|
27
|
+
"agents": "all"
|
|
28
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "get",
|
|
3
|
+
"path": "/api/projects/{projectId}/chat-sessions/{sessionId}/preview/files",
|
|
4
|
+
"command": [
|
|
5
|
+
"sessions",
|
|
6
|
+
"files",
|
|
7
|
+
"list"
|
|
8
|
+
],
|
|
9
|
+
"summary": "List the files in the session's sandbox. Empty when the sandbox is not running.",
|
|
10
|
+
"pathParams": [
|
|
11
|
+
"projectId",
|
|
12
|
+
"sessionId"
|
|
13
|
+
],
|
|
14
|
+
"query": [],
|
|
15
|
+
"body": null,
|
|
16
|
+
"multipart": null,
|
|
17
|
+
"attachments": false,
|
|
18
|
+
"anonymous": false,
|
|
19
|
+
"agents": "all"
|
|
20
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "put",
|
|
3
|
+
"path": "/api/projects/{projectId}/chat-sessions/{sessionId}/preview/files/content",
|
|
4
|
+
"command": [
|
|
5
|
+
"sessions",
|
|
6
|
+
"files",
|
|
7
|
+
"write"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Write one file in the session's sandbox. Refused while a turn is running, and for binary content.",
|
|
10
|
+
"pathParams": [
|
|
11
|
+
"projectId",
|
|
12
|
+
"sessionId"
|
|
13
|
+
],
|
|
14
|
+
"query": [],
|
|
15
|
+
"body": {
|
|
16
|
+
"fields": [
|
|
17
|
+
{
|
|
18
|
+
"name": "path",
|
|
19
|
+
"flag": "path",
|
|
20
|
+
"kind": "string",
|
|
21
|
+
"required": true
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "content",
|
|
25
|
+
"flag": "content",
|
|
26
|
+
"kind": "string",
|
|
27
|
+
"required": true
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "clientId",
|
|
31
|
+
"flag": "client-id",
|
|
32
|
+
"kind": "string",
|
|
33
|
+
"required": true
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"required": true
|
|
37
|
+
},
|
|
38
|
+
"multipart": null,
|
|
39
|
+
"attachments": false,
|
|
40
|
+
"anonymous": false,
|
|
41
|
+
"agents": "all"
|
|
42
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "get",
|
|
3
|
+
"path": "/api/projects/{projectId}/chat-sessions/{sessionId}",
|
|
4
|
+
"command": [
|
|
5
|
+
"sessions",
|
|
6
|
+
"get"
|
|
7
|
+
],
|
|
8
|
+
"summary": "Read one chat session with its URL, latest job and pull request. A Backlog session also carries its promptRevision, which `sessions edit-prompt --if-revision` and `sensei tickets merge` name for each ticket an edit was written from. Each session carries waitingForDeploy: true while it waits for the Deploy to finish, false once the Deploy ends, before its sandbox starts.",
|
|
9
|
+
"pathParams": [
|
|
10
|
+
"projectId",
|
|
11
|
+
"sessionId"
|
|
12
|
+
],
|
|
13
|
+
"query": [],
|
|
14
|
+
"body": null,
|
|
15
|
+
"multipart": null,
|
|
16
|
+
"attachments": false,
|
|
17
|
+
"anonymous": false,
|
|
18
|
+
"agents": "all"
|
|
19
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "post",
|
|
3
|
+
"path": "/api/projects/{projectId}/chat-sessions/{sessionId}/preview/git/commit-message",
|
|
4
|
+
"command": [
|
|
5
|
+
"sessions",
|
|
6
|
+
"git",
|
|
7
|
+
"commit-message"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Draft a commit message for the uncommitted changes. Needs a running sandbox.",
|
|
10
|
+
"pathParams": [
|
|
11
|
+
"projectId",
|
|
12
|
+
"sessionId"
|
|
13
|
+
],
|
|
14
|
+
"query": [],
|
|
15
|
+
"body": null,
|
|
16
|
+
"multipart": null,
|
|
17
|
+
"attachments": false,
|
|
18
|
+
"anonymous": false,
|
|
19
|
+
"agents": "all"
|
|
20
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "post",
|
|
3
|
+
"path": "/api/projects/{projectId}/chat-sessions/{sessionId}/preview/git/commit",
|
|
4
|
+
"command": [
|
|
5
|
+
"sessions",
|
|
6
|
+
"git",
|
|
7
|
+
"commit"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Commit the uncommitted changes in the sandbox. Refused while a turn is running.",
|
|
10
|
+
"pathParams": [
|
|
11
|
+
"projectId",
|
|
12
|
+
"sessionId"
|
|
13
|
+
],
|
|
14
|
+
"query": [],
|
|
15
|
+
"body": {
|
|
16
|
+
"fields": [
|
|
17
|
+
{
|
|
18
|
+
"name": "message",
|
|
19
|
+
"flag": "message",
|
|
20
|
+
"kind": "string",
|
|
21
|
+
"required": true
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"required": true
|
|
25
|
+
},
|
|
26
|
+
"multipart": null,
|
|
27
|
+
"attachments": false,
|
|
28
|
+
"anonymous": false,
|
|
29
|
+
"agents": "all"
|
|
30
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "post",
|
|
3
|
+
"path": "/api/projects/{projectId}/chat-sessions/{sessionId}/preview/git/push",
|
|
4
|
+
"command": [
|
|
5
|
+
"sessions",
|
|
6
|
+
"git",
|
|
7
|
+
"push"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Push the session's branch to GitHub. Refused while a turn is running.",
|
|
10
|
+
"pathParams": [
|
|
11
|
+
"projectId",
|
|
12
|
+
"sessionId"
|
|
13
|
+
],
|
|
14
|
+
"query": [],
|
|
15
|
+
"body": null,
|
|
16
|
+
"multipart": null,
|
|
17
|
+
"attachments": false,
|
|
18
|
+
"anonymous": false,
|
|
19
|
+
"agents": "all"
|
|
20
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "get",
|
|
3
|
+
"path": "/api/projects/{projectId}/chat-sessions/{sessionId}/preview/git-state",
|
|
4
|
+
"command": [
|
|
5
|
+
"sessions",
|
|
6
|
+
"git",
|
|
7
|
+
"state"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Read whether the session's sandbox has uncommitted changes, unpushed commits, or commits ahead of its base branch.",
|
|
10
|
+
"pathParams": [
|
|
11
|
+
"projectId",
|
|
12
|
+
"sessionId"
|
|
13
|
+
],
|
|
14
|
+
"query": [],
|
|
15
|
+
"body": null,
|
|
16
|
+
"multipart": null,
|
|
17
|
+
"attachments": false,
|
|
18
|
+
"anonymous": false,
|
|
19
|
+
"agents": "all"
|
|
20
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "post",
|
|
3
|
+
"path": "/api/projects/{projectId}/chat-sessions/{sessionId}/go-ahead/clear",
|
|
4
|
+
"command": [
|
|
5
|
+
"sessions",
|
|
6
|
+
"go-ahead",
|
|
7
|
+
"clear"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Take the session's go-ahead away, so neither Kosuke nor a Batch merges its pull request until it is given again. The callers of `sessions go-ahead set`.",
|
|
10
|
+
"pathParams": [
|
|
11
|
+
"projectId",
|
|
12
|
+
"sessionId"
|
|
13
|
+
],
|
|
14
|
+
"query": [],
|
|
15
|
+
"body": null,
|
|
16
|
+
"multipart": null,
|
|
17
|
+
"attachments": false,
|
|
18
|
+
"anonymous": false,
|
|
19
|
+
"agents": [
|
|
20
|
+
"senseiToken"
|
|
21
|
+
]
|
|
22
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "put",
|
|
3
|
+
"path": "/api/projects/{projectId}/chat-sessions/{sessionId}/go-ahead",
|
|
4
|
+
"command": [
|
|
5
|
+
"sessions",
|
|
6
|
+
"go-ahead",
|
|
7
|
+
"set"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Give the session's pull request the go-ahead to merge, as the session's member, on one head: goAheadSha, goAheadBy, goAheadAt and goAheadMerges. A push to another head takes it away. With `merge`, Kosuke merges it on its own; without, it waits for whoever merges it, and Batch Merging is asked to look. Members and their Sensei only.",
|
|
10
|
+
"pathParams": [
|
|
11
|
+
"projectId",
|
|
12
|
+
"sessionId"
|
|
13
|
+
],
|
|
14
|
+
"query": [],
|
|
15
|
+
"body": {
|
|
16
|
+
"fields": [
|
|
17
|
+
{
|
|
18
|
+
"name": "sha",
|
|
19
|
+
"flag": "sha",
|
|
20
|
+
"kind": "string",
|
|
21
|
+
"required": false,
|
|
22
|
+
"description": "The head commit the go-ahead is given on. Defaults to the head the session last read from GitHub."
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "merge",
|
|
26
|
+
"flag": "merge",
|
|
27
|
+
"kind": "boolean",
|
|
28
|
+
"required": false,
|
|
29
|
+
"description": "Kosuke merges it on its own, now or once GitHub allows. Without it the pull request is left for whoever merges it, such as the next Batch."
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"required": true
|
|
33
|
+
},
|
|
34
|
+
"multipart": null,
|
|
35
|
+
"attachments": false,
|
|
36
|
+
"anonymous": false,
|
|
37
|
+
"agents": [
|
|
38
|
+
"senseiToken"
|
|
39
|
+
]
|
|
40
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "post",
|
|
3
|
+
"path": "/api/projects/{projectId}/chat-sessions/{sessionId}/jobs/chat/{jobId}/cancel",
|
|
4
|
+
"command": [
|
|
5
|
+
"sessions",
|
|
6
|
+
"jobs",
|
|
7
|
+
"cancel"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Stop a running turn. Steers it had not taken go back to the top of Up next, which pauses.",
|
|
10
|
+
"pathParams": [
|
|
11
|
+
"projectId",
|
|
12
|
+
"sessionId",
|
|
13
|
+
"jobId"
|
|
14
|
+
],
|
|
15
|
+
"query": [],
|
|
16
|
+
"body": null,
|
|
17
|
+
"multipart": null,
|
|
18
|
+
"attachments": false,
|
|
19
|
+
"anonymous": false,
|
|
20
|
+
"agents": "all"
|
|
21
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "get",
|
|
3
|
+
"path": "/api/projects/{projectId}/chat-sessions/{sessionId}/jobs/chat/{jobId}",
|
|
4
|
+
"command": [
|
|
5
|
+
"sessions",
|
|
6
|
+
"jobs",
|
|
7
|
+
"get"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Read one turn's job: its status, error and timestamps.",
|
|
10
|
+
"pathParams": [
|
|
11
|
+
"projectId",
|
|
12
|
+
"sessionId",
|
|
13
|
+
"jobId"
|
|
14
|
+
],
|
|
15
|
+
"query": [],
|
|
16
|
+
"body": null,
|
|
17
|
+
"multipart": null,
|
|
18
|
+
"attachments": false,
|
|
19
|
+
"anonymous": false,
|
|
20
|
+
"agents": "all"
|
|
21
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "get",
|
|
3
|
+
"path": "/api/projects/{projectId}/chat-sessions/{sessionId}/jobs/chat",
|
|
4
|
+
"command": [
|
|
5
|
+
"sessions",
|
|
6
|
+
"jobs",
|
|
7
|
+
"list"
|
|
8
|
+
],
|
|
9
|
+
"summary": "List a chat session's jobs, one per Turn, newest first: each one's status, error and timestamps, with the total in meta.pagination.",
|
|
10
|
+
"pathParams": [
|
|
11
|
+
"projectId",
|
|
12
|
+
"sessionId"
|
|
13
|
+
],
|
|
14
|
+
"query": [
|
|
15
|
+
{
|
|
16
|
+
"name": "page",
|
|
17
|
+
"flag": "page",
|
|
18
|
+
"kind": "integer",
|
|
19
|
+
"required": false,
|
|
20
|
+
"description": "1-based. Default 1."
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "pageSize",
|
|
24
|
+
"flag": "page-size",
|
|
25
|
+
"kind": "integer",
|
|
26
|
+
"required": false,
|
|
27
|
+
"description": "Default 25. Values above 100 are clamped, not rejected."
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"body": null,
|
|
31
|
+
"multipart": null,
|
|
32
|
+
"attachments": false,
|
|
33
|
+
"anonymous": false,
|
|
34
|
+
"agents": "all"
|
|
35
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "patch",
|
|
3
|
+
"path": "/api/projects/{projectId}/chat-sessions/{sessionId}/labels",
|
|
4
|
+
"command": [
|
|
5
|
+
"sessions",
|
|
6
|
+
"labels",
|
|
7
|
+
"edit"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Add and remove Session Labels, leaving the session's other labels as they are. color sets the initial project color only for newly created labels in add; existing label colors stay unchanged. A session token nobody stands behind may edit only its own session. Session Labels stay in Kosuke: none is written to the pull request.",
|
|
10
|
+
"pathParams": [
|
|
11
|
+
"projectId",
|
|
12
|
+
"sessionId"
|
|
13
|
+
],
|
|
14
|
+
"query": [],
|
|
15
|
+
"body": {
|
|
16
|
+
"fields": [
|
|
17
|
+
{
|
|
18
|
+
"name": "add",
|
|
19
|
+
"flag": "add",
|
|
20
|
+
"kind": "json",
|
|
21
|
+
"required": false,
|
|
22
|
+
"description": "JSON array of labels the session gains. A name in both add and remove is added."
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "remove",
|
|
26
|
+
"flag": "remove",
|
|
27
|
+
"kind": "json",
|
|
28
|
+
"required": false,
|
|
29
|
+
"description": "JSON array of labels the session loses. A name it does not carry is ignored."
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "color",
|
|
33
|
+
"flag": "color",
|
|
34
|
+
"kind": "string",
|
|
35
|
+
"required": false,
|
|
36
|
+
"description": "Six hex digits, with or without a leading #. Sets the initial project color only for newly created labels in add. Existing label colors stay unchanged."
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"required": true
|
|
40
|
+
},
|
|
41
|
+
"multipart": null,
|
|
42
|
+
"attachments": false,
|
|
43
|
+
"anonymous": false,
|
|
44
|
+
"agents": "all"
|
|
45
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "put",
|
|
3
|
+
"path": "/api/projects/{projectId}/chat-sessions/{sessionId}/labels",
|
|
4
|
+
"command": [
|
|
5
|
+
"sessions",
|
|
6
|
+
"labels",
|
|
7
|
+
"set"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Replace the session's Session Labels. New names join the project's labels. Session Labels stay in Kosuke: none is written to the pull request.",
|
|
10
|
+
"pathParams": [
|
|
11
|
+
"projectId",
|
|
12
|
+
"sessionId"
|
|
13
|
+
],
|
|
14
|
+
"query": [],
|
|
15
|
+
"body": {
|
|
16
|
+
"fields": [
|
|
17
|
+
{
|
|
18
|
+
"name": "labels",
|
|
19
|
+
"flag": "labels",
|
|
20
|
+
"kind": "json",
|
|
21
|
+
"required": true,
|
|
22
|
+
"description": "JSON array of the labels the session keeps, replacing the ones it has. Up to 20, each up to 50 characters, stored lowercase. [] removes them all."
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "expectedLabels",
|
|
26
|
+
"flag": "expected-labels",
|
|
27
|
+
"kind": "json",
|
|
28
|
+
"required": false,
|
|
29
|
+
"description": "JSON array of the labels the caller last saw on the session. When given, the edit fails with 409 if the session carries different labels by now, or if a label it adds is no longer in the project's labels and is not listed in created."
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "created",
|
|
33
|
+
"flag": "created",
|
|
34
|
+
"kind": "json",
|
|
35
|
+
"required": false,
|
|
36
|
+
"description": "JSON array of the labels the caller means to create. With expectedLabels, only these may join the project's labels; without expectedLabels, every new name joins them."
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"required": true
|
|
40
|
+
},
|
|
41
|
+
"multipart": null,
|
|
42
|
+
"attachments": false,
|
|
43
|
+
"anonymous": false,
|
|
44
|
+
"agents": "all"
|
|
45
|
+
};
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "get",
|
|
3
|
+
"path": "/api/projects/{projectId}/chat-sessions",
|
|
4
|
+
"command": [
|
|
5
|
+
"sessions",
|
|
6
|
+
"list"
|
|
7
|
+
],
|
|
8
|
+
"summary": "List chat sessions. Without limit the whole list comes back as data; with it, one page plus meta.pagination. status, priorities and owners are comma-separated strings. Each session carries waitingForDeploy: true while it waits for the Deploy to finish, false once the Deploy ends, before its sandbox starts.",
|
|
9
|
+
"pathParams": [
|
|
10
|
+
"projectId"
|
|
11
|
+
],
|
|
12
|
+
"query": [
|
|
13
|
+
{
|
|
14
|
+
"name": "status",
|
|
15
|
+
"flag": "status",
|
|
16
|
+
"kind": "string",
|
|
17
|
+
"required": false,
|
|
18
|
+
"description": "Comma-separated statuses to include (backlog, active, under-review, archived, completed). Any other value is rejected."
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "labels",
|
|
22
|
+
"flag": "labels",
|
|
23
|
+
"kind": "string",
|
|
24
|
+
"required": false,
|
|
25
|
+
"description": "JSON array of session labels; matches any selected label."
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "priorities",
|
|
29
|
+
"flag": "priorities",
|
|
30
|
+
"kind": "string",
|
|
31
|
+
"required": false,
|
|
32
|
+
"description": "Comma-separated priorities to include (urgent, high, medium, low, none)."
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "search",
|
|
36
|
+
"flag": "search",
|
|
37
|
+
"kind": "string",
|
|
38
|
+
"required": false,
|
|
39
|
+
"description": "Case-insensitive match on the title."
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "limit",
|
|
43
|
+
"flag": "limit",
|
|
44
|
+
"kind": "integer",
|
|
45
|
+
"required": false,
|
|
46
|
+
"description": "Page size. Values above 100 are clamped, not rejected. When set, the response carries meta.pagination."
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "cursor",
|
|
50
|
+
"flag": "cursor",
|
|
51
|
+
"kind": "string",
|
|
52
|
+
"required": false,
|
|
53
|
+
"description": "Opaque cursor from a previous page (meta.pagination.nextCursor). Requires limit, and must come from a page with the same sort and order."
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "sortBy",
|
|
57
|
+
"flag": "sort-by",
|
|
58
|
+
"kind": "string",
|
|
59
|
+
"required": false,
|
|
60
|
+
"description": "What to order by: 'activity' (last activity, the default), 'created' (creation time) or 'priority' (priority, then creation time). Ties fall to the session id.",
|
|
61
|
+
"choices": [
|
|
62
|
+
"activity",
|
|
63
|
+
"created",
|
|
64
|
+
"priority"
|
|
65
|
+
]
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "sortOrder",
|
|
69
|
+
"flag": "sort-order",
|
|
70
|
+
"kind": "string",
|
|
71
|
+
"required": false,
|
|
72
|
+
"description": "Direction of sortBy. Defaults to 'desc' (newest first) for activity and created, and to 'asc' (urgent first, then oldest created) for priority, where 'desc' reverses that whole order.",
|
|
73
|
+
"choices": [
|
|
74
|
+
"asc",
|
|
75
|
+
"desc"
|
|
76
|
+
]
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"name": "sortByPriority",
|
|
80
|
+
"flag": "sort-by-priority",
|
|
81
|
+
"kind": "boolean",
|
|
82
|
+
"required": false,
|
|
83
|
+
"description": "Same as sortBy=priority, kept for older clients. Rejected beside another sortBy."
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "excludeArchived",
|
|
87
|
+
"flag": "exclude-archived",
|
|
88
|
+
"kind": "boolean",
|
|
89
|
+
"required": false,
|
|
90
|
+
"description": "Drop archived sessions. Ignored when status is set."
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"name": "excludeBacklog",
|
|
94
|
+
"flag": "exclude-backlog",
|
|
95
|
+
"kind": "boolean",
|
|
96
|
+
"required": false,
|
|
97
|
+
"description": "Drop backlog sessions."
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"name": "owners",
|
|
101
|
+
"flag": "owners",
|
|
102
|
+
"kind": "string",
|
|
103
|
+
"required": false,
|
|
104
|
+
"description": "Comma-separated owner user ids, plus the sentinels 'none' (unowned), 'any' (owned by anyone) and 'me' (you)."
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"name": "createdBy",
|
|
108
|
+
"flag": "created-by",
|
|
109
|
+
"kind": "string",
|
|
110
|
+
"required": false,
|
|
111
|
+
"description": "'agent' keeps the sessions a chat agent filed; 'member' keeps every other one.",
|
|
112
|
+
"choices": [
|
|
113
|
+
"agent",
|
|
114
|
+
"member"
|
|
115
|
+
]
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"name": "includePrompt",
|
|
119
|
+
"flag": "include-prompt",
|
|
120
|
+
"kind": "boolean",
|
|
121
|
+
"required": false,
|
|
122
|
+
"description": "Add prompt to each session: its first user message, cut to the first 4,000 characters (code points), or null when it has none. promptTruncated says whether it was cut."
|
|
123
|
+
}
|
|
124
|
+
],
|
|
125
|
+
"body": null,
|
|
126
|
+
"multipart": null,
|
|
127
|
+
"attachments": false,
|
|
128
|
+
"anonymous": false,
|
|
129
|
+
"agents": "all"
|
|
130
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "post",
|
|
3
|
+
"path": "/api/projects/{projectId}/chat-sessions/{sessionId}/read",
|
|
4
|
+
"command": [
|
|
5
|
+
"sessions",
|
|
6
|
+
"mark-read"
|
|
7
|
+
],
|
|
8
|
+
"summary": "Mark a chat session read, clearing its unread marker, as opening it in the app does. The assignee clears their marker; any member clears the shared marker of a session booked to Kosuke.",
|
|
9
|
+
"pathParams": [
|
|
10
|
+
"projectId",
|
|
11
|
+
"sessionId"
|
|
12
|
+
],
|
|
13
|
+
"query": [],
|
|
14
|
+
"body": null,
|
|
15
|
+
"multipart": null,
|
|
16
|
+
"attachments": false,
|
|
17
|
+
"anonymous": false,
|
|
18
|
+
"agents": "all"
|
|
19
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "get",
|
|
3
|
+
"path": "/api/projects/{projectId}/chat-sessions/{sessionId}/messages/{messageId}",
|
|
4
|
+
"command": [
|
|
5
|
+
"sessions",
|
|
6
|
+
"message"
|
|
7
|
+
],
|
|
8
|
+
"summary": "Read one message of a chat session with every block as recorded: whole tool inputs, results and subagent output, unless agentOutput is compact (subagent output cut) or summary (blocks as sessions messages returns them).",
|
|
9
|
+
"pathParams": [
|
|
10
|
+
"projectId",
|
|
11
|
+
"sessionId",
|
|
12
|
+
"messageId"
|
|
13
|
+
],
|
|
14
|
+
"query": [
|
|
15
|
+
{
|
|
16
|
+
"name": "agentOutput",
|
|
17
|
+
"flag": "agent-output",
|
|
18
|
+
"kind": "string",
|
|
19
|
+
"required": false,
|
|
20
|
+
"description": "full (the default) returns every block as recorded; compact returns whole tool inputs and results and cuts subagent output, to its last entry with outputCount, or every entry cut short in a message recorded before previews were stored; summary returns the blocks as sessions messages does.",
|
|
21
|
+
"choices": [
|
|
22
|
+
"summary",
|
|
23
|
+
"compact",
|
|
24
|
+
"full"
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"body": null,
|
|
29
|
+
"multipart": null,
|
|
30
|
+
"attachments": false,
|
|
31
|
+
"anonymous": false,
|
|
32
|
+
"agents": "all"
|
|
33
|
+
};
|