@akanjs/cli 2.4.2-rc.1 → 2.4.2-rc.2

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 (42) hide show
  1. package/.build-stamp +1 -1
  2. package/{agent.command-ash7wabs.js → agent.command-ej4g9pbb.js} +6 -6
  3. package/{application.command-zm47j93m.js → application.command-smn51a28.js} +4 -4
  4. package/buildBatch.proc.js +1 -1
  5. package/{capacitorApp-wc75rvfm.js → capacitorApp-yg9b4ajz.js} +2 -2
  6. package/{cloud.command-vwpzten0.js → cloud.command-2v7ga38h.js} +7 -7
  7. package/{context.command-j0kq87xa.js → context.command-hhjyjtp7.js} +13 -13
  8. package/{guideline.command-1m4jwhv0.js → guideline.command-vj956kfr.js} +3 -3
  9. package/incrementalBuilder.proc.js +1 -1
  10. package/{index-tnngmzgf.js → index-04as43rp.js} +5 -5
  11. package/{index-79v9jwqe.js → index-40w1kqp1.js} +3 -3
  12. package/{index-xjkjcbhd.js → index-7ppn9v4n.js} +3 -3
  13. package/{index-mpj63mbw.js → index-acwxfncv.js} +4 -4
  14. package/{index-en4zpzdm.js → index-d0h48d2f.js} +1 -1
  15. package/{index-f1x6fe2e.js → index-dgeaqwmw.js} +1 -1
  16. package/{index-2nb022xv.js → index-h971erkm.js} +3 -3
  17. package/{index-t5rn8q9f.js → index-j3j3qc9j.js} +3 -3
  18. package/{index-0wgpfp7t.js → index-majzj044.js} +5 -5
  19. package/{index-31183bxt.js → index-panyahn4.js} +4 -4
  20. package/{index-ckywhpvp.js → index-pfnh87f9.js} +1 -1
  21. package/{index-n08vr4hh.js → index-s9s0n5fz.js} +2 -2
  22. package/{index-xdf6rxyt.js → index-v9jqrdd1.js} +2 -2
  23. package/{index-ehjhzg5y.js → index-xftstr5s.js} +1 -1
  24. package/{index-s6nk9815.js → index-xwfg9bam.js} +1 -1
  25. package/{index-8dsjmcbp.js → index-y1e79mz3.js} +11 -11
  26. package/{index-31e8cwjq.js → index-z36qzgzp.js} +2 -2
  27. package/{index-cp26p7qd.js → index-z5v766nx.js} +3 -3
  28. package/{index-smt4re0s.js → index-zfp1gz9f.js} +1 -1
  29. package/index.js +18 -18
  30. package/{library.command-39eq3brk.js → library.command-68ah07a3.js} +3 -3
  31. package/{localRegistry.command-34zvgkys.js → localRegistry.command-nmyc5vwv.js} +6 -6
  32. package/{module.command-vwahdkzr.js → module.command-t68xhamx.js} +6 -6
  33. package/{package.command-wkwd5x5p.js → package.command-00ncttab.js} +3 -3
  34. package/package.json +2 -2
  35. package/{page.command-9w85hrg0.js → page.command-1096s18n.js} +3 -3
  36. package/{primitive.command-2hnr8h7f.js → primitive.command-02eqpx6t.js} +7 -7
  37. package/{quality.command-4kerz7mh.js → quality.command-vap6xegb.js} +2 -2
  38. package/{repair.command-zmwshmvr.js → repair.command-7dynpnf1.js} +5 -5
  39. package/{scalar.command-9kanb73t.js → scalar.command-3kxy3fkh.js} +5 -5
  40. package/templates/workspaceRoot/AGENTS.md.template +8 -1
  41. package/{workflow.command-4areq0ex.js → workflow.command-yy0d9gk3.js} +10 -10
  42. package/{workspace.command-02x93b10.js → workspace.command-hq1x5605.js} +19 -19
package/.build-stamp CHANGED
@@ -1 +1 @@
1
- 267b35e31ad3c4b46042123b1a70ac6abdc6a296be7c297a037753bb89b81135
1
+ 6f93500c73ae1edf5c631b83d87c67fb74323b45daf56ae9a89e6c48596c14b8
@@ -1,15 +1,15 @@
1
1
  // @bun
2
2
  import {
3
3
  AgentScript
4
- } from "./index-79v9jwqe.js";
5
- import"./index-xdf6rxyt.js";
6
- import"./index-ckywhpvp.js";
7
- import"./index-ehjhzg5y.js";
4
+ } from "./index-40w1kqp1.js";
5
+ import"./index-v9jqrdd1.js";
6
+ import"./index-pfnh87f9.js";
7
+ import"./index-xftstr5s.js";
8
8
  import {
9
9
  Workspace,
10
10
  command
11
- } from "./index-en4zpzdm.js";
12
- import"./index-s6nk9815.js";
11
+ } from "./index-d0h48d2f.js";
12
+ import"./index-xwfg9bam.js";
13
13
  import"./index-67546d0j.js";
14
14
  import"./index-6pz1j0zj.js";
15
15
  import"./index-r24hmh0q.js";
@@ -1,20 +1,20 @@
1
1
  // @bun
2
2
  import {
3
3
  ApplicationScript
4
- } from "./index-31183bxt.js";
4
+ } from "./index-panyahn4.js";
5
5
  import {
6
6
  getMobileTargetChoices
7
7
  } from "./index-76rn3g2c.js";
