@akanjs/cli 3.1.1-rc.1 → 3.1.1-rc.10

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 (75) hide show
  1. package/.build-stamp +1 -1
  2. package/{CodeAgent-4pnxwptq.js → CodeAgent-8d5qs787.js} +2 -2
  3. package/{CodeTui-hhndze8h.js → CodeTui-z5vkm9ea.js} +1 -1
  4. package/TunnelShare-qkm8zp03.js +14 -0
  5. package/{agent.command-p02330r6.js → agent.command-ydftceda.js} +5 -5
  6. package/akanCode.js +2 -2
  7. package/{application.command-1117fgq9.js → application.command-wthg8nn9.js} +11 -11
  8. package/{applicationBuildRunner-9cnnsdm5.js → applicationBuildRunner-t2r84sz6.js} +72 -26
  9. package/buildBatch.proc.js +5 -5
  10. package/{cloud.command-ttb2s2x6.js → cloud.command-sz11hpre.js} +22 -17
  11. package/cloud.script-nqevg5qw.js +24 -0
  12. package/{code.command-16pm1p2v.js → code.command-9h3yrzhe.js} +6 -6
  13. package/{context.command-6ys86sqf.js → context.command-15j9b7c0.js} +16 -16
  14. package/context.runner-8gg030b0.js +25 -0
  15. package/{guideline.command-3zay3d8g.js → guideline.command-snh85ctf.js} +2 -2
  16. package/guidelines/agentRule/agentRule.instruction.md +21 -4
  17. package/guidelines/conventions/conventions.instruction.md +10 -7
  18. package/guidelines/pageRule/pageRule.instruction.md +8 -0
  19. package/guidelines/queryRule/queryRule.instruction.md +13 -1
  20. package/guidelines/runtimeRule/runtimeRule.instruction.md +12 -0
  21. package/guidelines/workspaceOnboarding/workspaceOnboarding.instruction.md +2 -1
  22. package/incrementalBuilder.proc.js +3 -3
  23. package/{index-jgs8z8xb.js → index-0fz95kxe.js} +1 -1
  24. package/{index-2ar6tffh.js → index-2azahjaw.js} +67 -19
  25. package/{index-vcpbrrf2.js → index-2mwc0g0d.js} +1 -1
  26. package/{index-qkcwsg6r.js → index-2xcc2ax5.js} +2 -2
  27. package/{index-sww1x1mv.js → index-301pdbzz.js} +56 -9
  28. package/{index-z6v7k9sb.js → index-31es1yev.js} +24 -2
  29. package/{index-p4dnj2wc.js → index-3wypz6xj.js} +59 -8
  30. package/{index-e9e9cebg.js → index-40brg4px.js} +3 -3
  31. package/{index-tk3jg2bm.js → index-42j4a8zq.js} +2 -2
  32. package/{index-1mfyyxh5.js → index-4vgbysa0.js} +3 -3
  33. package/{index-9hbhm6cs.js → index-55j120r8.js} +1 -1
  34. package/{index-7f0edwsj.js → index-6txx6a9p.js} +45 -4
  35. package/{index-zn6bn1s2.js → index-74tjjsnc.js} +4 -4
  36. package/{index-g2s33373.js → index-905qdgqp.js} +1 -1
  37. package/{index-1cq1hq12.js → index-9th4gszy.js} +17 -15
  38. package/{index-bb4hj03s.js → index-a58emady.js} +10 -10
  39. package/{index-4w3skd33.js → index-a5dhqkdr.js} +3 -3
  40. package/{index-sh9mmp5v.js → index-b70zct19.js} +7 -7
  41. package/{index-z9xepn8t.js → index-bt438yxm.js} +556 -142
  42. package/{index-ngpn9hzy.js → index-espk51ah.js} +2 -2
  43. package/{index-b5vptvnt.js → index-hmt54t45.js} +4 -4
  44. package/{index-qfzfaq96.js → index-j9vyj3dj.js} +3 -3
  45. package/{index-ekpp5tax.js → index-js6geqjn.js} +4 -97
  46. package/{index-fmder14z.js → index-pcwzkdqb.js} +1 -1
  47. package/{index-jaa81e9r.js → index-qfp55x1y.js} +4 -4
  48. package/{index-sng3vt0p.js → index-skk9zc1x.js} +2 -2
  49. package/{index-rr7jk14m.js → index-wcej7g4z.js} +13 -10
  50. package/{index-q8age5az.js → index-xb8809yb.js} +2 -2
  51. package/{index-ynqxpwx6.js → index-xjf5j657.js} +1 -1
  52. package/index.js +22 -22
  53. package/{library.command-a8n9h8j4.js → library.command-gycrwhf1.js} +3 -3
  54. package/{localRegistry.command-c2mxqf4h.js → localRegistry.command-jtd8gaes.js} +12 -12
  55. package/{module.command-b6f1p1xa.js → module.command-v6hgs1bc.js} +5 -5
  56. package/{package.command-tc27ftmy.js → package.command-shzpcfph.js} +3 -3
  57. package/package.json +2 -2
  58. package/{page.command-m5wyqfkd.js → page.command-ptxn5kqk.js} +3 -3
  59. package/{pipeline.command-4qxyafpz.js → pipeline.command-zz31pgax.js} +2 -2
  60. package/{primitive.command-9yaatk0d.js → primitive.command-a1vse91z.js} +6 -6
  61. package/{projectTypecheck-87k6z6ab.js → projectTypecheck-2ztky9cf.js} +1 -1
  62. package/{quality.command-fxn07zwp.js → quality.command-ah8qcakd.js} +2 -2
  63. package/{repair.command-evg9g911.js → repair.command-cvazbz99.js} +5 -5
  64. package/{scalar.command-xsejjeq1.js → scalar.command-0acvyp26.js} +4 -4
  65. package/{subspace.command-4mjjxgmf.js → subspace.command-822qx2bx.js} +8 -8
  66. package/templates/app/tsconfig.json.template +2 -7
  67. package/templates/env/_env.server.type.ts +10 -5
  68. package/templates/facetIndex/index.ts +2 -2
  69. package/templates/workspaceRoot/bunfig.toml.template +0 -4
  70. package/{tunnel.command-7f41pm7y.js → tunnel.command-ycmja19q.js} +7 -7
  71. package/{workflow.command-qpyq0ya5.js → workflow.command-abb1d5xy.js} +10 -10
  72. package/{workspace.command-qvwdqmnd.js → workspace.command-qm7cw29v.js} +33 -32
  73. package/TunnelShare-8qtffcex.js +0 -14
  74. package/cloud.script-fqp3zh02.js +0 -24
  75. package/context.runner-3jrypwe3.js +0 -25
