@duheso/zerocli 1.1.9 → 1.1.10

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.
Files changed (2) hide show
  1. package/dist/cli.mjs +24 -14
  2. package/package.json +1 -1
package/dist/cli.mjs CHANGED
@@ -119226,7 +119226,7 @@ function buildProviderInfoLines() {
119226
119226
  const sLen = ` ● ${sL} ${sReady}`.length;
119227
119227
  out.push(boxRow(sRow, W2, sLen));
119228
119228
  out.push(`${rgb(...BORDER)}╚${"═".repeat(W2 - 2)}╝${RESET}`);
119229
- out.push(` ${DIM}${rgb(...DIMCOL)}zero ${RESET}${rgb(...ACCENT)}v${"1.1.9"}${RESET}`);
119229
+ out.push(` ${DIM}${rgb(...DIMCOL)}zero ${RESET}${rgb(...ACCENT)}v${"1.1.10"}${RESET}`);
119230
119230
  return out;
119231
119231
  }
119232
119232
  function printStartupScreen() {}
@@ -365596,7 +365596,7 @@ __export(exports_VerifyPlanExecutionTool, {
365596
365596
  var VerifyPlanExecutionTool_default = null, VerifyPlanExecutionTool = null;
365597
365597
 
365598
365598
  // src/tools/WindowsControlTool/constants.ts
365599
- var TOOL_NAME = "windows_control", DEFAULT_WS_PORT = 50052, DEFAULT_REST_PORT = 50051, DEFAULT_QUALITY = 75, DEFAULT_SCALE = 0.5, RECONNECT_INTERVAL_MS = 5000, PING_INTERVAL_MS = 1e4, ENV_WINDOWS_HOST = "WINDOWS_CONTROL_HOST", ENV_WINDOWS_PORT = "WINDOWS_CONTROL_PORT", ENV_WINDOWS_TOKEN = "WINDOWS_CONTROL_TOKEN";
365599
+ var TOOL_NAME = "windows_control", DEFAULT_WS_PORT = 50052, DEFAULT_REST_PORT = 50051, DEFAULT_QUALITY = 75, DEFAULT_SCALE = 1, RECONNECT_INTERVAL_MS = 5000, PING_INTERVAL_MS = 1e4, ENV_WINDOWS_HOST = "WINDOWS_CONTROL_HOST", ENV_WINDOWS_PORT = "WINDOWS_CONTROL_PORT", ENV_WINDOWS_TOKEN = "WINDOWS_CONTROL_TOKEN";
365600
365600
 
365601
365601
  // src/tools/WindowsControlTool/prompt.ts
365602
365602
  var WINDOWS_CONTROL_PROMPT = `
@@ -365673,7 +365673,13 @@ in their .env file. That's it.
365673
365673
 
365674
365674
  ### Coordinate System
365675
365675
  - (0,0) = top-left corner of primary monitor
365676
- - Screenshot response includes cursor position and screen dimensions
365676
+ - **Screenshots are taken at scale=1.0 by default** (native resolution, 1:1 pixel mapping).
365677
+ Coordinates you read from the screenshot can be passed directly to mouse_click/mouse_move.
365678
+ - If you use \`scale: 0.5\` for smaller images, the screenshot will be half-size.
365679
+ In that case, **multiply all coordinates by 2** before passing to mouse actions.
365680
+ The response includes \`nativeWidth\`, \`nativeHeight\`, and \`scale\` to help you calculate.
365681
+ Formula: \`real_x = screenshot_x * (nativeWidth / width)\`
365682
+ - Cursor position in the response is always in **native screen coordinates**.
365677
365683
  - Use \`list_monitors\` for multi-monitor setups
365678
365684
 
365679
365685
  ### Common Patterns
@@ -366174,13 +366180,17 @@ async function handleCaptureAction(input, connection) {
366174
366180
  return { success: false, error: response.error || "Screenshot failed" };
366175
366181
  }
366176
366182
  const imageBase64 = response.imageData;
366183
+ const scale = input.scale || DEFAULT_SCALE;
366177
366184
  return {
366178
366185
  success: true,
366179
- message: `Screenshot captured: ${response.width}x${response.height}`,
366186
+ message: `Screenshot captured: ${response.width}x${response.height}` + (scale < 1 ? ` (scaled ${Math.round(scale * 100)}% — multiply coordinates by ${Math.round(1 / scale)} for clicks)` : ""),
366180
366187
  data: {
366181
366188
  imageBase64,
366182
366189
  width: response.width,
366183
366190
  height: response.height,
366191
+ nativeWidth: Math.round(response.width / scale),
366192
+ nativeHeight: Math.round(response.height / scale),
366193
+ scale,
366184
366194
  cursor: { x: response.cursorX, y: response.cursorY },
366185
366195
  format: response.imageFormat || "jpeg"
366186
366196
  }
@@ -379547,7 +379557,7 @@ function getAnthropicEnvMetadata() {
379547
379557
  function getBuildAgeMinutes() {
379548
379558
  if (false)
379549
379559
  ;
379550
- const buildTime = new Date("2026-05-23T22:06:41.109Z").getTime();
379560
+ const buildTime = new Date("2026-05-23T22:30:05.775Z").getTime();
379551
379561
  if (isNaN(buildTime))
379552
379562
  return;
379553
379563
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -421571,7 +421581,7 @@ function buildPrimarySection() {
421571
421581
  });
421572
421582
  return [{
421573
421583
  label: "Version",
421574
- value: "1.1.9"
421584
+ value: "1.1.10"
421575
421585
  }, {
421576
421586
  label: "Session name",
421577
421587
  value: nameValue
@@ -489917,7 +489927,7 @@ var init_bridge_kick = __esm(() => {
489917
489927
  var call60 = async () => {
489918
489928
  return {
489919
489929
  type: "text",
489920
- value: `${"1.1.8"} (built ${"2026-05-23T22:06:41.109Z"})`
489930
+ value: `${"1.1.8"} (built ${"2026-05-23T22:30:05.775Z"})`
489921
489931
  };
489922
489932
  }, version2, version_default;
489923
489933
  var init_version = __esm(() => {
@@ -565941,7 +565951,7 @@ function WelcomeV2() {
565941
565951
  dimColor: true,
565942
565952
  children: [
565943
565953
  "v",
565944
- "1.1.9",
565954
+ "1.1.10",
565945
565955
  " "
565946
565956
  ]
565947
565957
  })
@@ -566175,7 +566185,7 @@ function WelcomeV2() {
566175
566185
  dimColor: true,
566176
566186
  children: [
566177
566187
  "v",
566178
- "1.1.9",
566188
+ "1.1.10",
566179
566189
  " "
566180
566190
  ]
566181
566191
  })
@@ -566422,7 +566432,7 @@ function AppleTerminalWelcomeV2(t0) {
566422
566432
  dimColor: true,
566423
566433
  children: [
566424
566434
  "v",
566425
- "1.1.9",
566435
+ "1.1.10",
566426
566436
  " "
566427
566437
  ]
566428
566438
  });
@@ -566695,7 +566705,7 @@ function AppleTerminalWelcomeV2(t0) {
566695
566705
  dimColor: true,
566696
566706
  children: [
566697
566707
  "v",
566698
- "1.1.9",
566708
+ "1.1.10",
566699
566709
  " "
566700
566710
  ]
566701
566711
  });
@@ -586940,7 +586950,7 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
586940
586950
  pendingHookMessages
586941
586951
  }, renderAndRun);
586942
586952
  }
586943
- }).version("1.1.9", "-v, --version", "Output the version number");
586953
+ }).version("1.1.10", "-v, --version", "Output the version number");
586944
586954
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
586945
586955
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
586946
586956
  if (canUserConfigureAdvisor()) {
@@ -587606,7 +587616,7 @@ if (false) {}
587606
587616
  async function main2() {
587607
587617
  const args = process.argv.slice(2);
587608
587618
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
587609
- console.log(`${"1.1.9"} (ZeroCLI)`);
587619
+ console.log(`${"1.1.10"} (ZeroCLI)`);
587610
587620
  return;
587611
587621
  }
587612
587622
  if (args.includes("--provider")) {
@@ -587748,4 +587758,4 @@ async function main2() {
587748
587758
  }
587749
587759
  main2();
587750
587760
 
587751
- //# debugId=BF2C7F73642C225064756E2164756E21
587761
+ //# debugId=BCBBAE4846FEE42064756E2164756E21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duheso/zerocli",
3
- "version": "1.1.9",
3
+ "version": "1.1.10",
4
4
  "description": "Zero CLI to any LLM — OpenAI, Gemini, DeepSeek, Ollama, and 200+ models",
5
5
  "type": "module",
6
6
  "bin": {