gencow 0.1.294 → 0.1.296
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 +7 -0
- package/core/index.js +124 -32
- package/lib/app-command.mjs +3 -0
- package/lib/app-inactive-stop-format.mjs +17 -0
- package/lib/cli-command-runner.mjs +8 -1
- package/lib/codegen-command.mjs +3 -2
- package/lib/deploy-codegen-preflight.mjs +1 -0
- package/lib/deploy-declaration-diagnostic.mjs +15 -0
- package/lib/deploy-declaration-preflight.mjs +26 -0
- package/lib/deploy-failure-diagnostic.mjs +10 -10
- package/lib/deploy-failure-next-action.mjs +16 -0
- package/lib/deploy-package-runtime.mjs +6 -31
- package/lib/jobs-command.mjs +10 -0
- package/lib/opencode-config.mjs +41 -7
- package/lib/procedure-rpc-diagnostic.mjs +6 -0
- package/package.json +4 -4
- package/runtime/server.mjs +214 -197
- package/runtime/tooling.mjs +113 -8
- package/scripts/tooling-codegen-runtime.ts +17 -3
- package/templateFeature/ai/ai-image-jobs.ts +2 -16
- package/templateFeature/ai/ai-image.ts +318 -10
- package/templateFeature/ai/ai-provider.ts +1 -0
- package/templateFeature/ai/ai.ts +2 -0
- package/templateFeature/ai/manifest.json +1 -0
|
@@ -39,6 +39,12 @@ export function formatProcedureRpcDiagnostic(caught) {
|
|
|
39
39
|
if (caught.retryPrecondition !== undefined)
|
|
40
40
|
lines.push(`Retry precondition: ${safeDetail(caught.retryPrecondition)}`);
|
|
41
41
|
if (caught.nextAction !== undefined) lines.push(`Next action: ${safeDetail(caught.nextAction)}`);
|
|
42
|
+
if (caught.scheduler && ["accepted", "pending", "rejected", "mixed"].includes(caught.scheduler.state) &&
|
|
43
|
+
Array.isArray(caught.scheduler.operationIds) && caught.scheduler.operationIds.length <= 64 &&
|
|
44
|
+
Array.from(caught.scheduler.operationIds).every((id) => typeof id === "string" && /^[A-Za-z0-9._:-]{1,256}$/u.test(id))) {
|
|
45
|
+
lines.push(`Scheduler state: ${caught.scheduler.state}`);
|
|
46
|
+
for (const id of caught.scheduler.operationIds) lines.push(`Scheduler operation: ${id}`);
|
|
47
|
+
}
|
|
42
48
|
if (Number.isInteger(caught.status) && caught.status >= 400 && caught.status <= 599)
|
|
43
49
|
lines.push(`HTTP status: ${caught.status}`);
|
|
44
50
|
if (typeof caught.correlationId === "string" && SAFE_CORRELATION.test(caught.correlationId))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gencow",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.296",
|
|
4
4
|
"description": "Gencow — AI Backend Engine",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -41,10 +41,10 @@
|
|
|
41
41
|
"better-auth": "1.7.11",
|
|
42
42
|
"postgres": "^3.4.9",
|
|
43
43
|
"@gencow/client": "0.2.9",
|
|
44
|
-
"@gencow/core": "0.1.48",
|
|
45
|
-
"@gencow/shared": "0.0.0",
|
|
46
44
|
"@gencow/server": "0.1.3",
|
|
47
|
-
"@gencow/react": "0.2.9"
|
|
45
|
+
"@gencow/react": "0.2.9",
|
|
46
|
+
"@gencow/core": "0.1.48",
|
|
47
|
+
"@gencow/shared": "0.0.0"
|
|
48
48
|
},
|
|
49
49
|
"scripts": {
|
|
50
50
|
"build": "node scripts/bundle-core.mjs && node scripts/bundle-shared.mjs && node scripts/bundle-server.mjs",
|