@akanjs/cli 3.2.0-rc.17 → 3.2.0-rc.19

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 (94) hide show
  1. package/.build-stamp +2 -2
  2. package/{CodeAgent-18qg03re.js → CodeAgent-q0xkt4at.js} +2 -2
  3. package/{CodeTui-zkm51zf3.js → CodeTui-n56kpaca.js} +819 -663
  4. package/TunnelShare-844s9te4.js +18 -0
  5. package/{agent.command-5k2zegmj.js → agent.command-k07raqft.js} +20 -20
  6. package/akanCode.js +8 -8
  7. package/{appExecutor-1bgs9a69.js → appExecutor-xav1zemr.js} +3 -3
  8. package/{application.command-ge27047n.js → application.command-dv8y8r12.js} +52 -25
  9. package/{applicationBuildRunner-7skfg8zn.js → applicationBuildRunner-vhx7zq97.js} +9 -10
  10. package/buildBatch.proc.js +20 -11
  11. package/{cloud.command-d18qj1v2.js → cloud.command-0vjy3x96.js} +22 -22
  12. package/cloud.script-jp48r0kw.js +35 -0
  13. package/{code.command-tz4x5zm6.js → code.command-xc5exq4b.js} +10 -10
  14. package/{context.command-x1smtm5q.js → context.command-etsat8yk.js} +22 -22
  15. package/context.runner-e52ak0cx.js +34 -0
  16. package/{guideline.command-rdcwxf8g.js → guideline.command-zqkntk7b.js} +6 -6
  17. package/guidelines/agentRule/agentRule.instruction.md +5 -4
  18. package/guidelines/conventions/core.md +18 -0
  19. package/guidelines/errorCodes/errorCodes.instruction.md +6 -0
  20. package/guidelines/mcpRule/mcpRule.instruction.md +4 -2
  21. package/guidelines/transportRule/transportRule.instruction.md +3 -1
  22. package/incrementalBuilder.proc.js +559 -409
  23. package/{index-gh4brxzn.js → index-12js5pj4.js} +1 -1
  24. package/{index-jfkh776h.js → index-12vv4g80.js} +1 -1
  25. package/index-4zqebbqb.js +80 -0
  26. package/{index-er2ja34m.js → index-6bryy19d.js} +500 -422
  27. package/{index-3641r8q0.js → index-6pzncry1.js} +4 -4
  28. package/{index-fcrr79gh.js → index-6rrh0ffr.js} +44 -32
  29. package/{index-nd39rssn.js → index-7jr9mfp2.js} +286 -144
  30. package/{index-sp331bww.js → index-81qt1jyj.js} +1 -1
  31. package/{index-2mrn1mrg.js → index-9f3reh2y.js} +1 -1
  32. package/{index-e82xwj3x.js → index-a05ewnnp.js} +1 -1
  33. package/{index-bjnebzzc.js → index-bxevbjw7.js} +8 -8
  34. package/{index-vm6pr11y.js → index-c1vym3gx.js} +2 -2
  35. package/{index-t8tysbxv.js → index-c9hd79py.js} +4 -4
  36. package/{index-j2eqe3jk.js → index-c9mnfy9r.js} +38 -23
  37. package/{index-dtpeyts6.js → index-cc9pevta.js} +1 -1
  38. package/{index-trp7jdr1.js → index-cet2s7xk.js} +7 -6
  39. package/{index-yr5jv8yd.js → index-dasa0kbj.js} +3 -3
  40. package/{index-bxqbt5p3.js → index-ddc2zjj5.js} +1 -1
  41. package/{index-g7e58wz2.js → index-dz7z9n9t.js} +25 -25
  42. package/{index-z7t6neq1.js → index-e4vna9dn.js} +4 -4
  43. package/{index-669sg3yp.js → index-ean2tff1.js} +723 -691
  44. package/{index-ttfz2sc7.js → index-fgp04fh7.js} +6 -6
  45. package/{index-bzdq8wfw.js → index-g541mhzw.js} +3 -3
  46. package/{index-t329y8am.js → index-gh741qft.js} +8 -8
  47. package/{index-d2r762fk.js → index-k51718xz.js} +2136 -2175
  48. package/{index-39byv35b.js → index-m6r3pvf5.js} +2 -2
  49. package/{index-emf3wzvh.js → index-my17308p.js} +7 -7
  50. package/{index-xywq95wk.js → index-nd8bq17n.js} +6 -6
  51. package/{index-q4e18ne4.js → index-nxcmgqk3.js} +3 -3
  52. package/{index-b2sptt87.js → index-pkgha3rt.js} +5 -5
  53. package/{index-s75h0455.js → index-q2t2w996.js} +1 -1
  54. package/{index-6p02be7n.js → index-qtqhsb33.js} +204 -160
  55. package/{index-h7yd92c8.js → index-rj2n5kfk.js} +67 -67
  56. package/{index-1ts8vfsk.js → index-s5gvwvkb.js} +103 -138
  57. package/{index-neassptx.js → index-sh3yzse2.js} +8 -7
  58. package/{index-f482h2hj.js → index-syn4vm3y.js} +1 -1
  59. package/{index-n8mxyy3f.js → index-t00xrkey.js} +1 -1
  60. package/{index-g56xae1n.js → index-v72mh89f.js} +7 -8
  61. package/{index-q57rsax4.js → index-wq8pnev4.js} +3 -3
  62. package/{index-dp7sht3v.js → index-wxr3941g.js} +8 -8
  63. package/{index-0c8zj1da.js → index-y8mqkhcf.js} +1 -1
  64. package/{index-9mx3b3zh.js → index-zk1gjk46.js} +4 -4
  65. package/index.js +27 -27
  66. package/{libExecutor-hxe5eqfh.js → libExecutor-mr3vxtnr.js} +2 -2
  67. package/{library.command-83shs8fw.js → library.command-ps9q5t37.js} +7 -7
  68. package/{localRegistry.command-sz713jg3.js → localRegistry.command-rszxmvd0.js} +21 -21
  69. package/{module.command-jhhm0nmw.js → module.command-fcybnn1a.js} +10 -10
  70. package/{package.command-42syy96v.js → package.command-zen3rhye.js} +10 -10
  71. package/package.json +2 -2
  72. package/{page.command-jkv29zzs.js → page.command-gwrxymms.js} +7 -7
  73. package/{pipeline.command-6sg9g4hq.js → pipeline.command-m1brkqqw.js} +6 -6
  74. package/{pkgExecutor-6p82w5y1.js → pkgExecutor-x51agavp.js} +2 -2
  75. package/{primitive.command-tt6aq7m9.js → primitive.command-5vkxvvmk.js} +11 -11
  76. package/{projectTypecheck-wfrz0cxr.js → projectTypecheck-9dzfah37.js} +1 -1
  77. package/{quality.command-tqar7ss5.js → quality.command-gqry7eas.js} +9 -9
  78. package/{repair.command-qkcn329t.js → repair.command-qs4ejcrg.js} +10 -10
  79. package/{routeSourceValidator-8aph1dsr.js → routeSourceValidator-8n6j1vn7.js} +3 -1
  80. package/{scalar.command-6nvq11ag.js → scalar.command-ny0vchqq.js} +9 -9
  81. package/skills/akan-scaffold/SKILL.md +1 -1
  82. package/{subspace.command-dvwds4cv.js → subspace.command-5pxqjgmw.js} +12 -12
  83. package/templates/biomeForm.ts +1 -1
  84. package/templates/env/_env.server.type.ts +1 -1
  85. package/templates/facetIndex/index.ts +2 -37
  86. package/templates/workspaceRoot/AGENTS.md.template +2 -1
  87. package/{tunnel.command-h8r69a7v.js → tunnel.command-ndajt0xk.js} +11 -11
  88. package/{verify.command-ynec8kt2.js → verify.command-m59ashc7.js} +17 -17
  89. package/{workflow.command-f70fx73a.js → workflow.command-jchqey88.js} +15 -15
  90. package/{workspace.command-vagjy1q9.js → workspace.command-g0gzxkpd.js} +36 -36
  91. package/TunnelShare-6t4rwyc0.js +0 -19
  92. package/cloud.script-0hbhm3mw.js +0 -35
  93. package/context.runner-vb7jc0k8.js +0 -34
  94. package/index-dqsc1b5t.js +0 -18
