@kosuke-ai/cli 6.10.0 → 6.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/commands/activity/list.js +2 -2
- package/dist/generated/commands/crons/artifacts-list.js +1 -1
- package/dist/generated/commands/crons/create.js +1 -1
- package/dist/generated/commands/crons/delete.js +1 -1
- package/dist/generated/commands/crons/get.js +1 -1
- package/dist/generated/commands/crons/list.js +1 -1
- package/dist/generated/commands/crons/projects-resume.js +1 -1
- package/dist/generated/commands/crons/run.js +1 -1
- package/dist/generated/commands/crons/runs-artifacts-get.js +1 -1
- package/dist/generated/commands/crons/runs-artifacts-list.js +1 -1
- package/dist/generated/commands/crons/runs-cancel.js +1 -1
- package/dist/generated/commands/crons/runs-diagnostics.js +1 -1
- package/dist/generated/commands/crons/runs-get.js +1 -1
- package/dist/generated/commands/crons/runs-list.js +1 -1
- package/dist/generated/commands/crons/runs-messages.js +1 -1
- package/dist/generated/commands/crons/update.js +1 -1
- package/dist/generated/commands/deploy/cancel.js +1 -1
- package/dist/generated/commands/deploy/list.js +1 -1
- package/dist/generated/commands/deploy/messages.js +1 -1
- package/dist/generated/commands/deploy/queue-delete.js +1 -1
- package/dist/generated/commands/deploy/queue-list.js +1 -1
- package/dist/generated/commands/deploy/queue-move.js +1 -1
- package/dist/generated/commands/deploy/queue-resume.js +1 -1
- package/dist/generated/commands/deploy/queue-send.js +1 -1
- package/dist/generated/commands/deploy/queue-steer.js +1 -1
- package/dist/generated/commands/deploy/queue-update.js +1 -1
- package/dist/generated/commands/deploy/run.js +1 -1
- package/dist/generated/commands/deploy/set-model.js +1 -1
- package/dist/generated/commands/github/repositories.js +1 -1
- package/dist/generated/commands/github/status.js +1 -1
- package/dist/generated/commands/index.js +116 -118
- package/dist/generated/commands/integrations/execute.js +1 -1
- package/dist/generated/commands/integrations/tools.js +1 -1
- package/dist/generated/commands/models/list.js +1 -1
- package/dist/generated/commands/preview/get.js +1 -1
- package/dist/generated/commands/preview/health.js +1 -1
- package/dist/generated/commands/preview/reset.js +1 -1
- package/dist/generated/commands/preview/share-create.js +1 -1
- package/dist/generated/commands/preview/share-delete.js +1 -1
- package/dist/generated/commands/preview/share-get.js +1 -1
- package/dist/generated/commands/preview/shared-artifact.js +1 -1
- package/dist/generated/commands/preview/shared.js +1 -1
- package/dist/generated/commands/projects/branches.js +1 -1
- package/dist/generated/commands/projects/create.js +2 -2
- package/dist/generated/commands/projects/delete.js +1 -1
- package/dist/generated/commands/projects/env-vars-add.js +1 -1
- package/dist/generated/commands/projects/env-vars-remove.js +1 -1
- package/dist/generated/commands/projects/get.js +1 -1
- package/dist/generated/commands/projects/labels-color.js +1 -1
- package/dist/generated/commands/projects/labels-delete.js +1 -1
- package/dist/generated/commands/projects/labels-usage.js +1 -1
- package/dist/generated/commands/projects/labels.js +1 -1
- package/dist/generated/commands/projects/list.js +2 -2
- package/dist/generated/commands/projects/qa-guide-get.js +1 -1
- package/dist/generated/commands/projects/qa-guide-set.js +1 -1
- package/dist/generated/commands/projects/services-add.js +1 -1
- package/dist/generated/commands/projects/services-list.js +1 -1
- package/dist/generated/commands/projects/services-remove.js +1 -1
- package/dist/generated/commands/projects/services-update.js +1 -1
- package/dist/generated/commands/projects/settings-get.js +1 -1
- package/dist/generated/commands/projects/settings-import.js +1 -1
- package/dist/generated/commands/projects/settings-update.js +1 -1
- package/dist/generated/commands/projects/skills.js +1 -1
- package/dist/generated/commands/projects/update.js +1 -1
- package/dist/generated/commands/sensei/cards.js +27 -0
- package/dist/generated/commands/{workspaces/lead-merge.js → sensei/merge.js} +7 -9
- package/dist/generated/commands/{workspaces/lead-notifications-open.js → sensei/notifications-open.js} +5 -6
- package/dist/generated/commands/sensei/proposals-create.js +23 -0
- package/dist/generated/commands/{workspaces/lead-review-request.js → sensei/review-request.js} +8 -10
- package/dist/generated/commands/{workspaces/lead-session-send.js → sensei/session-send.js} +8 -10
- package/dist/generated/commands/{workspaces/lead-triage.js → sensei/triage.js} +8 -10
- package/dist/generated/commands/sessions/activate.js +1 -1
- package/dist/generated/commands/sessions/all.js +2 -2
- package/dist/generated/commands/sessions/artifacts-attach.js +3 -3
- package/dist/generated/commands/sessions/artifacts-get.js +1 -1
- package/dist/generated/commands/sessions/artifacts-list.js +1 -1
- package/dist/generated/commands/sessions/comments-add.js +1 -1
- package/dist/generated/commands/sessions/comments-delete.js +1 -1
- package/dist/generated/commands/sessions/comments-list.js +1 -1
- package/dist/generated/commands/sessions/comments-update.js +1 -1
- package/dist/generated/commands/sessions/create.js +15 -1
- package/dist/generated/commands/sessions/delete.js +1 -1
- package/dist/generated/commands/sessions/diff-comments-add.js +1 -1
- package/dist/generated/commands/sessions/diff-comments-delete.js +1 -1
- package/dist/generated/commands/sessions/diff-comments-list.js +1 -1
- package/dist/generated/commands/sessions/diff-comments-update.js +1 -1
- package/dist/generated/commands/sessions/diff-commits.js +1 -1
- package/dist/generated/commands/sessions/diff-files.js +1 -1
- package/dist/generated/commands/sessions/diff-patch.js +1 -1
- package/dist/generated/commands/sessions/edit-prompt.js +1 -1
- package/dist/generated/commands/sessions/files-get.js +1 -1
- package/dist/generated/commands/sessions/files-list.js +1 -1
- package/dist/generated/commands/sessions/files-write.js +1 -1
- package/dist/generated/commands/sessions/get.js +1 -1
- package/dist/generated/commands/sessions/git-commit-message.js +1 -1
- package/dist/generated/commands/sessions/git-commit.js +1 -1
- package/dist/generated/commands/sessions/git-push.js +1 -1
- package/dist/generated/commands/sessions/git-state.js +1 -1
- package/dist/generated/commands/sessions/jobs-cancel.js +1 -1
- package/dist/generated/commands/sessions/jobs-get.js +1 -1
- package/dist/generated/commands/sessions/jobs-list.js +1 -1
- package/dist/generated/commands/sessions/labels-edit.js +1 -1
- package/dist/generated/commands/sessions/labels-set.js +1 -1
- package/dist/generated/commands/sessions/list.js +1 -1
- package/dist/generated/commands/sessions/mark-read.js +1 -1
- package/dist/generated/commands/sessions/message.js +36 -0
- package/dist/generated/commands/sessions/messages.js +19 -4
- package/dist/generated/commands/sessions/needs-you.js +2 -2
- package/dist/generated/commands/sessions/queue-delete.js +1 -1
- package/dist/generated/commands/sessions/queue-list.js +1 -1
- package/dist/generated/commands/sessions/queue-move.js +1 -1
- package/dist/generated/commands/sessions/queue-resume.js +1 -1
- package/dist/generated/commands/sessions/queue-send.js +1 -1
- package/dist/generated/commands/sessions/queue-steer.js +1 -1
- package/dist/generated/commands/sessions/queue-update.js +1 -1
- package/dist/generated/commands/sessions/runtime-command.js +1 -1
- package/dist/generated/commands/sessions/search.js +2 -2
- package/dist/generated/commands/sessions/send.js +1 -1
- package/dist/generated/commands/sessions/steer.js +1 -1
- package/dist/generated/commands/sessions/sync.js +1 -1
- package/dist/generated/commands/sessions/title-generate.js +1 -1
- package/dist/generated/commands/sessions/update.js +1 -1
- package/dist/generated/commands/user/auth-token-revoke.js +1 -1
- package/dist/generated/commands/user/integrations-list.js +1 -1
- package/dist/generated/commands/user/integrations-remove.js +1 -1
- package/dist/generated/commands/user/plugins-list.js +1 -1
- package/dist/generated/commands/user/plugins-update.js +1 -1
- package/dist/generated/commands/user/profile.js +2 -2
- package/dist/generated/commands/user/push-devices-register.js +1 -1
- package/dist/generated/commands/user/push-devices-remove.js +1 -1
- package/dist/generated/commands/user/skills-create.js +1 -1
- package/dist/generated/commands/user/skills-delete.js +1 -1
- package/dist/generated/commands/user/skills-get.js +1 -1
- package/dist/generated/commands/user/skills-list.js +1 -1
- package/dist/generated/commands/user/skills-update.js +1 -1
- package/dist/generated/commands/user/subscriptions-delete.js +1 -1
- package/dist/generated/commands/user/subscriptions-get.js +1 -1
- package/dist/generated/commands/user/subscriptions-login-claude-complete.js +1 -1
- package/dist/generated/commands/user/subscriptions-login-claude-start.js +1 -1
- package/dist/generated/commands/user/subscriptions-login-codex-complete.js +1 -1
- package/dist/generated/commands/user/subscriptions-login-codex-start.js +1 -1
- package/dist/generated/commands/user/subscriptions-logins-delete.js +1 -1
- package/dist/generated/commands/user/subscriptions-logins-reorder.js +1 -1
- package/dist/generated/commands/user/subscriptions-set-default-model.js +1 -1
- package/dist/generated/commands/user/subscriptions-set-key.js +1 -1
- package/dist/generated/commands/user/subscriptions-usage.js +1 -1
- package/dist/generated/commands/workspaces/access-status.js +1 -1
- package/dist/generated/commands/workspaces/ai-provider-get.js +1 -1
- package/dist/generated/commands/workspaces/ai-provider-logins-reorder.js +1 -1
- package/dist/generated/commands/workspaces/ai-provider-remove.js +1 -1
- package/dist/generated/commands/workspaces/ai-provider-set.js +1 -1
- package/dist/generated/commands/workspaces/ai-provider-usage-claude.js +1 -1
- package/dist/generated/commands/workspaces/ai-provider-usage-codex.js +1 -1
- package/dist/generated/commands/workspaces/ai-provider-usage-coding-plan.js +1 -1
- package/dist/generated/commands/workspaces/ai-provider-usage-deepseek.js +1 -1
- package/dist/generated/commands/workspaces/ai-provider-usage-kimi-code.js +1 -1
- package/dist/generated/commands/workspaces/artifacts.js +1 -1
- package/dist/generated/commands/workspaces/credits.js +1 -1
- package/dist/generated/commands/workspaces/get.js +1 -1
- package/dist/generated/commands/workspaces/integrations-get.js +1 -1
- package/dist/generated/commands/workspaces/integrations-list.js +1 -1
- package/dist/generated/commands/workspaces/integrations-remove.js +1 -1
- package/dist/generated/commands/workspaces/integrations-slack-get.js +1 -1
- package/dist/generated/commands/workspaces/list.js +1 -1
- package/dist/generated/commands/workspaces/members.js +1 -1
- package/dist/generated/commands/workspaces/plugins-list.js +1 -1
- package/dist/generated/commands/workspaces/plugins-update.js +1 -1
- package/dist/generated/commands/workspaces/provider-login-claude-complete.js +1 -1
- package/dist/generated/commands/workspaces/provider-login-claude-start.js +1 -1
- package/dist/generated/commands/workspaces/provider-login-codex-complete.js +1 -1
- package/dist/generated/commands/workspaces/provider-login-codex-start.js +1 -1
- package/dist/generated/commands/workspaces/sandbox-limit.js +1 -1
- package/dist/generated/commands/workspaces/skills-create.js +1 -1
- package/dist/generated/commands/workspaces/skills-delete.js +1 -1
- package/dist/generated/commands/workspaces/skills-get.js +1 -1
- package/dist/generated/commands/workspaces/skills-list.js +1 -1
- package/dist/generated/commands/workspaces/skills-update.js +1 -1
- package/dist/generated/commands/workspaces/stop-sandboxes.js +1 -1
- package/dist/generated/commands/workspaces/timezone-set.js +1 -1
- package/dist/generated/commands/workspaces/usage.js +1 -1
- package/dist/program.js +4 -4
- package/dist/runtime/attach.js +46 -6
- package/dist/runtime/credentials.js +15 -7
- package/openapi.json +4327 -4221
- package/package.json +1 -1
- package/dist/generated/commands/workspaces/getting-started-get.js +0 -22
- package/dist/generated/commands/workspaces/getting-started-update.js +0 -36
- package/dist/generated/commands/workspaces/lead-cards.js +0 -21
- package/dist/generated/commands/workspaces/lead-proposals-create.js +0 -25
|
@@ -5,7 +5,7 @@ export const operation = {
|
|
|
5
5
|
"projects",
|
|
6
6
|
"create"
|
|
7
7
|
],
|
|
8
|
-
"summary": "Connect a GitHub repository as a project in a workspace.",
|
|
8
|
+
"summary": "Connect a GitHub repository as a project in a workspace. Its first Deploy starts by itself, as the caller's; sessions start once it lands.",
|
|
9
9
|
"pathParams": [],
|
|
10
10
|
"query": [],
|
|
11
11
|
"body": {
|
|
@@ -37,5 +37,5 @@ export const operation = {
|
|
|
37
37
|
"sandboxToken": true,
|
|
38
38
|
"orchestratorToken": true,
|
|
39
39
|
"cronToken": true,
|
|
40
|
-
"
|
|
40
|
+
"senseiToken": true
|
|
41
41
|
};
|
|
@@ -5,7 +5,7 @@ export const operation = {
|
|
|
5
5
|
"projects",
|
|
6
6
|
"list"
|
|
7
7
|
],
|
|
8
|
-
"summary": "List the projects you can reach
|
|
8
|
+
"summary": "List the projects you can reach, across every workspace you belong to. An agent token sees only its own workspace.",
|
|
9
9
|
"pathParams": [],
|
|
10
10
|
"query": [],
|
|
11
11
|
"body": null,
|
|
@@ -15,5 +15,5 @@ export const operation = {
|
|
|
15
15
|
"sandboxToken": true,
|
|
16
16
|
"orchestratorToken": true,
|
|
17
17
|
"cronToken": true,
|
|
18
|
-
"
|
|
18
|
+
"senseiToken": true
|
|
19
19
|
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "get",
|
|
3
|
+
"path": "/api/sensei/cards",
|
|
4
|
+
"command": [
|
|
5
|
+
"sensei",
|
|
6
|
+
"cards"
|
|
7
|
+
],
|
|
8
|
+
"summary": "List your open Sensei Cards in every workspace you belong to, in the order the triager ranked them, each naming its workspace, with how many wait in each workspace.",
|
|
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
|
+
"body": null,
|
|
20
|
+
"multipart": null,
|
|
21
|
+
"attachments": false,
|
|
22
|
+
"anonymous": false,
|
|
23
|
+
"sandboxToken": true,
|
|
24
|
+
"orchestratorToken": true,
|
|
25
|
+
"cronToken": true,
|
|
26
|
+
"senseiToken": true
|
|
27
|
+
};
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
export const operation = {
|
|
2
2
|
"method": "post",
|
|
3
|
-
"path": "/api/
|
|
3
|
+
"path": "/api/sensei/merge",
|
|
4
4
|
"command": [
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
],
|
|
8
|
-
"summary": "Put the pull request of one of your own Chat Sessions in the Merge Queue, as a Merge tap on a Lead Card does. Refused with the reason unless you are its Assignee and the pull request is open and approved.",
|
|
9
|
-
"pathParams": [
|
|
10
|
-
"workspaceId"
|
|
5
|
+
"sensei",
|
|
6
|
+
"merge"
|
|
11
7
|
],
|
|
8
|
+
"summary": "Put the pull request of one of your own Chat Sessions, in any workspace you belong to, in the Merge Queue, as a Merge tap on a Sensei Card does. Refused with the reason unless you are its Assignee and the pull request is open and approved.",
|
|
9
|
+
"pathParams": [],
|
|
12
10
|
"query": [],
|
|
13
11
|
"body": {
|
|
14
12
|
"fields": [
|
|
@@ -17,7 +15,7 @@ export const operation = {
|
|
|
17
15
|
"flag": "session-id",
|
|
18
16
|
"kind": "string",
|
|
19
17
|
"required": true,
|
|
20
|
-
"description": "The Chat Session whose pull request to queue."
|
|
18
|
+
"description": "The Chat Session whose pull request to queue, in any workspace you belong to."
|
|
21
19
|
}
|
|
22
20
|
],
|
|
23
21
|
"required": true
|
|
@@ -28,5 +26,5 @@ export const operation = {
|
|
|
28
26
|
"sandboxToken": false,
|
|
29
27
|
"orchestratorToken": false,
|
|
30
28
|
"cronToken": false,
|
|
31
|
-
"
|
|
29
|
+
"senseiToken": true
|
|
32
30
|
};
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
export const operation = {
|
|
2
2
|
"method": "post",
|
|
3
|
-
"path": "/api/
|
|
3
|
+
"path": "/api/sensei/notifications/{notificationId}/open",
|
|
4
4
|
"command": [
|
|
5
|
-
"
|
|
6
|
-
"
|
|
5
|
+
"sensei",
|
|
6
|
+
"notifications",
|
|
7
7
|
"open"
|
|
8
8
|
],
|
|
9
|
-
"summary": "Mark one of your
|
|
9
|
+
"summary": "Mark one of your Sensei notifications, from any workspace, as opened.",
|
|
10
10
|
"pathParams": [
|
|
11
|
-
"workspaceId",
|
|
12
11
|
"notificationId"
|
|
13
12
|
],
|
|
14
13
|
"query": [],
|
|
@@ -19,5 +18,5 @@ export const operation = {
|
|
|
19
18
|
"sandboxToken": true,
|
|
20
19
|
"orchestratorToken": true,
|
|
21
20
|
"cronToken": true,
|
|
22
|
-
"
|
|
21
|
+
"senseiToken": true
|
|
23
22
|
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "post",
|
|
3
|
+
"path": "/api/sensei/proposals",
|
|
4
|
+
"command": [
|
|
5
|
+
"sensei",
|
|
6
|
+
"proposals",
|
|
7
|
+
"create"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Open a Sensei Card in a member's Needs you that proposes one thing, with one line of why, in the workspace of its projectId, which must be one you belong to: your own, or from a Cron Run the Needs you of the member memberId names. kind start proposes starting a Backlog session, and is refused unless that member is idle in every workspace. kind delete_ticket (with evidence), merge_tickets (with sessionIds, mergedContent and the promptRevision sessions get gave for each ticket in revisions) and create_cron (with name, prompt, crontab, read in the Workspace Timezone, and projectIds of that workspace, and no sessionId) change nothing until the member accepts the card. Pass the body whole with --body or --body-file.",
|
|
10
|
+
"pathParams": [],
|
|
11
|
+
"query": [],
|
|
12
|
+
"body": {
|
|
13
|
+
"fields": null,
|
|
14
|
+
"required": true
|
|
15
|
+
},
|
|
16
|
+
"multipart": null,
|
|
17
|
+
"attachments": false,
|
|
18
|
+
"anonymous": false,
|
|
19
|
+
"sandboxToken": true,
|
|
20
|
+
"orchestratorToken": true,
|
|
21
|
+
"cronToken": true,
|
|
22
|
+
"senseiToken": true
|
|
23
|
+
};
|
package/dist/generated/commands/{workspaces/lead-review-request.js → sensei/review-request.js}
RENAMED
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
export const operation = {
|
|
2
2
|
"method": "post",
|
|
3
|
-
"path": "/api/
|
|
3
|
+
"path": "/api/sensei/review-requests",
|
|
4
4
|
"command": [
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
],
|
|
8
|
-
"summary": "Ask again, as Kosuke, the reviewers one of your member’s Chat Sessions asked before, on its open pull request. Only the Lead calls it. In an Event Turn it names a fact of its batch about that session. A retry for the same fact or Turn asks nobody twice. Answers who GitHub took and the reason for each one it refused.",
|
|
9
|
-
"pathParams": [
|
|
10
|
-
"workspaceId"
|
|
5
|
+
"sensei",
|
|
6
|
+
"review-request"
|
|
11
7
|
],
|
|
8
|
+
"summary": "Ask again, as Kosuke, the reviewers one of your member’s Chat Sessions, in any workspace they belong to, asked before, on its open pull request. Only Sensei calls it. In an Event Turn it names a fact of its batch about that session. A retry for the same fact or Turn asks nobody twice. Answers who GitHub took and the reason for each one it refused.",
|
|
9
|
+
"pathParams": [],
|
|
12
10
|
"query": [],
|
|
13
11
|
"body": {
|
|
14
12
|
"fields": [
|
|
@@ -17,14 +15,14 @@ export const operation = {
|
|
|
17
15
|
"flag": "session-id",
|
|
18
16
|
"kind": "string",
|
|
19
17
|
"required": true,
|
|
20
|
-
"description": "The Chat Session whose pull request to ask again. Its Assignee is your member."
|
|
18
|
+
"description": "The Chat Session whose pull request to ask again, in any workspace your member belongs to. Its Assignee is your member."
|
|
21
19
|
},
|
|
22
20
|
{
|
|
23
21
|
"name": "factId",
|
|
24
22
|
"flag": "fact-id",
|
|
25
23
|
"kind": "string",
|
|
26
24
|
"required": false,
|
|
27
|
-
"description": "The
|
|
25
|
+
"description": "The Sensei Fact the re-ask answers. Required in an Event Turn: one of its batch, about this session."
|
|
28
26
|
}
|
|
29
27
|
],
|
|
30
28
|
"required": true
|
|
@@ -35,5 +33,5 @@ export const operation = {
|
|
|
35
33
|
"sandboxToken": false,
|
|
36
34
|
"orchestratorToken": false,
|
|
37
35
|
"cronToken": false,
|
|
38
|
-
"
|
|
36
|
+
"senseiToken": true
|
|
39
37
|
};
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
export const operation = {
|
|
2
2
|
"method": "post",
|
|
3
|
-
"path": "/api/
|
|
3
|
+
"path": "/api/sensei/session-sends",
|
|
4
4
|
"command": [
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
],
|
|
8
|
-
"summary": "Send a message into one of your member’s Chat Sessions as Kosuke, from the Lead, with an optional /kosuke:ship or /kosuke:sync-branch. Only the Lead calls it. In an Event Turn it names a fact of its batch about that session. One send per session per Turn, and at most 3 in a row with nothing new from a person or GitHub; a refusal comes back with its reason.",
|
|
9
|
-
"pathParams": [
|
|
10
|
-
"workspaceId"
|
|
5
|
+
"sensei",
|
|
6
|
+
"session-send"
|
|
11
7
|
],
|
|
8
|
+
"summary": "Send a message into one of your member’s Chat Sessions, in any workspace they belong to, as Kosuke, from Sensei, with an optional /kosuke:ship or /kosuke:sync-branch. Only Sensei calls it. In an Event Turn it names a fact of its batch about that session. One send per session per Turn, and at most 3 in a row with nothing new from a person or GitHub; a refusal comes back with its reason.",
|
|
9
|
+
"pathParams": [],
|
|
12
10
|
"query": [],
|
|
13
11
|
"body": {
|
|
14
12
|
"fields": [
|
|
@@ -17,14 +15,14 @@ export const operation = {
|
|
|
17
15
|
"flag": "session-id",
|
|
18
16
|
"kind": "string",
|
|
19
17
|
"required": true,
|
|
20
|
-
"description": "The Chat Session to send into. Its Assignee is your member."
|
|
18
|
+
"description": "The Chat Session to send into, in any workspace your member belongs to. Its Assignee is your member."
|
|
21
19
|
},
|
|
22
20
|
{
|
|
23
21
|
"name": "factId",
|
|
24
22
|
"flag": "fact-id",
|
|
25
23
|
"kind": "string",
|
|
26
24
|
"required": false,
|
|
27
|
-
"description": "The
|
|
25
|
+
"description": "The Sensei Fact the send answers. Required in an Event Turn: one of its batch, about this session."
|
|
28
26
|
},
|
|
29
27
|
{
|
|
30
28
|
"name": "content",
|
|
@@ -53,5 +51,5 @@ export const operation = {
|
|
|
53
51
|
"sandboxToken": false,
|
|
54
52
|
"orchestratorToken": false,
|
|
55
53
|
"cronToken": false,
|
|
56
|
-
"
|
|
54
|
+
"senseiToken": true
|
|
57
55
|
};
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
export const operation = {
|
|
2
2
|
"method": "post",
|
|
3
|
-
"path": "/api/
|
|
3
|
+
"path": "/api/sensei/triage",
|
|
4
4
|
"command": [
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
],
|
|
8
|
-
"summary": "Write your own Lead Cards in a workspace: open, update and close them from the Lead Facts you received, put them in order, one line of why per card, one notification, and the Welcome back sentence. Answers the cards opened and closed, what was ranked, whether the notification went out, and every part it refused with the reason. Pass the body whole with --body or --body-file.",
|
|
9
|
-
"pathParams": [
|
|
10
|
-
"workspaceId"
|
|
5
|
+
"sensei",
|
|
6
|
+
"triage"
|
|
11
7
|
],
|
|
8
|
+
"summary": "Write your own Sensei Cards in every workspace you belong to: open, update and close them from the Sensei Facts you received, each in the workspace of its session or project, put them all in one order, one line of why per card, one notification, and the Welcome back sentence. Answers the cards opened, with their workspace, and closed, what was ranked, whether the notification went out, and every part it refused with the reason. Pass the body whole with --body or --body-file.",
|
|
9
|
+
"pathParams": [],
|
|
12
10
|
"query": [],
|
|
13
11
|
"body": {
|
|
14
12
|
"fields": [
|
|
@@ -17,7 +15,7 @@ export const operation = {
|
|
|
17
15
|
"flag": "open",
|
|
18
16
|
"kind": "json",
|
|
19
17
|
"required": false,
|
|
20
|
-
"description": "Cards to open, or to update when you already have one open on that session with that key. Each names the facts it is basedOn, all yours and about
|
|
18
|
+
"description": "Cards to open, or to update when you already have one open on that session, or that project for a project card, with that key. Each names its sessionId or, about a project's Deploy, its projectId, and opens in that session's or project's workspace, which must be one you belong to. Each names the facts it is basedOn, all yours and about the same session or project, none older than the member's last answer. At most 4 parts and 6 actions. A JSON array."
|
|
21
19
|
},
|
|
22
20
|
{
|
|
23
21
|
"name": "close",
|
|
@@ -45,7 +43,7 @@ export const operation = {
|
|
|
45
43
|
"flag": "notify",
|
|
46
44
|
"kind": "json",
|
|
47
45
|
"required": false,
|
|
48
|
-
"description": "One notification for one open card: once per card, never for a skipped card, refused while
|
|
46
|
+
"description": "One notification for one open card: once per card, never for a skipped card, refused while Sensei is on screen. A JSON object."
|
|
49
47
|
},
|
|
50
48
|
{
|
|
51
49
|
"name": "welcome",
|
|
@@ -63,5 +61,5 @@ export const operation = {
|
|
|
63
61
|
"sandboxToken": true,
|
|
64
62
|
"orchestratorToken": true,
|
|
65
63
|
"cronToken": true,
|
|
66
|
-
"
|
|
64
|
+
"senseiToken": true
|
|
67
65
|
};
|
|
@@ -5,7 +5,7 @@ export const operation = {
|
|
|
5
5
|
"sessions",
|
|
6
6
|
"all"
|
|
7
7
|
],
|
|
8
|
-
"summary": "List chat sessions across every workspace you belong to, each with its workspace, project, URL and Needs You reason. q narrows them to titles containing it, ids to the sessions it names. With needsYou, at most 100, most severe first.
|
|
8
|
+
"summary": "List chat sessions across every workspace you belong to, each with its workspace, project, URL and Needs You reason. q narrows them to titles containing it, ids to the sessions it names. With needsYou, at most 100, most severe first. An agent token reads its own workspace only.",
|
|
9
9
|
"pathParams": [],
|
|
10
10
|
"query": [
|
|
11
11
|
{
|
|
@@ -114,5 +114,5 @@ export const operation = {
|
|
|
114
114
|
"sandboxToken": true,
|
|
115
115
|
"orchestratorToken": true,
|
|
116
116
|
"cronToken": true,
|
|
117
|
-
"
|
|
117
|
+
"senseiToken": true
|
|
118
118
|
};
|
|
@@ -6,7 +6,7 @@ export const operation = {
|
|
|
6
6
|
"artifacts",
|
|
7
7
|
"attach"
|
|
8
8
|
],
|
|
9
|
-
"summary": "Copy one of your
|
|
9
|
+
"summary": "Copy one of your Sensei's Prototypes onto a Backlog session as its own artifacts: the variant named, or every variant.",
|
|
10
10
|
"pathParams": [
|
|
11
11
|
"projectId",
|
|
12
12
|
"sessionId"
|
|
@@ -19,7 +19,7 @@ export const operation = {
|
|
|
19
19
|
"flag": "prototype",
|
|
20
20
|
"kind": "string",
|
|
21
21
|
"required": true,
|
|
22
|
-
"description": "The Prototype to copy, by the name
|
|
22
|
+
"description": "The Prototype to copy, by the name Sensei wrote it under."
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
25
|
"name": "variant",
|
|
@@ -44,5 +44,5 @@ export const operation = {
|
|
|
44
44
|
"sandboxToken": true,
|
|
45
45
|
"orchestratorToken": true,
|
|
46
46
|
"cronToken": true,
|
|
47
|
-
"
|
|
47
|
+
"senseiToken": true
|
|
48
48
|
};
|
|
@@ -77,6 +77,13 @@ export const operation = {
|
|
|
77
77
|
"kind": "string",
|
|
78
78
|
"required": false,
|
|
79
79
|
"description": "Why this session is being filed and what turned it up, in one line. Required from a sandbox or a Cron Run, ignored from anyone else."
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "startWhenDeployed",
|
|
83
|
+
"flag": "start-when-deployed",
|
|
84
|
+
"kind": "boolean",
|
|
85
|
+
"required": false,
|
|
86
|
+
"description": "With status=backlog, from a member: when the project's first Deploy has not landed, Kosuke starts the ticket with /kosuke:ship as its Assignee once it lands. The session's startWhenDeployedAt says whether it was marked; ignored otherwise."
|
|
80
87
|
}
|
|
81
88
|
],
|
|
82
89
|
"required": true
|
|
@@ -147,6 +154,13 @@ export const operation = {
|
|
|
147
154
|
"kind": "string",
|
|
148
155
|
"required": false,
|
|
149
156
|
"description": "Why this session is being filed and what turned it up, in one line. Required from a sandbox or a Cron Run, ignored from anyone else."
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"name": "startWhenDeployed",
|
|
160
|
+
"flag": "start-when-deployed",
|
|
161
|
+
"kind": "boolean",
|
|
162
|
+
"required": false,
|
|
163
|
+
"description": "With status=backlog, from a member: when the project's first Deploy has not landed, Kosuke starts the ticket with /kosuke:ship as its Assignee once it lands. The session's startWhenDeployedAt says whether it was marked; ignored otherwise."
|
|
150
164
|
}
|
|
151
165
|
],
|
|
152
166
|
"attachments": true,
|
|
@@ -154,5 +168,5 @@ export const operation = {
|
|
|
154
168
|
"sandboxToken": true,
|
|
155
169
|
"orchestratorToken": true,
|
|
156
170
|
"cronToken": true,
|
|
157
|
-
"
|
|
171
|
+
"senseiToken": true
|
|
158
172
|
};
|