@@ -19,11 +19,11 @@ import {
19
19
  CsrDevPaths,
20
20
  PagesEntrySourceGenerator,
21
21
  PagesBundleBuilder
22
- } from "./index-jgs8z8xb.js";
22
+ } from "./index-0fz95kxe.js";
23
23
  import {
24
24
  AsyncDefaultExportDetector,
25
25
  resolveSsrPageEntriesForApp
26
- } from "./index-rr7jk14m.js";
26
+ } from "./index-wcej7g4z.js";
27
27
 
28
28
  // pkgs/@akanjs/devkit/frontendBuild/autoImportSync.ts
29
29
  import { readdir, readFile, stat } from "fs/promises";
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  runner,
4
4
  script
5
- } from "./index-p4dnj2wc.js";
5
+ } from "./index-3wypz6xj.js";
6
6
  import {
7
7
  ModuleExecutor
8
- } from "./index-rr7jk14m.js";
8
+ } from "./index-wcej7g4z.js";
9
9
  import {
10
10
  sourceFile,
11
11
  moduleSourcePaths,
@@ -13,10 +13,10 @@ import {
13
13
  createPassedPrimitiveReport,
14
14
  bilingualLabelForField,
15
15
  bilingualDescriptionForField
16
- } from "./index-ynqxpwx6.js";
16
+ } from "./index-xjf5j657.js";
17
17
  import {
18
18
  PageScript
19
- } from "./index-g2s33373.js";
19
+ } from "./index-905qdgqp.js";
20
20
  import {
21
21
  pluralizeName
22
22
  } from "./index-nz8prx9g.js";
@@ -5,13 +5,13 @@ import {
5
5
  writeGeneratedSyncState,
6
6
  createRepairReport,
7
7
  renderRepairReport
8
- } from "./index-ynqxpwx6.js";
8
+ } from "./index-xjf5j657.js";
9
9
  import {
10
10
  AkanContextAnalyzer
11
- } from "./index-z6v7k9sb.js";
11
+ } from "./index-31es1yev.js";
12
12
  import {
13
13
  runner
14
- } from "./index-p4dnj2wc.js";
14
+ } from "./index-3wypz6xj.js";
15
15
 
16
16
  // pkgs/@akanjs/cli/repair/repair.runner.ts
