@rakay-technology/kraft 0.7.7 → 0.7.8

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.
@@ -1776,7 +1776,7 @@ function operatorEnvPassthrough(managed, prev) {
1776
1776
  }
1777
1777
  var PRESERVED_ENV_HEADER = "# Preserved from your existing .env \u2014 set by you, not by `kraft up` (#485).";
1778
1778
  function resolveImageVersion(opts) {
1779
- return opts.version?.trim() || process.env.KRAFT_VERSION?.trim() || (true ? "0.7.7" : "latest");
1779
+ return opts.version?.trim() || process.env.KRAFT_VERSION?.trim() || (true ? "0.7.8" : "latest");
1780
1780
  }
1781
1781
  function managedEnvLines(opts, host, cfg, prev) {
1782
1782
  const lines = [
@@ -43,7 +43,7 @@ import {
43
43
  resolvePorts,
44
44
  sourceBuildDir,
45
45
  verifyHostChannel
46
- } from "./chunk-RU2BVUEV.js";
46
+ } from "./chunk-OTBBNOIV.js";
47
47
  import {
48
48
  startUnitHint,
49
49
  thisHost
@@ -1942,7 +1942,7 @@ async function runForeground(opts, source) {
1942
1942
  const uiSpinner = ora("Preparing the dashboard\u2026").start();
1943
1943
  try {
1944
1944
  const bundle = await ensureDashboard({
1945
- tag: source ? "local" : opts.uiVersion || `v${"0.7.7"}`,
1945
+ tag: source ? "local" : opts.uiVersion || `v${"0.7.8"}`,
1946
1946
  onProgress: (received, total) => {
1947
1947
  if (total) {
1948
1948
  uiSpinner.text = `Downloading dashboard\u2026 ${Math.round(received / total * 100)}%`;
@@ -5,7 +5,7 @@ const require = __ospCreateRequire(import.meta.url);
5
5
  import {
6
6
  checkHostChannel,
7
7
  verifyHostChannel
8
- } from "./chunk-RU2BVUEV.js";
8
+ } from "./chunk-OTBBNOIV.js";
9
9
  import "./chunk-2UQFOUSZ.js";
10
10
  import "./chunk-5GPXMTE4.js";
11
11
  import "./chunk-XZYFZ6A5.js";
package/dist/index.js CHANGED
@@ -38,7 +38,7 @@ import {
38
38
  upCommand,
39
39
  validateGithubToken,
40
40
  writeCliInstall
41
- } from "./chunk-OQ5TBV4T.js";
41
+ } from "./chunk-S7UU7WAK.js";
42
42
  import {
43
43
  bootstrapAdmin,
44
44
  detectPublicIp,
@@ -92,7 +92,7 @@ import {
92
92
  sourceBuildDir,
93
93
  storedApiPort,
94
94
  storedDashboardPort
95
- } from "./chunk-RU2BVUEV.js";
95
+ } from "./chunk-OTBBNOIV.js";
96
96
  import {
97
97
  startUnitHint
98
98
  } from "./chunk-2UQFOUSZ.js";
@@ -330,7 +330,7 @@ function getDashboardUrl(name) {
330
330
  }
331
331
 
332
332
  // src/lib/api-client.ts
333
- var USER_AGENT = `kraft-cli/${true ? "0.7.7" : "dev"}`;
333
+ var USER_AGENT = `kraft-cli/${true ? "0.7.8" : "dev"}`;
334
334
  function getApiUrl2() {
335
335
  return `${getApiUrl()}/api`;
336
336
  }
@@ -1276,7 +1276,7 @@ function dockerNameRunning(nameFilter) {
1276
1276
  return r.stdout.trim().length > 0;
1277
1277
  }
1278
1278
  async function hostControlCheck(api) {
1279
- const { checkHostChannel } = await import("./host-channel-preflight-QMAF2BQW.js");
1279
+ const { checkHostChannel } = await import("./host-channel-preflight-IWQHVFG5.js");
1280
1280
  return hostControlRow(await checkHostChannel().catch(() => null), api);
1281
1281
  }
1282
1282
  var NEVER_PROVISIONED_DETAIL = `never provisioned \u2014 run \`${HOST_CHANNEL_PROVISION_COMMAND}\``;
@@ -1835,7 +1835,7 @@ async function interactiveDoctor() {
1835
1835
  continue;
1836
1836
  }
1837
1837
  if (action2 === "host-control") {
1838
- const { verifyHostChannel } = await import("./host-channel-preflight-QMAF2BQW.js");
1838
+ const { verifyHostChannel } = await import("./host-channel-preflight-IWQHVFG5.js");
1839
1839
  const report3 = await verifyHostChannel().catch(() => null);
1840
1840
  if (report3?.status === "fixed")
1841
1841
  log2.success("Host control is reachable now.");
@@ -5495,7 +5495,7 @@ function printMonitoringNextSteps() {
5495
5495
  info(" kraft edge analytics -p <project> per-domain analytics");
5496
5496
  }
5497
5497
  async function runMonitoringInstall(opts) {
5498
- const up = await import("./up-IYR35YWW.js");
5498
+ const up = await import("./up-7WW25O2I.js");
5499
5499
  let adminName = opts.adminName;
5500
5500
  let adminEmail = opts.adminEmail;
5501
5501
  let adminPassword = opts.adminPassword;
@@ -8069,7 +8069,7 @@ function applyOnlyArgv(selfArgs, json) {
8069
8069
  // src/commands/update.ts
8070
8070
  async function verifyHostChannelAfterUpdate() {
8071
8071
  if (isJsonMode()) return;
8072
- const { verifyHostChannel } = await import("./host-channel-preflight-QMAF2BQW.js");
8072
+ const { verifyHostChannel } = await import("./host-channel-preflight-IWQHVFG5.js");
8073
8073
  await verifyHostChannel().catch(() => {
8074
8074
  });
8075
8075
  }
@@ -8169,7 +8169,7 @@ async function runSourceUpdate(source, opts) {
8169
8169
  }
8170
8170
  var REINSTALL_HINT = "curl -fsSL https://get.kraft.io | sh";
8171
8171
  async function runTarballUpdate(install, opts) {
8172
- const current = "0.7.7";
8172
+ const current = "0.7.8";
8173
8173
  let latest;
8174
8174
  try {
8175
8175
  latest = (await resolveLatestTag()).replace(/^v/, "");
@@ -8290,7 +8290,7 @@ var updateCommand = new Command26("update").description("Update the Kraft CLI +
8290
8290
  const cliInstall = readCliInstall();
8291
8291
  if (cliInstall?.method === "tarball")
8292
8292
  return runTarballUpdate(cliInstall, opts);
8293
- const current = "0.7.7";
8293
+ const current = "0.7.8";
8294
8294
  let latest;
8295
8295
  try {
8296
8296
  latest = (await resolveLatestTag()).replace(/^v/, "");
@@ -9137,7 +9137,7 @@ async function runWizard() {
9137
9137
  }
9138
9138
  }
9139
9139
  }
9140
- const uiTag = `v${"0.7.7"}`;
9140
+ const uiTag = `v${"0.7.8"}`;
9141
9141
  if (method === "bare") {
9142
9142
  const dl = spinner4();
9143
9143
  dl.start("Pulling the Kraft dist from GitHub");
@@ -9205,7 +9205,7 @@ async function runWizard() {
9205
9205
  const dashboardPort = String(ports.dashboard);
9206
9206
  const moved = portMoveNotice(ports, composeTrustedOriginUrls());
9207
9207
  if (moved.length) log5.info(moved.join("\n"));
9208
- if (!pinnedImagesReady({ version: "0.7.7" })) {
9208
+ if (!pinnedImagesReady({ version: "0.7.8" })) {
9209
9209
  cancel4(
9210
9210
  "The pinned Kraft image tag isn't in the registry yet \u2014 nothing on this box was changed."
9211
9211
  );
@@ -9256,7 +9256,7 @@ async function runWizard() {
9256
9256
  dashboardPort,
9257
9257
  publicUrl,
9258
9258
  trustProxy: behindProxy,
9259
- version: "0.7.7",
9259
+ version: "0.7.8",
9260
9260
  noHostControl: !allowHostControl
9261
9261
  });
9262
9262
  if (!fetched.ok) {
@@ -9287,7 +9287,7 @@ async function runWizard() {
9287
9287
  dashboardPort,
9288
9288
  publicUrl,
9289
9289
  trustProxy: behindProxy,
9290
- version: "0.7.7",
9290
+ version: "0.7.8",
9291
9291
  noHostControl: !allowHostControl
9292
9292
  });
9293
9293
  if (!up.ok) {
@@ -9379,7 +9379,7 @@ async function runWizard() {
9379
9379
  if (!result.domainRegistered)
9380
9380
  liveUrl2 = `http://localhost:${started.dashPort}`;
9381
9381
  for (const w of result.warnings) log5.warn(w);
9382
- const { verifyHostChannel } = await import("./host-channel-preflight-QMAF2BQW.js");
9382
+ const { verifyHostChannel } = await import("./host-channel-preflight-IWQHVFG5.js");
9383
9383
  await verifyHostChannel().catch(() => {
9384
9384
  });
9385
9385
  finishSetup({
@@ -9683,7 +9683,7 @@ function attachCompletion(program2) {
9683
9683
 
9684
9684
  // src/index.ts
9685
9685
  var program = new Command29();
9686
- program.name("kraft").description("Kraft CLI \u2014 install, run, and manage Kraft from your terminal").version("0.7.7").option("--json", "Machine-readable JSON output (stdout data only)").hook("preAction", (thisCommand) => {
9686
+ program.name("kraft").description("Kraft CLI \u2014 install, run, and manage Kraft from your terminal").version("0.7.8").option("--json", "Machine-readable JSON output (stdout data only)").hook("preAction", (thisCommand) => {
9687
9687
  if (thisCommand.opts().json) setJsonMode(true);
9688
9688
  }).action(async () => {
9689
9689
  const installed = serviceStatus().installed || readInstallMethod() === "compose";
@@ -321505,7 +321505,7 @@ var package_default;
321505
321505
  var init_package = __esm(() => {
321506
321506
  package_default = {
321507
321507
  name: "@repo/api",
321508
- version: "0.7.7",
321508
+ version: "0.7.8",
321509
321509
  license: "Apache-2.0",
321510
321510
  private: true,
321511
321511
  type: "module",
@@ -7,10 +7,10 @@ import {
7
7
  runHeadlessProvision,
8
8
  startService,
9
9
  upCommand
10
- } from "./chunk-OQ5TBV4T.js";
10
+ } from "./chunk-S7UU7WAK.js";
11
11
  import "./chunk-JK7KKBXI.js";
12
12
  import "./chunk-IGTODKUA.js";
13
- import "./chunk-RU2BVUEV.js";
13
+ import "./chunk-OTBBNOIV.js";
14
14
  import "./chunk-2UQFOUSZ.js";
15
15
  import "./chunk-5GPXMTE4.js";
16
16
  import "./chunk-XZYFZ6A5.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rakay-technology/kraft",
3
- "version": "0.7.7",
3
+ "version": "0.7.8",
4
4
  "description": "Kraft CLI - deploy, manage, and open your Kraft platform from the terminal",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {