omniwire 3.1.0 → 3.1.2

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/README.md +129 -94
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -10,7 +10,7 @@
10
10
  <a href="https://www.npmjs.com/package/omniwire"><img src="https://img.shields.io/npm/v/omniwire?style=for-the-badge&logo=npm&color=CB3837&labelColor=0D1117" alt="npm" /></a>
11
11
  <img src="https://img.shields.io/badge/MCP_Tools-81-59C2FF?style=for-the-badge&labelColor=0D1117" alt="tools" />
12
12
  <img src="https://img.shields.io/badge/A2A-Protocol-00C853?style=for-the-badge&labelColor=0D1117" alt="A2A" />
13
- <img src="https://img.shields.io/badge/Latency-~81ms-FF6D00?style=for-the-badge&labelColor=0D1117" alt="latency" />
13
+ <img src="https://img.shields.io/badge/Latency-~80ms-FF6D00?style=for-the-badge&labelColor=0D1117" alt="latency" />
14
14
  <img src="https://img.shields.io/badge/CyberBase-Sync-CC93E6?style=for-the-badge&labelColor=0D1117" alt="cyberbase" />
15
15
  <a href="LICENSE"><img src="https://img.shields.io/badge/GPL--3.0-license-8B949E?style=for-the-badge&labelColor=0D1117" alt="license" /></a>
16
16
  </p>
@@ -295,7 +295,7 @@ omniwire_workflow reusable named DAGs
295
295
 
296
296
  ### Adaptive File Transfer
297
297
  ```
298
- < 10 MB SFTP native, 81ms
298
+ < 10 MB SFTP native, 80ms
299
299
  10M-1GB netcat+LZ4 compressed, 100ms
300
300
  > 1 GB aria2c 16-parallel, max speed
301
301
  ```
@@ -350,131 +350,166 @@ watch(assert="ready") poll until
350
350
 
351
351
  ## All 81 Tools
352
352
 
353
- > **Every tool** supports `background: true` -- returns a task ID immediately. Poll with `omniwire_bg`.
353
+ > **Every tool** supports `background: true` returns a task ID immediately. Poll with `omniwire_bg`.
354
354
 
355
- ### Execution (6)
355
+ <details>
356
+ <summary><b>Execution (6)</b></summary>
356
357
 
357
358
  | Tool | Description |
358
359
  |------|-------------|
359
- | `omniwire_exec` | Run command on any node. `retry`, `assert`, `store_as`, `format:"json"`, `{{key}}`, `via_vpn` for anonymous scanning. |
360
- | `omniwire_run` | Execute multi-line scripts via temp file. Keeps tool call UI clean. |
361
- | `omniwire_batch` | N commands in 1 call. Chaining with `{{prev}}`, `abort_on_fail`, parallel or sequential. |
362
- | `omniwire_broadcast` | Execute on all nodes simultaneously. JSON format support. |
363
- | `omniwire_pipeline` | Multi-step DAG. `{{prev}}`/`{{stepN}}` interpolation, per-step error handling, cross-node. |
364
- | `omniwire_bg` | List, poll, or retrieve results from background tasks. |
360
+ | `omniwire_exec` | Run command on any node. `retry`, `assert`, `store_as`, `format:"json"`, `{{key}}`, `via_vpn`. |
361
+ | `omniwire_run` | Multi-line scripts via temp file. |
362
+ | `omniwire_batch` | N commands in 1 call. Chaining `{{prev}}`, `abort_on_fail`, parallel/sequential. |
363
+ | `omniwire_broadcast` | Execute on all nodes simultaneously. |
364
+ | `omniwire_pipeline` | Multi-step DAG with `{{prev}}`/`{{stepN}}` interpolation. |
365
+ | `omniwire_bg` | List/poll/retrieve background task results. |
365
366
 
366
- ### Agentic / A2A (13)
367
+ </details>
368
+
369
+ <details>
370
+ <summary><b>Agentic / A2A (12)</b></summary>
367
371
 
368
372
  | Tool | Description |
369
373
  |------|-------------|