17
17
  var spawnShell = async (workspace, command) => await workspace.spawn("bash", ["-lc", command.startsWith("akan ") ? `bun run ${command}` : command], {
@@ -1,8 +1,7 @@
1
1
  // @bun
2
2
  import {
3
- DesktopBin,
4
- UpdatePackFolder
5
- } from "./index-z9xepn8t.js";
3
+ DesktopBin
4
+ } from "./index-bt438yxm.js";
6
5
  // pkgs/@akanjs/devkit/mobile/desktopServerStage.ts
7
6
  import { cp, mkdir, readdir, rm, writeFile } from "fs/promises";
8
7
  import path from "path";
@@ -12,6 +11,7 @@ class DesktopServerStage {
12
11
  static uncarried = new Set([
13
12
  "Dockerfile",
14
13
  "package.json",
14
+ "bun.lock",
15
15
  "rscWorker.js",
16
16
  "console.js",
17
17
  "console-runtime.js",
@@ -145,97 +145,4 @@ var isPlaceholderAppId = (appId) => {
145
145
  return true;
146
146
  return normalized.split(".").some((segment) => placeholderAppIdSegment.test(segment));
147
147
  };
148
- // pkgs/@akanjs/devkit/mobile/updateUploader.ts
149
- import { readdir as readdir2 } from "fs/promises";
150
- import path2 from "path";
151
- import { isRecord, trimTrailingSlashes } from "akanjs/common";
152
- class UpdateUploader {
153
- bucket;
154
- prefix;
155
- static #manifest = /\.json(?:\.sig)?$/;
156
- static parseTarget(target) {
157
- const match = /^s3:\/\/([^/]+)(?:\/(.*))?$/.exec(target.trim());
158
- if (!match?.[1])
159
- throw new Error(`--upload takes s3://<bucket>/<prefix>, not ${JSON.stringify(target)}.`);
160
- return { bucket: match[1], prefix: trimTrailingSlashes(match[2] ?? "") };
161
- }
162
- static order(files) {
163
- const manifests = files.filter((file) => UpdateUploader.#manifest.test(file));
164
- return {
165
- releases: files.filter((file) => !UpdateUploader.#manifest.test(file)).sort((a, b) => a.localeCompare(b)),
166
- manifests: manifests.sort((a, b) => Number(a.endsWith(".json")) - Number(b.endsWith(".json")) || a.localeCompare(b))
167
- };
168
- }
169
- static async releaseFiles(updatesDir, { dir, channel, bundle }) {
170
- const keyOf = (file) => UpdateUploader.#keyOf(updatesDir, dir, file);
171
- const desktop = await UpdateUploader.#read(path2.join(dir, `${channel}.json`));
172
- if (desktop?.bundle === bundle) {
173
- const archive = desktop.archive?.url;
174
- const patches = UpdateUploader.#field(desktop.patches, "url");
175
- return [archive, ...patches, `${channel}.json.sig`, `${channel}.json`].map(keyOf);
176
- }
177
- const names = await readdir2(path2.join(dir, channel)).catch(() => []);
178
- for (const name of names.filter((name) => name.endsWith(".json"))) {
179
- const envelope = await UpdateUploader.#read(path2.join(dir, channel, name));
180
- const manifest = typeof envelope?.manifest === "string" ? UpdateUploader.#parse(Buffer.from(envelope.manifest, "base64").toString("utf8")) : null;
181
- if (manifest?.bundle !== bundle)
182
- continue;
183
- const hashes = [...new Set(UpdateUploader.#field(manifest.files, "sha256"))];
184
- if (!hashes.every((hash) => typeof hash === "string" && /^[0-9a-f]{64}$/.test(hash)))
185
- throw new Error(`${path2.join(dir, channel, name)} lists a file whose sha256 is not 64 hex digits; nothing was uploaded.`);
186
- return [...hashes.map((hash) => `${UpdatePackFolder.filesDir}/${hash}`), `${channel}/${name}`].map(keyOf);
187
- }
188
- throw new Error(`${dir} holds no ${channel} manifest of release ${bundle}; nothing was uploaded.`);
189
- }
190
- static #keyOf(updatesDir, dir, file) {
191
- const resolved = typeof file === "string" ? path2.resolve(dir, file) : "";
192
- const key = path2.relative(updatesDir, resolved);
193
- if (!resolved.startsWith(`${path2.resolve(dir)}${path2.sep}`) || key.startsWith("..") || path2.isAbsolute(key))
194
- throw new Error(`The release in ${dir} names ${typeof file === "string" ? JSON.stringify(file) : "a file with no path"}, which is not inside that folder; nothing was uploaded.`);
195
- return key.split(path2.sep).join("/");
196
- }
197
- static #field(list, key) {
198
- return Array.isArray(list) ? list.map((item) => isRecord(item) ? item[key] : undefined) : [];
199
- }
200
- static async#read(file) {
201
- const text = await Bun.file(file).text().catch(() => "");
202
- return UpdateUploader.#parse(text);
203
- }
204
- static #parse(text) {
205
- try {
206
- const value = JSON.parse(text);
207
- return isRecord(value) ? value : null;
208
- } catch {
209
- return null;
210
- }
211
- }
212
- constructor(bucket, prefix) {
213
- this.bucket = bucket;
214
- this.prefix = prefix;
215
- }
216
- static forTarget(target) {
217
- const { bucket, prefix } = UpdateUploader.parseTarget(target);
218
- return new UpdateUploader(new Bun.S3Client({ bucket }), prefix);
219
- }
220
- async upload(updatesDir, release) {
221
- const { releases, manifests } = UpdateUploader.order(await UpdateUploader.releaseFiles(updatesDir, release));
222
- const keyOf = (file) => this.prefix ? `${this.prefix}/${file}` : file;
223
- let uploaded = 0;
224
- let skipped = 0;
225
- for (const file of releases) {
226
- if (await this.bucket.exists(keyOf(file))) {
227
- skipped++;
228
- continue;
229
- }
230
- await this.bucket.write(keyOf(file), Bun.file(path2.join(updatesDir, file)));
231
- uploaded++;
232
- }
233
- for (const file of manifests) {
234
- const type = file.endsWith(".json") ? "application/json" : "text/plain";
235
- await this.bucket.write(keyOf(file), Bun.file(path2.join(updatesDir, file)), { type });
236
- uploaded++;
237
- }
238
- return { uploaded, skipped };
239
- }
240
- }
241
- export { DesktopServerStage, isPlaceholderAppId, UpdateUploader };
148
+ export { DesktopServerStage, isPlaceholderAppId };
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  AppInfo
4
- } from "./index-rr7jk14m.js";
4
+ } from "./index-wcej7g4z.js";
5
5
 
6
6
  // pkgs/@akanjs/devkit/slicePlanner.ts
7
7
  class SlicePlanner {
@@ -1,16 +1,16 @@
1
1
  // @bun
2
2
  import {
3
3
  jsonText
4
- } from "./index-ynqxpwx6.js";
4
+ } from "./index-xjf5j657.js";
5
5
  import {
6
6
  akanMcpInstallTargets
7
- } from "./index-z6v7k9sb.js";
7
+ } from "./index-31es1yev.js";
8
8
  import {
9
9
  script
10
- } from "./index-p4dnj2wc.js";
10
+ } from "./index-3wypz6xj.js";
11
11
  import {
12
12
  ContextRunner2
13
- } from "./index-bb4hj03s.js";
13
+ } from "./index-a58emady.js";
14
14
 