8
- import"./index-n08vr4hh.js";
8
+ import"./index-s9s0n5fz.js";
9
9
  import {
10
10
  App,
11
11
  Exec,
12
12
  Sys,
13
13
  Workspace,
14
14
  command
15
- } from "./index-en4zpzdm.js";
15
+ } from "./index-d0h48d2f.js";
16
16
  import"./index-fgc8r6dj.js";
17
- import"./index-s6nk9815.js";
17
+ import"./index-xwfg9bam.js";
18
18
  import"./index-67546d0j.js";
19
19
  import"./index-bjpxzr6s.js";
20
20
  import"./index-6pz1j0zj.js";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  AppExecutor,
4
4
  WorkspaceExecutor
5
- } from "./index-s6nk9815.js";
5
+ } from "./index-xwfg9bam.js";
6
6
  import"./index-67546d0j.js";
7
7
  import {
8
8
  CsrArtifactBuilder,
@@ -24,9 +24,9 @@ import {
24
24
  selectLocalDevHost,
25
25
  sortIosRunTargets,
26
26
  writeRootCapacitorConfig
27
- } from "./index-smt4re0s.js";
27
+ } from "./index-zfp1gz9f.js";
28
28
  import"./index-76rn3g2c.js";
29
- import"./index-s6nk9815.js";
29
+ import"./index-xwfg9bam.js";
30
30
  import"./index-67546d0j.js";
31
31
  import"./index-6pz1j0zj.js";
32
32
  import"./index-r24hmh0q.js";
@@ -1,21 +1,21 @@
1
1
  // @bun
2
2
  import {
3
3
  CloudScript
4
- } from "./index-0wgpfp7t.js";
5
- import"./index-t5rn8q9f.js";
4
+ } from "./index-majzj044.js";
5
+ import"./index-j3j3qc9j.js";
6
6
  import {
7
7
  GlobalConfig
8
8
  } from "./index-nsj2ftxj.js";
9
- import"./index-31183bxt.js";
9
+ import"./index-panyahn4.js";
10
10
  import"./index-76rn3g2c.js";
11
- import"./index-n08vr4hh.js";
12
- import"./index-31e8cwjq.js";
11
+ import"./index-s9s0n5fz.js";
12
+ import"./index-z36qzgzp.js";
13
13
  import {
14
14
  Workspace,
15
15
  command
16
- } from "./index-en4zpzdm.js";
16
+ } from "./index-d0h48d2f.js";
17
17
  import"./index-fgc8r6dj.js";
18
- import"./index-s6nk9815.js";
18
+ import"./index-xwfg9bam.js";
19
19
  import"./index-46tjzh6s.js";
20
20
  import"./index-67546d0j.js";
21
21
  import"./index-bjpxzr6s.js";
@@ -1,25 +1,25 @@
1
1
  // @bun
2
2
  import {
3
3
  ContextScript
4
- } from "./index-8dsjmcbp.js";
5
- import"./index-xjkjcbhd.js";
6
- import"./index-2nb022xv.js";
7
- import"./index-cp26p7qd.js";
8
- import"./index-mpj63mbw.js";
9
- import"./index-tnngmzgf.js";
10
- import"./index-f1x6fe2e.js";
4
+ } from "./index-y1e79mz3.js";
5
+ import"./index-7ppn9v4n.js";
6
+ import"./index-h971erkm.js";
7
+ import"./index-z5v766nx.js";
8
+ import"./index-acwxfncv.js";
9
+ import"./index-04as43rp.js";
10
+ import"./index-dgeaqwmw.js";
11
11
  import"./index-ss469dec.js";
12
- import"./index-smt4re0s.js";
13
- import"./index-xdf6rxyt.js";
14
- import"./index-ckywhpvp.js";
15
- import"./index-ehjhzg5y.js";
12
+ import"./index-zfp1gz9f.js";
13
+ import"./index-v9jqrdd1.js";
14
+ import"./index-pfnh87f9.js";
15
+ import"./index-xftstr5s.js";
16
16
  import"./index-nsj2ftxj.js";
17
17
  import"./index-76rn3g2c.js";
18
18
  import {
19
19
  Workspace,
20
20
  command
21
- } from "./index-en4zpzdm.js";
22
- import"./index-s6nk9815.js";
21
+ } from "./index-d0h48d2f.js";
22
+ import"./index-xwfg9bam.js";
23
23
  import"./index-67546d0j.js";
24
24
  import"./index-6pz1j0zj.js";
25
25
  import"./index-r24hmh0q.js";
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  Prompter
4
- } from "./index-ehjhzg5y.js";
4
+ } from "./index-xftstr5s.js";
5
5
  import {
6
6
  AiSession
7
7
  } from "./index-nsj2ftxj.js";
@@ -10,10 +10,10 @@ import {
10
10
  command,
11
11
  runner,
12
12
  script
13
- } from "./index-en4zpzdm.js";
13
+ } from "./index-d0h48d2f.js";
14
14
  import {
15
15
  getDirname
16
- } from "./index-s6nk9815.js";
16
+ } from "./index-xwfg9bam.js";
17
17
  import {
18
18
  FileSys
19
19
  } from "./index-67546d0j.js";
@@ -5,7 +5,7 @@ import {
5
5
  import {
6
6
  AppExecutor,
7
7
  WorkspaceExecutor
8
- } from "./index-s6nk9815.js";
8
+ } from "./index-xwfg9bam.js";
9
9
  import"./index-67546d0j.js";
10
10
  import {
11
11
  AutoImportSync,
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  PageScript
4
- } from "./index-f1x6fe2e.js";
4
+ } from "./index-dgeaqwmw.js";
5
5
  import {
6
6
  pluralizeName
7
7
  } from "./index-ss469dec.js";
@@ -12,20 +12,20 @@ import {
12
12
  generatedFilesForSync,
13
13
  moduleSourcePaths,
14
14
  sourceFile
15
- } from "./index-ckywhpvp.js";
15
+ } from "./index-pfnh87f9.js";
16
16
  import {
17
17
  Prompter
18
- } from "./index-ehjhzg5y.js";
18
+ } from "./index-xftstr5s.js";
19
19
  import {
20
20
  AiSession
21
21
  } from "./index-nsj2ftxj.js";
22
22
  import {
23
23
  runner,
24
24
  script
25
- } from "./index-en4zpzdm.js";
25
+ } from "./index-d0h48d2f.js";
26
26
  import {
27
27
  ModuleExecutor
28
- } from "./index-s6nk9815.js";
28
+ } from "./index-xwfg9bam.js";
29
29
  import {
30
30
  FileSys
31
31
  } from "./index-67546d0j.js";
@@ -1,14 +1,14 @@
1
1
  // @bun
2
2
  import {
3
3
  AkanContextAnalyzer
4
- } from "./index-xdf6rxyt.js";
4
+ } from "./index-v9jqrdd1.js";
5
5
  import {
6
6
  Prompter
7
- } from "./index-ehjhzg5y.js";
7
+ } from "./index-xftstr5s.js";
8
8
  import {
9
9
  runner,
10
10
  script
11
- } from "./index-en4zpzdm.js";
11
+ } from "./index-d0h48d2f.js";
12
12
 
13
13
  // pkgs/@akanjs/cli/agent/agent.script.ts
14
14
  import { Logger } from "akanjs/common";
@@ -1,17 +1,17 @@
1
1
  // @bun
2
2
  import {
3
3
  AkanContextAnalyzer
4
- } from "./index-xdf6rxyt.js";
4
+ } from "./index-v9jqrdd1.js";
5
5
  import {
6
6
  createRepairReport,
7
7
  generatedFilePathsForTarget,
8
8
  renderRepairReport,
9
9
  writeGeneratedSyncState,
10
10
  writeWorkflowRunArtifact
11
- } from "./index-ckywhpvp.js";
11
+ } from "./index-pfnh87f9.js";
12
12
  import {
13
13
  runner
14
- } from "./index-en4zpzdm.js";
14
+ } from "./index-d0h48d2f.js";
15
15
 
16
16
  // pkgs/@akanjs/cli/repair/repair.runner.ts
17
17
  var commandForShell = (command) => command.startsWith("akan ") ? `bun run ${command}` : command;
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  ModuleScript
4
- } from "./index-tnngmzgf.js";
4
+ } from "./index-04as43rp.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-ckywhpvp.js";
37
+ } from "./index-pfnh87f9.js";
38
38
  import {
39
39
  script
40
- } from "./index-en4zpzdm.js";
40
+ } from "./index-d0h48d2f.js";
41
41
  import {
42
42
  AppExecutor,
43
43
  LibExecutor,
44
44
  ModuleExecutor
45
- } from "./index-s6nk9815.js";
45
+ } from "./index-xwfg9bam.js";
46
46
 
47
47
  // pkgs/@akanjs/cli/primitive/primitive.script.ts
48
48
  import { capitalize } from "akanjs/common";
@@ -7,7 +7,7 @@ import {
7
7
  PkgExecutor,
8
8
  WorkspaceExecutor,
9
9
  getDirname
10
- } from "./index-s6nk9815.js";
10
+ } from "./index-xwfg9bam.js";
11
11
  import {
12
12
  FileSys
13
13
  } from "./index-67546d0j.js";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  runner,
4
4
  script
5
- } from "./index-en4zpzdm.js";
5
+ } from "./index-d0h48d2f.js";
6
6
 
7
7
  // pkgs/@akanjs/cli/page/page.runner.ts
8
8
  class PageRunner extends runner("page") {
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  AkanContextAnalyzer
4
- } from "./index-xdf6rxyt.js";
4
+ } from "./index-v9jqrdd1.js";
5
5
  import {
6
6
  WorkflowExecutor,
7
7
  compactWorkflowInputs,
@@ -23,10 +23,10 @@ import {
23
23
  workflowCommandsForPlan,
24
24
  workflowPlanApproval,
25
25
  writeWorkflowRunArtifact
26
- } from "./index-ckywhpvp.js";
26
+ } from "./index-pfnh87f9.js";
27
27
  import {
28
28
  runner
29
- } from "./index-en4zpzdm.js";
29
+ } from "./index-d0h48d2f.js";
30
30
 
31
31
  // pkgs/@akanjs/cli/workflow/workflow.runner.ts
32
32
  import { mkdir, readFile, writeFile } from "fs/promises";
@@ -7,14 +7,14 @@ import {
7
7
  } from "./index-nsj2ftxj.js";
8
8
  import {
9
9
  openBrowser
10
- } from "./index-31183bxt.js";
10
+ } from "./index-panyahn4.js";
11
11
  import {
12
12
  runner
13
- } from "./index-en4zpzdm.js";
13
+ } from "./index-d0h48d2f.js";
14
14
  import {
15
15
  AppExecutor,
16
16
  WorkspaceExecutor
17
- } from "./index-s6nk9815.js";
17
+ } from "./index-xwfg9bam.js";
18
18
 
19
19
  // pkgs/@akanjs/cli/cloud/cloud.runner.ts
