local-commander-agent-linux-arm64 0.3.47 → 0.3.48

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,6 +1,6 @@
1
1
  {
2
2
  "name": "local-commander-agent-linux-arm64",
3
- "version": "0.3.47",
3
+ "version": "0.3.48",
4
4
  "description": "Local Commander runtime for Linux arm64. Installed automatically by local-commander-agent; run npx local-commander-agent@latest instead.",
5
5
  "os": [
6
6
  "linux"
package/runtime/agent.mjs CHANGED
@@ -27945,11 +27945,16 @@ var WindowsPrivateStore = class _WindowsPrivateStore {
27945
27945
  if (process.platform !== "win32") for (const name2 of ["owner-key.json", "owner-key.dat", "owner-key.lock"]) approved.add(name2);
27946
27946
  if (names.length && !names.includes(MARKER)) throw fail2("STORE_DIRECTORY_UNKNOWN");
27947
27947
  const memoryFile = (name2) => name2 === "host-memory.json" || /^host-memory\.json\.[1-9][0-9]{0,9}\.tmp$/.test(name2);
27948
- if (names.some((name2) => !approved.has(name2) && !memoryFile(name2))) throw fail2("STORE_DIRECTORY_UNKNOWN");
27948
+ const switchFile = (name2) => name2 === "screenshot-acceptance-enabled" || name2 === "screenshot-disabled-by-owner";
27949
+ if (names.some((name2) => !approved.has(name2) && !memoryFile(name2) && !switchFile(name2))) throw fail2("STORE_DIRECTORY_UNKNOWN");
27949
27950
  for (const name2 of names.filter(memoryFile)) {
27950
27951
  const stat2 = await lstat4(path10.join(absolute2, name2));
27951
27952
  if (!stat2.isFile() || stat2.isSymbolicLink() || stat2.size > 32768) throw fail2("STORE_DIRECTORY_INVALID");
27952
27953
  }
27954
+ for (const name2 of names.filter(switchFile)) {
27955
+ const stat2 = await lstat4(path10.join(absolute2, name2));
27956
+ if (!stat2.isFile() || stat2.isSymbolicLink() || stat2.size > 4096) throw fail2("STORE_DIRECTORY_INVALID");
27957
+ }
27953
27958
  for (const name2 of ["agent-process.json", "optimization", ".local-commander"]) {
27954
27959
  if (!names.includes(name2)) continue;
27955
27960
  const filename = path10.join(absolute2, name2), stat2 = await lstat4(filename);
@@ -50824,7 +50829,7 @@ async function restoreContentAudit(input2, output2, key) {
50824
50829
  }
50825
50830
 
50826
50831
  // agent/src/main.ts
50827
- var AGENT_VERSION2 = true ? "0.3.47" : "0.3.2";
50832
+ var AGENT_VERSION2 = true ? "0.3.48" : "0.3.2";
50828
50833
  var NETWORK_PUBLIC_KEY = true ? "-----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAvmu+81vWtJBQDZNHcAIW\nzCSxpG+R9RBsum2df5mP2cOW+wyUDTpnYquFge1qgI5YYTF96j0xCyXL8B9FeNWs\n939opWNmv53j+CQlS4cEIQhBbZSCu0eC4icsVEzBhvf68MB+E668SOtZBcVTEnyh\n96PTcupxS10rQJBWDinbKBXRC2gvGYeu01rWa/nsrndy4vAYP5t3yQtdOC8e8mr0\n+2Mg2Qhiq+KiTCtDd+L9oXvoLqqJYbzUIveNGha25AWxF1Weblp0gOM87hell5gV\nK7q4ZLUq/wBRGYNmQRdLyV7/WRE1FFPSW21/SBZQ/5aU4UqJU/MjMcrJUrnRKngz\nYKmo0czkxS3N7Q2KVxomgR1AQSuQFKMrboZYKjShADp9RIYUxzs7cYg51Of5PnHh\n6Ax+VevDGfzjMD+yHuyxYZqCtX4OwgolJxz63UQbzKlris+8xb5lLYTbIuz90Pss\nn6HK/F5May25c6oMmS3nh/NsiZopL1OvdtWKTt1L4WlRAgMBAAE=\n-----END PUBLIC KEY-----\n" : "";
50829
50834
  var AI_CONNECTION_SHIPPED = false;
50830
50835
  function processAlive(pid) {
@@ -1,17 +1,17 @@
1
1
  {
2
- "version": "0.3.47",
2
+ "version": "0.3.48",
3
3
  "experimental": true,
4
4
  "platform": "linux",
5
5
  "arch": "arm64",
6
6
  "node": "v22.23.3",
7
- "source": "df3c7268691268bf4d9c7ad1fd0225cfd3e4e25f",
8
- "sourceTreeSha256": "55d2835bd5fd435a09d78cb5bb890b69c37127c6fac02077d2c2280642e596dc",
7
+ "source": "6d64c886f4cb5a4393a855a2ed7fa16a395399dc",
8
+ "sourceTreeSha256": "4f75f63d2380ac2ae9f53678bf71ece1f38df62642ea43e48dbb38bdc244efb9",
9
9
  "qualification": "unqualified",
10
10
  "lifecycleVersion": 1,
11
11
  "packaging": "npm platform package runtime",
12
12
  "files": {
13
13
  "NODE-LICENSE.txt": "c738ae413cf561f174e34f6961f8ca458aae2369a73640dda6234c629b98bcc4",
14
- "agent.mjs": "54343afee2c12f7a4b4ac46e3bebe1ee2fde4af58305b22a286b64773faab453",
14
+ "agent.mjs": "b238ee5cfe6bbeeda7804c37b41b2748076402dd0af423a5f6f20b2ea9d36a67",
15
15
  "job-host.mjs": "54ab42fa00a53dfd4df6c93fd9e6692d5e03a0870aba8bf501f398905694b72d",
16
16
  "lifecycle.mjs": "ebed6bac75115ef1df34aff9fef211c9f710a524b2b614115b6bc80ef57b464b",
17
17
  "node": "d09e299258c24f7cdf6f5d5ec185e3a56512b27a697113735dac909f1cac7b8d",