@kosuke-ai/kosuke 1.0.0 → 1.0.1
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 +62 -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 +20 -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 +650 -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-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/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 +26091 -0
- package/package.json +103 -4
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "post",
|
|
3
|
+
"path": "/api/sensei/cards",
|
|
4
|
+
"command": [
|
|
5
|
+
"sensei",
|
|
6
|
+
"cards",
|
|
7
|
+
"put"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Open a card in your Turn's own thread, or update its open card with that key by passing the revision you read. Refused when the card moved, closed or is being sent, when your Turn stopped, when the member rejected this key in this stateKey (SKIPPED_STATE), when the session now lives in another thread (SESSION_MOVED), or when an id it names is not in the member's reach.",
|
|
10
|
+
"pathParams": [],
|
|
11
|
+
"query": [],
|
|
12
|
+
"body": {
|
|
13
|
+
"fields": [
|
|
14
|
+
{
|
|
15
|
+
"name": "key",
|
|
16
|
+
"flag": "key",
|
|
17
|
+
"kind": "string",
|
|
18
|
+
"required": true
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "headline",
|
|
22
|
+
"flag": "headline",
|
|
23
|
+
"kind": "string",
|
|
24
|
+
"required": true
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "blocks",
|
|
28
|
+
"flag": "blocks",
|
|
29
|
+
"kind": "json",
|
|
30
|
+
"required": true
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "instruction",
|
|
34
|
+
"flag": "instruction",
|
|
35
|
+
"kind": "string",
|
|
36
|
+
"required": false
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "open",
|
|
40
|
+
"flag": "open",
|
|
41
|
+
"kind": "json",
|
|
42
|
+
"required": false,
|
|
43
|
+
"description": "The page the primary button opens in place of an instruction, such as the link a teammate's message shares. The verb is the button's label (\"Open\", \"Read\"), and the tap opens the page, closes the card and sends nothing to Sensei. It takes a verb and an outcome, and no instruction, clarification block, Deploy form, action or covers; a Memory, integration or messages card cannot open a link."
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "verb",
|
|
47
|
+
"flag": "verb",
|
|
48
|
+
"kind": "string",
|
|
49
|
+
"required": false
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "negativeLabel",
|
|
53
|
+
"flag": "negative-label",
|
|
54
|
+
"kind": "string",
|
|
55
|
+
"required": false,
|
|
56
|
+
"description": "The negative button's label: free text of 1 to 20 characters once trimmed, in any words that say what the member's no does, such as \"Reject\", \"Skip\", \"Dismiss\" or \"Not now\"; those are examples, not a list to pick from. Omit it for \"Reject\" on a card with a verb and \"Dismiss\" on one without. Set it when the default misdescribes the no. The tap always skips the card and sends nothing."
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"name": "negativeTone",
|
|
60
|
+
"flag": "negative-tone",
|
|
61
|
+
"kind": "string",
|
|
62
|
+
"required": false,
|
|
63
|
+
"description": "How the negative button reads, set apart from its label: destructive (red) for a no that turns something down, neutral for one that only sets the card aside. Omit it for destructive on a card with a verb and neutral on one without.",
|
|
64
|
+
"choices": [
|
|
65
|
+
"neutral",
|
|
66
|
+
"destructive"
|
|
67
|
+
]
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"name": "request",
|
|
71
|
+
"flag": "request",
|
|
72
|
+
"kind": "string",
|
|
73
|
+
"required": false
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"name": "outcome",
|
|
77
|
+
"flag": "outcome",
|
|
78
|
+
"kind": "string",
|
|
79
|
+
"required": false
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "instructionKind",
|
|
83
|
+
"flag": "instruction-kind",
|
|
84
|
+
"kind": "string",
|
|
85
|
+
"required": false,
|
|
86
|
+
"choices": [
|
|
87
|
+
"session",
|
|
88
|
+
"sensei",
|
|
89
|
+
"ticket",
|
|
90
|
+
"guide"
|
|
91
|
+
]
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"name": "proposedBy",
|
|
95
|
+
"flag": "proposed-by",
|
|
96
|
+
"kind": "json",
|
|
97
|
+
"required": false
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"name": "message",
|
|
101
|
+
"flag": "message",
|
|
102
|
+
"kind": "json",
|
|
103
|
+
"required": false
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"name": "links",
|
|
107
|
+
"flag": "links",
|
|
108
|
+
"kind": "json",
|
|
109
|
+
"required": false
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"name": "target",
|
|
113
|
+
"flag": "target",
|
|
114
|
+
"kind": "json",
|
|
115
|
+
"required": true
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"name": "action",
|
|
119
|
+
"flag": "action",
|
|
120
|
+
"kind": "json",
|
|
121
|
+
"required": false
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"name": "covers",
|
|
125
|
+
"flag": "covers",
|
|
126
|
+
"kind": "json",
|
|
127
|
+
"required": false,
|
|
128
|
+
"description": "The ids of the incoming_message events of this thread that this card answers. Only a reply, the FYI, or a task or calendar card with its instruction and verb covers. Every card an Event Turn writes in a message thread names them: a reply covers the message it answers, a task or calendar card the message in its evidence, an FYI the event of every row, and of each message among this Turn’s events that it only counts. An FYI update keeps unread commitments and the events in its current evidence, discarding processed history; name at most 50 events per write. The open FYI keeps a reference to every message it has covered, which its Mark read marks, and its card read gives their count and the newest. An incoming event no card covers is read again later."
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"name": "stateKey",
|
|
132
|
+
"flag": "state-key",
|
|
133
|
+
"kind": "string",
|
|
134
|
+
"required": true
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"name": "revision",
|
|
138
|
+
"flag": "revision",
|
|
139
|
+
"kind": "integer",
|
|
140
|
+
"required": false,
|
|
141
|
+
"description": "The open card's revision you read. Omit it to open a card; an update without it, or with a revision the card has moved past, is refused."
|
|
142
|
+
}
|
|
143
|
+
],
|
|
144
|
+
"required": true
|
|
145
|
+
},
|
|
146
|
+
"multipart": null,
|
|
147
|
+
"attachments": false,
|
|
148
|
+
"anonymous": false,
|
|
149
|
+
"agents": [
|
|
150
|
+
"senseiToken"
|
|
151
|
+
]
|
|
152
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "post",
|
|
3
|
+
"path": "/api/sensei/cards/send-reply",
|
|
4
|
+
"command": [
|
|
5
|
+
"sensei",
|
|
6
|
+
"cards",
|
|
7
|
+
"send-reply"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Execute only the stored reply action of the card this member approved",
|
|
10
|
+
"pathParams": [],
|
|
11
|
+
"query": [],
|
|
12
|
+
"body": {
|
|
13
|
+
"fields": [
|
|
14
|
+
{
|
|
15
|
+
"name": "card",
|
|
16
|
+
"flag": "card",
|
|
17
|
+
"kind": "string",
|
|
18
|
+
"required": true,
|
|
19
|
+
"description": "The card approved by this Turn"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"required": true
|
|
23
|
+
},
|
|
24
|
+
"multipart": null,
|
|
25
|
+
"attachments": false,
|
|
26
|
+
"anonymous": false,
|
|
27
|
+
"agents": [
|
|
28
|
+
"senseiToken"
|
|
29
|
+
]
|
|
30
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "get",
|
|
3
|
+
"path": "/api/sensei/cards",
|
|
4
|
+
"command": [
|
|
5
|
+
"sensei",
|
|
6
|
+
"cards"
|
|
7
|
+
],
|
|
8
|
+
"summary": "List your open cards and workspace counts. With --thread, include every decided card for members, or those closed in the last 7 days for Sensei's token. --since narrows decided cards by their time in the thread.",
|
|
9
|
+
"pathParams": [],
|
|
10
|
+
"query": [
|
|
11
|
+
{
|
|
12
|
+
"name": "workspace",
|
|
13
|
+
"flag": "workspace",
|
|
14
|
+
"kind": "string",
|
|
15
|
+
"required": false,
|
|
16
|
+
"description": "Only the cards of this workspace, by id. The counts still cover every workspace."
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "thread",
|
|
20
|
+
"flag": "thread",
|
|
21
|
+
"kind": "string",
|
|
22
|
+
"required": false,
|
|
23
|
+
"description": "One thread's open, sending and decided cards. Members get every decided card; Sensei's token gets those closed in the last 7 days."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "since",
|
|
27
|
+
"flag": "since",
|
|
28
|
+
"kind": "string",
|
|
29
|
+
"required": false,
|
|
30
|
+
"description": "With thread, only decided cards placed at or after this ISO time. Open and sending cards always return."
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
"body": null,
|
|
34
|
+
"multipart": null,
|
|
35
|
+
"attachments": false,
|
|
36
|
+
"anonymous": false,
|
|
37
|
+
"agents": "all"
|
|
38
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "get",
|
|
3
|
+
"path": "/api/sensei",
|
|
4
|
+
"command": [
|
|
5
|
+
"sensei",
|
|
6
|
+
"chat"
|
|
7
|
+
],
|
|
8
|
+
"summary": "Read your own Sensei Chat as the Sensei page does: its latest page and its Turn, or with `before` the older messages before that message.",
|
|
9
|
+
"pathParams": [],
|
|
10
|
+
"query": [
|
|
11
|
+
{
|
|
12
|
+
"name": "before",
|
|
13
|
+
"flag": "before",
|
|
14
|
+
"kind": "string",
|
|
15
|
+
"required": false,
|
|
16
|
+
"description": "A message id: the older rows before it, instead of the latest page and its Turn."
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"body": null,
|
|
20
|
+
"multipart": null,
|
|
21
|
+
"attachments": false,
|
|
22
|
+
"anonymous": false
|
|
23
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "post",
|
|
3
|
+
"path": "/api/sensei/connect",
|
|
4
|
+
"command": [
|
|
5
|
+
"sensei",
|
|
6
|
+
"connect"
|
|
7
|
+
],
|
|
8
|
+
"summary": "Put Connect buttons in a message of your Turn's own thread, under your words, for each connection the request needs: github, toolkit:<slug>, subscription:<claude_code|codex|antigravity>, or notifications (iOS app only, once per member). The member signs in from the message; once it is done, or on Not now, the thread carries on in a Turn of its own. End your Turn after it. Refused when your Turn stopped.",
|
|
9
|
+
"pathParams": [],
|
|
10
|
+
"query": [],
|
|
11
|
+
"body": {
|
|
12
|
+
"fields": [
|
|
13
|
+
{
|
|
14
|
+
"name": "text",
|
|
15
|
+
"flag": "text",
|
|
16
|
+
"kind": "string",
|
|
17
|
+
"required": true,
|
|
18
|
+
"description": "Your words above the buttons: what the request needs the connection for."
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "items",
|
|
22
|
+
"flag": "items",
|
|
23
|
+
"kind": "json",
|
|
24
|
+
"required": true,
|
|
25
|
+
"description": "One button each: github, notifications (iOS app only, once per member), toolkit:<slug> (a Personal integration such as toolkit:gmail), or subscription:<claude_code|codex|antigravity>."
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "required",
|
|
29
|
+
"flag": "required",
|
|
30
|
+
"kind": "boolean",
|
|
31
|
+
"required": false,
|
|
32
|
+
"description": "No Not now: the thread cannot carry on without one of them."
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "any",
|
|
36
|
+
"flag": "any",
|
|
37
|
+
"kind": "boolean",
|
|
38
|
+
"required": false,
|
|
39
|
+
"description": "Carry on once any one connects, instead of once all do."
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "skippedNote",
|
|
43
|
+
"flag": "skipped-note",
|
|
44
|
+
"kind": "string",
|
|
45
|
+
"required": false,
|
|
46
|
+
"description": "What the block says after Not now. Default: \"Skipped. Ask me again any time.\""
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"required": true
|
|
50
|
+
},
|
|
51
|
+
"multipart": null,
|
|
52
|
+
"attachments": false,
|
|
53
|
+
"anonymous": false,
|
|
54
|
+
"agents": [
|
|
55
|
+
"senseiToken"
|
|
56
|
+
]
|
|
57
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "get",
|
|
3
|
+
"path": "/api/sensei/delegates/{delegateId}",
|
|
4
|
+
"command": [
|
|
5
|
+
"sensei",
|
|
6
|
+
"delegates",
|
|
7
|
+
"get"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Read one of the member's delegates: its state, Model and Delegate Summary, with the newest job result you have not read, in full.",
|
|
10
|
+
"pathParams": [
|
|
11
|
+
"delegateId"
|
|
12
|
+
],
|
|
13
|
+
"query": [],
|
|
14
|
+
"body": null,
|
|
15
|
+
"multipart": null,
|
|
16
|
+
"attachments": false,
|
|
17
|
+
"anonymous": false,
|
|
18
|
+
"agents": [
|
|
19
|
+
"senseiToken"
|
|
20
|
+
]
|
|
21
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "post",
|
|
3
|
+
"path": "/api/sensei/delegates/{delegateId}/notes",
|
|
4
|
+
"command": [
|
|
5
|
+
"sensei",
|
|
6
|
+
"delegates",
|
|
7
|
+
"note"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Deliver a change of the member's intent to one of their delegates as a Note, and wake it. Its Turn that began before the Note can write nothing more, and the next one reads it. The same key writes the Note once.",
|
|
10
|
+
"pathParams": [
|
|
11
|
+
"delegateId"
|
|
12
|
+
],
|
|
13
|
+
"query": [],
|
|
14
|
+
"body": {
|
|
15
|
+
"fields": [
|
|
16
|
+
{
|
|
17
|
+
"name": "text",
|
|
18
|
+
"flag": "text",
|
|
19
|
+
"kind": "string",
|
|
20
|
+
"required": true,
|
|
21
|
+
"description": "The change of the member's intent, written to stand alone."
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "messageId",
|
|
25
|
+
"flag": "message",
|
|
26
|
+
"kind": "string",
|
|
27
|
+
"required": false,
|
|
28
|
+
"description": "The member's message this Note relays: a message of this Turn's thread."
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "requestKey",
|
|
32
|
+
"flag": "key",
|
|
33
|
+
"kind": "string",
|
|
34
|
+
"required": true,
|
|
35
|
+
"description": "A new key for each Note, such as drop-mobile. Sending the same Note again with the same key writes it once."
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"required": true
|
|
39
|
+
},
|
|
40
|
+
"multipart": null,
|
|
41
|
+
"attachments": false,
|
|
42
|
+
"anonymous": false,
|
|
43
|
+
"agents": [
|
|
44
|
+
"senseiToken"
|
|
45
|
+
]
|
|
46
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "post",
|
|
3
|
+
"path": "/api/sensei/delegates",
|
|
4
|
+
"command": [
|
|
5
|
+
"sensei",
|
|
6
|
+
"delegates",
|
|
7
|
+
"start"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Hand a long job the member asked for in this Turn's thread to a Job Delegate, which works on it out of the conversation and posts its result in the thread. Kosuke gives it the member's message and its attachments; the brief adds what you know. The same message and key return the first job. Refused with DELEGATES_OUTDATED on an older Sensei container, and with DELEGATE_NOT_STARTED when its first Turn cannot start now, which Kosuke retries.",
|
|
10
|
+
"pathParams": [],
|
|
11
|
+
"query": [],
|
|
12
|
+
"body": {
|
|
13
|
+
"fields": [
|
|
14
|
+
{
|
|
15
|
+
"name": "messageId",
|
|
16
|
+
"flag": "message",
|
|
17
|
+
"kind": "string",
|
|
18
|
+
"required": true,
|
|
19
|
+
"description": "The member's message that asked for the job, as `## DELEGATES` names it: a message of this Turn's thread."
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name": "key",
|
|
23
|
+
"flag": "key",
|
|
24
|
+
"kind": "string",
|
|
25
|
+
"required": true,
|
|
26
|
+
"description": "A short slug for this job, such as pricing-research. The same message and key return the first job."
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "name",
|
|
30
|
+
"flag": "name",
|
|
31
|
+
"kind": "string",
|
|
32
|
+
"required": false,
|
|
33
|
+
"description": "A short name for the job, a few words such as Cron details prototypes. The crew list shows it."
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "brief",
|
|
37
|
+
"flag": "brief",
|
|
38
|
+
"kind": "string",
|
|
39
|
+
"required": true,
|
|
40
|
+
"description": "Your brief to the delegate: what to find or make, what the member decided, the ids it needs and what to report. Kosuke adds the member's message itself."
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"required": true
|
|
44
|
+
},
|
|
45
|
+
"multipart": null,
|
|
46
|
+
"attachments": false,
|
|
47
|
+
"anonymous": false,
|
|
48
|
+
"agents": [
|
|
49
|
+
"senseiToken"
|
|
50
|
+
]
|
|
51
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "post",
|
|
3
|
+
"path": "/api/sensei/delegates/{delegateId}/stop",
|
|
4
|
+
"command": [
|
|
5
|
+
"sensei",
|
|
6
|
+
"delegates",
|
|
7
|
+
"stop"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Stop one of the member's delegates. A job stays stopped until the member redirects it or you note it; a Task Delegate reads its waiting events at its next wake.",
|
|
10
|
+
"pathParams": [
|
|
11
|
+
"delegateId"
|
|
12
|
+
],
|
|
13
|
+
"query": [],
|
|
14
|
+
"body": null,
|
|
15
|
+
"multipart": null,
|
|
16
|
+
"attachments": false,
|
|
17
|
+
"anonymous": false,
|
|
18
|
+
"agents": [
|
|
19
|
+
"senseiToken"
|
|
20
|
+
]
|
|
21
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "post",
|
|
3
|
+
"path": "/api/sensei/describe",
|
|
4
|
+
"command": [
|
|
5
|
+
"sensei",
|
|
6
|
+
"describe"
|
|
7
|
+
],
|
|
8
|
+
"summary": "Put the Describe card in a message of your Turn's own thread, under your words: the member writes what the app does and creates it as a YOLO project in the workspace it names. Once created, the thread carries on in a Turn of its own. End your Turn after it. Refused when your Turn stopped.",
|
|
9
|
+
"pathParams": [],
|
|
10
|
+
"query": [],
|
|
11
|
+
"body": {
|
|
12
|
+
"fields": [
|
|
13
|
+
{
|
|
14
|
+
"name": "workspace",
|
|
15
|
+
"flag": "workspace",
|
|
16
|
+
"kind": "string",
|
|
17
|
+
"required": true,
|
|
18
|
+
"description": "The workspace's id the project goes into."
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "text",
|
|
22
|
+
"flag": "text",
|
|
23
|
+
"kind": "string",
|
|
24
|
+
"required": true,
|
|
25
|
+
"description": "Your words above the card."
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"required": true
|
|
29
|
+
},
|
|
30
|
+
"multipart": null,
|
|
31
|
+
"attachments": false,
|
|
32
|
+
"anonymous": false,
|
|
33
|
+
"agents": [
|
|
34
|
+
"senseiToken"
|
|
35
|
+
]
|
|
36
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "post",
|
|
3
|
+
"path": "/api/sensei/device-requests/decide",
|
|
4
|
+
"command": [
|
|
5
|
+
"sensei",
|
|
6
|
+
"device-requests",
|
|
7
|
+
"decide"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Approve or decline one Device Request of a Chat Session as you, the Mac’s owner or an admin of the device’s workspace. Answers the stored status. Refused with 403 when you may not answer it, 404 for a request not of this session, and 409 GRANT_ALREADY_DECIDED with its current status when it is no longer pending: already answered, expired, withdrawn, or closed because the session can no longer use the device.",
|
|
10
|
+
"pathParams": [],
|
|
11
|
+
"query": [],
|
|
12
|
+
"body": {
|
|
13
|
+
"fields": [
|
|
14
|
+
{
|
|
15
|
+
"name": "sessionId",
|
|
16
|
+
"flag": "session-id",
|
|
17
|
+
"kind": "string",
|
|
18
|
+
"required": true,
|
|
19
|
+
"description": "The Chat Session that asked, in any workspace you belong to."
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name": "requestId",
|
|
23
|
+
"flag": "request-id",
|
|
24
|
+
"kind": "string",
|
|
25
|
+
"required": true,
|
|
26
|
+
"description": "The request to answer, as `sensei device-requests list` reads it."
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "decision",
|
|
30
|
+
"flag": "decision",
|
|
31
|
+
"kind": "string",
|
|
32
|
+
"required": true,
|
|
33
|
+
"description": "approve lets the session use the device until it ends; decline refuses it.",
|
|
34
|
+
"choices": [
|
|
35
|
+
"approve",
|
|
36
|
+
"decline"
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"required": true
|
|
41
|
+
},
|
|
42
|
+
"multipart": null,
|
|
43
|
+
"attachments": false,
|
|
44
|
+
"anonymous": false,
|
|
45
|
+
"agents": [
|
|
46
|
+
"senseiToken"
|
|
47
|
+
]
|
|
48
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "get",
|
|
3
|
+
"path": "/api/sensei/device-requests",
|
|
4
|
+
"command": [
|
|
5
|
+
"sensei",
|
|
6
|
+
"device-requests",
|
|
7
|
+
"list"
|
|
8
|
+
],
|
|
9
|
+
"summary": "List the Device Requests of a Chat Session, oldest first, as you would see them on its cards: id, device, kind, owner, reason, status (pending, approved, declined, expired, withdrawn or closed), who asked and who answered, when, and canApprove, whether you may answer it. A request past its 30 minutes reads expired.",
|
|
10
|
+
"pathParams": [],
|
|
11
|
+
"query": [
|
|
12
|
+
{
|
|
13
|
+
"name": "sessionId",
|
|
14
|
+
"flag": "session-id",
|
|
15
|
+
"kind": "string",
|
|
16
|
+
"required": true,
|
|
17
|
+
"description": "The Chat Session whose Device Requests to read, in any workspace you belong to."
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"body": null,
|
|
21
|
+
"multipart": null,
|
|
22
|
+
"attachments": false,
|
|
23
|
+
"anonymous": false,
|
|
24
|
+
"agents": [
|
|
25
|
+
"senseiToken"
|
|
26
|
+
]
|
|
27
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "get",
|
|
3
|
+
"path": "/api/sensei/memory",
|
|
4
|
+
"command": [
|
|
5
|
+
"sensei",
|
|
6
|
+
"memory",
|
|
7
|
+
"get"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Read your three private Memory files and their revisions.",
|
|
10
|
+
"pathParams": [],
|
|
11
|
+
"query": [],
|
|
12
|
+
"body": null,
|
|
13
|
+
"multipart": null,
|
|
14
|
+
"attachments": false,
|
|
15
|
+
"anonymous": false,
|
|
16
|
+
"agents": [
|
|
17
|
+
"senseiToken"
|
|
18
|
+
]
|
|
19
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "put",
|
|
3
|
+
"path": "/api/sensei/memory",
|
|
4
|
+
"command": [
|
|
5
|
+
"sensei",
|
|
6
|
+
"memory",
|
|
7
|
+
"put"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Save a Memory file at the revision you read. Sensei must name the card approved to start this Turn.",
|
|
10
|
+
"pathParams": [],
|
|
11
|
+
"query": [],
|
|
12
|
+
"body": {
|
|
13
|
+
"fields": [
|
|
14
|
+
{
|
|
15
|
+
"name": "content",
|
|
16
|
+
"flag": "content",
|
|
17
|
+
"kind": "string",
|
|
18
|
+
"required": true,
|
|
19
|
+
"description": "The whole file, as Markdown."
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name": "ifRevision",
|
|
23
|
+
"flag": "if-revision",
|
|
24
|
+
"kind": "integer",
|
|
25
|
+
"required": true,
|
|
26
|
+
"description": "The revision you read the file at; 0 for a file never saved."
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "file",
|
|
30
|
+
"flag": "file",
|
|
31
|
+
"kind": "string",
|
|
32
|
+
"required": true,
|
|
33
|
+
"choices": [
|
|
34
|
+
"SENSEI.md",
|
|
35
|
+
"personality.md",
|
|
36
|
+
"general.md"
|
|
37
|
+
]
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "cardId",
|
|
41
|
+
"flag": "card-id",
|
|
42
|
+
"kind": "string",
|
|
43
|
+
"required": false,
|
|
44
|
+
"description": "The Memory card the member approved to start this Turn."
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
"required": true
|
|
48
|
+
},
|
|
49
|
+
"multipart": null,
|
|
50
|
+
"attachments": false,
|
|
51
|
+
"anonymous": false,
|
|
52
|
+
"agents": [
|
|
53
|
+
"senseiToken"
|
|
54
|
+
]
|
|
55
|
+
};
|