370
- | `omniwire_store` | Session key-value store. Persist results across tool calls for chaining. |
371
- | `omniwire_watch` | Poll command until assert pattern matches. For deploys, builds, service readiness. |
372
- | `omniwire_healthcheck` | Parallel health probe across all nodes (connectivity, disk, mem, load, docker). Single call. |
373
- | `omniwire_agent_task` | Dispatch background tasks. Get task IDs, poll status, retrieve results. A2A async. |
374
- | `omniwire_a2a_message` | Agent-to-agent message queues. Send/receive/peek on named channels. |
375
- | `omniwire_semaphore` | Distributed locking. Atomic acquire/release to prevent race conditions. |
376
- | `omniwire_event` | Pub/sub events. Emit/poll timestamped events per topic. ACP/A2A/ACPX compatible. |
377
- | `omniwire_workflow` | Define and run reusable named workflows (DAGs). Stored on disk, triggered by any agent. |
378
- | `omniwire_agent_registry` | Register/discover agents by capabilities. Dynamic A2A routing. Heartbeat. |
379
- | `omniwire_blackboard` | Shared blackboard for agent swarms. Post findings, read, search across topics. |
380
- | `omniwire_task_queue` | Distributed task queue. Enqueue/dequeue with priorities. Complete/fail reporting. |
381
- | `omniwire_capability` | Query node capabilities (tools, runtimes, GPU). Intelligent task routing. |
382
-
383
- ### Files & Transfer (6)
374
+ | `omniwire_store` | Session key-value store for cross-call chaining. |
375
+ | `omniwire_watch` | Poll until assert matches deploys, builds, readiness. |
376
+ | `omniwire_healthcheck` | Parallel health probe all nodes (disk, mem, load, docker). |
377
+ | `omniwire_agent_task` | Background task dispatch with poll/retrieve. |
378
+ | `omniwire_a2a_message` | Agent-to-agent message queues (send/receive/peek). |
379
+ | `omniwire_semaphore` | Distributed locking atomic acquire/release. |
380
+ | `omniwire_event` | Pub/sub events per topic. |
381
+ | `omniwire_workflow` | Reusable named workflow DAGs. |
382
+ | `omniwire_agent_registry` | Agent capability discovery + heartbeat. |
383
+ | `omniwire_blackboard` | Shared blackboard for swarm coordination. |
384
+ | `omniwire_task_queue` | Distributed priority queue — enqueue/dequeue/complete. |
385
+ | `omniwire_capability` | Query node capabilities for intelligent routing. |
386
+
387
+ </details>
388
+
389
+ <details>
390
+ <summary><b>Files & Transfer (6)</b></summary>
384
391
 
385
392
  | Tool | Description |
386
393
  |------|-------------|
387
- | `omniwire_read_file` | Read file from any node. `node:/path` format. |
394
+ | `omniwire_read_file` | Read file from any node (`node:/path`). |
388
395
  | `omniwire_write_file` | Write/create file on any node. |
389
396
  | `omniwire_list_files` | List directory contents. |
390
- | `omniwire_find_files` | Glob search across all nodes. |
391
- | `omniwire_transfer_file` | Copy between nodes. Auto-selects SFTP/netcat/aria2c. |
392
- | `omniwire_deploy` | Deploy file from one node to all others in parallel. |
397
+ | `omniwire_find_files` | Glob search across nodes. |
398
+ | `omniwire_transfer_file` | Copy between nodes (auto SFTP/netcat/aria2c). |
399
+ | `omniwire_deploy` | Deploy one file to all nodes in parallel. |
400
+
401
+ </details>
393
402
 
394
- ### Monitoring (3)
403
+ <details>
404
+ <summary><b>Monitoring (3)</b></summary>
395
405
 
396
406
  | Tool | Description |
397
407
  |------|-------------|
398
- | `omniwire_mesh_status` | Health, latency, CPU/mem/disk for all nodes. Tabular output. |
399
- | `omniwire_node_info` | Detailed info for a specific node. |
408
+ | `omniwire_mesh_status` | Health, latency, CPU/mem/disk all nodes. |
409
+ | `omniwire_node_info` | Detailed info for one node. |
400
410
  | `omniwire_live_monitor` | Snapshot metrics: cpu, memory, disk, network. |
401
411
 
402
- ### System & DevOps (12)
412
+ </details>
413
+
414
+ <details>
415
+ <summary><b>System & DevOps (12)</b></summary>
403
416
 
