@f5-sales-demo/xcsh 19.89.1 → 19.90.1
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.
|
|
4
|
+
"version": "19.90.1",
|
|
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.
|
|
60
|
-
"@f5-sales-demo/pi-agent-core": "19.
|
|
61
|
-
"@f5-sales-demo/pi-ai": "19.
|
|
62
|
-
"@f5-sales-demo/pi-natives": "19.
|
|
63
|
-
"@f5-sales-demo/pi-resource-management": "19.
|
|
64
|
-
"@f5-sales-demo/pi-tui": "19.
|
|
65
|
-
"@f5-sales-demo/pi-utils": "19.
|
|
59
|
+
"@f5-sales-demo/xcsh-stats": "19.90.1",
|
|
60
|
+
"@f5-sales-demo/pi-agent-core": "19.90.1",
|
|
61
|
+
"@f5-sales-demo/pi-ai": "19.90.1",
|
|
62
|
+
"@f5-sales-demo/pi-natives": "19.90.1",
|
|
63
|
+
"@f5-sales-demo/pi-resource-management": "19.90.1",
|
|
64
|
+
"@f5-sales-demo/pi-tui": "19.90.1",
|
|
65
|
+
"@f5-sales-demo/pi-utils": "19.90.1",
|
|
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-
|
|
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-
|
|
161
|
-
* `context-1m-2025-08-07`
|
|
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-
|
|
164
|
-
|
|
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.
|
|
21
|
-
"commit": "
|
|
22
|
-
"shortCommit": "
|
|
20
|
+
"version": "19.90.1",
|
|
21
|
+
"commit": "62761479b0f230d2047ed9b882a436b7041feec9",
|
|
22
|
+
"shortCommit": "6276147",
|
|
23
23
|
"branch": "main",
|
|
24
|
-
"tag": "v19.
|
|
25
|
-
"commitDate": "2026-07-
|
|
26
|
-
"buildDate": "2026-07-
|
|
24
|
+
"tag": "v19.90.1",
|
|
25
|
+
"commitDate": "2026-07-25T02:53:47Z",
|
|
26
|
+
"buildDate": "2026-07-25T03:26:47.738Z",
|
|
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/
|
|
32
|
-
"releaseUrl": "https://github.com/f5-sales-demo/xcsh/releases/tag/v19.
|
|
31
|
+
"commitUrl": "https://github.com/f5-sales-demo/xcsh/commit/62761479b0f230d2047ed9b882a436b7041feec9",
|
|
32
|
+
"releaseUrl": "https://github.com/f5-sales-demo/xcsh/releases/tag/v19.90.1"
|
|
33
33
|
};
|
package/src/thinking.ts
CHANGED
|
@@ -32,7 +32,12 @@ const THINKING_LEVEL_METADATA: Record<ThinkingLevel, ThinkingLevelMetadata> = {
|
|
|
32
32
|
[ThinkingLevel.XHigh]: {
|
|
33
33
|
value: ThinkingLevel.XHigh,
|
|
34
34
|
label: "xhigh",
|
|
35
|
-
description: "
|
|
35
|
+
description: "Very deep reasoning (~32k tokens)",
|
|
36
|
+
},
|
|
37
|
+
[ThinkingLevel.Max]: {
|
|
38
|
+
value: ThinkingLevel.Max,
|
|
39
|
+
label: "max",
|
|
40
|
+
description: "Maximum reasoning (~64k tokens)",
|
|
36
41
|
},
|
|
37
42
|
};
|
|
38
43
|
|