@akanjs/cli 3.0.0-alpha.71 → 3.0.0-alpha.73

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 (65) hide show
  1. package/.build-stamp +1 -1
  2. package/{abstractCompactor-20e0cwbs.js → abstractCompactor-8yjc9sj4.js} +1 -1
  3. package/{agent.command-xdvw642m.js → agent.command-z0cam80t.js} +6 -6
  4. package/{application.command-g3f7xj25.js → application.command-2dct57za.js} +11 -12
  5. package/{applicationBuildRunner-af0wtspv.js → applicationBuildRunner-ds8acdfz.js} +3 -3
  6. package/{applicationReleasePackager-93nzdfsy.js → applicationReleasePackager-0jf6ejr4.js} +2 -2
  7. package/buildBatch.proc.js +4 -4
  8. package/{capacitorApp-b0ppke3m.js → capacitorApp-md7dnt25.js} +2 -2
  9. package/{cloud.command-0hmsv44q.js → cloud.command-8j7xrxsm.js} +10 -10
  10. package/{context.command-x92afrnf.js → context.command-xjf4y7em.js} +14 -14
  11. package/{dependencyScanner-rbs2407b.js → dependencyScanner-aqg3dkks.js} +1 -1
  12. package/{guideline.command-hpq08q66.js → guideline.command-yzm0qevv.js} +4 -4
  13. package/guidelines/conventions/conventions.instruction.md +17 -9
  14. package/guidelines/ssrRule/ssrRule.instruction.md +49 -5
  15. package/incrementalBuilder.proc.js +5 -5
  16. package/{index-737aj4fm.js → index-116w1dap.js} +4 -4
  17. package/{index-cp00yns2.js → index-5r4e65hb.js} +65 -62
  18. package/{index-abyjt72y.js → index-61x7qthy.js} +17 -21
  19. package/{index-m5gfc86a.js → index-763h7h9g.js} +1 -1
  20. package/{index-wnp7hwq7.js → index-94hdqqka.js} +1 -1
  21. package/{index-r691v756.js → index-9gqzgfsd.js} +4 -4
  22. package/{index-pehn44hr.js → index-a341yqdh.js} +3 -3
  23. package/{index-gvq17wqn.js → index-akz5xvyw.js} +17 -5
  24. package/{index-6d5r8q6k.js → index-bmz9crym.js} +13 -6
  25. package/{index-nq3avsf6.js → index-eed7vc38.js} +66 -33
  26. package/{index-46tjzh6s.js → index-h5sr2nnj.js} +24 -24
  27. package/{index-5f4gnt4c.js → index-h9cybjep.js} +91 -19
  28. package/{index-sqsfv8wg.js → index-hvbdre8z.js} +4 -10
  29. package/{index-qnv0aqmm.js → index-jcm6zr20.js} +3 -1
  30. package/{index-j37qq1f2.js → index-k7731a4v.js} +4 -4
  31. package/{index-8besc14m.js → index-q0s2dp3y.js} +1 -1
  32. package/{index-ety6takb.js → index-q13s3e01.js} +3 -3
  33. package/{index-jybbmwed.js → index-qge1hc70.js} +5 -5
  34. package/{index-sh01r3pm.js → index-safgeq9a.js} +3 -2
  35. package/{index-xjd3rqzj.js → index-scemmfpj.js} +6 -15
  36. package/{index-wbbswwqt.js → index-te6r1b79.js} +5 -5
  37. package/{index-p27h7535.js → index-vrra4ttx.js} +6 -6
  38. package/{index-hs70d8ed.js → index-y3wyqcsp.js} +6 -6
  39. package/{index-cbfp5wyp.js → index-ym9g9ggs.js} +21 -21
  40. package/{index-fgc8r6dj.js → index-ynf37b66.js} +3 -1
  41. package/{index-wybbcgxn.js → index-z52nhkjs.js} +4 -4
  42. package/index.js +18 -18
  43. package/{library.command-8vgrdtwy.js → library.command-w8b53vtt.js} +4 -4
  44. package/{localRegistry.command-0gtqj0r0.js → localRegistry.command-ymrgda7e.js} +9 -9
  45. package/{module.command-rama4zya.js → module.command-7pje37dv.js} +7 -7
  46. package/{package.command-6jxapdsg.js → package.command-jg4qk8ts.js} +4 -4
  47. package/package.json +3 -4
  48. package/{page.command-hxy7x525.js → page.command-abbpj96j.js} +3 -3
  49. package/{primitive.command-4bf6xcc3.js → primitive.command-jw4yv918.js} +8 -8
  50. package/{quality.command-h5edwegz.js → quality.command-06j6qy6n.js} +34 -4
  51. package/{repair.command-rgqf6px6.js → repair.command-x6resn10.js} +5 -5
  52. package/{scalar.command-6krkz6tw.js → scalar.command-mj2vx6rj.js} +6 -6
  53. package/templates/appSample/lib/task/task.signal.ts +11 -6
  54. package/templates/crudPages/[__model__Id]/edit/page.tsx +5 -5
  55. package/templates/crudPages/[__model__Id]/page.tsx +10 -13
  56. package/templates/crudPages/new/page.tsx +5 -5
  57. package/templates/crudPages/page.tsx +9 -9
  58. package/templates/crudSinglePage/page.tsx +11 -7
  59. package/templates/module/__model__.dictionary.ts +4 -1
  60. package/templates/module/__model__.signal.ts +2 -3
  61. package/templates/module/__model__.store.ts +1 -2
  62. package/{typeChecker-g6bh0xfv.js → typeChecker-yhs4eht8.js} +1 -1
  63. package/typecheck.proc.js +1 -1
  64. package/{workflow.command-dwhwrqhd.js → workflow.command-pmw2tere.js} +11 -11
  65. package/{workspace.command-f5h11gjn.js → workspace.command-x32k2vma.js} +29 -26
