@akanjs/cli 3.3.0-rc.2 → 3.3.0-rc.4

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 (93) hide show
  1. package/.build-stamp +2 -2
  2. package/{CodeAgent-xdw73nbz.js → CodeAgent-0r05qa30.js} +2 -2
  3. package/{CodeTui-0gewm71c.js → CodeTui-brryts78.js} +1 -1
  4. package/TunnelShare-dcx5j51j.js +16 -0
  5. package/{agent.command-g1mj34wz.js → agent.command-xn4maemk.js} +17 -17
  6. package/akanCode.js +2 -2
  7. package/{appExecutor-rrx10jya.js → appExecutor-qt1nm242.js} +3 -3
  8. package/{application.command-3w4v7t40.js → application.command-rv2n5bw8.js} +13 -13
  9. package/{applicationBuildRunner-y5xbetyz.js → applicationBuildRunner-ggkd5qgy.js} +13 -10
  10. package/buildBatch.proc.js +10 -10
  11. package/{cloud.command-ph0rz6sw.js → cloud.command-hgnbps4n.js} +18 -18
  12. package/cloud.script-rzsnzjsg.js +30 -0
  13. package/{code.command-9b967qpg.js → code.command-9gfph3t3.js} +10 -10
  14. package/{context.command-ndzs5rbf.js → context.command-dwhz1fwq.js} +18 -18
  15. package/context.runner-gh9rr71p.js +32 -0
  16. package/{csrArtifactBuilder-gtvff6k7.js → csrArtifactBuilder-zawt8knq.js} +2 -3
  17. package/{guideline.command-y8qz9kxy.js → guideline.command-v2daz21k.js} +6 -6
  18. package/guidelines/akanApi/akanApi.instruction.md +7 -2
  19. package/guidelines/conventions/core.md +6 -11
  20. package/guidelines/conventions/rules/app.md +1 -2
  21. package/guidelines/conventions/rules/auth.md +18 -27
  22. package/guidelines/conventions/rules/config.md +14 -46
  23. package/guidelines/conventions/rules/page.md +19 -34
  24. package/guidelines/conventions/rules/server.md +1 -4
  25. package/guidelines/conventions/rules/ssr.md +3 -4
  26. package/guidelines/conventions/rules/ts.md +2 -1
  27. package/guidelines/cssRule/cssRule.instruction.md +1 -0
  28. package/guidelines/pageRule/pageRule.instruction.md +6 -53
  29. package/incrementalBuilder.proc.js +8 -8
  30. package/{index-6gepp8yn.js → index-0k64a38w.js} +60 -19
  31. package/{index-cm9rb480.js → index-0vtpxfx6.js} +5 -6
  32. package/{index-1p9bxjmt.js → index-0vv0a5h8.js} +2 -2
  33. package/{index-qh81drde.js → index-1v5eghaa.js} +8 -8
  34. package/{index-2vn0m9z5.js → index-2ktpwjgf.js} +3 -3
  35. package/{index-mnhrqjjq.js → index-2t7jnfg5.js} +1 -1
  36. package/{index-02v45hh9.js → index-58ck1gsm.js} +3 -3
  37. package/{index-twjgmryg.js → index-5cpjkfhk.js} +4 -4
  38. package/{index-pc42gxa5.js → index-609zbjve.js} +5 -5
  39. package/{index-0z8sbdme.js → index-66b1hrxh.js} +1 -1
  40. package/{index-dr1carpr.js → index-6yefp97x.js} +4 -4
  41. package/{index-2kh4xj3m.js → index-8fg1hvj5.js} +1 -1
  42. package/{index-b0t92k71.js → index-91bcfjej.js} +11 -11
  43. package/{index-ankyx6dj.js → index-999e5kp4.js} +3 -3
  44. package/{index-45aprybg.js → index-arcdcexp.js} +2 -2
  45. package/{index-scfsqen7.js → index-b3kjr19v.js} +3 -3
  46. package/{index-y2g0s9tn.js → index-bjg9thz8.js} +1 -1
  47. package/{index-ktxdfqg5.js → index-bsew0a12.js} +1 -1
  48. package/{index-f2arv0mv.js → index-c67vjafa.js} +1 -1
  49. package/{index-b372rck5.js → index-cfzqdsam.js} +14 -7
  50. package/{index-jg5rwrf7.js → index-dy5reyet.js} +226 -21
  51. package/{index-gtydr9qc.js → index-fqhr7j56.js} +8 -8
  52. package/{index-1c2807kg.js → index-g7hm77j6.js} +3 -3
  53. package/{index-jdw9m5c4.js → index-ghs8gtvp.js} +4 -4
  54. package/{index-4a1n0nym.js → index-h1k3zyyb.js} +1 -1
  55. package/{index-q8h4eg5y.js → index-jzwdwse0.js} +6 -6
  56. package/{index-0csk6jqm.js → index-m4s4tzjr.js} +3 -3
  57. package/{index-3569fr49.js → index-ndfxse05.js} +5 -5
  58. package/{index-d0n78fzc.js → index-rd669r6x.js} +11 -11
  59. package/{index-82cmbpxc.js → index-rnhbh45p.js} +7 -7
  60. package/{index-4zgm54wf.js → index-rwhdcnr8.js} +7 -7
  61. package/{index-38x8ynrx.js → index-sn5cka91.js} +2 -2
  62. package/{index-ymgsvhc5.js → index-v0gt5ryd.js} +18 -14
  63. package/{index-652f3bs8.js → index-vznyyaf8.js} +5 -5
  64. package/{index-6j351de4.js → index-w18qdjyf.js} +2 -2
  65. package/{index-0wa5z6rm.js → index-yejf6fth.js} +1 -1
  66. package/{index-whvhsb5f.js → index-zfmc4380.js} +1 -1
  67. package/{index-9rymt8d6.js → index-zx3bv21b.js} +1 -1
  68. package/index.js +27 -27
  69. package/{libExecutor-nstr00s7.js → libExecutor-p21kkayq.js} +2 -2
  70. package/{library.command-b02aw1hm.js → library.command-m4gw18qq.js} +7 -7
  71. package/{localRegistry.command-3hg1p4aj.js → localRegistry.command-3yq90wgp.js} +17 -17
  72. package/{module.command-bd9gz6cv.js → module.command-9vfdxapr.js} +9 -9
  73. package/{package.command-xmr0mxze.js → package.command-rt4y8xaf.js} +8 -8
  74. package/package.json +3 -2
  75. package/{page.command-x94qf58g.js → page.command-4zc20rnv.js} +7 -7
  76. package/{pipeline.command-n2843k6t.js → pipeline.command-4ekd9xgb.js} +6 -6
  77. package/{pkgExecutor-cka27e3c.js → pkgExecutor-mh903rz9.js} +2 -2
  78. package/{primitive.command-cs7v376h.js → primitive.command-5g3xe4mf.js} +10 -10
  79. package/{projectTypecheck-za2n3nbr.js → projectTypecheck-bz6smek9.js} +1 -1
  80. package/{quality.command-nqngh1jd.js → quality.command-zf8dyc9w.js} +8 -8
  81. package/{repair.command-v2medwsm.js → repair.command-sx0eyq4w.js} +9 -9
  82. package/{scalar.command-61cjmxn1.js → scalar.command-4bvzmbbh.js} +8 -8
  83. package/skills/akan-page/SKILL.md +18 -13
  84. package/skills/akan-runtime/SKILL.md +21 -16
  85. package/skills/akan-service/SKILL.md +2 -2
  86. package/{subspace.command-dtv8nfh7.js → subspace.command-cxyej1an.js} +10 -10
  87. package/{tunnel.command-fmwm5fgb.js → tunnel.command-gvnv36yf.js} +9 -9
  88. package/{verify.command-4f260t53.js → verify.command-yj2mngs0.js} +14 -14
  89. package/{workflow.command-tm5q9xsm.js → workflow.command-42p9g0w8.js} +14 -14
  90. package/{workspace.command-75gc280j.js → workspace.command-91wx03de.js} +31 -31
  91. package/TunnelShare-cccfdgbm.js +0 -16
  92. package/cloud.script-8bs9tp4j.js +0 -30
  93. package/context.runner-bmstpng2.js +0 -32
