spidersan 0.3.0 → 0.4.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.
Files changed (67) hide show
  1. package/CHANGELOG.md +25 -10
  2. package/LICENSE.md +3 -77
  3. package/README.md +49 -76
  4. package/dist/bin/spidersan.d.ts.map +1 -1
  5. package/dist/bin/spidersan.js +16 -93
  6. package/dist/bin/spidersan.js.map +1 -1
  7. package/dist/commands/demo.d.ts.map +1 -1
  8. package/dist/commands/demo.js +24 -19
  9. package/dist/commands/demo.js.map +1 -1
  10. package/dist/commands/doctor.d.ts.map +1 -1
  11. package/dist/commands/doctor.js +0 -8
  12. package/dist/commands/doctor.js.map +1 -1
  13. package/dist/commands/ecosystem-loader.d.ts +14 -0
  14. package/dist/commands/ecosystem-loader.d.ts.map +1 -0
  15. package/dist/commands/ecosystem-loader.js +78 -0
  16. package/dist/commands/ecosystem-loader.js.map +1 -0
  17. package/dist/commands/inbox.d.ts.map +1 -1
  18. package/dist/commands/inbox.js +81 -27
  19. package/dist/commands/inbox.js.map +1 -1
  20. package/dist/commands/index.d.ts +2 -32
  21. package/dist/commands/index.d.ts.map +1 -1
  22. package/dist/commands/index.js +2 -52
  23. package/dist/commands/index.js.map +1 -1
  24. package/dist/commands/msg-read.d.ts.map +1 -1
  25. package/dist/commands/msg-read.js +59 -34
  26. package/dist/commands/msg-read.js.map +1 -1
  27. package/dist/commands/register.d.ts.map +1 -1
  28. package/dist/commands/register.js +0 -6
  29. package/dist/commands/register.js.map +1 -1
  30. package/dist/commands/semantic.d.ts.map +1 -1
  31. package/dist/commands/semantic.js.map +1 -1
  32. package/dist/commands/send.d.ts.map +1 -1
  33. package/dist/commands/send.js +53 -66
  34. package/dist/commands/send.js.map +1 -1
  35. package/dist/commands/welcome.d.ts +3 -0
  36. package/dist/commands/welcome.d.ts.map +1 -0
  37. package/dist/commands/welcome.js +92 -0
  38. package/dist/commands/welcome.js.map +1 -0
  39. package/dist/index.d.ts +5 -0
  40. package/dist/index.d.ts.map +1 -1
  41. package/dist/index.js +5 -0
  42. package/dist/index.js.map +1 -1
  43. package/dist/storage/git-messages.d.ts +53 -0
  44. package/dist/storage/git-messages.d.ts.map +1 -0
  45. package/dist/storage/git-messages.js +372 -0
  46. package/dist/storage/git-messages.js.map +1 -0
  47. package/dist/storage/index.d.ts +5 -0
  48. package/dist/storage/index.d.ts.map +1 -1
  49. package/dist/storage/index.js +7 -0
  50. package/dist/storage/index.js.map +1 -1
  51. package/dist/storage/local-messages.d.ts +37 -0
  52. package/dist/storage/local-messages.d.ts.map +1 -0
  53. package/dist/storage/local-messages.js +151 -0
  54. package/dist/storage/local-messages.js.map +1 -0
  55. package/dist/storage/message-adapter.d.ts +86 -0
  56. package/dist/storage/message-adapter.d.ts.map +1 -0
  57. package/dist/storage/message-adapter.js +28 -0
  58. package/dist/storage/message-adapter.js.map +1 -0
  59. package/dist/storage/message-factory.d.ts +36 -0
  60. package/dist/storage/message-factory.d.ts.map +1 -0
  61. package/dist/storage/message-factory.js +99 -0
  62. package/dist/storage/message-factory.js.map +1 -0
  63. package/dist/storage/mycmail-adapter.d.ts +38 -0
  64. package/dist/storage/mycmail-adapter.d.ts.map +1 -0
  65. package/dist/storage/mycmail-adapter.js +297 -0
  66. package/dist/storage/mycmail-adapter.js.map +1 -0
  67. package/package.json +3 -2
package/CHANGELOG.md CHANGED
@@ -11,6 +11,31 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
11
11
 
12
12
  ## [Unreleased]
13
13
 