@@ -2,13 +2,13 @@
2
2
  import {
3
3
  runner,
4
4
  script
5
- } from "./index-gvq17wqn.js";
5
+ } from "./index-akz5xvyw.js";
6
6
  import {
7
7
  PkgExecutor
8
- } from "./index-5f4gnt4c.js";
8
+ } from "./index-h9cybjep.js";
9
9
  import {
10
10
  TypeScriptDependencyScanner
11
- } from "./index-46tjzh6s.js";
11
+ } from "./index-h5sr2nnj.js";
12
12
  import {
13
13
  FileSys
14
14
  } from "./index-67546d0j.js";
@@ -140,7 +140,7 @@ class PackageRunner extends runner("package") {
140
140
  await workspace.setPkgTsPaths(pkgName);
141
141
  }
142
142
  async removePackage(pkg) {
143
- await pkg.workspace.exec(`rm -rf pkgs/${pkg.name}`);
143
+ await pkg.workspace.removeDir(`pkgs/${pkg.name}`);
144
144
  await pkg.workspace.unsetPkgTsPaths(pkg.name);
145
145
  }
146
146
  async scanSync(pkg) {
@@ -272,7 +272,7 @@ class PackageRunner extends runner("package") {
272
272
  }
273
273
  if (!pkgJson.version)
274
274
  throw new Error(`[package] dist package version is missing for ${pkg.name}`);
275
- if (!pkgJson.publishConfig || pkgJson.publishConfig.access !== "public") {
275
+ if (pkgJson.publishConfig?.access !== "public") {
276
276
  throw new Error(`[package] ${pkg.name} must publish with publishConfig.access=public`);
277
277
  }
278
278
  if (!await Bun.file(`${pkg.dist.cwdPath}/README.md`).exists()) {
@@ -7,7 +7,7 @@ import {
7
7
  } from "./index-67546d0j.js";
8
8
 
9
9
  // pkgs/@akanjs/devkit/cloud/globalConfig.ts
10
- import { mkdir } from "fs/promises";
10
+ import { chmod, mkdir } from "fs/promises";
11
11
  import dayjs from "dayjs";
12
12
 
13
13
  // pkgs/@akanjs/devkit/cloud/constants.ts
@@ -34,8 +34,9 @@ class GlobalConfig {
34
34
  };
35
35
  }
36
36
  static async#setAkanGlobalConfig(akanConfig) {
37
- await mkdir(basePath, { recursive: true });
37
+ await mkdir(basePath, { recursive: true, mode: 448 });
38
38
  await Bun.write(configPath, JSON.stringify(akanConfig, null, 2));
39
+ await chmod(configPath, 384);
39
40
  }
40
41
  static async getHostConfig(host = GlobalConfig.akanCloudHost) {
41
42
  const akanConfig = await GlobalConfig.#getAkanGlobalConfig();
@@ -1,20 +1,11 @@
1
1
  // @bun
2
2
  // pkgs/@akanjs/devkit/frontendBuild/styleContract.ts
3
- var countBlocking = (v) => v.style.filter((s) => s.severity === "error").length + v.theme.length;
4
- var formatStyleContract = (v) => {
5
- const lines = [];
6
- for (const s of v.style) {
7
- lines.push(` [${s.severity}] ${s.rule} ${s.path}:${s.line}`);
8
- lines.push(` ${s.snippet}`);
9
- lines.push(` \u2192 ${s.suggestion}`);
10
- }
11
- for (const t of v.theme) {
12
- lines.push(` [error] contrast ${t.scope} ${t.pair} = ${t.ratio}:1 (min ${t.threshold}:1)`);
13
- lines.push(` \u2192 ${t.suggestion}`);
14
- }
15
- return lines.join(`
3
+ var countBlocking = (violations) => violations.theme.length;
4
+ var formatStyleContract = (violations) => violations.theme.flatMap((theme) => [
5
+ ` [error] contrast ${theme.scope} ${theme.pair} = ${theme.ratio}:1 (min ${theme.threshold}:1)`,
6
+ ` \u2192 ${theme.suggestion}`
7
+ ]).join(`
16
8
  `);
17
- };
18
9
 
19
10
  // pkgs/@akanjs/devkit/frontendBuild/themeValidator.ts
20
11
  var PAIRS = [
@@ -66,7 +57,7 @@ class ThemeValidator {
66
57
  foreground: front,
67
58
  ratio: Math.round(ratio * 100) / 100,
68
59
  threshold,
69
- suggestion: `${scope}\uC758 --${base}(${bg})\uC640 --${fg}(${front}) \uB300\uBE44\uAC00 ${ratio.toFixed(2)}:1 \uB85C \uCD5C\uC18C ${threshold}:1 \uBBF8\uB9CC\uC785\uB2C8\uB2E4. \uD55C\uCABD\uC744 \uB354 \uBC1D\uAC8C/\uC5B4\uB461\uAC8C \uC870\uC815\uD574 \uB300\uBE44\uB97C \uD655\uBCF4\uD558\uC138\uC694.`
60
+ suggestion: `In ${scope}, --${base} (${bg}) against --${fg} (${front}) is ${ratio.toFixed(2)}:1, under the ${threshold}:1 minimum. Lighten or darken one of them until it clears.`
70
61
  });
71
62
  }
72
63
  return violations;
@@ -1,14 +1,14 @@
1
1
  // @bun
2
2
  import {
3
3
  AkanContextAnalyzer
4
- } from "./index-6d5r8q6k.js";
4
+ } from "./index-bmz9crym.js";
5
5
  import {
6
6
  Prompter
7
- } from "./index-j37qq1f2.js";
7
+ } from "./index-k7731a4v.js";
8
8
  import {
9
9
  runner,
10
10
  script
11
- } from "./index-gvq17wqn.js";
11
+ } from "./index-akz5xvyw.js";
12
12
  import {
13
13
  AGENT_BLOCK_END,
14
14
  AGENT_BLOCK_START,
@@ -19,7 +19,7 @@ import {
19
19
  renderRecipeEntries,
20
20
  stampBlockVersion,
21
21
  upsertAgentBlock
22
- } from "./index-5f4gnt4c.js";
22
+ } from "./index-h9cybjep.js";
23
23
  import {
24
24
  collectRecipeSources,
25
25
  scanRecipes
@@ -245,7 +245,7 @@ class AgentRunner extends runner("agent") {
245
245
  written.push(`${exec.type}s/${exec.name}/AGENTS.md`);
246
246
  } catch (error) {
247
247
  const message = error instanceof Error ? error.message : String(error);
248
- Logger.rawLog(`Skipped ${exec.type}s/${exec.name}/AGENTS.md (${message})`, undefined, "warn");
248
+ Logger.rawLog(`Skipped ${exec.type}s/${exec.name}/AGENTS.md (${message})`, undefined, "error");
249
249
  }
250
250
  };
251
251
  for (const name of libNames)
@@ -4,10 +4,10 @@ import {
4
4
  } from "./index-ss469dec.js";
5
5
  import {
6
6
  PageScript
7
- } from "./index-m5gfc86a.js";
7
+ } from "./index-763h7h9g.js";
8
8
  import {
9
9
  AiSession
10
- } from "./index-sh01r3pm.js";
10
+ } from "./index-safgeq9a.js";
11
11
  import {
12
12
  bilingualDescriptionForField,
13
13
  bilingualLabelForField,
@@ -15,17 +15,17 @@ import {
15
15
  generatedFilesForSync,
16
16
  moduleSourcePaths,
17
17
  sourceFile
18
- } from "./index-8besc14m.js";
18
+ } from "./index-q0s2dp3y.js";
19
19
  import {
20
20
  Prompter
21
- } from "./index-j37qq1f2.js";
21
+ } from "./index-k7731a4v.js";
22
22
  import {
23
23
  runner,
24
24
  script
25
- } from "./index-gvq17wqn.js";
25
+ } from "./index-akz5xvyw.js";
26
26
  import {
27
27
  ModuleExecutor
28
- } from "./index-5f4gnt4c.js";
28
+ } from "./index-h9cybjep.js";
29
29
  import {
30
30
  FileSys
31
31
  } from "./index-67546d0j.js";
@@ -1,24 +1,24 @@
1
1
  // @bun
2
2
  import {
3
3
  CloudRunner
4
- } from "./index-737aj4fm.js";
4
+ } from "./index-116w1dap.js";
5
5
  import {
6
6
  PackageScript
7
- } from "./index-jybbmwed.js";
7
+ } from "./index-qge1hc70.js";
8
8
  import {
9
9
  AiSession,
10
10
  CloudApi,
11
11
  GlobalConfig
12
- } from "./index-sh01r3pm.js";
12
+ } from "./index-safgeq9a.js";
13
13
  import {
14
14
  ApplicationScript
15
- } from "./index-cp00yns2.js";
15
+ } from "./index-5r4e65hb.js";
16
16
  import {
17
17
  script
18
- } from "./index-gvq17wqn.js";
18
+ } from "./index-akz5xvyw.js";
19
19
  import {
20
20
  PkgExecutor
21
- } from "./index-5f4gnt4c.js";
21
+ } from "./index-h9cybjep.js";
22
22
 
23
23
  // pkgs/@akanjs/cli/cloud/cloud.script.ts
24
24
  import { Logger } from "akanjs/common";
@@ -5,7 +5,7 @@ import {
5
5
  } from "./index-76rn3g2c.js";
6
6
  import {
7
7
  CommandExecutionError
8
- } from "./index-5f4gnt4c.js";
8
+ } from "./index-h9cybjep.js";
9
9
 
10
10
  // pkgs/@akanjs/devkit/capacitorApp.ts
11
11
  import { cp, mkdir, readFile, rm, writeFile } from "fs/promises";
@@ -17,22 +17,22 @@ import { capitalize } from "akanjs/common";
17
17
 
18
18
  // pkgs/@akanjs/devkit/fileEditor.ts
19
19
  class FileEditor {
20
- filePath;
21
- content;
20
+ #filePath;
21
+ #content;
22
22
  constructor(filePath, content) {
23
- this.filePath = filePath;
24
- this.content = content;
23
+ this.#filePath = filePath;
24
+ this.#content = content;
25
25
  }
26
26
  static async create(filePath) {
27
27
  try {
28
28
  const content = await Bun.file(filePath).text();
29
29
  return new FileEditor(filePath, content);
30
- } catch (error) {
30
+ } catch (_error) {
31
31
  throw new Error(`Failed to read file: ${filePath}`);
32
32
  }
33
33
  }
34
34
  find(pattern) {
35
- const lines = this.content.split(`
35
+ const lines = this.#content.split(`
36
36
  `);
37
37
  const regex = typeof pattern === "string" ? new RegExp(pattern) : pattern;
38
38
  for (let i = 0;i < lines.length; i++) {
@@ -45,7 +45,7 @@ class FileEditor {
45
45
  return -1;
46
46
  }
47
47
  findAll(pattern) {
48
- const lines = this.content.split(`
48
+ const lines = this.#content.split(`
49
49
  `);
50
50
  const regex = typeof pattern === "string" ? new RegExp(pattern) : pattern;
51
51
  const matches = [];
@@ -63,10 +63,10 @@ class FileEditor {
63
63
  if (lineIndex === -1) {
64
64
  throw new Error(`Pattern not found: ${pattern}`);
65
65
  }
66
- const lines = this.content.split(`
66
+ const lines = this.#content.split(`
67
67
  `);
68
68
  lines.splice(lineIndex + 1, 0, data);
69
- this.content = lines.join(`
69
+ this.#content = lines.join(`
70
70
  `);
71
71
  return this;
72
72
  }
@@ -75,40 +75,40 @@ class FileEditor {
75
75
  if (lineIndex === -1) {
76
76
  throw new Error(`Pattern not found: ${pattern}`);
77
77
  }
78
- const lines = this.content.split(`
78
+ const lines = this.#content.split(`
79
79
  `);
80
80
  lines.splice(lineIndex, 0, data);
81
- this.content = lines.join(`
81
+ this.#content = lines.join(`
82
82
  `);
83
83
  return this;
84
84
  }
85
85
  replace(pattern, replacement) {
86
86
  const regex = typeof pattern === "string" ? new RegExp(pattern, "g") : pattern;
87
- this.content = this.content.replace(regex, replacement);
87
+ this.#content = this.#content.replace(regex, replacement);
88
88
  return this;
89
89
  }
90
90
  append(data) {
91
- this.content += `
91
+ this.#content += `
92
92
  ${data}`;
93
93
  return this;
94
94
  }
95
95
  prepend(data) {
96
- this.content = `${data}
97
- ${this.content}`;
96
+ this.#content = `${data}
97
+ ${this.#content}`;
98
98
  return this;
99
99
  }
100
100
  async save() {
101
101
  try {
102
- await Bun.write(this.filePath, this.content);
103
- } catch (error) {
104
- throw new Error(`Failed to save file: ${this.filePath}`);
102
+ await Bun.write(this.#filePath, this.#content);
103
+ } catch (_error) {
104
+ throw new Error(`Failed to save file: ${this.#filePath}`);
105
105
  }
106
106
  }
107
107
  getContent() {
108
- return this.content;
108
+ return this.#content;
109
109
  }
110
110
  setContent(content) {
111
- this.content = content;
111
+ this.#content = content;
112
112
  return this;
113
113
  }
114
114
  }
@@ -19,12 +19,14 @@ var prepareDevWatchBatch = ({
19
19
  generatedFiles: indexSync.changedFiles
20
20
  });
21
21
  if (indexSync.errors.length > 0 && !devPlan.actions.includes("report-error")) {
22
- devPlan.actions = [...devPlan.actions, "report-error"].sort();
22
+ const withReport = [...devPlan.actions, "report-error"];
23
+ devPlan.actions = withReport.sort();
23
24
  }
24
25
  return {
25
26
  files,
26
27
  kinds,
27
28
  expandedBatch,
29
+ devPlan,
28
30
  event: { type: "invalidate", kinds, files, generation, devPlan },
29
31
  hasSyncErrors: indexSync.errors.length > 0
30
32
  };
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  ModuleScript
4
- } from "./index-p27h7535.js";
4
+ } from "./index-vrra4ttx.js";
5
5
  import {
6
6
  addFieldUiPolicyForType,
7
7
  coerceFieldDefault,
@@ -34,15 +34,15 @@ import {
34
34
  sourceFile,
35
35
  validationCommandsForTarget,
36
36
  viaBuilderParameterName
37
- } from "./index-8besc14m.js";
37
+ } from "./index-q0s2dp3y.js";
38
38
  import {
39
39
  script
40
- } from "./index-gvq17wqn.js";
40
+ } from "./index-akz5xvyw.js";
41
41
  import {
42
42
  AppExecutor,
43
43
  LibExecutor,
44
44
  ModuleExecutor
45
- } from "./index-5f4gnt4c.js";
45
+ } from "./index-h9cybjep.js";
46
46
 
