@f5xc-salesdemos/xcsh 18.48.1 → 18.48.2
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": "@f5xc-salesdemos/xcsh",
|
|
4
|
-
"version": "18.48.
|
|
4
|
+
"version": "18.48.2",
|
|
5
5
|
"description": "Coding agent CLI with read, bash, edit, write tools and session management",
|
|
6
6
|
"homepage": "https://github.com/f5xc-salesdemos/xcsh",
|
|
7
7
|
"author": "Can Boluk",
|
|
@@ -48,12 +48,12 @@
|
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@agentclientprotocol/sdk": "0.16.1",
|
|
50
50
|
"@mozilla/readability": "^0.6",
|
|
51
|
-
"@f5xc-salesdemos/xcsh-stats": "18.48.
|
|
52
|
-
"@f5xc-salesdemos/pi-agent-core": "18.48.
|
|
53
|
-
"@f5xc-salesdemos/pi-ai": "18.48.
|
|
54
|
-
"@f5xc-salesdemos/pi-natives": "18.48.
|
|
55
|
-
"@f5xc-salesdemos/pi-tui": "18.48.
|
|
56
|
-
"@f5xc-salesdemos/pi-utils": "18.48.
|
|
51
|
+
"@f5xc-salesdemos/xcsh-stats": "18.48.2",
|
|
52
|
+
"@f5xc-salesdemos/pi-agent-core": "18.48.2",
|
|
53
|
+
"@f5xc-salesdemos/pi-ai": "18.48.2",
|
|
54
|
+
"@f5xc-salesdemos/pi-natives": "18.48.2",
|
|
55
|
+
"@f5xc-salesdemos/pi-tui": "18.48.2",
|
|
56
|
+
"@f5xc-salesdemos/pi-utils": "18.48.2",
|
|
57
57
|
"@sinclair/typebox": "^0.34",
|
|
58
58
|
"@xterm/headless": "^6.0",
|
|
59
59
|
"ajv": "^8.18",
|
|
@@ -143,8 +143,16 @@ function formatConstraints(constraints: Record<string, unknown> | undefined): st
|
|
|
143
143
|
if (constraints.maximum != null) parts.push(`max: ${constraints.maximum}`);
|
|
144
144
|
if (constraints.minItems != null) parts.push(`minItems: ${constraints.minItems}`);
|
|
145
145
|
if (constraints.maxItems != null) parts.push(`maxItems: ${constraints.maxItems}`);
|
|
146
|
+
if (Array.isArray(constraints.ranges)) {
|
|
147
|
+
const formatted = (constraints.ranges as Array<{ minimum: number; maximum: number }>)
|
|
148
|
+
.map(r => (r.minimum === r.maximum ? `{${r.minimum}}` : `[${r.minimum},${r.maximum}]`))
|
|
149
|
+
.join(" ∪ ");
|
|
150
|
+
parts.push(`ranges: ${formatted}`);
|
|
151
|
+
}
|
|
146
152
|
if (constraints.format) parts.push(`format: ${constraints.format}`);
|
|
147
153
|
if (Array.isArray(constraints.enum)) parts.push(`enum: ${constraints.enum.join(", ")}`);
|
|
154
|
+
const meta = constraints.metadata as Record<string, unknown> | undefined;
|
|
155
|
+
if (meta?.note) parts.push(`note: ${String(meta.note)}`);
|
|
148
156
|
return parts.length > 0 ? parts.join(", ") : "--";
|
|
149
157
|
}
|
|
150
158
|
|
|
@@ -17,17 +17,17 @@ export interface BuildInfo {
|
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
export const BUILD_INFO: BuildInfo = {
|
|
20
|
-
"version": "18.48.
|
|
21
|
-
"commit": "
|
|
22
|
-
"shortCommit": "
|
|
20
|
+
"version": "18.48.2",
|
|
21
|
+
"commit": "6e820110b9050a56740269c12837b19b27abc08e",
|
|
22
|
+
"shortCommit": "6e82011",
|
|
23
23
|
"branch": "main",
|
|
24
|
-
"tag": "v18.48.
|
|
25
|
-
"commitDate": "2026-05-
|
|
26
|
-
"buildDate": "2026-05-
|
|
27
|
-
"dirty":
|
|
24
|
+
"tag": "v18.48.2",
|
|
25
|
+
"commitDate": "2026-05-06T18:00:08Z",
|
|
26
|
+
"buildDate": "2026-05-06T18:23:30.609Z",
|
|
27
|
+
"dirty": false,
|
|
28
28
|
"prNumber": "",
|
|
29
29
|
"repoUrl": "https://github.com/f5xc-salesdemos/xcsh",
|
|
30
30
|
"repoSlug": "f5xc-salesdemos/xcsh",
|
|
31
|
-
"commitUrl": "https://github.com/f5xc-salesdemos/xcsh/commit/
|
|
32
|
-
"releaseUrl": "https://github.com/f5xc-salesdemos/xcsh/releases/tag/v18.48.
|
|
31
|
+
"commitUrl": "https://github.com/f5xc-salesdemos/xcsh/commit/6e820110b9050a56740269c12837b19b27abc08e",
|
|
32
|
+
"releaseUrl": "https://github.com/f5xc-salesdemos/xcsh/releases/tag/v18.48.2"
|
|
33
33
|
};
|
|
@@ -152,13 +152,8 @@ Available F5 XC documentation topics: {{knowledgeTopics}}.
|
|
|
152
152
|
{{#if userProfile}}
|
|
153
153
|
## Primary Human
|
|
154
154
|
|
|
155
|
-
{{userProfile.name}}
|
|
156
|
-
|
|
157
|
-
- Addressing the user by name or drafting communications from/to them
|
|
158
|
-
- A tool call needs personal identifiers (Salesforce user ID, GitHub username, email, phone)
|
|
159
|
-
- User asks about themselves ("my email", "who is my manager", "where am I from")
|
|
160
|
-
- Answering relationship/identity questions ("who is your human", "who do you work with")
|
|
161
|
-
**SHOULD NOT** read for routine technical work, code changes, or product questions.
|
|
155
|
+
{{userProfile.name}}, {{userProfile.role}}, {{userProfile.org}}.
|
|
156
|
+
`xcsh://user`. **MUST** read when: identity, communications, personal identifiers. **SHOULD NOT** for routine technical work.
|
|
162
157
|
{{/if}}
|
|
163
158
|
|
|
164
159
|
{{#if contextFiles.length}}
|