@@ -1,17 +1,17 @@
1
1
  // @bun
2
2
  import {
3
3
  runner
4
- } from "./index-652f3bs8.js";
4
+ } from "./index-vznyyaf8.js";
5
5
  import {
6
6
  AppExecutor2
7
- } from "./index-b372rck5.js";
7
+ } from "./index-cfzqdsam.js";
8
8
  import {
9
9
  jsonText,
10
10
  workflowStatus,
11
11
  createWorkflowBaselineSummary,
12
12
  buildAkanModuleContextIndex,
13
13
  toolingRolloutGate
14
- } from "./index-1c2807kg.js";
14
+ } from "./index-g7hm77j6.js";
15
15
  import {
16
16
  buildResourceList,
17
17
  codexMcpConfigPath,
@@ -21,16 +21,16 @@ import {
21
21
  upsertCodexMcpServerBlock,
22
22
  renderDoctorText,
23
23
  AkanContextAnalyzer
24
- } from "./index-jdw9m5c4.js";
24
+ } from "./index-ghs8gtvp.js";
25
25
  import {
26
26
  Prompter2
27
27
  } from "./index-j3fqs8rc.js";
28
28
  import {
29
29
  NativeApp
30
- } from "./index-ymgsvhc5.js";
30
+ } from "./index-v0gt5ryd.js";
31
31
  import {
32
32
  isPlaceholderAppId
33
- } from "./index-2kh4xj3m.js";
33
+ } from "./index-8fg1hvj5.js";
34
34
  import {
35
35
  getMobileTargets,
36
36
  appIdsOf
@@ -40,10 +40,10 @@ import {
40
40
  } from "./index-xs9a3ddt.js";
41
41
  import {
42
42
  RepairRunner
43
- } from "./index-2vn0m9z5.js";
43
+ } from "./index-2ktpwjgf.js";
44
44
  import {
45
45
  WorkflowRunner
46
- } from "./index-gtydr9qc.js";
46
+ } from "./index-fqhr7j56.js";
47
47
 