47
47
  // pkgs/@akanjs/cli/primitive/primitive.script.ts
48
48
  import { capitalize } from "akanjs/common";
package/index.js CHANGED
@@ -4,8 +4,8 @@ import {
4
4
  getTargetCommandNames,
5
5
  getTargetMetas,
6
6
  runCommands
7
- } from "./index-gvq17wqn.js";
8
- import"./index-5f4gnt4c.js";
7
+ } from "./index-akz5xvyw.js";
8
+ import"./index-h9cybjep.js";
9
9
  import"./index-f39512t6.js";
10
10
  import"./index-mxvakhsm.js";
11
11
  import"./index-1577bej2.js";
@@ -19,22 +19,22 @@ import path from "path";
19
19
 
20
20
  // pkgs/@akanjs/cli/commandModules.ts
21
21
  var commandModules = {
22
- workspace: async () => (await import("./workspace.command-f5h11gjn.js")).WorkspaceCommand,
23
- agent: async () => (await import("./agent.command-xdvw642m.js")).AgentCommand,
24
- application: async () => (await import("./application.command-g3f7xj25.js")).ApplicationCommand,
25
- library: async () => (await import("./library.command-8vgrdtwy.js")).LibraryCommand,
26
- localRegistry: async () => (await import("./localRegistry.command-0gtqj0r0.js")).LocalRegistryCommand,
27
- package: async () => (await import("./package.command-6jxapdsg.js")).PackageCommand,
28
- module: async () => (await import("./module.command-rama4zya.js")).ModuleCommand,
29
- page: async () => (await import("./page.command-hxy7x525.js")).PageCommand,
30
- context: async () => (await import("./context.command-x92afrnf.js")).ContextCommand,
31
- cloud: async () => (await import("./cloud.command-0hmsv44q.js")).CloudCommand,
32
- guideline: async () => (await import("./guideline.command-hpq08q66.js")).GuidelineCommand,
33
- scalar: async () => (await import("./scalar.command-6krkz6tw.js")).ScalarCommand,
34
- primitive: async () => (await import("./primitive.command-4bf6xcc3.js")).PrimitiveCommand,
35
- quality: async () => (await import("./quality.command-h5edwegz.js")).QualityCommand,
36
- repair: async () => (await import("./repair.command-rgqf6px6.js")).RepairCommand,
37
- workflow: async () => (await import("./workflow.command-dwhwrqhd.js")).WorkflowCommand
22
+ workspace: async () => (await import("./workspace.command-x32k2vma.js")).WorkspaceCommand,
23
+ agent: async () => (await import("./agent.command-z0cam80t.js")).AgentCommand,
24
+ application: async () => (await import("./application.command-2dct57za.js")).ApplicationCommand,
25
+ library: async () => (await import("./library.command-w8b53vtt.js")).LibraryCommand,
26
+ localRegistry: async () => (await import("./localRegistry.command-ymrgda7e.js")).LocalRegistryCommand,
27
+ package: async () => (await import("./package.command-jg4qk8ts.js")).PackageCommand,
28
+ module: async () => (await import("./module.command-7pje37dv.js")).ModuleCommand,
29
+ page: async () => (await import("./page.command-abbpj96j.js")).PageCommand,
30
+ context: async () => (await import("./context.command-xjf4y7em.js")).ContextCommand,
31
+ cloud: async () => (await import("./cloud.command-8j7xrxsm.js")).CloudCommand,
32
+ guideline: async () => (await import("./guideline.command-yzm0qevv.js")).GuidelineCommand,
33
+ scalar: async () => (await import("./scalar.command-mj2vx6rj.js")).ScalarCommand,
34
+ primitive: async () => (await import("./primitive.command-jw4yv918.js")).PrimitiveCommand,
35
+ quality: async () => (await import("./quality.command-06j6qy6n.js")).QualityCommand,
36
+ repair: async () => (await import("./repair.command-x6resn10.js")).RepairCommand,
37
+ workflow: async () => (await import("./workflow.command-pmw2tere.js")).WorkflowCommand
38
38
  };