20
20
  import path from "path";
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  CloudRunner
4
- } from "./index-t5rn8q9f.js";
4
+ } from "./index-j3j3qc9j.js";
5
5
  import {
6
6
  AiSession,
7
7
  CloudApi,
@@ -9,16 +9,16 @@ import {
9
9
  } from "./index-nsj2ftxj.js";
10
10
  import {
11
11
  ApplicationScript
12
- } from "./index-31183bxt.js";
12
+ } from "./index-panyahn4.js";
13
13
  import {
14
14
  PackageScript
15
- } from "./index-31e8cwjq.js";
15
+ } from "./index-z36qzgzp.js";
16
16
  import {
17
17
  script
18
- } from "./index-en4zpzdm.js";
18
+ } from "./index-d0h48d2f.js";
19
19
  import {
20
20
  PkgExecutor
21
- } from "./index-s6nk9815.js";
21
+ } from "./index-xwfg9bam.js";
22
22
 
23
23
  // pkgs/@akanjs/cli/cloud/cloud.script.ts
24
24
  import { Logger } from "akanjs/common";
@@ -4,17 +4,17 @@ import {
4
4
  } from "./index-76rn3g2c.js";
5
5
  import {
6
6
  LibraryScript
7
- } from "./index-n08vr4hh.js";
7
+ } from "./index-s9s0n5fz.js";
8
8
  import {
9
9
  runner,
10
10
  script
11
- } from "./index-en4zpzdm.js";
11
+ } from "./index-d0h48d2f.js";
12
12
  import {
13
13
  AppExecutor,
14
14
  LibExecutor,
15
15
  PkgExecutor,
16
16
  WorkspaceExecutor
17
- } from "./index-s6nk9815.js";
17
+ } from "./index-xwfg9bam.js";
18
18
  import {
19
19
  HmrWatcher,
20
20
  WatchRootResolver
@@ -1900,7 +1900,7 @@ function openBrowser(url) {
1900
1900
  // pkgs/@akanjs/cli/application/application.runner.ts
1901
1901
  var loadBuildRunner = async () => (await import("./applicationBuildRunner-554a2vnk.js")).ApplicationBuildRunner;
1902
1902
  var loadReleasePackager = async () => (await import("./applicationReleasePackager-pjbxc793.js")).ApplicationReleasePackager;
1903
- var loadCapacitorApp = async () => (await import("./capacitorApp-wc75rvfm.js")).CapacitorApp;
1903
+ var loadCapacitorApp = async () => (await import("./capacitorApp-yg9b4ajz.js")).CapacitorApp;
1904
1904
  var loadPrompts = async () => await import("@inquirer/prompts");
1905
1905
 
1906
1906
  class ApplicationRunner extends runner("application") {
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  AppExecutor,
4
4
  LibExecutor
5
- } from "./index-s6nk9815.js";
5
+ } from "./index-xwfg9bam.js";
6
6
 
7
7
  // pkgs/@akanjs/devkit/workflow/utils.ts
8
8
  var jsonText = (value, { trailingNewline = true } = {}) => `${JSON.stringify(value, null, 2)}${trailingNewline ? `
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  runner,
4
4
  script
5
- } from "./index-en4zpzdm.js";
5
+ } from "./index-d0h48d2f.js";
6
6
  import {
7
7
  LibExecutor
8
- } from "./index-s6nk9815.js";
8
+ } from "./index-xwfg9bam.js";
9
9
 
10
10
  // pkgs/@akanjs/cli/semver.ts
11
11
  function parseVersion(version) {
@@ -2,11 +2,11 @@
2
2
  import {
3
3
  workflowRunArtifactPath,
4
4
  workflowSyncDir
5
- } from "./index-ckywhpvp.js";
5
+ } from "./index-pfnh87f9.js";
6
6
  import {
7
7
  AppExecutor,
8
8
  LibExecutor
9
- } from "./index-s6nk9815.js";
9
+ } from "./index-xwfg9bam.js";
10
10
  import {
11
11
  FileSys
12
12
  } from "./index-67546d0j.js";
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  getDirname
4
- } from "./index-s6nk9815.js";
4
+ } from "./index-xwfg9bam.js";
5
5
 
6
6
  // pkgs/@akanjs/devkit/prompter.ts
7
7
  import fsPromise from "fs/promises";
@@ -2546,7 +2546,7 @@ class AppExecutor extends SysExecutor {
2546
2546
  return pageKeys;
2547
2547
  const isDevOnly = (key) => devOnlyKeys.has(key) || devOnlyDirs.some((dir) => key.startsWith(dir));
2548
2548
  const dropped = pageKeys.filter(isDevOnly);
2549
- this.log(`[route] excluded ${dropped.length} dev-only route file(s) from the build: ${dropped.join(", ")}`);
2549
+ this.verbose(`[route] excluded ${dropped.length} dev-only route file(s) from the build: ${dropped.join(", ")}`);
2550
2550
  return pageKeys.filter((key) => !isDevOnly(key));
2551
2551
  }