15
15
  // pkgs/@akanjs/cli/context/context.script.ts
16
16
  import { Logger } from "akanjs/common";
@@ -2,12 +2,12 @@
2
2
  import {
3
3
  runner,
4
4
  script
5
- } from "./index-p4dnj2wc.js";
5
+ } from "./index-3wypz6xj.js";
6
6
  import {
7
7
  generatedFilesForSync,
8
8
  createPassedPrimitiveReport,
9
9
  scalarChangedFiles
10
- } from "./index-ynqxpwx6.js";
10
+ } from "./index-xjf5j657.js";
11
11
  import {
12
12
  pluralizeName
13
13
  } from "./index-nz8prx9g.js";
@@ -997,10 +997,10 @@ class AkanAppConfig {
997
997
  ...this.web.csr ? {} : { AKAN_CSR: "false" }
998
998
  };
999
999
  }
1000
- dockerfileFor(environment) {
1001
- return this.#makeDockerfile(environment);
1000
+ dockerfileFor(environment, { lockfile = true } = {}) {
1001
+ return this.#makeDockerfile(environment, lockfile);
1002
1002
  }
1003
- #makeDockerfile(environment) {
1003
+ #makeDockerfile(environment, lockfile = true) {
1004
1004
  if (typeof this.docker === "string")
1005
1005
  return this.docker;
1006
1006
  const { image, preRuns, postRuns, command } = this.docker;
@@ -1016,8 +1016,8 @@ ${preRunScripts.join(`
1016
1016
  `)}
1017
1017
  RUN mkdir -p /workspace
1018
1018
  WORKDIR /workspace
1019
- COPY ./package.json ./package.json
1020
- RUN bun install --production
1019
+ ${lockfile ? "COPY ./package.json ./bun.lock ./" : "COPY ./package.json ./package.json"}
1020
+ RUN bun install --production${lockfile ? " --frozen-lockfile" : ""}
1021
1021
  ${postRunScripts.join(`
1022
1022
  `)}
1023
1023
  COPY . .
@@ -1853,15 +1853,17 @@ var emptyResult = (filePath) => ({
1853
1853
  });
1854
1854
 
1855
1855
  class Linter {
1856
- static biomeBinName = process.platform === "win32" ? "biome.exe" : "biome";
1856
+ static biomeCommand(root) {
1857
+ const wrapper = path9.join(root, "node_modules", "@biomejs", "biome", "bin", "biome");
1858
+ return existsSync2(wrapper) ? [process.execPath, wrapper] : ["biome"];
1859
+ }
1857
1860
  lintRoot;
1858
1861
  configPath;
1859
- #biomeBin;
1862
+ #biomeCommand;
1860
1863
  constructor(cwdPath) {
1861
1864
  this.lintRoot = this.#findBiomeRootPath(cwdPath);
1862
1865
  this.configPath = Linter.#configPathIn(this.lintRoot) ?? path9.join(this.lintRoot, "biome.json");
1863
- const localBiomeBin = path9.join(this.lintRoot, "node_modules", ".bin", Linter.biomeBinName);
1864
- this.#biomeBin = existsSync2(localBiomeBin) ? localBiomeBin : "biome";
1866
+ this.#biomeCommand = Linter.biomeCommand(this.lintRoot);
1865
1867
  }
1866
1868
  static #configPathIn(dir) {
1867
1869
  for (const fileName of BIOME_CONFIG_FILES) {
@@ -1890,7 +1892,8 @@ class Linter {
1890
1892
  }
1891
1893
  async#runBiome(args, input) {
1892
1894
  return await new Promise((resolve, reject) => {
1893
- const proc = spawn(this.#biomeBin, args, {
1895
+ const [command, ...prefixArgs] = this.#biomeCommand;
1896
+ const proc = spawn(command, [...prefixArgs, ...args], {
1894
1897
  cwd: this.lintRoot,
1895
1898
  stdio: ["pipe", "pipe", "pipe"]
1896
1899
  });
@@ -1,13 +1,13 @@
1
1
  // @bun
2
2
  import {
3
3
  resolveSsrPageEntriesForApp
4
- } from "./index-rr7jk14m.js";
4
+ } from "./index-wcej7g4z.js";
5
5
  import {
6
6
  bundleDefine,
7
7
  CsrEntryFiles,
8
8
  PagesEntrySourceGenerator,
9
9
  PagesBundleBuilder
10
- } from "./index-jgs8z8xb.js";
10
+ } from "./index-0fz95kxe.js";
11
11
 
12
12
  // pkgs/@akanjs/devkit/frontendBuild/csrArtifactBuilder.ts
13
13
  import { mkdir as mkdir2, rm as rm2, unlink as unlink2 } from "fs/promises";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  AppExecutor,
4
4
  LibExecutor
5
- } from "./index-rr7jk14m.js";
5
+ } from "./index-wcej7g4z.js";
6
6
 
7
7
  // pkgs/@akanjs/devkit/workflow/artifacts.ts
8
8
  import { capitalize } from "akanjs/common";
package/index.js CHANGED
@@ -4,9 +4,9 @@ import {
4
4
  getTargetMetas,
5
5
  getTargetCommandNames,
6
6
  runCommands
7
- } from "./index-p4dnj2wc.js";
7
+ } from "./index-3wypz6xj.js";
8
8
  import"./index-52w0fvh8.js";
9
- import"./index-rr7jk14m.js";
9
+ import"./index-wcej7g4z.js";
10
10
 
11
11
  // pkgs/@akanjs/cli/bunVersionGuard.ts
12
12
  class BunVersionGuard {
@@ -22,26 +22,26 @@ import path from "path";
22
22
 
23
23
  // pkgs/@akanjs/cli/commandModules.ts
24
24
  var commandModules = {
25
- workspace: async () => (await import("./workspace.command-qvwdqmnd.js")).WorkspaceCommand,
26
- agent: async () => (await import("./agent.command-p02330r6.js")).AgentCommand,
27
- code: async () => (await import("./code.command-16pm1p2v.js")).CodeCommand,
28
- application: async () => (await import("./application.command-1117fgq9.js")).ApplicationCommand,
29
- library: async () => (await import("./library.command-a8n9h8j4.js")).LibraryCommand,
30
- localRegistry: async () => (await import("./localRegistry.command-c2mxqf4h.js")).LocalRegistryCommand,
31
- package: async () => (await import("./package.command-tc27ftmy.js")).PackageCommand,
32
- module: async () => (await import("./module.command-b6f1p1xa.js")).ModuleCommand,
33
- page: async () => (await import("./page.command-m5wyqfkd.js")).PageCommand,
34
- context: async () => (await import("./context.command-6ys86sqf.js")).ContextCommand,
35
- cloud: async () => (await import("./cloud.command-ttb2s2x6.js")).CloudCommand,
36
- subspace: async () => (await import("./subspace.command-4mjjxgmf.js")).SubspaceCommand,
37
- guideline: async () => (await import("./guideline.command-3zay3d8g.js")).GuidelineCommand,
38
- scalar: async () => (await import("./scalar.command-xsejjeq1.js")).ScalarCommand,
39
- primitive: async () => (await import("./primitive.command-9yaatk0d.js")).PrimitiveCommand,
40
- quality: async () => (await import("./quality.command-fxn07zwp.js")).QualityCommand,
41
- repair: async () => (await import("./repair.command-evg9g911.js")).RepairCommand,
42
- workflow: async () => (await import("./workflow.command-qpyq0ya5.js")).WorkflowCommand,
43
- pipeline: async () => (await import("./pipeline.command-4qxyafpz.js")).PipelineCommand,
44
- tunnel: async () => (await import("./tunnel.command-7f41pm7y.js")).TunnelCommand
25
+ workspace: async () => (await import("./workspace.command-qm7cw29v.js")).WorkspaceCommand,
26
+ agent: async () => (await import("./agent.command-ydftceda.js")).AgentCommand,
27
+ code: async () => (await import("./code.command-9h3yrzhe.js")).CodeCommand,
28
+ application: async () => (await import("./application.command-wthg8nn9.js")).ApplicationCommand,
29
+ library: async () => (await import("./library.command-gycrwhf1.js")).LibraryCommand,
30
+ localRegistry: async () => (await import("./localRegistry.command-jtd8gaes.js")).LocalRegistryCommand,
31
+ package: async () => (await import("./package.command-shzpcfph.js")).PackageCommand,
32
+ module: async () => (await import("./module.command-v6hgs1bc.js")).ModuleCommand,
33
+ page: async () => (await import("./page.command-ptxn5kqk.js")).PageCommand,
34
+ context: async () => (await import("./context.command-15j9b7c0.js")).ContextCommand,
35
+ cloud: async () => (await import("./cloud.command-sz11hpre.js")).CloudCommand,
36
+ subspace: async () => (await import("./subspace.command-822qx2bx.js")).SubspaceCommand,
37
+ guideline: async () => (await import("./guideline.command-snh85ctf.js")).GuidelineCommand,
38
+ scalar: async () => (await import("./scalar.command-0acvyp26.js")).ScalarCommand,
39
+ primitive: async () => (await import("./primitive.command-a1vse91z.js")).PrimitiveCommand,
40
+ quality: async () => (await import("./quality.command-ah8qcakd.js")).QualityCommand,
41
+ repair: async () => (await import("./repair.command-cvazbz99.js")).RepairCommand,
42
+ workflow: async () => (await import("./workflow.command-abb1d5xy.js")).WorkflowCommand,
43
+ pipeline: async () => (await import("./pipeline.command-zz31pgax.js")).PipelineCommand,
44
+ tunnel: async () => (await import("./tunnel.command-ycmja19q.js")).TunnelCommand
45
45
  };
46
46
  var commandModuleIds = Object.keys(commandModules);
47
47
 
@@ -3,12 +3,12 @@ import {
3
3
  Lib,
4
4
  Workspace,
5
5
  command
6
- } from "./index-p4dnj2wc.js";
6
+ } from "./index-3wypz6xj.js";
7
7
  import"./index-52w0fvh8.js";
8
- import"./index-rr7jk14m.js";
8
+ import"./index-wcej7g4z.js";
9
9
  import {
10
10
  LibraryScript
11
- } from "./index-qkcwsg6r.js";
11
+ } from "./index-2xcc2ax5.js";
12
12
 
