@duheso/zerocli 1.1.8 → 1.1.9
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/dist/cli.mjs +14 -32
- 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.1.
|
|
119229
|
+
out.push(` ${DIM}${rgb(...DIMCOL)}zero ${RESET}${rgb(...ACCENT)}v${"1.1.9"}${RESET}`);
|
|
119230
119230
|
return out;
|
|
119231
119231
|
}
|
|
119232
119232
|
function printStartupScreen() {}
|
|
@@ -365633,7 +365633,7 @@ in their .env file. That's it.
|
|
|
365633
365633
|
|
|
365634
365634
|
**Screen:**
|
|
365635
365635
|
- \`screenshot\` — See the screen (ALWAYS start with this). Returns the actual image.
|
|
365636
|
-
|
|
365636
|
+
**To read text on screen:** just take a screenshot — YOU (the LLM) can read it directly via vision. No OCR needed.
|
|
365637
365637
|
- \`list_monitors\` — Multi-monitor layout info
|
|
365638
365638
|
|
|
365639
365639
|
**Mouse:**
|
|
@@ -365691,7 +365691,7 @@ in their .env file. That's it.
|
|
|
365691
365691
|
key_combo(["ctrl","s"]) to save, key_combo(["alt","f4"]) to close, etc.
|
|
365692
365692
|
|
|
365693
365693
|
**Find and click by text (when you can't see coordinates):**
|
|
365694
|
-
|
|
365694
|
+
screenshot → read text from the image → identify position → mouse_click at that position
|
|
365695
365695
|
|
|
365696
365696
|
**Navigate menus:**
|
|
365697
365697
|
mouse_click on menu → screenshot → mouse_click on menu item
|
|
@@ -366234,22 +366234,6 @@ async function handleAutomationAction(input, connection) {
|
|
|
366234
366234
|
value: input.value
|
|
366235
366235
|
});
|
|
366236
366236
|
return { success: true, message: `Set value on element ${input.runtime_id}` };
|
|
366237
|
-
case "extract_text": {
|
|
366238
|
-
const response = await connection.sendCommand("ExtractText", {
|
|
366239
|
-
region: input.region || null,
|
|
366240
|
-
monitorIndex: input.monitor_index ?? 0,
|
|
366241
|
-
language: input.language || "en-US"
|
|
366242
|
-
});
|
|
366243
|
-
return {
|
|
366244
|
-
success: true,
|
|
366245
|
-
message: `OCR extracted ${response.lines?.length || 0} lines`,
|
|
366246
|
-
data: {
|
|
366247
|
-
fullText: response.fullText,
|
|
366248
|
-
lines: response.lines,
|
|
366249
|
-
languageDetected: response.languageDetected
|
|
366250
|
-
}
|
|
366251
|
-
};
|
|
366252
|
-
}
|
|
366253
366237
|
default:
|
|
366254
366238
|
return { success: false, error: `Unknown automation action: ${input.action}` };
|
|
366255
366239
|
}
|
|
@@ -366500,7 +366484,6 @@ var init_WindowsControlTool = __esm(() => {
|
|
|
366500
366484
|
"get_ui_elements",
|
|
366501
366485
|
"click_element",
|
|
366502
366486
|
"set_element_value",
|
|
366503
|
-
"extract_text",
|
|
366504
366487
|
"get_clipboard",
|
|
366505
366488
|
"set_clipboard",
|
|
366506
366489
|
"upload_file",
|
|
@@ -366515,7 +366498,7 @@ var init_WindowsControlTool = __esm(() => {
|
|
|
366515
366498
|
KEYBOARD_ACTIONS = new Set(["key_press", "key_combo", "key_hold", "type_text"]);
|
|
366516
366499
|
WINDOW_ACTIONS = new Set(["list_windows", "focus_window", "move_window", "resize_window", "minimize", "maximize", "restore", "close_window", "snap_window"]);
|
|
366517
366500
|
CAPTURE_ACTIONS = new Set(["screenshot", "list_monitors"]);
|
|
366518
|
-
AUTOMATION_ACTIONS = new Set(["get_ui_elements", "click_element", "set_element_value"
|
|
366501
|
+
AUTOMATION_ACTIONS = new Set(["get_ui_elements", "click_element", "set_element_value"]);
|
|
366519
366502
|
CLIPBOARD_ACTIONS = new Set(["get_clipboard", "set_clipboard"]);
|
|
366520
366503
|
DESKTOP_ACTIONS = new Set(["list_desktops", "switch_desktop", "create_desktop", "delete_desktop"]);
|
|
366521
366504
|
FILE_PROCESS_ACTIONS = new Set(["upload_file", "download_file", "list_files", "list_processes", "kill_process", "launch_process"]);
|
|
@@ -366559,7 +366542,6 @@ var init_WindowsControlTool = __esm(() => {
|
|
|
366559
366542
|
value: exports_external.string().optional().describe("Value to set on UI element"),
|
|
366560
366543
|
max_depth: exports_external.number().optional().describe("UI tree traversal depth"),
|
|
366561
366544
|
control_type_filter: exports_external.string().optional().describe("Filter UI elements by type"),
|
|
366562
|
-
language: exports_external.string().optional().describe("OCR language (e.g. en-US, pt-BR)"),
|
|
366563
366545
|
clipboard_text: exports_external.string().optional().describe("Text to set in clipboard"),
|
|
366564
366546
|
include_image: exports_external.boolean().optional().describe("Include image from clipboard"),
|
|
366565
366547
|
file_path: exports_external.string().optional().describe("File path on Windows"),
|
|
@@ -379565,7 +379547,7 @@ function getAnthropicEnvMetadata() {
|
|
|
379565
379547
|
function getBuildAgeMinutes() {
|
|
379566
379548
|
if (false)
|
|
379567
379549
|
;
|
|
379568
|
-
const buildTime = new Date("2026-05-
|
|
379550
|
+
const buildTime = new Date("2026-05-23T22:06:41.109Z").getTime();
|
|
379569
379551
|
if (isNaN(buildTime))
|
|
379570
379552
|
return;
|
|
379571
379553
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -421589,7 +421571,7 @@ function buildPrimarySection() {
|
|
|
421589
421571
|
});
|
|
421590
421572
|
return [{
|
|
421591
421573
|
label: "Version",
|
|
421592
|
-
value: "1.1.
|
|
421574
|
+
value: "1.1.9"
|
|
421593
421575
|
}, {
|
|
421594
421576
|
label: "Session name",
|
|
421595
421577
|
value: nameValue
|
|
@@ -489935,7 +489917,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
489935
489917
|
var call60 = async () => {
|
|
489936
489918
|
return {
|
|
489937
489919
|
type: "text",
|
|
489938
|
-
value: `${"1.1.8"} (built ${"2026-05-
|
|
489920
|
+
value: `${"1.1.8"} (built ${"2026-05-23T22:06:41.109Z"})`
|
|
489939
489921
|
};
|
|
489940
489922
|
}, version2, version_default;
|
|
489941
489923
|
var init_version = __esm(() => {
|
|
@@ -565959,7 +565941,7 @@ function WelcomeV2() {
|
|
|
565959
565941
|
dimColor: true,
|
|
565960
565942
|
children: [
|
|
565961
565943
|
"v",
|
|
565962
|
-
"1.1.
|
|
565944
|
+
"1.1.9",
|
|
565963
565945
|
" "
|
|
565964
565946
|
]
|
|
565965
565947
|
})
|
|
@@ -566193,7 +566175,7 @@ function WelcomeV2() {
|
|
|
566193
566175
|
dimColor: true,
|
|
566194
566176
|
children: [
|
|
566195
566177
|
"v",
|
|
566196
|
-
"1.1.
|
|
566178
|
+
"1.1.9",
|
|
566197
566179
|
" "
|
|
566198
566180
|
]
|
|
566199
566181
|
})
|
|
@@ -566440,7 +566422,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
566440
566422
|
dimColor: true,
|
|
566441
566423
|
children: [
|
|
566442
566424
|
"v",
|
|
566443
|
-
"1.1.
|
|
566425
|
+
"1.1.9",
|
|
566444
566426
|
" "
|
|
566445
566427
|
]
|
|
566446
566428
|
});
|
|
@@ -566713,7 +566695,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
566713
566695
|
dimColor: true,
|
|
566714
566696
|
children: [
|
|
566715
566697
|
"v",
|
|
566716
|
-
"1.1.
|
|
566698
|
+
"1.1.9",
|
|
566717
566699
|
" "
|
|
566718
566700
|
]
|
|
566719
566701
|
});
|
|
@@ -586958,7 +586940,7 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
586958
586940
|
pendingHookMessages
|
|
586959
586941
|
}, renderAndRun);
|
|
586960
586942
|
}
|
|
586961
|
-
}).version("1.1.
|
|
586943
|
+
}).version("1.1.9", "-v, --version", "Output the version number");
|
|
586962
586944
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
586963
586945
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
586964
586946
|
if (canUserConfigureAdvisor()) {
|
|
@@ -587624,7 +587606,7 @@ if (false) {}
|
|
|
587624
587606
|
async function main2() {
|
|
587625
587607
|
const args = process.argv.slice(2);
|
|
587626
587608
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
587627
|
-
console.log(`${"1.1.
|
|
587609
|
+
console.log(`${"1.1.9"} (ZeroCLI)`);
|
|
587628
587610
|
return;
|
|
587629
587611
|
}
|
|
587630
587612
|
if (args.includes("--provider")) {
|
|
@@ -587766,4 +587748,4 @@ async function main2() {
|
|
|
587766
587748
|
}
|
|
587767
587749
|
main2();
|
|
587768
587750
|
|
|
587769
|
-
//# debugId=
|
|
587751
|
+
//# debugId=BF2C7F73642C225064756E2164756E21
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@duheso/zerocli",
|
|
3
|
-
"version": "1.1.
|
|
4
|
-
"description": "Zero CLI to any LLM
|
|
3
|
+
"version": "1.1.9",
|
|
4
|
+
"description": "Zero CLI to any LLM — 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
|
+
}
|