borgmcp 2.7.1 → 2.7.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/README.md +15 -10
- package/dist/assimilate-cmd.d.ts.map +1 -1
- package/dist/assimilate-cmd.js +72 -24
- package/dist/assimilate-cmd.js.map +1 -1
- package/dist/cubes.d.ts +10 -5
- package/dist/cubes.d.ts.map +1 -1
- package/dist/cubes.js +54 -3
- package/dist/cubes.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +60 -7
- package/dist/index.js.map +1 -1
- package/dist/log-stream.d.ts +3 -0
- package/dist/log-stream.d.ts.map +1 -1
- package/dist/log-stream.js +6 -1
- package/dist/log-stream.js.map +1 -1
- package/dist/opencode-seat-identity.d.ts +22 -0
- package/dist/opencode-seat-identity.d.ts.map +1 -0
- package/dist/opencode-seat-identity.js +69 -0
- package/dist/opencode-seat-identity.js.map +1 -0
- package/dist/startup-services.d.ts +3 -1
- package/dist/startup-services.d.ts.map +1 -1
- package/dist/startup-services.js +7 -2
- package/dist/startup-services.js.map +1 -1
- package/dist/stream-owner.d.ts +9 -0
- package/dist/stream-owner.d.ts.map +1 -1
- package/dist/stream-owner.js +14 -2
- package/dist/stream-owner.js.map +1 -1
- package/dist/stream-status.d.ts.map +1 -1
- package/dist/stream-status.js +8 -1
- package/dist/stream-status.js.map +1 -1
- package/docs/EXTRACTION_PROVENANCE.md +3 -3
- package/docs/RELEASING.md +6 -1
- package/package.json +1 -1
- package/src/assimilate-cmd.ts +81 -24
- package/src/cubes.ts +70 -3
- package/src/index.ts +66 -7
- package/src/log-stream.ts +9 -1
- package/src/opencode-seat-identity.ts +111 -0
- package/src/startup-services.ts +8 -2
- package/src/stream-owner.ts +23 -2
- package/src/stream-status.ts +8 -1
package/src/stream-status.ts
CHANGED
|
@@ -161,7 +161,10 @@ export function renderStreamStatus(inputs: RenderInputs): string {
|
|
|
161
161
|
if (orphanedInitialization) {
|
|
162
162
|
summary = '**Stream blocked by an orphaned initialization lock.**';
|
|
163
163
|
} else if (ownedByOther) {
|
|
164
|
-
|
|
164
|
+
const owner = status.ownership!;
|
|
165
|
+
summary = owner.droneLabel && owner.worktree
|
|
166
|
+
? `**Stream owned by seat ${owner.droneLabel} in \`${owner.worktree}\`.**`
|
|
167
|
+
: '**Stream owned by another Borg MCP process.**';
|
|
165
168
|
} else if (isNotStarted) {
|
|
166
169
|
summary = '**Stream not started.**';
|
|
167
170
|
} else if (!status.connected) {
|
|
@@ -245,6 +248,8 @@ export function renderStreamStatus(inputs: RenderInputs): string {
|
|
|
245
248
|
|
|
246
249
|
if (ownedByOther) {
|
|
247
250
|
const owner = status.ownership!;
|
|
251
|
+
lines.push(`- **stream owner seat**: ${owner.droneLabel ?? '_(unknown)_'}`);
|
|
252
|
+
lines.push(`- **stream owner worktree**: ${owner.worktree ?? '_(unknown)_'}`);
|
|
248
253
|
lines.push(`- **stream owner pid**: ${owner.pid ?? '_(unknown)_'}`);
|
|
249
254
|
lines.push(`- **stream owner cwd**: ${owner.cwd ?? '_(unknown)_'}`);
|
|
250
255
|
lines.push(
|
|
@@ -254,6 +259,8 @@ export function renderStreamStatus(inputs: RenderInputs): string {
|
|
|
254
259
|
: '_(unknown)_'
|
|
255
260
|
}`
|
|
256
261
|
);
|
|
262
|
+
lines.push('');
|
|
263
|
+
lines.push('Continue in the owning seat, or close its duplicate agent session before relaunching from the intended worktree. The live owner releases this lock on exit; a stale lock is reclaimed automatically.');
|
|
257
264
|
}
|
|
258
265
|
|
|
259
266
|
if (wakePath.agentKind === 'opencode' && wakePath.openCode) {
|