@kosuke-ai/kosuke 1.0.54 → 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.
Files changed (59) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/README.md +3 -3
  3. package/dist/agent/summary.js +2 -2
  4. package/dist/commands/agent.js +1 -1
  5. package/dist/generated/commands/activity/list.js +1 -1
  6. package/dist/generated/commands/crons/create--personal.js +2 -2
  7. package/dist/generated/commands/crons/create.js +2 -2
  8. package/dist/generated/commands/crons/get--personal.js +1 -1
  9. package/dist/generated/commands/crons/list--personal.js +1 -1
  10. package/dist/generated/commands/crons/update--personal.js +1 -1
  11. package/dist/generated/commands/crons/update.js +1 -1
  12. package/dist/generated/commands/index.js +279 -283
  13. package/dist/generated/commands/integrations/connections-delete--personal.js +1 -1
  14. package/dist/generated/commands/integrations/connections-delete.js +1 -1
  15. package/dist/generated/commands/mac/browser-login.js +1 -1
  16. package/dist/generated/commands/mac/browser-profiles-list.js +1 -1
  17. package/dist/generated/commands/mac/status-get.js +1 -1
  18. package/dist/generated/commands/preview/sandbox-reset.js +1 -1
  19. package/dist/generated/commands/projects/batch-merging-finish.js +1 -1
  20. package/dist/generated/commands/projects/batch-merging-get.js +1 -1
  21. package/dist/generated/commands/projects/batch-merging-set.js +2 -2
  22. package/dist/generated/commands/projects/create.js +1 -1
  23. package/dist/generated/commands/projects/labels-update.js +1 -1
  24. package/dist/generated/commands/projects/merge-agent-get.js +1 -1
  25. package/dist/generated/commands/projects/skills-list.js +1 -1
  26. package/dist/generated/commands/providers/default-model-set--personal.js +1 -1
  27. package/dist/generated/commands/providers/token-usage-get--personal.js +1 -1
  28. package/dist/generated/commands/providers/token-usage-get.js +1 -1
  29. package/dist/generated/commands/sensei/cards-close.js +1 -1
  30. package/dist/generated/commands/sensei/delegates-start.js +2 -2
  31. package/dist/generated/commands/sensei/memory-set.js +1 -1
  32. package/dist/generated/commands/sensei/messages-move.js +1 -1
  33. package/dist/generated/commands/sensei/messages-send.js +2 -2
  34. package/dist/generated/commands/sensei/repository-cards-create.js +1 -1
  35. package/dist/generated/commands/sensei/threads-move.js +1 -1
  36. package/dist/generated/commands/sessions/create.js +7 -7
  37. package/dist/generated/commands/sessions/go-ahead-delete.js +1 -1
  38. package/dist/generated/commands/sessions/labels-set.js +1 -1
  39. package/dist/generated/commands/sessions/labels-update.js +1 -1
  40. package/dist/generated/commands/sessions/mark-read.js +1 -1
  41. package/dist/generated/commands/sessions/prompt-update.js +1 -1
  42. package/dist/generated/commands/sessions/qa-runs-start.js +1 -1
  43. package/dist/generated/commands/sessions/review-set.js +1 -1
  44. package/dist/generated/commands/sessions/send.js +2 -2
  45. package/dist/generated/commands/sessions/start.js +1 -1
  46. package/dist/generated/commands/sessions/update.js +1 -1
  47. package/dist/generated/commands/skills/get--personal.js +1 -1
  48. package/dist/generated/commands/skills/list.js +1 -1
  49. package/dist/generated/commands/tasks/create.js +8 -8
  50. package/dist/generated/commands/tasks/start.js +1 -1
  51. package/dist/generated/commands/tasks/update.js +2 -2
  52. package/dist/generated/commands/user/push-devices-create.js +1 -1
  53. package/dist/generated/commands/user/usage-get.js +1 -1
  54. package/dist/generated/commands/workspaces/usage-breakdown-get.js +1 -1
  55. package/dist/program.js +1 -1
  56. package/openapi.json +72 -196
  57. package/package.json +5 -5
  58. package/dist/generated/commands/integrations/browser-connections-reconnect--personal-network-linkedin.js +0 -26
  59. package/dist/generated/commands/integrations/browser-connections-reconnect--personal-network-x.js +0 -26
package/openapi.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.1.0",
3
3
  "info": {
4
- "title": "Kosuke platform API",
4
+ "title": "Sensei platform API",
5
5
  "version": "1.0.0",
6
6
  "description": "The operations the platform CLI (`kosuke`) drives. Requests are described in full; responses are the `{ data, meta? }` envelope with an unmodelled `data`."
7
7
  },
