@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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.56
4
+
5
+ - Kosuke is now called Sensei wherever the apps show its name. The Mac app shows Sensei in its menus, About panel, window and menu bar, with the Sensei icon in the Dock and menu bar, and in its permission prompts, notifications and messages; its widgets are named Sensei. The iPhone and Apple Watch apps' messages say Sensei, and the CLI's help, descriptions and README name Sensei. Only the displayed name and icons change: the kosuke command, the @kosuke-ai/kosuke package, KOSUKE_ variables, kosuke:// links, app identifiers, update channels and the app's file names and data locations are kept.
6
+
7
+ ## 1.0.55
8
+
9
+ - Remove LinkedIn and X browser reconnect commands. Disconnect the saved connection before connecting again.
10
+
3
11
  ## 1.0.54
4
12
 
5
13
  - `kosuke sessions qa runs start` takes `--force <reason>`, and `kosuke sessions qa runs stop` takes `--kind`, for QA runs that would only block their items again.
package/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # @kosuke-ai/kosuke
2
2
 
3
- The Kosuke platform CLI: `kosuke`, the client you install on your own machine to
3
+ The Sensei platform CLI: `kosuke`, the client you install on your own machine to
4
4
  drive [app.kosuke.ai](https://app.kosuke.ai). Not `ksb`, the agent that
5
- runs inside a Kosuke sandbox: that one lives in `sandbox/ksb-cli` and is
5
+ runs inside a Sensei sandbox: that one lives in `sandbox/ksb-cli` and is
6
6
  installed inside sandboxes alongside this platform CLI, never by hand.
7
7
 
8
8
  ```sh
@@ -201,7 +201,7 @@ document says.
201
201
 
202
202
  ## MCP server
203
203
 
204
- Kosuke is served to an MCP client at `https://app.kosuke.ai/api/mcp`; sign in
204
+ Sensei is served to an MCP client at `https://app.kosuke.ai/api/mcp`; sign in
205
205
  once in the browser to authorize a client and the credential renews itself,
206
206
  so there is nothing to install or run here. See
207
207
  [the docs](https://docs.kosuke.ai/interfaces/mcp) for adding it to Claude,
@@ -302,7 +302,7 @@ export function planSummary(options) {
302
302
  const { sessions, apiUrl, now, workspace, peek = false } = options;
303
303
  const scope = workspace ? ` --workspace ${workspace}` : '';
304
304
  const stamp = new Date(now).toISOString().slice(0, 16).replace('T', ' ') + ' UTC';
305
- const head = [`Kosuke summary, ${stamp}, ${apiUrl}`, ''];
305
+ const head = [`Sensei summary, ${stamp}, ${apiUrl}`, ''];
306
306
  const needing = rows(sessions);
307
307
  const needTotal = paginationTotal(sessions) ?? needing.length;
308
308
  if (needTotal === 0) {
@@ -423,5 +423,5 @@ function reasonOf(error) {
423
423
  return 'the platform could not be reached';
424
424
  }
425
425
  function unavailable(reason, next) {
426
- return `Kosuke summary unavailable: ${reason}. Run ${next}.`;
426
+ return `Sensei summary unavailable: ${reason}. Run ${next}.`;
427
427
  }
@@ -3,7 +3,7 @@ import { leafAt } from '../runtime/attach.js';
3
3
  import { HAND_WRITTEN } from './hand-written.js';
4
4
  export function attachAgentCommands(root, runtime, deps = {}) {
5
5
  const { fetch, now, stdout = (line) => process.stdout.write(line + '\n') } = deps;
6
- root.command('agent').description('What an agent reads about your Kosuke.');
6
+ root.command('agent').description('What an agent reads about your Sensei account.');
7
7
  leafAt(root, HAND_WRITTEN.agentSummaryGet.command)
8
8
  .description('Print what needs you and your oldest New Activity as a short digest for an agent to read. ' +
9
9
  'Marks seen only the events it prints, and none with --peek; the rest stay New.')
@@ -5,7 +5,7 @@ export const operation = {
5
5
  "activity",
6
6
  "list"
7
7
  ],
8
- "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.",
8
+ "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.",
9
9
  "pathParams": [],
10
10
  "query": [
11
11
  {
@@ -8,7 +8,7 @@ export const operation = {
8
8
  "variant": {
9
9
  "scope": "personal"
10
10
  },
11
- "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.",
11
+ "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.",
12
12
  "pathParams": [],
13
13
  "query": [],
14
14
  "body": {
@@ -53,7 +53,7 @@ export const operation = {
53
53
  "flag": "model",
54
54
  "kind": "json",
55
55
  "required": false,
56
- "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."
56
+ "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."
57
57
  }
58
58
  ],
59
59
  "required": true
@@ -5,7 +5,7 @@ export const operation = {
5
5
  "crons",
6
6
  "create"
7
7
  ],
8
- "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.",
8
+ "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.",
9
9
  "pathParams": [
10
10
  "workspaceId"
11
11
  ],
@@ -53,7 +53,7 @@ export const operation = {
53
53
  "flag": "model",
54
54
  "kind": "string",
55
55
  "required": false,
56
- "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."
56
+ "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."
57
57
  }
58
58
  ],
59
59
  "required": true
@@ -8,7 +8,7 @@ export const operation = {
8
8
  "variant": {
9
9
  "scope": "personal"
10
10
  },
11
- "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.",
11
+ "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.",
12
12
  "pathParams": [
13
13
  "cronId"
14
14
  ],
@@ -8,7 +8,7 @@ export const operation = {
8
8
  "variant": {
9
9
  "scope": "personal"
10
10
  },
11
- "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.",
11
+ "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.",
12
12
  "pathParams": [],
13
13
  "query": [
14
14
  {
@@ -55,7 +55,7 @@ export const operation = {
55
55
  "flag": "model",
56
56
  "kind": "json",
57
57
  "required": false,
58
- "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."
58
+ "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."
59
59
  },
60
60
  {
61
61
  "name": "enabled",
@@ -54,7 +54,7 @@ export const operation = {
54
54
  "flag": "model",
55
55
  "kind": "string",
56
56
  "required": false,
57
- "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."
57
+ "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."
58
58
  },
59
59
  {
60
60
  "name": "enabled",