@akanjs/cli 3.3.0-rc.1 → 3.3.0-rc.3

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 (105) hide show
  1. package/.build-stamp +2 -2
  2. package/CodeAgent-0r05qa30.js +11 -0
  3. package/{CodeTui-zee8atsr.js → CodeTui-brryts78.js} +4 -4
  4. package/TunnelShare-dcx5j51j.js +16 -0
  5. package/{agent.command-x65f2ags.js → agent.command-xn4maemk.js} +20 -22
  6. package/akanCode.js +5 -5
  7. package/appExecutor-qt1nm242.js +11 -0
  8. package/{application.command-azbd1pb2.js → application.command-rv2n5bw8.js} +17 -19
  9. package/{applicationBuildRunner-trfxv3pd.js → applicationBuildRunner-ggkd5qgy.js} +16 -13
  10. package/buildBatch.proc.js +19 -18
  11. package/{cloud.command-gapp4634.js → cloud.command-hgnbps4n.js} +19 -24
  12. package/cloud.script-rzsnzjsg.js +30 -0
  13. package/{code.command-5smx61yf.js → code.command-9gfph3t3.js} +13 -13
  14. package/{context.command-ym5jbkny.js → context.command-dwhz1fwq.js} +20 -22
  15. package/context.runner-gh9rr71p.js +32 -0
  16. package/csrArtifactBuilder-zawt8knq.js +9 -0
  17. package/{index-2ny1e95c.js → dependencyScanner-93g8tk0r.js} +6 -5
  18. package/{fileSys-q22646yc.js → fileSys-e5mwt73x.js} +1 -1
  19. package/frameworkGraph-aneq2nwy.js +8 -0
  20. package/{guideline.command-zwypaqsh.js → guideline.command-v2daz21k.js} +8 -8
  21. package/guidelines/akanApi/akanApi.instruction.md +7 -2
  22. package/guidelines/conventions/core.md +6 -11
  23. package/guidelines/conventions/rules/app.md +1 -2
  24. package/guidelines/conventions/rules/auth.md +18 -27
  25. package/guidelines/conventions/rules/config.md +14 -46
  26. package/guidelines/conventions/rules/page.md +19 -34
  27. package/guidelines/conventions/rules/server.md +1 -4
  28. package/guidelines/conventions/rules/ssr.md +3 -4
  29. package/guidelines/conventions/rules/ts.md +2 -1
  30. package/guidelines/cssRule/cssRule.instruction.md +1 -0
  31. package/guidelines/pageRule/pageRule.instruction.md +6 -53
  32. package/incrementalBuilder.proc.js +24 -18
  33. package/{index-j6jjmn2r.js → index-0k64a38w.js} +62 -21
  34. package/{index-78y75t0a.js → index-0vtpxfx6.js} +6 -7
  35. package/{index-4ss4gkv3.js → index-0vv0a5h8.js} +2 -2
  36. package/{index-j0wr4e32.js → index-1v5eghaa.js} +9 -9
  37. package/{index-kfvjzk8r.js → index-2ktpwjgf.js} +3 -3
  38. package/{index-w1zexzpx.js → index-2t7jnfg5.js} +1 -1
  39. package/{index-p7beqww9.js → index-3fmzz9sf.js} +18 -18
  40. package/{index-8jtqfye2.js → index-58ck1gsm.js} +6 -6
  41. package/{index-0s7w2085.js → index-5cpjkfhk.js} +4 -4
  42. package/{index-71y6176j.js → index-609zbjve.js} +8 -8
  43. package/{index-9wh04mqy.js → index-66b1hrxh.js} +2 -2
  44. package/{index-gt8phqpt.js → index-6yefp97x.js} +4 -4
  45. package/{index-0dm25wvf.js → index-7ssr7wq4.js} +1 -1
  46. package/{index-612fdtbk.js → index-8fg1hvj5.js} +1 -1
  47. package/{index-41a03gkj.js → index-91bcfjej.js} +19 -19
  48. package/{index-275a4r3n.js → index-999e5kp4.js} +11 -15
  49. package/{index-s885g0jj.js → index-arcdcexp.js} +3 -3
  50. package/{index-jek2re5k.js → index-b3kjr19v.js} +4 -4
  51. package/{index-3txdtztz.js → index-bjg9thz8.js} +1 -1
  52. package/{index-baccvws5.js → index-bsew0a12.js} +1 -1
  53. package/{index-zfnz878d.js → index-c67vjafa.js} +1 -1
  54. package/{index-z92zm3wd.js → index-cfzqdsam.js} +29 -11
  55. package/{index-dadwp2aw.js → index-dy5reyet.js} +271 -39
  56. package/{index-67sd09ag.js → index-fqhr7j56.js} +8 -8
  57. package/{index-zmd9xxgd.js → index-g7hm77j6.js} +3 -3
  58. package/{index-h901f24n.js → index-ghs8gtvp.js} +5 -5
  59. package/{index-v7ajmsh3.js → index-h1k3zyyb.js} +1 -1
  60. package/{index-knpm8sdm.js → index-j3fqs8rc.js} +1 -1
  61. package/{index-6dzjer7p.js → index-jzwdwse0.js} +6 -6
  62. package/{index-2jmvfa62.js → index-m4s4tzjr.js} +3 -3
  63. package/{index-xwwex8rf.js → index-ndfxse05.js} +5 -5
  64. package/{index-z96ks033.js → index-rd669r6x.js} +153 -45
  65. package/{index-k6vwww45.js → index-rnhbh45p.js} +7 -7
  66. package/{index-ybcb9wc8.js → index-rwhdcnr8.js} +9 -9
  67. package/{index-a860mx0m.js → index-sn5cka91.js} +24 -24
  68. package/{index-ebn9kgea.js → index-v0gt5ryd.js} +18 -15
  69. package/{index-2yn3r67f.js → index-vznyyaf8.js} +6 -6
  70. package/{index-dmcpetwe.js → index-w18qdjyf.js} +98 -23
  71. package/{index-p5zh7pmc.js → index-xv3pvdw4.js} +1 -1
  72. package/{index-nc3br31y.js → index-yejf6fth.js} +2 -2
  73. package/{index-7wf8snar.js → index-zfmc4380.js} +1 -1
  74. package/{index-j592zfqc.js → index-zx3bv21b.js} +1 -1
  75. package/{index-by2tvsq6.js → index-zyjztrvc.js} +1 -1
  76. package/index.js +30 -28
  77. package/{libExecutor-jc6f8hm6.js → libExecutor-p21kkayq.js} +3 -3
  78. package/{library.command-nxvesvhb.js → library.command-m4gw18qq.js} +8 -8
  79. package/{localRegistry.command-xz62e4ng.js → localRegistry.command-3yq90wgp.js} +18 -23
  80. package/{module.command-aaws9byg.js → module.command-9vfdxapr.js} +10 -10
  81. package/{package.command-j7hv26p0.js → package.command-rt4y8xaf.js} +9 -12
  82. package/package.json +3 -2
  83. package/{page.command-7yffs7n9.js → page.command-4zc20rnv.js} +8 -8
  84. package/{pipeline.command-7yk0zcng.js → pipeline.command-4ekd9xgb.js} +7 -7
  85. package/{pkgExecutor-arxmvx4t.js → pkgExecutor-mh903rz9.js} +3 -3
  86. package/{primitive.command-7a1pt715.js → primitive.command-5g3xe4mf.js} +11 -11
  87. package/{projectTypecheck-f4qhbecd.js → projectTypecheck-bz6smek9.js} +1 -1
  88. package/{prompter-qyggfhqd.js → prompter-d33wmdpa.js} +2 -2
  89. package/{quality.command-c6mvrjh1.js → quality.command-zf8dyc9w.js} +9 -9
  90. package/{repair.command-093adzt9.js → repair.command-sx0eyq4w.js} +10 -10
  91. package/{scalar.command-2ex84spb.js → scalar.command-4bvzmbbh.js} +9 -9
  92. package/skills/akan-page/SKILL.md +18 -13
  93. package/skills/akan-runtime/SKILL.md +21 -16
  94. package/skills/akan-service/SKILL.md +2 -2
  95. package/{subspace.command-4n4n4jpv.js → subspace.command-cxyej1an.js} +11 -13
  96. package/{tunnel.command-f7ep1qfa.js → tunnel.command-gvnv36yf.js} +10 -12
  97. package/{verify.command-zrkxnvct.js → verify.command-yj2mngs0.js} +15 -17
  98. package/{workflow.command-ks16jegk.js → workflow.command-42p9g0w8.js} +15 -15
  99. package/{workspace.command-ahhfpaag.js → workspace.command-91wx03de.js} +34 -38
  100. package/CodeAgent-fx6088tv.js +0 -11
  101. package/TunnelShare-9ry4vh0y.js +0 -18
  102. package/appExecutor-79azsb2w.js +0 -11
  103. package/cloud.script-3b401efv.js +0 -35
  104. package/context.runner-kctbfsde.js +0 -34
  105. package/dependencyScanner-ge10gb52.js +0 -8
@@ -4,7 +4,7 @@ import {
4
4
  script,
5
5
  WorkspaceVersionCheck,
6
6
  markCliErrorPrinted
7
- } from "./index-2yn3r67f.js";
7
+ } from "./index-vznyyaf8.js";
8
8
  import {
9
9
  CliError
10
10
  } from "./index-j4yvgfhr.js";
@@ -16,39 +16,39 @@ import {
16
16
  upsertAgentBlock,
17
17
  renderRecipeEntries,
18
18
  CLAUDE_COMMENT_RULE
19
- } from "./index-71y6176j.js";
19
+ } from "./index-609zbjve.js";
20
20
  import {
21
21
  AppExecutor2
22
- } from "./index-z92zm3wd.js";
22
+ } from "./index-cfzqdsam.js";
23
23
  import {
24
24
  LibExecutor2
25
- } from "./index-zfnz878d.js";
25
+ } from "./index-c67vjafa.js";
26
26
  import {
27
27
  AkanContextAnalyzer
28
- } from "./index-h901f24n.js";
28
+ } from "./index-ghs8gtvp.js";
29
29
  import {
30
30
  collectRecipeSources2,
31
31
  scanRecipes2
32
32
  } from "./index-1p81ecbz.js";
33
33
  import {
34
34
  akanCodePaths2
35
- } from "./index-p5zh7pmc.js";
35
+ } from "./index-xv3pvdw4.js";
36
36
  import {
37
37
  ConventionSet,
38
38
  Prompter2
39
- } from "./index-knpm8sdm.js";
39
+ } from "./index-j3fqs8rc.js";
40
40
  import {
41
41
  ApplicationRunner,
42
42
  VerifyScope
43
- } from "./index-z96ks033.js";
43
+ } from "./index-rd669r6x.js";
44
44
  import {
45
45
  WorkspaceRunner
46
- } from "./index-78y75t0a.js";
46
+ } from "./index-0vtpxfx6.js";
47
47
  import {
48
48
  VerifyComments,
49
49
  VerifyPipeline,
50
50
  VerifyReport
51
- } from "./index-ybcb9wc8.js";
51
+ } from "./index-rwhdcnr8.js";
52
52
 
