@miraland-labs/conduit-bridge 0.16.106 → 0.16.107
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 +1 -1
- package/dist/failure-signal.js +4 -1
- package/package.json +1 -1
package/dist/execution.js
CHANGED
|
@@ -1205,7 +1205,7 @@ async function runAttempt(client, config, driver, workspace, brief, taskId, watc
|
|
|
1205
1205
|
error: message,
|
|
1206
1206
|
retryable,
|
|
1207
1207
|
failure: retryable
|
|
1208
|
-
? bridgeCause("agent_execution_failed", message)
|
|
1208
|
+
? bridgeCause(forgeTransportFailure(message) ? "forge_unreachable" : "agent_execution_failed", message)
|
|
1209
1209
|
: bridgeCause(message.startsWith(NORMATIVE_REF_PREFIX) ? "execution_contract_failed" : "execution_unclassified", message),
|
|
1210
1210
|
idempotency_key: `bridge:normative-ref:${active.attemptId}`,
|
|
1211
1211
|
},
|
package/dist/failure-signal.js
CHANGED
|
@@ -105,7 +105,10 @@ export function isBridgeCauseCode(value) {
|
|
|
105
105
|
/** The envelope for a cause Bridge names by code, with the run's own words as the detail. */
|
|
106
106
|
export function bridgeCause(code, detail) {
|
|
107
107
|
const cause = BRIDGE_CAUSES[code];
|
|
108
|
-
|
|
108
|
+
// The control plane's envelope schema bounds the detail at 20,000 characters and refuses the
|
|
109
|
+
// whole terminal report otherwise; the run's words are cut there, never the report.
|
|
110
|
+
const text = detail?.trim() ?? "";
|
|
111
|
+
return { code, ...cause, ...(text ? { diagnostic_detail: text.length > 20_000 ? `${text.slice(0, 19_999)}…` : text } : {}) };
|
|
109
112
|
}
|
|
110
113
|
/** A reset time as a person reads it: "2026-09-10 09:36 UTC". Every reset is stored ISO in UTC. */
|
|
111
114
|
function resetClock(resetsAt) {
|
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.107",
|
|
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": {
|