14
+ ## [0.4.0] - 2026-01-26 (Core Release)
15
+
16
+ This release consolidates Spidersan into a focused, professional 15-command core with an optional ecosystem plugin for advanced features.
17
+
18
+ ### Added
19
+ - **Plugin Architecture** - Optional ecosystem commands loaded at runtime via `ecosystem-loader.ts`
20
+ - **Version Mismatch Detection** - Warns if ecosystem plugin is incompatible with core version
21
+ - **Type Stubs** - Support for optional ecosystem module without installation
22
+ - **Ecosystem Package** - Separate `spidersan-ecosystem` package for advanced features (locking, intent scanning, real-time monitoring, torrenting, messaging, security audit)
23
+
24
+ ### Changed
25
+ - **Core Streamlined** - Reduced from 47 commands to 15 essential commands
26
+ - **Documentation Split** - Public CORE.md (15 commands) vs. advanced ECOSYSTEM.md (16 commands)
27
+ - **CLI Messaging** - Removed Pro/BSL licensing references; MIT-only across all packages
28
+ - **README Refocused** - Emphasizes core use cases (coordination, conflict resolution)
29
+ - **USAGE Examples** - Updated to match 15-command core; ecosystem features documented separately
30
+
31
+ ### Removed
32
+ - **16 Ecosystem Commands** - Moved to optional `spidersan-ecosystem` plugin: lock, semantic, torrent, monitor, intent-scan, active-windows, radar, collab, collab-sync, sync-all, tension, audit-mark, send, inbox, msg-read, keygen
33
+ - **Pro Licensing** - Consolidated to MIT-only model
34
+
35
+ ### Fixed
36
+ - **Abandon Command Name** - Consistency across CORE.md and CLI help
37
+ - **Register Examples** - Now reflect actual core command behavior
38
+
14
39
  ## [0.3.0] - 2026-01-25 (Feature Release)
15
40
 
16
41
  This release focuses on advanced coordination infrastructure, forensic analysis, and offline-first reliability.
@@ -82,22 +107,12 @@ This release addresses several critical security vulnerabilities. Users are stro
82
107
  ## [0.2.0] - 2025-12-23
83
108
 
84
109
  ### Added
85
- - **Pro license system** - Ed25519-based cryptographic licensing
86
- - `spidersan activate <key>` - Activate Pro license
87
- - `spidersan status` - Check license and branch status
88
- - 5-branch limit for free tier
89
- - Unlimited branches for Pro users
90
110
  - **MCP Server** - Model Context Protocol integration for Claude Desktop
91
111
  - 7 tools: list_branches, check_conflicts, get_merge_order, register_branch, mark_merged, mark_abandoned, get_branch_info
92
- - Pro license required
93
112
  - Global storage at `~/.spidersan/registry.json`
94
113
  - **Update check notifications** - CLI checks npm for newer versions
95
114
  - Shows banner when update available
96
115
  - 24-hour cache, non-blocking
97
- - **Pro READMEs** - Updated docs with pricing ($9/mo) and features
98
- - Free vs Pro comparison table
99
- - Feedback & support section
100
- - Contact: treebird7@proton.me
101
116
 
102
117
  ### Changed
103
118
  - MCP server uses global storage (works without git context)
package/LICENSE.md CHANGED
@@ -4,82 +4,8 @@ tags: [agent/spidersan, topic/mcp]
4
4
 
5
5
  # Spidersan Licensing
6
6
 
7
- ## Open Core + Business Source License
7
+ Spidersan is licensed under the MIT License.
8
8
 
9
- Spidersan uses a dual licensing model:
9
+ See the canonical license text in [`LICENSE`](LICENSE).
10
10
 
11
- ---
12
-
13
- ## Core CLI (MIT License)
14
-
15
- The following features are available under the MIT License:
16
-
17
- - `spidersan list` - List all registered branches
18
- - `spidersan register` - Register a branch with the coordinator
19
- - `spidersan conflicts` - Show file conflicts between branches
20
- - `spidersan merge-order` - Get optimal merge order
21
- - `spidersan ready-check` - Verify branch is ready to merge
22
-
23
- ```
24
- MIT License
25
-
26
- Copyright (c) 2025 treebird7
27
-
28
- Permission is hereby granted, free of charge, to any person obtaining a copy
29
- of this software and associated documentation files (the "Software"), to deal
30
- in the Software without restriction, including without limitation the rights
31
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
32
- copies of the Software, and to permit persons to whom the Software is
33
- furnished to do so, subject to the following conditions:
34
-
35
- The above copyright notice and this permission notice shall be included in all
36
- copies or substantial portions of the Software.
37
-
38
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
39
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
40
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
41
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
42
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
43
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
44
- SOFTWARE.
45
- ```
46
-
47
- ---
48
-
49
- ## Pro Features (Business Source License 1.1)
50
-
51
- The following features are licensed under BSL 1.1:
52
-
53
- - **Unlimited Branches** - No limit on concurrent registered branches
54
- - **Conflict Prediction** - Proactive conflict detection before they occur
55
- - **MCP Server** - Model Context Protocol server for AI agent integration
56
-
57
- ### Business Source License 1.1
58
-
59
- **Licensor:** treebird7
60
-
61
- **Licensed Work:** Spidersan Pro Features
62
- The Licensed Work is (c) 2025 treebird7
63
-
64
- **Additional Use Grant:** You may use the Licensed Work for non-production purposes, including development, testing, and evaluation.
65
-
66
- **Change Date:** Four years from the date the Licensed Work is published.
67
-
68
- **Change License:** MIT License
69
-
70
- For production use of Pro Features, please contact us for a commercial license.
71
-
72
- ---
73
-
74
- ## Summary
75
-
76
- | Feature | License | Status |
77
- |---------|---------|--------|
78
- | `list` | MIT | ✅ Free |
79
- | `register` | MIT | ✅ Free |
80
- | `conflicts` | MIT | ✅ Free |
81
- | `merge-order` | MIT | ✅ Free |
82
- | `ready-check` | MIT | ✅ Free |
83
- | Unlimited Branches | BSL 1.1 | 💎 Pro |
84
- | Conflict Prediction | BSL 1.1 | 💎 Pro |
85
- | MCP Server | BSL 1.1 | 💎 Pro |
11
+ Contact: treebird@treebird.dev
package/README.md CHANGED
@@ -1,9 +1,3 @@
1
- ---
2
- aliases: ["Spidersan Overview"]
3
- tags: [agent/myceliumail, type/readme]
4
- ---
5
-
6
- <div align="center">
7
1
 
