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.
- package/README.md +129 -94
- 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-~
|
|
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,
|
|
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`
|
|
353
|
+
> **Every tool** supports `background: true` — returns a task ID immediately. Poll with `omniwire_bg`.
|
|
354
354
|
|
|
355
|
-
|
|
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
|
|
360
|
-
| `omniwire_run` |
|
|
361
|
-
| `omniwire_batch` | N commands in 1 call. Chaining
|
|
362
|
-
| `omniwire_broadcast` | Execute on all nodes simultaneously.
|
|
363
|
-
| `omniwire_pipeline` | Multi-step DAG
|
|
364
|
-
| `omniwire_bg` | List
|
|
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
|
-
|
|
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
|
|
371
|
-
| `omniwire_watch` | Poll
|
|
372
|
-
| `omniwire_healthcheck` | Parallel health probe
|
|
373
|
-
| `omniwire_agent_task` |
|
|
374
|
-
| `omniwire_a2a_message` | Agent-to-agent message queues
|
|
375
|
-
| `omniwire_semaphore` | Distributed locking
|
|
376
|
-
| `omniwire_event` | Pub/sub events
|
|
377
|
-
| `omniwire_workflow` |
|
|
378
|
-
| `omniwire_agent_registry` |
|
|
379
|
-
| `omniwire_blackboard` | Shared blackboard for
|
|
380
|
-
| `omniwire_task_queue` | Distributed
|
|
381
|
-
| `omniwire_capability` | Query node capabilities
|
|
382
|
-
|
|
383
|
-
|
|
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
|
|
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
|
|
391
|
-
| `omniwire_transfer_file` | Copy between nodes
|
|
392
|
-
| `omniwire_deploy` | Deploy
|
|
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
|
-
|
|
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
|
|
399
|
-
| `omniwire_node_info` | Detailed info for
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
424
|
-
| `omniwire_vpn` |
|
|
425
|
-
| `omniwire_cookies` | Cookie management
|
|
426
|
-
| `omniwire_cdp` | Chrome DevTools Protocol
|
|
427
|
-
| `omniwire_proxy` | HTTP/SOCKS proxy management
|
|
428
|
-
| `omniwire_dns` | DNS
|
|
429
|
-
| `omniwire_port_forward` |
|
|
430
|
-
| `omniwire_shell` | Persistent PTY session (preserves cwd/env) |
|
|
431
|
-
| `omniwire_clipboard` | Shared clipboard buffer across mesh |
|
|
432
|
-
|
|
433
|
-
|
|
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
|
|
438
|
-
| `omniwire_container` |
|
|
439
|
-
| `omniwire_cert` | TLS
|
|
440
|
-
| `omniwire_user` | User & SSH key management
|
|
441
|
-
| `omniwire_schedule` | Distributed cron with failover.
|
|
442
|
-
| `omniwire_alert` | Threshold alerting
|
|
443
|
-
| `omniwire_log_aggregate` | Cross-node log search
|
|
444
|
-
| `omniwire_benchmark` |
|
|
445
|
-
| `omniwire_stream` | Capture streaming output (tail -f, watch) |
|
|
446
|
-
|
|
447
|
-
|
|
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
|
-
| `
|
|
452
|
-
| `
|
|
453
|
-
| `
|
|
454
|
-
| `
|
|
455
|
-
| `
|
|
456
|
-
| `
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
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
|
-
| `
|
|
469
|
-
| `
|
|
470
|
-
| `
|
|
471
|
-
| `
|
|
472
|
-
| `
|
|
473
|
-
| `
|
|
474
|
-
| `
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
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** | **~
|
|
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.
|
|
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",
|