@@ -9,10 +9,10 @@ import {
9
9
  UpdatePackFolder,
10
10
  NativePublicEnv,
11
11
  NativeApp
12
- } from "./index-q57rsax4.js";
12
+ } from "./index-wq8pnev4.js";
13
13
  import {
14
14
  ExitCodeError
15
- } from "./index-neassptx.js";
15
+ } from "./index-sh3yzse2.js";
16
16
  import {
17
17
  ConfigLock
18
18
  } from "./index-bqbf654f.js";
@@ -19,7 +19,7 @@ import {
19
19
  SubagentPool2,
20
20
  McpSignIn,
21
21
  AkanCodeCompaction2
22
- } from "./index-bxqbt5p3.js";
22
+ } from "./index-ddc2zjj5.js";
23
23
  import {
24
24
  codeAgentIsLoopback,
25
25
  codeAgentHostListed,
@@ -171,7 +171,7 @@ var akanSystemPrompt2 = (profile) => {
171
171
  lines.push(`- Some tool calls need the user's approval (policy: ${profile.approval}). A refusal is an answer; do not retry it a different way.`);
172
172
  if (profile.network.askOutside)
173
173
  lines.push("- `web_fetch` to a host outside a short list of documentation sites, and a shell command that reaches the network (`curl`, `wget`, `ssh`, \u2026), wait for the user's approval. A refusal is an answer; do not retry it a different way.");
174
- lines.push("- Secrets are refused at the tool boundary. If you need a value from `.env`, ask the user for it rather than looking for another way to read the file.", "", "## How to answer", "", "- Answer in as few words as carry the answer. A short question gets one sentence with no heading.", "- Do not open with what you are about to do, and do not close with a summary of what you did. The tool calls are already on the user's screen.", "- Skip headings, bold labels and bullet lists unless the answer is genuinely a list. Prose is shorter.", "- State a file as `path:line`. Do not paste a file back that the user can open.", "- Say what you could not do, and why, in one line. Do not offer alternatives nobody asked for.");
174
+ lines.push("- Secrets are refused at the tool boundary. If you need a value from `.env`, ask the user for it rather than looking for another way to read the file.", "", "## How to answer", "", "- Answer in as few words as carry the answer. A short question gets one sentence with no heading.", "- Do not open with what you are about to do, and do not retell the tool calls at the end; they are already on the user's screen. A turn that changed files closes with those files and what `akan_verify` said.", "- Skip headings, bold labels and bullet lists unless the answer is genuinely a list. Prose is shorter.", "- State a file as `path:line`. Do not paste a file back that the user can open.", "- Say what you could not do, and why, in one line. Do not offer alternatives nobody asked for.");
175
175
  return lines.join(`
176
176
  `);
177
177
  };
@@ -659,7 +659,7 @@ class AkanToolPack2 {
659
659
  return { name: "akan-tools", factory: async (pi) => await this.#register(pi) };
660
660
  }
661
661
  async names() {
662
- const { ContextRunner } = await import("./context.runner-vb7jc0k8.js");
662
+ const { ContextRunner } = await import("./context.runner-e52ak0cx.js");
663
663
  return [
664
664
  ...new ContextRunner().listMcpTools(this.#options.mode).map((tool) => tool.name),
665
665
  AkanToolPack2.verifyToolName
@@ -667,7 +667,7 @@ class AkanToolPack2 {
667
667
  }
668
668
  static verifyToolName = "akan_verify";
669
669
  async#register(pi) {
670
- const { ContextRunner } = await import("./context.runner-vb7jc0k8.js");
670
+ const { ContextRunner } = await import("./context.runner-e52ak0cx.js");
671
671
  const runner = new ContextRunner;
672
672
  const guidelineNames = await AkanToolPack2.#guidelineNames();
673
673
  for (const tool of runner.listMcpTools(this.#options.mode, { guidelineNames })) {
@@ -4,7 +4,7 @@ import {
4
4
  SysExecutor,
5
5
  AppInfo,
6
6
  WorkspaceExecutor
7
- } from "./index-g56xae1n.js";
7
+ } from "./index-v72mh89f.js";
8
8
  import {
9
9
  FileSys2
10
10
  } from "./index-by2tvsq6.js";
@@ -13,13 +13,13 @@ import {
13
13
  } from "./index-j4yvgfhr.js";
14
14
  import {
15
15
  AppExecutor2
16
- } from "./index-trp7jdr1.js";
16
+ } from "./index-cet2s7xk.js";
17
17
  import {
18
18
  LibExecutor2
19
- } from "./index-n8mxyy3f.js";
19
+ } from "./index-t00xrkey.js";
20
20
  import {
21
21
  PkgExecutor2
22
- } from "./index-dtpeyts6.js";
22
+ } from "./index-cc9pevta.js";
23
23
  import {
24
24
  UNAVAILABLE_REDIS_HOST,
25
25
  redisTunnelPolicy,
@@ -55,27 +55,27 @@ import {
55
55
  filesChangedSince,
56
56
  HmrWatcher,
57
57
  WatchRootResolver
58
- } from "./index-1ts8vfsk.js";
58
+ } from "./index-s5gvwvkb.js";
59
59
  import {
60
60
  runner,
61
61
  assertPromptable
62
- } from "./index-neassptx.js";
62
+ } from "./index-sh3yzse2.js";
63
63
  import {
64
64
  UpdatePackFolder,
65
65
  UpdateUploader,
66
66
  NativePublicEnv,
67
67
  NativeApp
68
- } from "./index-q57rsax4.js";
68
+ } from "./index-wq8pnev4.js";
69
69
  import {
70
70
  DesktopServerStage
71
- } from "./index-jfkh776h.js";
71
+ } from "./index-12vv4g80.js";
72
72
  import {
73
73
  resolveMobileTargets,
74
74
  resolveAppId
75
75
  } from "./index-m9jj544v.js";
