@revealui/harnesses 0.1.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.
- package/LICENSE +22 -0
- package/LICENSE.commercial +112 -0
- package/README.md +105 -0
- package/dist/chunk-BDA7D725.js +595 -0
- package/dist/chunk-BDA7D725.js.map +1 -0
- package/dist/chunk-JUNNIQS3.js +1 -0
- package/dist/chunk-JUNNIQS3.js.map +1 -0
- package/dist/chunk-PG4RAOWS.js +251 -0
- package/dist/chunk-PG4RAOWS.js.map +1 -0
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +196 -0
- package/dist/cli.js.map +1 -0
- package/dist/index.d.ts +305 -0
- package/dist/index.js +61 -0
- package/dist/index.js.map +1 -0
- package/dist/workboard/index.d.ts +120 -0
- package/dist/workboard/index.js +12 -0
- package/dist/workboard/index.js.map +1 -0
- package/package.json +53 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025-2026 RevealUI Studio
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
22
|
+
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
RevealUI Commercial License
|
|
2
|
+
Version 1.0, February 2026
|
|
3
|
+
|
|
4
|
+
Copyright (c) 2025-2026 RevealUI Studio (founder@revealui.com)
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS
|
|
7
|
+
|
|
8
|
+
1. DEFINITIONS
|
|
9
|
+
|
|
10
|
+
"Software" means the RevealUI source code, documentation, and associated
|
|
11
|
+
files contained in directories and packages designated as commercial,
|
|
12
|
+
including but not limited to: packages/ai, packages/mcp, packages/editors,
|
|
13
|
+
packages/services, packages/harnesses, and any directory named "ee" within
|
|
14
|
+
the repository.
|
|
15
|
+
|
|
16
|
+
"License Key" means a valid RevealUI license key obtained through an active
|
|
17
|
+
paid subscription at https://revealui.com.
|
|
18
|
+
|
|
19
|
+
"Licensee" means the individual or organization that holds a valid License
|
|
20
|
+
Key through an active subscription.
|
|
21
|
+
|
|
22
|
+
"Production Use" means any use of the Software beyond local development and
|
|
23
|
+
evaluation, including but not limited to: deploying the Software to serve
|
|
24
|
+
end users, integrating the Software into a product or service, or using the
|
|
25
|
+
Software in a revenue-generating capacity.
|
|
26
|
+
|
|
27
|
+
2. GRANT OF RIGHTS
|
|
28
|
+
|
|
29
|
+
Subject to the terms of this License and a valid License Key, the Licensee
|
|
30
|
+
is granted a non-exclusive, non-transferable, revocable license to:
|
|
31
|
+
|
|
32
|
+
(a) Use the Software for internal development and Production Use.
|
|
33
|
+
(b) Modify the Software for internal use.
|
|
34
|
+
(c) Deploy the Software on infrastructure controlled by the Licensee.
|
|
35
|
+
|
|
36
|
+
Enterprise License holders are additionally granted the right to:
|
|
37
|
+
|
|
38
|
+
(d) Deploy the Software in a self-hosted environment.
|
|
39
|
+
(e) Remove or replace RevealUI branding (white-label).
|
|
40
|
+
(f) Use the Software for multiple tenants within the Licensee's
|
|
41
|
+
organization or customer base.
|
|
42
|
+
|
|
43
|
+
3. RESTRICTIONS
|
|
44
|
+
|
|
45
|
+
The Licensee SHALL NOT:
|
|
46
|
+
|
|
47
|
+
(a) Provide the Software, or any portion of it, to third parties as a
|
|
48
|
+
hosted or managed service that competes with RevealUI.
|
|
49
|
+
(b) Redistribute, sublicense, sell, or otherwise transfer the Software
|
|
50
|
+
or any portion of it to third parties.
|
|
51
|
+
(c) Remove, alter, or circumvent the license key verification
|
|
52
|
+
functionality of the Software.
|
|
53
|
+
(d) Use the Software in Production without a valid License Key.
|
|
54
|
+
(e) Share, publish, or make the License Key available to unauthorized
|
|
55
|
+
parties.
|
|
56
|
+
|
|
57
|
+
4. EVALUATION
|
|
58
|
+
|
|
59
|
+
The Software may be used for evaluation and local development purposes
|
|
60
|
+
without a License Key. Evaluation use does not grant any rights to
|
|
61
|
+
Production Use.
|
|
62
|
+
|
|
63
|
+
5. SUBSCRIPTION AND PAYMENT
|
|
64
|
+
|
|
65
|
+
This License is valid only during the term of an active paid subscription.
|
|
66
|
+
Upon cancellation or expiration of the subscription:
|
|
67
|
+
|
|
68
|
+
(a) The License terminates automatically.
|
|
69
|
+
(b) A grace period of fourteen (14) days is provided for the Licensee
|
|
70
|
+
to transition away from Production Use.
|
|
71
|
+
(c) After the grace period, the Licensee must cease all Production Use
|
|
72
|
+
of the Software.
|
|
73
|
+
|
|
74
|
+
6. INTELLECTUAL PROPERTY
|
|
75
|
+
|
|
76
|
+
The Software is and remains the intellectual property of RevealUI Studio.
|
|
77
|
+
This License does not grant any ownership rights. Contributions to
|
|
78
|
+
commercial portions of the Software require a Contributor License Agreement.
|
|
79
|
+
|
|
80
|
+
7. OPEN SOURCE COMPONENTS
|
|
81
|
+
|
|
82
|
+
This License applies only to files and directories designated as commercial.
|
|
83
|
+
Files under the MIT License (as indicated in the root LICENSE file) are not
|
|
84
|
+
subject to this commercial license and may be used freely under MIT terms.
|
|
85
|
+
|
|
86
|
+
8. DISCLAIMER OF WARRANTY
|
|
87
|
+
|
|
88
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
89
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
90
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
91
|
+
|
|
92
|
+
9. LIMITATION OF LIABILITY
|
|
93
|
+
|
|
94
|
+
IN NO EVENT SHALL REVEALUI STUDIO BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
95
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
96
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
97
|
+
DEALINGS IN THE SOFTWARE, EXCEEDING THE AMOUNT PAID BY THE LICENSEE IN
|
|
98
|
+
THE TWELVE (12) MONTHS PRECEDING THE CLAIM.
|
|
99
|
+
|
|
100
|
+
10. GOVERNING LAW
|
|
101
|
+
|
|
102
|
+
This License shall be governed by the laws of the State of California,
|
|
103
|
+
United States of America, without regard to its conflict of law provisions.
|
|
104
|
+
|
|
105
|
+
11. ENTIRE AGREEMENT
|
|
106
|
+
|
|
107
|
+
This License constitutes the entire agreement between the parties with
|
|
108
|
+
respect to the commercial portions of the Software and supersedes all
|
|
109
|
+
prior agreements, understandings, and communications.
|
|
110
|
+
|
|
111
|
+
For licensing inquiries: founder@revealui.com
|
|
112
|
+
For pricing and subscriptions: https://revealui.com/pricing
|
package/README.md
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
# @revealui/harnesses
|
|
2
|
+
|
|
3
|
+
AI harness coordination for RevealUI — enables multiple AI coding tools to work on the same codebase safely and in parallel.
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- **Multi-Harness Coordination**: Claude Code, Cursor, Copilot adapters with conflict detection
|
|
8
|
+
- **Workboard Protocol**: Shared `.claude/workboard.md` for session tracking and file reservations
|
|
9
|
+
- **Auto-Detection**: Discovers installed harnesses via PATH and running processes
|
|
10
|
+
- **JSON-RPC 2.0 Server**: Unix domain socket IPC for harness-to-harness communication
|
|
11
|
+
- **Config Sync**: Portable config backup to external drives (DevPod/LTS)
|
|
12
|
+
- **Session Identity**: Detects parent environment (Zed, Cursor, terminal) via process chain
|
|
13
|
+
|
|
14
|
+
## Architecture
|
|
15
|
+
|
|
16
|
+
```
|
|
17
|
+
packages/harnesses/src/
|
|
18
|
+
├── adapters/ # AI tool adapters (Claude Code, Copilot)
|
|
19
|
+
├── config/ # Config path resolution and SSD sync
|
|
20
|
+
├── detection/ # Auto-detect installed/running harnesses
|
|
21
|
+
├── registry/ # Lifecycle management of adapters
|
|
22
|
+
├── server/ # JSON-RPC 2.0 over Unix socket
|
|
23
|
+
├── types/ # HarnessAdapter contract, commands, events
|
|
24
|
+
├── workboard/ # Multi-agent workboard coordination
|
|
25
|
+
├── coordinator.ts # Main orchestrator (start/stop lifecycle)
|
|
26
|
+
└── cli.ts # CLI daemon and RPC client
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## CLI
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
# Start daemon (detect harnesses, register session, start RPC server)
|
|
33
|
+
revealui-harnesses start --project /path/to/repo
|
|
34
|
+
|
|
35
|
+
# List available harnesses
|
|
36
|
+
revealui-harnesses status
|
|
37
|
+
|
|
38
|
+
# Sync harness config to/from SSD
|
|
39
|
+
revealui-harnesses sync claude-code push
|
|
40
|
+
|
|
41
|
+
# Print workboard state
|
|
42
|
+
revealui-harnesses coordinate --print
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## Usage
|
|
46
|
+
|
|
47
|
+
```typescript
|
|
48
|
+
import { HarnessCoordinator } from '@revealui/harnesses'
|
|
49
|
+
|
|
50
|
+
const coordinator = new HarnessCoordinator({ projectRoot: '/path/to/repo' })
|
|
51
|
+
await coordinator.start()
|
|
52
|
+
|
|
53
|
+
// Coordinator auto-detects harnesses, registers in workboard, starts RPC server
|
|
54
|
+
// On shutdown:
|
|
55
|
+
await coordinator.stop()
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
### Workboard Coordination
|
|
59
|
+
|
|
60
|
+
```typescript
|
|
61
|
+
import { WorkboardManager, deriveSessionId } from '@revealui/harnesses/workboard'
|
|
62
|
+
|
|
63
|
+
const manager = new WorkboardManager('/path/to/repo/.claude/workboard.md')
|
|
64
|
+
const state = await manager.read()
|
|
65
|
+
|
|
66
|
+
// Register session
|
|
67
|
+
const sessionId = await deriveSessionId()
|
|
68
|
+
await manager.registerSession({
|
|
69
|
+
id: sessionId,
|
|
70
|
+
env: 'Zed/WSL',
|
|
71
|
+
task: 'implementing feature X',
|
|
72
|
+
files: ['src/feature.ts'],
|
|
73
|
+
})
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
## Exports
|
|
77
|
+
|
|
78
|
+
| Subpath | Contents |
|
|
79
|
+
|---------|----------|
|
|
80
|
+
| `@revealui/harnesses` | Full API: adapters, registry, coordinator, detection, config |
|
|
81
|
+
| `@revealui/harnesses/types` | Type definitions: HarnessAdapter, commands, events, capabilities |
|
|
82
|
+
| `@revealui/harnesses/workboard` | WorkboardManager, deriveSessionId, detectSessionType |
|
|
83
|
+
|
|
84
|
+
## Development
|
|
85
|
+
|
|
86
|
+
```bash
|
|
87
|
+
# Run tests
|
|
88
|
+
pnpm --filter @revealui/harnesses test
|
|
89
|
+
|
|
90
|
+
# Type check
|
|
91
|
+
pnpm --filter @revealui/harnesses typecheck
|
|
92
|
+
|
|
93
|
+
# Build
|
|
94
|
+
pnpm --filter @revealui/harnesses build
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
## Related Documentation
|
|
98
|
+
|
|
99
|
+
- [Coordination Rules](../../.claude/rules/coordination.md) — Multi-instance protocol
|
|
100
|
+
- [Architecture Guide](../../docs/ARCHITECTURE.md) — System architecture
|
|
101
|
+
- [Editors Package](../editors/README.md) — Editor daemon (parallel architecture)
|
|
102
|
+
|
|
103
|
+
## License
|
|
104
|
+
|
|
105
|
+
Commercial — see [LICENSE.commercial](../../LICENSE.commercial)
|