@otto-code/client 0.7.2 → 0.7.3

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.
@@ -1360,10 +1360,14 @@ export declare class DaemonClient {
1360
1360
  undoCodeRename(cwd: string, runId: string, requestId?: string): Promise<CodeRenameUndoOutcome>;
1361
1361
  /**
1362
1362
  * Live language-server state for the Daemon → Code screen: what this host can
1363
- * supply, and what is running now. `cwd` scopes availability, since a server can
1364
- * be present in one workspace's `node_modules` and absent in another's.
1363
+ * supply, and what is running now.
1364
+ *
1365
+ * Omit `cwd` for the host-wide answer the settings screen wants: every row the daemon
1366
+ * knows, resolved against the rungs a host has. Pass one only to additionally probe that
1367
+ * project's `node_modules/.bin`, the single rung that is genuinely per-project.
1368
+ * Requires features.lspHostServers when omitted.
1365
1369
  */
1366
- listLspServers(cwd: string, requestId?: string): Promise<LspServersSnapshot>;
1370
+ listLspServers(cwd?: string, requestId?: string): Promise<LspServersSnapshot>;
1367
1371
  /** Stop one running language server. */
1368
1372
  stopLspServer(rootPath: string, serverId: string, requestId?: string): Promise<void>;
1369
1373
  /**
@@ -3441,8 +3441,12 @@ export class DaemonClient {
3441
3441
  }
3442
3442
  /**
3443
3443
  * Live language-server state for the Daemon → Code screen: what this host can
3444
- * supply, and what is running now. `cwd` scopes availability, since a server can
3445
- * be present in one workspace's `node_modules` and absent in another's.
3444
+ * supply, and what is running now.
3445
+ *
3446
+ * Omit `cwd` for the host-wide answer the settings screen wants: every row the daemon
3447
+ * knows, resolved against the rungs a host has. Pass one only to additionally probe that
3448
+ * project's `node_modules/.bin`, the single rung that is genuinely per-project.
3449
+ * Requires features.lspHostServers when omitted.
3446
3450
  */
3447
3451
  async listLspServers(cwd, requestId) {
3448
3452
  const payload = await this.sendCorrelatedSessionRequest({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otto-code/client",
3
- "version": "0.7.2",
3
+ "version": "0.7.3",
4
4
  "description": "Otto client SDK package",
5
5
  "license": "AGPL-3.0-or-later",
6
6
  "files": [
@@ -36,8 +36,8 @@
36
36
  "test": "vitest run"
37
37
  },
38
38
  "dependencies": {
39
- "@otto-code/protocol": "0.7.2",
40
- "@otto-code/relay": "0.7.2",
39
+ "@otto-code/protocol": "0.7.3",
40
+ "@otto-code/relay": "0.7.3",
41
41
  "zod": "^4.4.3"
42
42
  },
43
43
  "devDependencies": {