gencow 0.1.202 → 0.1.204
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/lib/app-command.mjs +8 -3
- package/package.json +4 -4
- package/server/index.js.map +0 -7
package/lib/app-command.mjs
CHANGED
|
@@ -22,8 +22,9 @@ import { loadCreds, rpcMutation, rpcQuery, saveCreds, requireCreds } from "./pla
|
|
|
22
22
|
import { resolveProjectMetadataPath, resolveProjectSelection } from "./project-context.mjs";
|
|
23
23
|
import { updateEnvLocalUrl } from "./cli-project-runtime.mjs";
|
|
24
24
|
|
|
25
|
-
// Covers the 60s runtime-observer restart grace
|
|
26
|
-
|
|
25
|
+
// Covers the 60s runtime-observer restart grace, reconciliation scans, and
|
|
26
|
+
// one delayed worker acquisition without reporting a completed deletion as pending.
|
|
27
|
+
const DEFAULT_DELETE_POLL_ATTEMPTS = 120;
|
|
27
28
|
const DELETE_POLL_INTERVAL_MS = 1_000;
|
|
28
29
|
const DEFAULT_APP_CREATE_TIMEOUT_MS = 60_000;
|
|
29
30
|
|
|
@@ -235,7 +236,11 @@ export function createAppCommand({
|
|
|
235
236
|
}
|
|
236
237
|
const { appId, appUrl } = createdApp;
|
|
237
238
|
|
|
238
|
-
|
|
239
|
+
// Environment credentials are ephemeral automation inputs. Persisting them would
|
|
240
|
+
// overwrite a customer's interactive login in ~/.gencow/credentials.json.
|
|
241
|
+
if (creds.credentialSource !== "environment") {
|
|
242
|
+
saveCredsImpl({ ...creds, currentApp: appId });
|
|
243
|
+
}
|
|
239
244
|
|
|
240
245
|
const cwd = cwdImpl();
|
|
241
246
|
const projectSelection = resolveProjectSelection({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gencow",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.204",
|
|
4
4
|
"description": "Gencow — AI Backend Engine",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@types/node": "^25.9.5",
|
|
35
35
|
"better-auth": "^1.6.23",
|
|
36
|
-
"@gencow/
|
|
37
|
-
"@gencow/react": "0.2.
|
|
38
|
-
"@gencow/
|
|
36
|
+
"@gencow/client": "0.2.6",
|
|
37
|
+
"@gencow/react": "0.2.6",
|
|
38
|
+
"@gencow/core": "0.1.43"
|
|
39
39
|
},
|
|
40
40
|
"scripts": {
|
|
41
41
|
"prebuild": "pnpm --filter @gencow/migration-contract run build && pnpm --filter @gencow/server run build",
|