@miraland-labs/conduit-bridge 0.9.4 → 0.9.6
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 +1 -1
- package/dist/driver.js +6 -3
- package/dist/execution.js +4 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Local Bridge CLI for [Conduit](https://github.com/miralandlabs/conduit). Connects a computer to one organization, claims work, and drives a local agent.
|
|
4
4
|
|
|
5
|
-
**Current npm:** `0.9.
|
|
5
|
+
**Current npm:** `0.9.6` — **ops** helpers for macOS / Linux / Windows, LaunchAgent/systemd **PATH** for `~/.local/bin`, disconnect/disengage, multi-driver lanes, shared slots **1–4**, worktrees, optional `--ensure-checkout`.
|
|
6
6
|
|
|
7
7
|
## Prerequisites
|
|
8
8
|
|
package/dist/driver.js
CHANGED
|
@@ -90,7 +90,9 @@ export function buildAssignmentPrompt(context) {
|
|
|
90
90
|
const changeScope = packageContext?.change_scope?.length ? packageContext.change_scope : spec.change_scope;
|
|
91
91
|
const evidence = packageContext?.required_evidence?.length ? packageContext.required_evidence : spec.required_evidence;
|
|
92
92
|
const rework = packageContext?.rework_feedback ?? context.reworkFeedback;
|
|
93
|
-
const
|
|
93
|
+
const labeledArtifact = (packageContext?.deliverable ?? spec.deliverable) === "artifact";
|
|
94
|
+
// Research is discovery in the delivery report — never a published content-pack artifact.
|
|
95
|
+
const artifact = labeledArtifact && role !== "research";
|
|
94
96
|
const lines = [
|
|
95
97
|
`You are completing one delegated Conduit assignment as the ${role} role. Work only inside the current workspace.`,
|
|
96
98
|
"",
|
|
@@ -452,8 +454,9 @@ export function cursorPermissionsForGrants(grants, verificationCommands = []) {
|
|
|
452
454
|
* contract (validateDeliveryReport rejects reported repository changes without repo_write, Invariant 9).
|
|
453
455
|
*/
|
|
454
456
|
export function cursorRunArgs(input) {
|
|
455
|
-
// --trust:
|
|
456
|
-
|
|
457
|
+
// Do not pass --trust: current Cursor Agent CLI rejects it ("unknown option '--trust'").
|
|
458
|
+
// Workspace authority is the operator-configured Bridge workspace; tool authority is .cursor/cli.json.
|
|
459
|
+
const args = ["-p", "--output-format", "json", "--workspace", input.workspace];
|
|
457
460
|
if (input.model)
|
|
458
461
|
args.push("--model", input.model);
|
|
459
462
|
if (input.resumeSessionId)
|
package/dist/execution.js
CHANGED
|
@@ -671,7 +671,10 @@ async function prepareDelivery(client, attemptId, taskId, report) {
|
|
|
671
671
|
}
|
|
672
672
|
export function validateDeliveryReport(report, spec, grants = []) {
|
|
673
673
|
validateChangeScope(report, spec.change_scope ?? []);
|
|
674
|
-
|
|
674
|
+
// Research findings live in the report. Do not demand a published pack URL for work_role=research
|
|
675
|
+
// even when a planner mis-labeled the package as deliverable=artifact.
|
|
676
|
+
const artifactDelivery = spec.deliverable === "artifact" && spec.work_role !== "research";
|
|
677
|
+
if (artifactDelivery) {
|
|
675
678
|
const published = report.evidence.some((item) => {
|
|
676
679
|
if (!["preview", "research", "documentation"].includes(item.kind))
|
|
677
680
|
return false;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@miraland-labs/conduit-bridge",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.6",
|
|
4
4
|
"description": "Conduit Bridge CLI — join, connect, disconnect, multi-driver lanes, and run Claude Code / Codex / Cursor / OpenCode / Kiro / Antigravity agents for a Conduit organization",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|