53
53
  // pkgs/@akanjs/cli/agent/agent.script.ts
54
54
  import { Logger as Logger3 } from "akanjs/common";
@@ -72,7 +72,15 @@ class AgentAssets {
72
72
  "akan-scaffold": ["workspaceRecipes"],
73
73
  "akan-module": ["moduleOverview", "modelConstant", "modelDictionary", "fieldRule"],
74
74
  "akan-scalar": ["scalarModule", "scalarConstant", "scalarDictionary"],
75
- "akan-service": ["modelService", "modelSignal", "modelDocument", "akanApi"],
75
+ "akan-service": [
76
+ "modelService",
77
+ "modelSignal",
78
+ "modelDocument",
79
+ "akanApi#imports",
80
+ "akanApi#services-and-adapters",
81
+ "akanApi#endpoints",
82
+ "akanApi#dictionaries"
83
+ ],
76
84
  "akan-store": ["modelStore"],
77
85
  "akan-ui": [
78
86
  "ssrRule",
@@ -89,7 +97,7 @@ class AgentAssets {
89
97
  "akan-err": ["errorCodes"],
90
98
  "akan-deps": [],
91
99
  "akan-debug": [],
92
- "akan-page": ["pageRule", "akanApi"],
100
+ "akan-page": ["pageRule", "akanApi#imports", "akanApi#routes", "akanApi#app-config"],
93
101
  "akan-query": ["queryRule"],
94
102
  "akan-transport": ["transportRule"],
95
103
  "akan-runtime": ["runtimeRule"],
@@ -142,17 +150,15 @@ ${AgentAssets.marker}
142
150
  for (const [name, guidelines] of Object.entries(AgentAssets.skillReferences)) {
143
151
  const source = await fsPromise.readFile(path.join(dir, name, "SKILL.md"), "utf-8");
144
152
  const index = [];
145
- for (const guideline of guidelines) {
146
- const parts = AgentAssets.split(await Prompter2.getInstruction(guideline));
147
- parts.forEach((part, idx) => {
148
- const file = parts.length === 1 ? `${guideline}.md` : `${guideline}-${idx + 1}.md`;
153
+ for (const reference of guidelines) {
154
+ for (const { file, text, summary } of await AgentAssets.#referenceFiles(reference)) {
149
155
  const referencePath = `.agents/skills/${name}/references/${file}`;
150
156
  assets.push({ path: referencePath, content: `${AgentAssets.marker}
151
157
 
152
- ${part.text.trim()}
158
+ ${text.trim()}
153
159
  ` });
154
- index.push(`- \`${referencePath}\` \u2014 ${AgentAssets.#summarize(part.headings)}`);
155
- });
160
+ index.push(`- \`${referencePath}\` \u2014 ${summary}`);
161
+ }
156
162
  }
157
163
  const skill = AgentAssets.#skillFile(source, index);
158
164
  for (const root of AgentAssets.skillRoots)
@@ -160,7 +166,39 @@ ${part.text.trim()}
160
166
  }
161
167
  return assets;
162
168
  }
163
- static split(markdown) {
169
+ static async#referenceFiles(reference) {
170
+ const [guideline = reference, slug] = reference.split("#");
171
+ const text = await Prompter2.getInstruction(guideline);
172
+ if (slug) {
173
+ const sections = AgentAssets.sections(text);
174
+ const preamble = sections[0]?.headings.length === 0 ? sections[0].text : "";
175
+ const section = sections.find((each) => each.headings[0] && AgentAssets.slug(each.headings[0]) === slug);
176
+ if (!section)
177
+ throw new Error(`Guideline ${guideline} has no section ${slug}`);
178
+ const entries = [...section.text.matchAll(/^### (.+?)(?: \u00B7 .*)?$/gm)].map((match) => match[1]);
179
+ const title = section.headings[0];
180
+ return [
181
+ {
182
+ file: `${guideline}-${slug}.md`,
183
+ text: preamble ? `${preamble.trim()}
184
+
185
+ ${section.text.trim()}` : section.text,
186
+ summary: entries.length ? `${title}: ${entries.join(", ")}` : title
187
+ }
188
+ ];
189
+ }
190
+ const parts = AgentAssets.split(text);
191
+ return parts.map((part, idx) => ({
192
+ file: parts.length === 1 ? `${guideline}.md` : `${guideline}-${idx + 1}.md`,
193
+ text: part.text,
194
+ summary: AgentAssets.#summarize(part.headings)
195
+ }));
196
+ }
197
+ static slug(heading) {
198
+ const paren = heading.indexOf("(");
199
+ return (paren === -1 ? heading : heading.slice(0, paren).trimEnd()).toLowerCase().replace(/[^a-z0-9]+/g, "-");
200
+ }
201
+ static sections(markdown) {
164
202
  const sections = [];
165
203
  let fenced = false;
166
204
  for (const line of markdown.trim().split(`
@@ -175,8 +213,11 @@ ${part.text.trim()}
175
213
  last.text += `
176
214
  ${line}`;
177
215
  }
216
+ return sections;
217
+ }
218
+ static split(markdown) {
178
219
  const parts = [];
179
- for (const section of sections) {
220
+ for (const section of AgentAssets.sections(markdown)) {
180
221
  const last = parts.at(-1);
181
222
  if (last && last.text.length + section.text.length + 1 <= AgentAssets.referenceLimit) {
182
223
  last.text += `
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  camelToKebabCase,
4
4
  runner
5
- } from "./index-2yn3r67f.js";
5
+ } from "./index-vznyyaf8.js";
6
6
  import {
7
7
  rootAllowedFiles,
8
8
  rootAllowedDirs,
@@ -16,16 +16,16 @@ import {
16
16
  renderScopeAgentBlock,
17
17
  SysExecutor,
18
18
  WorkspaceExecutor
19
- } from "./index-71y6176j.js";
19
+ } from "./index-609zbjve.js";
20
20
  import {
21
21
  FileSys2
22
- } from "./index-by2tvsq6.js";
22
+ } from "./index-zyjztrvc.js";
23
23
  import {
24
24
  LibExecutor2
25
- } from "./index-zfnz878d.js";
25
+ } from "./index-c67vjafa.js";
26
26
  import {
27
27
  PkgExecutor2
28
- } from "./index-w1zexzpx.js";
28
+ } from "./index-2t7jnfg5.js";
29
29
  import {
30
30
  collectRecipeSources2,
31
31
  scanRecipes2
@@ -40,7 +40,7 @@ import {
40
40
  } from "./index-zyb0ebm4.js";
41
41
  import {
42
42
  MaintainabilityBaseline
43
- } from "./index-baccvws5.js";
43
+ } from "./index-bsew0a12.js";
44
44
  import {
45
45
  createFactReader,
46
46
  createAst
@@ -1821,7 +1821,6 @@ var defaultWorkspacePeerDependencies = new Set([
1821
1821
  "react-dom",
1822
1822
  "react-icons",
1823
1823
  "react-server-dom-webpack",
1824
- "tailwindcss",
1825
1824
  "typescript"
1826
1825
  ]);
1827
1826
  var defaultWorkspaceTypeDependencies = { "@types/react": "^19.3.0", "@types/react-dom": "^19.3.0" };
@@ -2,12 +2,12 @@
2
2
  import {
3
3
  runner,
4
4
  script
5
- } from "./index-2yn3r67f.js";
5
+ } from "./index-vznyyaf8.js";
6
6
  import {
7
7
  generatedFilesForSync,
8
8
  createPassedPrimitiveReport,
9
9
  scalarChangedFiles
10
- } from "./index-zmd9xxgd.js";
10
+ } from "./index-g7hm77j6.js";
11
11
  import {
12
12
  pluralizeName
13
13
  } from "./index-nz8prx9g.js";
@@ -1,17 +1,17 @@
1
1
  // @bun
2
2
  import {
3
3
  runner
4
- } from "./index-2yn3r67f.js";
4
+ } from "./index-vznyyaf8.js";
5
5
  import {
6
6
  AppExecutor2
7
- } from "./index-z92zm3wd.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-zmd9xxgd.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-h901f24n.js";
24
+ } from "./index-ghs8gtvp.js";
25
25
  import {
26
26
  Prompter2
27
- } from "./index-knpm8sdm.js";
27
+ } from "./index-j3fqs8rc.js";
28
28
  import {
29
29
  NativeApp
30
- } from "./index-ebn9kgea.js";
30
+ } from "./index-v0gt5ryd.js";
31
31
  import {
32
32
  isPlaceholderAppId
33
- } from "./index-612fdtbk.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-kfvjzk8r.js";
43
+ } from "./index-2ktpwjgf.js";
44
44
  import {
45
45
  WorkflowRunner
46
- } from "./index-67sd09ag.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-2yn3r67f.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-zmd9xxgd.js";
11
+ } from "./index-g7hm77j6.js";
12
12
  import {
13
13
  AkanContextAnalyzer
14
- } from "./index-h901f24n.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-71y6176j.js";
7
+ } from "./index-609zbjve.js";
8
8
 