13
13
  // pkgs/@akanjs/cli/library/library.command.ts
14
14
  class LibraryCommand extends command("library", [LibraryScript], ({ public: target }) => ({
@@ -4,32 +4,32 @@ import {
4
4
  runner,
5
5
  script,
6
6
  command
7
- } from "./index-p4dnj2wc.js";
7
+ } from "./index-3wypz6xj.js";
8
8
  import"./index-52w0fvh8.js";
9
9
  import {
10
10
  PkgExecutor
11
- } from "./index-rr7jk14m.js";
11
+ } from "./index-wcej7g4z.js";
12
12
  import"./index-5nd1wtkv.js";
13
- import"./index-ekpp5tax.js";
13
+ import"./index-bt438yxm.js";
14
+ import"./index-js6geqjn.js";
14
15
  import"./index-m9jj544v.js";
15
- import"./index-z9xepn8t.js";
16
- import"./index-q8age5az.js";
17
- import"./index-jgs8z8xb.js";
18
- import"./index-qkcwsg6r.js";
16
+ import"./index-xb8809yb.js";
17
+ import"./index-0fz95kxe.js";
18
+ import"./index-2xcc2ax5.js";
19
19
  import {
20
20
  ApplicationScript
21
- } from "./index-1cq1hq12.js";
21
+ } from "./index-9th4gszy.js";
22
22
  import"./index-7md2g9vw.js";
