@miraland-labs/conduit-bridge 0.9.2 → 0.9.4
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/ops.js +1 -1
- package/ops/env.example +6 -3
- 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.4` — **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/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
|
@@ -5,9 +5,12 @@
|
|
|
5
5
|
# npx @miraland-labs/conduit-bridge@latest ops connect
|
|
6
6
|
# npx @miraland-labs/conduit-bridge@latest ops install
|
|
7
7
|
# Local shortcuts after init-ops: ~/conduit/ops/*.sh (Mac/Linux) or *.cmd (Windows)
|
|
8
|
+
#
|
|
9
|
+
# Replace the placeholders below with YOUR org, local checkout, and (optional) git remote.
|
|
8
10
|
CONDUIT_URL=https://api.conduit.miraland.io
|
|
9
11
|
# CONDUIT_ORG=your-org-slug
|
|
10
|
-
CONDUIT_WORKSPACE=$HOME/
|
|
11
|
-
# CONDUIT_REPO=https://github.com/
|
|
12
|
+
CONDUIT_WORKSPACE=$HOME/path/to/your-repo
|
|
13
|
+
# CONDUIT_REPO=https://github.com/your-org/your-repo.git
|
|
12
14
|
CONDUIT_DRIVERS=cursor
|
|
13
|
-
|
|
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.4",
|
|
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": {
|