@kosuke-ai/kosuke 1.0.96 → 1.0.97

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,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.97
4
+
5
+ - Build the package from the API document generated at publish time; the commands it ships are unchanged.
6
+
3
7
  ## 1.0.96
4
8
 
5
9
  - 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`, snapshotted by
240
- `bun run openapi:snapshot` at the repository root. `npm run generate` turns it
241
- into `src/generated/`: request types (openapi-typescript) and one descriptor per
242
- operation, which the hand-written runtime turns into commands. `npm run check`
243
- regenerates and fails on any difference, so the tree is only ever what the
244
- document says.
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kosuke-ai/kosuke",
3
- "version": "1.0.96",
3
+ "version": "1.0.97",
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 && node scripts/assert-clean.ts && npm run typecheck && npm test",
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": "80cf55bf1deb740fb4a0bc3dca808b95362f1141",
47
- "sourceIdentity": "c3779657d3558a6e82bb289cfdb5ea4c5b77a7949f2f7daa72f97764d6971711",
46
+ "sourceCommit": "0cb9c9b8987c42412202c368cbc1b0d380c1d764",
47
+ "sourceIdentity": "c64adc511c9872f3246cc320b5d5383649ee8af8c7ad269ac61524b5cfb522d5",
48
48
  "fragments": [
49
- "merge-train-order-set-q7r2kd.json"
49
+ "cli-generated-at-publish-2lsi5c.json"
50
50
  ]
51
51
  }
52
52
  }