@kosuke-ai/kosuke 1.0.24 → 1.0.26

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.
@@ -6,7 +6,7 @@ export const operation = {
6
6
  "cards",
7
7
  "set"
8
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.",
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 session now lives in another thread (SESSION_MOVED), or when an id it names is not in the member's reach.",
10
10
  "pathParams": [],
11
11
  "query": [],
12
12
  "body": {
@@ -40,7 +40,7 @@ export const operation = {
40
40
  "flag": "open",
41
41
  "kind": "json",
42
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."
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."
44
44
  },
45
45
  {
46
46
  "name": "verb",
@@ -48,6 +48,24 @@ export const operation = {
48
48
  "kind": "string",
49
49
  "required": false
50
50
  },
51
+ {
52
+ "name": "actions",
53
+ "flag": "actions",
54
+ "kind": "json",
55
+ "required": false,
56
+ "description": "The card's buttons beside Reply and the negative button, 1 to 3 with the verb counted among them: each a label of 24 characters at most, the prompt its tap sends to Sensei in this thread as the member's message, exactly as written and shown under the button, and a tone: primary (the filled button a swipe right taps, one at most, and none beside a verb, which is the primary), default, or destructive."
57
+ },
58
+ {
59
+ "name": "urgency",
60
+ "flag": "urgency",
61
+ "kind": "string",
62
+ "required": false,
63
+ "description": "Whether the card notifies the member's devices: now sends a push notification, later waits in its thread with none. Omit it for now.",
64
+ "choices": [
65
+ "now",
66
+ "later"
67
+ ]
68
+ },
51
69
  {
52
70
  "name": "negativeLabel",
53
71
  "flag": "negative-label",
@@ -125,7 +143,7 @@ export const operation = {
125
143
  "flag": "covers",
126
144
  "kind": "json",
127
145
  "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."
146
+ "description": "The ids of the incoming_message events of this thread that this card answers. 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
147
  },
130
148
  {
131
149
  "name": "stateKey",
@@ -6,7 +6,7 @@ export const operation = {
6
6
  "memory",
7
7
  "set"
8
8
  ],
9
- "summary": "Save a Memory file at the revision you read. Sensei must name the card approved to start this Turn.",
9
+ "summary": "Save a Memory file at the revision you read. Refused with 409 when it changed since.",
10
10
  "pathParams": [],
11
11
  "query": [],
12
12
  "body": {
@@ -39,7 +39,7 @@ export const operation = {
39
39
  "flag": "card-id",
40
40
  "kind": "string",
41
41
  "required": false,
42
- "description": "The Memory card the member approved to start this Turn."
42
+ "description": "The Memory card this write answers, if any. Kosuke reads nothing from it."
43
43
  }
44
44
  ],
45
45
  "required": true
@@ -6,7 +6,7 @@ export const operation = {
6
6
  "go-ahead",
7
7
  "set"
8
8
  ],
9
- "summary": "Give the session's pull request the go-ahead to merge, as the session's member, on one head: goAheadSha, goAheadBy, goAheadAt and goAheadMerges. A push to another head takes it away. With `merge`, Kosuke merges it on its own; without, it waits for whoever merges it, and Batch Merging is asked to look. Members and their Sensei only.",
9
+ "summary": "Give the session's pull request the go-ahead to merge, as the session's member, on one head: goAheadSha, goAheadBy and goAheadAt. The project's Merge agent (the merge train, or Batch merging when it is on) is woken and merges it only at that head. Members and their Sensei only.",
10
10
  "pathParams": [
11
11
  "projectId",
12
12
  "sessionId"
@@ -20,13 +20,6 @@ export const operation = {
20
20
  "kind": "string",
21
21
  "required": false,
22
22
  "description": "The head commit the go-ahead is given on. Defaults to the head the session last read from GitHub."
23
- },
24
- {
25
- "name": "merge",
26
- "flag": "merge",
27
- "kind": "boolean",
28
- "required": false,
29
- "description": "Kosuke merges it on its own, now or once GitHub allows. Without it the pull request is left for whoever merges it, such as the next Batch."
30
23
  }
31
24
  ],
32
25
  "required": true
@@ -8,7 +8,7 @@ export const operation = {
8
8
  "variant": {
9
9
  "scope": "all"
10
10
  },
11
- "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. Each session carries waitingForDeploy: true while it waits for the Deploy to finish, false once the Deploy ends, before its sandbox starts; goAheadSha and goAheadMerges, its go-ahead on its open pull request; and mergeRule, its Assignee's Merge rule.",
11
+ "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. Each session carries waitingForDeploy: true while it waits for the Deploy to finish, false once the Deploy ends, before its sandbox starts; goAheadSha, the head its open pull request has the go-ahead on; and mergeRule, its Assignee's Merge rule.",
12
12
  "pathParams": [],
13
13
  "query": [
14
14
  {
@@ -6,7 +6,7 @@ export const operation = {
6
6
  "qa",
7
7
  "set"
8
8
  ],
9
- "summary": "Record the commit QA passed on as the session's qaPassedSha: a member's override. A session token may only repeat the pass `sessions qa runs finish` recorded at that commit. A pull request is done when qaPassedSha equals its head.",
9
+ "summary": "Record the commit QA passed on as the session's qaPassedSha: a member's override, or the session's own agent. `sessions qa runs finish` records it when the whole checklist passed. A pull request is done when qaPassedSha equals its head.",
10
10
  "pathParams": [
11
11
  "projectId",
12
12
  "sessionId"
@@ -137,10 +137,7 @@ export const FORMER_COMMANDS = [
137
137
  operation: 'POST /api/sensei/notifications/{notificationId}/open',
138
138
  },
139
139
  { from: 'sensei reels activity', operation: 'GET /api/sensei/reels/activity' },
140
- { from: 'sensei reels ranks', operation: 'GET /api/sensei/reels/ranks' },
141
140
  { from: 'sensei repository', operation: 'POST /api/sensei/repository' },
142
- { from: 'sensei review approve', operation: 'POST /api/sensei/review/approve' },
143
- { from: 'sensei review ask', operation: 'POST /api/sensei/review/ask' },
144
141
  { from: 'sensei review context', operation: 'GET /api/sensei/review/context' },
145
142
  { from: 'sensei sessions assess', operation: 'POST /api/sensei/sessions/assess' },
146
143
  { from: 'sensei sessions facts', operation: 'GET /api/sensei/sessions/facts' },