@kosuke-ai/kosuke 1.0.55 → 1.0.56
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 +4 -0
- package/README.md +3 -3
- package/dist/agent/summary.js +2 -2
- package/dist/commands/agent.js +1 -1
- package/dist/generated/commands/activity/list.js +1 -1
- package/dist/generated/commands/crons/create--personal.js +2 -2
- package/dist/generated/commands/crons/create.js +2 -2
- package/dist/generated/commands/crons/get--personal.js +1 -1
- package/dist/generated/commands/crons/list--personal.js +1 -1
- package/dist/generated/commands/crons/update--personal.js +1 -1
- package/dist/generated/commands/crons/update.js +1 -1
- package/dist/generated/commands/integrations/connections-delete--personal.js +1 -1
- package/dist/generated/commands/integrations/connections-delete.js +1 -1
- package/dist/generated/commands/mac/browser-login.js +1 -1
- package/dist/generated/commands/mac/browser-profiles-list.js +1 -1
- package/dist/generated/commands/mac/status-get.js +1 -1
- package/dist/generated/commands/preview/sandbox-reset.js +1 -1
- package/dist/generated/commands/projects/batch-merging-finish.js +1 -1
- package/dist/generated/commands/projects/batch-merging-get.js +1 -1
- package/dist/generated/commands/projects/batch-merging-set.js +2 -2
- package/dist/generated/commands/projects/create.js +1 -1
- package/dist/generated/commands/projects/labels-update.js +1 -1
- package/dist/generated/commands/projects/merge-agent-get.js +1 -1
- package/dist/generated/commands/projects/skills-list.js +1 -1
- package/dist/generated/commands/providers/default-model-set--personal.js +1 -1
- package/dist/generated/commands/providers/token-usage-get--personal.js +1 -1
- package/dist/generated/commands/providers/token-usage-get.js +1 -1
- package/dist/generated/commands/sensei/cards-close.js +1 -1
- package/dist/generated/commands/sensei/delegates-start.js +2 -2
- package/dist/generated/commands/sensei/memory-set.js +1 -1
- package/dist/generated/commands/sensei/messages-move.js +1 -1
- package/dist/generated/commands/sensei/messages-send.js +2 -2
- package/dist/generated/commands/sensei/repository-cards-create.js +1 -1
- package/dist/generated/commands/sensei/threads-move.js +1 -1
- package/dist/generated/commands/sessions/create.js +7 -7
- package/dist/generated/commands/sessions/go-ahead-delete.js +1 -1
- package/dist/generated/commands/sessions/labels-set.js +1 -1
- package/dist/generated/commands/sessions/labels-update.js +1 -1
- package/dist/generated/commands/sessions/mark-read.js +1 -1
- package/dist/generated/commands/sessions/prompt-update.js +1 -1
- package/dist/generated/commands/sessions/qa-runs-start.js +1 -1
- package/dist/generated/commands/sessions/review-set.js +1 -1
- package/dist/generated/commands/sessions/send.js +2 -2
- package/dist/generated/commands/sessions/start.js +1 -1
- package/dist/generated/commands/sessions/update.js +1 -1
- package/dist/generated/commands/skills/get--personal.js +1 -1
- package/dist/generated/commands/skills/list.js +1 -1
- package/dist/generated/commands/tasks/create.js +8 -8
- package/dist/generated/commands/tasks/start.js +1 -1
- package/dist/generated/commands/tasks/update.js +2 -2
- package/dist/generated/commands/user/push-devices-create.js +1 -1
- package/dist/generated/commands/user/usage-get.js +1 -1
- package/dist/generated/commands/workspaces/usage-breakdown-get.js +1 -1
- package/dist/program.js +1 -1
- package/openapi.json +72 -72
- package/package.json +5 -5
|
@@ -30,14 +30,14 @@ export const operation = {
|
|
|
30
30
|
"flag": "auto",
|
|
31
31
|
"kind": "boolean",
|
|
32
32
|
"required": false,
|
|
33
|
-
"description": "True puts the session on Auto from this Turn:
|
|
33
|
+
"description": "True puts the session on Auto from this Turn: the platform picks its Model and Provider. False takes it off, with model or the session's own. Absent keeps the session as it is."
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
36
|
"name": "kosukeFree",
|
|
37
37
|
"flag": "kosuke-free",
|
|
38
38
|
"kind": "boolean",
|
|
39
39
|
"required": false,
|
|
40
|
-
"description": "true runs this Turn and the session on
|
|
40
|
+
"description": "true runs this Turn and the session on Sensei free; false takes the session off it. Refused with kosuke_free_off, kosuke_free_paused, kosuke_free_spent or kosuke_free_unavailable before anything runs."
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
43
|
"name": "previewContext",
|
|
@@ -5,7 +5,7 @@ export const operation = {
|
|
|
5
5
|
"sessions",
|
|
6
6
|
"start"
|
|
7
7
|
],
|
|
8
|
-
"summary": "Start a backlog session: queue its saved prompt as the first turn, which runs once the sandbox is ready. Answers before the sandbox exists; a sandbox that fails to start later leaves the session Active with a failed first turn. With --skill ship the first turn is /kosuke:ship on that prompt. From an agent (a sandbox, a Cron Run or Sensei) it is also refused with 403 ASSIGNED_TO_OTHER when another member is the Assignee; a ticket that is unassigned or assigned to
|
|
8
|
+
"summary": "Start a backlog session: queue its saved prompt as the first turn, which runs once the sandbox is ready. Answers before the sandbox exists; a sandbox that fails to start later leaves the session Active with a failed first turn. With --skill ship the first turn is /kosuke:ship on that prompt. From an agent (a sandbox, a Cron Run or Sensei) it is also refused with 403 ASSIGNED_TO_OTHER when another member is the Assignee; a ticket that is unassigned or assigned to the system user passes that check and meets the same project access and status checks as when a member starts it. From Sensei, the session moves to the thread of the Turn that started it.",
|
|
9
9
|
"pathParams": [
|
|
10
10
|
"projectId",
|
|
11
11
|
"sessionId"
|
|
@@ -56,7 +56,7 @@ export const operation = {
|
|
|
56
56
|
"flag": "kosuke-free",
|
|
57
57
|
"kind": "boolean",
|
|
58
58
|
"required": false,
|
|
59
|
-
"description": "true runs the session on
|
|
59
|
+
"description": "true runs the session on Sensei free, on the serving source's model; false, or picking any other model, takes it off. Refused for a session no member is assigned to and for one the workspace pays for."
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
62
|
"name": "nextTurn",
|
|
@@ -8,7 +8,7 @@ export const operation = {
|
|
|
8
8
|
"variant": {
|
|
9
9
|
"scope": "personal"
|
|
10
10
|
},
|
|
11
|
-
"summary": "Get one of your personal skills with every file it holds, SKILL.md included. From an agent token, one of the member it acts as. From a Cron Run acting as the workspace, never one: it acts as
|
|
11
|
+
"summary": "Get one of your personal skills with every file it holds, SKILL.md included. From an agent token, one of the member it acts as. From a Cron Run acting as the workspace, never one: it acts as the system user, which holds no personal skills.",
|
|
12
12
|
"pathParams": [
|
|
13
13
|
"skillId"
|
|
14
14
|
],
|
|
@@ -5,7 +5,7 @@ export const operation = {
|
|
|
5
5
|
"skills",
|
|
6
6
|
"list"
|
|
7
7
|
],
|
|
8
|
-
"summary": "List the workspace's custom skills: what each SKILL.md declares, how many files the skill holds, and whether it is enabled.
|
|
8
|
+
"summary": "List the workspace's custom skills: what each SKILL.md declares, how many files the skill holds, and whether it is enabled. The platform's own skills are not listed: every chat session carries them, always on, as kosuke:<name>.",
|
|
9
9
|
"pathParams": [
|
|
10
10
|
"workspaceId"
|
|
11
11
|
],
|
|
@@ -23,21 +23,21 @@ export const operation = {
|
|
|
23
23
|
"flag": "model",
|
|
24
24
|
"kind": "string",
|
|
25
25
|
"required": false,
|
|
26
|
-
"description": "A model, or kosuke-free for personal work. Workspace tasks never use
|
|
26
|
+
"description": "A model, or kosuke-free for personal work. Workspace tasks never use Sensei free."
|
|
27
27
|
},
|
|
28
28
|
{
|
|
29
29
|
"name": "auto",
|
|
30
30
|
"flag": "auto",
|
|
31
31
|
"kind": "boolean",
|
|
32
32
|
"required": false,
|
|
33
|
-
"description": "True starts the session on Auto:
|
|
33
|
+
"description": "True starts the session on Auto: the platform picks the Model and Provider of each Turn. False keeps it off. Absent follows your Default Model."
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
36
|
"name": "kosukeFree",
|
|
37
37
|
"flag": "kosuke-free",
|
|
38
38
|
"kind": "boolean",
|
|
39
39
|
"required": false,
|
|
40
|
-
"description": "true starts the session on
|
|
40
|
+
"description": "true starts the session on Sensei free, on the serving source's model. A member who can run no provider starts on it anyway; false never does."
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
43
|
"name": "ownerId",
|
|
@@ -83,7 +83,7 @@ export const operation = {
|
|
|
83
83
|
"flag": "start-when-deployed",
|
|
84
84
|
"kind": "boolean",
|
|
85
85
|
"required": false,
|
|
86
|
-
"description": "With status=backlog, from a member: when the project's first Deploy has not landed,
|
|
86
|
+
"description": "With status=backlog, from a member: when the project's first Deploy has not landed, the platform starts the ticket with /kosuke:ship as its Assignee once it lands. The session's startWhenDeployedAt says whether it was marked; ignored otherwise."
|
|
87
87
|
},
|
|
88
88
|
{
|
|
89
89
|
"name": "sandboxSize",
|
|
@@ -160,21 +160,21 @@ export const operation = {
|
|
|
160
160
|
"flag": "model",
|
|
161
161
|
"kind": "string",
|
|
162
162
|
"required": false,
|
|
163
|
-
"description": "A model, or kosuke-free for personal work. Workspace tasks never use
|
|
163
|
+
"description": "A model, or kosuke-free for personal work. Workspace tasks never use Sensei free."
|
|
164
164
|
},
|
|
165
165
|
{
|
|
166
166
|
"name": "auto",
|
|
167
167
|
"flag": "auto",
|
|
168
168
|
"kind": "boolean",
|
|
169
169
|
"required": false,
|
|
170
|
-
"description": "True starts the session on Auto:
|
|
170
|
+
"description": "True starts the session on Auto: the platform picks the Model and Provider of each Turn. False keeps it off. Absent follows your Default Model."
|
|
171
171
|
},
|
|
172
172
|
{
|
|
173
173
|
"name": "kosukeFree",
|
|
174
174
|
"flag": "kosuke-free",
|
|
175
175
|
"kind": "boolean",
|
|
176
176
|
"required": false,
|
|
177
|
-
"description": "true starts the session on
|
|
177
|
+
"description": "true starts the session on Sensei free, on the serving source's model. A member who can run no provider starts on it anyway; false never does."
|
|
178
178
|
},
|
|
179
179
|
{
|
|
180
180
|
"name": "ownerId",
|
|
@@ -220,7 +220,7 @@ export const operation = {
|
|
|
220
220
|
"flag": "start-when-deployed",
|
|
221
221
|
"kind": "boolean",
|
|
222
222
|
"required": false,
|
|
223
|
-
"description": "With status=backlog, from a member: when the project's first Deploy has not landed,
|
|
223
|
+
"description": "With status=backlog, from a member: when the project's first Deploy has not landed, the platform starts the ticket with /kosuke:ship as its Assignee once it lands. The session's startWhenDeployedAt says whether it was marked; ignored otherwise."
|
|
224
224
|
},
|
|
225
225
|
{
|
|
226
226
|
"name": "sandboxSize",
|
|
@@ -5,7 +5,7 @@ export const operation = {
|
|
|
5
5
|
"tasks",
|
|
6
6
|
"start"
|
|
7
7
|
],
|
|
8
|
-
"summary": "Start a Todo task. Members and Sensei only. sandboxSize and appStack set the task's Sandbox size and App stack as it starts; absent keeps what the task holds. The member's ask to start is the yes: start without reading back credits or sandboxes. A refusal leaves it in the Backlog: say what
|
|
8
|
+
"summary": "Start a Todo task. Members and Sensei only. sandboxSize and appStack set the task's Sandbox size and App stack as it starts; absent keeps what the task holds. The member's ask to start is the yes: start without reading back credits or sandboxes. A refusal leaves it in the Backlog: say what the platform answered and do not retry.",
|
|
9
9
|
"pathParams": [
|
|
10
10
|
"workspaceId",
|
|
11
11
|
"taskId"
|
|
@@ -30,7 +30,7 @@ export const operation = {
|
|
|
30
30
|
"flag": "model",
|
|
31
31
|
"kind": "string",
|
|
32
32
|
"required": false,
|
|
33
|
-
"description": "A model, or kosuke-free for personal work. Workspace tasks never use
|
|
33
|
+
"description": "A model, or kosuke-free for personal work. Workspace tasks never use Sensei free."
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
36
|
"name": "auto",
|
|
@@ -44,7 +44,7 @@ export const operation = {
|
|
|
44
44
|
"flag": "kosuke-free",
|
|
45
45
|
"kind": "boolean",
|
|
46
46
|
"required": false,
|
|
47
|
-
"description": "true runs the session on
|
|
47
|
+
"description": "true runs the session on Sensei free, on the serving source's model; false, or picking any other model, takes it off. Refused for a session no member is assigned to and for one the workspace pays for."
|
|
48
48
|
},
|
|
49
49
|
{
|
|
50
50
|
"name": "nextTurn",
|
|
@@ -6,7 +6,7 @@ export const operation = {
|
|
|
6
6
|
"push-devices",
|
|
7
7
|
"create"
|
|
8
8
|
],
|
|
9
|
-
"summary": "Register an iPhone or Apple Watch for push notifications with its hex APNs device token, the app bundle id it was issued to and its APNs environment. A token already registered moves to you. The Watch also sends its installationId and a generation it raises on every registration; one older than the registration already held for that installation answers 409. Both apps send their appVersion, which decides the notification categories they are sent. Called by the
|
|
9
|
+
"summary": "Register an iPhone or Apple Watch for push notifications with its hex APNs device token, the app bundle id it was issued to and its APNs environment. A token already registered moves to you. The Watch also sends its installationId and a generation it raises on every registration; one older than the registration already held for that installation answers 409. Both apps send their appVersion, which decides the notification categories they are sent. Called by the Sensei iOS and Watch apps; answers 204.",
|
|
10
10
|
"pathParams": [],
|
|
11
11
|
"query": [],
|
|
12
12
|
"body": {
|
|
@@ -6,7 +6,7 @@ export const operation = {
|
|
|
6
6
|
"usage",
|
|
7
7
|
"get"
|
|
8
8
|
],
|
|
9
|
-
"summary": "Read what used your AI work over range (7d by default, 30d or all) in calendar days of tz (an IANA time zone, UTC by default): totals and per-day counts, then rows grouped by work, repository and model, each with its Providers and busiest Chat Sessions or Sensei Threads (the top five by every count, so sort by the one you show). Counts your personal Subscription attempts and
|
|
9
|
+
"summary": "Read what used your AI work over range (7d by default, 30d or all) in calendar days of tz (an IANA time zone, UTC by default): totals and per-day counts, then rows grouped by work, repository and model, each with its Providers and busiest Chat Sessions or Sensei Threads (the top five by every count, so sort by the one you show). Counts your personal Subscription attempts and Sensei free Turns since recording began on 22 October 2026; days before it have recorded false and are never 0. turns counts every attempt; the four token counts are sums of reported counts only, never added together, with missing and inProgress counted apart. A repository or session in a workspace you no longer belong to keeps its counts but no name, title or link. Workspace Credentials and platform work are excluded. Your own sign-in or API key only; agent tokens are refused. 400 on another range or an unknown time zone.",
|
|
10
10
|
"pathParams": [],
|
|
11
11
|
"query": [
|
|
12
12
|
{
|
|
@@ -7,7 +7,7 @@ export const operation = {
|
|
|
7
7
|
"breakdown",
|
|
8
8
|
"get"
|
|
9
9
|
],
|
|
10
|
-
"summary": "Read what used the workspace's Credentials over range (7d by default, 30d or all) in calendar days of tz (an IANA time zone, UTC by default): totals and per-day counts, then rows grouped by work, repository and model, each with its Providers and busiest Chat Sessions (the top five by every count, so sort by the one you show). Counts attempts run on the workspace's Credentials since recording began on 22 October 2026; days before it have recorded false and are never 0. turns counts every attempt; the four token counts are sums of reported counts only, never added together, with missing and inProgress counted apart. Members' own Subscriptions, Sensei,
|
|
10
|
+
"summary": "Read what used the workspace's Credentials over range (7d by default, 30d or all) in calendar days of tz (an IANA time zone, UTC by default): totals and per-day counts, then rows grouped by work, repository and model, each with its Providers and busiest Chat Sessions (the top five by every count, so sort by the one you show). Counts attempts run on the workspace's Credentials since recording began on 22 October 2026; days before it have recorded false and are never 0. turns counts every attempt; the four token counts are sums of reported counts only, never added together, with missing and inProgress counted apart. Members' own Subscriptions, Sensei, Sensei free and platform work are excluded. Owners and admins only. 400 on another range or an unknown time zone.",
|
|
11
11
|
"pathParams": [
|
|
12
12
|
"workspaceId"
|
|
13
13
|
],
|
package/dist/program.js
CHANGED
|
@@ -18,7 +18,7 @@ import { version } from './runtime/version.js';
|
|
|
18
18
|
*/
|
|
19
19
|
export function createProgram(options = {}) {
|
|
20
20
|
const program = new Command('kosuke')
|
|
21
|
-
.description('Drive
|
|
21
|
+
.description('Drive Sensei from your own machine.')
|
|
22
22
|
.version(version)
|
|
23
23
|
.option('--api-key <key>', 'API key; overrides KOSUKE_API_KEY and the stored one.')
|
|
24
24
|
.option('--api-url <url>', 'Platform URL; overrides KOSUKE_API_URL. Default https://app.kosuke.ai.')
|