omnius 1.0.855 → 1.0.857

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 (30) hide show
  1. package/dist/api/py-embed.js +38 -21
  2. package/dist/index.js +2 -2
  3. package/dist/library.js +6996 -3644
  4. package/dist/scripts/crawlee-scraper.py +165 -185
  5. package/dist/scripts/web_scrape.py +22 -20
  6. package/dist/update-worker.js +38 -21
  7. package/docs/DISCOVERY.json +791 -96
  8. package/docs/DISCOVERY.md +20 -1
  9. package/docs/guides/tools-and-web-search.md +44 -0
  10. package/docs/work-orders/WO-automatic-capacity-recovery-and-room-history-20261013.md +134 -0
  11. package/docs/work-orders/WO-computer-use-loop-reconciliation-20261013.md +104 -0
  12. package/docs/work-orders/WO-escape-crash-and-gpu-incident-20261013.md +79 -0
  13. package/docs/work-orders/WO-fallback-contract-cooldown-20261013.md +83 -0
  14. package/docs/work-orders/WO-telegram-public-research-stream-progress-20261013.md +100 -0
  15. package/docs/work-orders/WO-web-browser-crawl-full-coverage-20261013.md +65 -0
  16. package/docs/work-orders/WO-web-source-full-coverage-extraction-20261013.md +135 -0
  17. package/docs/work-orders/evidence/automatic-capacity-before-source-route-20261013.json +72 -0
  18. package/docs/work-orders/evidence/automatic-capacity-stream-installed-20261013.json +362 -0
  19. package/docs/work-orders/evidence/browser-complete-source-live-20261013.json +111 -0
  20. package/docs/work-orders/evidence/fallback-contract-cooldown-before-20261013.json +259 -0
  21. package/docs/work-orders/evidence/native-reconciliation-readonly-live-20261014.json +69 -0
  22. package/docs/work-orders/evidence/source-hierarchy-installed-20261013.json +87 -0
  23. package/docs/work-orders/evidence/telegram-public-research-stream-live-20261013.json +754 -0
  24. package/docs/work-orders/evidence/web-source-installed-capacity-guard-20261013.json +127 -0
  25. package/docs/work-orders/evidence/web-source-installed-public-live-20261013.json +651 -0
  26. package/docs/work-orders/evidence/web-source-parent-capacity-before-20261013.json +233 -0
  27. package/docs/work-orders/evidence/web-source-wide-coordinator-live-20261013.json +485 -0
  28. package/docs/work-orders/evidence/web-source-worker-validation-before-20261013.json +97 -0
  29. package/npm-shrinkwrap.json +2 -2
  30. package/package.json +1 -1
@@ -126054,7 +126054,7 @@ ${lanes.join("\n")}
126054
126054
  let renamedCatchVariableDeclarations;
126055
126055
  let inGeneratorFunctionBody;
126056
126056
  let inStatementContainingYield;
126057
- let blocks;
126057
+ let blocks2;
126058
126058
  let blockOffsets;
126059
126059
  let blockActions;
126060
126060
  let blockStack;
@@ -126261,7 +126261,7 @@ ${lanes.join("\n")}
126261
126261
  const statements2 = [];
126262
126262
  const savedInGeneratorFunctionBody = inGeneratorFunctionBody;
126263
126263
  const savedInStatementContainingYield = inStatementContainingYield;
126264
- const savedBlocks = blocks;
126264
+ const savedBlocks = blocks2;
126265
126265
  const savedBlockOffsets = blockOffsets;
126266
126266
  const savedBlockActions = blockActions;
126267
126267
  const savedBlockStack = blockStack;
@@ -126274,7 +126274,7 @@ ${lanes.join("\n")}
126274
126274
  const savedState = state;
126275
126275
  inGeneratorFunctionBody = true;
126276
126276
  inStatementContainingYield = false;
126277
- blocks = void 0;
126277
+ blocks2 = void 0;
126278
126278
  blockOffsets = void 0;
126279
126279
  blockActions = void 0;
126280
126280
  blockStack = void 0;
@@ -126302,7 +126302,7 @@ ${lanes.join("\n")}
126302
126302
  statements2.push(factory2.createReturnStatement(buildResult));
126303
126303
  inGeneratorFunctionBody = savedInGeneratorFunctionBody;
126304
126304
  inStatementContainingYield = savedInStatementContainingYield;
126305
- blocks = savedBlocks;
126305
+ blocks2 = savedBlocks;
126306
126306
  blockOffsets = savedBlockOffsets;
126307
126307
  blockActions = savedBlockActions;
126308
126308
  blockStack = savedBlockStack;
@@ -127243,8 +127243,8 @@ ${lanes.join("\n")}
127243
127243
  labelOffsets[label] = operations ? operations.length : 0;
127244
127244
  }