@@ -14,7 +14,7 @@
14
14
  "/api/activity": {
15
15
  "get": {
16
16
  "operationId": "activityList",
17
- "summary": "List Activity across every workspace you belong to, newest first: Changes Kosuke observed and what members did. Each event names its workspace. An agent token reads its own workspace only.",
17
+ "summary": "List Activity across every workspace you belong to, newest first: Changes the platform observed and what members did. Each event names its workspace. An agent token reads its own workspace only.",
18
18
  "tags": ["activity"],
19
19
  "x-kosuke-command": ["activity", "list"],
20
20
  "x-kosuke-sandbox-token": true,
@@ -1073,7 +1073,7 @@
1073
1073
  "/api/devices/mac": {
1074
1074
  "get": {
1075
1075
  "operationId": "macStatusGet",
1076
- "summary": "Whether your Mac is online now, with the Kosuke desktop app open and signed in, the tools it offers, and its macOS grants: a missing macOS permission or no Google Chrome leaves its tools out, and grants.systemEvents says whether `osascript` through System Events can open menu bar icons and their menus there. Offline answers online false and nothing else.",
1076
+ "summary": "Whether your Mac is online now, with the Sensei desktop app open and signed in, the tools it offers, and its macOS grants: a missing macOS permission or no Google Chrome leaves its tools out, and grants.systemEvents says whether `osascript` through System Events can open menu bar icons and their menus there. Offline answers online false and nothing else.",
1077
1077
  "tags": ["mac"],
1078
1078
  "x-kosuke-command": ["mac", "status", "get"],
1079
1079
  "x-kosuke-sandbox-token": true,
@@ -1494,7 +1494,7 @@
1494
1494
  "/api/devices/mac/browser-profiles": {
1495
1495
  "post": {
1496
1496
  "operationId": "macBrowserProfilesList",
1497
- "summary": "List Chrome profile IDs and display names on the member's Mac, including the default choice and device ID/name, with access allowed or off on every profile (off: turned off in Settings → Devices, never to be used). With --site, a bare host (Google's sites answer BAD_ARGS), it names the site and whether Kosuke watches it, and every allowed profile carries chromeSignIn: candidate when that profile in their Chrome holds a live cookie for the site (the sign-in cookie for LinkedIn and X), none when it holds none, unknown when it could not be read. An off profile carries none. A candidate is not a sign-in: check the account by browsing. Discovery reads cookie presence only, never a value, never the Keychain, and no history, and opens no browser. An older desktop app answers without access and chromeSignIn: read that as unknown. Only Sensei calls it.",
1497
+ "summary": "List Chrome profile IDs and display names on the member's Mac, including the default choice and device ID/name, with access allowed or off on every profile (off: turned off in Settings → Devices, never to be used). With --site, a bare host (Google's sites answer BAD_ARGS), it names the site and whether the platform watches it, and every allowed profile carries chromeSignIn: candidate when that profile in their Chrome holds a live cookie for the site (the sign-in cookie for LinkedIn and X), none when it holds none, unknown when it could not be read. An off profile carries none. A candidate is not a sign-in: check the account by browsing. Discovery reads cookie presence only, never a value, never the Keychain, and no history, and opens no browser. An older desktop app answers without access and chromeSignIn: read that as unknown. Only Sensei calls it.",
1498
1498
  "tags": ["mac"],
1499
1499
  "x-kosuke-command": ["mac", "browser", "profiles", "list"],
1500
1500
  "x-kosuke-sandbox-token": true,
@@ -1561,7 +1561,7 @@
1561
1561
  "/api/devices/mac/browser-sign-in": {
1562
1562
  "post": {
1563
1563
  "operationId": "macBrowserLogin",
1564
- "summary": "Get a site signed in in this Sensei Thread's browser from the member's everyday Chrome: pass the browser call's profile and deviceId, and the site as a bare hostname (twitter.com is x.com; Google's sites are refused). --reuse picks up the sign-in that profile in their Chrome holds by itself, with no tap: once per site and profile in a Turn, with the profile's exact ID. It never opens Chrome or waits for anyone, and answers opened false and signedIn false with chrome none (their Chrome holds no sign-in for the site, so nothing changed), same (the one this thread's browser already holds) or different (taken into this thread's browser, taken true). Then, unless it answered none or same, open the site with browser and check the account. On SIGN_IN_NEEDS_TAP or UPDATE_REQUIRED, put the sign-in card: `kosuke sensei cards set` with --sign-in naming this site, profile and deviceId. A --reuse spends no tap, so it gives no card back. Every tapped mode (`sign-in`, `take`, `waitNew`) needs the member's tap on the sign-in card in this thread; `--forget` and `--reuse` need none. A sign-in takes the sign-in that profile in their Chrome holds when it differs from this thread's, without opening anything, and answers taken true, opened false and signedIn false, since the site has not confirmed it; or else it opens --url, or the site's page, in their Chrome and waits up to 8 minutes for the member to sign in. On LinkedIn and X it answers signedIn true and opened true. On any other site a change of the site's cookies is taken and answered taken true and signedIn false, since a change is not a sign-in, and an end with no change answers taken false; a desktop app too old to watch the site opens it and answers at once, with no taken. Every answer with taken true carries waitNewLeft: while it is above 0 and the site is still signed out, --wait-new (with the same --url), in the same Turn and with no new tap, waits for a newer sign-in, never taking the one taken already, and opens the site only when this Turn has not; once the tap's time has run out it fails with SIGN_IN_WINDOW_ENDED, and no card comes back. After the member's I'm signed in tap, --take takes that site's cookies, never Google's, and answers taken. --forget removes a sign-in this Turn took, a --reuse's included, for an account other than the one expected, and needs no tap. Each tap allows one call: a call without one, or a --wait-new that no take armed, fails with SIGN_IN_NEEDS_TAP. Then open the site with browser and check the account before account-specific work. On DEVICE_OFFLINE, DEVICE_CALL_INTERRUPTED, TIMEOUT, SIGN_IN_TIMEOUT and KEYCHAIN_UNAVAILABLE Kosuke gives the member's card back by itself. Fails with SIGN_IN_TIMEOUT when Kosuke saw no new sign-in to LinkedIn or X within 8 minutes, PROFILE_DISCONNECTED for a profile turned off in Settings → Devices, KEYCHAIN_UNAVAILABLE when macOS did not let Kosuke read Chrome's sign-ins, STALE_TURN when the Turn stopped, and UPDATE_REQUIRED on a desktop app too old for it. Only Sensei calls it.",
1564
+ "summary": "Get a site signed in in this Sensei Thread's browser from the member's everyday Chrome: pass the browser call's profile and deviceId, and the site as a bare hostname (twitter.com is x.com; Google's sites are refused). --reuse picks up the sign-in that profile in their Chrome holds by itself, with no tap: once per site and profile in a Turn, with the profile's exact ID. It never opens Chrome or waits for anyone, and answers opened false and signedIn false with chrome none (their Chrome holds no sign-in for the site, so nothing changed), same (the one this thread's browser already holds) or different (taken into this thread's browser, taken true). Then, unless it answered none or same, open the site with browser and check the account. On SIGN_IN_NEEDS_TAP or UPDATE_REQUIRED, put the sign-in card: `kosuke sensei cards set` with --sign-in naming this site, profile and deviceId. A --reuse spends no tap, so it gives no card back. Every tapped mode (`sign-in`, `take`, `waitNew`) needs the member's tap on the sign-in card in this thread; `--forget` and `--reuse` need none. A sign-in takes the sign-in that profile in their Chrome holds when it differs from this thread's, without opening anything, and answers taken true, opened false and signedIn false, since the site has not confirmed it; or else it opens --url, or the site's page, in their Chrome and waits up to 8 minutes for the member to sign in. On LinkedIn and X it answers signedIn true and opened true. On any other site a change of the site's cookies is taken and answered taken true and signedIn false, since a change is not a sign-in, and an end with no change answers taken false; a desktop app too old to watch the site opens it and answers at once, with no taken. Every answer with taken true carries waitNewLeft: while it is above 0 and the site is still signed out, --wait-new (with the same --url), in the same Turn and with no new tap, waits for a newer sign-in, never taking the one taken already, and opens the site only when this Turn has not; once the tap's time has run out it fails with SIGN_IN_WINDOW_ENDED, and no card comes back. After the member's I'm signed in tap, --take takes that site's cookies, never Google's, and answers taken. --forget removes a sign-in this Turn took, a --reuse's included, for an account other than the one expected, and needs no tap. Each tap allows one call: a call without one, or a --wait-new that no take armed, fails with SIGN_IN_NEEDS_TAP. Then open the site with browser and check the account before account-specific work. On DEVICE_OFFLINE, DEVICE_CALL_INTERRUPTED, TIMEOUT, SIGN_IN_TIMEOUT and KEYCHAIN_UNAVAILABLE the platform gives the member's card back by itself. Fails with SIGN_IN_TIMEOUT when Sensei saw no new sign-in to LinkedIn or X within 8 minutes, PROFILE_DISCONNECTED for a profile turned off in Settings → Devices, KEYCHAIN_UNAVAILABLE when macOS did not let Sensei read Chrome's sign-ins, STALE_TURN when the Turn stopped, and UPDATE_REQUIRED on a desktop app too old for it. Only Sensei calls it.",
1565
1565
  "tags": ["mac"],
1566
1566
  "x-kosuke-command": ["mac", "browser", "login"],
1567
1567
  "x-kosuke-answer-timeout-ms": 590000,
@@ -4634,7 +4634,7 @@
4634
4634
  "/api/organizations/{workspaceId}/ai-provider/token-usage": {
4635
4635
  "get": {
4636
4636
  "operationId": "providersTokenUsageGet",
4637
- "summary": "Read the tokens Kosuke spent on the workspace's Credentials, per Provider and per login or key method, over the last 7 days, the last 30 days and everything recorded: input (uncached), cache read, cache write and output, kept apart. Each total gives its recorded items, how many reported no counts (missing, never added as 0), how many made no model call and how many are still in progress. Covers only work run through Kosuke since recording began, from firstStartedAt; members' own Subscriptions and Sensei are never included. Owners and admins only.",
4637
+ "summary": "Read the tokens Sensei spent on the workspace's Credentials, per Provider and per login or key method, over the last 7 days, the last 30 days and everything recorded: input (uncached), cache read, cache write and output, kept apart. Each total gives its recorded items, how many reported no counts (missing, never added as 0), how many made no model call and how many are still in progress. Covers only work run through Sensei since recording began, from firstStartedAt; members' own Subscriptions and Sensei are never included. Owners and admins only.",
4638
4638
  "tags": ["providers"],
4639
4639
  "x-kosuke-command": ["providers", "token-usage", "get"],
4640
4640
  "x-kosuke-sandbox-token": true,
@@ -4915,7 +4915,7 @@
4915
4915
  },
4916
4916
  "post": {
4917
4917
  "operationId": "cronsCreate",
4918
- "summary": "Create a cron, enabled, with you as its creator, with zero or more of the workspace's projects: each fire is one Cron Run in its own sandbox, cloning only the selected repositories. Every run spends the workspace's Credentials, never a member's Subscription, so a workspace with no usable provider is refused. The model is an encoded id such as anthropic:opus__xhigh; null or left out uses the saved Workspace Default Model when its Provider has usable workspace Credentials, otherwise Kosuke's choice among usable workspace Credentials at run time. The crontab is read in the Workspace Timezone (`kosuke workspaces timezone set`), and may not fire more often than every 15 minutes. A body that sends timezone is refused. From an agent (Sensei, a sandbox or a Cron Run) it is refused with 409 CRON_ALREADY_EXISTS when the workspace has a Cron by that name.",
4918
+ "summary": "Create a cron, enabled, with you as its creator, with zero or more of the workspace's projects: each fire is one Cron Run in its own sandbox, cloning only the selected repositories. Every run spends the workspace's Credentials, never a member's Subscription, so a workspace with no usable provider is refused. The model is an encoded id such as anthropic:opus__xhigh; null or left out uses the saved Workspace Default Model when its Provider has usable workspace Credentials, otherwise the platform's choice among usable workspace Credentials at run time. The crontab is read in the Workspace Timezone (`kosuke workspaces timezone set`), and may not fire more often than every 15 minutes. A body that sends timezone is refused. From an agent (Sensei, a sandbox or a Cron Run) it is refused with 409 CRON_ALREADY_EXISTS when the workspace has a Cron by that name.",
4919
4919
  "tags": ["crons"],
4920
4920
  "x-kosuke-command": ["crons", "create"],
4921
4921
  "x-kosuke-sandbox-token": true,
@@ -4976,7 +4976,7 @@
4976
4976
  }
4977
4977
  },
4978
4978
  "model": {
4979
- "description": "An encoded model id such as anthropic:opus__xhigh. Null, or left out on create, uses the Workspace Default Model at run time, then Kosuke's choice among available workspace Credentials.",
4979
+ "description": "An encoded model id such as anthropic:opus__xhigh. Null, or left out on create, uses the Workspace Default Model at run time, then the platform's choice among available workspace Credentials.",
4980
4980
  "anyOf": [
4981
4981
  {
4982
4982
  "type": "string",
@@ -5163,7 +5163,7 @@
5163
5163
  }
5164
5164
  },
5165
5165
  "model": {
5166
- "description": "An encoded model id such as anthropic:opus__xhigh. Null, or left out on create, uses the Workspace Default Model at run time, then Kosuke's choice among available workspace Credentials.",
5166
+ "description": "An encoded model id such as anthropic:opus__xhigh. Null, or left out on create, uses the Workspace Default Model at run time, then the platform's choice among available workspace Credentials.",
5167
5167
  "anyOf": [
5168
5168
  {
5169
5169
  "type": "string",
@@ -6828,7 +6828,7 @@
6828
6828
  },
6829
6829
  "delete": {
6830
6830
  "operationId": "integrationsConnectionsDelete",
6831
- "summary": "Disconnect an integration by toolkit slug: agents lose the workspace's access at once, then Kosuke deletes the stored authorization, retrying in the background if needed. Revoking the authorization at the toolkit itself is not part of this. Admins only.",
6831
+ "summary": "Disconnect an integration by toolkit slug: agents lose the workspace's access at once, then the platform deletes the stored authorization, retrying in the background if needed. Revoking the authorization at the toolkit itself is not part of this. Admins only.",
6832
6832
  "tags": ["integrations"],
6833
6833
  "x-kosuke-command": ["integrations", "connections", "delete"],
6834
6834
  "x-kosuke-sandbox-token": true,
@@ -7699,7 +7699,7 @@
7699
7699
  "/api/organizations/{workspaceId}/skills": {
7700
7700
  "get": {
7701
7701
  "operationId": "skillsList",
7702
- "summary": "List the workspace's custom skills: what each SKILL.md declares, how many files the skill holds, and whether it is enabled. Kosuke's own skills are not listed: every chat session carries them, always on, as kosuke:<name>.",
7702
+ "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>.",
7703
7703
  "tags": ["skills"],
7704
7704
  "x-kosuke-command": ["skills", "list"],
7705
7705
  "x-kosuke-sandbox-token": true,
@@ -8388,15 +8388,15 @@
8388
8388
  "maxLength": 255
8389
8389
  },
8390
8390
  "model": {
8391
- "description": "A model, or kosuke-free for personal work. Workspace tasks never use Kosuke free.",
8391
+ "description": "A model, or kosuke-free for personal work. Workspace tasks never use Sensei free.",
8392
8392
  "type": "string"
8393
8393
  },
8394
8394
  "auto": {
8395
- "description": "True starts the session on Auto: Kosuke picks the Model and Provider of each Turn. False keeps it off. Absent follows your Default Model.",
8395
+ "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.",
8396
8396
  "type": "boolean"
8397
8397
  },
8398
8398
  "kosukeFree": {
8399
- "description": "true starts the session on Kosuke free, on the serving source's model. A member who can run no provider starts on it anyway; false never does.",
8399
+ "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.",
8400
8400
  "type": "boolean"
8401
8401
  },
8402
8402
  "ownerId": {
@@ -8425,7 +8425,7 @@
8425
8425
  "maxLength": 200
8426
8426
  },
8427
8427
  "startWhenDeployed": {
8428
- "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.",
8428
+ "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.",
8429
8429
  "type": "boolean"
8430
8430
  },
8431
8431
  "sandboxSize": {
@@ -8476,15 +8476,15 @@
8476
8476
  "maxLength": 255
8477
8477
  },
8478
8478
  "model": {
8479
- "description": "A model, or kosuke-free for personal work. Workspace tasks never use Kosuke free.",
8479
+ "description": "A model, or kosuke-free for personal work. Workspace tasks never use Sensei free.",
8480
8480
  "type": "string"
8481
8481
  },
8482
8482
  "auto": {
8483
- "description": "True starts the session on Auto: Kosuke picks the Model and Provider of each Turn. False keeps it off. Absent follows your Default Model.",
8483
+ "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.",
8484
8484
  "type": "boolean"
8485
8485
  },
8486
8486
  "kosukeFree": {
8487
- "description": "true starts the session on Kosuke free, on the serving source's model. A member who can run no provider starts on it anyway; false never does.",
8487
+ "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.",
8488
8488
  "type": "boolean"
8489
8489
  },
8490
8490
  "ownerId": {
@@ -8513,7 +8513,7 @@
8513
8513
  "maxLength": 200
8514
8514
  },
8515
8515
  "startWhenDeployed": {
8516
- "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.",
8516
+ "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.",
8517
8517
  "type": "boolean"
8518
8518
  },
8519
8519
  "sandboxSize": {
@@ -8707,7 +8707,7 @@
8707
8707
  "maxLength": 255
8708
8708
  },
8709
8709
  "model": {
8710
- "description": "A model, or kosuke-free for personal work. Workspace tasks never use Kosuke free.",
8710
+ "description": "A model, or kosuke-free for personal work. Workspace tasks never use Sensei free.",
8711
8711
  "type": "string"
8712
8712
  },
8713
8713
  "auto": {
@@ -8715,7 +8715,7 @@
8715
8715
  "type": "boolean"
8716
8716
  },
8717
8717
  "kosukeFree": {
8718
- "description": "true runs the session on Kosuke 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.",
8718
+ "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.",
8719
8719
  "type": "boolean"
8720
8720
  },
8721
8721
  "nextTurn": {
@@ -9017,7 +9017,7 @@
9017
9017
  "/api/organizations/{workspaceId}/tasks/{taskId}/start": {
9018
9018
  "post": {
9019
9019
  "operationId": "tasksStart",
9020
- "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 Kosuke answered and do not retry.",
9020
+ "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.",
9021
9021
  "tags": ["tasks"],
9022
9022
  "x-kosuke-command": ["tasks", "start"],
9023
9023
  "x-kosuke-sandbox-token": true,
@@ -9264,7 +9264,7 @@
9264
9264
  "/api/organizations/{workspaceId}/usage/breakdown": {
9265
9265
  "get": {
9266
9266
  "operationId": "workspacesUsageBreakdownGet",
9267
- "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, Kosuke free and platform work are excluded. Owners and admins only. 400 on another range or an unknown time zone.",
9267
+ "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.",
9268
9268
  "tags": ["workspaces"],
9269
9269
  "x-kosuke-command": ["workspaces", "usage", "breakdown", "get"],
9270
9270
  "x-kosuke-sandbox-token": true,
@@ -10016,7 +10016,7 @@
10016
10016
  "maxLength": 2000
10017
10017
  },
10018
10018
  "workflow": {
10019
- "description": "How the project takes changes: collaboration (a pull request per session) or yolo (one chat that saves each passing Turn straight to the default branch). Defaults to collaboration with repositoryUrl and to yolo with description. yolo needs a default branch that Kosuke can push to.",
10019
+ "description": "How the project takes changes: collaboration (a pull request per session) or yolo (one chat that saves each passing Turn straight to the default branch). Defaults to collaboration with repositoryUrl and to yolo with description. yolo needs a default branch that Sensei can push to.",
10020
10020
  "type": "string",
10021
10021
  "enum": ["collaboration", "yolo"]
10022
10022
  },
@@ -10674,7 +10674,7 @@
10674
10674
  "/api/projects/{projectId}/batch-merging": {
10675
10675
  "get": {
10676
10676
  "operationId": "projectsBatchMergingGet",
10677
- "summary": "Read the Merge agent's mode (train: the merge train, batch: Batch merging, off: Kosuke merges nothing and members merge themselves; enabled is true for batch), how many go-ahead pull requests wait, and the run open now.",
10677
+ "summary": "Read the Merge agent's mode (train: the merge train, batch: Batch merging, off: the platform merges nothing and members merge themselves; enabled is true for batch), how many go-ahead pull requests wait, and the run open now.",
10678
10678
  "tags": ["projects"],
10679
10679
  "x-kosuke-command": ["projects", "batch-merging", "get"],
10680
10680
  "x-kosuke-sandbox-token": true,
@@ -10727,7 +10727,7 @@
10727
10727
  },
10728
10728
  "put": {
10729
10729
  "operationId": "projectsBatchMergingSet",
10730
- "summary": "Switch the Merge agent's mode. batch: Batch merging, a batch agent combines go-ahead pull requests into one Batch pull request, reviews and QAs it, then an admin approves it. train: the merge train merges them one at a time. off, the mode a new project starts in: Kosuke merges, enqueues and batches nothing; members merge their pull requests themselves, and a run already open finishes what it carries. Batches run as the member who turned Batch merging on. Switching to train or batch starts a run for the go-ahead pull requests that wait.",
10730
+ "summary": "Switch the Merge agent's mode. batch: Batch merging, a batch agent combines go-ahead pull requests into one Batch pull request, reviews and QAs it, then an admin approves it. train: the merge train merges them one at a time. off, the mode a new project starts in: the platform merges, enqueues and batches nothing; members merge their pull requests themselves, and a run already open finishes what it carries. Batches run as the member who turned Batch merging on. Switching to train or batch starts a run for the go-ahead pull requests that wait.",
10731
10731
  "tags": ["projects"],
10732
10732
  "x-kosuke-command": ["projects", "batch-merging", "set"],
10733
10733
  "x-kosuke-sandbox-token": true,
@@ -10753,7 +10753,7 @@
10753
10753
  "type": "object",
10754
10754
  "properties": {
10755
10755
  "mode": {
10756
- "description": "train: the merge train merges go-ahead pull requests one at a time. batch: Batch merging. off: Kosuke merges nothing, members merge their pull requests themselves.",
10756
+ "description": "train: the merge train merges go-ahead pull requests one at a time. batch: Batch merging. off: the platform merges nothing, members merge their pull requests themselves.",
10757
10757
  "type": "string",
10758
10758
  "enum": ["train", "batch", "off"]
10759
10759
  },
@@ -10883,7 +10883,7 @@
10883
10883
  "/api/projects/{projectId}/batch-merging/finish": {
10884
10884
  "post": {
10885
10885
  "operationId": "projectsBatchMergingFinish",
10886
- "summary": "The running Batch's own session only: end the Batch with nothing to merge, when it left every pull request out or failed on its own work. Kosuke starts no Batch for the same ready pull requests for an hour, or until one changes. A Batch whose pull request merges or closes ends on its own.",
10886
+ "summary": "The running Batch's own session only: end the Batch with nothing to merge, when it left every pull request out or failed on its own work. The platform starts no Batch for the same ready pull requests for an hour, or until one changes. A Batch whose pull request merges or closes ends on its own.",
10887
10887
  "tags": ["projects"],
10888
10888
  "x-kosuke-command": ["projects", "batch-merging", "finish"],
10889
10889
  "x-kosuke-sandbox-token": true,
@@ -11380,7 +11380,7 @@
11380
11380
  },
11381
11381
  "post": {
11382
11382
  "operationId": "sessionsCreate",
11383
- "summary": "Start a chat session, or file a backlog one with status=backlog. Title or content is required; a backlog session needs content. Attachments ride along as multipart. From a sandbox or a Cron Run, only status=backlog, and reason is required: one line on why the ticket exists. From a Cron Run, Kosuke files it and is its Assignee, and a model the workspace cannot run falls back to the Cron's: model says which one it will run on. A backlog session answers shareUrl, the link to give for it.",
11383
+ "summary": "Start a chat session, or file a backlog one with status=backlog. Title or content is required; a backlog session needs content. Attachments ride along as multipart. From a sandbox or a Cron Run, only status=backlog, and reason is required: one line on why the ticket exists. From a Cron Run, the system user files it and is its Assignee, and a model the workspace cannot run falls back to the Cron's: model says which one it will run on. A backlog session answers shareUrl, the link to give for it.",
11384
11384
  "tags": ["sessions"],
11385
11385
  "x-kosuke-command": ["sessions", "create"],
11386
11386
  "x-kosuke-attachments": true,
@@ -11423,11 +11423,11 @@
11423
11423
  "minLength": 1
11424
11424
  },
11425
11425
  "auto": {
11426
- "description": "True starts the session on Auto: Kosuke picks the Model and Provider of each Turn. False keeps it off. Absent follows your Default Model.",
11426
+ "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.",
11427
11427
  "type": "boolean"
11428
11428
  },
11429
11429
  "kosukeFree": {
11430
- "description": "true starts the session on Kosuke free, on the serving source's model. A member who can run no provider starts on it anyway; false never does.",
11430
+ "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.",
11431
11431
  "type": "boolean"
11432
11432
  },
11433
11433
  "status": {
@@ -11460,7 +11460,7 @@
11460
11460
  "maxLength": 200
11461
11461
  },
11462
11462
  "startWhenDeployed": {
11463
- "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.",
11463
+ "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.",
11464
11464
  "type": "boolean"
11465
11465
  },
11466
11466
  "sandboxSize": {
@@ -11494,11 +11494,11 @@
11494
11494
  "minLength": 1
11495
11495
  },
11496
11496
  "auto": {
11497
- "description": "True starts the session on Auto: Kosuke picks the Model and Provider of each Turn. False keeps it off. Absent follows your Default Model.",
11497
+ "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.",
11498
11498
  "type": "boolean"
11499
11499
  },
11500
11500
  "kosukeFree": {
11501
- "description": "true starts the session on Kosuke free, on the serving source's model. A member who can run no provider starts on it anyway; false never does.",
11501
+ "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.",
11502
11502
  "type": "boolean"
11503
11503
  },
11504
11504
  "status": {
@@ -11531,7 +11531,7 @@
11531
11531
  "maxLength": 200
11532
11532
  },
11533
11533
  "startWhenDeployed": {
11534
- "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.",
11534
+ "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.",
11535
11535
  "type": "boolean"
11536
11536
  },
11537
11537
  "sandboxSize": {
@@ -11714,7 +11714,7 @@
11714
11714
  "type": "boolean"
11715
11715
  },
11716
11716
  "kosukeFree": {
11717
- "description": "true runs the session on Kosuke 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.",
11717
+ "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.",
11718
11718
  "type": "boolean"
11719
11719
  },
11720
11720
  "nextTurn": {
@@ -11892,7 +11892,7 @@
11892
11892
  "/api/projects/{projectId}/chat-sessions/{sessionId}/activate": {
11893
11893
  "post": {
11894
11894
  "operationId": "sessionsStart",
11895
- "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 Kosuke 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.",
11895
+ "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.",
11896
11896
  "tags": ["sessions"],
11897
11897
  "x-kosuke-command": ["sessions", "start"],
11898
11898
  "x-kosuke-sandbox-token": true,
@@ -12554,7 +12554,7 @@
12554
12554
  "/api/projects/{projectId}/chat-sessions/{sessionId}/go-ahead/clear": {
12555
12555
  "post": {
12556
12556
  "operationId": "sessionsGoAheadDelete",
12557
- "summary": "Take the session's go-ahead away, so neither Kosuke nor a Batch merges its pull request until it is given again. The callers of `sessions go-ahead set`.",
12557
+ "summary": "Take the session's go-ahead away, so neither the Merge agent nor a Batch merges its pull request until it is given again. The callers of `sessions go-ahead set`.",
12558
12558
  "tags": ["sessions"],
12559
12559
  "x-kosuke-command": ["sessions", "go-ahead", "delete"],
12560
12560
  "x-kosuke-sandbox-token": true,
@@ -12753,11 +12753,11 @@
12753
12753
  "minLength": 1
12754
12754
  },
12755
12755
  "auto": {
12756
- "description": "True puts the session on Auto from this Turn: Kosuke picks its Model and Provider. False takes it off, with model or the session's own. Absent keeps the session as it is.",
12756
+ "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.",
12757
12757
  "type": "boolean"
12758
12758
  },
12759
12759
  "kosukeFree": {
12760
- "description": "true runs this Turn and the session on Kosuke 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.",
12760
+ "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.",
12761
12761
  "type": "boolean"
12762
12762
  },
12763
12763
  "previewContext": {
@@ -13081,7 +13081,7 @@
13081
13081
  "/api/projects/{projectId}/chat-sessions/{sessionId}/labels": {
13082
13082
  "put": {
13083
13083
  "operationId": "sessionsLabelsSet",
13084
- "summary": "Replace the session's Session Labels. New names join the project's labels. Session Labels stay in Kosuke: none is written to the pull request.",
13084
+ "summary": "Replace the session's Session Labels. New names join the project's labels. Session Labels stay in Sensei: none is written to the pull request.",
13085
13085
  "tags": ["sessions"],
13086
13086
  "x-kosuke-command": ["sessions", "labels", "set"],
13087
13087
  "x-kosuke-sandbox-token": true,
@@ -13190,7 +13190,7 @@
13190
13190
  },
13191
13191
  "patch": {
13192
13192
  "operationId": "sessionsLabelsUpdate",
13193
- "summary": "Add and remove Session Labels, leaving the session's other labels as they are. color sets the initial project color only for newly created labels in add; existing label colors stay unchanged. Session Labels stay in Kosuke: none is written to the pull request.",
13193
+ "summary": "Add and remove Session Labels, leaving the session's other labels as they are. color sets the initial project color only for newly created labels in add; existing label colors stay unchanged. Session Labels stay in Sensei: none is written to the pull request.",
13194
13194
  "tags": ["sessions"],
13195
13195
  "x-kosuke-command": ["sessions", "labels", "update"],
13196
13196
  "x-kosuke-sandbox-token": true,
@@ -14547,7 +14547,7 @@
14547
14547
  "minLength": 1
14548
14548
  },
14549
14549
  "auto": {
14550
- "description": "true puts the ticket on Auto: Kosuke picks the Model and Provider of each Turn. false takes it off; send it with model when choosing a Model. Absent leaves it as it is.",
14550
+ "description": "true puts the ticket on Auto: the platform picks the Model and Provider of each Turn. false takes it off; send it with model when choosing a Model. Absent leaves it as it is.",
14551
14551
  "type": "string",
14552
14552
  "enum": ["true", "false"]
14553
14553
  },
@@ -14795,7 +14795,7 @@
14795
14795
  "additionalProperties": {}
14796
14796
  },
14797
14797
  "force": {
14798
- "description": "Start even when every selected item is BLOCKED and nothing on its paths or its blocker kind changed; the reason is recorded in the run. Only for a change Kosuke cannot see, such as a service you started or data a person supplied.",
14798
+ "description": "Start even when every selected item is BLOCKED and nothing on its paths or its blocker kind changed; the reason is recorded in the run. Only for a change Sensei cannot see, such as a service you started or data a person supplied.",
14799
14799
  "type": "string",
14800
14800
  "minLength": 1,
14801
14801
  "maxLength": 500
@@ -16288,7 +16288,7 @@
16288
16288
  "/api/projects/{projectId}/chat-sessions/{sessionId}/read": {
16289
16289
  "post": {
16290
16290
  "operationId": "sessionsMarkRead",
16291
- "summary": "Mark a chat session read, clearing its unread marker, as opening it in the app does. The assignee clears their marker; any member clears the shared marker of a session booked to Kosuke.",
16291
+ "summary": "Mark a chat session read, clearing its unread marker, as opening it in the app does. The assignee clears their marker; any member clears the shared marker of a session booked to the system user.",
16292
16292
  "tags": ["sessions"],
16293
16293
  "x-kosuke-command": ["sessions", "mark-read"],
16294
16294
  "x-kosuke-sandbox-token": true,
@@ -16353,7 +16353,7 @@
16353
16353
  "/api/projects/{projectId}/chat-sessions/{sessionId}/review": {
16354
16354
  "put": {
16355
16355
  "operationId": "sessionsReviewSet",
16356
- "summary": "Record a review's verdict for the sandbox's HEAD, with the head and tree Kosuke reads from the checkout. Refused (409) while HEAD is not the given head, while tracked files have uncommitted changes, or once the Turn stopped. Only the session's own sandbox.",
16356
+ "summary": "Record a review's verdict for the sandbox's HEAD, with the head and tree the platform reads from the checkout. Refused (409) while HEAD is not the given head, while tracked files have uncommitted changes, or once the Turn stopped. Only the session's own sandbox.",
16357
16357
  "tags": ["sessions"],
16358
16358
  "x-kosuke-command": ["sessions", "review", "set"],
16359
16359
  "x-kosuke-sandbox-token": true,
@@ -16914,7 +16914,7 @@
16914
16914
  },
16915
16915
  "patch": {
16916
16916
  "operationId": "projectsLabelsUpdate",
16917
- "summary": "Recolor a Session Label. Session Labels stay in Kosuke: nothing is written to GitHub.",
16917
+ "summary": "Recolor a Session Label. Session Labels stay in Sensei: nothing is written to GitHub.",
16918
16918
  "tags": ["projects"],
16919
16919
  "x-kosuke-command": ["projects", "labels", "update"],
16920
16920
  "x-kosuke-sandbox-token": true,
@@ -17520,7 +17520,7 @@
17520
17520
  "/api/projects/{projectId}/merge-agent": {
17521
17521
  "get": {
17522
17522
  "operationId": "projectsMergeAgentGet",
17523
- "summary": "Read the project's Merge agent: its mode (train, batch, or off, where a new project starts), the base and whether it has GitHub's merge queue, the model the next run starts on (null: the Default Model), the go-ahead pull requests waiting for the next run with their QA, recorded head, stored review decision and state word (merged, ejected, in-batch, waiting, failed or ready, the one the Tasks board shows), the Batch the queue is split by (its CI, review, QA, members and ejections, each with its state word), and the open run and the last ten earlier runs, each with the model and effort its session runs on. `kosuke projects merge-agent runs list` lists every run. --live false reads Kosuke's own data only: no GitHub call, and GitHub's facts (what the Batch pull request still needs, the merge queue) are null.",
17523
+ "summary": "Read the project's Merge agent: its mode (train, batch, or off, where a new project starts), the base and whether it has GitHub's merge queue, the model the next run starts on (null: the Default Model), the go-ahead pull requests waiting for the next run with their QA, recorded head, stored review decision and state word (merged, ejected, in-batch, waiting, failed or ready, the one the Tasks board shows), the Batch the queue is split by (its CI, review, QA, members and ejections, each with its state word), and the open run and the last ten earlier runs, each with the model and effort its session runs on. `kosuke projects merge-agent runs list` lists every run. --live false reads Sensei's own data only: no GitHub call, and GitHub's facts (what the Batch pull request still needs, the merge queue) are null.",
17524
17524
  "tags": ["projects"],
17525
17525
  "x-kosuke-command": ["projects", "merge-agent", "get"],
17526
17526
  "x-kosuke-sandbox-token": true,
@@ -18035,7 +18035,7 @@
18035
18035
  "/api/projects/{projectId}/preview/sandbox/reset": {
18036
18036
  "post": {
18037
18037
  "operationId": "previewSandboxReset",
18038
- "summary": "Kill a sandbox that is stuck or crashed and does not recover by itself (not a slow preview), paused or unreachable included; Kosuke creates a new one. Uncommitted work and the agent's memory of the chat are lost, so an agent first asks the member on a card saying so and runs it only once they approve; an Event Turn or a teammate's message is never that approval.",
18038
+ "summary": "Kill a sandbox that is stuck or crashed and does not recover by itself (not a slow preview), paused or unreachable included; the platform creates a new one. Uncommitted work and the agent's memory of the chat are lost, so an agent first asks the member on a card saying so and runs it only once they approve; an Event Turn or a teammate's message is never that approval.",
18039
18039
  "tags": ["preview"],
18040
18040
  "x-kosuke-command": ["preview", "sandbox", "reset"],
18041
18041
  "x-kosuke-sensei-token": true,
@@ -20382,7 +20382,7 @@
20382
20382
  "/api/projects/{projectId}/skills": {
20383
20383
  "get": {
20384
20384
  "operationId": "projectsSkillsList",
20385
- "summary": "List the skills the agent can invoke in this project, for one provider: the project's own, the workspace's and the member's, the plugins', and Kosuke's own skills in the kosuke plugin, which every chat session carries as kosuke:<name>. From a sandbox, sessionId defaults to its own chat session. provider is the session's agent: anthropic for Claude, GLM, Kimi and DeepSeek; openai for Codex; meta for Muse; google for Gemini; xai for Grok. Check a skill is listed before you send a message that runs it.",
20385
+ "summary": "List the skills the agent can invoke in this project, for one provider: the project's own, the workspace's and the member's, the plugins', and the platform's own skills in the kosuke plugin, which every chat session carries as kosuke:<name>. From a sandbox, sessionId defaults to its own chat session. provider is the session's agent: anthropic for Claude, GLM, Kimi and DeepSeek; openai for Codex; meta for Muse; google for Gemini; xai for Grok. Check a skill is listed before you send a message that runs it.",
20386
20386
  "tags": ["projects"],
20387
20387
  "x-kosuke-command": ["projects", "skills", "list"],
20388
20388
  "x-kosuke-sandbox-token": true,
@@ -20673,7 +20673,7 @@
20673
20673
  "/api/push/devices": {
20674
20674
  "post": {
20675
20675
  "operationId": "userPushDevicesCreate",
20676
- "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 Kosuke iOS and Watch apps; answers 204.",
20676
+ "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.",
20677
20677
  "tags": ["user"],
20678
20678
  "x-kosuke-command": ["user", "push-devices", "create"],
20679
20679
  "x-kosuke-sandbox-token": true,
@@ -22576,7 +22576,7 @@
22576
22576
  "maxLength": 512
22577
22577
  },
22578
22578
  "eventId": {
22579
- "description": "The incoming watch event. Omit only for a WhatsApp reply to an owned stored incoming message; Kosuke validates the connection, conversation and messageId.",
22579
+ "description": "The incoming watch event. Omit only for a WhatsApp reply to an owned stored incoming message; the platform validates the connection, conversation and messageId.",
22580
22580
  "type": "string",
22581
22581
  "format": "uuid",
22582
22582
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -22590,7 +22590,7 @@
22590
22590
  "type": "string",
22591
22591
  "minLength": 1,
22592
22592
  "maxLength": 4000,
22593
- "description": "The reply as written, without the Sign as Sensei marker: Kosuke adds it at send when the member has it on."
22593
+ "description": "The reply as written, without the Sign as Sensei marker: the platform adds it at send when the member has it on."
22594
22594
  },
22595
22595
  "attachments": {
22596
22596
  "description": "Personal Files sent with the reply, Gmail only: fileId, version, name, mediaType and byteSize exactly as `kosuke files get personal <fileId>` prints them.",
@@ -22776,7 +22776,7 @@
22776
22776
  "/api/sensei/cards/close": {
22777
22777
  "post": {
22778
22778
  "operationId": "senseiCardsClose",
22779
- "summary": "Close your Turn's thread's open card with this key, at the revision you read, with one line on why it no longer asks anything of the member. A thread Kosuke opened that holds nothing of the member's then leaves Needs you and Done. Refused when the card moved, closed or is being sent, or when your Turn stopped.",
22779
+ "summary": "Close your Turn's thread's open card with this key, at the revision you read, with one line on why it no longer asks anything of the member. A thread the platform opened that holds nothing of the member's then leaves Needs you and Done. Refused when the card moved, closed or is being sent, or when your Turn stopped.",
22780
22780
  "tags": ["sensei"],
22781
22781
  "x-kosuke-command": ["sensei", "cards", "close"],
22782
22782
  "x-kosuke-sandbox-token": true,
@@ -23116,7 +23116,7 @@
23116
23116
  },
23117
23117
  "post": {
23118
23118
  "operationId": "senseiDelegatesStart",
23119
- "summary": "Hand a long job the member asked for in this Turn's thread to a Job Delegate, which works on it out of the conversation and posts its result in the thread. Kosuke gives it the member's message and its attachments; the brief adds what you know. The same message and key return the first job. Refused with DELEGATES_OUTDATED on an older Sensei container, and with DELEGATE_NOT_STARTED when its first Turn cannot start now, which Kosuke retries.",
23119
+ "summary": "Hand a long job the member asked for in this Turn's thread to a Job Delegate, which works on it out of the conversation and posts its result in the thread. The platform gives it the member's message and its attachments; the brief adds what you know. The same message and key return the first job. Refused with DELEGATES_OUTDATED on an older Sensei container, and with DELEGATE_NOT_STARTED when its first Turn cannot start now, which the platform retries.",
23120
23120
  "tags": ["sensei"],
23121
23121
  "x-kosuke-command": ["sensei", "delegates", "start"],
23122
23122
  "x-kosuke-sandbox-token": true,
@@ -23152,7 +23152,7 @@
23152
23152
  "type": "string",
23153
23153
  "minLength": 1,
23154
23154
  "maxLength": 20000,
23155
- "description": "Your brief to the delegate: what to find or make, what the member decided, the ids it needs and what to report. Kosuke adds the member's message itself."
23155
+ "description": "Your brief to the delegate: what to find or make, what the member decided, the ids it needs and what to report. The platform adds the member's message itself."
23156
23156
  }
23157
23157
  },
23158
23158
  "required": ["messageId", "key", "brief"]
@@ -23733,7 +23733,7 @@
23733
23733
  "enum": ["general.md"]
23734
23734
  },
23735
23735
  "cardId": {
23736
- "description": "The Memory card this write answers, if any. Kosuke reads nothing from it.",
23736
+ "description": "The Memory card this write answers, if any. The platform reads nothing from it.",
23737
23737
  "type": "string",
23738
23738
  "format": "uuid",
23739
23739
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
@@ -23861,7 +23861,7 @@
23861
23861
  "description": "The message's identity: the `identity` of its event, the `id` a send answered."
23862
23862
  },
23863
23863
  "memberId": {
23864
- "description": "The member to send it to, as the member named them. Kosuke does not pick one: a reroute without it is refused.",
23864
+ "description": "The member to send it to, as the member named them. The platform does not pick one: a reroute without it is refused.",
23865
23865
  "type": "string",
23866
23866
  "minLength": 1
23867
23867
  }
@@ -24006,7 +24006,7 @@
24006
24006
  "/api/sensei/repository": {
24007
24007
  "post": {
24008
24008
  "operationId": "senseiRepositoryCardsCreate",
24009
- "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.",
24009
+ "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 the platform 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.",
24010
24010
  "tags": ["sensei"],
24011
24011
  "x-kosuke-command": ["sensei", "repository-cards", "create"],
24012
24012
  "x-kosuke-sandbox-token": true,
@@ -24346,7 +24346,7 @@
24346
24346
  "/api/sensei/teammate-messages": {
24347
24347
  "post": {
24348
24348
  "operationId": "senseiMessagesSend",
24349
- "summary": "Send a message to a member's Sensei. Any sender can: you, your Sensei, 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 list` 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. Answers id, revision, updated and the recipient: say who it went to. Keys and text by kind: ticket-<slug of the title>, whose text is \"File the ticket <title> in <project>'s Backlog.\" then the reason and the description; start-<slug>, only for an unassigned or the member's own ticket while nothing of theirs builds or waits on them; delete-<slug> with its evidence; merge-<slug> with the merged text and each task's promptRevision; cron-<slug> with its prompt, crontab and projects; merge-plan with each pull request's number, head SHA and action. Before a ticket message, read the open tasks (`tasks list --include-prompt`): send nothing for work a session already covers, and name the Todo task that covers part of it in text. A 400 VALIDATION_ERROR wrote nothing: fix the fields in details and send again with the same key and memberId. Any other refusal is final: send to nobody else instead. An unknown outcome (a timeout, a 5xx) is never sent again. Pass the body with --body or --body-file.",
24349
+ "summary": "Send a message to a member's Sensei. Any sender can: you, your Sensei, 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 list` 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 Sensei 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. Answers id, revision, updated and the recipient: say who it went to. Keys and text by kind: ticket-<slug of the title>, whose text is \"File the ticket <title> in <project>'s Backlog.\" then the reason and the description; start-<slug>, only for an unassigned or the member's own ticket while nothing of theirs builds or waits on them; delete-<slug> with its evidence; merge-<slug> with the merged text and each task's promptRevision; cron-<slug> with its prompt, crontab and projects; merge-plan with each pull request's number, head SHA and action. Before a ticket message, read the open tasks (`tasks list --include-prompt`): send nothing for work a session already covers, and name the Todo task that covers part of it in text. A 400 VALIDATION_ERROR wrote nothing: fix the fields in details and send again with the same key and memberId. Any other refusal is final: send to nobody else instead. An unknown outcome (a timeout, a 5xx) is never sent again. Pass the body with --body or --body-file.",
24350
24350
  "tags": ["sensei"],
24351
24351
  "x-kosuke-command": ["sensei", "messages", "send"],
24352
24352
  "x-kosuke-sandbox-token": true,
@@ -24417,7 +24417,7 @@
24417
24417
  }
24418
24418
  },
24419
24419
  "link": {
24420
- "description": "Where the card should open: a path inside Kosuke starting with /, or an https URL.",
24420
+ "description": "Where the card should open: a path inside Sensei starting with /, or an https URL.",
24421
24421
  "type": "string",
24422
24422
  "maxLength": 2000
24423
24423
  },
@@ -24611,7 +24611,7 @@
24611
24611
  "/api/sensei/thread-move": {
24612
24612
  "post": {
24613
24613
  "operationId": "senseiThreadsMove",
24614
- "summary": "Move the member’s message that started this Turn’s thread into another of their threads, which it continues. Only Sensei calls it, and only before the Turn has written anything: Kosuke ends this Turn, sends the message into that thread, where it is answered with that thread’s memory, and removes this thread. Write no answer after it. Move it when it answers a question you asked in that thread, or is about that thread's work or session.",
24614
+ "summary": "Move the member’s message that started this Turn’s thread into another of their threads, which it continues. Only Sensei calls it, and only before the Turn has written anything: the platform ends this Turn, sends the message into that thread, where it is answered with that thread’s memory, and removes this thread. Write no answer after it. Move it when it answers a question you asked in that thread, or is about that thread's work or session.",
24615
24615
  "tags": ["sensei"],
24616
24616
  "x-kosuke-command": ["sensei", "threads", "move"],
24617
24617
  "x-kosuke-sandbox-token": true,
@@ -25848,7 +25848,7 @@
25848
25848
  "/api/user/crons": {
25849
25849
  "get": {
25850
25850
  "operationId": "cronsListPersonal",
25851
- "summary": "List your Personal Crons, newest first, with each one's thread and last run status. A Personal Cron belongs to you and no workspace: with Personal Repositories or Apps it runs in its own sandbox; without, in its Sensei Thread. Both use your Subscriptions or Kosuke free when you hold none. Among agents, only your Sensei reaches them.",
25851
+ "summary": "List your Personal Crons, newest first, with each one's thread and last run status. A Personal Cron belongs to you and no workspace: with Personal Repositories or Apps it runs in its own sandbox; without, in its Sensei Thread. Both use your Subscriptions or Sensei free when you hold none. Among agents, only your Sensei reaches them.",
25852
25852
  "tags": ["crons"],
25853
25853
  "x-kosuke-command": ["crons", "list"],
25854
25854
  "x-kosuke-variant": {
@@ -25928,7 +25928,7 @@
25928
25928
  },
25929
25929
  "post": {
25930
25930
  "operationId": "cronsCreatePersonal",
25931
- "summary": "Create a Personal Cron, enabled, with you as its owner. A Personal Cron belongs to you and no workspace: with Personal Repositories or Apps it runs in its own sandbox; without, in its Sensei Thread. Both use your Subscriptions or Kosuke free when you hold none. The crontab is read in the cron's own timezone, and may not fire more often than every 15 minutes. The model is an encoded id such as anthropic:opus__xhigh; repositories require an explicit Model from any released Provider on one of your Subscriptions, or kosuke-free when you hold none. Changing to Free while you hold a Subscription, or to a personal Model without one, is refused. Without repositories, null or left out runs on the thread’s model. From your Sensei it is refused with 409 CRON_ALREADY_EXISTS when you have a Personal Cron by that name: update that one instead. From Sensei, create or change one only when the member asks. To move a workspace Cron here, read it and recreate it with its timezone (its model only when the member's own Subscription runs it); the member deletes the workspace one in the app.",
25931
+ "summary": "Create a Personal Cron, enabled, with you as its owner. A Personal Cron belongs to you and no workspace: with Personal Repositories or Apps it runs in its own sandbox; without, in its Sensei Thread. Both use your Subscriptions or Sensei free when you hold none. The crontab is read in the cron's own timezone, and may not fire more often than every 15 minutes. The model is an encoded id such as anthropic:opus__xhigh; repositories require an explicit Model from any released Provider on one of your Subscriptions, or kosuke-free when you hold none. Changing to Free while you hold a Subscription, or to a personal Model without one, is refused. Without repositories, null or left out runs on the thread’s model. From your Sensei it is refused with 409 CRON_ALREADY_EXISTS when you have a Personal Cron by that name: update that one instead. From Sensei, create or change one only when the member asks. To move a workspace Cron here, read it and recreate it with its timezone (its model only when the member's own Subscription runs it); the member deletes the workspace one in the app.",
25932
25932
  "tags": ["crons"],
25933
25933
  "x-kosuke-command": ["crons", "create"],
25934
25934
  "x-kosuke-variant": {
@@ -25976,7 +25976,7 @@
25976
25976
  "description": "The IANA zone the crontab is read in, such as Europe/Rome."
25977
25977
  },
25978
25978
  "model": {
25979
- "description": "An encoded model id such as anthropic:opus__xhigh, one your Sensei runs on your own Subscription, or kosuke-free for Auto - Kosuke free while you hold no Subscription. With repositories, an explicit Model of a released provider your Subscription runs, or kosuke-free, is required. Without repositories, null runs on the thread's model.",
25979
+ "description": "An encoded model id such as anthropic:opus__xhigh, one your Sensei runs on your own Subscription, or kosuke-free for Auto - Sensei free while you hold no Subscription. With repositories, an explicit Model of a released provider your Subscription runs, or kosuke-free, is required. Without repositories, null runs on the thread's model.",
25980
25980
  "anyOf": [
25981
25981
  {
25982
25982
  "anyOf": [
@@ -26038,7 +26038,7 @@
26038
26038
  "/api/user/crons/{cronId}": {
26039
26039
  "get": {
26040
26040
  "operationId": "cronsGetPersonal",
26041
- "summary": "Read one of your Personal Crons: its prompt, schedule, timezone, model, when it runs next, its thread, its last run status, and how many runs in a row failed: five disable it. A Personal Cron belongs to you and no workspace: with Personal Repositories or Apps it runs in its own sandbox; without, in its Sensei Thread. Both use your Subscriptions or Kosuke free when you hold none.",
26041
+ "summary": "Read one of your Personal Crons: its prompt, schedule, timezone, model, when it runs next, its thread, its last run status, and how many runs in a row failed: five disable it. A Personal Cron belongs to you and no workspace: with Personal Repositories or Apps it runs in its own sandbox; without, in its Sensei Thread. Both use your Subscriptions or Sensei free when you hold none.",
26042
26042
  "tags": ["crons"],
26043
26043
  "x-kosuke-command": ["crons", "get"],
26044
26044
  "x-kosuke-variant": {
@@ -26154,7 +26154,7 @@
26154
26154
  "description": "The IANA zone the crontab is read in, such as Europe/Rome."
26155
26155
  },
26156
26156
  "model": {
26157
- "description": "An encoded model id such as anthropic:opus__xhigh, one your Sensei runs on your own Subscription, or kosuke-free for Auto - Kosuke free while you hold no Subscription. With repositories, an explicit Model of a released provider your Subscription runs, or kosuke-free, is required. Without repositories, null runs on the thread's model.",
26157
+ "description": "An encoded model id such as anthropic:opus__xhigh, one your Sensei runs on your own Subscription, or kosuke-free for Auto - Sensei free while you hold no Subscription. With repositories, an explicit Model of a released provider your Subscription runs, or kosuke-free, is required. Without repositories, null runs on the thread's model.",
26158
26158
  "anyOf": [
26159
26159
  {
26160
26160
  "anyOf": [
@@ -27187,7 +27187,7 @@
27187
27187
  "/api/user/integrations/{toolkit}/connections/{connectionId}": {
27188
27188
  "delete": {
27189
27189
  "operationId": "integrationsConnectionsDeletePersonal",
27190
- "summary": "Disconnect one of your own integration connections by toolkit slug and connection id, such as gmail and the id `kosuke integrations connections list personal` returns: agents lose it at once, then Kosuke deletes the stored authorization, retrying in the background if needed. Revoking the authorization at the toolkit itself is not part of this. A connection that is not yours, or is already gone, answers 404.",
27190
+ "summary": "Disconnect one of your own integration connections by toolkit slug and connection id, such as gmail and the id `kosuke integrations connections list personal` returns: agents lose it at once, then the platform deletes the stored authorization, retrying in the background if needed. Revoking the authorization at the toolkit itself is not part of this. A connection that is not yours, or is already gone, answers 404.",
27191
27191
  "tags": ["integrations"],
27192
27192
  "x-kosuke-command": ["integrations", "connections", "delete"],
27193
27193
  "x-kosuke-variant": {
@@ -27373,68 +27373,6 @@
27373
27373
  }
27374
27374
  }
27375
27375
  },
27376
- "/api/user/integrations/linkedin/connections/{connectionId}/reconnect": {
27377
- "post": {
27378
- "operationId": "integrationsBrowserConnectionsReconnectPersonalNetworkLinkedin",
27379
- "summary": "Start the LinkedIn connection flow again for the same account, Mac and Chrome profile, in a new Sensei thread, whose ID it answers. The account stays: to use another one, remove the connection and connect again. 409 MAC_REMOVED when its Mac was removed.",
27380
- "tags": ["integrations"],
27381
- "x-kosuke-command": ["integrations", "browser-connections", "reconnect"],
27382
- "x-kosuke-variant": {
27383
- "scope": "personal",
27384
- "when": {
27385
- "flag": "network",
27386
- "equals": "linkedin"
27387
- }
27388
- },
27389
- "x-kosuke-sandbox-token": true,
27390
- "x-kosuke-cron-token": true,
27391
- "x-kosuke-sensei-token": true,
27392
- "parameters": [
27393
- {
27394
- "name": "connectionId",
27395
- "in": "path",
27396
- "required": true,
27397
- "schema": {
27398
- "type": "string",
27399
- "format": "uuid",
27400
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
27401
- }
27402
- }
27403
- ],
27404
- "responses": {
27405
- "2XX": {
27406
- "description": "Success envelope",
27407
- "content": {
27408
- "application/json": {
27409
- "schema": {
27410
- "$ref": "#/components/schemas/ApiSuccess"
27411
- }
27412
- }
27413
- }
27414
- },
27415
- "4XX": {
27416
- "description": "Error envelope",
27417
- "content": {
27418
- "application/json": {
27419
- "schema": {
27420
- "$ref": "#/components/schemas/ApiError"
27421
- }
27422
- }
27423
- }
27424
- },
27425
- "5XX": {
27426
- "description": "Error envelope",
27427
- "content": {
27428
- "application/json": {
27429
- "schema": {
27430
- "$ref": "#/components/schemas/ApiError"
27431
- }
27432
- }
27433
- }
27434
- }
27435
- }
27436
- }
27437
- },
27438
27376
  "/api/user/integrations/x/connections": {
27439
27377
  "get": {
27440
27378
  "operationId": "integrationsBrowserConnectionsListPersonalNetworkX",
@@ -27558,68 +27496,6 @@
27558
27496
  }
27559
27497
  }
27560
27498
  },
27561
- "/api/user/integrations/x/connections/{connectionId}/reconnect": {
27562
- "post": {
27563
- "operationId": "integrationsBrowserConnectionsReconnectPersonalNetworkX",
27564
- "summary": "Start the X connection flow again for the same account, Mac and Chrome profile, in a new Sensei thread, whose ID it answers. The account stays: to use another one, remove the connection and connect again. 409 MAC_REMOVED when its Mac was removed.",
27565
- "tags": ["integrations"],
27566
- "x-kosuke-command": ["integrations", "browser-connections", "reconnect"],
27567
- "x-kosuke-variant": {
27568
- "scope": "personal",
27569
- "when": {
27570
- "flag": "network",
27571
- "equals": "x"
27572
- }
27573
- },
27574
- "x-kosuke-sandbox-token": true,
27575
- "x-kosuke-cron-token": true,
27576
- "x-kosuke-sensei-token": true,
27577
- "parameters": [
27578
- {
27579
- "name": "connectionId",
27580
- "in": "path",
27581
- "required": true,
27582
- "schema": {
27583
- "type": "string",
27584
- "format": "uuid",
27585
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
27586
- }
27587
- }
27588
- ],
27589
- "responses": {
27590
- "2XX": {
27591
- "description": "Success envelope",
27592
- "content": {
27593
- "application/json": {
27594
- "schema": {
27595
- "$ref": "#/components/schemas/ApiSuccess"
27596
- }
27597
- }
27598
- }
27599
- },
27600
- "4XX": {
27601
- "description": "Error envelope",
27602
- "content": {
27603
- "application/json": {
27604
- "schema": {
27605
- "$ref": "#/components/schemas/ApiError"
27606
- }
27607
- }
27608
- }
27609
- },
27610
- "5XX": {
27611
- "description": "Error envelope",
27612
- "content": {
27613
- "application/json": {
27614
- "schema": {
27615
- "$ref": "#/components/schemas/ApiError"
27616
- }
27617
- }
27618
- }
27619
- }
27620
- }
27621
- }
27622
- },
27623
27499
  "/api/user/plugins": {
27624
27500
  "get": {
27625
27501
  "operationId": "pluginsListPersonal",
@@ -27920,7 +27796,7 @@
27920
27796
  "/api/user/skills/{skillId}": {
27921
27797
  "get": {
27922
27798
  "operationId": "skillsGetPersonal",
27923
- "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 Kosuke, which holds no personal skills.",
27799
+ "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.",
27924
27800
  "tags": ["skills"],
27925
27801
  "x-kosuke-command": ["skills", "get"],
27926
27802
  "x-kosuke-variant": {
@@ -28166,7 +28042,7 @@
28166
28042
  },
28167
28043
  "patch": {
28168
28044
  "operationId": "providersDefaultModelSetPersonal",
28169
- "summary": "Save the model new chat sessions start on, as an encoded id such as anthropic:sonnet__medium, or null to let Kosuke choose, kosuke-free to use Auto - Kosuke free, or defaultAuto: true for personal Auto. Answers 204.",
28045
+ "summary": "Save the model new chat sessions start on, as an encoded id such as anthropic:sonnet__medium, or null to let the platform choose, kosuke-free to use Auto - Sensei free, or defaultAuto: true for personal Auto. Answers 204.",
28170
28046
  "tags": ["providers"],
28171
28047
  "x-kosuke-command": ["providers", "default-model", "set"],
28172
28048
  "x-kosuke-variant": {
@@ -29114,7 +28990,7 @@
29114
28990
  "/api/user/subscriptions/token-usage": {
29115
28991
  "get": {
29116
28992
  "operationId": "providersTokenUsageGetPersonal",
29117
- "summary": "Read the tokens Kosuke spent on your own Subscriptions, per Provider and per login or key method, over the last 7 days, the last 30 days and everything recorded: input (uncached), cache read, cache write and output, kept apart. Each total gives its recorded items, how many reported no counts (missing, never added as 0), how many made no model call and how many are still in progress, with the Sensei share (Personal Crons included) beside it. Covers only work run through Kosuke since recording began, from firstStartedAt; Kosuke Free and workspace Credentials are not included.",
28993
+ "summary": "Read the tokens Sensei spent on your own Subscriptions, per Provider and per login or key method, over the last 7 days, the last 30 days and everything recorded: input (uncached), cache read, cache write and output, kept apart. Each total gives its recorded items, how many reported no counts (missing, never added as 0), how many made no model call and how many are still in progress, with the Sensei share (Personal Crons included) beside it. Covers only work run through Sensei since recording began, from firstStartedAt; Sensei Free and workspace Credentials are not included.",
29118
28994
  "tags": ["providers"],
29119
28995
  "x-kosuke-command": ["providers", "token-usage", "get"],
29120
28996
  "x-kosuke-variant": {
@@ -29427,7 +29303,7 @@
29427
29303
  "/api/user/usage/breakdown": {
29428
29304
  "get": {
29429
29305
  "operationId": "userUsageGet",
29430
- "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 Kosuke 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.",
29306
+ "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.",
29431
29307
  "tags": ["user"],
29432
29308
  "x-kosuke-command": ["user", "usage", "get"],
29433
29309
  "parameters": [