@f5xc-salesdemos/xcsh 19.41.0 → 19.41.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": "@f5xc-salesdemos/xcsh",
4
- "version": "19.41.0",
4
+ "version": "19.41.1",
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",
@@ -51,13 +51,13 @@
51
51
  "dependencies": {
52
52
  "@agentclientprotocol/sdk": "0.16.1",
53
53
  "@mozilla/readability": "^0.6",
54
- "@f5xc-salesdemos/xcsh-stats": "19.41.0",
55
- "@f5xc-salesdemos/pi-agent-core": "19.41.0",
56
- "@f5xc-salesdemos/pi-ai": "19.41.0",
57
- "@f5xc-salesdemos/pi-natives": "19.41.0",
58
- "@f5xc-salesdemos/pi-resource-management": "19.41.0",
59
- "@f5xc-salesdemos/pi-tui": "19.41.0",
60
- "@f5xc-salesdemos/pi-utils": "19.41.0",
54
+ "@f5xc-salesdemos/xcsh-stats": "19.41.1",
55
+ "@f5xc-salesdemos/pi-agent-core": "19.41.1",
56
+ "@f5xc-salesdemos/pi-ai": "19.41.1",
57
+ "@f5xc-salesdemos/pi-natives": "19.41.1",
58
+ "@f5xc-salesdemos/pi-resource-management": "19.41.1",
59
+ "@f5xc-salesdemos/pi-tui": "19.41.1",
60
+ "@f5xc-salesdemos/pi-utils": "19.41.1",
61
61
  "@sinclair/typebox": "^0.34",
62
62
  "@xterm/headless": "^6.0",
63
63
  "ajv": "^8.20",
@@ -1118,8 +1118,13 @@ export const SETTINGS_SCHEMA = {
1118
1118
  // LSP
1119
1119
  "lsp.enabled": {
1120
1120
  type: "boolean",
1121
- default: true,
1122
- ui: { tab: "editing", label: "LSP", description: "Enable the lsp tool for language server protocol" },
1121
+ default: false,
1122
+ ui: {
1123
+ tab: "editing",
1124
+ label: "LSP",
1125
+ description:
1126
+ "Enable language server protocol (lsp tool, startup warmup, write/edit diagnostics). Off by default: a language server initialized against a very large workspace can stream unbounded output and exhaust memory.",
1127
+ },
1123
1128
  },
1124
1129
 
1125
1130
  "lsp.formatOnWrite": {
@@ -17,17 +17,17 @@ export interface BuildInfo {
17
17
  }
18
18
 
19
19
  export const BUILD_INFO: BuildInfo = {
20
- "version": "19.41.0",
21
- "commit": "4d3ec5aec645e7d1cd21df2484d621c5f1e36bc0",
22
- "shortCommit": "4d3ec5a",
20
+ "version": "19.41.1",
21
+ "commit": "0744c7f8bafe717d59be1fd3bc46fac5a79ba629",
22
+ "shortCommit": "0744c7f",
23
23
  "branch": "main",
24
- "tag": "v19.41.0",
25
- "commitDate": "2026-06-23T13:59:15Z",
26
- "buildDate": "2026-06-23T14:26:43.576Z",
24
+ "tag": "v19.41.1",
25
+ "commitDate": "2026-06-23T18:52:47Z",
26
+ "buildDate": "2026-06-23T19:26:09.570Z",
27
27
  "dirty": true,
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/4d3ec5aec645e7d1cd21df2484d621c5f1e36bc0",
32
- "releaseUrl": "https://github.com/f5xc-salesdemos/xcsh/releases/tag/v19.41.0"
31
+ "commitUrl": "https://github.com/f5xc-salesdemos/xcsh/commit/0744c7f8bafe717d59be1fd3bc46fac5a79ba629",
32
+ "releaseUrl": "https://github.com/f5xc-salesdemos/xcsh/releases/tag/v19.41.1"
33
33
  };
package/src/sdk.ts CHANGED
@@ -900,7 +900,11 @@ export async function createAgentSession(options: CreateAgentSessionOptions = {}
900
900
  let agent: Agent;
901
901
  let session!: AgentSession;
902
902
  let hasSession = false;
903
- const enableLsp = options.enableLsp ?? true;
903
+ // LSP is opt-in: a language server initialized against a very large workspace
904
+ // (e.g. terraform-ls on a multi-repo tree) can stream unbounded output that is
905
+ // buffered without limit and exhausts process memory (OOM). `lsp.enabled` is
906
+ // the master switch — it gates the startup warmup and write/edit diagnostics.
907
+ const enableLsp = options.enableLsp ?? settings.get("lsp.enabled") ?? false;
904
908
  const backgroundJobsEnabled = isBackgroundJobSupportEnabled(settings);
905
909
  const asyncMaxJobs = Math.min(100, Math.max(1, settings.get("async.maxJobs") ?? 100));
906
910
  const ASYNC_INLINE_RESULT_MAX_CHARS = 12_000;