39
39
  var commandModuleIds = Object.keys(commandModules);
40
40
 
@@ -1,13 +1,13 @@
1
1
  // @bun
2
2
  import {
3
3
  LibraryScript
4
- } from "./index-sqsfv8wg.js";
4
+ } from "./index-hvbdre8z.js";
5
5
  import {
6
6
  Lib,
7
7
  Workspace,
8
8
  command
9
- } from "./index-gvq17wqn.js";
10
- import"./index-5f4gnt4c.js";
9
+ } from "./index-akz5xvyw.js";
10
+ import"./index-h9cybjep.js";
11
11
  import"./index-f39512t6.js";
12
12
  import"./index-mxvakhsm.js";
13
13
  import"./index-1577bej2.js";
@@ -25,7 +25,7 @@ class LibraryCommand extends command("library", [LibraryScript], ({ public: targ
25
25
  syncLibrary: target({ desc: "Sync dependencies and configuration for a library" }).with(Lib).exec(async function(lib) {
26
26
  await this.libraryScript.syncLibrary(lib);
27
27
  }),
28
- installLibrary: target({ desc: "Install pre-built library templates (shared, util, etc.)" }).arg("libName", String, { desc: "name of library", nullable: true }).with(Workspace).exec(async function(libName, workspace) {
28
+ installLibrary: target({ desc: "Install pre-built library templates (shared, util, etc.)" }).arg("libName", String, { desc: "name of library" }).with(Workspace).exec(async function(libName, workspace) {
29
29
  await this.libraryScript.installLibrary(workspace, libName);
30
30
  })
31
31
  })) {
@@ -2,31 +2,31 @@
2
2
  import {
3
3
  CloudRunner,
4
4
  getNpmRegistryUrl
5
- } from "./index-737aj4fm.js";
5
+ } from "./index-116w1dap.js";
6
6
  import {
7
7
  PackageScript
8
- } from "./index-jybbmwed.js";
9
- import"./index-sh01r3pm.js";
8
+ } from "./index-qge1hc70.js";
9
+ import"./index-safgeq9a.js";
10
10
  import {
11
11
  ApplicationScript
12
- } from "./index-cp00yns2.js";
13
- import"./index-sqsfv8wg.js";
12
+ } from "./index-5r4e65hb.js";
13
+ import"./index-hvbdre8z.js";
14
14
  import"./index-76rn3g2c.js";
