@kosuke-ai/kosuke 1.0.8 → 1.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.10
4
+
5
+ - A token nobody stands behind (a Batch, the deploy agent, a Turn a teammate or Kosuke sent, and now every workspace Cron) acts as the workspace as Kosuke, an admin of it: it reaches everything in the workspace, writing only in its own project, except swapping the workspace's AI provider, logins, Grok or integrations, a go-ahead and deleting a project. Only a Personal Cron acts as its owner. Batch tasks carry the in batch Session Label while a Batch holds them.
6
+
7
+ ## 1.0.9
8
+
9
+ - Add activity, creation and priority sorting to task lists with sort-aware pagination.
10
+
3
11
  ## 1.0.8
4
12
 
5
13
  - A command refuses `--<flag>` given together with `--<flag>-file`, and two file flags that both read stdin (`-`).
@@ -8,7 +8,7 @@ export const operation = {
8
8
  "variant": {
9
9
  "scope": "personal"
10
10
  },
11
- "summary": "List the plugins the Official Marketplaces offer, or one Provider's with provider=anthropic or provider=openai, with whether you have each on as a personal plugin, the last failed install in the chat sessions you are the assignee of, and the workspaces of yours that already have it on. Plugins that carry MCP servers or ChatGPT apps are not offered. Personal plugins follow you into every workspace you belong to, alongside its workspace plugins. From an agent token, those of the member it acts as, with only this workspace and, for a sandbox or a Cron Run, this project's sessions. From a Cron Run with no member behind it, none.",
11
+ "summary": "List the plugins the Official Marketplaces offer, or one Provider's with provider=anthropic or provider=openai, with whether you have each on as a personal plugin, the last failed install in the chat sessions you are the assignee of, and the workspaces of yours that already have it on. Plugins that carry MCP servers or ChatGPT apps are not offered. Personal plugins follow you into every workspace you belong to, alongside its workspace plugins. From an agent token, those of the member it acts as, with only this workspace and, for a sandbox or a Cron Run, this project's sessions. From a Cron Run acting as the workspace, none.",
12
12
  "pathParams": [],
13
13
  "query": [
14
14
  {
@@ -6,7 +6,7 @@ export const operation = {
6
6
  "labels",
7
7
  "update"
8
8
  ],
9
- "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. A session token nobody stands behind may edit only its own session. Session Labels stay in Kosuke: none is written to the pull request.",
9
+ "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.",
10
10
  "pathParams": [
11
11
  "projectId",
12
12
  "sessionId"
@@ -5,7 +5,7 @@ export const operation = {
5
5
  "sessions",
6
6
  "search"
7
7
  ],
8
- "summary": "Search chat sessions by title across every workspace you belong to. An agent token searches its own workspace, or its own project when no member stands behind it.",
8
+ "summary": "Search chat sessions by title across every workspace you belong to. An agent token searches its own workspace.",
9
9
  "pathParams": [],
10
10
  "query": [
11
11
  {
@@ -5,7 +5,7 @@ export const operation = {
5
5
  "sessions",
6
6
  "update"
7
7
  ],
8
- "summary": "Change title, status, model, Auto, Assignee, priority, Sandbox size (sandboxSize) or App stack (appStack). Which changes are legal depends on the current status; the handler decides. sandboxSize and appStack change only while the session is in the Backlog: once it started they are fixed, and 409 SANDBOX_SETTINGS_LOCKED refuses them. A sandbox or a Cron Run may change only the title and priority of a Backlog session it filed.",
8
+ "summary": "Change title, status, model, Auto, Assignee, priority, Sandbox size (sandboxSize) or App stack (appStack). Which changes are legal depends on the current status; the handler decides. sandboxSize and appStack change only while the session is in the Backlog: once it started they are fixed, and 409 SANDBOX_SETTINGS_LOCKED refuses them.",
9
9
  "pathParams": [
10
10
  "projectId",
11
11
  "sessionId"
@@ -8,7 +8,7 @@ export const operation = {
8
8
  "variant": {
9
9
  "scope": "personal"
10
10
  },
11
- "summary": "Get one of your personal skills with every file it holds, SKILL.md included. From an agent token, one of the member it acts as. From a Cron Run with no member behind it, never one: it acts as Kosuke, which holds no personal skills.",
11
+ "summary": "Get one of your personal skills with every file it holds, SKILL.md included. From an agent token, one of the member it acts as. From a Cron Run acting as the workspace, never one: it acts as Kosuke, which holds no personal skills.",
12
12
  "pathParams": [
13
13
  "skillId"
14
14
  ],
@@ -8,7 +8,7 @@ export const operation = {
8
8
  "variant": {
9
9
  "scope": "personal"
10
10
  },
11
- "summary": "List your personal skills: what each SKILL.md declares, how many files the skill holds, whether it is enabled, and the workspaces where it replaces an enabled workspace skill of the same name. Personal skills follow you into every workspace you belong to and reach the chat sessions you are the assignee of. From an agent token, those of the member it acts as, naming only this workspace. From a Cron Run with no member behind it, none.",
11
+ "summary": "List your personal skills: what each SKILL.md declares, how many files the skill holds, whether it is enabled, and the workspaces where it replaces an enabled workspace skill of the same name. Personal skills follow you into every workspace you belong to and reach the chat sessions you are the assignee of. From an agent token, those of the member it acts as, naming only this workspace. From a Cron Run acting as the workspace, none.",
12
12
  "pathParams": [],
13
13
  "query": [],
14
14
  "body": null,
@@ -84,6 +84,27 @@ export const operation = {
84
84
  "kind": "string",
85
85
  "required": false
86
86
  },
87
+ {
88
+ "name": "sortBy",
89
+ "flag": "sort-by",
90
+ "kind": "string",
91
+ "required": false,
92
+ "choices": [
93
+ "activity",
94
+ "created",
95
+ "priority"
96
+ ]
97
+ },
98
+ {
99
+ "name": "sortOrder",
100
+ "flag": "sort-order",
101
+ "kind": "string",
102
+ "required": false,
103
+ "choices": [
104
+ "asc",
105
+ "desc"
106
+ ]
107
+ },
87
108
  {
88
109
  "name": "includePrompt",
89
110
  "flag": "include-prompt",
@@ -83,6 +83,27 @@ export const operation = {
83
83
  "kind": "string",
84
84
  "required": false
85
85
  },
86
+ {
87
+ "name": "sortBy",
88
+ "flag": "sort-by",
89
+ "kind": "string",
90
+ "required": false,
91
+ "choices": [
92
+ "activity",
93
+ "created",
94
+ "priority"
95
+ ]
96
+ },
97
+ {
98
+ "name": "sortOrder",
99
+ "flag": "sort-order",
100
+ "kind": "string",
101
+ "required": false,
102
+ "choices": [
103
+ "asc",
104
+ "desc"
105
+ ]
106
+ },
86
107
  {
87
108
  "name": "includePrompt",
88
109
  "flag": "include-prompt",
package/openapi.json CHANGED
@@ -673,7 +673,7 @@
673
673
  "/api/chat-sessions/search": {
674
674
  "get": {
675
675
  "operationId": "sessionsSearch",
676
- "summary": "Search chat sessions by title across every workspace you belong to. An agent token searches its own workspace, or its own project when no member stands behind it.",
676
+ "summary": "Search chat sessions by title across every workspace you belong to. An agent token searches its own workspace.",
677
677
  "tags": ["sessions"],
678
678
  "x-kosuke-command": ["sessions", "search"],
679
679
  "x-kosuke-sandbox-token": true,
@@ -7901,6 +7901,26 @@
7901
7901
  "type": "string"
7902
7902
  }
7903
7903
  },
7904
+ {
7905
+ "name": "sortBy",
7906
+ "in": "query",
7907
+ "required": false,
7908
+ "schema": {
7909
+ "default": "created",
7910
+ "type": "string",
7911
+ "enum": ["activity", "created", "priority"]
7912
+ }
7913
+ },
7914
+ {
7915
+ "name": "sortOrder",
7916
+ "in": "query",
7917
+ "required": false,
7918
+ "schema": {
7919
+ "default": "desc",
7920
+ "type": "string",
7921
+ "enum": ["asc", "desc"]
7922
+ }
7923
+ },
7904
7924
  {
7905
7925
  "name": "includePrompt",
7906
7926
  "in": "query",
@@ -11005,7 +11025,7 @@
11005
11025
  },
11006
11026
  "put": {
11007
11027
  "operationId": "sessionsUpdate",
11008
- "summary": "Change title, status, model, Auto, Assignee, priority, Sandbox size (sandboxSize) or App stack (appStack). Which changes are legal depends on the current status; the handler decides. sandboxSize and appStack change only while the session is in the Backlog: once it started they are fixed, and 409 SANDBOX_SETTINGS_LOCKED refuses them. A sandbox or a Cron Run may change only the title and priority of a Backlog session it filed.",
11028
+ "summary": "Change title, status, model, Auto, Assignee, priority, Sandbox size (sandboxSize) or App stack (appStack). Which changes are legal depends on the current status; the handler decides. sandboxSize and appStack change only while the session is in the Backlog: once it started they are fixed, and 409 SANDBOX_SETTINGS_LOCKED refuses them.",
11009
11029
  "tags": ["sessions"],
11010
11030
  "x-kosuke-command": ["sessions", "update"],
11011
11031
  "x-kosuke-sandbox-token": true,
@@ -12483,7 +12503,7 @@
12483
12503
  },
12484
12504
  "patch": {
12485
12505
  "operationId": "sessionsLabelsUpdate",
12486
- "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. A session token nobody stands behind may edit only its own session. Session Labels stay in Kosuke: none is written to the pull request.",
12506
+ "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.",
12487
12507
  "tags": ["sessions"],
12488
12508
  "x-kosuke-command": ["sessions", "labels", "update"],
12489
12509
  "x-kosuke-sandbox-token": true,
@@ -24074,6 +24094,26 @@
24074
24094
  "type": "string"
24075
24095
  }
24076
24096
  },
24097
+ {
24098
+ "name": "sortBy",
24099
+ "in": "query",
24100
+ "required": false,
24101
+ "schema": {
24102
+ "default": "created",
24103
+ "type": "string",
24104
+ "enum": ["activity", "created", "priority"]
24105
+ }
24106
+ },
24107
+ {
24108
+ "name": "sortOrder",
24109
+ "in": "query",
24110
+ "required": false,
24111
+ "schema": {
24112
+ "default": "desc",
24113
+ "type": "string",
24114
+ "enum": ["asc", "desc"]
24115
+ }
24116
+ },
24077
24117
  {
24078
24118
  "name": "includePrompt",
24079
24119
  "in": "query",
@@ -25946,7 +25986,7 @@
25946
25986
  "/api/user/plugins": {
25947
25987
  "get": {
25948
25988
  "operationId": "pluginsListPersonal",
25949
- "summary": "List the plugins the Official Marketplaces offer, or one Provider's with provider=anthropic or provider=openai, with whether you have each on as a personal plugin, the last failed install in the chat sessions you are the assignee of, and the workspaces of yours that already have it on. Plugins that carry MCP servers or ChatGPT apps are not offered. Personal plugins follow you into every workspace you belong to, alongside its workspace plugins. From an agent token, those of the member it acts as, with only this workspace and, for a sandbox or a Cron Run, this project's sessions. From a Cron Run with no member behind it, none.",
25989
+ "summary": "List the plugins the Official Marketplaces offer, or one Provider's with provider=anthropic or provider=openai, with whether you have each on as a personal plugin, the last failed install in the chat sessions you are the assignee of, and the workspaces of yours that already have it on. Plugins that carry MCP servers or ChatGPT apps are not offered. Personal plugins follow you into every workspace you belong to, alongside its workspace plugins. From an agent token, those of the member it acts as, with only this workspace and, for a sandbox or a Cron Run, this project's sessions. From a Cron Run acting as the workspace, none.",
25950
25990
  "tags": ["plugins"],
25951
25991
  "x-kosuke-command": ["plugins", "list"],
25952
25992
  "x-kosuke-variant": {
@@ -26120,7 +26160,7 @@
26120
26160
  "/api/user/skills": {
26121
26161
  "get": {
26122
26162
  "operationId": "skillsListPersonal",
26123
- "summary": "List your personal skills: what each SKILL.md declares, how many files the skill holds, whether it is enabled, and the workspaces where it replaces an enabled workspace skill of the same name. Personal skills follow you into every workspace you belong to and reach the chat sessions you are the assignee of. From an agent token, those of the member it acts as, naming only this workspace. From a Cron Run with no member behind it, none.",
26163
+ "summary": "List your personal skills: what each SKILL.md declares, how many files the skill holds, whether it is enabled, and the workspaces where it replaces an enabled workspace skill of the same name. Personal skills follow you into every workspace you belong to and reach the chat sessions you are the assignee of. From an agent token, those of the member it acts as, naming only this workspace. From a Cron Run acting as the workspace, none.",
26124
26164
  "tags": ["skills"],
26125
26165
  "x-kosuke-command": ["skills", "list"],
26126
26166
  "x-kosuke-variant": {
@@ -26243,7 +26283,7 @@
26243
26283
  "/api/user/skills/{skillId}": {
26244
26284
  "get": {
26245
26285
  "operationId": "skillsGetPersonal",
26246
- "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 with no member behind it, never one: it acts as Kosuke, which holds no personal skills.",
26286
+ "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.",
26247
26287
  "tags": ["skills"],
26248
26288
  "x-kosuke-command": ["skills", "get"],
26249
26289
  "x-kosuke-variant": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kosuke-ai/kosuke",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
4
4
  "description": "Kosuke platform CLI. The client customers install to drive app.kosuke.ai from their own machine.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -40,21 +40,10 @@
40
40
  "vitest": "^4.1.12"
41
41
  },
42
42
  "kosukeRelease": {
43
- "sourceCommit": "aa54571616b145b8d5111aa7603dc6005b559727",
44
- "sourceIdentity": "fbbdf40326b1eb22e3bfa1aae15392bb574a9b4455ce746f61445009f023ccb2",
43
+ "sourceCommit": "d7157b753b2f5f3007fe20cb7b202523a6b805d3",
44
+ "sourceIdentity": "4f91340c8301e9e6f0548a1de49411814dc9c3980579266a719fa22da3cc3748",
45
45
  "fragments": [
46
- "cli-file-flag-conflicts-k4t9vb.json",
47
- "command-grammar-handwritten-k7q2nv.json",
48
- "command-grammar-r4m8tx.json",
49
- "command-grammar-texts-b5n9ze.json",
50
- "cut-unused-commands-g7q2kd.json",
51
- "mark-ready-without-checks-r2k7fd.json",
52
- "prototypes-render-command-p7r4nd.json",
53
- "qa-review-ready-guards-p3w8nd.json",
54
- "qa-runs-on-the-server-7t4k2m.json",
55
- "sensei-delegates-list-be7x4q.json",
56
- "user-memory-removed-w3j6pc.json",
57
- "variant-refusal-names-id-f8n2qe.json"
46
+ "workspace-acts-as-kosuke-7r2m4q.json"
58
47
  ]
59
48
  }
60
49
  }