48
48
  // pkgs/@akanjs/devkit/context/akanMcpContract.ts
49
49
  import { lstatSync, realpathSync } from "fs";
@@ -1,17 +1,17 @@
1
1
  // @bun
2
2
  import {
3
3
  runner
4
- } from "./index-652f3bs8.js";
4
+ } from "./index-vznyyaf8.js";
5
5
  import {
6
6
  writeWorkflowRunArtifact,
7
7
  generatedFilePathsForTarget,
8
8
  writeGeneratedSyncState,
9
9
  createRepairReport,
10
10
  renderRepairReport
11
- } from "./index-1c2807kg.js";
11
+ } from "./index-g7hm77j6.js";
12
12
  import {
13
13
  AkanContextAnalyzer
14
- } from "./index-jdw9m5c4.js";
14
+ } from "./index-ghs8gtvp.js";
15
15
  import {
16
16
  isWorkflowSysName,
17
17
  isWorkflowModuleName
@@ -4,7 +4,7 @@ import {
4
4
  Executor,
5
5
  PkgInfo,
6
6
  WorkspaceExecutor
7
- } from "./index-pc42gxa5.js";
7
+ } from "./index-609zbjve.js";
8
8
 
9
9
  // pkgs/@akanjs/devkit/executors/pkgExecutor.ts
10
10
  import path from "path";
