omniwire 3.4.0 → 3.5.0

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.
@@ -0,0 +1,3 @@
1
+ {"t":0,"agent":"a98481a","agent_type":"executor","event":"agent_stop","success":true}
2
+ {"t":0,"agent":"a406c4b","agent_type":"executor","event":"agent_stop","success":true}
3
+ {"t":0,"agent":"af2c636","agent_type":"executor","event":"agent_stop","success":true}
@@ -1,6 +1,6 @@
1
1
  {
2
- "timestamp": "2026-03-29T23:41:14.883Z",
2
+ "timestamp": "2026-03-30T01:25:32.860Z",
3
3
  "backgroundTasks": [],
4
- "sessionStartTimestamp": "2026-03-29T23:21:14.012Z",
5
- "sessionId": "8ef02123-7368-447d-82e3-ee14a27328b0"
4
+ "sessionStartTimestamp": "2026-03-30T01:09:39.072Z",
5
+ "sessionId": "834b010e-b80d-4721-b297-777fbd0099c1"
6
6
  }
@@ -1 +1 @@
1
- {"session_id":"8ef02123-7368-447d-82e3-ee14a27328b0","transcript_path":"C:\\Users\\Admin\\.claude\\projects\\C--Users-Admin\\8ef02123-7368-447d-82e3-ee14a27328b0.jsonl","cwd":"C:\\Users\\Admin\\omniwire","model":{"id":"claude-opus-4-6[1m]","display_name":"Opus 4.6 (1M context)"},"workspace":{"current_dir":"C:\\Users\\Admin\\omniwire","project_dir":"C:\\Users\\Admin","added_dirs":["C:/Users/Admin"]},"version":"2.1.87","output_style":{"name":"default"},"cost":{"total_cost_usd":17.91894630000001,"total_duration_ms":3140566,"total_api_duration_ms":2378114,"total_lines_added":474,"total_lines_removed":126},"context_window":{"total_input_tokens":180562,"total_output_tokens":100001,"context_window_size":1000000,"current_usage":{"input_tokens":1,"output_tokens":359,"cache_creation_input_tokens":356,"cache_read_input_tokens":184970},"used_percentage":19,"remaining_percentage":81},"exceeds_200k_tokens":false,"rate_limits":{"five_hour":{"used_percentage":2,"resets_at":1774846800},"seven_day":{"used_percentage":41,"resets_at":1775206800}}}
1
+ {"session_id":"834b010e-b80d-4721-b297-777fbd0099c1","transcript_path":"C:\\Users\\Admin\\.claude\\projects\\C--Users-Admin\\834b010e-b80d-4721-b297-777fbd0099c1.jsonl","cwd":"C:\\Users\\Admin\\omniwire","model":{"id":"claude-opus-4-6[1m]","display_name":"Opus 4.6 (1M context)"},"workspace":{"current_dir":"C:\\Users\\Admin\\omniwire","project_dir":"C:\\Users\\Admin","added_dirs":["C:/Users/Admin"]},"version":"2.1.87","output_style":{"name":"default"},"cost":{"total_cost_usd":11.639808499999997,"total_duration_ms":1434832,"total_api_duration_ms":2352118,"total_lines_added":863,"total_lines_removed":209},"context_window":{"total_input_tokens":916983,"total_output_tokens":125069,"context_window_size":1000000,"current_usage":{"input_tokens":3,"output_tokens":108,"cache_creation_input_tokens":472,"cache_read_input_tokens":143821},"used_percentage":14,"remaining_percentage":86},"exceeds_200k_tokens":false,"rate_limits":{"five_hour":{"used_percentage":21,"resets_at":1774846800},"seven_day":{"used_percentage":44,"resets_at":1775206800}}}
@@ -0,0 +1,7 @@
1
+ {
2
+ "tool_name": "Bash",
3
+ "tool_input_preview": "{\"command\":\"git add README.md package.json clawhub-skill/SKILL.md integrations/openclaw/SKILL.md integrations/paperclip/SKILL.md integrations/paperclip/README.md integrations/oh-my-openagent/SKILL.md ...",
4
+ "error": "Exit code 1\nwarning: in the working copy of 'README.md', LF will be replaced by CRLF the next time Git touches it\nwarning: in the working copy of 'clawhub-skill/SKILL.md', LF will be replaced by CRLF the next time Git touches it\nwarning: in the working copy of 'package.json', LF will be replaced by CRLF the next time Git touches it\nThe following paths are ignored by one of your .gitignore files:\nintegrations\nhint: Use -f if you really want to add them.\nhint: Disable this message with \"git config...",
5
+ "timestamp": "2026-03-30T01:27:44.180Z",
6
+ "retry_count": 1
7
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "agents": [],
3
+ "total_spawned": 0,
4
+ "total_completed": 0,
5
+ "total_failed": 0,
6
+ "last_updated": "2026-03-30T01:27:14.522Z"
7
+ }
@@ -1,5 +1,5 @@
1
1
  {
2
- "lastCheck": 1774829196137,
2
+ "lastCheck": 1774830769414,
3
3
  "lastVersion": "3.0.1",
4
4
  "autoUpdateEnabled": true,
5
5
  "source": "auto",
package/README.md CHANGED
@@ -259,6 +259,72 @@ graph TB
259
259
 
260
260
  ---
261
261
 
262
+ ## Agent Setup Instructions
263
+
264
+ ### OpenClaw
265
+
266
+ OmniWire is available as a [ClawhHub skill](https://clawhub.ai/voidchecksum/omniwire):
267
+
268
+ ```bash
269
+ # Install via ClawhHub CLI
270
+ clawhub install omniwire
271
+
272
+ # Or manual: copy integrations/openclaw/SKILL.md to your OpenClaw skills directory
273
+ cp integrations/openclaw/SKILL.md ~/.openclaw/skills/omniwire.md
274
+ ```
275
+
276
+ CyberSync automatically ingests OpenClaw agents, skills, memory, and workspace into CyberBase PostgreSQL.
277
+
278
+ ### PaperClip
279
+
280
+ Register OmniWire as a zero-cost infrastructure agent:
281
+
282
+ ```json
283
+ {
284
+ "agents": [{
285
+ "name": "omniwire",
286
+ "type": "local-cli",
287
+ "command": "omniwire --stdio",
288
+ "skills": ["mesh-exec", "file-transfer", "service-control", "docker", "vpn", "scraping", "firewall"],
289
+ "budget": { "monthly_usd": 0 }
290
+ }]
291
+ }
292
+ ```
293
+
294
+ See `integrations/paperclip/` for the full adapter and skill definition.
295
+
296
+ ### Claude Code
297
+
298
+ ```json
299
+ {
300
+ "mcpServers": {
301
+ "omniwire": {
302
+ "command": "omniwire",
303
+ "args": ["--stdio"]
304
+ }
305
+ }
306
+ }
307
+ ```
308
+
309
+ ### OpenCode / Oh-My-OpenAgent
310
+
311
+ ```json
312
+ {
313
+ "mcp": {
314
+ "omniwire": {
315
+ "type": "local",
316
+ "command": ["omniwire", "--stdio"]
317
+ }
318
+ }
319
+ }
320
+ ```
321
+
322
+ ### Codex / Gemini
323
+
324
+ CyberSync automatically syncs OmniWire config to Codex and Gemini environments.
325
+
326
+ ---
327
+
262
328
  ## Key Capabilities
263
329
 
264
330
  <table>
@@ -590,6 +656,139 @@ Create `~/.omniwire/mesh.json`:
590
656
 
591
657
  ---
592
658
 
659
+ ## Agentic Installation / Setup
660
+
661
+ > For adding a new node to your OmniWire mesh — what to have ready, how to wire it in, and how to connect it to Claude Code.
662
+
663
+ ### Prerequisites
664
+
665
+ | Requirement | Notes |
666
+ |-------------|-------|
667
+ | **Node.js >= 20** | `node -v` to verify |
668
+ | **npm >= 9** | Comes with Node.js 20+ |
669
+ | **WireGuard** | `wg` CLI + kernel module (Linux: `apt install wireguard`, macOS: Homebrew, Windows: GUI installer) |
670
+ | **SSH key pair** | Ed25519 recommended — `ssh-keygen -t ed25519 -f ~/.ssh/id_omniwire` |
671
+ | **SSH access to nodes** | Key deployed to `~/.ssh/authorized_keys` on every remote node |
672
+ | **1Password CLI** | `op` v2+, signed in — required for `omniwire_secrets` and cookie sync to vault |
673
+ | **PostgreSQL (optional)** | Required only for CyberSync / CyberBase persistence — Contabo hosts it at `10.10.0.1:5432` |
674
+
675
+ ### Install OmniWire
676
+
677
+ ```bash
678
+ npm install -g omniwire
679
+ omniwire --version # verify
680
+ ```
681
+
682
+ ### Add a New Node
683
+
684
+ **1. Generate WireGuard keypair on the new node:**
685
+ ```bash
686
+ wg genkey | tee /etc/wireguard/node_private.key | wg pubkey > /etc/wireguard/node_pub.key
687
+ cat /etc/wireguard/node_pub.key
688
+ ```
689
+
690
+ **2. Assign it a mesh IP** (next available in `10.10.0.0/24`):
691
+
692
+ | Node | Mesh IP | Role |
693
+ |------|---------|------|
694
+ | Contabo (hub) | `10.10.0.1` | storage, CyberBase |
695
+ | Hostinger | `10.10.0.2` | compute |
696
+ | Windows PC | `10.10.0.3` | local dev |
697
+ | ThinkPad | `10.10.0.4` | local dev |
698
+ | _new node_ | `10.10.0.N` | assign next |
699
+
700
+ **3. Register the node with OmniMesh** (run from any node already in the mesh):
701
+ ```bash
702
+ omniwire_omnimesh(action="add-peer",
703
+ id="newnode",
704
+ public_key="<pubkey from step 1>",
705
+ allowed_ips="10.10.0.N/32",
706
+ endpoint="<public IP or DNS>:51820"
707
+ )
708
+ ```
709
+
710
+ **4. Push updated peer list to all nodes:**
711
+ ```bash
712
+ omniwire_omnimesh(action="sync-peers")
713
+ ```
714
+
715
+ **5. Bring the interface up on the new node:**
716
+ ```bash
717
+ wg-quick up wg0
718
+ ping 10.10.0.1 # verify hub reachability
719
+ ```
720
+
721
+ ### Configure OmniWire on the New Node
722
+
723
+ Add the node to `~/.omniwire/mesh.json` (create if absent):
724
+
725
+ ```json
726
+ {
727
+ "nodes": [
728
+ { "id": "contabo", "host": "10.10.0.1", "user": "root", "identityFile": "~/.ssh/id_omniwire", "role": "storage" },
729
+ { "id": "hostinger", "host": "10.10.0.2", "user": "root", "identityFile": "~/.ssh/id_omniwire", "role": "compute" },
730
+ { "id": "windows", "host": "10.10.0.3", "user": "Admin", "identityFile": "~/.ssh/id_omniwire", "role": "local" },
731
+ { "id": "thinkpad", "host": "10.10.0.4", "user": "user", "identityFile": "~/.ssh/id_omniwire", "role": "local" }
732
+ ]
733
+ }
734
+ ```
735
+
736
+ Verify connectivity:
737
+ ```bash
738
+ omniwire_mesh_status # should show all nodes green
739
+ omniwire_doctor # checks SSH, disk, mem, WireGuard, CyberBase
740
+ ```
741
+
742
+ ### Connect Claude Code via MCP
743
+
744
+ Add to `~/.claude/claude_desktop_config.json` (or your IDE's MCP config):
745
+
746
+ ```json
747
+ {
748
+ "mcpServers": {
749
+ "omniwire": { "command": "omniwire", "args": ["--stdio"] }
750
+ }
751
+ }
752
+ ```
753
+
754
+ Restart Claude Code. Verify in a new session:
755
+ ```
756
+ omniwire_mesh_status() # 88 tools should be available
757
+ ```
758
+
759
+ ### Environment Variables
760
+
761
+ | Variable | Required | Description |
762
+ |----------|----------|-------------|
763
+ | `OP_SERVICE_ACCOUNT_TOKEN` | For 1Password sync | Service account token from 1Password |
764
+ | `OMNIWIRE_VAULT_ROOT` | Optional | Path to Obsidian vault root (default: CyberBase vault) |
765
+ | `CYBERSYNC_DB_URL` | Optional | PostgreSQL DSN — defaults to `postgresql://cyberbase@10.10.0.1:5432/cyberbase` |
766
+ | `OMNIWIRE_MESH_CONFIG` | Optional | Override mesh.json path |
767
+
768
+ Set persistently on a node:
769
+ ```bash
770
+ omniwire_env(action="set", key="OP_SERVICE_ACCOUNT_TOKEN", value="<token>", node="contabo", persist=true)
771
+ ```
772
+
773
+ ### CyberSync Auto-Distribution
774
+
775
+ CyberSync pushes configs, secrets, and memories to all nodes automatically via PostgreSQL.
776
+
777
+ ```bash
778
+ # Check what's tracked
779
+ omniwire_coc(action="cybersync-status")
780
+
781
+ # Force push current config to all nodes
782
+ omniwire_coc(action="force-sync")
783
+
784
+ # Diff local state vs database
785
+ cybersync_diff()
786
+ ```
787
+
788
+ On first run, CyberSync pulls node configs, 2FA seeds, and Claude memories from CyberBase — no manual copy-paste between machines.
789
+
790
+ ---
791
+
593
792
  ## Changelog
594
793
 
595
794
  <details>
@@ -687,7 +886,9 @@ omniwire/
687
886
 
688
887
  | Version | Date | Changes |
689
888
  |---------|------|---------|
690
- | **v3.4.0** | 2026-03-30 | Rewrite: `omniwire_scrape` OmniMesh-routed Scrapling with auto-install, VPN routing, adaptive selectors, XPath, bulk sessions. install/status actions. Full README audit (88 tools everywhere). |
889
+ | **v3.5.0** | 2026-03-30 | Full OpenClaw + PaperClip integration. ClawhHub skill updated (v2.1.0→v3.5.0, 30→88 tools). Agent setup instructions for OpenClaw, PaperClip, Oh-My-OpenAgent. Updated all integration manifests. New: `integrations/paperclip/SKILL.md`, `integrations/paperclip/README.md`. |
890
+ | **v3.4.1** | 2026-03-30 | Cross-OS: `omniwire_scrape` install works on Linux (systemd), macOS (launchd), Windows, Docker (nohup). Auto-upgrades deps + browsers. Python/pip path detection. |
891
+ | **v3.4.0** | 2026-03-30 | Rewrite: `omniwire_scrape` — OmniMesh-routed Scrapling with auto-install, VPN routing, adaptive selectors, XPath, bulk sessions. install/status actions. Full README audit (88 tools). |
691
892
  | **v3.3.1** | 2026-03-30 | New: `omniwire_scrape` tool — Scrapling-powered web scraping (static/browser/stealth modes, Cloudflare bypass, TLS spoofing). |
692
893
  | **v3.3.0** | 2026-03-30 | New: `omniwire_coc` tool — unified CyberBase + Obsidian + Canvas sync. Auto-creates vault + canvas. `mirror-db` exports entire DB as .md. Configurable vault via `OMNIWIRE_VAULT_ROOT` env. |
693
894
  | **v3.2.2** | 2026-03-30 | Fix: sync GitHub/npm metadata — badge, description, mermaid diagram all reflect 86 tools |