23
- import"./index-2ar6tffh.js";
23
+ import"./index-2azahjaw.js";
24
24
  import {
25
25
  getNpmRegistryUrl,
26
26
  CloudRunner
27
- } from "./index-7f0edwsj.js";
27
+ } from "./index-6txx6a9p.js";
28
28
  import"./index-tvehn2sp.js";
29
29
  import {
30
30
  PackageScript
31
- } from "./index-tk3jg2bm.js";
32
- import"./index-fmder14z.js";
31
+ } from "./index-42j4a8zq.js";
32
+ import"./index-pcwzkdqb.js";
33
33
 
34
34
  // pkgs/@akanjs/cli/localRegistry/localRegistry.runner.ts
35
35
  import { mkdir, rm } from "fs/promises";
@@ -3,16 +3,16 @@ import {
3
3
  Sys,
4
4
  Module,
5
5
  command
6
- } from "./index-p4dnj2wc.js";
6
+ } from "./index-3wypz6xj.js";
7
7
  import"./index-52w0fvh8.js";
8
- import"./index-rr7jk14m.js";
8
+ import"./index-wcej7g4z.js";
9
9
  import {
10
10
  renderPrimitiveReport
11
- } from "./index-ynqxpwx6.js";
12
- import"./index-g2s33373.js";
11
+ } from "./index-xjf5j657.js";
12
+ import"./index-905qdgqp.js";
13
13
  import {
14
14
  ModuleScript
15
- } from "./index-b5vptvnt.js";
15
+ } from "./index-hmt54t45.js";
16
16
 