@@ -19,7 +19,7 @@ import {
19
19
  SubagentPool2,
20
20
  McpSignIn,
21
21
  AkanCodeCompaction2
22
- } from "./index-0wa5z6rm.js";
22
+ } from "./index-yejf6fth.js";
23
23
  import {
24
24
  codeAgentIsLoopback,
25
25
  codeAgentHostListed,
@@ -676,7 +676,7 @@ class AkanToolPack2 {
676
676
  return { name: "akan-tools", factory: async (pi) => await this.#register(pi) };
677
677
  }
678
678
  async names() {
679
- const { ContextRunner } = await import("./context.runner-bmstpng2.js");
679
+ const { ContextRunner } = await import("./context.runner-gh9rr71p.js");
680
680
  return [
681
681
  ...new ContextRunner().listMcpTools(this.#options.mode).map((tool) => tool.name),
682
682
  AkanToolPack2.verifyToolName
@@ -684,7 +684,7 @@ class AkanToolPack2 {
684
684
  }
685
685
  static verifyToolName = "akan_verify";
686
686
  async#register(pi) {
687
- const { ContextRunner } = await import("./context.runner-bmstpng2.js");
687
+ const { ContextRunner } = await import("./context.runner-gh9rr71p.js");
688
688
  const runner = new ContextRunner;
689
689
  const guidelineNames = await AkanToolPack2.#guidelineNames();
690
690
  for (const tool of runner.listMcpTools(this.#options.mode, { guidelineNames })) {
@@ -1,16 +1,16 @@
1
1
  // @bun
2
2
  import {
3
3
  script
4
- } from "./index-652f3bs8.js";
4
+ } from "./index-vznyyaf8.js";
5
5
  import {
6
6
  jsonText
7
- } from "./index-1c2807kg.js";
7
+ } from "./index-g7hm77j6.js";
8
8
  import {
9
9
  akanMcpInstallTargets
10
- } from "./index-jdw9m5c4.js";
10
+ } from "./index-ghs8gtvp.js";
11
11
  import {
12
12
  ContextRunner2
13
- } from "./index-qh81drde.js";
13
+ } from "./index-1v5eghaa.js";
14
14
 
15
15
  // pkgs/@akanjs/cli/context/context.script.ts
16
16
  import { Logger } from "akanjs/common";
@@ -216,7 +216,7 @@ var rootEntryHintOf = (type, name) => type === "app" && retiredAppRootEntries.ha
216
216
  var isScannedRootEntry = (type, name) => !name.startsWith(".") || rootAllowedDirs[type].has(name);
217
217
 
218
218
  // pkgs/@akanjs/devkit/workspace/scanInfo.ts
219
- var loadLibExecutor = () => import("./libExecutor-nstr00s7.js");
219
+ var loadLibExecutor = () => import("./libExecutor-p21kkayq.js");
220
220
  var serviceFileTypes = [
221
221
  "dictionary",
222
222
  "service",
@@ -623,9 +623,9 @@ class WorkspaceInfo {
623
623
  return existingWorkspaceInfo;
624
624
  const [appNames, libNames, pkgNames] = await Promise.all([exec.getApps(), exec.getLibs(), exec.getPkgs()]);
625
625
  const [appModule, libModule, pkgModule] = await Promise.all([
626
- import("./appExecutor-rrx10jya.js"),
626
+ import("./appExecutor-qt1nm242.js"),
627
627
  loadLibExecutor(),
628
- import("./pkgExecutor-cka27e3c.js")
628
+ import("./pkgExecutor-mh903rz9.js")
629
629
  ]);
630
630
  const [appInfos, libInfos, pkgInfos] = await Promise.all([
631
631
  Promise.all(appNames.map(async (appName) => await appModule.AppExecutor.from(exec, appName).scan())),
@@ -3191,7 +3191,7 @@ class AkanAppConfig {
3191
3191
  "android",
3192
3192
  "desktop"
3193
3193
  ],
3194
- ios: ["indexPath", "teamId", "infoPlist", "entitlements", "privacy", "files"],
3194
+ ios: ["indexPath", "teamId", "infoPlist", "entitlements", "privacy", "files", "hideFormAccessoryBar"],
3195
3195
  android: [
3196
3196
  "indexPath",
3197
3197
  "sha256CertFingerprints",
@@ -3388,7 +3388,7 @@ CMD [${command.map((c) => `"${c}"`).join(",")}]`;
3388
3388
  return new AkanAppConfig(app, libs, rootPackageJson, config, baseDevEnv, plugins ?? [], libContributions);
3389
3389
  }
3390
3390
  static async#collectLibContributions(app, libs, bustImportCache) {
3391
- const { LibExecutor } = await import("./libExecutor-nstr00s7.js");
3391
+ const { LibExecutor } = await import("./libExecutor-p21kkayq.js");
3392
3392
  const libConfigs = await Promise.all(libs.map(async (libName) => AkanLibConfig.from(LibExecutor.from(app, libName), { bustImportCache }).catch((error) => {
3393
3393
  if (error instanceof LibConfigRefusal)
3394
3394
  throw error;
@@ -3,7 +3,7 @@ import {
3
3
  AsyncDefaultExportDetector,
4
4
  StoreBootstrap,
5
5
  resolveSsrPageEntriesForApp
6
- } from "./index-b372rck5.js";
6
+ } from "./index-cfzqdsam.js";
7
7
  import {
8
8
  FileSys2
9
9
  } from "./index-zyjztrvc.js";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  runner,
4
4
  script
5
- } from "./index-652f3bs8.js";
5
+ } from "./index-vznyyaf8.js";
6
6
  import {
7
7
  bilingualLabelForField,
8
8
  bilingualDescriptionForField,
@@ -10,10 +10,10 @@ import {
10
10
  sourceFile,
11
11
  generatedFilesForSync,
12
12
  createPassedPrimitiveReport
13
- } from "./index-1c2807kg.js";
13
+ } from "./index-g7hm77j6.js";
14
14
  import {
15
15
  PageScript
16
- } from "./index-y2g0s9tn.js";
16
+ } from "./index-bjg9thz8.js";
17
17
  import {
18
18
  pluralizeName
19
19
  } from "./index-nz8prx9g.js";
@@ -22,7 +22,7 @@ import {
22
22
  } from "./index-va90m8nd.js";
23
23
  import {
24
24
  ModuleExecutor
25
- } from "./index-whvhsb5f.js";
25
+ } from "./index-zfmc4380.js";
26
26
 
27
27
  // pkgs/@akanjs/cli/module/module.script.ts
28
28
  import { capitalize as capitalize2 } from "akanjs/common";
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  DesktopBin
4
- } from "./index-ymgsvhc5.js";
4
+ } from "./index-v0gt5ryd.js";
5
5
  // pkgs/@akanjs/devkit/mobile/desktopServerStage.ts
6
6
  import { cp, mkdir, readdir, rm, writeFile } from "fs/promises";
7
7
  import path from "path";
@@ -1,37 +1,37 @@
1
1
  // @bun
2
2
  import {
3
3
  SysExecutor
4
- } from "./index-pc42gxa5.js";
4
+ } from "./index-609zbjve.js";
5
5
  import {
6
6
  CliError
7
7
  } from "./index-j4yvgfhr.js";
8
8
  import {
9
9
  ApplicationBuildReporter
10
- } from "./index-6j351de4.js";
10
+ } from "./index-w18qdjyf.js";
11
11
  import {
12
12
  script,
13
13
  markCliErrorPrinted,
14
14
  assertPromptable
15
- } from "./index-652f3bs8.js";
15
+ } from "./index-vznyyaf8.js";
16
16
  import {
17
17
  AppExecutor2
18
- } from "./index-b372rck5.js";
18
+ } from "./index-cfzqdsam.js";
19
19
  import {
20
20
  LibExecutor2
21
- } from "./index-f2arv0mv.js";
21
+ } from "./index-c67vjafa.js";
22
22
  import {
23
23
  PkgExecutor2
24
- } from "./index-mnhrqjjq.js";
24
+ } from "./index-2t7jnfg5.js";
25
25
  import {
26
26
  DesktopServerStage
27
- } from "./index-2kh4xj3m.js";
27
+ } from "./index-8fg1hvj5.js";
28
28
  import {
29
29
  LibraryScript
30
- } from "./index-0csk6jqm.js";
30
+ } from "./index-m4s4tzjr.js";
31
31
  import {
32
32
  ApplicationRunner,
33
33
  VerifyScope
34
- } from "./index-d0n78fzc.js";
34
+ } from "./index-rd669r6x.js";
35
35
  import {
36
36
  PreviewChrome2,
37
37
  PreviewView2,
@@ -39,7 +39,7 @@ import {
39
39
  } from "./index-rwgqba9p.js";
40
40
  import {
41
41
  formatSlicePlan
42
- } from "./index-9rymt8d6.js";
42
+ } from "./index-zx3bv21b.js";
43
43
  import {
44
44
  openBrowser
45
45
  } from "./index-9dp031by.js";
@@ -1779,7 +1779,7 @@ class ApplicationScript extends script("application", [ApplicationRunner, Librar
1779
1779
  await Promise.all(shares.map(async (share) => await share.close()));
1780
1780
  }, "Abandoning the tunnel release; the shares expire on their own.");
1781
1781
  await Promise.all(apps.map(async (app) => {
1782
- const { TunnelShare } = await import("./TunnelShare-cccfdgbm.js");
1782
+ const { TunnelShare } = await import("./TunnelShare-dcx5j51j.js");
1783
1783
  const share = await TunnelShare.open(app, { workspace: app.workspace });
1784
1784
  shares.push(share);
1785
1785
  urls.set(app.name, share.url);
@@ -2,16 +2,16 @@
2
2
  import {
3
3
  runner,
4
4
  script
5
- } from "./index-652f3bs8.js";
5
+ } from "./index-vznyyaf8.js";
6
6
  import {
7
7
  FileSys2
8
8
  } from "./index-zyjztrvc.js";
9
9
  import {
10
10
  PkgExecutor2
11
- } from "./index-mnhrqjjq.js";
11
+ } from "./index-2t7jnfg5.js";
12
12
  import {
13
13
  MaintainabilityBaseline
14
- } from "./index-ktxdfqg5.js";
14
+ } from "./index-bsew0a12.js";
15
15
  import {
16
16
  assertPackageName
17
17
  } from "./index-va90m8nd.js";
@@ -9,10 +9,10 @@ import {
9
9
  UpdatePackFolder,
10
10
  NativePublicEnv,
11
11
  NativeApp
12
- } from "./index-ymgsvhc5.js";
12
+ } from "./index-v0gt5ryd.js";
13
13
  import {
14
14
  ExitCodeError
15
- } from "./index-652f3bs8.js";
15
+ } from "./index-vznyyaf8.js";
16
16
  import {
17
17
  ConfigLock
18
18
  } from "./index-bqbf654f.js";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  SOURCE_EXTS,
4
4
  WatchRootResolver
5
- } from "./index-6j351de4.js";
5
+ } from "./index-w18qdjyf.js";
6
6
  import {
7
7
  loaderFor,
8
8
  BarrelAnalyzer,
@@ -18,7 +18,7 @@ import {
18
18
  CsrDevPaths,
19
19
  PagesEntrySourceGenerator,
20
20
  PagesBundleBuilder
21
- } from "./index-0z8sbdme.js";
21
+ } from "./index-66b1hrxh.js";
22
22
  import {
23
23
  FileSys2
24
24
  } from "./index-zyjztrvc.js";
@@ -26,7 +26,7 @@ import {
26
26
  AsyncDefaultExportDetector,
27
27
  StoreBootstrap,
28
28
  resolveSsrPageEntriesForApp
29
- } from "./index-b372rck5.js";
29
+ } from "./index-cfzqdsam.js";
30
30
 
31
31
  // pkgs/@akanjs/devkit/frontendBuild/clientEntryDiscovery.ts
32
32
  import fs from "fs";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  runner,
4
4
  script
5
- } from "./index-652f3bs8.js";
5
+ } from "./index-vznyyaf8.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
  JsonFormatter
4
- } from "./index-pc42gxa5.js";
4
+ } from "./index-609zbjve.js";
5
5
 
6
6
  // pkgs/@akanjs/devkit/quality/maintainabilityBaseline.ts
7
7
  class MaintainabilityBaseline {
@@ -5,7 +5,7 @@ import {
5
5
  SysExecutor,
6
6
  WorkspaceExecutor,
7
7
  AkanLibConfig
8
- } from "./index-pc42gxa5.js";
8
+ } from "./index-609zbjve.js";
9
9
 
10
10
  // pkgs/@akanjs/devkit/executors/libExecutor.ts
11
11
  class LibExecutor2 extends SysExecutor {
@@ -7,13 +7,13 @@ import {
7
7
  AkanAppConfig,
8
8
  increaseBuildNum,
9
9
  decreaseBuildNum
10
- } from "./index-pc42gxa5.js";
10
+ } from "./index-609zbjve.js";
11
11
  import {
12
12
  FileSys2
13
13
  } from "./index-zyjztrvc.js";
14
14
  import {
15
15
  LibExecutor2
16
- } from "./index-f2arv0mv.js";
16
+ } from "./index-c67vjafa.js";
17
17
 
18
18
  // pkgs/@akanjs/devkit/executors/appExecutor.ts
19
19
  import { cp as cpEntry, lstat, mkdir, readdir as readDirEntries, realpath, rm as rm2, stat, symlink } from "fs/promises";
@@ -409,6 +409,11 @@ class AppExecutor2 extends SysExecutor {
409
409
  static from(executor, name) {
410
410
  return new AppExecutor2({ workspace: executor instanceof WorkspaceExecutor ? executor : executor.workspace, name });
411
411
  }
412
+ #verifyBuild = false;
413
+ useVerifyDist() {
414
+ this.dist = new Executor(`dist/verify/${this.name}`, `${this.workspace.workspaceRoot}/dist/verify/${this.name}`);
415
+ this.#verifyBuild = true;
416
+ }
412
417
  static #keptOnStart = [path3.join(".akan", "cache")];
413
418
  static #legacyNative = path3.join(".akan", "native");
414
419
  async#removeDevOutput(dir = ".akan") {
@@ -486,11 +491,13 @@ class AppExecutor2 extends SysExecutor {
486
491
  this.#excludeDevOnlyPages = true;
487
492
  this.#pageKeys = null;
488
493
  await this.dist.removeDir(this.dist.cwdPath);
489
- await Promise.all([this.dist.mkdir("private"), this.dist.mkdir("public")]);
490
- await Promise.all([
491
- this.cp("private", `${this.dist.cwdPath}/private`, { dereference: true }),
492
- ...akanConfig.web.ssr ? [this.cp("public", `${this.dist.cwdPath}/public`, { dereference: true })] : []
493
- ]);
494
+ if (!this.#verifyBuild) {
495
+ await Promise.all([this.dist.mkdir("private"), this.dist.mkdir("public")]);
496
+ await Promise.all([
497
+ this.cp("private", `${this.dist.cwdPath}/private`, { dereference: true }),
498
+ ...akanConfig.web.ssr ? [this.cp("public", `${this.dist.cwdPath}/public`, { dereference: true })] : []
499
+ ]);
500
+ }
494
501
  } else {
495
502
  await this.#removeDevOutput();
496
503
  if (!akanConfig.web.ssr || !akanConfig.web.csr)