2552
2552
  async getPageRoots() {
@@ -1,22 +1,22 @@
1
1
  // @bun
2
2
  import {
3
3
  RepairRunner
4
- } from "./index-xjkjcbhd.js";
4
+ } from "./index-7ppn9v4n.js";
5
5
  import {
6
6
  WorkflowRunner
7
- } from "./index-2nb022xv.js";
7
+ } from "./index-h971erkm.js";
8
8
  import {
9
9
  ScalarScript
10
- } from "./index-cp26p7qd.js";
10
+ } from "./index-z5v766nx.js";
11
11
  import {
12
12
  PrimitiveScript
13
- } from "./index-mpj63mbw.js";
13
+ } from "./index-acwxfncv.js";
14
14
  import {
15
15
  ModuleScript
16
- } from "./index-tnngmzgf.js";
16
+ } from "./index-04as43rp.js";
17
17
  import {
18
18
  isPlaceholderAppId
19
- } from "./index-smt4re0s.js";
19
+ } from "./index-zfp1gz9f.js";
20
20
  import {
21
21
  AkanContextAnalyzer,
22
22
  akanMcpInstallConfigPaths,
@@ -27,17 +27,17 @@ import {
27
27
  renderDoctorText,
28
28
  resourceList,
29
29
  upsertCodexMcpServerBlock
30
- } from "./index-xdf6rxyt.js";
30
+ } from "./index-v9jqrdd1.js";
31
31
  import {
32
32
  buildAkanModuleContextIndex,
33
33
  createWorkflowBaselineSummary,
34
34
  createWorkflowStepRegistry,
35
35
  jsonText,
36
36
  toolingRolloutGate
37
- } from "./index-ckywhpvp.js";
37
+ } from "./index-pfnh87f9.js";
38
38
  import {
39
39
  Prompter
40
- } from "./index-ehjhzg5y.js";
40
+ } from "./index-xftstr5s.js";
41
41
  import {
42
42
  getMobileTargets
43
43
  } from "./index-76rn3g2c.js";
@@ -45,10 +45,10 @@ import {
45
45
  CommandContainer,
46
46
  runner,
47
47
  script
48
- } from "./index-en4zpzdm.js";
48
+ } from "./index-d0h48d2f.js";
49
49
  import {
50
50
  AppExecutor
51
- } from "./index-s6nk9815.js";
51
+ } from "./index-xwfg9bam.js";
52
52
 
53
53
  // pkgs/@akanjs/cli/context/context.script.ts
54
54
  import { Logger } from "akanjs/common";
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  runner,
4
4
  script
5
- } from "./index-en4zpzdm.js";
5
+ } from "./index-d0h48d2f.js";
6
6
  import {
7
7
  PkgExecutor
8
- } from "./index-s6nk9815.js";
8
+ } from "./index-xwfg9bam.js";
9
9
  import {
10
10
  TypeScriptDependencyScanner
11
11
  } from "./index-46tjzh6s.js";
@@ -6,17 +6,17 @@ import {
6
6
  createPassedPrimitiveReport,
7
7
  generatedFilesForSync,
8
8
  scalarChangedFiles
9
- } from "./index-ckywhpvp.js";
9
+ } from "./index-pfnh87f9.js";
10
10
  import {
11
11
  Prompter
12
- } from "./index-ehjhzg5y.js";
12
+ } from "./index-xftstr5s.js";
13
13
  import {
14
14
  AiSession
15
15
  } from "./index-nsj2ftxj.js";
16
16
  import {
17
17
  runner,
18
18
  script
19
- } from "./index-en4zpzdm.js";
19
+ } from "./index-d0h48d2f.js";
20
20
 
21
21
  // pkgs/@akanjs/cli/scalar/scalar.prompt.ts
22
22
  import { input } from "@inquirer/prompts";
@@ -5,7 +5,7 @@ import {
5
5
  } from "./index-76rn3g2c.js";
6
6
  import {
7
7
  CommandExecutionError
8
- } from "./index-s6nk9815.js";
8
+ } from "./index-xwfg9bam.js";
9
9
 
10
10
  // pkgs/@akanjs/devkit/capacitorApp.ts
11
11
  import { cp, mkdir, readFile, rm, writeFile } from "fs/promises";
package/index.js CHANGED
@@ -4,8 +4,8 @@ import {
4
4
  getTargetCommandNames,
5
5
  getTargetMetas,
6
6
  runCommands
7
- } from "./index-en4zpzdm.js";
8
- import"./index-s6nk9815.js";
7
+ } from "./index-d0h48d2f.js";
8
+ import"./index-xwfg9bam.js";
9
9
  import"./index-67546d0j.js";
10
10
  import"./index-6pz1j0zj.js";
