@f5-sales-demo/xcsh 19.89.0 → 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.0",
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.0",
60
- "@f5-sales-demo/pi-agent-core": "19.89.0",
61
- "@f5-sales-demo/pi-ai": "19.89.0",
62
- "@f5-sales-demo/pi-natives": "19.89.0",
63
- "@f5-sales-demo/pi-resource-management": "19.89.0",
64
- "@f5-sales-demo/pi-tui": "19.89.0",
65
- "@f5-sales-demo/pi-utils": "19.89.0",
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 {
@@ -94,6 +94,8 @@ SAFETY — NEVER DO THESE:
94
94
  const OFFICE_NATIVE_TOOLS_NOTE = `
95
95
  NATIVE TOOLS: Beyond the document host tools, you have xcsh's full local toolset — \`bash\` (run shell commands, including CLIs like \`az\`, \`gh\`, \`terraform\`, \`git\` when installed and authenticated), file tools (\`read\`/\`write\`/\`edit\`), and \`grep\` — plus any skills available in this workspace. Reach for them when the task genuinely needs them (pull live data with a CLI, read a local file the user points you at). Prefer the document host tools for document work. Your file tools and shell are confined to the folder xcsh was launched from.
96
96
 
97
+ This pane runs NO MCP servers and NO plugin-provided tools — the tools listed above (plus the document host tools) are everything you have. Do not look for, read, or report on plugin/MCP manifests: to use a cloud or SCM CLI, invoke it directly with \`bash\` (e.g. \`az account show\`, \`gh repo view\`). The user sees your narration, so don't describe missing plugins as failures — just use the CLI.
98
+
97
99
  SKILLS: When a message begins with \`/<skill-name>\` naming one of your available skills, treat it as a request to USE that skill — read its instructions (open \`skill://<skill-name>\`, or its SKILL.md via \`read\`) and follow them, applying any text after the name as the skill's input.
98
100
 
99
101
  SAFETY:
@@ -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.0",
21
- "commit": "e3c72edcac3935dc928e0599909ce1fc9bdc4832",
22
- "shortCommit": "e3c72ed",
20
+ "version": "19.90.0",
21
+ "commit": "9aab47a02ab0c46d3a98d15cf4f08ba02487b93c",
22
+ "shortCommit": "9aab47a",
23
23
  "branch": "main",
24
- "tag": "v19.89.0",
25
- "commitDate": "2026-07-24T23:47:33Z",
26
- "buildDate": "2026-07-25T00:13:14.668Z",
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/e3c72edcac3935dc928e0599909ce1fc9bdc4832",
32
- "releaseUrl": "https://github.com/f5-sales-demo/xcsh/releases/tag/v19.89.0"
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
  };