omnius 1.0.904 → 1.0.905

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.
@@ -34,6 +34,89 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
34
34
  mod
35
35
  ));
36
36
 
37
+ // packages/execution/dist/rapid-computer-use/contracts.js
38
+ var verbs, UI_STEP_SCHEMA;
39
+ var init_contracts = __esm({
40
+ "packages/execution/dist/rapid-computer-use/contracts.js"() {
41
+ "use strict";
42
+ verbs = ["invoke", "focus", "set_value", "set_checked", "select", "scroll", "key_chord"];
43
+ UI_STEP_SCHEMA = {
44
+ type: "object",
45
+ additionalProperties: false,
46
+ required: ["id", "verb", "target", "expect"],
47
+ properties: {
48
+ id: { type: "string" },
49
+ verb: { type: "string", enum: verbs },
50
+ target: { type: "object", additionalProperties: false, properties: Object.fromEntries(["nodeId", "role", "name", "scopeId"].map((k) => [k, { type: "string", ...k !== "name" ? { minLength: 1 } : {} }])) },
51
+ args: { type: "object", additionalProperties: false, properties: { value: { type: "string" }, checked: { type: "boolean" }, option: { type: "string" }, direction: { type: "string", enum: ["up", "down", "left", "right"] }, keys: { type: "array", items: { type: "string" }, maxItems: 4 } } },
52
+ expect: { type: "array", minItems: 1, maxItems: 20, items: { type: "object", properties: { kind: { type: "string", enum: ["value", "checked", "selected", "focused", "visible", "text", "url", "download_saved"] }, nodeId: { type: "string" }, value: { type: "string" }, checked: { type: "boolean" }, values: { type: "array", items: { type: "string" } }, role: { type: "string" }, name: { type: "string" }, visible: { type: "boolean" }, text: { type: "string" }, url: { type: "string" }, filename: { type: "string" } } } }
53
+ }
54
+ };
55
+ }
56
+ });
57
+
58
+ // packages/execution/dist/rapid-computer-use/controller.js
59
+ var init_controller = __esm({
60
+ "packages/execution/dist/rapid-computer-use/controller.js"() {
61
+ "use strict";
62
+ init_contracts();
63
+ }
64
+ });
65
+
66
+ // packages/execution/dist/rapid-computer-use/geometry.js
67
+ var init_geometry = __esm({
68
+ "packages/execution/dist/rapid-computer-use/geometry.js"() {
69
+ "use strict";
70
+ }
71
+ });
72
+
73
+ // packages/execution/dist/rapid-computer-use/desktop-session.js
74
+ var init_desktop_session = __esm({
75
+ "packages/execution/dist/rapid-computer-use/desktop-session.js"() {
76
+ "use strict";
77
+ }
78
+ });
79
+
80
+ // packages/execution/dist/rapid-computer-use/visual.js
81
+ var init_visual = __esm({
82
+ "packages/execution/dist/rapid-computer-use/visual.js"() {
83
+ "use strict";
84
+ init_contracts();
85
+ init_geometry();
86
+ init_desktop_session();
87
+ }
88
+ });
89
+
90
+ // packages/execution/dist/rapid-computer-use/browser-runtime.js
91
+ var init_browser_runtime = __esm({
92
+ "packages/execution/dist/rapid-computer-use/browser-runtime.js"() {
93
+ "use strict";
94
+ }
95
+ });
96
+
97
+ // packages/execution/dist/rapid-computer-use/browser.js
98
+ var init_browser = __esm({
99
+ "packages/execution/dist/rapid-computer-use/browser.js"() {
100
+ "use strict";
101
+ }
102
+ });
103
+
104
+ // packages/execution/dist/evidence.js
105
+ var init_evidence = __esm({
106
+ "packages/execution/dist/evidence.js"() {
107
+ "use strict";
108
+ }
109
+ });
110
+
111
+ // packages/execution/dist/rapid-computer-use/evidence.js
112
+ var init_evidence2 = __esm({
113
+ "packages/execution/dist/rapid-computer-use/evidence.js"() {
114
+ "use strict";
115
+ init_evidence();
116
+ init_contracts();
117
+ }
118
+ });
119
+
37
120
  // packages/execution/dist/jetson-monitor.js
