omniwire 3.2.0 → 3.2.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/.omc/state/hud-state.json +6 -0
- package/.omc/state/hud-stdin-cache.json +1 -0
- package/.omniwire-state/update-state.json +1 -1
- package/README.md +7 -5
- package/dist/mcp/index.js +1 -1
- package/dist/mcp/server.js +4 -4
- package/dist/mcp/server.js.map +1 -1
- package/dist/mcp/sync-tools.js +299 -1
- package/dist/mcp/sync-tools.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +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":5.113285649999999,"total_duration_ms":1663275,"total_api_duration_ms":659204,"total_lines_added":42,"total_lines_removed":27},"context_window":{"total_input_tokens":801,"total_output_tokens":23773,"context_window_size":1000000,"current_usage":{"input_tokens":1,"output_tokens":170,"cache_creation_input_tokens":354,"cache_read_input_tokens":103104},"used_percentage":10,"remaining_percentage":90},"exceeds_200k_tokens":false,"rate_limits":{"five_hour":{"used_percentage":35,"resets_at":1774828800},"seven_day":{"used_percentage":41,"resets_at":1775206800}}}
|
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
<p align="center">
|
|
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
|
-
<img src="https://img.shields.io/badge/MCP_Tools-
|
|
11
|
+
<img src="https://img.shields.io/badge/MCP_Tools-86-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
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" />
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
**The infrastructure layer for AI agent swarms.**
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
86 MCP tools · A2A protocol · OmniMesh VPN · nftables firewall · CDP browser · cookie sync · 2FA TOTP · bi-directional sync · CyberBase persistence
|
|
23
23
|
|
|
24
24
|
</div>
|
|
25
25
|
|
|
@@ -214,7 +214,7 @@ graph TB
|
|
|
214
214
|
direction TB
|
|
215
215
|
MCP["MCP Protocol Layer<br/>stdio | SSE | REST"]
|
|
216
216
|
|
|
217
|
-
subgraph tools["
|
|
217
|
+
subgraph tools["86 Tools"]
|
|
218
218
|
direction LR
|
|
219
219
|
EXEC["Execution<br/>exec run batch<br/>broadcast pipeline bg"]
|
|
220
220
|
AGENT["Agentic<br/>store watch task<br/>a2a events locks"]
|
|
@@ -632,7 +632,7 @@ Create `~/.omniwire/mesh.json`:
|
|
|
632
632
|
<details>
|
|
633
633
|
<summary><b>v2.5.1 -- Universal Background Dispatch</b></summary>
|
|
634
634
|
|
|
635
|
-
**`background: true`** auto-injected into all
|
|
635
|
+
**`background: true`** auto-injected into all 86 tools via server-level wrapper. Returns task ID, poll with `omniwire_bg`. New `omniwire_bg` tool for list/poll/result.
|
|
636
636
|
|
|
637
637
|
</details>
|
|
638
638
|
|
|
@@ -671,7 +671,7 @@ Security fixes, multi-path SSH failover, CyberBase integration, VaultBridge Obsi
|
|
|
671
671
|
```
|
|
672
672
|
omniwire/
|
|
673
673
|
src/
|
|
674
|
-
mcp/ MCP server (
|
|
674
|
+
mcp/ MCP server (86 tools, 3 transports)
|
|
675
675
|
nodes/ SSH2 pool, transfer engine, PTY, tunnels
|
|
676
676
|
sync/ CyberSync + CyberBase (PostgreSQL, Obsidian, encryption)
|
|
677
677
|
protocol/ Mesh config, types, path parsing
|
|
@@ -687,6 +687,8 @@ omniwire/
|
|
|
687
687
|
|
|
688
688
|
| Version | Date | Changes |
|
|
689
689
|
|---------|------|---------|
|
|
690
|
+
| **v3.2.2** | 2026-03-30 | Fix: sync GitHub/npm metadata — badge, description, mermaid diagram all reflect 86 tools |
|
|
691
|
+
| **v3.2.1** | 2026-03-30 | New: 5 bi-directional sync tools (`omniwire_sync`, `omniwire_sync_rules`, `omniwire_sync_hooks`, `omniwire_sync_memory`, `omniwire_sync_agents`) — 86 tools total |
|
|
690
692
|
| **v3.2.0** | 2026-03-29 | New: `omniwire_2fa` TOTP manager — add/generate/verify/import/export 2FA codes, CyberBase + 1Password persistence, otpauth:// URI import, bulk code generation |
|
|
691
693
|
| **v3.1.5** | 2026-03-29 | Fix: skip auto-audit batch entries from Obsidian vault + Canvas sync to prevent junk files |
|
|
692
694
|
| **v3.1.4** | 2026-03-29 | Auto-sync CyberBase writes to Obsidian vault + Canvas mindmap, collision-avoidance grid placement, `sync-obsidian` / `sync-canvas` actions in knowledge tool |
|
package/dist/mcp/index.js
CHANGED
|
@@ -61,7 +61,7 @@ async function main() {
|
|
|
61
61
|
const manifests = getManifests(os);
|
|
62
62
|
const engine = new SyncEngine(syncDb, config, manager, transfer);
|
|
63
63
|
registerSyncTools(server, syncDb, engine, manifests, nodeId, manager, transfer);
|
|
64
|
-
log('CyberSync:
|
|
64
|
+
log('CyberSync: 17 tools registered', { tools: 17, node: nodeId });
|
|
65
65
|
}
|
|
66
66
|
catch (err) {
|
|
67
67
|
log(`CyberSync init failed (continuing without sync): ${err.message}`, { error: err.message });
|
package/dist/mcp/server.js
CHANGED
|
@@ -15,7 +15,7 @@ import { openBrowser } from '../commands/browser.js';
|
|
|
15
15
|
import { allNodes, remoteNodes, findNode, NODE_ROLES, getDefaultNodeForTask, CONFIG } from '../protocol/config.js';
|
|
16
16
|
import { parseMeshPath } from '../protocol/paths.js';
|
|
17
17
|
import { genKeysCmd, parseKeys, buildWgConfig, wgConfigPath, bringUpCmd, bringDownCmd, statusCmd as meshStatusCmd, parseWgShow, addPeerCmd, removePeerCmd, installCmd, checkInstalledCmd, natTraversalPostUp, natTraversalPostDown, rotateKeyCmd, healthCheckCmd, stunDiscoverCmd, generateMeshTopology, } from '../mesh/omnimesh.js';
|
|
18
|
-
const MAX_OUTPUT =
|
|
18
|
+
const MAX_OUTPUT = 16000;
|
|
19
19
|
function t(ms) {
|
|
20
20
|
return ms < 1000 ? `${ms}ms` : `${(ms / 1000).toFixed(1)}s`;
|
|
21
21
|
}
|
|
@@ -33,9 +33,9 @@ function trim(s) {
|
|
|
33
33
|
}
|
|
34
34
|
// Detect table-like output — show header + tail
|
|
35
35
|
const lines = s.split('\n');
|
|
36
|
-
if (lines.length >
|
|
37
|
-
const header = lines.slice(0,
|
|
38
|
-
const lastLines = lines.slice(-
|
|
36
|
+
if (lines.length > 200) {
|
|
37
|
+
const header = lines.slice(0, 5).join('\n');
|
|
38
|
+
const lastLines = lines.slice(-10).join('\n');
|
|
39
39
|
return header + '\n...\n' + lastLines + `\n(${lines.length} lines total)`;
|
|
40
40
|
}
|
|
41
41
|
return s.slice(0, MAX_OUTPUT) + '\n...(truncated)';
|