gencow 0.1.186 → 0.1.187

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/bin/gencow.mjs CHANGED
@@ -81,7 +81,6 @@ import {
81
81
  warn,
82
82
  } from "../lib/output.mjs";
83
83
  import { platformFetch, requireCreds, rpcMutation, rpcQuery } from "../lib/platform-client.mjs";
84
- import { failReleaseAttempt, finalizeReleaseAttempt, prepareReleaseAttempt } from "../lib/release-client.mjs";
85
84
 
86
85
  const __dirname = dirname(fileURLToPath(import.meta.url));
87
86
  const CLI_PACKAGE_JSON = JSON.parse(readFileSync(resolve(__dirname, "..", "package.json"), "utf8"));
@@ -229,9 +228,6 @@ const runStaticDeployRuntime = createStaticDeployRuntime({
229
228
  drizzleKitCmdImpl: _drizzleKitCmd,
230
229
  verifyAppReadyImpl: verifyAppReady,
231
230
  updateEnvLocalUrlImpl: updateEnvLocalUrl,
232
- prepareReleaseAttemptImpl: prepareReleaseAttempt,
233
- finalizeReleaseAttemptImpl: finalizeReleaseAttempt,
234
- failReleaseAttemptImpl: failReleaseAttempt,
235
231
  });
236
232
  const runDeployCommand = createDeployCommand({
237
233
  buildEnvImpl: buildEnv,
@@ -259,9 +255,6 @@ const runDeployCommand = createDeployCommand({
259
255
  verifyAppReadyImpl: verifyAppReady,
260
256
  writeFileSyncImpl: writeFileSync,
261
257
  updateEnvLocalUrlImpl: updateEnvLocalUrl,
262
- prepareReleaseAttemptImpl: prepareReleaseAttempt,
263
- finalizeReleaseAttemptImpl: finalizeReleaseAttempt,
264
- failReleaseAttemptImpl: failReleaseAttempt,
265
258
  });
266
259
  const runDomainCommand = createDomainCommand();
267
260
  const runEnvCommand = createEnvCommand();
@@ -356,7 +349,7 @@ ${BOLD}Usage:${RESET}
356
349
 
357
350
  ${BOLD}Quick Start:${RESET}
358
351
  ${GREEN}init <name>${RESET} Create a new Gencow project
359
- ${DIM}--template, -t Select template (default, task-app, fullstack, ai-chat)${RESET}
352
+ ${DIM}--template, -t Select template (default, task-app, admin-tool, fullstack, ai-chat)${RESET}
360
353
  ${DIM}--force, -f Initialize in non-empty directory (preserves existing files)${RESET}
361
354
  ${GREEN}add <comp...>${RESET} Add components ${DIM}(AI Agent RAG Tools Memory ...)${RESET}
362
355
  ${GREEN}codegen${RESET} Generate frontend api.ts from schema
@@ -368,6 +361,7 @@ ${BOLD}Commands (login required):${RESET}
368
361
  ${GREEN}logout${RESET} Clear credentials
369
362
  ${GREEN}whoami${RESET} Show current user info
370
363
  ${GREEN}dev${RESET} Watch + auto-deploy to cloud + live logs
364
+ ${DIM}--local Run local Bun + Hono + PGlite development${RESET}
371
365
  ${DIM}--verbose Show all HTTP logs (including admin/ws)${RESET}
372
366
  ${GREEN}db:push${RESET} Apply versioned migrations to cloud DB
373
367
  ${DIM}--prod Push to production DB (confirmation required)${RESET}
@@ -385,7 +379,7 @@ ${BOLD}Commands (login required):${RESET}
385
379
  ${GREEN}templates clone <slug>${RESET} Clone a template into a local directory
386
380
  ${GREEN}deploy${RESET} Deploy backend to cloud ${DIM}(dev by default)${RESET}
387
381
  ${DIM}--static [dir] Deploy backend, then static files${RESET}
388
- ${DIM}--prod Deploy to production (Pro+ only)${RESET}
382
+ ${DIM}--prod Deploy to production (Startup/Enterprise)${RESET}
389
383
  ${DIM}--rollback Rollback to previous deployment${RESET}
390
384
  ${DIM}--force, -f Skip optional dependency scan${RESET}
391
385
  ${DIM}logs [-n N] Show cloud app server logs${RESET}
@@ -393,7 +387,7 @@ ${BOLD}Commands (login required):${RESET}
393
387
  ${GREEN}env list${RESET} List cloud env vars ${DIM}(--prod for production)${RESET}
394
388
  ${GREEN}env set K=V${RESET} Set cloud env var ${DIM}(hot-reload, no restart)${RESET}
395
389
  ${GREEN}env unset KEY${RESET} Remove cloud env var
396
- ${GREEN}env push${RESET} Push .env to cloud ${DIM}(--prod reads .env.production)${RESET}
390
+ ${GREEN}env push${RESET} Push backend env file ${DIM}(gencow/.env by default)${RESET}
397
391
  ${GREEN}cors list${RESET} Show legacy CORS overrides
398
392
  ${GREEN}cors add URL${RESET} Add legacy CORS override ${DIM}(compat only)${RESET}
399
393
  ${GREEN}cors remove URL${RESET} Remove legacy CORS override
@@ -446,7 +440,7 @@ ${BOLD}Examples:${RESET}
446
440
  ${DIM}# Deploy built frontend files only:${RESET}
447
441
  gencow static dist/
448
442
 
449
- ${DIM}# Deploy to production (Pro+ only):${RESET}
443
+ ${DIM}# Deploy to production (Startup/Enterprise):${RESET}
450
444
  gencow deploy --prod
451
445
 
452
446
  ${DIM}# Inspect stale workflows:${RESET}
package/core/index.js CHANGED
@@ -3047,7 +3047,6 @@ var RESERVED_TENANT_RUNTIME_ENV_PREFIXES = [
3047
3047
  "__GENCOW_",
3048
3048
  "GENCOW_CONTROL_PLANE_",
3049
3049
  "GENCOW_PLATFORM_STORAGE_",
3050
- "GENCOW_RELEASE_",
3051
3050
  "GENCOW_DOCUMENT_",
3052
3051
  "GENCOW_TEMPLATE_",
3053
3052
  "GENCOW_WARM_",