404
417
  | Tool | Description |
405
418
  |------|-------------|
406
- | `omniwire_process_list` | List/filter processes across nodes |
407
- | `omniwire_disk_usage` | Disk usage for all nodes |
408
- | `omniwire_tail_log` | Last N lines of a log file |
409
- | `omniwire_install_package` | Install via apt/npm/pip |
410
- | `omniwire_service_control` | systemd start/stop/restart/status |
411
- | `omniwire_docker` | Docker commands on any node |
412
- | `omniwire_kernel` | dmesg, sysctl, modprobe, lsmod, strace, perf |
413
- | `omniwire_cron` | List/add/remove cron jobs |
414
- | `omniwire_env` | Get/set persistent environment variables |
415
- | `omniwire_network` | ping, traceroute, dns, ports, speed, connections |
416
- | `omniwire_git` | Git commands on repos on any node |
417
- | `omniwire_syslog` | Query journalctl with filters |
418
-
419
- ### Network, VPN & Security (9)
419
+ | `omniwire_process_list` | List/filter processes across nodes. |
420
+ | `omniwire_disk_usage` | Disk usage for all nodes. |
421
+ | `omniwire_tail_log` | Last N lines of a log file. |
422
+ | `omniwire_install_package` | Install via apt/npm/pip. |
423
+ | `omniwire_service_control` | systemd start/stop/restart/status. |
424
+ | `omniwire_docker` | Docker commands on any node. |
425
+ | `omniwire_kernel` | dmesg, sysctl, modprobe, lsmod, strace, perf. |
426
+ | `omniwire_cron` | List/add/remove cron jobs. |
427
+ | `omniwire_env` | Get/set persistent environment variables. |
428
+ | `omniwire_network` | ping, traceroute, dns, ports, speed, connections. |
429
+ | `omniwire_git` | Git commands on repos on any node. |
430
+ | `omniwire_syslog` | Query journalctl with filters. |
431
+
432
+ </details>
433
+
434
+ <details>
435
+ <summary><b>Network, VPN & Security (9)</b></summary>
420
436
 
421
437
  | Tool | Description |
422
438
  |------|-------------|
423
- | `omniwire_firewall` | nftables firewall engine. Presets (server/paranoid/pentest), rate-limit, geo-block, port-knock, ban/unban, audit. Mesh always whitelisted. |
424
- | `omniwire_vpn` | VPN (Mullvad/OpenVPN/WireGuard/Tailscale). Multi-hop, DAITA, quantum, obfuscation, killswitch. Mesh-safe. |
425
- | `omniwire_cookies` | Cookie management. JSON/Header/Netscape formats. Browser extract, CyberBase + 1Password sync. |
426
- | `omniwire_cdp` | Chrome DevTools Protocol. Launch headless Chrome, screenshot, PDF, DOM dump, cookie extract. |
427
- | `omniwire_proxy` | HTTP/SOCKS proxy management. Start/stop proxies on any node. |
428
- | `omniwire_dns` | DNS management. Resolve, set server, flush cache, block domains. |
429
- | `omniwire_port_forward` | Create/list/close SSH tunnels |
430
- | `omniwire_shell` | Persistent PTY session (preserves cwd/env) |
431
- | `omniwire_clipboard` | Shared clipboard buffer across mesh |
432
-
433
- ### Infrastructure (9)
439
+ | `omniwire_firewall` | nftables engine presets, rate-limit, geo-block, port-knock, ban/unban. Mesh whitelisted. |
440
+ | `omniwire_vpn` | Mullvad/OpenVPN/WireGuard/Tailscale — multi-hop, DAITA, quantum, killswitch. Mesh-safe. |
441
+ | `omniwire_cookies` | Cookie management JSON/Header/Netscape, browser extract, CyberBase + 1Password sync. |
442
+ | `omniwire_cdp` | Chrome DevTools Protocol headless Chrome, screenshot, PDF, DOM, cookies. |
443
+ | `omniwire_proxy` | HTTP/SOCKS proxy management on any node. |
444
+ | `omniwire_dns` | DNS resolve, set server, flush cache, block domains. |
445
+ | `omniwire_port_forward` | SSH tunnels — create/list/close/mesh-expose. |
446
+ | `omniwire_shell` | Persistent PTY session (preserves cwd/env). |
447
+ | `omniwire_clipboard` | Shared clipboard buffer across mesh. |
448
+
449
+ </details>
450
+
451
+ <details>
452
+ <summary><b>Infrastructure (9)</b></summary>
434
453
 