15
15
  import {
16
16
  Workspace,
17
17
  command,
18
18
  runner,
19
19
  script
20
- } from "./index-gvq17wqn.js";
21
- import"./index-fgc8r6dj.js";
20
+ } from "./index-akz5xvyw.js";
21
+ import"./index-ynf37b66.js";
22
22
  import"./index-5vy2jzar.js";
23
23
  import {
24
24
  PkgExecutor
25
- } from "./index-5f4gnt4c.js";
25
+ } from "./index-h9cybjep.js";
26
26
  import"./index-f39512t6.js";
27
27
  import"./index-mxvakhsm.js";
28
28
  import"./index-1577bej2.js";
29
- import"./index-46tjzh6s.js";
29
+ import"./index-h5sr2nnj.js";
30
30
  import"./index-67546d0j.js";
31
31
  import"./index-yb2wsc7f.js";
32
32
 
@@ -1,20 +1,20 @@
1
1
  // @bun
2
2
  import {
3
3
  ModuleScript
4
- } from "./index-p27h7535.js";
4
+ } from "./index-vrra4ttx.js";
5
5
  import"./index-ss469dec.js";
6
- import"./index-m5gfc86a.js";
7
- import"./index-sh01r3pm.js";
6
+ import"./index-763h7h9g.js";
7
+ import"./index-safgeq9a.js";
8
8
  import {
9
9
  renderPrimitiveReport
10
- } from "./index-8besc14m.js";
11
- import"./index-j37qq1f2.js";
10
+ } from "./index-q0s2dp3y.js";
11
+ import"./index-k7731a4v.js";
12
12
  import {
13
13
  Module,
14
14
  Sys,
15
15
  command
16
- } from "./index-gvq17wqn.js";
17
- import"./index-5f4gnt4c.js";
16
+ } from "./index-akz5xvyw.js";
17
+ import"./index-h9cybjep.js";
18
18
  import"./index-f39512t6.js";
