@kryd/cli 0.9.0 → 0.9.1

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.
Files changed (2) hide show
  1. package/dist/index.js +6 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -18282,7 +18282,7 @@ async function runWorkflowAdd(opts) {
18282
18282
  const current = await getWorkflowStatus(apiUrl, token, project2);
18283
18283
  if (current.enabled) {
18284
18284
  process.stdout.write(
18285
- `${project2} already has workflows \u2014 HATCHET_CLIENT_TOKEN is injected on deploy` + (current.tokenExpiresAt ? ` and the token expires ${isoDay(current.tokenExpiresAt)}.
18285
+ `${project2} already has workflows \u2014 HATCHET_CLIENT_TOKEN is injected on production deploys (previews get none)` + (current.tokenExpiresAt ? ` and the token expires ${isoDay(current.tokenExpiresAt)}.
18286
18286
  ` : ".\n") + `Nothing was changed. To rotate the token, run \`kryd workflow remove\` and then \`kryd workflow add\`.
18287
18287
  `
18288
18288
  );
@@ -18291,7 +18291,7 @@ async function runWorkflowAdd(opts) {
18291
18291
  const status = await addWorkflows(apiUrl, token, { projectId: project2 });
18292
18292
  process.stdout.write(
18293
18293
  `Workflows added to ${project2}.
18294
- HATCHET_CLIENT_TOKEN will be injected on your next deploy (kryd deploy)` + (status.tokenExpiresAt ? `; the token expires ${isoDay(status.tokenExpiresAt)}.
18294
+ HATCHET_CLIENT_TOKEN will be injected on your next production deploy (kryd deploy; previews get none)` + (status.tokenExpiresAt ? `; the token expires ${isoDay(status.tokenExpiresAt)}.
18295
18295
  ` : ".\n")
18296
18296
  );
18297
18297
  } catch (err) {
@@ -18482,7 +18482,7 @@ To add a worker to the app in that repository instead, run \`kryd workflow init\
18482
18482
  next.push("kryd init", "kryd workflow add", "kryd push");
18483
18483
  process.stdout.write(
18484
18484
  `Next: ${next.map((c) => `\`${c}\``).join(", then ")}.
18485
- HATCHET_CLIENT_TOKEN is injected into your container on deploy; it is never available locally.
18485
+ HATCHET_CLIENT_TOKEN is injected into your container on production deploys (previews get none); it is never available locally.
18486
18486
  `
18487
18487
  );
18488
18488
  return;
@@ -18510,7 +18510,7 @@ HATCHET_CLIENT_TOKEN is injected into your container on deploy; it is never avai
18510
18510
  process.stdout.write(
18511
18511
  `
18512
18512
  Next: ${next.map((c) => `\`${c}\``).join(", then ")}.
18513
- HATCHET_CLIENT_TOKEN is injected into your container on deploy; it is never available locally.
18513
+ HATCHET_CLIENT_TOKEN is injected into your container on production deploys (previews get none); it is never available locally.
18514
18514
  `
18515
18515
  );
18516
18516
  }
@@ -18632,7 +18632,7 @@ Nothing was left behind.
18632
18632
 
18633
18633
  Every production push now builds your app AND this worker, and goes live only when both are healthy. Previews run the app only.
18634
18634
  Next: ${next.map((c) => `\`${c}\``).join(", then ")}.
18635
- HATCHET_CLIENT_TOKEN is injected into your app and your worker on deploy \u2014 your app triggers tasks with it; it is never available locally.
18635
+ HATCHET_CLIENT_TOKEN is injected into your app and your worker on production deploys (previews get none) \u2014 your app triggers tasks with it; it is never available locally.
18636
18636
  ` + // The app is still built (and type-checked) from the root, so a tsconfig that includes every
18637
18637
  // file would compile the worker too — against an SDK the app does not depend on.
18638
18638
  (existsSync3(join3(target, "tsconfig.json")) ? `Add "${folder}" to the "exclude" of your tsconfig.json, so your app's build does not type-check the worker.
@@ -19125,7 +19125,7 @@ Run \`kryd env list\` to see what is set. (If you meant the runtime variable of
19125
19125
  await reportError(err);
19126
19126
  }
19127
19127
  }
19128
- var CLI_VERSION = true ? "0.9.0" : "0.0.0-dev";
19128
+ var CLI_VERSION = true ? "0.9.1" : "0.0.0-dev";
19129
19129
  var program = new Command();
19130
19130
  program.name("kryd").description("Kryd CLI").version(CLI_VERSION);
19131
19131
  program.hook("postAction", async () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kryd/cli",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "Kryd CLI — push a React / Vite / Next.js app to the European cloud for your AI: git push → live with SSL, one-click managed Postgres & object storage, and an EU-hosted AI gateway already wired in. Your code and your model calls stay in the EU.",
5
5
  "keywords": [
6
6
  "kryd",