zcode-app-cli 3.14.0-27 → 3.14.1-27

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": "zcode-app-cli",
3
- "version": "3.14.0-27",
3
+ "version": "3.14.1-27",
4
4
  "description": "Unofficial terminal client for the ZCode agent runtime",
5
5
  "keywords": [
6
6
  "agent",
@@ -1,9 +1,9 @@
1
1
  {
2
- "appVersion": "3.14.0",
2
+ "appVersion": "3.14.1",
3
3
  "cliVersion": "0.16.9",
4
- "extractedAt": "2026-09-20T02:46:54.191Z",
5
- "sha512": "Dl4QnSclUTbGx2J6RzkWVXiKzdrmtoT+XW1uBPLud/96lGCQ+nf50ia/u/unTY5xHKgTI1UMC3N+gBCOPbAy0g==",
6
- "source": "https://cdn-zcode.z.ai/zcode/electron/releases/3.14.0/linux-x64/ZCode-3.14.0-linux-x64.deb",
4
+ "extractedAt": "2026-09-21T00:45:13.738Z",
5
+ "sha512": "A9DWUap7niTm66ZSZ63vhOZElmjQgQf0yVL0nrLDW7dX7diO+GoAO8QbwD8E1tzPL6JI4Y8LTqk7jZzpjiuA1g==",
6
+ "source": "https://cdn-zcode.z.ai/zcode/electron/releases/3.14.1/linux-x64/ZCode-3.14.1-linux-x64.deb",
7
7
  "runtimeCapabilities": {
8
8
  "schemaVersion": 1,
9
9
  "cli": {
@@ -80509,11 +80509,12 @@ import { open as open2 } from "node:fs/promises";
80509
80509
  import { existsSync, realpathSync, writeFileSync } from "node:fs";
80510
80510
  import { basename as basename2, dirname, isAbsolute as isAbsolute2, join as join3, resolve } from "node:path";
80511
80511
  import { basename as basename3, join as join4 } from "node:path";
80512
+ import { existsSync as existsSync2 } from "node:fs";
80512
80513
  import { join as join5 } from "node:path";
80513
80514
  import {
80514
80515
  constants as fsConstants,
80515
80516
  createWriteStream,
80516
- existsSync as existsSync3,
80517
+ existsSync as existsSync4,
80517
80518
  fstatSync as fstatSync2,
80518
80519
  lstatSync as lstatSync2
80519
80520
  } from "node:fs";
@@ -80559,7 +80560,7 @@ import { createHash } from "node:crypto";
80559
80560
  var import_express = __toESM(require_express2(), 1);
80560
80561
  import { Readable } from "stream";
80561
80562
  import crypto2 from "crypto";
80562
- import { appendFileSync, existsSync as existsSync2, mkdirSync, readdirSync, unlinkSync, writeFileSync as writeFileSync2 } from "node:fs";
80563
+ import { appendFileSync, existsSync as existsSync3, mkdirSync, readdirSync, unlinkSync, writeFileSync as writeFileSync2 } from "node:fs";
80563
80564
  import { dirname as dirname3, isAbsolute as isAbsolute4, join as join7 } from "node:path";
80564
80565
  import { dirname as dirname2, isAbsolute as isAbsolute3, join as join6 } from "node:path";
80565
80566
  import { join as join9 } from "node:path";
@@ -87459,7 +87460,7 @@ var ZCODE_CUA_HELPER_BUILD_ID;
87459
87460
  var init_cua_version = __esm({
87460
87461
  "src/broker/shared/cua-version.ts"() {
87461
87462
  "use strict";
87462
- ZCODE_CUA_HELPER_BUILD_ID = true ? "pipeline-291084-a1328db1" : "";
87463
+ ZCODE_CUA_HELPER_BUILD_ID = true ? "pipeline-291748-cead36fd" : "";
87463
87464
  }
87464
87465
  });
87465
87466
  var init_shared = __esm({
@@ -87899,6 +87900,13 @@ ${stderr}`;
87899
87900
  };
87900
87901
  }
87901
87902
  async function defaultAssessGatekeeper(appPath) {
87903
+ if (existsSync2(MACOS_SYSTEM_COMMANDS.syspolicyCheck)) {
87904
+ await execFileText(MACOS_SYSTEM_COMMANDS.syspolicyCheck, [
87905
+ "distribution",
87906
+ appPath
87907
+ ]);
87908
+ return;
87909
+ }
87902
87910
  await execFileText(MACOS_SYSTEM_COMMANDS.spctl, [
87903
87911
  "-a",
87904
87912
  "-vv",
@@ -88424,7 +88432,7 @@ function ensureCuaHelperInstalledSingleFlight(context) {
88424
88432
  async function ensureCuaHelperInstalledUnderLease(context, lease) {
88425
88433
  const { plan, logger, dependencies } = context;
88426
88434
  lease.assertHeld();
88427
- if (existsSync3(plan.appPath)) {
88435
+ if (existsSync4(plan.appPath)) {
88428
88436
  try {
88429
88437
  const installedVerification = await verifyCuaHelperBundle(
88430
88438
  plan.appPath,
@@ -88575,7 +88583,7 @@ async function shouldRefreshLocalDevBundledHelper(plan, executableName) {
88575
88583
  );
88576
88584
  }
88577
88585
  async function stageBundledHelperApp(bundledAppPath, workDir) {
88578
- if (!existsSync3(bundledAppPath)) {
88586
+ if (!existsSync4(bundledAppPath)) {
88579
88587
  throw new CuaHelperError(
88580
88588
  "helper_missing",
88581
88589
  `Bundled ZCode Computer Use.app is missing at ${bundledAppPath}`
@@ -88868,7 +88876,7 @@ async function promoteHelperApp(stagedAppPath, finalAppPath) {
88868
88876
  `.${HELPER_APP_NAME}.backup-${process.pid}-${Date.now()}`
88869
88877
  );
88870
88878
  let hasBackup = false;
88871
- if (existsSync3(finalAppPath)) {
88879
+ if (existsSync4(finalAppPath)) {
88872
88880
  await rm(backupPath, { recursive: true, force: true });
88873
88881
  await rename(finalAppPath, backupPath);
88874
88882
  hasBackup = true;
@@ -115295,8 +115303,8 @@ var TOOL_DEF_BY_NAME = new Map([
115295
115303
  ...keyboardRuntimeTools.map((t) => [t.name, t])
115296
115304
  ]);
115297
115305
  var SERVER_VERSION = (() => {
115298
- if ("0.6.1".trim().length > 0) {
115299
- return "0.6.1";
115306
+ if ("0.6.3".trim().length > 0) {
115307
+ return "0.6.3";
115300
115308
  }
115301
115309
  try {
115302
115310
  const require2 = createRequire2(import.meta.url);
@@ -116055,9 +116063,9 @@ function createComputerUseRuntime(options) {
116055
116063
  }
116056
116064
  async function ensureStandaloneHelperLaunched(socketPath, env) {
116057
116065
  if (process.platform !== "darwin") return;
116058
- const { existsSync: existsSync4 } = await import("node:fs");
116066
+ const { existsSync: existsSync5 } = await import("node:fs");
116059
116067
  const bundledDevAppPath = env.ZCODE_CUA_BUNDLED_HELPER_APP_PATH?.trim();
116060
- if (bundledDevAppPath && existsSync4(bundledDevAppPath)) {
116068
+ if (bundledDevAppPath && existsSync5(bundledDevAppPath)) {
116061
116069
  const { createCuaHelperInstaller: createCuaHelperInstaller2 } = await Promise.resolve().then(() => (init_helperInstaller(), helperInstaller_exports));
116062
116070
  const refreshed = await createCuaHelperInstaller2({
116063
116071
  env,
@@ -116067,7 +116075,7 @@ async function ensureStandaloneHelperLaunched(socketPath, env) {
116067
116075
  return;
116068
116076
  }
116069
116077
  const candidates = standaloneHelperCandidatePaths(env);
116070
- const appPath = candidates.find((candidate) => existsSync4(candidate));
116078
+ const appPath = candidates.find((candidate) => existsSync5(candidate));
116071
116079
  if (!appPath) return;
116072
116080
  await launchHelperApp(appPath, socketPath, env);
116073
116081
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "computer-use",
3
- "version": "0.6.1",
3
+ "version": "0.6.3",
4
4
  "description": "Computer Use: automate desktop apps with mouse, keyboard, and UI element control.",
5
5
  "author": {
6
6
  "name": "Z.ai"
@@ -255,6 +255,26 @@ own window order:
255
255
  - `window_id` — stable integer. Pass it back inside `app_ref` to address that
256
256
  window.
257
257
  - `title` — the window title; `""` or `null` for a window that carries none.
258
+ `""` means the window has an `AXTitle` that is empty — a Qt or custom-drawn
259
+ panel typically looks like this. `null` means the title could not be read at
260
+ all, which happens both for an AX window whose `AXTitle` read fails and for a
261
+ row the broker merged in from CoreGraphics, so it does not tell the two apart.
262
+ Use `subrole` for that distinction.
263
+ - `subrole` — the window's `AXSubrole`, present only on a real AX window. A row
264
+ merged in from CoreGraphics (a WindowServer surface the accessibility tree does
265
+ not expose) has no `subrole` at all, so the field's presence is what separates
266
+ "a window you can bind and operate" from "a leftover surface". Its own value
267
+ discriminates weakly: a survey of 34 windows across 30 apps found 31 of them
268
+ reporting `AXStandardWindow`, with `AXDialog` the only other value that carried
269
+ information. macOS only.
270
+ - `text_preview` — a content sample for a window with no usable title: the first
271
+ few strings found inside it, joined and truncated. **Never an identifier.** The
272
+ order comes from the accessibility child order, which is creation order and
273
+ carries no semantic guarantee — in the same app a dialog yields its heading
274
+ while a main window yields toolbar noise. It is collected only when `title` is
275
+ empty, omitted when nothing could be collected, and it can contain whatever the
276
+ window displays, including the user's own data. Read it as a hint for choosing
277
+ which window to observe, then confirm by observing that window. macOS only.
258
278
  - `bounds` — `[x, y, width, height]` in global screen points. Diagnostic only:
259
279
  these must never be copied into a coordinate target.
260
280
  - `main` — the app's AX main window. `focused` — the app's AX focused (key)
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@zcode/zcode-cua-plugin",
4
- "version": "0.6.1",
4
+ "version": "0.6.3",
5
5
  "private": true,
6
6
  "description": "ZCode CUA SDK and skill package; execution is provided by the shared node_repl host.",
7
7
  "license": "MIT",