@duheso/zerocli 1.0.10 → 1.1.1

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 +186 -191
  2. package/package.json +3 -3
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.0.10"}${RESET}`);
119229
+ out.push(` ${DIM}${rgb(...DIMCOL)}zero ${RESET}${rgb(...ACCENT)}v${"1.1.1"}${RESET}`);
119230
119230
  return out;
119231
119231
  }
119232
119232
  function printStartupScreen() {}
@@ -147417,7 +147417,7 @@ function getAttributionHeader(fingerprint) {
147417
147417
  if (!isAttributionHeaderEnabled()) {
147418
147418
  return "";
147419
147419
  }
147420
- const version2 = `${"1.0.9"}.${fingerprint}`;
147420
+ const version2 = `${"1.1.0"}.${fingerprint}`;
147421
147421
  const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
147422
147422
  const cch = "";
147423
147423
  const workload = getWorkload();
@@ -190435,7 +190435,7 @@ var init_imageValidation = __esm(() => {
190435
190435
 
190436
190436
  // src/utils/userAgent.ts
190437
190437
  function getZeroCodeUserAgent() {
190438
- return `claude-code/${"1.0.9"}`;
190438
+ return `claude-code/${"1.1.0"}`;
190439
190439
  }
190440
190440
 
190441
190441
  // src/utils/http.ts
@@ -190444,7 +190444,7 @@ function getUserAgent() {
190444
190444
  const clientApp = process.env.CLAUDE_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}` : "";
190445
190445
  const workload = getWorkload();
190446
190446
  const workloadSuffix = workload ? `, workload/${workload}` : "";
190447
- return `claude-cli/${"1.0.9"} (${process.env.USER_TYPE}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
190447
+ return `claude-cli/${"1.1.0"} (${process.env.USER_TYPE}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
190448
190448
  }
190449
190449
  function getMCPUserAgent() {
190450
190450
  const parts = [];
@@ -190458,7 +190458,7 @@ function getMCPUserAgent() {
190458
190458
  parts.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);
190459
190459
  }
190460
190460
  const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
190461
- return `claude-code/${"1.0.9"}${suffix}`;
190461
+ return `claude-code/${"1.1.0"}${suffix}`;
190462
190462
  }
190463
190463
  function getWebFetchUserAgent() {
190464
190464
  const supportUrl = getAPIProvider() === "firstParty" ? "https://support.anthropic.com/" : "https://github.com/Duheso/ZeroCLI";
@@ -244944,7 +244944,7 @@ function getTelemetryAttributes() {
244944
244944
  attributes["session.id"] = sessionId;
244945
244945
  }
244946
244946
  if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
244947
- attributes["app.version"] = "1.0.9";
244947
+ attributes["app.version"] = "1.1.0";
244948
244948
  }
244949
244949
  const oauthAccount = getOauthAccountInfo();
244950
244950
  if (oauthAccount) {
@@ -257183,7 +257183,7 @@ function computeFingerprint(messageText, version2) {
257183
257183
  }
257184
257184
  function computeFingerprintFromMessages(messages) {
257185
257185
  const firstMessageText = extractFirstMessageText(messages);
257186
- return computeFingerprint(firstMessageText, "1.0.9");
257186
+ return computeFingerprint(firstMessageText, "1.1.0");
257187
257187
  }
257188
257188
  var FINGERPRINT_SALT = "59cf53e54c78";
257189
257189
  var init_fingerprint = () => {};
@@ -257225,7 +257225,7 @@ async function sideQuery(opts) {
257225
257225
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
257226
257226
  }
257227
257227
  const messageText = extractFirstUserMessageText(messages);
257228
- const fingerprint = computeFingerprint(messageText, "1.0.9");
257228
+ const fingerprint = computeFingerprint(messageText, "1.1.0");
257229
257229
  const attributionHeader = getAttributionHeader(fingerprint);
257230
257230
  const systemBlocks = [
257231
257231
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -266127,7 +266127,7 @@ var init_user = __esm(() => {
266127
266127
  deviceId,
266128
266128
  sessionId: getSessionId(),
266129
266129
  email: getEmail(),
266130
- appVersion: "1.0.9",
266130
+ appVersion: "1.1.0",
266131
266131
  platform: getHostPlatformForAnalytics(),
266132
266132
  organizationUuid,
266133
266133
  accountUuid,
@@ -266521,7 +266521,7 @@ async function initializeBetaTracing(resource) {
266521
266521
  });
266522
266522
  logs.setGlobalLoggerProvider(loggerProvider);
266523
266523
  setLoggerProvider(loggerProvider);
266524
- const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "1.0.9");
266524
+ const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "1.1.0");
266525
266525
  setEventLogger(eventLogger);
266526
266526
  process.on("beforeExit", async () => {
266527
266527
  await loggerProvider?.forceFlush();
@@ -266561,7 +266561,7 @@ async function initializeTelemetry() {
266561
266561
  const platform3 = getPlatform();
266562
266562
  const baseAttributes = {
266563
266563
  [ATTR_SERVICE_NAME3]: "claude-code",
266564
- [ATTR_SERVICE_VERSION3]: "1.0.9"
266564
+ [ATTR_SERVICE_VERSION3]: "1.1.0"
266565
266565
  };
266566
266566
  if (platform3 === "wsl") {
266567
266567
  const wslVersion = getWslVersion();
@@ -266606,7 +266606,7 @@ async function initializeTelemetry() {
266606
266606
  } catch {}
266607
266607
  };
266608
266608
  registerCleanup(shutdownTelemetry2);
266609
- return meterProvider2.getMeter("com.anthropic.claude_code", "1.0.9");
266609
+ return meterProvider2.getMeter("com.anthropic.claude_code", "1.1.0");
266610
266610
  }
266611
266611
  const meterProvider = new MeterProvider3({
266612
266612
  resource,
@@ -266626,7 +266626,7 @@ async function initializeTelemetry() {
266626
266626
  });
266627
266627
  logs.setGlobalLoggerProvider(loggerProvider);
266628
266628
  setLoggerProvider(loggerProvider);
266629
- const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "1.0.9");
266629
+ const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "1.1.0");
266630
266630
  setEventLogger(eventLogger);
266631
266631
  logForDebugging("[3P telemetry] Event logger set successfully");
266632
266632
  process.on("beforeExit", async () => {
@@ -266688,7 +266688,7 @@ Current timeout: ${timeoutMs}ms
266688
266688
  }
266689
266689
  };
266690
266690
  registerCleanup(shutdownTelemetry);
266691
- return meterProvider.getMeter("com.anthropic.claude_code", "1.0.9");
266691
+ return meterProvider.getMeter("com.anthropic.claude_code", "1.1.0");
266692
266692
  }
266693
266693
  async function flushTelemetry() {
266694
266694
  const meterProvider = getMeterProvider();
@@ -267500,9 +267500,9 @@ async function assertMinVersion() {
267500
267500
  }
267501
267501
  try {
267502
267502
  const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
267503
- if (versionConfig.minVersion && lt("1.0.9", versionConfig.minVersion)) {
267503
+ if (versionConfig.minVersion && lt("1.1.0", versionConfig.minVersion)) {
267504
267504
  console.error(`
267505
- It looks like your version of ZeroCLI (${"1.0.9"}) needs an update.
267505
+ It looks like your version of ZeroCLI (${"1.1.0"}) needs an update.
267506
267506
  A newer version (${versionConfig.minVersion} or higher) is required to continue.
267507
267507
 
267508
267508
  To update, please run:
@@ -267718,7 +267718,7 @@ async function installGlobalPackage(specificVersion) {
267718
267718
  logError2(new AutoUpdaterError("Another process is currently installing an update"));
267719
267719
  logEvent("tengu_auto_updater_lock_contention", {
267720
267720
  pid: process.pid,
267721
- currentVersion: "1.0.9"
267721
+ currentVersion: "1.1.0"
267722
267722
  });
267723
267723
  return "in_progress";
267724
267724
  }
@@ -267727,7 +267727,7 @@ async function installGlobalPackage(specificVersion) {
267727
267727
  if (!env2.isRunningWithBun() && env2.isNpmFromWindowsPath()) {
267728
267728
  logError2(new Error("Windows NPM detected in WSL environment"));
267729
267729
  logEvent("tengu_auto_updater_windows_npm_in_wsl", {
267730
- currentVersion: "1.0.9"
267730
+ currentVersion: "1.1.0"
267731
267731
  });
267732
267732
  console.error(`
267733
267733
  Error: Windows NPM detected in WSL
@@ -268281,7 +268281,7 @@ async function getDoctorDiagnostic() {
268281
268281
  const installationType = await getCurrentInstallationType();
268282
268282
  let version2;
268283
268283
  try {
268284
- version2 = "1.0.9";
268284
+ version2 = "1.1.0";
268285
268285
  } catch {
268286
268286
  version2 = "unknown";
268287
268287
  }
@@ -269775,7 +269775,7 @@ function getInstallationEnv() {
269775
269775
  return;
269776
269776
  }
269777
269777
  function getZeroCodeVersion() {
269778
- return "1.0.9";
269778
+ return "1.1.0";
269779
269779
  }
269780
269780
  async function getInstalledVSCodeExtensionVersion(command) {
269781
269781
  const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
@@ -271142,8 +271142,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
271142
271142
  const maxVersion = await getMaxVersion();
271143
271143
  if (maxVersion && gt(version2, maxVersion)) {
271144
271144
  logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
271145
- if (gte("1.0.9", maxVersion)) {
271146
- logForDebugging(`Native installer: current version ${"1.0.9"} is already at or above maxVersion ${maxVersion}, skipping update`);
271145
+ if (gte("1.1.0", maxVersion)) {
271146
+ logForDebugging(`Native installer: current version ${"1.1.0"} is already at or above maxVersion ${maxVersion}, skipping update`);
271147
271147
  logEvent("tengu_native_update_skipped_max_version", {
271148
271148
  latency_ms: Date.now() - startTime2,
271149
271149
  max_version: maxVersion,
@@ -271154,7 +271154,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
271154
271154
  version2 = maxVersion;
271155
271155
  }
271156
271156
  }
271157
- if (!forceReinstall && version2 === "1.0.9" && await versionIsAvailable(version2) && await isPossibleZeroBinary(executablePath)) {
271157
+ if (!forceReinstall && version2 === "1.1.0" && await versionIsAvailable(version2) && await isPossibleZeroBinary(executablePath)) {
271158
271158
  logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
271159
271159
  logEvent("tengu_native_update_complete", {
271160
271160
  latency_ms: Date.now() - startTime2,
@@ -389157,26 +389157,28 @@ async function routeAction(input) {
389157
389157
  if (!conn.connected)
389158
389158
  return { success: false, error: conn.error };
389159
389159
  }
389160
+ const castInput = input;
389160
389161
  if (MOUSE_ACTIONS.has(action))
389161
- return handleMouseAction(input, connectionManager);
389162
+ return handleMouseAction(castInput, connectionManager);
389162
389163
  if (KEYBOARD_ACTIONS.has(action))
389163
- return handleKeyboardAction(input, connectionManager);
389164
+ return handleKeyboardAction(castInput, connectionManager);
389164
389165
  if (WINDOW_ACTIONS.has(action))
389165
- return handleWindowAction(input, connectionManager);
389166
+ return handleWindowAction(castInput, connectionManager);
389166
389167
  if (CAPTURE_ACTIONS.has(action))
389167
- return handleCaptureAction(input, connectionManager);
389168
+ return handleCaptureAction(castInput, connectionManager);
389168
389169
  if (AUTOMATION_ACTIONS.has(action))
389169
- return handleAutomationAction(input, connectionManager);
389170
+ return handleAutomationAction(castInput, connectionManager);
389170
389171
  if (CLIPBOARD_ACTIONS.has(action))
389171
- return handleClipboardAction(input, connectionManager);
389172
+ return handleClipboardAction(castInput, connectionManager);
389172
389173
  if (DESKTOP_ACTIONS.has(action))
389173
- return handleDesktopAction(input, connectionManager);
389174
+ return handleDesktopAction(castInput, connectionManager);
389174
389175
  if (FILE_PROCESS_ACTIONS.has(action))
389175
- return handleFileAction(input, connectionManager);
389176
+ return handleFileAction(castInput, connectionManager);
389176
389177
  return { success: false, error: `Unknown action: ${action}` };
389177
389178
  }
389178
- var connectionManager, ACTIONS, MOUSE_ACTIONS, KEYBOARD_ACTIONS, WINDOW_ACTIONS, CAPTURE_ACTIONS, AUTOMATION_ACTIONS, CLIPBOARD_ACTIONS, DESKTOP_ACTIONS, FILE_PROCESS_ACTIONS, NO_CONNECTION_ACTIONS, buildTool2, WindowsControlTool;
389179
+ var connectionManager, ACTIONS, MOUSE_ACTIONS, KEYBOARD_ACTIONS, WINDOW_ACTIONS, CAPTURE_ACTIONS, AUTOMATION_ACTIONS, CLIPBOARD_ACTIONS, DESKTOP_ACTIONS, FILE_PROCESS_ACTIONS, NO_CONNECTION_ACTIONS, inputSchema38, buildTool2, WindowsControlTool;
389179
389180
  var init_WindowsControlTool = __esm(() => {
389181
+ init_v4();
389180
389182
  init_ConnectionManager();
389181
389183
  init_captureActions();
389182
389184
  connectionManager = new ConnectionManager;
@@ -389233,6 +389235,62 @@ var init_WindowsControlTool = __esm(() => {
389233
389235
  DESKTOP_ACTIONS = new Set(["list_desktops", "switch_desktop", "create_desktop", "delete_desktop"]);
389234
389236
  FILE_PROCESS_ACTIONS = new Set(["upload_file", "download_file", "list_files", "list_processes", "kill_process", "launch_process"]);
389235
389237
  NO_CONNECTION_ACTIONS = new Set(["connect", "disconnect", "status"]);
389238
+ inputSchema38 = exports_external.object({
389239
+ action: exports_external.enum(ACTIONS).describe("The action to perform on the Windows machine"),
389240
+ host: exports_external.string().optional().describe("Windows agent host (for connect)"),
389241
+ port: exports_external.number().optional().describe("gRPC port (default 50051)"),
389242
+ token: exports_external.string().optional().describe("Authentication token"),
389243
+ x: exports_external.number().optional().describe("X coordinate"),
389244
+ y: exports_external.number().optional().describe("Y coordinate"),
389245
+ button: exports_external.enum(["left", "right", "middle"]).optional().describe("Mouse button"),
389246
+ start_x: exports_external.number().optional().describe("Drag start X"),
389247
+ start_y: exports_external.number().optional().describe("Drag start Y"),
389248
+ end_x: exports_external.number().optional().describe("Drag end X"),
389249
+ end_y: exports_external.number().optional().describe("Drag end Y"),
389250
+ scroll_direction: exports_external.enum(["up", "down", "left", "right"]).optional(),
389251
+ scroll_amount: exports_external.number().optional().describe("Scroll units"),
389252
+ key: exports_external.string().optional().describe('Key name (e.g. "a", "Enter", "F5")'),
389253
+ modifiers: exports_external.array(exports_external.string()).optional().describe("Modifier keys: ctrl, alt, shift, win"),
389254
+ keys: exports_external.array(exports_external.string()).optional().describe("Keys for combo"),
389255
+ text: exports_external.string().optional().describe("Text to type"),
389256
+ use_clipboard: exports_external.boolean().optional().describe("Use clipboard paste for typing (default true)"),
389257
+ hold_duration_ms: exports_external.number().optional().describe("Key hold duration in ms"),
389258
+ handle: exports_external.string().optional().describe("Window handle"),
389259
+ title_filter: exports_external.string().optional().describe("Filter windows by title"),
389260
+ visible_only: exports_external.boolean().optional().describe("Only list visible windows"),
389261
+ width: exports_external.number().optional().describe("Width for resize"),
389262
+ height: exports_external.number().optional().describe("Height for resize"),
389263
+ snap_direction: exports_external.enum(["left", "right", "up", "down", "top_left", "top_right", "bottom_left", "bottom_right"]).optional(),
389264
+ monitor_index: exports_external.number().optional().describe("Monitor index (-1 for all)"),
389265
+ region: exports_external.object({
389266
+ x: exports_external.number(),
389267
+ y: exports_external.number(),
389268
+ width: exports_external.number(),
389269
+ height: exports_external.number()
389270
+ }).optional().describe("Capture region"),
389271
+ quality: exports_external.number().optional().describe("Image quality 1-100"),
389272
+ scale: exports_external.number().optional().describe("Scale factor 0.25-1.0"),
389273
+ runtime_id: exports_external.string().optional().describe("UI element runtime ID"),
389274
+ value: exports_external.string().optional().describe("Value to set on UI element"),
389275
+ max_depth: exports_external.number().optional().describe("UI tree traversal depth"),
389276
+ control_type_filter: exports_external.string().optional().describe("Filter UI elements by type"),
389277
+ language: exports_external.string().optional().describe("OCR language (e.g. en-US, pt-BR)"),
389278
+ clipboard_text: exports_external.string().optional().describe("Text to set in clipboard"),
389279
+ include_image: exports_external.boolean().optional().describe("Include image from clipboard"),
389280
+ file_path: exports_external.string().optional().describe("File path on Windows"),
389281
+ directory: exports_external.string().optional().describe("Directory to list"),
389282
+ pattern: exports_external.string().optional().describe("Glob pattern for file listing"),
389283
+ recursive: exports_external.boolean().optional().describe("List files recursively"),
389284
+ pid: exports_external.number().optional().describe("Process ID"),
389285
+ process_name: exports_external.string().optional().describe("Process name filter"),
389286
+ arguments: exports_external.array(exports_external.string()).optional().describe("Process arguments"),
389287
+ working_directory: exports_external.string().optional().describe("Working directory for process"),
389288
+ elevated: exports_external.boolean().optional().describe("Run as admin"),
389289
+ force: exports_external.boolean().optional().describe("Force kill process"),
389290
+ desktop_index: exports_external.number().optional().describe("Virtual desktop index"),
389291
+ desktop_name: exports_external.string().optional().describe("Virtual desktop name"),
389292
+ desktop_id: exports_external.string().optional().describe("Virtual desktop ID")
389293
+ });
389236
389294
  ({ buildTool: buildTool2 } = (init_Tool(), __toCommonJS(exports_Tool)));
389237
389295
  WindowsControlTool = buildTool2({
389238
389296
  name: TOOL_NAME,
@@ -389240,80 +389298,18 @@ var init_WindowsControlTool = __esm(() => {
389240
389298
  searchHint: SEARCH_HINT,
389241
389299
  prompt: WINDOWS_CONTROL_PROMPT,
389242
389300
  isConcurrencySafe: false,
389243
- inputSchema: {
389244
- type: "object",
389245
- properties: {
389246
- action: {
389247
- type: "string",
389248
- enum: [...ACTIONS],
389249
- description: "The action to perform on the Windows machine"
389250
- },
389251
- host: { type: "string", description: "Windows agent host (for connect)" },
389252
- port: { type: "number", description: "gRPC port (default 50051)" },
389253
- token: { type: "string", description: "Authentication token" },
389254
- x: { type: "number", description: "X coordinate" },
389255
- y: { type: "number", description: "Y coordinate" },
389256
- button: { type: "string", enum: ["left", "right", "middle"], description: "Mouse button" },
389257
- start_x: { type: "number", description: "Drag start X" },
389258
- start_y: { type: "number", description: "Drag start Y" },
389259
- end_x: { type: "number", description: "Drag end X" },
389260
- end_y: { type: "number", description: "Drag end Y" },
389261
- scroll_direction: { type: "string", enum: ["up", "down", "left", "right"] },
389262
- scroll_amount: { type: "number", description: "Scroll units" },
389263
- key: { type: "string", description: 'Key name (e.g. "a", "Enter", "F5")' },
389264
- modifiers: { type: "array", items: { type: "string" }, description: "Modifier keys: ctrl, alt, shift, win" },
389265
- keys: { type: "array", items: { type: "string" }, description: "Keys for combo" },
389266
- text: { type: "string", description: "Text to type" },
389267
- use_clipboard: { type: "boolean", description: "Use clipboard paste for typing (default true)" },
389268
- hold_duration_ms: { type: "number", description: "Key hold duration in ms" },
389269
- handle: { type: "string", description: "Window handle" },
389270
- title_filter: { type: "string", description: "Filter windows by title" },
389271
- visible_only: { type: "boolean", description: "Only list visible windows" },
389272
- width: { type: "number", description: "Width for resize" },
389273
- height: { type: "number", description: "Height for resize" },
389274
- snap_direction: { type: "string", enum: ["left", "right", "up", "down", "top_left", "top_right", "bottom_left", "bottom_right"] },
389275
- monitor_index: { type: "number", description: "Monitor index (-1 for all)" },
389276
- region: {
389277
- type: "object",
389278
- properties: { x: { type: "number" }, y: { type: "number" }, width: { type: "number" }, height: { type: "number" } },
389279
- description: "Capture region"
389280
- },
389281
- quality: { type: "number", description: "Image quality 1-100" },
389282
- scale: { type: "number", description: "Scale factor 0.25-1.0" },
389283
- runtime_id: { type: "string", description: "UI element runtime ID" },
389284
- value: { type: "string", description: "Value to set on UI element" },
389285
- max_depth: { type: "number", description: "UI tree traversal depth" },
389286
- control_type_filter: { type: "string", description: "Filter UI elements by type" },
389287
- language: { type: "string", description: "OCR language (e.g. en-US, pt-BR)" },
389288
- clipboard_text: { type: "string", description: "Text to set in clipboard" },
389289
- include_image: { type: "boolean", description: "Include image from clipboard" },
389290
- file_path: { type: "string", description: "File path on Windows" },
389291
- directory: { type: "string", description: "Directory to list" },
389292
- pattern: { type: "string", description: "Glob pattern for file listing" },
389293
- recursive: { type: "boolean", description: "List files recursively" },
389294
- pid: { type: "number", description: "Process ID" },
389295
- process_name: { type: "string", description: "Process name filter" },
389296
- arguments: { type: "array", items: { type: "string" }, description: "Process arguments" },
389297
- working_directory: { type: "string", description: "Working directory for process" },
389298
- elevated: { type: "boolean", description: "Run as admin" },
389299
- force: { type: "boolean", description: "Force kill process" },
389300
- desktop_index: { type: "number", description: "Virtual desktop index" },
389301
- desktop_name: { type: "string", description: "Virtual desktop name" },
389302
- desktop_id: { type: "string", description: "Virtual desktop ID" }
389303
- },
389304
- required: ["action"]
389305
- },
389301
+ inputSchema: inputSchema38,
389306
389302
  async call(input) {
389307
389303
  const result = await routeAction(input);
389308
389304
  if (input.action === "screenshot" && result.success && result.data) {
389309
- const screenshotData = result.data;
389305
+ const d = result.data;
389310
389306
  return {
389311
389307
  type: "screenshot",
389312
- imageBase64: screenshotData.imageBase64,
389313
- width: screenshotData.width,
389314
- height: screenshotData.height,
389315
- cursor: screenshotData.cursor,
389316
- message: result.message || `Screenshot ${screenshotData.width}x${screenshotData.height}`
389308
+ imageBase64: d.imageBase64,
389309
+ width: d.width,
389310
+ height: d.height,
389311
+ cursor: d.cursor,
389312
+ message: result.message || `Screenshot ${d.width}x${d.height}`
389317
389313
  };
389318
389314
  }
389319
389315
  return {
@@ -389323,12 +389319,6 @@ var init_WindowsControlTool = __esm(() => {
389323
389319
  },
389324
389320
  mapToolResultToToolResultBlockParam(data, toolUseID) {
389325
389321
  if (data.type === "screenshot" && data.imageBase64) {
389326
- const metaText = JSON.stringify({
389327
- width: data.width,
389328
- height: data.height,
389329
- cursor: data.cursor,
389330
- message: data.message
389331
- });
389332
389322
  return {
389333
389323
  tool_use_id: toolUseID,
389334
389324
  type: "tool_result",
@@ -389343,7 +389333,12 @@ var init_WindowsControlTool = __esm(() => {
389343
389333
  },
389344
389334
  {
389345
389335
  type: "text",
389346
- text: metaText
389336
+ text: JSON.stringify({
389337
+ width: data.width,
389338
+ height: data.height,
389339
+ cursor: data.cursor,
389340
+ message: data.message
389341
+ })
389347
389342
  }
389348
389343
  ]
389349
389344
  };
@@ -395653,7 +395648,7 @@ async function* runShellCommand({
395653
395648
  }
395654
395649
  }
395655
395650
  var jsx_runtime151, EOL4 = `
395656
- `, PROGRESS_THRESHOLD_MS3 = 2000, ASSISTANT_BLOCKING_BUDGET_MS2 = 15000, BASH_SEARCH_COMMANDS, BASH_READ_COMMANDS, BASH_LIST_COMMANDS, BASH_SEMANTIC_NEUTRAL_COMMANDS, BASH_SILENT_COMMANDS, DISALLOWED_AUTO_BACKGROUND_COMMANDS2, isBackgroundTasksDisabled3, fullInputSchema3, inputSchema38, COMMON_BACKGROUND_COMMANDS2, outputSchema32, BashTool;
395651
+ `, PROGRESS_THRESHOLD_MS3 = 2000, ASSISTANT_BLOCKING_BUDGET_MS2 = 15000, BASH_SEARCH_COMMANDS, BASH_READ_COMMANDS, BASH_LIST_COMMANDS, BASH_SEMANTIC_NEUTRAL_COMMANDS, BASH_SILENT_COMMANDS, DISALLOWED_AUTO_BACKGROUND_COMMANDS2, isBackgroundTasksDisabled3, fullInputSchema3, inputSchema39, COMMON_BACKGROUND_COMMANDS2, outputSchema32, BashTool;
395657
395652
  var init_BashTool = __esm(() => {
395658
395653
  init_v4();
395659
395654
  init_state();
@@ -395746,7 +395741,7 @@ For commands that are harder to parse at a glance (piped commands, obscure flags
395746
395741
  newContent: exports_external.string()
395747
395742
  }).optional().describe("Internal: pre-computed sed edit result from preview")
395748
395743
  }));
395749
- inputSchema38 = lazySchema(() => isBackgroundTasksDisabled3 ? fullInputSchema3().omit({
395744
+ inputSchema39 = lazySchema(() => isBackgroundTasksDisabled3 ? fullInputSchema3().omit({
395750
395745
  run_in_background: true,
395751
395746
  dangerouslyDisableSandbox: true,
395752
395747
  _dangerouslyDisableSandboxApproved: true,
@@ -395816,7 +395811,7 @@ For commands that are harder to parse at a glance (piped commands, obscure flags
395816
395811
  };
395817
395812
  },
395818
395813
  isSearchOrReadCommand(input) {
395819
- const parsed = inputSchema38().safeParse(input);
395814
+ const parsed = inputSchema39().safeParse(input);
395820
395815
  if (!parsed.success)
395821
395816
  return {
395822
395817
  isSearch: false,
@@ -395826,7 +395821,7 @@ For commands that are harder to parse at a glance (piped commands, obscure flags
395826
395821
  return isSearchOrReadBashCommand(parsed.data.command);
395827
395822
  },
395828
395823
  get inputSchema() {
395829
- return inputSchema38();
395824
+ return inputSchema39();
395830
395825
  },
395831
395826
  get outputSchema() {
395832
395827
  return outputSchema32();
@@ -402279,7 +402274,7 @@ function getAnthropicEnvMetadata() {
402279
402274
  function getBuildAgeMinutes() {
402280
402275
  if (false)
402281
402276
  ;
402282
- const buildTime = new Date("2026-05-23T19:00:38.012Z").getTime();
402277
+ const buildTime = new Date("2026-05-23T19:16:20.881Z").getTime();
402283
402278
  if (isNaN(buildTime))
402284
402279
  return;
402285
402280
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -405725,8 +405720,8 @@ async function calculateDeferredToolDescriptionChars(tools, getToolPermissionCon
405725
405720
  tools,
405726
405721
  agents
405727
405722
  });
405728
- const inputSchema39 = tool.inputJSONSchema ? jsonStringify(tool.inputJSONSchema) : tool.inputSchema ? jsonStringify(zodToJsonSchema3(tool.inputSchema)) : "";
405729
- return tool.name.length + description.length + inputSchema39.length;
405723
+ const inputSchema40 = tool.inputJSONSchema ? jsonStringify(tool.inputJSONSchema) : tool.inputSchema ? jsonStringify(zodToJsonSchema3(tool.inputSchema)) : "";
405724
+ return tool.name.length + description.length + inputSchema40.length;
405730
405725
  }));
405731
405726
  return sizes.reduce((total, size) => total + size, 0);
405732
405727
  }
@@ -407275,7 +407270,7 @@ async function readImageWithTokenBudget(filePath, maxTokens = getDefaultFileRead
407275
407270
  }
407276
407271
  return result;
407277
407272
  }
407278
- var BLOCKED_DEVICE_PATHS, THIN_SPACE, fileReadListeners, MaxFileReadTokenExceededError, IMAGE_EXTENSIONS, inputSchema39, outputSchema33, FileReadTool, CYBER_RISK_MITIGATION_REMINDER = `
407273
+ var BLOCKED_DEVICE_PATHS, THIN_SPACE, fileReadListeners, MaxFileReadTokenExceededError, IMAGE_EXTENSIONS, inputSchema40, outputSchema33, FileReadTool, CYBER_RISK_MITIGATION_REMINDER = `
407279
407274
 
407280
407275
  <system-reminder>
407281
407276
  Whenever you read a file, you should consider whether it would be considered malware. You CAN and SHOULD provide analysis of malware, what it is doing. But you MUST refuse to improve or augment the code. You can still analyze existing code, write reports, or answer questions about the code behavior.
@@ -407342,7 +407337,7 @@ var init_FileReadTool = __esm(() => {
407342
407337
  }
407343
407338
  };
407344
407339
  IMAGE_EXTENSIONS = new Set(["png", "jpg", "jpeg", "gif", "webp"]);
407345
- inputSchema39 = lazySchema(() => exports_external.strictObject({
407340
+ inputSchema40 = lazySchema(() => exports_external.strictObject({
407346
407341
  file_path: exports_external.string().describe("The absolute path to the file to read"),
407347
407342
  offset: semanticNumber(exports_external.number().int().nonnegative().optional()).describe("The line number to start reading from. Only provide if the file is too large to read at once"),
407348
407343
  limit: semanticNumber(exports_external.number().int().positive().optional()).describe("The number of lines to read. Only provide if the file is too large to read at once."),
@@ -407427,7 +407422,7 @@ var init_FileReadTool = __esm(() => {
407427
407422
  return renderPromptTemplate(pickLineFormatInstruction(), maxSizeInstruction, offsetInstruction);
407428
407423
  },
407429
407424
  get inputSchema() {
407430
- return inputSchema39();
407425
+ return inputSchema40();
407431
407426
  },
407432
407427
  get outputSchema() {
407433
407428
  return outputSchema33();
@@ -419005,7 +419000,7 @@ var init_UI25 = __esm(() => {
419005
419000
  });
419006
419001
 
419007
419002
  // src/tools/ListMcpResourcesTool/ListMcpResourcesTool.ts
419008
- var inputSchema40, outputSchema34, ListMcpResourcesTool;
419003
+ var inputSchema41, outputSchema34, ListMcpResourcesTool;
419009
419004
  var init_ListMcpResourcesTool = __esm(() => {
419010
419005
  init_v4();
419011
419006
  init_client7();
@@ -419015,7 +419010,7 @@ var init_ListMcpResourcesTool = __esm(() => {
419015
419010
  init_slowOperations();
419016
419011
  init_terminal2();
419017
419012
  init_UI25();
419018
- inputSchema40 = lazySchema(() => exports_external.object({
419013
+ inputSchema41 = lazySchema(() => exports_external.object({
419019
419014
  server: exports_external.string().optional().describe("Optional server name to filter resources by")
419020
419015
  }));
419021
419016
  outputSchema34 = lazySchema(() => exports_external.array(exports_external.object({
@@ -419046,7 +419041,7 @@ var init_ListMcpResourcesTool = __esm(() => {
419046
419041
  return PROMPT6;
419047
419042
  },
419048
419043
  get inputSchema() {
419049
- return inputSchema40();
419044
+ return inputSchema41();
419050
419045
  },
419051
419046
  get outputSchema() {
419052
419047
  return outputSchema34();
@@ -419541,14 +419536,14 @@ var init_UI26 = __esm(() => {
419541
419536
  });
419542
419537
 
419543
419538
  // src/tools/MCPTool/MCPTool.ts
419544
- var import_ajv3, inputSchema41, outputSchema35, ajv, MCPTool;
419539
+ var import_ajv3, inputSchema42, outputSchema35, ajv, MCPTool;
419545
419540
  var init_MCPTool = __esm(() => {
419546
419541
  init_v4();
419547
419542
  init_Tool();
419548
419543
  init_terminal2();
419549
419544
  init_UI26();
419550
419545
  import_ajv3 = __toESM(require_ajv(), 1);
419551
- inputSchema41 = lazySchema(() => exports_external.object({}).passthrough());
419546
+ inputSchema42 = lazySchema(() => exports_external.object({}).passthrough());
419552
419547
  outputSchema35 = lazySchema(() => exports_external.union([
419553
419548
  exports_external.string().describe("MCP tool execution result as text"),
419554
419549
  exports_external.array(exports_external.object({
@@ -419571,7 +419566,7 @@ var init_MCPTool = __esm(() => {
419571
419566
  return PROMPT7;
419572
419567
  },
419573
419568
  get inputSchema() {
419574
- return inputSchema41();
419569
+ return inputSchema42();
419575
419570
  },
419576
419571
  get outputSchema() {
419577
419572
  return outputSchema35();
@@ -423001,7 +422996,7 @@ function createMcpAuthTool(serverName, config2) {
423001
422996
  return description;
423002
422997
  },
423003
422998
  get inputSchema() {
423004
- return inputSchema42();
422999
+ return inputSchema43();
423005
423000
  },
423006
423001
  async checkPermissions(input) {
423007
423002
  return { behavior: "allow", updatedInput: input };
@@ -423097,7 +423092,7 @@ Once they complete the flow, the server's tools will become available automatica
423097
423092
  }
423098
423093
  };
423099
423094
  }
423100
- var inputSchema42;
423095
+ var inputSchema43;
423101
423096
  var init_McpAuthTool = __esm(() => {
423102
423097
  init_reject2();
423103
423098
  init_v4();
@@ -423106,7 +423101,7 @@ var init_McpAuthTool = __esm(() => {
423106
423101
  init_mcpStringUtils();
423107
423102
  init_errors();
423108
423103
  init_log3();
423109
- inputSchema42 = lazySchema(() => exports_external.object({}));
423104
+ inputSchema43 = lazySchema(() => exports_external.object({}));
423110
423105
  });
423111
423106
 
423112
423107
  // src/utils/mcpWebSocketTransport.ts
@@ -428223,12 +428218,12 @@ class McpServer {
428223
428218
  }
428224
428219
  return registeredPrompt;
428225
428220
  }
428226
- _createRegisteredTool(name, title, description, inputSchema43, outputSchema36, annotations, execution, _meta, handler5) {
428221
+ _createRegisteredTool(name, title, description, inputSchema44, outputSchema36, annotations, execution, _meta, handler5) {
428227
428222
  validateAndWarnToolName(name);
428228
428223
  const registeredTool = {
428229
428224
  title,
428230
428225
  description,
428231
- inputSchema: getZodSchemaObject(inputSchema43),
428226
+ inputSchema: getZodSchemaObject(inputSchema44),
428232
428227
  outputSchema: getZodSchemaObject(outputSchema36),
428233
428228
  annotations,
428234
428229
  execution,
@@ -428276,7 +428271,7 @@ class McpServer {
428276
428271
  throw new Error(`Tool ${name} is already registered`);
428277
428272
  }
428278
428273
  let description;
428279
- let inputSchema43;
428274
+ let inputSchema44;
428280
428275
  let outputSchema36;
428281
428276
  let annotations;
428282
428277
  if (typeof rest[0] === "string") {
@@ -428285,7 +428280,7 @@ class McpServer {
428285
428280
  if (rest.length > 1) {
428286
428281
  const firstArg = rest[0];
428287
428282
  if (isZodRawShapeCompat(firstArg)) {
428288
- inputSchema43 = rest.shift();
428283
+ inputSchema44 = rest.shift();
428289
428284
  if (rest.length > 1 && typeof rest[0] === "object" && rest[0] !== null && !isZodRawShapeCompat(rest[0])) {
428290
428285
  annotations = rest.shift();
428291
428286
  }
@@ -428297,14 +428292,14 @@ class McpServer {
428297
428292
  }
428298
428293
  }
428299
428294
  const callback = rest[0];
428300
- return this._createRegisteredTool(name, undefined, description, inputSchema43, outputSchema36, annotations, { taskSupport: "forbidden" }, undefined, callback);
428295
+ return this._createRegisteredTool(name, undefined, description, inputSchema44, outputSchema36, annotations, { taskSupport: "forbidden" }, undefined, callback);
428301
428296
  }
428302
428297
  registerTool(name, config2, cb) {
428303
428298
  if (this._registeredTools[name]) {
428304
428299
  throw new Error(`Tool ${name} is already registered`);
428305
428300
  }
428306
- const { title, description, inputSchema: inputSchema43, outputSchema: outputSchema36, annotations, _meta } = config2;
428307
- return this._createRegisteredTool(name, title, description, inputSchema43, outputSchema36, annotations, { taskSupport: "forbidden" }, _meta, cb);
428301
+ const { title, description, inputSchema: inputSchema44, outputSchema: outputSchema36, annotations, _meta } = config2;
428302
+ return this._createRegisteredTool(name, title, description, inputSchema44, outputSchema36, annotations, { taskSupport: "forbidden" }, _meta, cb);
428308
428303
  }
428309
428304
  prompt(name, ...rest) {
428310
428305
  if (this._registeredPrompts[name]) {
@@ -429762,7 +429757,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
429762
429757
  const client2 = new Client({
429763
429758
  name: "claude-code",
429764
429759
  title: "ZeroCLI",
429765
- version: "1.0.9",
429760
+ version: "1.1.0",
429766
429761
  description: "Anthropic's agentic coding tool",
429767
429762
  websiteUrl: PRODUCT_URL
429768
429763
  }, {
@@ -430114,7 +430109,7 @@ var init_client7 = __esm(() => {
430114
430109
  const client2 = new Client({
430115
430110
  name: "claude-code",
430116
430111
  title: "ZeroCLI",
430117
- version: "1.0.9",
430112
+ version: "1.1.0",
430118
430113
  description: "Anthropic's agentic coding tool",
430119
430114
  websiteUrl: PRODUCT_URL
430120
430115
  }, {
@@ -440849,7 +440844,7 @@ function Feedback({
440849
440844
  platform: env2.platform,
440850
440845
  gitRepo: envInfo.isGit,
440851
440846
  terminal: env2.terminal,
440852
- version: "1.0.9",
440847
+ version: "1.1.0",
440853
440848
  transcript: normalizeMessagesForAPI(messages),
440854
440849
  errors: sanitizedErrors,
440855
440850
  lastApiRequest: getLastAPIRequest(),
@@ -441042,7 +441037,7 @@ function Feedback({
441042
441037
  ", ",
441043
441038
  env2.terminal,
441044
441039
  ", v",
441045
- "1.0.9"
441040
+ "1.1.0"
441046
441041
  ]
441047
441042
  })
441048
441043
  ]
@@ -441150,7 +441145,7 @@ ${sanitizedDescription}
441150
441145
  ` + `**Environment Info**
441151
441146
  ` + `- Platform: ${env2.platform}
441152
441147
  ` + `- Terminal: ${env2.terminal}
441153
- ` + `- Version: ${"1.0.9"}
441148
+ ` + `- Version: ${"1.1.0"}
441154
441149
  ` + feedbackIdLine + `
441155
441150
  **Errors**
441156
441151
  \`\`\`json
@@ -444303,7 +444298,7 @@ function buildPrimarySection() {
444303
444298
  });
444304
444299
  return [{
444305
444300
  label: "Version",
444306
- value: "1.0.10"
444301
+ value: "1.1.1"
444307
444302
  }, {
444308
444303
  label: "Session name",
444309
444304
  value: nameValue
@@ -449073,7 +449068,7 @@ function Config({
449073
449068
  }
449074
449069
  })
449075
449070
  }) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_runtime183.jsx(ChannelDowngradeDialog, {
449076
- currentVersion: "1.0.9",
449071
+ currentVersion: "1.1.0",
449077
449072
  onChoice: (choice) => {
449078
449073
  setShowSubmenu(null);
449079
449074
  setTabsHidden(false);
@@ -449085,7 +449080,7 @@ function Config({
449085
449080
  autoUpdatesChannel: "stable"
449086
449081
  };
449087
449082
  if (choice === "stay") {
449088
- newSettings.minimumVersion = "1.0.9";
449083
+ newSettings.minimumVersion = "1.1.0";
449089
449084
  }
449090
449085
  updateSettingsForSource("userSettings", newSettings);
449091
449086
  setSettingsData((prev_27) => ({
@@ -456069,7 +456064,7 @@ function UpdateScreen({ onDone }) {
456069
456064
  setState({ type: "dev-build" });
456070
456065
  return;
456071
456066
  }
456072
- const currentVersion = "1.0.9";
456067
+ const currentVersion = "1.1.0";
456073
456068
  const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
456074
456069
  const latestVersion = await getLatestVersion(channel2);
456075
456070
  if (!latestVersion) {
@@ -458180,7 +458175,7 @@ function HelpV2(t0) {
458180
458175
  let t6;
458181
458176
  if ($2[31] !== tabs) {
458182
458177
  t6 = /* @__PURE__ */ jsx_runtime213.jsx(Tabs, {
458183
- title: `ZeroCLI v${"1.0.9"}`,
458178
+ title: `ZeroCLI v${"1.1.0"}`,
458184
458179
  color: "professionalBlue",
458185
458180
  defaultTab: "general",
458186
458181
  children: tabs
@@ -483024,7 +483019,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
483024
483019
  return [];
483025
483020
  }
483026
483021
  }
483027
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.0.9") {
483022
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.0") {
483028
483023
  if (process.env.USER_TYPE === "ant") {
483029
483024
  const changelog = MACRO.VERSION_CHANGELOG;
483030
483025
  if (changelog) {
@@ -512062,7 +512057,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
512062
512057
  smapsRollup,
512063
512058
  platform: process.platform,
512064
512059
  nodeVersion: process.version,
512065
- ccVersion: "1.0.9"
512060
+ ccVersion: "1.1.0"
512066
512061
  };
512067
512062
  }
512068
512063
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -512649,7 +512644,7 @@ var init_bridge_kick = __esm(() => {
512649
512644
  var call60 = async () => {
512650
512645
  return {
512651
512646
  type: "text",
512652
- value: `${"1.0.9"} (built ${"2026-05-23T19:00:38.012Z"})`
512647
+ value: `${"1.1.0"} (built ${"2026-05-23T19:16:20.881Z"})`
512653
512648
  };
512654
512649
  }, version2, version_default;
512655
512650
  var init_version = __esm(() => {
@@ -522963,7 +522958,7 @@ function generateHtmlReport(data, insights) {
522963
522958
  function buildExportData(data, insights, facets) {
522964
522959
  let version3;
522965
522960
  try {
522966
- version3 = "1.0.9";
522961
+ version3 = "1.1.0";
522967
522962
  } catch {
522968
522963
  version3 = "unknown";
522969
522964
  }
@@ -527163,7 +527158,7 @@ var init_sessionStorage = __esm(() => {
527163
527158
  init_slowOperations();
527164
527159
  init_uuid();
527165
527160
  try {
527166
- VERSION7 = "1.0.9";
527161
+ VERSION7 = "1.1.0";
527167
527162
  } catch {
527168
527163
  VERSION7 = "unknown";
527169
527164
  }
@@ -528484,7 +528479,7 @@ var init_filesystem = __esm(() => {
528484
528479
  });
528485
528480
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
528486
528481
  const nonce = randomBytes17(16).toString("hex");
528487
- return join137(getZeroTempDir(), "bundled-skills", "1.0.9", nonce);
528482
+ return join137(getZeroTempDir(), "bundled-skills", "1.1.0", nonce);
528488
528483
  });
528489
528484
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
528490
528485
  });
@@ -539344,7 +539339,7 @@ function buildSystemInitMessage(inputs) {
539344
539339
  slash_commands: inputs.commands.filter((c6) => c6.userInvocable !== false).map((c6) => c6.name),
539345
539340
  apiKeySource: getAnthropicApiKeyWithSource().source,
539346
539341
  betas: getSdkBetas(),
539347
- claude_code_version: "1.0.9",
539342
+ claude_code_version: "1.1.0",
539348
539343
  output_style: outputStyle2,
539349
539344
  agents: inputs.agents.map((agent2) => agent2.agentType),
539350
539345
  skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
@@ -554659,7 +554654,7 @@ var init_useVoiceEnabled = __esm(() => {
554659
554654
  function getSemverPart(version3) {
554660
554655
  return `${import_semver12.major(version3, { loose: true })}.${import_semver12.minor(version3, { loose: true })}.${import_semver12.patch(version3, { loose: true })}`;
554661
554656
  }
554662
- function useUpdateNotification(updatedVersion, initialVersion = "1.0.9") {
554657
+ function useUpdateNotification(updatedVersion, initialVersion = "1.1.0") {
554663
554658
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react226.useState(() => getSemverPart(initialVersion));
554664
554659
  if (!updatedVersion) {
554665
554660
  return null;
@@ -554702,7 +554697,7 @@ function AutoUpdater({
554702
554697
  return;
554703
554698
  }
554704
554699
  if (false) {}
554705
- const currentVersion = "1.0.9";
554700
+ const currentVersion = "1.1.0";
554706
554701
  const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
554707
554702
  let latestVersion = await getLatestVersion(channel2);
554708
554703
  const isDisabled = isAutoUpdaterDisabled();
@@ -554923,12 +554918,12 @@ function NativeAutoUpdater({
554923
554918
  logEvent("tengu_native_auto_updater_start", {});
554924
554919
  try {
554925
554920
  const maxVersion = await getMaxVersion();
554926
- if (maxVersion && gt("1.0.9", maxVersion)) {
554921
+ if (maxVersion && gt("1.1.0", maxVersion)) {
554927
554922
  const msg = await getMaxVersionMessage();
554928
554923
  setMaxVersionIssue(msg ?? "affects your version");
554929
554924
  }
554930
554925
  const result = await installLatest(channel2);
554931
- const currentVersion = "1.0.9";
554926
+ const currentVersion = "1.1.0";
554932
554927
  const latencyMs = Date.now() - startTime2;
554933
554928
  if (result.lockFailed) {
554934
554929
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -555070,17 +555065,17 @@ function PackageManagerAutoUpdater(t0) {
555070
555065
  const maxVersion = await getMaxVersion();
555071
555066
  if (maxVersion && latest && gt(latest, maxVersion)) {
555072
555067
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
555073
- if (gte("1.0.9", maxVersion)) {
555074
- logForDebugging(`PackageManagerAutoUpdater: current version ${"1.0.9"} is already at or above maxVersion ${maxVersion}, skipping update`);
555068
+ if (gte("1.1.0", maxVersion)) {
555069
+ logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.0"} is already at or above maxVersion ${maxVersion}, skipping update`);
555075
555070
  setUpdateAvailable(false);
555076
555071
  return;
555077
555072
  }
555078
555073
  latest = maxVersion;
555079
555074
  }
555080
- const hasUpdate = latest && !gte("1.0.9", latest) && !shouldSkipVersion(latest);
555075
+ const hasUpdate = latest && !gte("1.1.0", latest) && !shouldSkipVersion(latest);
555081
555076
  setUpdateAvailable(!!hasUpdate);
555082
555077
  if (hasUpdate) {
555083
- logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.0.9"} -> ${latest}`);
555078
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.0"} -> ${latest}`);
555084
555079
  }
555085
555080
  };
555086
555081
  $2[0] = t1;
@@ -555114,7 +555109,7 @@ function PackageManagerAutoUpdater(t0) {
555114
555109
  wrap: "truncate",
555115
555110
  children: [
555116
555111
  "currentVersion: ",
555117
- "1.0.9"
555112
+ "1.1.0"
555118
555113
  ]
555119
555114
  });
555120
555115
  $2[3] = verbose;
@@ -564170,7 +564165,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
564170
564165
  project_dir: getOriginalCwd(),
564171
564166
  added_dirs: addedDirs
564172
564167
  },
564173
- version: "1.0.9",
564168
+ version: "1.1.0",
564174
564169
  output_style: {
564175
564170
  name: outputStyleName
564176
564171
  },
@@ -578712,13 +578707,13 @@ function permissionPromptToolResultToPermissionDecision(result, tool, input, too
578712
578707
  decisionReason
578713
578708
  };
578714
578709
  }
578715
- var inputSchema43, decisionClassificationField, PermissionAllowResultSchema, PermissionDenyResultSchema, outputSchema36;
578710
+ var inputSchema44, decisionClassificationField, PermissionAllowResultSchema, PermissionDenyResultSchema, outputSchema36;
578716
578711
  var init_PermissionPromptToolResultSchema = __esm(() => {
578717
578712
  init_v4();
578718
578713
  init_debug();
578719
578714
  init_PermissionUpdate();
578720
578715
  init_PermissionUpdateSchema();
578721
- inputSchema43 = lazySchema(() => v4_default.object({
578716
+ inputSchema44 = lazySchema(() => v4_default.object({
578722
578717
  tool_name: v4_default.string().describe("The name of the tool requesting permission"),
578723
578718
  input: v4_default.record(v4_default.string(), v4_default.unknown()).describe("The input for the tool"),
578724
578719
  tool_use_id: v4_default.string().optional().describe("The unique tool use request ID")
@@ -588673,7 +588668,7 @@ function WelcomeV2() {
588673
588668
  dimColor: true,
588674
588669
  children: [
588675
588670
  "v",
588676
- "1.0.10",
588671
+ "1.1.1",
588677
588672
  " "
588678
588673
  ]
588679
588674
  })
@@ -588907,7 +588902,7 @@ function WelcomeV2() {
588907
588902
  dimColor: true,
588908
588903
  children: [
588909
588904
  "v",
588910
- "1.0.10",
588905
+ "1.1.1",
588911
588906
  " "
588912
588907
  ]
588913
588908
  })
@@ -589154,7 +589149,7 @@ function AppleTerminalWelcomeV2(t0) {
589154
589149
  dimColor: true,
589155
589150
  children: [
589156
589151
  "v",
589157
- "1.0.10",
589152
+ "1.1.1",
589158
589153
  " "
589159
589154
  ]
589160
589155
  });
@@ -589427,7 +589422,7 @@ function AppleTerminalWelcomeV2(t0) {
589427
589422
  dimColor: true,
589428
589423
  children: [
589429
589424
  "v",
589430
- "1.0.10",
589425
+ "1.1.1",
589431
589426
  " "
589432
589427
  ]
589433
589428
  });
@@ -590939,7 +590934,7 @@ function completeOnboarding() {
590939
590934
  saveGlobalConfig((current) => ({
590940
590935
  ...current,
590941
590936
  hasCompletedOnboarding: true,
590942
- lastOnboardingVersion: "1.0.9"
590937
+ lastOnboardingVersion: "1.1.0"
590943
590938
  }));
590944
590939
  }
590945
590940
  function showDialog(root2, renderer) {
@@ -595190,7 +595185,7 @@ function appendToLog(path24, message) {
595190
595185
  cwd: getFsImplementation().cwd(),
595191
595186
  userType: process.env.USER_TYPE,
595192
595187
  sessionId: getSessionId(),
595193
- version: "1.0.9"
595188
+ version: "1.1.0"
595194
595189
  };
595195
595190
  getLogWriter(path24).write(messageWithTimestamp);
595196
595191
  }
@@ -595796,7 +595791,7 @@ async function startMCPServer(cwd2, debug, verbose) {
595796
595791
  setCwd(cwd2);
595797
595792
  const server = new Server({
595798
595793
  name: "claude/tengu",
595799
- version: "1.0.9"
595794
+ version: "1.1.0"
595800
595795
  }, {
595801
595796
  capabilities: {
595802
595797
  tools: {}
@@ -600435,8 +600430,8 @@ async function getEnvLessBridgeConfig() {
600435
600430
  }
600436
600431
  async function checkEnvLessBridgeMinVersion() {
600437
600432
  const cfg = await getEnvLessBridgeConfig();
600438
- if (cfg.min_version && lt("1.0.9", cfg.min_version)) {
600439
- return `Your version of ZeroCLI (${"1.0.9"}) is too old for Remote Control.
600433
+ if (cfg.min_version && lt("1.1.0", cfg.min_version)) {
600434
+ return `Your version of ZeroCLI (${"1.1.0"}) is too old for Remote Control.
600440
600435
  Version ${cfg.min_version} or higher is required. Run \`zero update\` to update.`;
600441
600436
  }
600442
600437
  return null;
@@ -600911,7 +600906,7 @@ async function initBridgeCore(params) {
600911
600906
  const rawApi = createBridgeApiClient({
600912
600907
  baseUrl,
600913
600908
  getAccessToken,
600914
- runnerVersion: "1.0.9",
600909
+ runnerVersion: "1.1.0",
600915
600910
  onDebug: logForDebugging,
600916
600911
  onAuth401,
600917
600912
  getTrustedDeviceToken
@@ -607199,7 +607194,7 @@ __export(exports_update2, {
607199
607194
  });
607200
607195
  async function update2() {
607201
607196
  logEvent("tengu_update_check", {});
607202
- writeToStdout(`Current version: ${"1.0.9"}
607197
+ writeToStdout(`Current version: ${"1.1.0"}
607203
607198
  `);
607204
607199
  const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
607205
607200
  writeToStdout(`Checking for updates to ${channel2} version...
@@ -607274,8 +607269,8 @@ async function update2() {
607274
607269
  writeToStdout(`Zero is managed by Homebrew.
607275
607270
  `);
607276
607271
  const latest = await getLatestVersion(channel2);
607277
- if (latest && !gte("1.0.9", latest)) {
607278
- writeToStdout(`Update available: ${"1.0.9"} → ${latest}
607272
+ if (latest && !gte("1.1.0", latest)) {
607273
+ writeToStdout(`Update available: ${"1.1.0"} → ${latest}
607279
607274
  `);
607280
607275
  writeToStdout(`
607281
607276
  `);
@@ -607291,8 +607286,8 @@ async function update2() {
607291
607286
  writeToStdout(`Zero is managed by winget.
607292
607287
  `);
607293
607288
  const latest = await getLatestVersion(channel2);
607294
- if (latest && !gte("1.0.9", latest)) {
607295
- writeToStdout(`Update available: ${"1.0.9"} → ${latest}
607289
+ if (latest && !gte("1.1.0", latest)) {
607290
+ writeToStdout(`Update available: ${"1.1.0"} → ${latest}
607296
607291
  `);
607297
607292
  writeToStdout(`
607298
607293
  `);
@@ -607308,8 +607303,8 @@ async function update2() {
607308
607303
  writeToStdout(`Zero is managed by apk.
607309
607304
  `);
607310
607305
  const latest = await getLatestVersion(channel2);
607311
- if (latest && !gte("1.0.9", latest)) {
607312
- writeToStdout(`Update available: ${"1.0.9"} → ${latest}
607306
+ if (latest && !gte("1.1.0", latest)) {
607307
+ writeToStdout(`Update available: ${"1.1.0"} → ${latest}
607313
607308
  `);
607314
607309
  writeToStdout(`
607315
607310
  `);
@@ -607374,11 +607369,11 @@ async function update2() {
607374
607369
  `);
607375
607370
  await gracefulShutdown(1);
607376
607371
  }
607377
- if (result.latestVersion === "1.0.9") {
607378
- writeToStdout(source_default.green(`Zero CLI is up to date (${"1.0.9"})`) + `
607372
+ if (result.latestVersion === "1.1.0") {
607373
+ writeToStdout(source_default.green(`Zero CLI is up to date (${"1.1.0"})`) + `
607379
607374
  `);
607380
607375
  } else {
607381
- writeToStdout(source_default.green(`Successfully updated from ${"1.0.9"} to version ${result.latestVersion}`) + `
607376
+ writeToStdout(source_default.green(`Successfully updated from ${"1.1.0"} to version ${result.latestVersion}`) + `
607382
607377
  `);
607383
607378
  await regenerateCompletionCache();
607384
607379
  }
@@ -607438,12 +607433,12 @@ async function update2() {
607438
607433
  `);
607439
607434
  await gracefulShutdown(1);
607440
607435
  }
607441
- if (latestVersion === "1.0.9") {
607442
- writeToStdout(source_default.green(`Zero CLI is up to date (${"1.0.9"})`) + `
607436
+ if (latestVersion === "1.1.0") {
607437
+ writeToStdout(source_default.green(`Zero CLI is up to date (${"1.1.0"})`) + `
607443
607438
  `);
607444
607439
  await gracefulShutdown(0);
607445
607440
  }
607446
- writeToStdout(`New version available: ${latestVersion} (current: ${"1.0.9"})
607441
+ writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.0"})
607447
607442
  `);
607448
607443
  writeToStdout(`Installing update...
607449
607444
  `);
@@ -607488,7 +607483,7 @@ async function update2() {
607488
607483
  logForDebugging(`update: Installation status: ${status2}`);
607489
607484
  switch (status2) {
607490
607485
  case "success":
607491
- writeToStdout(source_default.green(`Successfully updated from ${"1.0.9"} to version ${latestVersion}`) + `
607486
+ writeToStdout(source_default.green(`Successfully updated from ${"1.1.0"} to version ${latestVersion}`) + `
607492
607487
  `);
607493
607488
  await regenerateCompletionCache();
607494
607489
  break;
@@ -608789,7 +608784,7 @@ ${customInstructions}` : customInstructions;
608789
608784
  }
608790
608785
  }
608791
608786
  logForDiagnosticsNoPII("info", "started", {
608792
- version: "1.0.9",
608787
+ version: "1.1.0",
608793
608788
  is_native_binary: isInBundledMode()
608794
608789
  });
608795
608790
  registerCleanup(async () => {
@@ -609672,7 +609667,7 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
609672
609667
  pendingHookMessages
609673
609668
  }, renderAndRun);
609674
609669
  }
609675
- }).version("1.0.10", "-v, --version", "Output the version number");
609670
+ }).version("1.1.1", "-v, --version", "Output the version number");
609676
609671
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
609677
609672
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
609678
609673
  if (canUserConfigureAdvisor()) {
@@ -610338,7 +610333,7 @@ if (false) {}
610338
610333
  async function main2() {
610339
610334
  const args = process.argv.slice(2);
610340
610335
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
610341
- console.log(`${"1.0.10"} (ZeroCLI)`);
610336
+ console.log(`${"1.1.1"} (ZeroCLI)`);
610342
610337
  return;
610343
610338
  }
610344
610339
  if (args.includes("--provider")) {
@@ -610480,4 +610475,4 @@ async function main2() {
610480
610475
  }
610481
610476
  main2();
610482
610477
 
610483
- //# debugId=FEF09E956F57BC5264756E2164756E21
610478
+ //# debugId=F282308AFD9D507264756E2164756E21
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@duheso/zerocli",
3
- "version": "1.0.10",
4
- "description": "Zero CLI to any LLM OpenAI, Gemini, DeepSeek, Ollama, and 200+ models",
3
+ "version": "1.1.1",
4
+ "description": "Zero CLI to any LLM \u2014 OpenAI, Gemini, DeepSeek, Ollama, and 200+ models",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "zero": "bin/zero"
@@ -171,4 +171,4 @@
171
171
  "overrides": {
172
172
  "lodash-es": "4.18.1"
173
173
  }
174
- }
174
+ }