435
454
  | Tool | Description |
436
455
  |------|-------------|
437
- | `omniwire_backup` | Snapshot/restore paths on any node. Diff, cleanup, retention policies. |
438
- | `omniwire_container` | Full Docker lifecycle. Compose up/down, build, push, logs, prune, stats. |
439
- | `omniwire_cert` | TLS certificates. Let's Encrypt issue/renew, check expiry, self-signed generation. |
440
- | `omniwire_user` | User & SSH key management. Add/remove users, deploy keys, sudo config. |
441
- | `omniwire_schedule` | Distributed cron with failover. Add/remove/list/run-now scheduled tasks. |
442
- | `omniwire_alert` | Threshold alerting. Disk/mem/load/offline checks with webhook notifications. |
443
- | `omniwire_log_aggregate` | Cross-node log search. Grep journalctl/syslog across all nodes in parallel. |
444
- | `omniwire_benchmark` | Node performance testing. CPU/memory/disk/network benchmarks. |
445
- | `omniwire_stream` | Capture streaming output (tail -f, watch) |
446
-
447
- ### Agent Toolkit (7)
456
+ | `omniwire_backup` | Snapshot/restore paths. Diff, cleanup, retention. |
457
+ | `omniwire_container` | Docker lifecycle compose, build, push, logs, prune, stats. |
458
+ | `omniwire_cert` | TLS certs Let's Encrypt, check expiry, self-signed. |
459
+ | `omniwire_user` | User & SSH key management, sudo config. |
460
+ | `omniwire_schedule` | Distributed cron with failover. |
461
+ | `omniwire_alert` | Threshold alerting — disk/mem/load/offline + webhook notify. |
462
+ | `omniwire_log_aggregate` | Cross-node log search in parallel. |
463
+ | `omniwire_benchmark` | CPU/memory/disk/network benchmarks. |
464
+ | `omniwire_stream` | Capture streaming output (tail -f, watch). |
465
+
466
+ </details>
467
+
468
+ <details>
469
+ <summary><b>OmniMesh & Events (6)</b></summary>
448
470
 
449
471
  | Tool | Description |
450
472
  |------|-------------|
451
- | `omniwire_snippet` | Save/run reusable command templates with `{{var}}` substitution. |
452
- | `omniwire_alias` | In-session command shortcuts. Set/run aliases. |
453
- | `omniwire_trace` | Distributed tracing. Start/stop/view span waterfalls across nodes. |
454
- | `omniwire_doctor` | Health diagnostics. Checks SSH, disk, mem, docker, WireGuard, tools, CyberBase. |
455
- | `omniwire_metrics` | Prometheus-compatible metrics. Scrape/export node stats. |
456
- | `omniwire_audit` | Command audit log. View/search/stats on all executed commands. |
457
- | `omniwire_plugin` | Plugin system. List/load plugins from `~/.omniwire/plugins/`. |
458
- | `omniwire_omnimesh` | OmniMesh — built-in WireGuard mesh manager. Init/up/down/add-peer/sync-peers/health/rotate-keys/topology across all OS. |
459
- | `omniwire_mesh_expose` | Expose localhost-bound services to the entire mesh. Discover/expose/unexpose/expose-remote. |
460
- | `omniwire_mesh_gateway` | Auto-expose all localhost services mesh-wide. Sync/teardown/add-rule/remove-rule. |
461
- | `omniwire_events` | Event bus with Webhook + WebSocket + SSE. Publish events, manage webhooks, query log. |
462
- | `omniwire_knowledge` | CyberBase knowledge CRUD + text/semantic search + health + vacuum + bulk-set + export. |
463
-
464
- ### CyberSync (9)
473
+ | `omniwire_omnimesh` | WireGuard mesh manager init/up/down/add-peer/sync-peers/health/rotate-keys/topology. All OS. |
474
+ | `omniwire_mesh_expose` | Expose localhost services to mesh — discover/expose/unexpose/expose-remote. |
475
+ | `omniwire_mesh_gateway` | Auto-expose all localhost services mesh-wide. |
476
+ | `omniwire_events` | Webhook + WebSocket + SSE event bus. Publish, manage webhooks, query log. |
477
+ | `omniwire_knowledge` | CyberBase knowledge CRUD, text/semantic search, health, vacuum, bulk-set, export. |
478
+ | `omniwire_update` | Self-update from npm + GitHub. Auto-update, mesh-wide push. |
479
+
480
+ </details>
481
+
482
+ <details>
483
+ <summary><b>Agent Toolkit (7)</b></summary>
465
484
 