11
11
  import {
@@ -17,22 +17,22 @@ import path from "path";
17
17
 
18
18
  // pkgs/@akanjs/cli/commandModules.ts
19
19
  var commandModules = {
20
- workspace: async () => (await import("./workspace.command-02x93b10.js")).WorkspaceCommand,
21
- agent: async () => (await import("./agent.command-ash7wabs.js")).AgentCommand,
22
- application: async () => (await import("./application.command-zm47j93m.js")).ApplicationCommand,
23
- library: async () => (await import("./library.command-39eq3brk.js")).LibraryCommand,
24
- localRegistry: async () => (await import("./localRegistry.command-34zvgkys.js")).LocalRegistryCommand,
25
- package: async () => (await import("./package.command-wkwd5x5p.js")).PackageCommand,
26
- module: async () => (await import("./module.command-vwahdkzr.js")).ModuleCommand,
27
- page: async () => (await import("./page.command-9w85hrg0.js")).PageCommand,
28
- context: async () => (await import("./context.command-j0kq87xa.js")).ContextCommand,
29
- cloud: async () => (await import("./cloud.command-vwpzten0.js")).CloudCommand,
30
- guideline: async () => (await import("./guideline.command-1m4jwhv0.js")).GuidelineCommand,
31
- scalar: async () => (await import("./scalar.command-9kanb73t.js")).ScalarCommand,
32
- primitive: async () => (await import("./primitive.command-2hnr8h7f.js")).PrimitiveCommand,
33
- quality: async () => (await import("./quality.command-4kerz7mh.js")).QualityCommand,
34
- repair: async () => (await import("./repair.command-zmwshmvr.js")).RepairCommand,
35
- workflow: async () => (await import("./workflow.command-4areq0ex.js")).WorkflowCommand
20
+ workspace: async () => (await import("./workspace.command-hq1x5605.js")).WorkspaceCommand,
21
+ agent: async () => (await import("./agent.command-ej4g9pbb.js")).AgentCommand,
22
+ application: async () => (await import("./application.command-smn51a28.js")).ApplicationCommand,
23
+ library: async () => (await import("./library.command-68ah07a3.js")).LibraryCommand,
24
+ localRegistry: async () => (await import("./localRegistry.command-nmyc5vwv.js")).LocalRegistryCommand,
25
+ package: async () => (await import("./package.command-00ncttab.js")).PackageCommand,
26
+ module: async () => (await import("./module.command-t68xhamx.js")).ModuleCommand,
27
+ page: async () => (await import("./page.command-1096s18n.js")).PageCommand,
28
+ context: async () => (await import("./context.command-hhjyjtp7.js")).ContextCommand,
29
+ cloud: async () => (await import("./cloud.command-2v7ga38h.js")).CloudCommand,
30
+ guideline: async () => (await import("./guideline.command-vj956kfr.js")).GuidelineCommand,
31
+ scalar: async () => (await import("./scalar.command-3kxy3fkh.js")).ScalarCommand,
32
+ primitive: async () => (await import("./primitive.command-02eqpx6t.js")).PrimitiveCommand,
33
+ quality: async () => (await import("./quality.command-vap6xegb.js")).QualityCommand,
34
+ repair: async () => (await import("./repair.command-7dynpnf1.js")).RepairCommand,
35
+ workflow: async () => (await import("./workflow.command-yy0d9gk3.js")).WorkflowCommand
36
36
  };
37
37
  var commandModuleIds = Object.keys(commandModules);
38
38
 
@@ -1,13 +1,13 @@
1
1
  // @bun
2
2
  import {
3
3
  LibraryScript
4
- } from "./index-n08vr4hh.js";
4
+ } from "./index-s9s0n5fz.js";
5
5
  import {
6
6
  Lib,
7
7
  Workspace,
8
8
  command
9
- } from "./index-en4zpzdm.js";
10
- import"./index-s6nk9815.js";
9
+ } from "./index-d0h48d2f.js";
10
+ import"./index-xwfg9bam.js";
11
11
  import"./index-67546d0j.js";
12
12
  import"./index-6pz1j0zj.js";
13
13
  import"./index-r24hmh0q.js";
@@ -2,26 +2,26 @@
2
2
  import {
3
3
  CloudRunner,
4
4
  getNpmRegistryUrl
5
- } from "./index-t5rn8q9f.js";
5
+ } from "./index-j3j3qc9j.js";
6
6
  import"./index-nsj2ftxj.js";
7
7
  import {
8
8
  ApplicationScript
9
- } from "./index-31183bxt.js";
9
+ } from "./index-panyahn4.js";
10
10
  import"./index-76rn3g2c.js";
11
- import"./index-n08vr4hh.js";
11
+ import"./index-s9s0n5fz.js";
12
12
  import {
13
13
  PackageScript
14
- } from "./index-31e8cwjq.js";
14
+ } from "./index-z36qzgzp.js";
15
15
  import {
16
16
  Workspace,
17
17
  command,
18
18
  runner,
19
19
  script
20
- } from "./index-en4zpzdm.js";
20
+ } from "./index-d0h48d2f.js";
21
21
  import"./index-fgc8r6dj.js";
22
22
  import {
23
23
  PkgExecutor
24
- } from "./index-s6nk9815.js";
24
+ } from "./index-xwfg9bam.js";
25
25
  import"./index-46tjzh6s.js";
26
26
  import"./index-67546d0j.js";
27
27
  import"./index-bjpxzr6s.js";
@@ -1,20 +1,20 @@
1
1
  // @bun
2
2
  import {
3
3
  ModuleScript
4
- } from "./index-tnngmzgf.js";
5
- import"./index-f1x6fe2e.js";
4
+ } from "./index-04as43rp.js";
5
+ import"./index-dgeaqwmw.js";
6
6
  import"./index-ss469dec.js";
7
7
  import {
8
8
  renderPrimitiveReport
9
- } from "./index-ckywhpvp.js";
10
- import"./index-ehjhzg5y.js";
9
+ } from "./index-pfnh87f9.js";
10
+ import"./index-xftstr5s.js";
11
11
  import"./index-nsj2ftxj.js";
12
12
  import {
13
13
  Module,
14
14
  Sys,
15
15
  command
16
- } from "./index-en4zpzdm.js";
17
- import"./index-s6nk9815.js";
16
+ } from "./index-d0h48d2f.js";
17
+ import"./index-xwfg9bam.js";
18
18
  import"./index-67546d0j.js";
19
19
  import"./index-6pz1j0zj.js";
20
20
  import"./index-r24hmh0q.js";
@@ -1,13 +1,13 @@
1
1
  // @bun
2
2
  import {
3
3
  PackageScript
4
- } from "./index-31e8cwjq.js";
4
+ } from "./index-z36qzgzp.js";
5
5
  import {
6
6
  Pkg,
7
7
  Workspace,
8
8
  command
9
- } from "./index-en4zpzdm.js";
10
- import"./index-s6nk9815.js";
9
+ } from "./index-d0h48d2f.js";
10
+ import"./index-xwfg9bam.js";
11
11
  import"./index-46tjzh6s.js";
12
12
  import"./index-67546d0j.js";
13
13
  import"./index-6pz1j0zj.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akanjs/cli",
3
- "version": "2.4.2-rc.1",
3
+ "version": "2.4.2-rc.2",
4
4
  "sourceType": "module",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -34,7 +34,7 @@
34
34
  "@langchain/openai": "^1.4.6",
35
35
  "@tailwindcss/node": "^4.3.0",