38
121
  var init_jetson_monitor = __esm({
39
122
  "packages/execution/dist/jetson-monitor.js"() {
@@ -1986,6 +2069,13 @@ var init_process_lifecycle = __esm({
1986
2069
  }
1987
2070
  });
1988
2071
 
2072
+ // packages/execution/dist/tools/network-egress-policy.js
2073
+ var init_network_egress_policy = __esm({
2074
+ "packages/execution/dist/tools/network-egress-policy.js"() {
2075
+ "use strict";
2076
+ }
2077
+ });
2078
+
1989
2079
  // packages/execution/dist/system-deps.js
1990
2080
  var init_system_deps = __esm({
1991
2081
  "packages/execution/dist/system-deps.js"() {
@@ -1993,6 +2083,43 @@ var init_system_deps = __esm({
1993
2083
  }
1994
2084
  });
1995
2085
 
2086
+ // packages/execution/dist/page-content-source.js
2087
+ var init_page_content_source = __esm({
2088
+ "packages/execution/dist/page-content-source.js"() {
2089
+ "use strict";
2090
+ }
2091
+ });
2092
+
2093
+ // packages/execution/dist/rapid-computer-use/browser-visual.js
2094
+ var init_browser_visual = __esm({
2095
+ "packages/execution/dist/rapid-computer-use/browser-visual.js"() {
2096
+ "use strict";
2097
+ init_contracts();
2098
+ init_geometry();
2099
+ }
2100
+ });
2101
+
2102
+ // packages/execution/dist/rapid-computer-use/browser-bidi.js
2103
+ var init_browser_bidi = __esm({
2104
+ "packages/execution/dist/rapid-computer-use/browser-bidi.js"() {
2105
+ "use strict";
2106
+ }
2107
+ });
2108
+
2109
+ // packages/execution/dist/tools/dom-summary.js
2110
+ var init_dom_summary = __esm({
2111
+ "packages/execution/dist/tools/dom-summary.js"() {
2112
+ "use strict";
2113
+ }
2114
+ });
2115
+
2116
+ // packages/execution/dist/tools/playwright-download.js
2117
+ var init_playwright_download = __esm({
2118
+ "packages/execution/dist/tools/playwright-download.js"() {
2119
+ "use strict";
2120
+ }
2121
+ });
2122
+
1996
2123
  // packages/execution/dist/tools/cuda-device-filter.js
1997
2124
  var init_cuda_device_filter = __esm({
1998
2125
  "packages/execution/dist/tools/cuda-device-filter.js"() {
@@ -2055,6 +2182,35 @@ var init_vision = __esm({
2055
2182
  }
2056
2183
  });
2057
2184
 
2185
+ // packages/execution/dist/tools/playwright-browser.js
2186
+ import { AsyncLocalStorage as AsyncLocalStorage3 } from "node:async_hooks";
2187
+ import { dirname, isAbsolute, join, resolve } from "node:path";
2188
+ import { homedir as homedir2 } from "node:os";
2189
+ var browserSessionScope, PLAYWRIGHT_RUNTIME_DIR, PLAYWRIGHT_BROWSERS_DIR;
2190
+ var init_playwright_browser = __esm({
2191
+ "packages/execution/dist/tools/playwright-browser.js"() {
2192
+ "use strict";
2193
+ init_process_async();
2194
+ init_page_content_source();
2195
+ init_browser();
2196
+ init_browser_visual();
2197
+ init_browser_runtime();
2198
+ init_controller();
2199
+ init_evidence2();
2200
+ init_visual();
2201
+ init_browser_bidi();
2202
+ init_contracts();
2203
+ init_evidence();
2204
+ init_dom_summary();
2205
+ init_playwright_download();
2206
+ init_network_egress_policy();
2207
+ init_vision();
2208
+ browserSessionScope = new AsyncLocalStorage3();
2209
+ PLAYWRIGHT_RUNTIME_DIR = join(homedir2(), ".omnius", "playwright-runtime");
2210
+ PLAYWRIGHT_BROWSERS_DIR = join(PLAYWRIGHT_RUNTIME_DIR, "browsers");
2211
+ }
2212
+ });
2213
+
2058
2214
  // packages/execution/dist/tools/hf-media-models.js
2059
2215
  var init_hf_media_models = __esm({
2060
2216
  "packages/execution/dist/tools/hf-media-models.js"() {
@@ -246548,22 +246704,15 @@ import { dirname as dirname6, join as join12 } from "node:path";
246548
246704
  import { homedir as homedir12 } from "node:os";
246549
246705
  import { fileURLToPath as fileURLToPath2 } from "node:url";
246550
246706
 
246551
- // packages/execution/dist/rapid-computer-use/contracts.js
246552
- var verbs = ["invoke", "focus", "set_value", "set_checked", "select", "scroll", "key_chord"];
246553
- var UI_STEP_SCHEMA = {
246554
- type: "object",
246555
- additionalProperties: false,
246556
- required: ["id", "verb", "target", "expect"],
246557
- properties: {
246558
- id: { type: "string" },
246559
- verb: { type: "string", enum: verbs },
246560
- target: { type: "object", additionalProperties: false, properties: Object.fromEntries(["nodeId", "role", "name", "scopeId"].map((k) => [k, { type: "string", ...k !== "name" ? { minLength: 1 } : {} }])) },
246561
- args: { type: "object", additionalProperties: false, properties: { value: { type: "string" }, checked: { type: "boolean" }, option: { type: "string" }, direction: { type: "string", enum: ["up", "down", "left", "right"] }, keys: { type: "array", items: { type: "string" }, maxItems: 4 } } },
246562
- expect: { type: "array", minItems: 1, maxItems: 20, items: { type: "object", properties: { kind: { type: "string", enum: ["value", "checked", "selected", "focused", "visible", "text", "url", "download_saved"] }, nodeId: { type: "string" }, value: { type: "string" }, checked: { type: "boolean" }, values: { type: "array", items: { type: "string" } }, role: { type: "string" }, name: { type: "string" }, visible: { type: "boolean" }, text: { type: "string" }, url: { type: "string" }, filename: { type: "string" } } } }
246563
- }
246564
- };
246707
+ // packages/execution/dist/index.js
246708
+ init_contracts();
246709
+ init_controller();
246710
+
246711
+ // packages/execution/dist/rapid-computer-use/decision.js
246712
+ init_contracts();
246565
246713
 
246566
246714
  // packages/execution/dist/rapid-computer-use/planner.js
246715
+ init_contracts();
246567
246716
  var boundedString = { type: "string", maxLength: 2048 };
246568
246717
  var identityString = { ...boundedString, minLength: 1 };
246569
246718
  var shape = (properties, required = Object.keys(properties)) => ({ type: "object", additionalProperties: false, properties, required });
@@ -246610,12 +246759,32 @@ var UI_PLAN_RESPONSE_SCHEMA = {
246610
246759
  }
246611
246760
  };
246612
246761
 
246762
+ // packages/execution/dist/rapid-computer-use/workflow.js
246763
+ init_contracts();
246764
+ init_controller();
246765
+
246613
246766
  // packages/execution/dist/rapid-computer-use/artifact-store.js
246614
246767
  var MAX_UI_ARTIFACT_BYTES = 16 * 1024 * 1024;
246615
246768
 
246616
246769
  // packages/execution/dist/rapid-computer-use/workflow-store.js
246770
+ init_contracts();
246617
246771
  var MAX_UI_WORKFLOW_BYTES = 1024 * 1024;
246618
246772
 
246773
+ // packages/execution/dist/rapid-computer-use/trace.js
246774
+ init_contracts();
246775
+
246776
+ // packages/execution/dist/index.js
246777
+ init_geometry();
246778
+ init_visual();
246779
+ init_browser_runtime();
246780
+ init_browser();
246781
+
246782
+ // packages/execution/dist/rapid-computer-use/native.js
246783
+ init_desktop_session();
246784
+
246785
+ // packages/execution/dist/rapid-computer-use/native-protocol.js
246786
+ init_contracts();
246787
+
246619
246788
  // packages/execution/dist/rapid-computer-use/native-atspi.js
246620
246789
  var ATSPI_BRIDGE_SOURCE = String.raw`
246621
246790
  import sys, json, time, hashlib, uuid, hmac
@@ -247114,7 +247283,14 @@ while($null -ne ($line=[Console]::ReadLine())) {
247114
247283
  }
247115
247284
  `;
247116
247285
 
247286
+ // packages/execution/dist/rapid-computer-use/native-tool.js
247287
+ init_contracts();
247288
+ init_controller();
247289
+ init_visual();
247290
+ init_evidence2();
247291
+
247117
247292
  // packages/execution/dist/rapid-computer-use/native-visual.js
247293
+ init_geometry();
247118
247294
  import { execFile } from "node:child_process";
247119
247295
  import { promisify } from "node:util";
247120
247296
  var exec = promisify(execFile);
@@ -247210,6 +247386,7 @@ init_process_async();
247210
247386
  init_model_broker();
247211
247387
 
247212
247388
  // packages/execution/dist/index.js
247389
+ init_evidence();
247213
247390
  init_process_lifecycle();
247214
247391
 
247215
247392
  // packages/execution/dist/background-process-receipt.js
@@ -247219,6 +247396,9 @@ init_process_lifecycle();
247219
247396
  import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
247220
247397
  var runContextStorage = new AsyncLocalStorage2();
247221
247398
 
247399
+ // packages/execution/dist/index.js
247400
+ init_network_egress_policy();
247401
+
247222
247402
  // packages/execution/dist/shell-run-control.js
247223
247403
  init_process_lifecycle();
247224
247404
  init_process_kill();
@@ -250288,12 +250468,22 @@ var blocks = new Set("address article aside blockquote dd details div dl dt figc
250288
250468
  var voids = new Set("area base br col embed hr img input link meta param source track wbr".split(" "));
250289
250469
 
250290
250470
  // packages/execution/dist/tools/web-fetch.js
250471
+ init_network_egress_policy();
250291
250472
  var SMALL_SOURCE_BYTES = 5 * 1024 * 1024;
250292
250473
 
250474
+ // packages/execution/dist/index.js
250475
+ init_page_content_source();
250476
+
250477
+ // packages/execution/dist/tools/web-download.js
250478
+ init_network_egress_policy();
250479
+
250293
250480
  // packages/execution/dist/tools/web-search.js
250481
+ init_network_egress_policy();
250294
250482
  var MAX_SEARCH_RESPONSE_BYTES = 2 * 1024 * 1024;
250295
250483
 
250296
250484
  // packages/execution/dist/tools/web-crawl.js
250485
+ init_network_egress_policy();
250486
+ init_page_content_source();
250297
250487
  var MAX_CRAWL_RESPONSE_BYTES = 10 * 1024 * 1024;
250298
250488
 
250299
250489
  // packages/execution/dist/tools/osint-catalog-data.js
@@ -295249,23 +295439,14 @@ for (const resource of OSINT_CATALOG_RESOURCES) {
295249
295439
  }
295250
295440
 
295251
295441
  // packages/execution/dist/tools/carbonyl-browser.js
295252
- import { homedir as homedir3 } from "node:os";
295253
- import { join as join2 } from "node:path";
295442
+ init_page_content_source();
295254
295443
  init_venv_paths();
295255
295444
  init_process_lifecycle();
295256
-
295257
- // packages/execution/dist/tools/playwright-browser.js
295258
- import { AsyncLocalStorage as AsyncLocalStorage3 } from "node:async_hooks";
295259
- init_process_async();
295260
- import { dirname, isAbsolute, join, resolve } from "node:path";
295261
- import { homedir as homedir2 } from "node:os";
295262
- init_vision();
295263
- var browserSessionScope = new AsyncLocalStorage3();
295264
- var PLAYWRIGHT_RUNTIME_DIR = join(homedir2(), ".omnius", "playwright-runtime");
295265
- var PLAYWRIGHT_BROWSERS_DIR = join(PLAYWRIGHT_RUNTIME_DIR, "browsers");
295266
-
295267
- // packages/execution/dist/tools/carbonyl-browser.js
295445
+ init_network_egress_policy();
295446
+ init_playwright_browser();
295268
295447
  init_process_async();
295448
+ import { homedir as homedir3 } from "node:os";
295449
+ import { join as join2 } from "node:path";
295269
295450
  var CARBONYL_VENV = join2(homedir3(), ".omnius", "venv");
295270
295451
  var CARBONYL_RUNTIME_MARKER = join2(CARBONYL_VENV, ".omnius-carbonyl-runtime-installed");
295271
295452
  var INSTALL_TIMEOUT_MS = 10 * 6e4;
@@ -296262,11 +296443,12 @@ init_hf_media_models();
296262
296443
 
296263
296444
  // packages/execution/dist/tools/transcribe-tool.js
296264
296445
  init_model_broker();
296265
- import { join as join3, basename, dirname as dirname2, extname, resolve as resolve2 } from "node:path";
296266
- import { homedir as homedir4, tmpdir } from "node:os";
296446
+ init_network_egress_policy();
296267
296447
  init_cuda_device_filter();
296268
296448
  init_process_async();
296269
296449
  init_venv_paths();
296450
+ import { join as join3, basename, dirname as dirname2, extname, resolve as resolve2 } from "node:path";
296451
+ import { homedir as homedir4, tmpdir } from "node:os";
296270
296452
 
296271
296453
  // packages/execution/dist/transcribe-cuda-preparation.js
296272
296454
  init_process_async();
@@ -297310,6 +297492,7 @@ var OMNI_ANALYSIS_LIMITS = Object.freeze({
297310
297492
 
297311
297493
  // packages/execution/dist/tools/video-generate.js
297312
297494
  init_process_async();
297495
+ init_network_egress_policy();
297313
297496
  init_media_progress();
297314
297497
  init_media_store_lease();
297315
297498
  init_model_broker();
@@ -298177,10 +298360,17 @@ var DEFAULT_MAX_DOCUMENT_BYTES2 = 500 * 1024 * 1024;
298177
298360
  init_vision();
298178
298361
 
298179
298362
  // packages/execution/dist/tools/vision-action-loop.js
298363
+ init_contracts();
298364
+ init_desktop_session();
298365
+ init_geometry();
298366
+ init_evidence();
298180
298367
  init_system_deps();
298181
298368
  init_vision();
298182
298369
 
298183
298370
  // packages/execution/dist/tools/desktop-click.js
298371
+ init_contracts();
298372
+ init_desktop_session();
298373
+ init_geometry();
298184
298374
  init_system_deps();
298185
298375
  init_vision();
298186
298376
 
@@ -298312,11 +298502,15 @@ var MAX_IMAGE_BYTES = 8 * 1024 * 1024;
298312
298502
  init_process_async();
298313
298503
 
298314
298504
  // packages/execution/dist/tools/browser-action.js
298505
+ init_page_content_source();
298506
+ init_process_lifecycle();
298507
+ init_evidence();
298508
+ init_dom_summary();
298509
+ init_model_store();
298510
+ init_network_egress_policy();
298315
298511
  import { copyFileSync, existsSync, mkdirSync, readFileSync as readFileSync2 } from "node:fs";
298316
298512
  import { basename as basename2, dirname as dirname3, join as join4, resolve as resolve3 } from "node:path";
298317
298513
  import { fileURLToPath } from "node:url";
298318
- init_process_lifecycle();
298319
- init_model_store();
298320
298514
  var __dirname2 = dirname3(fileURLToPath(import.meta.url));
298321
298515
  var DEFAULT_PORT = 8130;
298322
298516
  function findScrapeScript() {
@@ -298335,6 +298529,13 @@ function findScrapeScript() {
298335
298529
  var SCRAPE_SCRIPT = findScrapeScript();
298336
298530
  var BASE_URL = `http://localhost:${DEFAULT_PORT}`;
298337
298531
 
298532
+ // packages/execution/dist/index.js
298533
+ init_playwright_browser();
298534
+
298535
+ // packages/execution/dist/tools/email-verification.js
298536
+ init_network_egress_policy();
298537
+ init_playwright_browser();
298538
+
298338
298539
  // packages/execution/dist/tools/opencode.js
298339
298540
  init_process_async();
298340
298541
 
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/dist/index.js
3
- size: 38988736 bytes
4
- sha256: 02a7b4dabf12e50af9152c56c9f12417f01d80f4ee8b2af49761eed1b889b3cb
3
+ size: 39009730 bytes
4
+ sha256: d59577959512a0d5ed8a9cb0f7d9c73caee41656b6d0d2b9dc4d29fc27c2de6a