17
17
  // pkgs/@akanjs/cli/module/module.command.ts
18
18
  import { Logger, lowerlize } from "akanjs/common";
@@ -3,13 +3,13 @@ import {
3
3
  Pkg,
4
4
  Workspace,
5
5
  command
6
- } from "./index-p4dnj2wc.js";
6
+ } from "./index-3wypz6xj.js";
7
7
  import"./index-52w0fvh8.js";
8
- import"./index-rr7jk14m.js";
8
+ import"./index-wcej7g4z.js";
9
9
  import"./index-tvehn2sp.js";
10
10
  import {
11
11
  PackageScript
12
- } from "./index-tk3jg2bm.js";
12
+ } from "./index-42j4a8zq.js";
13
13
 
14
14
  // pkgs/@akanjs/cli/package/package.command.ts
15
15
  class PackageCommand extends command("package", [PackageScript], ({ public: target }) => ({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akanjs/cli",
3
- "version": "3.1.1-rc.1",
3
+ "version": "3.1.1-rc.10",
4
4
  "sourceType": "module",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -39,7 +39,7 @@
39
39
  "@earendil-works/pi-tui": "1.3.0",
40
40
  "@inquirer/prompts": "^8.7.3",
41
41
  "@tailwindcss/node": "^4.3.3",
42
- "akanjs": "3.1.1-rc.1",
42
+ "akanjs": "3.1.1-rc.10",
43
43
  "chalk": "^6.0.1",
44
44
  "commander": "^15.0.0",
45
45
  "dayjs": "^1.11.23",
@@ -3,12 +3,12 @@ import {
3
3
  App,
4
4
  Module,
5
5
  command
6
- } from "./index-p4dnj2wc.js";
6
+ } from "./index-3wypz6xj.js";
7
7
  import"./index-52w0fvh8.js";
8
- import"./index-rr7jk14m.js";
8
+ import"./index-wcej7g4z.js";
9
9
  import {
10
10
  PageScript
11
- } from "./index-g2s33373.js";
11
+ } from "./index-905qdgqp.js";
12
12
 
13
13
  // pkgs/@akanjs/cli/page/page.command.ts
14
14
  class PageCommand extends command("page", [PageScript], ({ public: target }) => ({
@@ -4,7 +4,7 @@ import {
4
4
  runner,
5
5
  script,
6
6
  command
7
- } from "./index-p4dnj2wc.js";
7
+ } from "./index-3wypz6xj.js";
8
8
  import {
9
9
  FileSys2
10
10
  } from "./index-52w0fvh8.js";
@@ -12,7 +12,7 @@ import {
12
12
  AkanAppConfig,
13
13
  AkanWorkspaceConfig,
14
14
  AppExecutor
15
- } from "./index-rr7jk14m.js";
15
+ } from "./index-wcej7g4z.js";
16
16
  import {
17
17
  resolveMobileTargets
18
18
  } from "./index-m9jj544v.js";
@@ -2,17 +2,17 @@
2
2
  import {
3
3
  Workspace,
4
4
  command
5
- } from "./index-p4dnj2wc.js";
5
+ } from "./index-3wypz6xj.js";
6
6
  import"./index-52w0fvh8.js";
7
- import"./index-rr7jk14m.js";
7
+ import"./index-wcej7g4z.js";
8
8
  import {
9
9
  renderPrimitiveReport
10
- } from "./index-ynqxpwx6.js";
11
- import"./index-g2s33373.js";
12
- import"./index-b5vptvnt.js";
10
+ } from "./index-xjf5j657.js";
11
+ import"./index-905qdgqp.js";
12
+ import"./index-hmt54t45.js";
13
13
  import {
14
14
  PrimitiveScript
15
- } from "./index-zn6bn1s2.js";
15
+ } from "./index-74tjjsnc.js";
16
16
 