9
9
  // pkgs/@akanjs/devkit/executors/pkgExecutor.ts
10
10
  import path from "path";
@@ -21,23 +21,23 @@ var channelSpecs = [
21
21
  ];
22
22
  var skippedDirs = new Set(["node_modules", "vendor", "types", "integration", "csrE2e", "platformTest"]);
23
23
 
24
- class FrameworkGraph {
24
+ class FrameworkGraph2 {
25
25
  static architectureFile = "pkgs/akanjs/ARCHITECTURE.md";
26
26
  static #cache = new Map;
27
27
  static #edits = new Map;
28
28
  static async packagesOf(workspaceRoot) {
29
29
  const found = await Promise.all(packageSpecs.map(async ({ name, split }) => {
30
- const root = await FrameworkGraph.#isDir(path.join(workspaceRoot, "pkgs", name)) ? `pkgs/${name}` : await FrameworkGraph.#installedRoot(workspaceRoot, name);
30
+ const root = await FrameworkGraph2.#isDir(path.join(workspaceRoot, "pkgs", name)) ? `pkgs/${name}` : await FrameworkGraph2.#installedRoot(workspaceRoot, name);
31
31
  return root ? [{ name, root, split }] : [];
32
32
  }));
33
33
  return found.flat();
34
34
  }
35
35
  static async build(workspaceRoot) {
36
- const packages = await FrameworkGraph.packagesOf(workspaceRoot);
36
+ const packages = await FrameworkGraph2.packagesOf(workspaceRoot);
37
37
  const akanjs = packages.find(({ name }) => name === "akanjs");
38
38
  if (!akanjs)
39
39
  return null;
40
- const files = (await Promise.all(packages.map(({ root }) => FrameworkGraph.#filesUnder(workspaceRoot, root)))).flat();
40
+ const files = (await Promise.all(packages.map(({ root }) => FrameworkGraph2.#filesUnder(workspaceRoot, root)))).flat();
41
41
  const texts = await Promise.all(files.map(async (file) => [file, await readFile(path.join(workspaceRoot, file), "utf8")]));
42
42
  return new FrameworkMapBuilder({
43
43
  ts,
@@ -47,13 +47,13 @@ class FrameworkGraph {
47
47
  }).build();
48
48
  }
49
49
  static async architecture(workspaceRoot) {
50
- const file = path.join(workspaceRoot, FrameworkGraph.architectureFile);
50
+ const file = path.join(workspaceRoot, FrameworkGraph2.architectureFile);
51
51
  const current = await readFile(file, "utf8").then((text) => text.replace(/\r\n/g, `
52
52
  `)).catch(() => null);
53
- const map = current === null ? null : await FrameworkGraph.build(workspaceRoot);
53
+ const map = current === null ? null : await FrameworkGraph2.build(workspaceRoot);
54
54
  if (current === null || !map || map.packages.find(({ name }) => name === "akanjs")?.root !== "pkgs/akanjs")
55
55
  return null;
56
- const next = FrameworkMapDoc.splice(current, FrameworkMapDoc.render(map, path.posix.dirname(FrameworkGraph.architectureFile)));
56
+ const next = FrameworkMapDoc.splice(current, FrameworkMapDoc.render(map, path.posix.dirname(FrameworkGraph2.architectureFile)));
57
57
  return {
58
58
  file,
59
59
  current,
@@ -65,31 +65,31 @@ class FrameworkGraph {
65
65
  static touched(workspaceRoot, files) {
66
66
  const roots = packageSpecs.map(({ name }) => path.join(workspaceRoot, "pkgs", name) + path.sep);
67
67
  if (files.some((file) => roots.some((root) => path.resolve(workspaceRoot, file).startsWith(root))))
68
- FrameworkGraph.#edits.set(workspaceRoot, (FrameworkGraph.#edits.get(workspaceRoot) ?? 0) + 1);
68
+ FrameworkGraph2.#edits.set(workspaceRoot, (FrameworkGraph2.#edits.get(workspaceRoot) ?? 0) + 1);
69
69
  }
70
70
  static async cached(workspaceRoot) {
71
- const packages = await FrameworkGraph.packagesOf(workspaceRoot);
72
- const stamps = await Promise.all(packages.map(async ({ name, root }) => root.startsWith("pkgs/") ? `${name}#${FrameworkGraph.#edits.get(workspaceRoot) ?? 0}` : `${name}@${await FrameworkGraph.#versionOf(path.join(workspaceRoot, root))}`));
71
+ const packages = await FrameworkGraph2.packagesOf(workspaceRoot);
72
+ const stamps = await Promise.all(packages.map(async ({ name, root }) => root.startsWith("pkgs/") ? `${name}#${FrameworkGraph2.#edits.get(workspaceRoot) ?? 0}` : `${name}@${await FrameworkGraph2.#versionOf(path.join(workspaceRoot, root))}`));
73
73
  const cacheKey = [workspaceRoot, ...stamps].join(`
74
74
  `);
75
- const existing = FrameworkGraph.#cache.get(cacheKey);
75
+ const existing = FrameworkGraph2.#cache.get(cacheKey);
76
76
  if (existing)
77
77
  return await existing;
78
- const built = FrameworkGraph.build(workspaceRoot);
79
- built.catch(() => FrameworkGraph.#cache.delete(cacheKey));
80
- FrameworkGraph.#cache.clear();
81
- FrameworkGraph.#cache.set(cacheKey, built);
78
+ const built = FrameworkGraph2.build(workspaceRoot);
79
+ built.catch(() => FrameworkGraph2.#cache.delete(cacheKey));
80
+ FrameworkGraph2.#cache.clear();
81
+ FrameworkGraph2.#cache.set(cacheKey, built);
82
82
  return await built;
83
83
  }
84
84
  static async#installedRoot(workspaceRoot, name) {
85
- if (!await FrameworkGraph.#isDir(path.join(workspaceRoot, "node_modules")))
85
+ if (!await FrameworkGraph2.#isDir(path.join(workspaceRoot, "node_modules")))
86
86
  return null;
87
87
  const resolved = await (async () => {
88
88
  try {
89
89
  return path.dirname(await realpath(Bun.resolveSync(`${name}/package.json`, workspaceRoot)));
90
90
  } catch {
91
91
  const dir = path.join(workspaceRoot, "node_modules", name);
92
- return await FrameworkGraph.#isDir(dir) ? await realpath(dir) : null;
92
+ return await FrameworkGraph2.#isDir(dir) ? await realpath(dir) : null;
93
93
  }
94
94
  })();
95
95
  if (!resolved)
@@ -123,4 +123,4 @@ class FrameworkGraph {
123
123
  }
124
124
  }
125
125
 
126
- export { FrameworkGraph };
126
+ export { FrameworkGraph2 };
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  AkanCodeEnv,
4
4
  akanCodePaths2
5
- } from "./index-p5zh7pmc.js";
5
+ } from "./index-xv3pvdw4.js";
6
6
  import {
7
7
  akanCodeDefaultModel2,
8
8
  akanCodeModel2,
@@ -10,7 +10,7 @@ import {
10
10
  akanCodeModelWarnings2,
11
11
  McpServerConfig,
12
12
  WorkspaceTrust
13
- } from "./index-0dm25wvf.js";
13
+ } from "./index-7ssr7wq4.js";
14
14
  import {
15
15
  PreviewView2,
16
16
  stripAnsi
@@ -19,7 +19,7 @@ import {
19
19
  SubagentPool2,
20
20
  McpSignIn,
21
21
  AkanCodeCompaction2
22
- } from "./index-nc3br31y.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-kctbfsde.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-kctbfsde.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 })) {
@@ -722,7 +722,7 @@ class AkanToolPack2 {
722
722
  }
723
723
  static async#guidelineNames() {
724
724
  try {
725
- const { Prompter } = await import("./prompter-qyggfhqd.js");
725
+ const { Prompter } = await import("./prompter-d33wmdpa.js");
726
726
  return await Prompter.listGuidelines();
727
727
  } catch {
728
728
  return [];
@@ -1,16 +1,16 @@
1
1
  // @bun
2
2
  import {
3
3
  script
4
- } from "./index-2yn3r67f.js";
4
+ } from "./index-vznyyaf8.js";
5
5
  import {
6
6
  jsonText
7
- } from "./index-zmd9xxgd.js";
7
+ } from "./index-g7hm77j6.js";
8
8
  import {
9
9
  akanMcpInstallTargets
10
- } from "./index-h901f24n.js";
10
+ } from "./index-ghs8gtvp.js";
11
11
  import {
12
12
  ContextRunner2
13
- } from "./index-j0wr4e32.js";
13
+ } from "./index-1v5eghaa.js";
14
14
 
15
15
  // pkgs/@akanjs/cli/context/context.script.ts
16
16
  import { Logger } from "akanjs/common";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  getDirname2,
4
4
  FileSys2
5
- } from "./index-by2tvsq6.js";
5
+ } from "./index-zyjztrvc.js";
6
6
  import {
7
7
  CliError,
8
8
  TypecheckFailure
@@ -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-jc6f8hm6.js");
219
+ var loadLibExecutor = () => import("./libExecutor-p21kkayq.js");
220
220
  var serviceFileTypes = [
221
221
  "dictionary",
222
222
  "service",
@@ -242,7 +242,7 @@ var moduleUiFileTypes = {
242
242
  service: new Set(["Util", "Zone"]),
243
243
  scalar: new Set(["Template", "Unit"])
244
244
  };
245
- var createDependencyScanner = async (exec) => (await import("./dependencyScanner-ge10gb52.js")).TypeScriptDependencyScanner.from(exec);
245
+ var createDependencyScanner = async (exec) => (await import("./dependencyScanner-93g8tk0r.js")).TypeScriptDependencyScanner.from(exec);
246
246
  var getScanPath = (exec, relativePath) => path3.posix.join(`${exec.type}s`, exec.name, relativePath.split(path3.sep).join("/"));
247
247
  var getModuleNameFromPath = (kind, modulePath) => {
248
248
  const dirname = path3.basename(modulePath);
@@ -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-79azsb2w.js"),
626
+ import("./appExecutor-qt1nm242.js"),
627
627
  loadLibExecutor(),
628
- import("./pkgExecutor-arxmvx4t.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())),
@@ -1720,7 +1720,7 @@ ${block}`;
1720
1720
  var extractBlockVersion = (content) => content.match(/<!-- akan:agent:version ([^\s]+) -->/)?.[1] ?? null;
1721
1721
  var readDevkitVersion = async () => {
1722
1722
  const { readFile } = await import("fs/promises");
1723
- const { getDirname } = await import("./fileSys-q22646yc.js");
1723
+ const { getDirname } = await import("./fileSys-e5mwt73x.js");
1724
1724
  const dirname = getDirname(import.meta.url);
1725
1725
  for (const candidate of [`${dirname}/package.json`, `${dirname}/../package.json`]) {
1726
1726
  try {
@@ -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-jc6f8hm6.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,10 +3,10 @@ import {
3
3
  AsyncDefaultExportDetector,
4
4
  StoreBootstrap,
5
5
  resolveSsrPageEntriesForApp
6
- } from "./index-z92zm3wd.js";
6
+ } from "./index-cfzqdsam.js";
7
7
  import {
8
8
  FileSys2
9
- } from "./index-by2tvsq6.js";
9
+ } from "./index-zyjztrvc.js";
10
10
 
11
11
  // pkgs/@akanjs/devkit/transforms/barrelAnalyzer.ts
12
12
  import fs from "fs";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  runner,
4
4
  script
5
- } from "./index-2yn3r67f.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-zmd9xxgd.js";
13
+ } from "./index-g7hm77j6.js";
14
14
  import {
15
15
  PageScript
16
- } from "./index-3txdtztz.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-7wf8snar.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
  akanCodePaths2
4
- } from "./index-p5zh7pmc.js";
4
+ } from "./index-xv3pvdw4.js";
5
5
 
6
6
  // pkgs/@akanjs/devkit/codeAgent/agent/WorkspaceTrust.ts
7
7
  import { createHash } from "crypto";
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  DesktopBin
4
- } from "./index-ebn9kgea.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";