@miraland-labs/conduit-bridge 0.9.3 → 0.9.5
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 +2 -2
- package/dist/cli.js +4 -1
- package/dist/driver.js +3 -2
- package/dist/ops.js +1 -1
- package/ops/env.example +2 -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.5` — **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
|
|
|
@@ -50,7 +50,7 @@ Optional local shortcuts after `init-ops` (same verbs):
|
|
|
50
50
|
|
|
51
51
|
**Windows note:** `ops install` brings lanes online and prints a `runner --workspace …` command to keep open (no LaunchAgent). macOS/Linux install a background service.
|
|
52
52
|
|
|
53
|
-
`ops.env` keys: `CONDUIT_URL`, `CONDUIT_ORG` (optional), `CONDUIT_WORKSPACE`, `CONDUIT_REPO` (optional), `CONDUIT_DRIVERS` (default `cursor`), `CONDUIT_ROLES` (default `implement research`). Values expand `$HOME`, `%USERPROFILE%`, and `~`.
|
|
53
|
+
`ops.env` keys: `CONDUIT_URL`, `CONDUIT_ORG` (optional), `CONDUIT_WORKSPACE`, `CONDUIT_REPO` (optional), `CONDUIT_DRIVERS` (default `cursor`), `CONDUIT_ROLES` (default `implement research review`). Values expand `$HOME`, `%USERPROFILE%`, and `~`.
|
|
54
54
|
|
|
55
55
|
## Advanced CLI
|
|
56
56
|
|
package/dist/cli.js
CHANGED
|
@@ -113,7 +113,10 @@ async function join() {
|
|
|
113
113
|
const detected = await detectInstalledClients();
|
|
114
114
|
const operatorName = values.operator?.trim() || userInfo().username;
|
|
115
115
|
const machineName = values.machine?.trim() || suggestMachineName(hostname(), installationId);
|
|
116
|
-
|
|
116
|
+
// Product-standard work roles (PRODUCT_SPEC): plans use implement / research / review.
|
|
117
|
+
// Defaulting to implement-only left public Connect machines unable to run normal plans.
|
|
118
|
+
const capabilities = values.capability?.map((item) => item.trim()).filter(Boolean)
|
|
119
|
+
?? ["implement", "research", "review"];
|
|
117
120
|
const requestedCapacity = values.capacity ? Number(values.capacity) : BRIDGE_LEASE_CAPACITY;
|
|
118
121
|
if (!Number.isInteger(requestedCapacity) || requestedCapacity < 1 || requestedCapacity > BRIDGE_MAX_LEASE_CAPACITY) {
|
|
119
122
|
throw new Error(`--capacity must be an integer from 1 to ${BRIDGE_MAX_LEASE_CAPACITY} (concurrent attempt slots)`);
|
package/dist/driver.js
CHANGED
|
@@ -452,8 +452,9 @@ export function cursorPermissionsForGrants(grants, verificationCommands = []) {
|
|
|
452
452
|
* contract (validateDeliveryReport rejects reported repository changes without repo_write, Invariant 9).
|
|
453
453
|
*/
|
|
454
454
|
export function cursorRunArgs(input) {
|
|
455
|
-
// --trust:
|
|
456
|
-
|
|
455
|
+
// Do not pass --trust: current Cursor Agent CLI rejects it ("unknown option '--trust'").
|
|
456
|
+
// Workspace authority is the operator-configured Bridge workspace; tool authority is .cursor/cli.json.
|
|
457
|
+
const args = ["-p", "--output-format", "json", "--workspace", input.workspace];
|
|
457
458
|
if (input.model)
|
|
458
459
|
args.push("--model", input.model);
|
|
459
460
|
if (input.resumeSessionId)
|
package/dist/ops.js
CHANGED
|
@@ -70,7 +70,7 @@ export function loadOpsEnv(home = homedir(), cwd = process.cwd()) {
|
|
|
70
70
|
CONDUIT_WORKSPACE: pick("CONDUIT_WORKSPACE", ""),
|
|
71
71
|
CONDUIT_REPO: pick("CONDUIT_REPO", ""),
|
|
72
72
|
CONDUIT_DRIVERS: pick("CONDUIT_DRIVERS", "cursor"),
|
|
73
|
-
CONDUIT_ROLES: pick("CONDUIT_ROLES", "implement research"),
|
|
73
|
+
CONDUIT_ROLES: pick("CONDUIT_ROLES", "implement research review"),
|
|
74
74
|
loadedFrom,
|
|
75
75
|
};
|
|
76
76
|
}
|
package/ops/env.example
CHANGED
|
@@ -12,4 +12,5 @@ CONDUIT_URL=https://api.conduit.miraland.io
|
|
|
12
12
|
CONDUIT_WORKSPACE=$HOME/path/to/your-repo
|
|
13
13
|
# CONDUIT_REPO=https://github.com/your-org/your-repo.git
|
|
14
14
|
CONDUIT_DRIVERS=cursor
|
|
15
|
-
|
|
15
|
+
# Product-standard roles — leave all three so Start/retry plans can match without reconnect.
|
|
16
|
+
CONDUIT_ROLES=implement research review
|
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.5",
|
|
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": {
|