17
17
  // pkgs/@akanjs/cli/primitive/primitive.command.ts
18
18
  import { Logger } from "akanjs/common";
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  ProjectTypecheck2
4
- } from "./index-rr7jk14m.js";
4
+ } from "./index-wcej7g4z.js";
5
5
  export {
6
6
  ProjectTypecheck2 as ProjectTypecheck
7
7
  };
@@ -3,7 +3,7 @@ import {
3
3
  Workspace,
4
4
  script,
5
5
  command
6
- } from "./index-p4dnj2wc.js";
6
+ } from "./index-3wypz6xj.js";
7
7
  import"./index-52w0fvh8.js";
8
8
  import {
9
9
  rootAllowedFiles,
@@ -12,7 +12,7 @@ import {
12
12
  libFacetRootHintOf,
13
13
  facetIndexShadowOf,
14
14
  rootEntryHintOf
15
- } from "./index-rr7jk14m.js";
15
+ } from "./index-wcej7g4z.js";
16
16
 
17
17
  // pkgs/@akanjs/devkit/qualityScanner.ts
18
18
  import { createHash } from "crypto";
@@ -3,15 +3,15 @@ import {
3
3
  Workspace,
4
4
  script,
5
5
  command
6
- } from "./index-p4dnj2wc.js";
6
+ } from "./index-3wypz6xj.js";
7
7
  import"./index-52w0fvh8.js";
8
- import"./index-rr7jk14m.js";
8
+ import"./index-wcej7g4z.js";
9
9
  import"./index-hj6w4ka1.js";
10
- import"./index-ynqxpwx6.js";
11
- import"./index-z6v7k9sb.js";
10
+ import"./index-xjf5j657.js";
11
+ import"./index-31es1yev.js";
12
12
  import {
13
13
  RepairRunner
14
- } from "./index-qfzfaq96.js";
14
+ } from "./index-j9vyj3dj.js";
15
15
 
16
16
  // pkgs/@akanjs/cli/repair/repair.script.ts
17
17
  import { Logger } from "akanjs/common";
@@ -2,15 +2,15 @@
2
2
  import {
3
3
  Sys,
4
4
  command
5
- } from "./index-p4dnj2wc.js";
5
+ } from "./index-3wypz6xj.js";
6
6
  import"./index-52w0fvh8.js";
7
- import"./index-rr7jk14m.js";
7
+ import"./index-wcej7g4z.js";
8
8
  import {
9
9
  renderPrimitiveReport
10
- } from "./index-ynqxpwx6.js";
10
+ } from "./index-xjf5j657.js";
11
11
  import {
12
12
  ScalarScript
13
- } from "./index-sng3vt0p.js";
13
+ } from "./index-skk9zc1x.js";
14
14
 
15
15
  // pkgs/@akanjs/cli/scalar/scalar.command.ts
16
16
  import { Logger, lowerlize } from "akanjs/common";