@kosuke-ai/kosuke 1.0.96 → 1.0.98
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.98
|
|
4
|
+
|
|
5
|
+
- `integrations list` help now says the Personal space is a workspace with workspace connections of its own, and that scope personal is your own account, reached in every workspace.
|
|
6
|
+
|
|
7
|
+
## 1.0.97
|
|
8
|
+
|
|
9
|
+
- Build the package from the API document generated at publish time; the commands it ships are unchanged.
|
|
10
|
+
|
|
3
11
|
## 1.0.96
|
|
4
12
|
|
|
5
13
|
- Add `kosuke projects merge-agent order set` for the open merge train run's own session only, with its sandbox agent token; no API key reaches it. It saves the order the train merges pull requests in, with each one's group and reason. `kosuke projects merge-agent get` now returns it as `trainOrder`.
|
package/README.md
CHANGED
|
@@ -236,12 +236,12 @@ print the raw JSON of the same two routes. `kosuke agent summary get` lists the
|
|
|
236
236
|
|
|
237
237
|
## Generated from the API
|
|
238
238
|
|
|
239
|
-
`openapi.json` is the platform's own `GET /api/openapi.json`,
|
|
240
|
-
`
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
239
|
+
`openapi.json` is the platform's own `GET /api/openapi.json`, and
|
|
240
|
+
`src/generated/` holds its request types (openapi-typescript) and one
|
|
241
|
+
descriptor per operation, which the hand-written runtime turns into commands.
|
|
242
|
+
Neither is committed. `bun run cli:generate` at the repository root writes
|
|
243
|
+
both from the route contracts; CI and the publish job run it, and the package
|
|
244
|
+
ships `openapi.json` with the build.
|
|
245
245
|
|
|
246
246
|
## MCP server
|
|
247
247
|
|
|
@@ -34,7 +34,8 @@ export function accountText(raw) {
|
|
|
34
34
|
return raw;
|
|
35
35
|
}
|
|
36
36
|
export const WORKSPACE_HELP = 'The workspace to use. Required with an API key, which is refused when you are not a member of it. ' +
|
|
37
|
-
'Inside an agent turn the credential decides, and this is optional.'
|
|
37
|
+
'Inside an agent turn the credential decides, and this is optional. The Personal space is a ' +
|
|
38
|
+
'workspace too, with workspace connections of its own.';
|
|
38
39
|
/** A turn's token decides its workspace; a member's API key has to name one. */
|
|
39
40
|
export function workspaceFor(runtime, given) {
|
|
40
41
|
if (given)
|
|
@@ -172,7 +172,9 @@ export function attachIntegrationsCommands(root, runtime, deps = {}) {
|
|
|
172
172
|
leafAt(root, HAND_WRITTEN.integrationsList.command)
|
|
173
173
|
.description('List the connected tools. With no filter, one block per toolkit: its connections (alias, ' +
|
|
174
174
|
'scope, label, account, id) and how many read-only and write tools it has. --toolkit and ' +
|
|
175
|
-
'--search list the matching tools. A cut list says "N of M" and how to narrow it.'
|
|
175
|
+
'--search list the matching tools. A cut list says "N of M" and how to narrow it. Scope ' +
|
|
176
|
+
"workspace is the workspace's own connection, the Personal space's included; scope " +
|
|
177
|
+
'personal is your own account, reached in every workspace.')
|
|
176
178
|
.option('--toolkit <slug>', 'Only this toolkit, such as gmail.', toolkitSlug)
|
|
177
179
|
.option('--search <text>', 'Only tools whose name or description mention the text.', searchText)
|
|
178
180
|
.option('--account <account>', 'Only what one connection offers: an alias, id or scope:label.', accountText)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kosuke-ai/kosuke",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.98",
|
|
4
4
|
"description": "Sensei platform CLI. The client customers install to drive app.kosuke.ai from their own machine.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"scripts": {
|
|
25
25
|
"generate": "node scripts/generate.ts",
|
|
26
|
-
"check": "npm run generate &&
|
|
26
|
+
"check": "npm run generate && npm run typecheck && npm test",
|
|
27
27
|
"build": "tsc -p tsconfig.build.json && chmod +x dist/index.js",
|
|
28
28
|
"typecheck": "tsc --noEmit",
|
|
29
29
|
"test": "vitest run",
|
|
@@ -43,10 +43,10 @@
|
|
|
43
43
|
"minimatch": "^11.0.1"
|
|
44
44
|
},
|
|
45
45
|
"kosukeRelease": {
|
|
46
|
-
"sourceCommit": "
|
|
47
|
-
"sourceIdentity": "
|
|
46
|
+
"sourceCommit": "b3e04b750a9588604eee110b274ae6bc537eaf17",
|
|
47
|
+
"sourceIdentity": "850c5ee3c5dcacc778367ae61fa40f309c9cf296be3ebfd3fb0569f9de77ca10",
|
|
48
48
|
"fragments": [
|
|
49
|
-
"
|
|
49
|
+
"integrations-personal-space-help-p3k9dw.json"
|
|
50
50
|
]
|
|
51
51
|
}
|
|
52
52
|
}
|