466
485
  | Tool | Description |
467
486
  |------|-------------|
468
- | `cybersync_status` | Sync status, item counts, pending syncs |
469
- | `cybersync_sync_now` | Trigger immediate reconciliation |
470
- | `cybersync_diff` | Show local vs database differences |
471
- | `cybersync_history` | Query sync event log |
472
- | `cybersync_search_knowledge` | Full-text search unified knowledge base |
473
- | `cybersync_get_memory` | Retrieve Claude memory from PostgreSQL |
474
- | `cybersync_manifest` | Show tracked files per tool |
475
- | `cybersync_force_push` | Force push file to all nodes |
476
- | `omniwire_secrets` | Get/set/delete/list/sync secrets (1Password, file, env) |
477
- | `omniwire_update` | Self-update OmniWire |
487
+ | `omniwire_snippet` | Reusable command templates with `{{var}}` substitution. |
488
+ | `omniwire_alias` | In-session command shortcuts. |
489
+ | `omniwire_trace` | Distributed tracing span waterfalls across nodes. |
490
+ | `omniwire_doctor` | Health diagnostics SSH, disk, mem, docker, WireGuard, CyberBase. |
491
+ | `omniwire_metrics` | Prometheus-compatible metrics scrape/export. |
492
+ | `omniwire_audit` | Command audit log view/search/stats. |
493
+ | `omniwire_plugin` | Plugin system list/load from `~/.omniwire/plugins/`. |
494
+
495
+ </details>
496
+
497
+ <details>
498
+ <summary><b>CyberSync (9)</b></summary>
499
+
500
+ | Tool | Description |
501
+ |------|-------------|
502
+ | `cybersync_status` | Sync status, item counts, pending syncs. |
503
+ | `cybersync_sync_now` | Trigger immediate reconciliation. |
504
+ | `cybersync_diff` | Local vs database differences. |
505
+ | `cybersync_history` | Sync event log. |
506
+ | `cybersync_search_knowledge` | Full-text search unified knowledge base. |
507
+ | `cybersync_get_memory` | Retrieve Claude memory from PostgreSQL. |
508
+ | `cybersync_manifest` | Tracked files per tool. |
509
+ | `cybersync_force_push` | Force push file to all nodes. |
510
+ | `omniwire_secrets` | Secrets management (1Password, file, env). |
511
+
512
+ </details>
478
513
 
479
514
  ---
480
515
 
@@ -482,7 +517,7 @@ watch(assert="ready") poll until
482
517
 
483
518
  | Operation | Latency | Optimization |
484
519
  |-----------|---------|-------------|
485
- | **Command exec** | **~81ms** | AES-128-GCM cipher, persistent SSH2, zero-fork `:` ping |
520
+ | **Command exec** | **~80ms** | AES-128-GCM cipher, persistent SSH2, zero-fork `:` ping |
486
521
  | **Mesh status** | **~100ms** | Parallel probes, 5s cache, single `/proc` read |
487
522
  | **File read (<1MB)** | **~60ms** | SFTP-first (skips `cat` fork) |
488
523
  | **Transfer (10MB)** | **~120ms** | LZ4 compression (10x faster than gzip) |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omniwire",
3
- "version": "3.1.0",
3
+ "version": "3.1.2",
4
4
  "description": "Infrastructure layer for AI agent swarms — 81 MCP tools · A2A · OmniMesh VPN · firewall · CDP · cookies · CyberBase · background dispatch",
5
5
  "license": "GPL-3.0-only",
6
6
  "type": "module",