76
76
  import {
77
77
  SlicePlanner
78
- } from "./index-gh4brxzn.js";
78
+ } from "./index-12js5pj4.js";
79
79
  import {
80
80
  openBrowser
81
81
  } from "./index-9dp031by.js";
@@ -1728,6 +1728,7 @@ class DevIdleSuspend {
1728
1728
  #suspended = false;
1729
1729
  #waking = false;
1730
1730
  #stopped = false;
1731
+ #activity = 0;
1731
1732
  #wokeAtMono = null;
1732
1733
  #watcher = null;
1733
1734
  #suspendedChanges = null;
@@ -1743,6 +1744,7 @@ class DevIdleSuspend {
1743
1744
  return !this.#stopped && (this.#suspended || this.#waking);
1744
1745
  }
1745
1746
  markActivity() {
1747
+ this.#activity++;
1746
1748
  if (this.#suspended || this.#waking)
1747
1749
  return;
1748
1750
  this.arm();
@@ -1798,30 +1800,48 @@ class DevIdleSuspend {
1798
1800
  this.#links.awake();
1799
1801
  }
1800
1802
  }
1801
- async#suspendWhenIdle(idleMs) {
1802
- const decision = decideIdleSuspend({
1803
+ #decide() {
1804
+ return decideIdleSuspend({
1803
1805
  enabled: true,
1804
1806
  suspended: this.#suspended,
1805
1807
  ...this.#links.readiness(),
1806
1808
  msSinceWake: this.#wokeAtMono === null ? null : performance.now() - this.#wokeAtMono
1807
1809
  });
1810
+ }
1811
+ async#suspendWhenIdle(idleMs) {
1812
+ const decision = this.#decide();
1808
1813
  if (decision !== "suspend") {
1809
1814
  this.#logger.verbose(`[idle-suspend] skipped (${decision}); re-arming`);
1810
1815
  this.arm();
1811
1816
  return;
1812
1817
  }
1813
- if (!await this.#startWatcher()) {
1818
+ const activity = this.#activity;
1819
+ const watcher = await this.#startWatcher();
1820
+ if (!watcher) {
1821
+ this.arm();
1822
+ return;
1823
+ }
1824
+ if (this.#stopped) {
1825
+ watcher.stop();
1826
+ return;
1827
+ }
1828
+ const recheck = this.#activity === activity ? this.#decide() : "busy";
1829
+ if (recheck !== "suspend") {
1830
+ this.#logger.verbose(`[idle-suspend] skipped (${recheck} while the idle watcher started); re-arming`);
1831
+ watcher.stop();
1814
1832
  this.arm();
1815
1833
  return;
1816
1834
  }
1835
+ this.#watcher = watcher;
1817
1836
  this.#suspended = true;
1818
1837
  this.#links.release(`idle ${Math.round(idleMs / 1000)}s`);
1819
1838
  this.#logger.info(`[idle-suspend] no build activity for ${Math.round(idleMs / 1000)}s; released the builder \u2014 the next edit or route request brings it back`);
1820
1839
  }
1821
1840
  async#startWatcher() {
1841
+ let watcher = null;
1822
1842
  try {
1823
1843
  const roots = await new WatchRootResolver(this.#app).resolve();
1824
- const watcher = new HmrWatcher({
1844
+ watcher = new HmrWatcher({
1825
1845
  roots,
1826
1846
  logger: this.#logger,
1827
1847
  onBatch: (batch) => {
@@ -1830,16 +1850,11 @@ class DevIdleSuspend {
1830
1850
  }
1831
1851
  });
1832
1852
  await watcher.start();
1833
- if (this.#stopped) {
1834
- watcher.stop();
1835
- return false;
1836
- }
1837
- this.#watcher = watcher;
1838
- return true;
1853
+ return watcher;
1839
1854
  } catch (err) {
1840
1855
  this.#logger.warn(`[idle-suspend] could not install the idle watcher; staying awake: ${err instanceof Error ? err.message : String(err)}`);
1841
- this.#stopWatcher();
1842
- return false;
1856
+ watcher?.stop();
1857
+ return null;
1843
1858
  }
1844
1859
  }
1845
1860
  #recordSuspendedChange(batch) {
@@ -2350,7 +2365,7 @@ var reportsNoTestFile = (exec) => {
2350
2365
  };
2351
2366
 
2352
2367
  // pkgs/@akanjs/cli/application/application.runner.ts
2353
- var loadBuildRunner = async () => (await import("./applicationBuildRunner-7skfg8zn.js")).ApplicationBuildRunner;
2368
+ var loadBuildRunner = async () => (await import("./applicationBuildRunner-vhx7zq97.js")).ApplicationBuildRunner;
2354
2369
  var loadPrompts = async () => await import("@inquirer/prompts");
2355
2370
 
2356
2371
  class ApplicationRunner extends runner("application") {
@@ -2551,7 +2566,7 @@ if (loaded) process.exitCode = await loaded.migrations.command(loaded.server, ar
2551
2566
  await new (await loadBuildRunner())(app).typecheck(options);
2552
2567
  }
2553
2568
  async typecheckLibrary(lib, options = {}) {
2554
- const { ProjectTypecheck } = await import("./projectTypecheck-wfrz0cxr.js");
2569
+ const { ProjectTypecheck } = await import("./projectTypecheck-9dzfah37.js");
2555
2570
  const root = lib.workspace.workspaceRoot;
2556
2571
  await new ProjectTypecheck(lib.cwdPath, root, { ...process.env, AKAN_WORKSPACE_ROOT: root }).run([
2557
2572
  "../../server.ts",
@@ -4,7 +4,7 @@ import {
4
4
  Executor,
5
5
  PkgInfo,
6
6
  WorkspaceExecutor
7
- } from "./index-g56xae1n.js";
7
+ } from "./index-v72mh89f.js";
8
8
 
9
9
  // pkgs/@akanjs/devkit/executors/pkgExecutor.ts
10
10
  import path from "path";
@@ -7,13 +7,13 @@ import {
7
7
  AkanAppConfig,
8
8
  increaseBuildNum,
9
9
  decreaseBuildNum
10
- } from "./index-g56xae1n.js";
10
+ } from "./index-v72mh89f.js";
11
11
  import {
12
12
  FileSys2
13
13
  } from "./index-by2tvsq6.js";
14
14
  import {
15
15
  LibExecutor2
16
- } from "./index-n8mxyy3f.js";
16
+ } from "./index-t00xrkey.js";
17
17
 
18
18
  // pkgs/@akanjs/devkit/executors/appExecutor.ts
19
19
  import { cp as cpEntry, lstat, mkdir, readdir as readDirEntries, realpath, symlink } from "fs/promises";
@@ -261,8 +261,8 @@ const userLayout: LayoutModule = {};
261
261
  process.env.AKAN_PUBLIC_RENDER_ENV === "csr"
262
262
  ? await UserLayout({ params, searchParams, children })
263
263
  : ${userLayoutElement};
264
+ ` : opts.includeSystemProvider ? ` const layout = ${userLayoutElement};
264
265
  ` : "";
265
- const layoutChild = isAsyncUserLayout ? "{layout}" : userLayoutElement;
266
266
  const layoutReturn = isAsyncUserLayout ? "layout" : userLayoutElement;
267
267
  const headLayouts = opts.includeSystemProvider ? "[inheritedLayout, userLayout]" : "[userLayout]";
268
268
  const guardExport = opts.includeSystemProvider ? "export const guard = RouteGuards.compose(inheritedLayout.guard, userLayout.guard);" : "export const guard = userLayout.guard;";
@@ -286,6 +286,7 @@ import { assertGuardOnChain, loadFonts, RouteGuards, resolveRouteModule, RouteHe
286
286
  import type { ReactNode } from "react";
287
287
  import { System } from "${ROOT_LAYOUT_SYSTEM.specifier}";
288
288
  import type { McpAppRootProps } from "akanjs/webkit";
289
+ import { RouteLevelBoundary } from "akanjs/webkit/RouteLevelBoundary.tsx";
289
290
  import { env } from "@apps/${opts.appName}/env/env.client";
290
291
  import { allDictionary } from ${JSON.stringify(dictMacroSpecifier)};
291
292
  ${storeImport}${inheritedImport}${userImport}
@@ -297,7 +298,7 @@ const defaultFontClassName = defaultFont ? (defaultFont.className ?? \`font-\${d
297
298
  export const theme = userLayout.theme ?? inheritedLayout.theme;
298
299
  export const viewport = userLayout.viewport ?? inheritedLayout.viewport;
299
300
  export const manifest = userLayout.manifest ?? inheritedLayout.manifest;
300
- export { RouteLevelBoundary as LevelBoundary } from "akanjs/webkit/RouteLevelBoundary.tsx";
301
+ export const LevelBoundary = process.env.AKAN_PUBLIC_RENDER_ENV === "csr" ? undefined : RouteLevelBoundary;
301
302
 
302
303
  ${layoutExports}(
303
304
  <System.Provider
@@ -316,7 +317,7 @@ ${layoutExports}(
316
317
  wsConnect={userLayout.wsConnect ?? inheritedLayout.wsConnect}
317
318
  allDictionary={process.env.AKAN_PUBLIC_RENDER_ENV === "ssr" ? allDictionary : undefined}
318
319
  >
319
- ${layoutChild}
320
+ {process.env.AKAN_PUBLIC_RENDER_ENV === "csr" ? layout : <RouteLevelBoundary>{layout}</RouteLevelBoundary>}
320
321
  </System.Provider>
321
322
  );
322
323
  }
@@ -396,7 +397,7 @@ async function resolveSsrPageEntriesForApp(app, pageKeys) {
396
397
  class AppExecutor2 extends SysExecutor {
397
398
  static #routeSourceValidator = null;
398
399
  static async#getRouteSourceValidator() {
399
- AppExecutor2.#routeSourceValidator ??= (await import("./routeSourceValidator-8aph1dsr.js")).RouteSourceValidator;
400
+ AppExecutor2.#routeSourceValidator ??= (await import("./routeSourceValidator-8n6j1vn7.js")).RouteSourceValidator;
400
401
  return AppExecutor2.#routeSourceValidator;
401
402
  }
402
403
  dist;
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  resolveSsrPageEntriesForApp
4
- } from "./index-trp7jdr1.js";
4
+ } from "./index-cet2s7xk.js";
5
5
  import {
6
6
  createBarrelImportsPlugin,
7
7
  workspaceBarrels,
@@ -10,7 +10,7 @@ import {
10
10
  CsrEntryFiles,
11
11
  PagesEntrySourceGenerator,
12
12
  PagesBundleBuilder
13
- } from "./index-h7yd92c8.js";
13
+ } from "./index-rj2n5kfk.js";
14
14
 
15
15
  // pkgs/@akanjs/devkit/frontendBuild/csrArtifactBuilder.ts
16
16
  import { mkdir as mkdir2, rm as rm2, unlink as unlink2 } from "fs/promises";
@@ -269,7 +269,7 @@ ${logs}` : ""}`);
269
269
  await rm(stagingDir, { recursive: true, force: true });
270
270
  }
271
271
  static async discover(pageEntries, basePaths) {
272
- const { RouteSourceValidator } = await import("./routeSourceValidator-8aph1dsr.js");
272
+ const { RouteSourceValidator } = await import("./routeSourceValidator-8n6j1vn7.js");
273
273
  const roots = pageEntries.filter((entry) => parseRouteModuleKey(entry.key).isInternalRootLayout);
274
274
  const overrides = pageEntries.filter((entry) => parseRouteModuleKey(entry.key).kind === "overrides");
275
275
  const layoutNodes = new Set(pageEntries.flatMap((entry) => {
@@ -157,7 +157,7 @@ class SubagentPool2 {
157
157
  }
158
158
  }
159
159
  async#run(id, kind, prompt, signal) {
160
- const { CodeAgent } = await import("./CodeAgent-18qg03re.js");
160
+ const { CodeAgent } = await import("./CodeAgent-q0xkt4at.js");
161
161
  const budget = this.#options.parent.tools.subagent;
162
162
  const child = SubagentPool2.childOf(this.#options.parent, kind);
163
163
  const model = this.#options.model?.();
@@ -1,61 +1,61 @@
1
1
  // @bun
2
2
  import {
3
3
  script
4
- } from "./index-neassptx.js";
4
+ } from "./index-sh3yzse2.js";
5
5
  import {
6
6
  AppExecutor2
7
- } from "./index-trp7jdr1.js";
7
+ } from "./index-cet2s7xk.js";
8
8
  import {
9
9
  LibExecutor2
10
- } from "./index-n8mxyy3f.js";
10
+ } from "./index-t00xrkey.js";
11
11
  import {
12
12
  InteractionScaffold,
13
13
  workflowStatus,
14
14
  compactDiagnostics,
15
15
  generatedFilePathsForTarget,
16
- sourceFile,
17
- moduleComponentName,
18
- moduleSourcePaths,
19
- generatedFilesForSync,
20
- validationCommandsForTarget,
21
- nextActionsForTarget,
22
- createPrimitiveWriteReport,
23
- normalizeFieldType,
16
+ hasSourceParseErrors,
24
17
  ensureNamedImport,
25
18
  ensureBaseImport,
26
- coerceFieldDefault,
27
- fieldExpression,
19
+ ensureEnumImport,
20
+ ensureConstantTypeImport,
28
21
  viaBuilderParameterName,
29
22
  insertIntoObject,
30
23
  insertLightProjectionField,
31
- insertTemplateField,
32
- ensureEnumImport,
33
24
  insertEnumClass,
34
- insertDictionaryModelField,
35
25
  hasConstantInputField,
26
+ insertDictionaryModelField,
36
27
  hasDictionaryModelField,
37
- ensureConstantTypeImport,
38
28
  insertDictionaryEnum,
29
+ normalizeFieldType,
30
+ coerceFieldDefault,
31
+ fieldExpression,
39
32
  parseValues,
40
- hasSourceParseErrors,
33
+ moduleComponentName,
34
+ moduleSourcePaths,
35
+ addFieldUiPolicyForType,
36
+ withFieldTypeImport,
37
+ KeyRename,
41
38
  hasClassMethod,
42
39
  insertClassMethod,
43
40
  hasSignalFactoryEntry,
44
41
  insertSignalFactoryEntry,
45
- addFieldUiPolicyForType,
46
- withFieldTypeImport,
47
- KeyRename,
48
- MutationScaffold
49
- } from "./index-669sg3yp.js";
42
+ MutationScaffold,
43
+ sourceFile,
44
+ generatedFilesForSync,
45
+ validationCommandsForTarget,
46
+ nextActionsForTarget,
47
+ createPrimitiveWriteReport,
48
+ insertTemplateField
49
+ } from "./index-ean2tff1.js";
50
50
  import {
51
51
  ModuleScript
52
- } from "./index-bjnebzzc.js";
52
+ } from "./index-bxevbjw7.js";
53
53
  import {
54
54
  plainNameProblem
55
55
  } from "./index-va90m8nd.js";
56
56
  import {
57
57
  ModuleExecutor
58
- } from "./index-dqsc1b5t.js";
58
+ } from "./index-4zqebbqb.js";
59
59
 
60
60
  // pkgs/@akanjs/cli/primitive/primitive.script.ts
61
61
  import { capitalize, lowerlize } from "akanjs/common";
@@ -2,19 +2,19 @@
2
2
  import {
3
3
  runner,
4
4
  script
5
- } from "./index-neassptx.js";
5
+ } from "./index-sh3yzse2.js";
6
6
  import {
7
7
  FileSys2
8
8
  } from "./index-by2tvsq6.js";
9
9
  import {
10
10
  PkgExecutor2
11
- } from "./index-dtpeyts6.js";
11
+ } from "./index-cc9pevta.js";
12
12
  import {
13
13
  FrameworkGraph
14
- } from "./index-s75h0455.js";
14
+ } from "./index-q2t2w996.js";
15
15
  import {
16
16
  MaintainabilityBaseline
17
- } from "./index-f482h2hj.js";
17
+ } from "./index-syn4vm3y.js";
18
18
  import {
19
19
  TypeScriptDependencyScanner2
20
20
  } from "./index-2ny1e95c.js";