19
19
  import"./index-mxvakhsm.js";
20
20
  import"./index-1577bej2.js";
@@ -1,17 +1,17 @@
1
1
  // @bun
2
2
  import {
3
3
  PackageScript
4
- } from "./index-jybbmwed.js";
4
+ } from "./index-qge1hc70.js";
5
5
  import {
6
6
  Pkg,
7
7
  Workspace,
8
8
  command
9
- } from "./index-gvq17wqn.js";
10
- import"./index-5f4gnt4c.js";
9
+ } from "./index-akz5xvyw.js";
10
+ import"./index-h9cybjep.js";
11
11
  import"./index-f39512t6.js";
12
12
  import"./index-mxvakhsm.js";
13
13
  import"./index-1577bej2.js";
14
- import"./index-46tjzh6s.js";
14
+ import"./index-h5sr2nnj.js";
15
15
  import"./index-67546d0j.js";
16
16
  import"./index-yb2wsc7f.js";
17
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akanjs/cli",
3
- "version": "3.0.0-alpha.71",
3
+ "version": "3.0.0-alpha.73",
4
4
  "sourceType": "module",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -17,8 +17,7 @@
17
17
  "bun": ">=1.4.0"
18
18
  },
19
19
  "bin": {
20
- "akan": "./index.js",
21
- "akan2": "./index.js"
20
+ "akan": "./index.js"
22
21
  },
