@picassohq/cli 1.0.1 → 1.0.2
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/build-info.json +1 -1
- package/dist/index.js +1291 -1257
- package/package.json +1 -1
- package/runtime/engine-manifest.json +10 -9
- package/runtime/packages/picasso-lean-context/index.js +238 -7
- package/runtime/packages/picasso-lean-context/read-image-recovery.js +306 -0
- package/runtime/packages/picasso-lean-context/timeline.js +4 -3
- package/runtime/packages/picasso-model-router/connections.js +17 -0
- package/runtime/packages/picasso-model-router/index.js +2 -0
- package/runtime/packages/picasso-sdk-server/aside.js +15 -1
- package/runtime/packages/picasso-sdk-server/index.js +6 -1
- package/runtime/packages/picasso-web-search/backends.js +71 -9
- package/runtime/packages/picasso-web-search/failure.js +9 -4
- package/runtime/packages/picasso-web-search/format.js +13 -6
- package/runtime/packages/picasso-web-search/index.js +9 -4
- package/runtime/packages/picasso-web-search/router.js +3 -2
- package/runtime/plugins/picasso-lean-context/index.js +238 -7
- package/runtime/plugins/picasso-lean-context/read-image-recovery.js +306 -0
- package/runtime/plugins/picasso-lean-context/timeline.js +4 -3
- package/runtime/plugins/picasso-model-router/connections.js +17 -0
- package/runtime/plugins/picasso-model-router/index.js +2 -0
- package/runtime/plugins/picasso-web-search/backends.js +71 -9
- package/runtime/plugins/picasso-web-search/failure.js +9 -4
- package/runtime/plugins/picasso-web-search/format.js +13 -6
- package/runtime/plugins/picasso-web-search/index.js +9 -4
- package/runtime/plugins/picasso-web-search/router.js +3 -2
- package/runtime/relay/main.mjs +2403 -1075
- package/runtime/relay/versions-routes.mjs +218 -16
|
@@ -121,7 +121,8 @@ export function createRouter({ ctx, readConfig, backends, sleep = defaultSleep,
|
|
|
121
121
|
continue;
|
|
122
122
|
}
|
|
123
123
|
if (step.role === 'native' && !(await backend.configured(call))) {
|
|
124
|
-
|
|
124
|
+
const ref = await backend.keyRef?.(call);
|
|
125
|
+
attempts.push({ name: backend.name, reason: new BackendFailure('credentials', { ref }).reason });
|
|
125
126
|
continue;
|
|
126
127
|
}
|
|
127
128
|
try {
|
|
@@ -134,7 +135,7 @@ export function createRouter({ ctx, readConfig, backends, sleep = defaultSleep,
|
|
|
134
135
|
if (error.permanent) state.dead.set(step.id, error.reason);
|
|
135
136
|
}
|
|
136
137
|
}
|
|
137
|
-
throw Object.assign(new Error(formatUnavailable(attempts)), { code: UNAVAILABLE_CODE, attempts });
|
|
138
|
+
throw Object.assign(new Error(formatUnavailable(attempts, { route })), { code: UNAVAILABLE_CODE, attempts });
|
|
138
139
|
},
|
|
139
140
|
|
|
140
141
|
/**
|