@f5-sales-demo/xcsh 19.89.1 → 19.90.0

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@f5-sales-demo/xcsh",
4
- "version": "19.89.1",
4
+ "version": "19.90.0",
5
5
  "description": "Coding agent CLI with read, bash, edit, write tools and session management",
6
6
  "homepage": "https://github.com/f5-sales-demo/xcsh",
7
7
  "author": "Can Boluk",
@@ -56,13 +56,13 @@
56
56
  "dependencies": {
57
57
  "@agentclientprotocol/sdk": "0.16.1",
58
58
  "@mozilla/readability": "^0.6",
59
- "@f5-sales-demo/xcsh-stats": "19.89.1",
60
- "@f5-sales-demo/pi-agent-core": "19.89.1",
61
- "@f5-sales-demo/pi-ai": "19.89.1",
62
- "@f5-sales-demo/pi-natives": "19.89.1",
63
- "@f5-sales-demo/pi-resource-management": "19.89.1",
64
- "@f5-sales-demo/pi-tui": "19.89.1",
65
- "@f5-sales-demo/pi-utils": "19.89.1",
59
+ "@f5-sales-demo/xcsh-stats": "19.90.0",
60
+ "@f5-sales-demo/pi-agent-core": "19.90.0",
61
+ "@f5-sales-demo/pi-ai": "19.90.0",
62
+ "@f5-sales-demo/pi-natives": "19.90.0",
63
+ "@f5-sales-demo/pi-resource-management": "19.90.0",
64
+ "@f5-sales-demo/pi-tui": "19.90.0",
65
+ "@f5-sales-demo/pi-utils": "19.90.0",
66
66
  "@sinclair/typebox": "^0.34",
67
67
  "@xterm/headless": "^6.0",
68
68
  "ajv": "^8.20",
@@ -334,7 +334,7 @@ export class ChatHandler {
334
334
  * never throws out of the handler (a nack keeps a waiting client from hanging).
335
335
  *
336
336
  * The baked F5 gateway registers its models under the "anthropic" provider
337
- * (DEFAULT_MODEL_ROLE = "anthropic/claude-opus-4-8"), so that is the provider we
337
+ * (DEFAULT_MODEL_ROLE = "anthropic/claude-opus-5"), so that is the provider we
338
338
  * (re)configure here. */
339
339
  async #handleConfigure(msg: Configure): Promise<void> {
340
340
  try {
@@ -157,11 +157,24 @@ const DEFAULT_CYCLE_ORDER: string[] = ["smol", "default", "slow"];
157
157
  /**
158
158
  * Binary-baked default model role. Ships in the binary so a fresh install needs
159
159
  * NO `~/.xcsh/agent/config.yml` — `/login` only supplies the (PII) proxy URL + key.
160
- * The gateway serves the id `claude-opus-4-8`; its catalog entry carries the
161
- * `context-1m-2025-08-07` beta for 1M context.
160
+ * The gateway serves the id `claude-opus-5` (1,000,000 in / 128,000 out, verified via
161
+ * `GET /openai/model/info`); its catalog entry carries the `context-1m-2025-08-07`
162
+ * beta. Note: no `[1m]` suffix — that is a Claude-Code client convention, and the
163
+ * literal id is rejected by the gateway with `400 Invalid model name`.
162
164
  */
163
- export const DEFAULT_MODEL_ROLE = "anthropic/claude-opus-4-8";
164
- const DEFAULT_MODEL_ROLES: Record<string, string> = { default: DEFAULT_MODEL_ROLE };
165
+ export const DEFAULT_MODEL_ROLE = "anthropic/claude-opus-5";
166
+ /** Fast role for lightweight work (commit messages, titles, memory summaries). */
167
+ const SMOL_MODEL_ROLE = "anthropic/claude-sonnet-5";
168
+ /**
169
+ * Baked role map. `smol` ("Fast") may be cheaper, but `slow` ("Thinking") is pinned to
170
+ * the same model as `default` so the smol→default→slow cycle stays monotonic — the
171
+ * high-reasoning role must never resolve to something weaker than the default.
172
+ */
173
+ const DEFAULT_MODEL_ROLES: Record<string, string> = {
174
+ default: DEFAULT_MODEL_ROLE,
175
+ smol: SMOL_MODEL_ROLE,
176
+ slow: DEFAULT_MODEL_ROLE,
177
+ };
165
178
  const EMPTY_MODEL_TAGS_RECORD: ModelTagsSettings = {};
166
179
  export const DEFAULT_BASH_INTERCEPTOR_RULES: BashInterceptorRule[] = [
167
180
  {
@@ -17,17 +17,17 @@ export interface BuildInfo {
17
17
  }
18
18
 
19
19
  export const BUILD_INFO: BuildInfo = {
20
- "version": "19.89.1",
21
- "commit": "9211f03109bde7193ba45c405270aaad282bab6d",
22
- "shortCommit": "9211f03",
20
+ "version": "19.90.0",
21
+ "commit": "9aab47a02ab0c46d3a98d15cf4f08ba02487b93c",
22
+ "shortCommit": "9aab47a",
23
23
  "branch": "main",
24
- "tag": "v19.89.1",
25
- "commitDate": "2026-07-25T00:32:53Z",
26
- "buildDate": "2026-07-25T00:57:48.294Z",
24
+ "tag": "v19.90.0",
25
+ "commitDate": "2026-07-25T01:23:55Z",
26
+ "buildDate": "2026-07-25T01:59:21.915Z",
27
27
  "dirty": true,
28
28
  "prNumber": "",
29
29
  "repoUrl": "https://github.com/f5-sales-demo/xcsh",
30
30
  "repoSlug": "f5-sales-demo/xcsh",
31
- "commitUrl": "https://github.com/f5-sales-demo/xcsh/commit/9211f03109bde7193ba45c405270aaad282bab6d",
32
- "releaseUrl": "https://github.com/f5-sales-demo/xcsh/releases/tag/v19.89.1"
31
+ "commitUrl": "https://github.com/f5-sales-demo/xcsh/commit/9aab47a02ab0c46d3a98d15cf4f08ba02487b93c",
32
+ "releaseUrl": "https://github.com/f5-sales-demo/xcsh/releases/tag/v19.90.0"
33
33
  };