8
2
  # 🕷️ Spidersan
9
3
 
@@ -16,29 +10,30 @@ tags: [agent/myceliumail, type/readme]
16
10
 
17
11
  ![Demo](./assets/demo.gif)
18
12
 
19
- [Quick Start](#-quick-start) • [Features](#-features) • [Documentation](#-documentation) • [Pro](#-pro)
13
+ [Quick Start](#-quick-start) • [Features](#-features) • [Documentation](#-documentation)
20
14
 
21
15
  </div>
22
16
 
23
17
  ---
24
18
 
19
+
25
20
  ## 🎯 The Problem
26
21
 
27
- **10 AI agents. 1 file. 51 minutes of chaos.**
22
+ **Local experiment: 10 AI agents. 1 file. 51 minutes of chaos.**
28
23
 
29
- Without coordination:
30
- - ⏱️ 51 min to complete 1 shared file
24
+ In our experience:
25
+ - ⏱️ ~51 min to complete 1 shared file
31
26
  - 💥 12 conflicts
32
- - �� 2 build breaks pushed to main
27
+ - 🔥 2 build breaks pushed to main
33
28
  - 😰 Frustration level: 5/5
34
29
 
35
30
  ## 🕷️ The Solution
36
31
 
37
- **Spidersan** is your AI team's coordination layer. It tracks branches, detects conflicts early, and provides optimal merge ordering—so your agents can work in harmony.
32
+ **Spidersan** is your AI team's coordination layer. It tracks branches, detects conflicts early, and recommends a merge order based on registered overlap—so your agents can work in harmony.
38
33
 
39
34
  ```bash
40
35
  # Register your branch
41
- spidersan register feature/auth --files "lib/auth.ts,api/login.ts"
36
+ spidersan register --files "lib/auth.ts,api/login.ts"
42
37
 
43
38
  # See what conflicts with you
44
39
  spidersan conflicts
@@ -50,10 +45,10 @@ spidersan merge-order
50
45
  spidersan ready-check
51
46
  ```
52
47
 
53
- **Results with Spidersan:**
54
- - ⏱️ 5 min (10x faster)
48
+ **Results with Spidersan (same team):**
49
+ - ⏱️ ~5 min (about 10x faster for us)
55
50
  - ✅ 0 conflicts
56
- - 🎯 Optimal merge sequence
51
+ - 🎯 Recommended merge sequence
57
52
  - 😌 Confidence: 5/5
58
53
 
59
54
  ---
@@ -70,7 +65,7 @@ npm install -g spidersan
70
65
 
71
66
  ```bash
72
67
  # 1. Register your branch when you start working
73
- spidersan register my-feature --files "src/component.tsx"
68
+ spidersan register --files "src/component.tsx"
74
69
 
75
70
  # 2. Check for conflicts before you go too deep
76
71
  spidersan conflicts
@@ -78,7 +73,7 @@ spidersan conflicts
78
73
  # 3. When done, verify you're merge-ready
79
74
  spidersan ready-check
80
75
 
81
- # 4. Get optimal merge order for the team
76
+ # 4. Get recommended merge order for the team
82
77
  spidersan merge-order
83
78
  ```
84
79
 
@@ -86,23 +81,33 @@ spidersan merge-order
86
81
 
87
82
  ## ✨ Features
88
83
 
89
- ### Free (MIT License)
90
-
91
- ### Free (MIT License)
84
+ ### Core Commands (MIT)
92
85
 
93
86
  | Command | Description |
94
87
  |---------|-------------|
88
+ | `spidersan init` | Initialize a repo for local branch tracking |
95
89
  | `spidersan register` | Register a branch with files being modified |
90
+ | `spidersan list` | List active branches and metadata |
96
91
  | `spidersan conflicts` | Show file conflicts between branches |
97
- | `spidersan lock` | **NEW!** Distributed CRDT-based locking with AST DNA verification |
98
- | `spidersan monitor` | **NEW!** Interactive TUI dashboard for real-time monitoring |
99
- | `spidersan rescue` | **NEW!** Automated triage & salvage for abandoned code |
100
- | `spidersan doctor` | **NEW!** Deep diagnostic check of the local agent environment |
101
- | `spidersan who-owns` | **NEW!** Forensic ownership analysis of files via git history |
92
+ | `spidersan depends` | Declare dependencies between branches (optional Supabase sync) |
93
+ | `spidersan merge-order` | Get recommended merge order (heuristic) |
94
+ | `spidersan ready-check` | Verify branch is ready to merge |
95
+ | `spidersan stale` | Find stale branches older than N days |
96
+ | `spidersan cleanup` | Remove stale branches from registry |
97
+ | `spidersan rescue` | Scan/salvage rogue work |
98
+ | `spidersan abandon` | Mark a branch as abandoned |
99
+ | `spidersan merged` | Mark a branch as merged |
100
+ | `spidersan sync` | Sync registry with git state |
102
101
  | `spidersan watch` | Daemon mode - watch files and auto-register |
103
- | `spidersan merge-order` | Get topologically-sorted merge order |
104
- | `spidersan ready-check` | Verify branch is ready (no WIP, no conflicts) |
105
- | `spidersan semantic` | Semantic awareness via Knowledge Graph (optional) |
102
+ | `spidersan doctor` | Diagnose local state and registry health |
103
+
104
+ ### Ecosystem Plugin (Optional)
105
+
106
+ Install `spidersan-ecosystem` to unlock advanced coordination (internal for now):
107
+ - Symbol locking (`lock`) and semantic analysis (`semantic`)
108
+ - Intent scanning, active windows, and realtime monitoring (`intent-scan`, `active-windows`, `monitor`, `radar`)
109
+ - Task torrenting, multi-repo sync, and messaging (`torrent`, `sync-all`, `send`, `inbox`)
110
+ - Security pipeline + MCP health (`tension`, `audit-mark`, `mcp-health`, `mcp-restart`)
106
111
 
107
112
 
108
113
  ### Watch Mode (Daemon)
@@ -131,71 +136,40 @@ spidersan watch --agent myagent --hub --quiet
131
136
  Got a repo with 10+ abandoned branches? Let Spidersan clean up the mess:
132
137
 
133
138
  ```bash
134
- # 1. Start rescue mission
135
- spidersan rescue
139
+ # Scan for rogue files/branches
140
+ spidersan rescue --scan
136
141
 
137
- # 2. Scan and categorize all branches
138
- spidersan scan --all
139
- spidersan triage # → MERGE / SALVAGE / ABANDON
142
+ # Salvage a file into ./salvage/
143
+ spidersan rescue --salvage path/to/file.ts
140
144
 
141
- # 3. Extract good code from broken branches
142
- spidersan salvage feature/old-auth --components src/auth/jwt.ts
143
-
144
- # 4. See your progress
145
- spidersan rescue-status
145
+ # Abandon a rogue file
146
+ spidersan rescue --abandon path/to/file.ts
146
147
  ```
147
148
 
148
149
  **Perfect for:** Post-hackathon cleanup, onboarding to chaotic repos, AI agent disasters.
149
150
 
150
- ### Pro (License Required)
151
-
152
- | Feature | Description |
153
- |---------|-------------|
154
- | **Unlimited Branches** | No limit on concurrent registered branches |
155
- | **Conflict Prediction** | Proactive detection before conflicts occur |
156
- | **MCP Server** | Model Context Protocol integration for AI agents |
157
-
158
151
  ---
159
152
 
160
153
  ## 📖 Documentation
161
154
 
155
+ - [Core Guide](docs/CORE.md) - Public feature set and core workflows
156
+ - [Ecosystem Overview](docs/ECOSYSTEM.md) - Advanced features (internal)
157
+ - [Usage](USAGE.md) - CLI walkthroughs
162
158
  - [One Pager](docs/ONE_PAGER.md) - Product overview
163
- - [Implementation Plan](docs/implementation_plan.md) - Technical architecture
164
159
  - [Data Collection](docs/DATA_COLLECTION.md) - Privacy & data practices
165
160
 
166
161
  ---
167
162
 
168
- ## 💎 Pro
169
-
170
- Spidersan Pro unlocks advanced features for teams running multiple AI agents.
171
-
172
- | Feature | Free | Pro ($9/mo) |
173
- |---------|------|-------------|
174
- | Core commands | ✅ All | ✅ All |
175
- | Concurrent branches | 5 max | ✅ Unlimited |
176
- | MCP Server | ❌ | ✅ |
177
- | Conflict prediction | ❌ | ✅ Coming soon |
178
- | Priority support | ❌ | ✅ |
179
-
180
- **Activate Pro:**
181
- ```bash
182
- spidersan activate <your-license-key>
183
- spidersan status # Check your plan
184
- ```
185
-
186
- Get a license: [spidersan.dev/pro](https://spidersan.dev/pro)
187
163
 
188
- > **Note:** One Pro license unlocks the entire Treebird ecosystem (Spidersan + Myceliumail).
189
-
190
- ---
191
164
 
192
165
  ## 🗣️ Feedback & Support
193
166
 
194
167
  We're building this in public and want to hear from you!
195
168
 
196
- - **Issues & Features:** [GitHub Issues](https://github.com/treebird7/Spidersan/issues)
197
- - **Email:** treebird7@proton.me
198
- - **Twitter/X:** [@treebird7](https://twitter.com/treebird7)
169
+ - **Issues & Features:** [GitHub Issues](https://github.com/treebird7/spidersan-oss/issues)
170
+ - **Email:** treebird@treebird.dev
171
+ - **Site:** [Treebird](https://treebird.uk)
172
+ - **Twitter/X:** [@Treebird_Dev](https://twitter.com/Treebird_Dev)
199
173
 
200
174
  Tell us what's working, what's broken, and what you'd love to see next.
201
175
 
@@ -209,8 +183,7 @@ Contributions welcome! Please read our contributing guidelines first.
209
183
 
210
184
  ## 📄 License
211
185
 
212
- - **Core CLI**: [MIT License](LICENSE.md)
213
- - **Pro Features**: [Business Source License 1.1](LICENSE.md)
186
+ - **MIT License**: [LICENSE](LICENSE)
214
187
 
215
188
  ---
216
189
 
@@ -218,6 +191,6 @@ Contributions welcome! Please read our contributing guidelines first.
218
191
 
219
192
  **Made with 🕷️ for AI-first development teams**
220
193
 
221
- Part of the [Treebird Ecosystem](https://github.com/treebird7) 🌲
194
+ Part of the [Treebird Ecosystem](https://treebird.uk) 🌲
222
195
 
223
196
  </div>
@@ -1 +1 @@
1
- {"version":3,"file":"spidersan.d.ts","sourceRoot":"","sources":["../../src/bin/spidersan.ts"],"names":[],"mappings":";AACA;;;;GAIG;AAEH,OAAO,eAAe,CAAC;AA8EvB,eAAO,MAAM,WAAW,eAAkB,CAAC"}
1
+ {"version":3,"file":"spidersan.d.ts","sourceRoot":"","sources":["../../src/bin/spidersan.ts"],"names":[],"mappings":";AACA;;;;GAIG;AAEH,OAAO,eAAe,CAAC;AAgCvB,eAAO,MAAM,WAAW,eAAkB,CAAC"}
@@ -7,43 +7,8 @@
7
7
  import 'dotenv/config';
8
8
  import { Command } from 'commander';
9
9
  import { createRequire } from 'module';
10
- import { initCommand, registerCommand, listCommand, conflictsCommand, mergeOrderCommand, readyCheckCommand, dependsCommand, staleCommand, cleanupCommand, rescueCommand, abandonCommand, mergedCommand, syncCommand,
11
- // Messaging
12
- sendCommand, inboxCommand, msgReadCommand,
13
- // Key management
14
- keygenCommand, keyImportCommand, keysCommand,
15
- // License
16
- activateCommand, statusCommand,
17
- // Session lifecycle
18
- wakeCommand, closeCommand, collabCommand,
19
- // Diagnostics
20
- doctorCommand, whoOwnsCommand, pulseCommand, completionsCommand,
21
- // Security Pipeline
22
- tensionCommand, auditMarkCommand,
23
- // Session logging
24
- logCommand,
25
- // Daemon mode
26
- watchCommand, radarCommand,
27
- // Demo/Onboarding
28
- demoCommand,
29
- // MCP Health
30
- mcpHealthCommand, mcpRestartCommand,
31
- // Task Torrenting
32
- torrentCommand,
33
- // Collab Sync
34
- collabSyncCommand,
35
- // Global Sync
36
- syncAllCommand,
37
- // Layer 3+4 Conflict Detection
38
- intentScanCommand, activeWindowsCommand,
39
- // Semantic Locking (CRDT)
40
- lockCommand,
41
- // Terminal UI
42
- tuiCommand,
43
- // File History
44
- whoTouchedCommand,
45
- // Semantic
46
- semanticCommand, monitorCommand, } from '../commands/index.js';
10
+ import { initCommand, registerCommand, listCommand, conflictsCommand, mergeOrderCommand, readyCheckCommand, dependsCommand, staleCommand, cleanupCommand, rescueCommand, abandonCommand, mergedCommand, syncCommand, watchCommand, doctorCommand, loadEcosystemCommands, getEcosystemStatus, } from '../commands/index.js';
11
+ import { checkForUpdates } from '../lib/update-check.js';
47
12
  // Read version from package.json dynamically
48
13
  const require = createRequire(import.meta.url);
49
14
  const pkg = require('../../package.json');
@@ -86,14 +51,13 @@ program
86
51
  console.log('🐛 Debug mode enabled\n');
87
52
  }
88
53
  });
89
- // Core commands (Free tier)
54
+ // Core commands
90
55
  program.addCommand(initCommand);
91
56
  program.addCommand(registerCommand);
92
57
  program.addCommand(listCommand);
93
58
  program.addCommand(conflictsCommand);
94
59
  program.addCommand(mergeOrderCommand);
95
60
  program.addCommand(readyCheckCommand);
96
- // Branch lifecycle
97
61
  program.addCommand(dependsCommand);
98
62
  program.addCommand(staleCommand);
99
63
  program.addCommand(cleanupCommand);
@@ -101,59 +65,18 @@ program.addCommand(rescueCommand);
101
65
  program.addCommand(abandonCommand);
102
66
  program.addCommand(mergedCommand);
103
67
  program.addCommand(syncCommand);
104
- // Messaging (requires Supabase)
105
- program.addCommand(sendCommand);
106
- program.addCommand(inboxCommand);
107
- program.addCommand(msgReadCommand);
108
- // Key management (for encrypted messaging)
109
- program.addCommand(keygenCommand);
110
- program.addCommand(keyImportCommand);
111
- program.addCommand(keysCommand);
112
- // License management
113
- program.addCommand(activateCommand);
114
- program.addCommand(statusCommand);
115
- // Session lifecycle
116
- program.addCommand(wakeCommand);
117
- program.addCommand(closeCommand);
118
- collabCommand(program);
119
- // Diagnostics
120
- program.addCommand(doctorCommand);
121
- program.addCommand(whoOwnsCommand);
122
- program.addCommand(pulseCommand);
123
- program.addCommand(completionsCommand);
124
- // Security Pipeline (ssan + srlk)
125
- program.addCommand(tensionCommand);
126
- program.addCommand(auditMarkCommand);
127
- // Session logging
128
- program.addCommand(logCommand);
129
- // Daemon mode
130
68
  program.addCommand(watchCommand);
131
- program.addCommand(radarCommand);
132
- // Demo/Onboarding
133
- program.addCommand(demoCommand);
134
- // MCP Health
135
- program.addCommand(mcpHealthCommand);
136
- program.addCommand(mcpRestartCommand);
137
- // Task Torrenting
138
- program.addCommand(torrentCommand);
139
- // Collab Sync (prevents merge conflicts)
140
- program.addCommand(collabSyncCommand);
141
- // Global Sync (all repos)
142
- program.addCommand(syncAllCommand);
143
- // Layer 3+4 Conflict Detection
144
- program.addCommand(intentScanCommand);
145
- program.addCommand(activeWindowsCommand);
146
- // Semantic Locking (CRDT-based)
147
- program.addCommand(lockCommand);
148
- // Terminal UI
149
- program.addCommand(tuiCommand);
150
- program.addCommand(monitorCommand);
151
- // File History (forensics)
152
- program.addCommand(whoTouchedCommand);
153
- // Semantic RLS
154
- program.addCommand(semanticCommand);
155
- // Check for updates (non-blocking)
156
- import { checkForUpdates } from '../lib/update-check.js';
157
- checkForUpdates().catch(() => { });
158
- program.parse();
69
+ program.addCommand(doctorCommand);
70
+ async function main() {
71
+ const ecosystemCommands = await loadEcosystemCommands();
72
+ ecosystemCommands.forEach((command) => program.addCommand(command));
73
+ const ecosystemStatus = getEcosystemStatus();
74
+ if (ecosystemStatus.versionMismatch && ecosystemStatus.requiredRange && ecosystemStatus.coreVersion) {
75
+ console.warn(`⚠️ Ecosystem expects spidersan@${ecosystemStatus.requiredRange}, but core is ${ecosystemStatus.coreVersion}`);
76
+ }
77
+ // Check for updates (non-blocking)
78
+ checkForUpdates().catch(() => { });
79
+ program.parse();
80
+ }
81
+ void main();
159
82
  //# sourceMappingURL=spidersan.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"spidersan.js","sourceRoot":"","sources":["../../src/bin/spidersan.ts"],"names":[],"mappings":";AACA;;;;GAIG;AAEH,OAAO,eAAe,CAAC;AACvB,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AACvC,OAAO,EACH,WAAW,EACX,eAAe,EACf,WAAW,EACX,gBAAgB,EAChB,iBAAiB,EACjB,iBAAiB,EACjB,cAAc,EACd,YAAY,EACZ,cAAc,EACd,aAAa,EACb,cAAc,EACd,aAAa,EACb,WAAW;AACX,YAAY;AACZ,WAAW,EACX,YAAY,EACZ,cAAc;AACd,iBAAiB;AACjB,aAAa,EACb,gBAAgB,EAChB,WAAW;AACX,UAAU;AACV,eAAe,EACf,aAAa;AACb,oBAAoB;AACpB,W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AAU,CAAC,YAAY,CAAC,CAAC;AACjC,OAAO,CAAC,UAAU,CAAC,cAAc,CAAC,CAAC;AACnC,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;AAClC,OAAO,CAAC,UAAU,CAAC,cAAc,CAAC,CAAC;AACnC,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;AAClC,OAAO,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC;AAChC,OAAO,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC;AACjC,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;AAElC,KAAK,UAAU,IAAI;IACf,MAAM,iBAAiB,GAAG,MAAM,qBAAqB,EAAE,CAAC;IACxD,iBAAiB,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC;IAEpE,MAAM,eAAe,GAAG,kBAAkB,EAAE,CAAC;IAC7C,IAAI,eAAe,CAAC,eAAe,IAAI,eAAe,CAAC,aAAa,IAAI,eAAe,CAAC,WAAW,EAAE,CAAC;QAClG,OAAO,CAAC,IAAI,CACR,kCAAkC,eAAe,CAAC,aAAa,iBAAiB,eAAe,CAAC,WAAW,EAAE,CAChH,CAAC;IACN,CAAC;IAED,mCAAmC;IACnC,eAAe,EAAE,CAAC,KAAK,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;IAEnC,OAAO,CAAC,KAAK,EAAE,CAAC;AACpB,CAAC;AAED,KAAK,IAAI,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"demo.d.ts","sourceRoot":"","sources":["../../src/commands/demo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AA4HpC,eAAO,MAAM,WAAW,SAIlB,CAAC"}
1
+ {"version":3,"file":"demo.d.ts","sourceRoot":"","sources":["../../src/commands/demo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAiIpC,eAAO,MAAM,WAAW,SAIlB,CAAC"}
@@ -23,59 +23,64 @@ ${c.bright}${c.magenta}╔══════════════════
23
23
  ║ ║
24
24
  ╚════════════════════════════════════════════════════════════╝${c.reset}
25
25
  `);
26
- await sleep(500);
26
+ await sleep(1000);
27
27
  // Scenario setup
28
28
  console.log(`${c.cyan}📋 SCENARIO: Two AI agents working on the same codebase${c.reset}\n`);
29
- await sleep(800);
29
+ await sleep(1500);
30
30
  console.log(`${c.dim}Simulating a typical multi-agent workflow...${c.reset}\n`);
31
- await sleep(600);
31
+ await sleep(1200);
32
32
  // Agent 1 registers
33
33
  console.log(`${c.yellow}━━━ Agent 1: Claude (Session A) ━━━${c.reset}`);
34
- await sleep(400);
34
+ await sleep(800);
35
35
  console.log(`${c.green}✓${c.reset} Registering branch: ${c.bright}feature/auth${c.reset}`);
36
- await sleep(300);
37
- console.log(`${c.green}✓${c.reset} Files: ${c.cyan}src/auth.ts, src/middleware.ts${c.reset}`);
38
36
  await sleep(600);
37
+ console.log(`${c.green}✓${c.reset} Files: ${c.cyan}src/auth.ts, src/middleware.ts${c.reset}`);
38
+ await sleep(1000);
39
39
  console.log(`\n${c.dim}[Claude starts working on authentication...]${c.reset}\n`);
40
- await sleep(800);
40
+ await sleep(1500);
41
41
  // Agent 2 registers - conflict!
42
42
  console.log(`${c.yellow}━━━ Agent 2: Cursor (Session B) ━━━${c.reset}`);
43
- await sleep(400);
43
+ await sleep(800);
44
44
  console.log(`${c.green}✓${c.reset} Registering branch: ${c.bright}feature/api${c.reset}`);
45
- await sleep(300);
46
- console.log(`${c.green}✓${c.reset} Files: ${c.cyan}src/api.ts, src/middleware.ts${c.reset}`);
47
45
  await sleep(600);
46
+ console.log(`${c.green}✓${c.reset} Files: ${c.cyan}src/api.ts, src/middleware.ts${c.reset}`);
47
+ await sleep(1000);
48
48
  // CONFLICT DETECTED
49
49
  console.log(`
50
50
  ${c.bright}${c.red}╔════════════════════════════════════════════════════════════╗
51
51
  ║ ⚠️ CONFLICT DETECTED! ║
52
52
  ╚════════════════════════════════════════════════════════════╝${c.reset}
53
53
  `);
54
- await sleep(500);
54
+ await sleep(1200);
55
55
  console.log(`${c.red}🔴 File: ${c.bright}src/middleware.ts${c.reset}`);
56
+ await sleep(500);
56
57
  console.log(`${c.red} ├─ ${c.yellow}feature/auth${c.reset} ${c.dim}(Claude)${c.reset}`);
58
+ await sleep(400);
57
59
  console.log(`${c.red} └─ ${c.yellow}feature/api${c.reset} ${c.dim}(Cursor)${c.reset}`);
58
- await sleep(800);
60
+ await sleep(1500);
59
61
  console.log(`
60
62
  ${c.cyan}💡 Spidersan caught this BEFORE you created a merge conflict!${c.reset}
61
63
  `);
62
- await sleep(600);
64
+ await sleep(1200);
63
65
  // Resolution
64
66
  console.log(`${c.green}━━━ RESOLUTION OPTIONS ━━━${c.reset}`);
67
+ await sleep(600);
65
68
  console.log(`${c.dim}1.${c.reset} Coordinate with the other agent`);
69
+ await sleep(400);
66
70
  console.log(`${c.dim}2.${c.reset} Wait for their branch to merge first`);
71
+ await sleep(400);
67
72
  console.log(`${c.dim}3.${c.reset} Split the work differently`);
68
- await sleep(800);
73
+ await sleep(1500);
69
74
  // Watch mode teaser
70
75
  console.log(`
71
76
  ${c.bright}${c.blue}━━━ NEW: WATCH MODE ━━━${c.reset}
72
77
  ${c.dim}Auto-register files as you edit them:${c.reset}
73
78
 
74
79
  ${c.cyan}$ spidersan watch --agent claude${c.reset}
75
-
80
+
76
81
  ${c.dim}Files are tracked automatically. Conflicts detected in real-time.${c.reset}
77
82
  `);
78
- await sleep(500);
83
+ await sleep(1000);
79
84
  // Next steps
80
85
  console.log(`
81
86
  ${c.bright}${c.magenta}╔════════════════════════════════════════════════════════════╗
@@ -97,9 +102,9 @@ ${c.bright}Quick Setup:${c.reset}
97
102
  ${c.green}$ spidersan watch --agent myname${c.reset}
98
103
 
99
104
  ${c.bright}Learn More:${c.reset}
100
- 📖 Docs: ${c.cyan}https://github.com/treebird7/Spidersan${c.reset}
101
- 💬 Discord: ${c.cyan}https://discord.gg/treebird${c.reset}
102
- 📧 Help: ${c.cyan}treebird7@proton.me${c.reset}
105
+ 📖 Repo: ${c.cyan}https://github.com/treebird7/spidersan-oss${c.reset}
106
+ 🌐 Site: ${c.cyan}http://treebird.uk${c.reset}
107
+ 📧 Help: ${c.cyan}treebird@treebird.dev${c.reset}
103
108
 
104
109
  ${c.dim}━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━${c.reset}
105
110
  ${c.bright}🕷️ The web catches conflicts before they catch you.${c.reset}
@@ -1 +1 @@
1
- {"version":3,"file":"demo.js","sourceRoot":"","sources":["../../src/commands/demo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,uCAAuC;AACvC,MAAM,MAAM,GAAG;IACX,KAAK,EAAE,SAAS;IAChB,MAAM,EAAE,SAAS;IACjB,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,UAAU;IACf,KAAK,EAAE,UAAU;IACjB,MAAM,EAAE,UAAU;IAClB,IAAI,EAAE,UAAU;IAChB,OAAO,EAAE,UAAU;IACnB,IAAI,EAAE,UAAU;CACnB,CAAC;AAEF,MAAM,CAAC,GAAG,MAAM,CAAC;AAEjB,SAAS,KAAK,CAAC,EAAU;IACrB,OAAO,IAAI,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,CAAC;AAC3D,CAAC;AAED,KAAK,UAAU,OAAO;IAClB,OAAO,CAAC,GAAG,CAAC;EACd,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,OAAO;;;;gEAI0C,CAAC,CAAC,KAAK;CACtE,CAAC,CAAC;IAEC,MAAM,KAAK,CAAC,GAAG,CAAC,CAAC;IAEjB,iBAAiB;IACjB,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,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,KAAK,CAAC,CAAC,KAAK;OACf,CAAC,CAAC,KAAK,wBAAwB,CAAC,CAAC,KAAK;;IAEzC,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,KAAK;OACf,CAAC,CAAC,KAAK,mCAAmC,CAAC,CAAC,KAAK;;EAEtD,CAAC,CAAC,MAAM,cAAc,CAAC,CAAC,KAAK;gBACf,CAAC,CAAC,IAAI,6CAA6C,CAAC,CAAC,KAAK;gBAC1D,CAAC,CAAC,IAAI,qBAAqB,CAAC,CAAC,KAAK;gBAClC,CAAC,CAAC,IAAI,wBAAwB,CAAC,CAAC,KAAK;;EAEnD,CAAC,CAAC,GAAG,+DAA+D,CAAC,CAAC,KAAK;EAC3E,CAAC,CAAC,MAAM,uDAAuD,CAAC,CAAC,KAAK;CACvE,CAAC,CAAC;AACH,CAAC;AAED,MAAM,CAAC,MAAM,WAAW,GAAG,IAAI,OAAO,CAAC,MAAM,CAAC;KACzC,WAAW,CAAC,gDAAgD,CAAC;KAC7D,MAAM,CAAC,KAAK,IAAI,EAAE;IACf,MAAM,OAAO,EAAE,CAAC;AACpB,CAAC,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"doctor.d.ts","sourceRoot":"","sources":["../../src/commands/doctor.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AA0QpC,eAAO,MAAM,aAAa,SA6CpB,CAAC"}
1
+ {"version":3,"file":"doctor.d.ts","sourceRoot":"","sources":["../../src/commands/doctor.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAkQpC,eAAO,MAAM,aAAa,SA4CpB,CAAC"}