@revealui/harnesses 0.1.9 → 0.1.10
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/dist/{chunk-Y4FFO3TO.js → chunk-ADRJ4TTV.js} +1 -5
- package/dist/{chunk-ZNIQELKZ.js → chunk-HHIAUUJB.js} +2 -2
- package/dist/{chunk-YYAYTCRM.js → chunk-VQWARLZO.js} +1 -1
- package/dist/cli.js +3 -3
- package/dist/content/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/dist/workboard/index.d.ts +1 -13
- package/dist/workboard/index.js +1 -5
- package/package.json +3 -3
|
@@ -543,8 +543,6 @@ var WorkboardManager = class {
|
|
|
543
543
|
function emptyState() {
|
|
544
544
|
return { preamble: [], agents: [], tasks: [], blocked: [], done: [], log: [], _extra: {} };
|
|
545
545
|
}
|
|
546
|
-
var registerSession = WorkboardManager.prototype.registerAgent;
|
|
547
|
-
var unregisterSession = WorkboardManager.prototype.unregisterAgent;
|
|
548
546
|
|
|
549
547
|
export {
|
|
550
548
|
detectSessionType,
|
|
@@ -555,7 +553,5 @@ export {
|
|
|
555
553
|
withLockAsync,
|
|
556
554
|
atomicWriteSync,
|
|
557
555
|
lockPathFor,
|
|
558
|
-
WorkboardManager
|
|
559
|
-
registerSession,
|
|
560
|
-
unregisterSession
|
|
556
|
+
WorkboardManager
|
|
561
557
|
};
|
|
@@ -427,7 +427,7 @@ too large or specialized for the current session.
|
|
|
427
427
|
1. Don't spawn a profile for work that takes under 15 minutes in the current session.
|
|
428
428
|
2. Check the workboard before spawning - another agent may already own that area.
|
|
429
429
|
3. Always give spawned agents:
|
|
430
|
-
- Current phase from
|
|
430
|
+
- Current phase from the internal planning hub's MASTER_PLAN.md
|
|
431
431
|
- Relevant workboard state
|
|
432
432
|
- The specific task and acceptance criteria
|
|
433
433
|
4. Spawned agents report findings back to the parent. Only the parent updates MASTER_PLAN.md.
|
|
@@ -1803,7 +1803,7 @@ Follow these rules for ALL code changes in the RevealUI monorepo.
|
|
|
1803
1803
|
|
|
1804
1804
|
## Protected Paths - Never Edit
|
|
1805
1805
|
|
|
1806
|
-
- \`/mnt/c
|
|
1806
|
+
- Windows host mounts (typically \`/mnt/c/\`) and the LTS backup mount (\`$LTS_ROOT\`, typically \`/mnt/e/\`) - read-only
|
|
1807
1807
|
- System/credential directories: \`/etc/\`, \`~/.ssh/\`, \`~/.gnupg/\`, \`~/.aws/\`
|
|
1808
1808
|
|
|
1809
1809
|
## Import Boundaries
|
package/dist/cli.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
HarnessCoordinator,
|
|
4
4
|
checkHarnessesLicense
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-VQWARLZO.js";
|
|
6
6
|
import {
|
|
7
7
|
buildManifest,
|
|
8
8
|
diffContent,
|
|
@@ -10,11 +10,11 @@ import {
|
|
|
10
10
|
listContent,
|
|
11
11
|
listGenerators,
|
|
12
12
|
validateManifest
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-HHIAUUJB.js";
|
|
14
14
|
import "./chunk-ANX4L2PF.js";
|
|
15
15
|
import {
|
|
16
16
|
WorkboardManager
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-ADRJ4TTV.js";
|
|
18
18
|
import "./chunk-3RG5ZIWI.js";
|
|
19
19
|
|
|
20
20
|
// src/cli.ts
|
package/dist/content/index.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export { A as AgentMessage, a as AgentSession, b as AgentTask, c as DaemonEvent,
|
|
|
6
6
|
import { z } from 'zod';
|
|
7
7
|
import { EventEmitter } from 'node:events';
|
|
8
8
|
import { WorkboardManager, WorkboardState } from './workboard/index.js';
|
|
9
|
-
export { ConflictResult, SessionType,
|
|
9
|
+
export { ConflictResult, SessionType, acquireLock, atomicWriteSync, deriveSessionId, detectSessionType, lockPathFor, releaseLock, withLock, withLockAsync } from './workboard/index.js';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* Syncs harness config between local filesystem and root backup.
|
package/dist/index.js
CHANGED
|
@@ -30,14 +30,14 @@ import {
|
|
|
30
30
|
vaughnConfigToCursorrules,
|
|
31
31
|
vaughnEventEnvelopeSchema,
|
|
32
32
|
vaughnEventSchema
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-VQWARLZO.js";
|
|
34
34
|
import {
|
|
35
35
|
buildManifest,
|
|
36
36
|
diffContent,
|
|
37
37
|
generateContent,
|
|
38
38
|
listContent,
|
|
39
39
|
validateManifest
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-HHIAUUJB.js";
|
|
41
41
|
import {
|
|
42
42
|
DaemonStore,
|
|
43
43
|
SCHEMA_SQL
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
releaseLock,
|
|
53
53
|
withLock,
|
|
54
54
|
withLockAsync
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-ADRJ4TTV.js";
|
|
56
56
|
import "./chunk-3RG5ZIWI.js";
|
|
57
57
|
export {
|
|
58
58
|
DaemonStore,
|
|
@@ -108,14 +108,6 @@ interface ConflictResult {
|
|
|
108
108
|
overlappingFiles: string[];
|
|
109
109
|
}>;
|
|
110
110
|
}
|
|
111
|
-
/** @deprecated Use WorkboardAgent instead */
|
|
112
|
-
type WorkboardSession = WorkboardAgent;
|
|
113
|
-
/** @deprecated Use WorkboardState.log entries instead */
|
|
114
|
-
interface WorkboardEntry {
|
|
115
|
-
timestamp: string;
|
|
116
|
-
sessionId: string;
|
|
117
|
-
description: string;
|
|
118
|
-
}
|
|
119
111
|
|
|
120
112
|
/**
|
|
121
113
|
* WorkboardManager - reads, parses, and writes .claude/workboard.md (v2).
|
|
@@ -156,10 +148,6 @@ declare class WorkboardManager {
|
|
|
156
148
|
private readUnlocked;
|
|
157
149
|
private writeUnlocked;
|
|
158
150
|
}
|
|
159
|
-
/** @deprecated Use registerAgent instead */
|
|
160
|
-
declare const registerSession: (agent: WorkboardAgent) => void;
|
|
161
|
-
/** @deprecated Use unregisterAgent instead */
|
|
162
|
-
declare const unregisterSession: (id: string) => void;
|
|
163
151
|
|
|
164
152
|
/**
|
|
165
153
|
* Acquire an exclusive file lock using O_EXCL (kernel-level atomic create).
|
|
@@ -224,4 +212,4 @@ declare function detectSessionType(): SessionType;
|
|
|
224
212
|
*/
|
|
225
213
|
declare function deriveSessionId(type: SessionType, existingIds: string[]): string;
|
|
226
214
|
|
|
227
|
-
export { type ConflictResult, type SessionType, type TaskPriority, type TaskStatus, type WorkboardAgent, type WorkboardBlockedTask, type WorkboardDoneTask,
|
|
215
|
+
export { type ConflictResult, type SessionType, type TaskPriority, type TaskStatus, type WorkboardAgent, type WorkboardBlockedTask, type WorkboardDoneTask, WorkboardManager, type WorkboardState, type WorkboardTask, acquireLock, atomicWriteSync, deriveSessionId, detectSessionType, lockPathFor, releaseLock, withLock, withLockAsync };
|
package/dist/workboard/index.js
CHANGED
|
@@ -5,12 +5,10 @@ import {
|
|
|
5
5
|
deriveSessionId,
|
|
6
6
|
detectSessionType,
|
|
7
7
|
lockPathFor,
|
|
8
|
-
registerSession,
|
|
9
8
|
releaseLock,
|
|
10
|
-
unregisterSession,
|
|
11
9
|
withLock,
|
|
12
10
|
withLockAsync
|
|
13
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-ADRJ4TTV.js";
|
|
14
12
|
import "../chunk-3RG5ZIWI.js";
|
|
15
13
|
export {
|
|
16
14
|
WorkboardManager,
|
|
@@ -19,9 +17,7 @@ export {
|
|
|
19
17
|
deriveSessionId,
|
|
20
18
|
detectSessionType,
|
|
21
19
|
lockPathFor,
|
|
22
|
-
registerSession,
|
|
23
20
|
releaseLock,
|
|
24
|
-
unregisterSession,
|
|
25
21
|
withLock,
|
|
26
22
|
withLockAsync
|
|
27
23
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@revealui/harnesses",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.10",
|
|
4
4
|
"description": "[Pro] AI harness integration system - adapters, daemon, workboard coordination, and JSON-RPC server",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
"revealui-harnesses": "./dist/cli.js"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@electric-sql/pglite": "^0.4.
|
|
15
|
+
"@electric-sql/pglite": "^0.4.4",
|
|
16
16
|
"zod": "^4.3.6",
|
|
17
|
-
"@revealui/core": "0.
|
|
17
|
+
"@revealui/core": "0.6.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@types/node": "^25.5.2",
|