23
22
  "exports": {
24
23
  ".": {
@@ -34,7 +33,7 @@
34
33
  "@langchain/openai": "^1.4.6",
35
34
  "@tailwindcss/node": "^4.3.0",
36
35
  "@trapezedev/project": "^7.1.4",
37
- "akanjs": "3.0.0-alpha.71",
36
+ "akanjs": "3.0.0-alpha.73",
38
37
  "chalk": "^5.6.2",
39
38
  "commander": "^14.0.3",
40
39
  "dayjs": "^1.11.20",
@@ -1,13 +1,13 @@
1
1
  // @bun
2
2
  import {
3
3
  PageScript
4
- } from "./index-m5gfc86a.js";
4
+ } from "./index-763h7h9g.js";
5
5
  import {
6
6
  App,
7
7
  Module,
8
8
  command
9
- } from "./index-gvq17wqn.js";
10
- import"./index-5f4gnt4c.js";
9
+ } from "./index-akz5xvyw.js";
10
+ import"./index-h9cybjep.js";
11
11
  import"./index-f39512t6.js";
12
12
  import"./index-mxvakhsm.js";
13
13
  import"./index-1577bej2.js";
@@ -1,20 +1,20 @@
1
1
  // @bun
2
2
  import {
3
3
  PrimitiveScript
4
- } from "./index-wybbcgxn.js";
5
- import"./index-p27h7535.js";
4
+ } from "./index-z52nhkjs.js";
5
+ import"./index-vrra4ttx.js";
6
6
  import"./index-ss469dec.js";
7
- import"./index-m5gfc86a.js";
8
- import"./index-sh01r3pm.js";
7
+ import"./index-763h7h9g.js";
8
+ import"./index-safgeq9a.js";
9
9
  import {
10
10
  renderPrimitiveReport
11
- } from "./index-8besc14m.js";
12
- import"./index-j37qq1f2.js";
11
+ } from "./index-q0s2dp3y.js";
12
+ import"./index-k7731a4v.js";
13
13
  import {
14
14
  Workspace,
15
15
  command
16
- } from "./index-gvq17wqn.js";
17
- import"./index-5f4gnt4c.js";
16
+ } from "./index-akz5xvyw.js";
17
+ import"./index-h9cybjep.js";
18
18
  import"./index-f39512t6.js";
19
19
  import"./index-mxvakhsm.js";
20
20
  import"./index-1577bej2.js";