36
36
  "@trapezedev/project": "^7.1.4",
37
- "akanjs": "2.4.2-rc.1",
37
+ "akanjs": "2.4.2-rc.2",
38
38
  "chalk": "^5.6.2",
39
39
  "commander": "^14.0.3",
40
40
  "daisyui": "5.5.23",
@@ -1,13 +1,13 @@
1
1
  // @bun
2
2
  import {
3
3
  PageScript
4
- } from "./index-f1x6fe2e.js";
4
+ } from "./index-dgeaqwmw.js";
5
5
  import {
6
6
  App,
7
7
  Module,
8
8
  command
9
- } from "./index-en4zpzdm.js";
10
- import"./index-s6nk9815.js";
9
+ } from "./index-d0h48d2f.js";
10
+ import"./index-xwfg9bam.js";
11
11
  import"./index-67546d0j.js";
12
12
  import"./index-6pz1j0zj.js";
13
13
  import"./index-r24hmh0q.js";
@@ -1,20 +1,20 @@
1
1
  // @bun
2
2
  import {
3
3
  PrimitiveScript
4
- } from "./index-mpj63mbw.js";
5
- import"./index-tnngmzgf.js";
6
- import"./index-f1x6fe2e.js";
4
+ } from "./index-acwxfncv.js";
5
+ import"./index-04as43rp.js";
6
+ import"./index-dgeaqwmw.js";
7
7
  import"./index-ss469dec.js";
8
8
  import {
9
9
  renderPrimitiveReport
10
- } from "./index-ckywhpvp.js";
11
- import"./index-ehjhzg5y.js";
10
+ } from "./index-pfnh87f9.js";
11
+ import"./index-xftstr5s.js";
12
12
  import"./index-nsj2ftxj.js";
13
13
  import {
14
14
  Workspace,
15
15
  command
16
- } from "./index-en4zpzdm.js";
17
- import"./index-s6nk9815.js";
16
+ } from "./index-d0h48d2f.js";
17
+ import"./index-xwfg9bam.js";
18
18
  import"./index-67546d0j.js";
19
19
  import"./index-6pz1j0zj.js";
20
20
  import"./index-r24hmh0q.js";
@@ -4,8 +4,8 @@ import {
4
4
  command,
5
5
  runner,
6
6
  script
7
- } from "./index-en4zpzdm.js";
8
- import"./index-s6nk9815.js";
7
+ } from "./index-d0h48d2f.js";
8
+ import"./index-xwfg9bam.js";
9
9
  import"./index-67546d0j.js";
10
10
  import"./index-6pz1j0zj.js";
11
11
  import"./index-r24hmh0q.js";
@@ -1,15 +1,15 @@
1
1
  // @bun
2
2
  import {
3
3
  RepairRunner
4
- } from "./index-xjkjcbhd.js";
5
- import"./index-xdf6rxyt.js";
6
- import"./index-ckywhpvp.js";
4
+ } from "./index-7ppn9v4n.js";
5
+ import"./index-v9jqrdd1.js";
6
+ import"./index-pfnh87f9.js";
7
7
  import {
8
8
  Workspace,
9
9
  command,
10
10
  script
11
- } from "./index-en4zpzdm.js";
12
- import"./index-s6nk9815.js";
11
+ } from "./index-d0h48d2f.js";
12
+ import"./index-xwfg9bam.js";
13
13
  import"./index-67546d0j.js";
14
14
  import"./index-6pz1j0zj.js";
15
15
  import"./index-r24hmh0q.js";
@@ -1,18 +1,18 @@
1
1
  // @bun
2
2
  import {
3
3
  ScalarScript
4
- } from "./index-cp26p7qd.js";
4
+ } from "./index-z5v766nx.js";
5
5
  import"./index-ss469dec.js";
6
6
  import {
7
7
  renderPrimitiveReport
8
- } from "./index-ckywhpvp.js";
9
- import"./index-ehjhzg5y.js";
8
+ } from "./index-pfnh87f9.js";
9
+ import"./index-xftstr5s.js";
10
10
  import"./index-nsj2ftxj.js";
11
11
  import {
12
12
  Sys,
13
13
  command
14
- } from "./index-en4zpzdm.js";
15
- import"./index-s6nk9815.js";
14
+ } from "./index-d0h48d2f.js";
15
+ import"./index-xwfg9bam.js";
16
16
  import"./index-67546d0j.js";
17
17
  import"./index-6pz1j0zj.js";
18
18
  import"./index-r24hmh0q.js";
