@kosuke-ai/kosuke 0.0.0-stage → 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 +199 -2
- 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 +104 -4
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "put",
|
|
3
|
+
"path": "/api/sensei/merge-rule",
|
|
4
|
+
"command": [
|
|
5
|
+
"sensei",
|
|
6
|
+
"merge-rule"
|
|
7
|
+
],
|
|
8
|
+
"summary": "Turn your Merge rule on or off. While it is on, every pull request of a Chat Session you are the Assignee of has your go-ahead to merge, as the `kosuke: merge` label you add gives one pull request: Kosuke merges each once it is approved and its checks pass. Changed only when you ask. Answers whether it is on now.",
|
|
9
|
+
"pathParams": [],
|
|
10
|
+
"query": [],
|
|
11
|
+
"body": {
|
|
12
|
+
"fields": [
|
|
13
|
+
{
|
|
14
|
+
"name": "on",
|
|
15
|
+
"flag": "on",
|
|
16
|
+
"kind": "boolean",
|
|
17
|
+
"required": false,
|
|
18
|
+
"description": "Turn the Merge rule on."
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "off",
|
|
22
|
+
"flag": "off",
|
|
23
|
+
"kind": "boolean",
|
|
24
|
+
"required": false,
|
|
25
|
+
"description": "Turn the Merge rule off."
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"required": true
|
|
29
|
+
},
|
|
30
|
+
"multipart": null,
|
|
31
|
+
"attachments": false,
|
|
32
|
+
"anonymous": false,
|
|
33
|
+
"agents": [
|
|
34
|
+
"senseiToken"
|
|
35
|
+
]
|
|
36
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "post",
|
|
3
|
+
"path": "/api/sensei/merge",
|
|
4
|
+
"command": [
|
|
5
|
+
"sensei",
|
|
6
|
+
"merge"
|
|
7
|
+
],
|
|
8
|
+
"summary": "Merge the pull request of any Chat Session in a workspace you belong to, as you on GitHub, whenever GitHub allows it: added to GitHub's merge queue where the base has one, updated first where GitHub requires an up-to-date branch, merged otherwise, pinned to the head read. GitHub alone decides: Kosuke adds no hold of its own on approvals, reviews, checks or a working session. Asking is your go-ahead: Kosuke puts the `kosuke: merge` label on it as you, so it merges later when GitHub refuses now. Answers the outcome, the head it decided on and why. Refused with the reason unless you have GitHub connected and the head is still `headSha` when given, and with GitHub's own reason when GitHub refuses the merge.",
|
|
9
|
+
"pathParams": [],
|
|
10
|
+
"query": [],
|
|
11
|
+
"body": {
|
|
12
|
+
"fields": [
|
|
13
|
+
{
|
|
14
|
+
"name": "sessionId",
|
|
15
|
+
"flag": "session-id",
|
|
16
|
+
"kind": "string",
|
|
17
|
+
"required": true,
|
|
18
|
+
"description": "The Chat Session whose pull request to merge, in any workspace you belong to."
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "headSha",
|
|
22
|
+
"flag": "head-sha",
|
|
23
|
+
"kind": "string",
|
|
24
|
+
"required": false,
|
|
25
|
+
"description": "The head commit you decided on. Nothing is written when the pull request has moved past it."
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"required": true
|
|
29
|
+
},
|
|
30
|
+
"multipart": null,
|
|
31
|
+
"attachments": false,
|
|
32
|
+
"anonymous": false,
|
|
33
|
+
"agents": [
|
|
34
|
+
"senseiToken"
|
|
35
|
+
]
|
|
36
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "post",
|
|
3
|
+
"path": "/api/sensei/teammate-messages/reply",
|
|
4
|
+
"command": [
|
|
5
|
+
"sensei",
|
|
6
|
+
"messages",
|
|
7
|
+
"reply"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Pass your member's reply to a teammate's message card back to the teammate who sent it, when the words are meant for them. It updates the answer that teammate already got for the message, so their answer card quotes the words instead of saying your member replied to their Sensei. messageId is the message's identity and replyId the reply's id, as the reply's note names them. The same words again write nothing. Only the Turn of your member's reply sends one, for the card that reply decided. Refused with 404 when this Turn carries no reply with that replyId to the message with that messageId, and with 409 ANSWER_CHANGED when your member decided the message again since the reply. Answers the answer's id, revision, updated and the sender.",
|
|
10
|
+
"pathParams": [],
|
|
11
|
+
"query": [],
|
|
12
|
+
"body": {
|
|
13
|
+
"fields": [
|
|
14
|
+
{
|
|
15
|
+
"name": "messageId",
|
|
16
|
+
"flag": "message-id",
|
|
17
|
+
"kind": "string",
|
|
18
|
+
"required": true,
|
|
19
|
+
"description": "The identity of the teammate's message whose card the member replied to, as the reply's note names it."
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name": "replyId",
|
|
23
|
+
"flag": "reply-id",
|
|
24
|
+
"kind": "string",
|
|
25
|
+
"required": true,
|
|
26
|
+
"description": "The id of the member's reply whose words these are, as the reply's note names it: one Turn can carry several replies."
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "words",
|
|
30
|
+
"flag": "words",
|
|
31
|
+
"kind": "string",
|
|
32
|
+
"required": true,
|
|
33
|
+
"description": "The member's reply as they wrote it, without the parts they meant for you alone. The sender's answer card quotes them."
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"required": true
|
|
37
|
+
},
|
|
38
|
+
"multipart": null,
|
|
39
|
+
"attachments": false,
|
|
40
|
+
"anonymous": false,
|
|
41
|
+
"agents": [
|
|
42
|
+
"senseiToken"
|
|
43
|
+
]
|
|
44
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "post",
|
|
3
|
+
"path": "/api/sensei/messages/reroute",
|
|
4
|
+
"command": [
|
|
5
|
+
"sensei",
|
|
6
|
+
"messages",
|
|
7
|
+
"reroute"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Send a message that reached you on to another member: the one the required memberId names. It opens in their Sensei, and the sender's later updates of it go to them. Your own card on it stays yours to close. Refused with 404 when the message is not with you now, with 409 MESSAGE_CHANGED when it changed since you read it, and with 400 when nobody else is named for it.",
|
|
10
|
+
"pathParams": [],
|
|
11
|
+
"query": [],
|
|
12
|
+
"body": {
|
|
13
|
+
"fields": [
|
|
14
|
+
{
|
|
15
|
+
"name": "id",
|
|
16
|
+
"flag": "id",
|
|
17
|
+
"kind": "string",
|
|
18
|
+
"required": true,
|
|
19
|
+
"description": "The message's identity: the `identity` of its event, the `id` a send answered."
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name": "memberId",
|
|
23
|
+
"flag": "member-id",
|
|
24
|
+
"kind": "string",
|
|
25
|
+
"required": false,
|
|
26
|
+
"description": "The member to send it to, as the member named them. Kosuke does not pick one: a reroute without it is refused."
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"required": true
|
|
30
|
+
},
|
|
31
|
+
"multipart": null,
|
|
32
|
+
"attachments": false,
|
|
33
|
+
"anonymous": false,
|
|
34
|
+
"agents": [
|
|
35
|
+
"senseiToken"
|
|
36
|
+
]
|
|
37
|
+
};
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "post",
|
|
3
|
+
"path": "/api/sensei/teammate-messages",
|
|
4
|
+
"command": [
|
|
5
|
+
"sensei",
|
|
6
|
+
"messages",
|
|
7
|
+
"send"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Send a message to a member's Sensei. Any sender can: you, your Sensei when you ask it to, a Cron Run, or a session's agent; the sender is read from the credential. Their Sensei shows it on a card that says who sent it, with the action that fits, and they are notified as for any card. Name the project with projectId, and optionally the Chat Session (sessionId) or pull request (pullRequest, with projectId) it is about; a sessionId alone names its project. memberId is required: the id a Member mention carries or `kosuke workspaces members` prints, never a guess between members who share a name. key is a slug such as merge-plan, ticket-<slug> or qa-guide, and text, up to 60,000 characters, is everything the member needs, so it can hold a ticket prompt or a whole Project QA Guide. title, why (one line: why this member), paths (the repository paths it is about) and link (a Kosuke path starting with / or an https URL the card opens) are optional. The same key with new text or a new link updates the open card and raises the revision; the same again writes nothing. Pass ifRevision, the revision an earlier send answered, to be refused with MESSAGE_CHANGED when it moved on. When a member sent it, the recipient's approve, edit, reject or reply comes back to the thread it was sent from. Only a Turn your member started sends one as your Sensei. Answers id, revision, updated and the recipient. Pass the body with --body or --body-file.",
|
|
10
|
+
"pathParams": [],
|
|
11
|
+
"query": [],
|
|
12
|
+
"body": {
|
|
13
|
+
"fields": [
|
|
14
|
+
{
|
|
15
|
+
"name": "memberId",
|
|
16
|
+
"flag": "member-id",
|
|
17
|
+
"kind": "string",
|
|
18
|
+
"required": true,
|
|
19
|
+
"description": "The member it goes to: the id a Member mention carries, or the one `kosuke workspaces members` prints. Never pick a person by a name that matches more than one member."
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name": "projectId",
|
|
23
|
+
"flag": "project-id",
|
|
24
|
+
"kind": "string",
|
|
25
|
+
"required": false,
|
|
26
|
+
"description": "The project the message is about. Alone it names the project; with pullRequest, the project of that pull request."
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "sessionId",
|
|
30
|
+
"flag": "session-id",
|
|
31
|
+
"kind": "string",
|
|
32
|
+
"required": false,
|
|
33
|
+
"description": "The Chat Session the message is about."
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "pullRequest",
|
|
37
|
+
"flag": "pull-request",
|
|
38
|
+
"kind": "integer",
|
|
39
|
+
"required": false,
|
|
40
|
+
"description": "With projectId: the pull request's number."
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "key",
|
|
44
|
+
"flag": "key",
|
|
45
|
+
"kind": "string",
|
|
46
|
+
"required": true,
|
|
47
|
+
"description": "What the message is about, as a slug: merge-plan, ticket-<slug>, qa-guide. A later message with the same key updates this one rather than adding another."
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "text",
|
|
51
|
+
"flag": "text",
|
|
52
|
+
"kind": "string",
|
|
53
|
+
"required": true,
|
|
54
|
+
"description": "Everything the member needs, written for someone with no context: what you found and what you ask of them. Up to 60,000 characters, so it can hold a whole ticket prompt or QA Guide."
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "title",
|
|
58
|
+
"flag": "title",
|
|
59
|
+
"kind": "string",
|
|
60
|
+
"required": false,
|
|
61
|
+
"description": "A short title."
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "why",
|
|
65
|
+
"flag": "why",
|
|
66
|
+
"kind": "string",
|
|
67
|
+
"required": false,
|
|
68
|
+
"description": "One line: why this member, from the evidence you read, and why now."
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"name": "paths",
|
|
72
|
+
"flag": "paths",
|
|
73
|
+
"kind": "json",
|
|
74
|
+
"required": false,
|
|
75
|
+
"description": "The repository paths it is about, for the recipient to read. Nothing routes by them."
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "link",
|
|
79
|
+
"flag": "link",
|
|
80
|
+
"kind": "string",
|
|
81
|
+
"required": false,
|
|
82
|
+
"description": "Where the card should open: a path inside Kosuke starting with /, or an https URL."
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"name": "ifRevision",
|
|
86
|
+
"flag": "if-revision",
|
|
87
|
+
"kind": "integer",
|
|
88
|
+
"required": false,
|
|
89
|
+
"description": "The revision an earlier send answered. Refused with MESSAGE_CHANGED when the message moved past it."
|
|
90
|
+
}
|
|
91
|
+
],
|
|
92
|
+
"required": true
|
|
93
|
+
},
|
|
94
|
+
"multipart": null,
|
|
95
|
+
"attachments": false,
|
|
96
|
+
"anonymous": false,
|
|
97
|
+
"agents": "all"
|
|
98
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "post",
|
|
3
|
+
"path": "/api/sensei/notifications/{notificationId}/open",
|
|
4
|
+
"command": [
|
|
5
|
+
"sensei",
|
|
6
|
+
"notifications",
|
|
7
|
+
"open"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Mark one of your Sensei notifications, from any workspace, as opened.",
|
|
10
|
+
"pathParams": [
|
|
11
|
+
"notificationId"
|
|
12
|
+
],
|
|
13
|
+
"query": [],
|
|
14
|
+
"body": null,
|
|
15
|
+
"multipart": null,
|
|
16
|
+
"attachments": false,
|
|
17
|
+
"anonymous": false,
|
|
18
|
+
"agents": "all"
|
|
19
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "get",
|
|
3
|
+
"path": "/api/sensei/reels/activity",
|
|
4
|
+
"command": [
|
|
5
|
+
"sensei",
|
|
6
|
+
"reels",
|
|
7
|
+
"activity"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Read stored activity versions for your Reels cards and Backlog tickets.",
|
|
10
|
+
"pathParams": [],
|
|
11
|
+
"query": [],
|
|
12
|
+
"body": null,
|
|
13
|
+
"multipart": null,
|
|
14
|
+
"attachments": false,
|
|
15
|
+
"anonymous": false
|
|
16
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "get",
|
|
3
|
+
"path": "/api/sensei/reels/proposals",
|
|
4
|
+
"command": [
|
|
5
|
+
"sensei",
|
|
6
|
+
"reels",
|
|
7
|
+
"proposals"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Read your Backlog proposals newest first by ticket creation or edit, ten per page, excluding the ones you skipped at the current ticket version.",
|
|
10
|
+
"pathParams": [],
|
|
11
|
+
"query": [
|
|
12
|
+
{
|
|
13
|
+
"name": "cursor",
|
|
14
|
+
"flag": "cursor",
|
|
15
|
+
"kind": "string",
|
|
16
|
+
"required": false,
|
|
17
|
+
"description": "Opaque cursor from the previous page."
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"body": null,
|
|
21
|
+
"multipart": null,
|
|
22
|
+
"attachments": false,
|
|
23
|
+
"anonymous": false
|
|
24
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "get",
|
|
3
|
+
"path": "/api/sensei/reels/ranks",
|
|
4
|
+
"command": [
|
|
5
|
+
"sensei",
|
|
6
|
+
"reels",
|
|
7
|
+
"ranks"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Read Jev ranks for your open Sensei Cards, valid only at each card revision.",
|
|
10
|
+
"pathParams": [],
|
|
11
|
+
"query": [],
|
|
12
|
+
"body": null,
|
|
13
|
+
"multipart": null,
|
|
14
|
+
"attachments": false,
|
|
15
|
+
"anonymous": false
|
|
16
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "post",
|
|
3
|
+
"path": "/api/sensei/reels/skips",
|
|
4
|
+
"command": [
|
|
5
|
+
"sensei",
|
|
6
|
+
"reels",
|
|
7
|
+
"skips"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Skip your Backlog proposal on every device until its ticket version changes.",
|
|
10
|
+
"pathParams": [],
|
|
11
|
+
"query": [],
|
|
12
|
+
"body": {
|
|
13
|
+
"fields": [
|
|
14
|
+
{
|
|
15
|
+
"name": "sessionId",
|
|
16
|
+
"flag": "session-id",
|
|
17
|
+
"kind": "string",
|
|
18
|
+
"required": true
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "ticketVersion",
|
|
22
|
+
"flag": "ticket-version",
|
|
23
|
+
"kind": "string",
|
|
24
|
+
"required": true
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"required": true
|
|
28
|
+
},
|
|
29
|
+
"multipart": null,
|
|
30
|
+
"attachments": false,
|
|
31
|
+
"anonymous": false
|
|
32
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "post",
|
|
3
|
+
"path": "/api/sensei/repository",
|
|
4
|
+
"command": [
|
|
5
|
+
"sensei",
|
|
6
|
+
"repository"
|
|
7
|
+
],
|
|
8
|
+
"summary": "Put the Repository card in a message of your Turn's own thread, under your words: it names the workspace and lists the repositories Kosuke can write to, and the member imports one from it. Once imported, 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,37 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "post",
|
|
3
|
+
"path": "/api/sensei/review/approve",
|
|
4
|
+
"command": [
|
|
5
|
+
"sensei",
|
|
6
|
+
"review",
|
|
7
|
+
"approve"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Approve the pull request of a Chat Session as you on GitHub, pinned to headSha: the approval is of that commit. Refused with 409 HEAD_MOVED, naming the new head, when the pull request moved past headSha, with NO_PULL_REQUEST when the session has no open pull request, and with GITHUB_REFUSED and GitHub’s own words when GitHub says no, such as for your own pull request or without GitHub connected in Kosuke.",
|
|
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 whose pull request to approve, in any workspace you belong to."
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name": "headSha",
|
|
23
|
+
"flag": "head-sha",
|
|
24
|
+
"kind": "string",
|
|
25
|
+
"required": true,
|
|
26
|
+
"description": "The head commit you read and approve. Nothing is approved when the pull request moved past it."
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"required": true
|
|
30
|
+
},
|
|
31
|
+
"multipart": null,
|
|
32
|
+
"attachments": false,
|
|
33
|
+
"anonymous": false,
|
|
34
|
+
"agents": [
|
|
35
|
+
"senseiToken"
|
|
36
|
+
]
|
|
37
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "post",
|
|
3
|
+
"path": "/api/sensei/review/ask",
|
|
4
|
+
"command": [
|
|
5
|
+
"sensei",
|
|
6
|
+
"review",
|
|
7
|
+
"ask"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Ask members to review the pull request of a Chat Session you are the Assignee of, as you on GitHub, and record who was asked for the merge to count. With again, ask again everyone asked before and whoever requested changes since. A member who never connected GitHub, or whom GitHub refuses, is left out and named; it is refused when nobody could be asked, with 400 when you name yourself, nobody, or there is nobody to ask again, with 403 when you are not the Assignee, and with 409 NO_PULL_REQUEST or GITHUB_REFUSED.",
|
|
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 whose pull request to ask a review of. You are its Assignee."
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name": "reviewers",
|
|
23
|
+
"flag": "reviewers",
|
|
24
|
+
"kind": "json",
|
|
25
|
+
"required": false,
|
|
26
|
+
"description": "The members to ask, by the id `workspaces members` prints. Left out with again."
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "again",
|
|
30
|
+
"flag": "again",
|
|
31
|
+
"kind": "boolean",
|
|
32
|
+
"required": false,
|
|
33
|
+
"description": "Ask again everyone asked before, and whoever requested changes since: after the session answered their review."
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"required": true
|
|
37
|
+
},
|
|
38
|
+
"multipart": null,
|
|
39
|
+
"attachments": false,
|
|
40
|
+
"anonymous": false,
|
|
41
|
+
"agents": [
|
|
42
|
+
"senseiToken"
|
|
43
|
+
]
|
|
44
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "get",
|
|
3
|
+
"path": "/api/sensei/review/context",
|
|
4
|
+
"command": [
|
|
5
|
+
"sensei",
|
|
6
|
+
"review",
|
|
7
|
+
"context"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Read bounded, untrusted GitHub review evidence for a Chat Session using repository-scoped read-only installation access. Pass sessionId and optionally paths, a JSON array of at most three repository-relative helper paths. Returns section completeness, observed head/base, checks, rules, ownership, authorship, associated merged reviews and matched workspace reviewer candidates. Partial evidence never proves all checks or rules passed; stale evidence must be read again. No GitHub action is performed and no GitHub credential is returned.",
|
|
10
|
+
"pathParams": [],
|
|
11
|
+
"query": [
|
|
12
|
+
{
|
|
13
|
+
"name": "sessionId",
|
|
14
|
+
"flag": "session-id",
|
|
15
|
+
"kind": "string",
|
|
16
|
+
"required": true
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "paths",
|
|
20
|
+
"flag": "paths",
|
|
21
|
+
"kind": "string",
|
|
22
|
+
"required": false
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"body": null,
|
|
26
|
+
"multipart": null,
|
|
27
|
+
"attachments": false,
|
|
28
|
+
"anonymous": false,
|
|
29
|
+
"agents": [
|
|
30
|
+
"senseiToken"
|
|
31
|
+
]
|
|
32
|
+
};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "post",
|
|
3
|
+
"path": "/api/sensei/sessions/assess",
|
|
4
|
+
"command": [
|
|
5
|
+
"sensei",
|
|
6
|
+
"sessions",
|
|
7
|
+
"assess"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Record Sensei’s done or not-done decision from fresh session facts, with its reason. Only a running Sensei Turn in its authorized following thread may decide. Does not send work, archive or complete the session, or write to GitHub.",
|
|
10
|
+
"pathParams": [],
|
|
11
|
+
"query": [],
|
|
12
|
+
"body": {
|
|
13
|
+
"fields": [
|
|
14
|
+
{
|
|
15
|
+
"name": "sessionId",
|
|
16
|
+
"flag": "session-id",
|
|
17
|
+
"kind": "string",
|
|
18
|
+
"required": true
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "chatJobId",
|
|
22
|
+
"flag": "chat-job-id",
|
|
23
|
+
"kind": "string",
|
|
24
|
+
"required": true
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "revision",
|
|
28
|
+
"flag": "revision",
|
|
29
|
+
"kind": "string",
|
|
30
|
+
"required": true
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "repository",
|
|
34
|
+
"flag": "repository",
|
|
35
|
+
"kind": "json",
|
|
36
|
+
"required": true
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "pullRequestNumber",
|
|
40
|
+
"flag": "pull-request-number",
|
|
41
|
+
"kind": "integer",
|
|
42
|
+
"required": true
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "headSha",
|
|
46
|
+
"flag": "head-sha",
|
|
47
|
+
"kind": "string",
|
|
48
|
+
"required": true
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "done",
|
|
52
|
+
"flag": "done",
|
|
53
|
+
"kind": "boolean",
|
|
54
|
+
"required": true
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "reason",
|
|
58
|
+
"flag": "reason",
|
|
59
|
+
"kind": "string",
|
|
60
|
+
"required": true
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"required": true
|
|
64
|
+
},
|
|
65
|
+
"multipart": null,
|
|
66
|
+
"attachments": false,
|
|
67
|
+
"anonymous": false,
|
|
68
|
+
"agents": [
|
|
69
|
+
"senseiToken"
|
|
70
|
+
]
|
|
71
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "get",
|
|
3
|
+
"path": "/api/sensei/sessions/facts",
|
|
4
|
+
"command": [
|
|
5
|
+
"sensei",
|
|
6
|
+
"sessions",
|
|
7
|
+
"facts"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Read fresh session evidence and the opaque revision needed for an assessment. Requires the running Sensei Turn to follow this session in its own thread.",
|
|
10
|
+
"pathParams": [],
|
|
11
|
+
"query": [
|
|
12
|
+
{
|
|
13
|
+
"name": "sessionId",
|
|
14
|
+
"flag": "session-id",
|
|
15
|
+
"kind": "string",
|
|
16
|
+
"required": true
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"body": null,
|
|
20
|
+
"multipart": null,
|
|
21
|
+
"attachments": false,
|
|
22
|
+
"anonymous": false,
|
|
23
|
+
"agents": [
|
|
24
|
+
"senseiToken"
|
|
25
|
+
]
|
|
26
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "post",
|
|
3
|
+
"path": "/api/sensei/suggest",
|
|
4
|
+
"command": [
|
|
5
|
+
"sensei",
|
|
6
|
+
"suggest"
|
|
7
|
+
],
|
|
8
|
+
"summary": "Put suggestion pills in a message of your Turn's own thread, under your words. A tap on a pill fills the member's reply and sends nothing; a newThread pill is a new topic, and its tap starts a thread of its own with those words. 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 pills, such as a question they answer."
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "items",
|
|
22
|
+
"flag": "items",
|
|
23
|
+
"kind": "json",
|
|
24
|
+
"required": true,
|
|
25
|
+
"description": "One pill each, at most four."
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"required": true
|
|
29
|
+
},
|
|
30
|
+
"multipart": null,
|
|
31
|
+
"attachments": false,
|
|
32
|
+
"anonymous": false,
|
|
33
|
+
"agents": [
|
|
34
|
+
"senseiToken"
|
|
35
|
+
]
|
|
36
|
+
};
|