127245
127245
  function beginBlock(block) {
127246
- if (!blocks) {
127247
- blocks = [];
127246
+ if (!blocks2) {
127247
+ blocks2 = [];
127248
127248
  blockActions = [];
127249
127249
  blockOffsets = [];
127250
127250
  blockStack = [];
@@ -127252,7 +127252,7 @@ ${lanes.join("\n")}
127252
127252
  const index = blockActions.length;
127253
127253
  blockActions[index] = 0;
127254
127254
  blockOffsets[index] = operations ? operations.length : 0;
127255
- blocks[index] = block;
127255
+ blocks2[index] = block;
127256
127256
  blockStack.push(block);
127257
127257
  return index;
127258
127258
  }
@@ -127262,7 +127262,7 @@ ${lanes.join("\n")}
127262
127262
  const index = blockActions.length;
127263
127263
  blockActions[index] = 1;
127264
127264
  blockOffsets[index] = operations ? operations.length : 0;
127265
- blocks[index] = block;
127265
+ blocks2[index] = block;
127266
127266
  blockStack.pop();
127267
127267
  return block;
127268
127268
  }
@@ -127841,9 +127841,9 @@ ${lanes.join("\n")}
127841
127841
  }
127842
127842
  }
127843
127843
  function tryEnterOrLeaveBlock(operationIndex) {
127844
- if (blocks) {
127844
+ if (blocks2) {
127845
127845
  for (; blockIndex < blockActions.length && blockOffsets[blockIndex] <= operationIndex; blockIndex++) {
127846
- const block = blocks[blockIndex];
127846
+ const block = blocks2[blockIndex];
127847
127847
  const blockAction = blockActions[blockIndex];
127848
127848
  switch (block.kind) {
127849
127849
  case 0:
@@ -246685,6 +246685,7 @@ def observe():
246685
246685
  if desktop is None: raise ObservationUnavailable()
246686
246686
  required(desktop.clear_cache_single)
246687
246687
  nodes, fresh, active_windows, applications, fresh_windows = [], {}, set(), {}, {}
246688
+ active_processes, window_bounds = {}, {}
246688
246689
  fresh_generations = dict(generations)
246689
246690
  seen, truncated = set(), False
246690
246691
  def visit(node, window_raw=None, depth=0, application=None):
@@ -246718,6 +246719,8 @@ def observe():
246718
246719
  if raw == window_raw and state.contains(Atspi.StateType.ACTIVE):
246719
246720
  active_windows.add(window_id)
246720
246721
  if application: applications[window_id] = application
246722
+ process_id = safe(node.get_process_id, 0)
246723
+ if isinstance(process_id, int) and process_id > 0: active_processes[window_id] = process_id
246721
246724
  generation = generations.get(raw, 0)
246722
246725
  if raw not in previous: generation += 1
246723
246726
  fresh_generations[raw] = generation
@@ -246774,6 +246777,7 @@ def observe():
246774
246777
  rect = safe(lambda: component.get_extents(Atspi.CoordType.SCREEN)) if component else None
246775
246778
  if rect and rect.width > 0 and rect.height > 0 and abs(rect.x) < 1000000 and abs(rect.y) < 1000000:
246776
246779
  item['bounds'] = dict(x=rect.x, y=rect.y, width=rect.width, height=rect.height)
246780
+ if raw == window_raw: window_bounds[window_id] = dict(item['bounds'])
246777
246781
  nodes.append(item)
246778
246782
  fresh[identity] = (node, item, index)
246779
246783
  # Actions are restricted to the active top-level window. Keep inactive
@@ -246801,6 +246805,8 @@ def observe():
246801
246805
  if len(active_windows) == 1:
246802
246806
  payload['activeWindowId'] = next(iter(active_windows))
246803
246807
  if payload['activeWindowId'] in applications: payload['activeApplication'] = applications[payload['activeWindowId']]
246808
+ if payload['activeWindowId'] in active_processes: payload['activeProcessId'] = active_processes[payload['activeWindowId']]
246809
+ if payload['activeWindowId'] in window_bounds: payload['activeWindowBounds'] = window_bounds[payload['activeWindowId']]
246804
246810
  payload['capabilities'].append('active_window')
246805
246811
  payload['revision'] = hashlib.sha256(json.dumps(payload, sort_keys=True, separators=(',', ':')).encode()).hexdigest()
246806
246812
  payload['capturedAt'] = int(time.time() * 1000)
@@ -247088,6 +247094,12 @@ while($null -ne ($line=[Console]::ReadLine())) {
247088
247094
  }
247089
247095
  `;
247090
247096
 
247097
+ // packages/execution/dist/rapid-computer-use/native-visual.js
247098
+ import { execFile } from "node:child_process";
247099
+ import { promisify } from "node:util";
247100
+ var exec = promisify(execFile);
247101
+ var PNG = Buffer.from([137, 80, 78, 71, 13, 10, 26, 10]);
247102
+
247091
247103
  // packages/execution/dist/index.js
247092
247104
  init_model_broker();
247093
247105
  init_gpu_selection2();
@@ -247346,9 +247358,9 @@ import { TextDecoder as TextDecoder3 } from "node:util";
247346
247358
  var utf8 = new TextDecoder3("utf-8", { fatal: true, ignoreBOM: true });
247347
247359
 
247348
247360
  // packages/execution/dist/tools/grep-search.js
247349
- import { execFile } from "node:child_process";
247350
- import { promisify } from "node:util";
247351
- var execFileAsync = promisify(execFile);
247361
+ import { execFile as execFile2 } from "node:child_process";
247362
+ import { promisify as promisify2 } from "node:util";
247363
+ var execFileAsync = promisify2(execFile2);
247352
247364
 
247353
247365
  // node_modules/.pnpm/balanced-match@4.0.4/node_modules/balanced-match/dist/esm/index.js
247354
247366
  var balanced = (a, b, str) => {
@@ -250246,14 +250258,19 @@ var VOID_ELEMENTS = /* @__PURE__ */ new Set([
250246
250258
  var inert = /* @__PURE__ */ new Set(["script", "style", "template", "svg", "canvas"]);
250247
250259
  var textExcluded = /* @__PURE__ */ new Set([...inert, "nav", "header", "footer", "aside", "noscript"]);
250248
250260
 
250261
+ // packages/execution/dist/streamed-web-source.js
250262
+ var MAX_RANGE_CHARS = 256 * 1024;
250263
+ var blocks = new Set("address article aside blockquote dd details div dl dt figcaption figure footer h1 h2 h3 h4 h5 h6 header hr li main nav ol p pre section summary table tbody tfoot thead tr ul".split(" "));
250264
+ var voids = new Set("area base br col embed hr img input link meta param source track wbr".split(" "));
250265
+
250249
250266
  // packages/execution/dist/tools/web-fetch.js
250250
- var MAX_RESPONSE_BYTES = 5 * 1024 * 1024;
250267
+ var SMALL_SOURCE_BYTES = 5 * 1024 * 1024;
250251
250268
 
250252
250269
  // packages/execution/dist/tools/web-search.js
250253
250270
  var MAX_SEARCH_RESPONSE_BYTES = 2 * 1024 * 1024;
250254
250271
 
250255
250272
  // packages/execution/dist/tools/web-crawl.js
250256
- var MAX_RESPONSE_BYTES2 = 5 * 1024 * 1024;
250273
+ var MAX_CRAWL_RESPONSE_BYTES = 10 * 1024 * 1024;
250257
250274
 
250258
250275
  // packages/execution/dist/tools/osint-catalog-data.js
250259
250276
  var OSINT_CATALOG_RESOURCES = [
@@ -295208,10 +295225,10 @@ for (const resource of OSINT_CATALOG_RESOURCES) {
295208
295225
  }
295209
295226
 
295210
295227
  // packages/execution/dist/tools/carbonyl-browser.js
295211
- init_venv_paths();
295212
- init_process_lifecycle();
295213
295228
  import { homedir as homedir3 } from "node:os";
295214
295229
  import { join as join2 } from "node:path";
295230
+ init_venv_paths();
295231
+ init_process_lifecycle();
295215
295232
 
295216
295233
  // packages/execution/dist/tools/playwright-browser.js
295217
295234
  import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
@@ -297246,9 +297263,9 @@ var CACHE_TTL_MS = 60 * 60 * 1e3;
297246
297263
  init_model_store();
297247
297264
 
297248
297265
  // packages/execution/dist/av/ingest.js
297249
- import { execFile as execFile2 } from "node:child_process";
297250
- import { promisify as promisify2 } from "node:util";
297251
- var execFileAsync2 = promisify2(execFile2);
297266
+ import { execFile as execFile3 } from "node:child_process";
297267
+ import { promisify as promisify3 } from "node:util";
297268
+ var execFileAsync2 = promisify3(execFile3);
297252
297269
 
297253
297270
  // packages/execution/dist/tools/video-generate.js
297254
297271
  init_process_async();
@@ -298252,10 +298269,10 @@ var MAX_IMAGE_BYTES = 8 * 1024 * 1024;
298252
298269
  init_process_async();
298253
298270
 
298254
298271
  // packages/execution/dist/tools/browser-action.js
298255
- init_process_lifecycle();
298256
298272
  import { copyFileSync, existsSync, mkdirSync, readFileSync as readFileSync2 } from "node:fs";
298257
298273
  import { basename as basename2, dirname as dirname3, join as join4, resolve as resolve3 } from "node:path";
298258
298274
  import { fileURLToPath } from "node:url";
298275
+ init_process_lifecycle();
298259
298276
  init_model_store();
298260
298277
  var __dirname2 = dirname3(fileURLToPath(import.meta.url));
298261
298278
  var DEFAULT_PORT = 8130;
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: 37300551 bytes
4
- sha256: 1c51f6f647513d3b3f43c2ed42d9aa3ea3bb56eeb0a27aab4daf63cdd85e5625
3
+ size: 37504153 bytes
4
+ sha256: 72456e9f7b61b67a1cbb984d416fca252b250bce4ed4508b5508c427d960c0ab