@@ -531,7 +531,8 @@ export class TaskService extends serve(db.task, ({ plug }) => ({
531
531
  For a custom adapter class (not a predefined role), pass the class itself, e.g. `ipfsApi: plug(IpfsApi)`
532
532
  (see `libs/shared/lib/file/file.service.ts`). Injecting a file/image field is usually simpler than calling
533
533
  storage directly: declare `image: field(File).optional()` (or `images: field([File])`) on the model and let the
534
- store's generated `upload<Field>On<Model>(fileList)` action handle the upload.
534
+ store's generated `upload<Field>On<Model>(fileList)` action handle the upload. Add `{ cascade: "remove" }` to that
535
+ field when the file belongs to the model alone, and removing the model removes the file and its stored object.
535
536
 
536
537
  ---
537
538
 
@@ -748,6 +749,12 @@ A short list of things the type system does not always catch:
748
749
  `secret` / `hidden` / `resolve()` fields with `text` throw at class-build time — the mirror is plaintext. Search
749
750
  runs on sqlite/libsql only; `q.search()` against Postgres throws. `thumb` is mirrored for rendering and is not
750
751
  indexed.
752
+ - **`cascade: "remove"` takes a relation's target down with its owner.** Declare it on the relation itself —
753
+ `image: field(File, { cascade: "remove" })`, arrays included. The removal runs through the **target's service**,
754
+ so the target's own `_postRemove` runs too; that is how removing a model also deletes the file's stored object.
755
+ Only a relation accepts it: a `String`, an `ID`, or a scalar throws while the class is being built. Nothing
756
+ checks for other references to the same target, so declaring it asserts exclusive ownership. Document removal is
757
+ soft but the storage delete is not, and query-level removal fires no hooks and therefore no cascade.
751
758
  - **`q.search()` is a filter node, not a slice requirement.** Prefer
752
759
  `bySearch: filter().arg("text", String).query((text, q) => q.search(text, { prefix: true }))` — the generated
753
760
  `listBySearch` / `countBySearch` / `queryBySearch` / `insightBySearch` come for free. Only add a search slice when
@@ -1,30 +1,30 @@
1
1
  // @bun
2
2
  import {
3
3
  WorkflowRunner
4
- } from "./index-2nb022xv.js";
4
+ } from "./index-h971erkm.js";
5
5
  import {
6
6
  ScalarScript
7
- } from "./index-cp26p7qd.js";
7
+ } from "./index-z5v766nx.js";
8
8
  import {
9
9
  PrimitiveScript
10
- } from "./index-mpj63mbw.js";
10
+ } from "./index-acwxfncv.js";
11
11
  import {
12
12
  ModuleScript
13
- } from "./index-tnngmzgf.js";
14
- import"./index-f1x6fe2e.js";
13
+ } from "./index-04as43rp.js";
14
+ import"./index-dgeaqwmw.js";
15
15
  import"./index-ss469dec.js";
16
- import"./index-xdf6rxyt.js";
16
+ import"./index-v9jqrdd1.js";
17
17
  import {
18
18
  createWorkflowStepRegistry
19
- } from "./index-ckywhpvp.js";
20
- import"./index-ehjhzg5y.js";
19
+ } from "./index-pfnh87f9.js";
20
+ import"./index-xftstr5s.js";
21
21
  import"./index-nsj2ftxj.js";
22
22
  import {
23
23
  Workspace,
24
24
  command,
25
25
  script
26
- } from "./index-en4zpzdm.js";
27
- import"./index-s6nk9815.js";
26
+ } from "./index-d0h48d2f.js";
27
+ import"./index-xwfg9bam.js";
28
28
  import"./index-67546d0j.js";
29
29
  import"./index-6pz1j0zj.js";
30
30
  import"./index-r24hmh0q.js";
@@ -1,55 +1,55 @@
1
1
  // @bun
2
2
  import {
3
3
  ContextScript
4
- } from "./index-8dsjmcbp.js";
5
- import"./index-xjkjcbhd.js";
6
- import"./index-2nb022xv.js";
4
+ } from "./index-y1e79mz3.js";
5
+ import"./index-7ppn9v4n.js";
6
+ import"./index-h971erkm.js";
7
7
  import {
8
8
  CloudScript
9
- } from "./index-0wgpfp7t.js";
10
- import"./index-cp26p7qd.js";
11
- import"./index-mpj63mbw.js";
12
- import"./index-tnngmzgf.js";
13
- import"./index-f1x6fe2e.js";
9
+ } from "./index-majzj044.js";
10
+ import"./index-z5v766nx.js";
11
+ import"./index-acwxfncv.js";
12
+ import"./index-04as43rp.js";
13
+ import"./index-dgeaqwmw.js";
14
14
  import"./index-ss469dec.js";
15
- import"./index-smt4re0s.js";
15
+ import"./index-zfp1gz9f.js";
16
16
  import {
17
17
  AgentScript
18
- } from "./index-79v9jwqe.js";
19
- import"./index-xdf6rxyt.js";
20
- import"./index-ckywhpvp.js";
21
- import"./index-ehjhzg5y.js";
18
+ } from "./index-40w1kqp1.js";
19
+ import"./index-v9jqrdd1.js";
20
+ import"./index-pfnh87f9.js";
21
+ import"./index-xftstr5s.js";
22
22
  import {
23
23
  getLatestPackageVersion,
24
24
  getNpmRegistryUrl
25
- } from "./index-t5rn8q9f.js";
25
+ } from "./index-j3j3qc9j.js";
26
26
  import {
27
27
  GlobalConfig
28
28
  } from "./index-nsj2ftxj.js";
29
29
  import {
30
30
  ApplicationScript
31
- } from "./index-31183bxt.js";
31
+ } from "./index-panyahn4.js";
32
32
  import"./index-76rn3g2c.js";
33
33
  import {
34
34
  LibraryScript
35
- } from "./index-n08vr4hh.js";
35
+ } from "./index-s9s0n5fz.js";
36
36
  import {
37
37
  PackageScript
38
- } from "./index-31e8cwjq.js";
38
+ } from "./index-z36qzgzp.js";
39
39
  import {
40
40
  Exec,
41
41
  Workspace,
42
42
  command,
43
43
  runner,
44
44
  script
45
- } from "./index-en4zpzdm.js";
45
+ } from "./index-d0h48d2f.js";
46
46
  import"./index-fgc8r6dj.js";
47
47
  import {
48
48
  AppExecutor,
49
49
  LibExecutor,
50
50
  PkgExecutor,
51
51
  WorkspaceExecutor
52
- } from "./index-s6nk9815.js";
52
+ } from "./index-xwfg9bam.js";
53
53
  import"./index-46tjzh6s.js";
54
54
  import {
55
55
  FileSys