@miraland-labs/conduit-bridge 0.16.115 → 0.16.116
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/execution.js +4 -5
- package/dist/failure-signal.js +3 -4
- package/dist/quota-reset.js +3 -4
- package/package.json +1 -1
package/dist/execution.js
CHANGED
|
@@ -13,7 +13,7 @@ import { execFile } from "node:child_process";
|
|
|
13
13
|
import { promisify } from "node:util";
|
|
14
14
|
import { buildWorkspaceBrief, ensureCommitAvailable, fetchOrigin, normalizeRepositoryUrl, resolveAttemptStartCommit } from "./brief.js";
|
|
15
15
|
import { buildSovereignExecutionFacts, bootstrapResultForWorkspace, changedExecutionFact, resumeExecutionFacts, workspaceIsClean } from "./execution-facts.js";
|
|
16
|
-
import { agentOutputCause, boundedDetail, bridgeCause, executionFactChangedSignal, verificationRedBaseSignal, verificationScopeConflictSignal } from "./failure-signal.js";
|
|
16
|
+
import { agentOutputCause, boundedDetail, bridgeCause, contractScopeConflictFailure, executionFactChangedSignal, verificationRedBaseSignal, verificationScopeConflictSignal } from "./failure-signal.js";
|
|
17
17
|
import { forgeTransportFailure } from "./transport-fault.js";
|
|
18
18
|
import { managedWorkspacePath, switchManagedWorkspace } from "./on-shift-apply.js";
|
|
19
19
|
import { formatResetMinute, parseQuotaResetAt } from "./quota-reset.js";
|
|
@@ -207,11 +207,10 @@ export function classifyFinalizeFailure(message) {
|
|
|
207
207
|
// Bridge names the contract defect it found (K3); an unknown throw below stays prose until its
|
|
208
208
|
// own site names a code.
|
|
209
209
|
if (FINALIZE_CONTRACT_PATTERN.test(message)) {
|
|
210
|
-
// The
|
|
211
|
-
//
|
|
212
|
-
// prose until the finalize site emits it as a typed signal (K3 step 2b design).
|
|
210
|
+
// The envelope carries the contract and hold pair, which the runner schema admits. The prose
|
|
211
|
+
// stays beside it for the owner's words.
|
|
213
212
|
const failure = CONTRACT_SCOPE_CONFLICT_MESSAGE.test(message)
|
|
214
|
-
?
|
|
213
|
+
? contractScopeConflictFailure(message)
|
|
215
214
|
: VERIFICATION_UNWITNESSABLE_MESSAGE.test(message)
|
|
216
215
|
? bridgeCause("verification_unwitnessable", message)
|
|
217
216
|
: message.startsWith(AGENT_NO_LAND_COMMIT_PREFIX)
|
package/dist/failure-signal.js
CHANGED
|
@@ -8,10 +8,9 @@ import { z } from "zod";
|
|
|
8
8
|
* beside the prose: drivers that hold structured knowledge (a vendor envelope status, an exit
|
|
9
9
|
* code, the denied tool) emit it, and classification reads the signal first, the regex second.
|
|
10
10
|
*
|
|
11
|
-
*
|
|
12
|
-
* src/conductor/failure-signal.ts
|
|
13
|
-
*
|
|
14
|
-
* them to stay in step.
|
|
11
|
+
* The Bridge source is packages/conduit-bridge/src/failure-signal.ts. The control-plane copy at
|
|
12
|
+
* src/conductor/failure-signal.ts is generated by `npm run sync:twins`. Do not edit that copy.
|
|
13
|
+
* Bridge cannot import from the control plane, and the other way round.
|
|
15
14
|
*/
|
|
16
15
|
export const failureSignalSchema = z.object({
|
|
17
16
|
phase: z.enum(["claim", "checkout", "bootstrap", "agent", "verification", "delivery_report", "land"]),
|
package/dist/quota-reset.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The refill time a vendor states in a quota refusal, as an absolute clock.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
* src/conductor/quota-reset.ts
|
|
6
|
-
*
|
|
7
|
-
* them to stay in step.
|
|
4
|
+
* The Bridge source is packages/conduit-bridge/src/quota-reset.ts. The control-plane copy at
|
|
5
|
+
* src/conductor/quota-reset.ts is generated by `npm run sync:twins`. Do not edit that copy. Bridge
|
|
6
|
+
* cannot import from the control plane, and the other way round.
|
|
8
7
|
*
|
|
9
8
|
* Vendors phrase the refill as an absolute clock time (RFC 1123), a wall clock in a named zone
|
|
10
9
|
* (Claude Code's "resets 3:10pm (UTC)"), a duration ("try again in 2h 14m", or agy's Go form
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@miraland-labs/conduit-bridge",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.116",
|
|
4
4
|
"description": "Conduit Bridge CLI \u2014 join, connect, disconnect, multi-driver lanes, and run Claude Code / Codex / Cursor / OpenCode / Pi / Kiro / Antigravity / Grok Build agents for a Conduit organization",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|