local-commander-agent 0.3.50 → 0.3.52

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/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # Change history
2
2
 
3
+ ## 0.3.52 - 2026-10-23
4
+
5
+ - Count model tokens from Claude Code and Codex on this computer and show daily totals in Statistics at localcmd.app. Only token counts and model names are read and sent; prompts, replies, files and paths are not. On by default; turn it off for a computer in its details at localcmd.app, or set LC_TOKEN_USAGE=off.
6
+ - Includes everything in 0.3.51.
7
+
8
+ ## 0.3.51 - 2026-10-23
9
+
10
+ - Show a native informational notice when the account owner enables or disables full logs for this computer.
11
+ - Include the authenticated full-log choice in local status; stale or disconnected state is shown as unknown.
12
+ - Preserve notification deduplication across reconnects and restarts without changing logging consent.
13
+
3
14
  ## 0.3.50 - 2026-10-23
4
15
 
5
16
  - Fixed: a computer paused because its identity changed (for example after a rename or a disk copy) now waits instead of stopping. After you click Trust at localcmd.app it reconnects within about a minute, with no restart.
@@ -213,7 +213,8 @@ async function identityStatus(runtimeDir) {
213
213
  if (result.status !== 0) fail(result.stderr.trim() || "IDENTITY_STATUS_FAILED");
214
214
  try {
215
215
  const parsed = JSON.parse(result.stdout.trim());
216
- return { paired: parsed.paired === true, accountEmail: typeof parsed.accountEmail === "string" ? parsed.accountEmail : null, deviceId: typeof parsed.deviceId === "string" ? parsed.deviceId : null };
216
+ return { paired: parsed.paired === true, accountEmail: typeof parsed.accountEmail === "string" ? parsed.accountEmail : null, deviceId: typeof parsed.deviceId === "string" ? parsed.deviceId : null,
217
+ fullLogs: parsed.fullLogs ?? { enabled: null, confirmedAt: null, manageUrl: DEFAULT_ORIGIN } };
217
218
  } catch { fail("IDENTITY_STATUS_INVALID"); }
218
219
  }
219
220
  async function pair(runtimeDir) {
@@ -526,6 +527,7 @@ async function statusObject() {
526
527
  paired: identity.paired,
527
528
  accountEmail: identity.accountEmail,
528
529
  deviceId: identity.deviceId,
530
+ fullLogs: identity.fullLogs ?? { enabled: null, confirmedAt: null, manageUrl: DEFAULT_ORIGIN },
529
531
  stateDirectory: stateDirectory()
530
532
  };
531
533
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "local-commander-agent",
3
- "version": "0.3.50",
3
+ "version": "0.3.52",
4
4
  "description": "Computer companion for Local Commander: connect AI clients to local files, approved commands and localhost. Requires https://localcmd.app.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -16,9 +16,9 @@
16
16
  "arm64"
17
17
  ],
18
18
  "optionalDependencies": {
19
- "local-commander-agent-darwin-arm64": "0.3.50",
20
- "local-commander-agent-linux-arm64": "0.3.50",
21
- "local-commander-agent-linux-x64": "0.3.50"
19
+ "local-commander-agent-darwin-arm64": "0.3.52",
20
+ "local-commander-agent-linux-arm64": "0.3.52",
21
+ "local-commander-agent-linux-x64": "0.3.52"
22
22
  },
23
23
  "engines": {
24
24
  "node": ">=20.0.0"
Binary file
Binary file
Binary file