@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
@@ -0,0 +1,18 @@
1
+ // @bun
2
+ import {
3
+ TunnelShare2
4
+ } from "./index-y8mqkhcf.js";
5
+ import"./index-c1vym3gx.js";
6
+ import"./index-wq8pnev4.js";
7
+ import"./index-m9jj544v.js";
8
+ import"./index-dasa0kbj.js";
9
+ import"./index-rj2n5kfk.js";
10
+ import"./index-cet2s7xk.js";
11
+ import"./index-t00xrkey.js";
12
+ import"./index-cc9pevta.js";
13
+ import"./index-v72mh89f.js";
14
+ import"./index-j4yvgfhr.js";
15
+ import"./index-by2tvsq6.js";
16
+ export {
17
+ TunnelShare2 as TunnelShare
18
+ };
@@ -2,38 +2,38 @@
2
2
  import {
3
3
  Workspace,
4
4
  command
5
- } from "./index-neassptx.js";
5
+ } from "./index-sh3yzse2.js";
6
6
  import"./index-j4yvgfhr.js";
7
- import"./index-g56xae1n.js";
7
+ import"./index-v72mh89f.js";
8
8
  import"./index-by2tvsq6.js";
9
- import"./index-trp7jdr1.js";
10
- import"./index-n8mxyy3f.js";
11
- import"./index-dtpeyts6.js";
12
- import"./index-669sg3yp.js";
13
- import"./index-nd39rssn.js";
14
- import"./index-er2ja34m.js";
9
+ import"./index-cet2s7xk.js";
10
+ import"./index-t00xrkey.js";
11
+ import"./index-cc9pevta.js";
12
+ import"./index-ean2tff1.js";
13
+ import"./index-7jr9mfp2.js";
14
+ import"./index-6bryy19d.js";
15
15
  import"./index-1p81ecbz.js";
16
16
  import"./index-p5zh7pmc.js";
17
17
  import"./index-89x8tp7z.js";
18
- import"./index-j2eqe3jk.js";
19
- import"./index-1ts8vfsk.js";
20
- import"./index-q57rsax4.js";
21
- import"./index-jfkh776h.js";
18
+ import"./index-c9mnfy9r.js";
19
+ import"./index-s5gvwvkb.js";
20
+ import"./index-wq8pnev4.js";
21
+ import"./index-12vv4g80.js";
22
22
  import"./index-m9jj544v.js";
23
- import"./index-h7yd92c8.js";
24
- import"./index-yr5jv8yd.js";
25
- import"./index-ttfz2sc7.js";
26
- import"./index-f482h2hj.js";
23
+ import"./index-rj2n5kfk.js";
24
+ import"./index-dasa0kbj.js";
25
+ import"./index-fgp04fh7.js";
26
+ import"./index-syn4vm3y.js";
27
27
  import"./index-62md4dwy.js";
28
28
  import"./index-zyb0ebm4.js";
29
29
  import"./index-ffa52fwf.js";
30
30
  import"./index-t4d0ckde.js";
31
- import"./index-xywq95wk.js";
31
+ import"./index-nd8bq17n.js";
32
32
  import {
33
33
  AgentScript
34
- } from "./index-dp7sht3v.js";
35
- import"./index-gh4brxzn.js";
36
- import"./index-dqsc1b5t.js";
34
+ } from "./index-wxr3941g.js";
35
+ import"./index-12js5pj4.js";
36
+ import"./index-4zqebbqb.js";
37
37
 
38
38
  // pkgs/@akanjs/cli/agent/agent.command.ts
39
39
  class AgentCommand extends command("agent", [AgentScript], ({ public: target }) => ({
package/akanCode.js CHANGED
@@ -34,7 +34,7 @@ import {
34
34
  CodeMailbox2,
35
35
  CodeSessionFork2,
36
36
  CodeAgent2
37
- } from "./index-t8tysbxv.js";
37
+ } from "./index-c9hd79py.js";
38
38
  import {
39
39
  akanCodeDefaultModel2,
40
40
  akanCodeModel2,
@@ -45,20 +45,20 @@ import {
45
45
  import {
46
46
  SubagentPool2,
47
47
  AkanCodeCompaction2
48
- } from "./index-bxqbt5p3.js";
48
+ } from "./index-ddc2zjj5.js";
49
49
  import {
50
50
  CodeAgentRpcHost2
51
51
  } from "./index-s4nvxpzm.js";
52
52
  import {
53
- CodeTuiLines2,
54
- CodeTuiAgents2,
55
- CodeTuiClipboard2,
56
53
  CodeTuiCommands2,
54
+ CodeTuiLines2,
57
55
  CodeTuiEditor2,
58
- CodeTuiFiles2,
56
+ CodeTuiAgents2,
59
57
  CodeTuiMarkdown2,
60
- CodeTuiParts2
61
- } from "./index-2mrn1mrg.js";
58
+ CodeTuiParts2,
59
+ CodeTuiClipboard2,
60
+ CodeTuiFiles2
61
+ } from "./index-9f3reh2y.js";
62
62
  import"./index-9bv479q5.js";
63
63
  export {
64
64
  AkanCli2 as AkanCli,
@@ -1,9 +1,9 @@
1
1
  // @bun
2
2
  import {
3
3
  AppExecutor2
4
- } from "./index-trp7jdr1.js";
5
- import"./index-n8mxyy3f.js";
6
- import"./index-g56xae1n.js";
4
+ } from "./index-cet2s7xk.js";
5
+ import"./index-t00xrkey.js";
6
+ import"./index-v72mh89f.js";
7
7
  import"./index-j4yvgfhr.js";
8
8
  import"./index-by2tvsq6.js";
9
9
  export {
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  RouteJsBudget
4
- } from "./index-1ts8vfsk.js";
4
+ } from "./index-s5gvwvkb.js";
5
5
  import {
6
6
  App,
7
7
  Apps,
@@ -10,26 +10,26 @@ import {
10
10
  Exec,
11
11
  Workspace,
12
12
  command
13
- } from "./index-neassptx.js";
13
+ } from "./index-sh3yzse2.js";
14
14
  import {
15
15
  CliError
16
16
  } from "./index-j4yvgfhr.js";
17
- import"./index-g56xae1n.js";
17
+ import"./index-v72mh89f.js";
18
18
  import"./index-by2tvsq6.js";
19
- import"./index-trp7jdr1.js";
20
- import"./index-n8mxyy3f.js";
21
- import"./index-dtpeyts6.js";
22
- import"./index-q57rsax4.js";
23
- import"./index-jfkh776h.js";
19
+ import"./index-cet2s7xk.js";
20
+ import"./index-t00xrkey.js";
21
+ import"./index-cc9pevta.js";
22
+ import"./index-wq8pnev4.js";
23
+ import"./index-12vv4g80.js";
24
24
  import"./index-m9jj544v.js";
25
- import"./index-h7yd92c8.js";
26
- import"./index-yr5jv8yd.js";
27
- import"./index-q4e18ne4.js";
28
- import"./index-j2eqe3jk.js";
25
+ import"./index-rj2n5kfk.js";
26
+ import"./index-dasa0kbj.js";
27
+ import"./index-nxcmgqk3.js";
28
+ import"./index-c9mnfy9r.js";
29
29
  import"./index-rwgqba9p.js";
30
30
  import {
31
31
  ApplicationScript
32
- } from "./index-fcrr79gh.js";
32
+ } from "./index-6rrh0ffr.js";
33
33
  import {
34
34
  writeOption,
35
35
  nativeTargetOption,
@@ -37,9 +37,9 @@ import {
37
37
  allowLocalOption,
38
38
  publicEnvOption
39
39
  } from "./index-mdjc93e1.js";
40
- import"./index-gh4brxzn.js";
40
+ import"./index-12js5pj4.js";
41
41
  import"./index-9bv479q5.js";
42
- import"./index-dqsc1b5t.js";
42
+ import"./index-4zqebbqb.js";
43
43
 
44
44
  // pkgs/@akanjs/cli/application/application.command.ts
45
45
  import { MigrationCommand } from "akanjs/server/migration/migrationCommand";
@@ -67,8 +67,7 @@ var startEnvOption = {
67
67
  default: "local"
68
68
  };
69
69
  var listOf = (value) => (value ?? "").split(",").map((entry) => entry.trim()).filter(Boolean);
70
-
71
- class ApplicationCommand extends command("application", [ApplicationScript], ({ public: target }) => ({
70
+ var workspaceTargets = ({ public: target }) => ({
72
71
  createApplication: target({ desc: "Create a new application in the workspace" }).arg("appName", String, { desc: "name of application" }).option("start", Boolean, { desc: "start application", default: false }).with(Workspace).exec(async function(appName, start, workspace) {
73
72
  await this.applicationScript.createApplication(appName.toLowerCase().replace(/ /g, "-"), workspace, { start });
74
73
  }),
@@ -83,7 +82,9 @@ class ApplicationCommand extends command("application", [ApplicationScript], ({
83
82
  }),
84
83
  script: target({ desc: "Run a custom script in the application" }).with(App).arg("filename", String, { desc: "name of script", nullable: true }).exec(async function(app, filename) {
85
84
  await this.applicationScript.script(app, filename);
86
- }),
85
+ })
86
+ });
87
+ var migrationTargets = ({ public: target }) => ({
87
88
  migrate: target({
88
89
  desc: "List, plan, apply, verify or roll back the app's data migrations in script/migration",
89
90
  stdio: true,
@@ -106,7 +107,9 @@ class ApplicationCommand extends command("application", [ApplicationScript], ({
106
107
  }),
107
108
  createMigration: target({ desc: "Create a data migration in the app's script/migration" }).arg("migrationName", String, { desc: "what it does, in camelCase", example: "bizLicenseOwnership" }).with(App).exec(async function(migrationName, app) {
108
109
  await this.applicationScript.createMigration(app, migrationName);
109
- }),
110
+ })
111
+ });
112
+ var inspectTargets = ({ public: target }) => ({
110
113
  preview: target({
111
114
  desc: "Open pages of the app's dev server in a headless browser and print what broke, starting a server if none runs",
112
115
  stdio: true
@@ -194,7 +197,9 @@ class ApplicationCommand extends command("application", [ApplicationScript], ({
194
197
  follow,
195
198
  runtimeDir
196
199
  });
197
- }),
200
+ })
201
+ });
202
+ var buildAndTestTargets = ({ public: target }) => ({
198
203
  build: target({ short: true, desc: "Build the application for production (frontend + backend)" }).with(App).option("write", Boolean, writeOption).option("fast", Boolean, { desc: "fast build", default: false }).option("quiet", Boolean, { desc: "hide build progress output", default: false }).option("profile", String, {
199
204
  desc: "server env profile: bundle env/env.server.<env>.<profile>.ts in place of the environment's own file",
200
205
  nullable: true
@@ -221,7 +226,9 @@ class ApplicationCommand extends command("application", [ApplicationScript], ({
221
226
  nullable: true
222
227
  }).option("write", Boolean, writeOption).option("coverage", Boolean, { desc: "measure coverage; lcov goes under local/coverage/<target>", default: false }).exec(async function(exec, files, write, coverage) {
223
228
  await this.applicationScript.test(exec, { write, files: listOf(files), coverage });
224
- }),
229
+ })
230
+ });
231
+ var nativeBuildTargets = ({ public: target }) => ({
225
232
  buildIos: target({ short: true, desc: "Build the iOS app on the native runtime" }).with(App).option("target", String, nativeTargetOption).option("env", String, buildEnvOption).option("debug", Boolean, { desc: "debug build instead of release", default: false }).option("write", Boolean, writeOption).exec(async function(app, target, env, debug, write) {
226
233
  await this.applicationScript.buildIos(app, { target, env, profile: debug ? "debug" : "release", write });
227
234
  }),
@@ -246,7 +253,9 @@ class ApplicationCommand extends command("application", [ApplicationScript], ({
246
253
  ...notarize ? { notarize } : {},
247
254
  ...arch ? { arch } : {}
248
255
  });
249
- }),
256
+ })
257
+ });
258
+ var startTargets = ({ public: target }) => ({
250
259
  start: target({ short: true, desc: "Start development server(s) (frontend SSR + backend)" }).with(Apps).option("plain", Boolean, { desc: "print prefixed lines instead of the full-screen view", default: false }).option("kill", Boolean, { flag: "k", desc: "free the dev ports first, whoever is holding them", default: false }).option("concurrency", Number, {
251
260
  desc: "apps to boot at a time (default: what this machine's memory and cores allow)",
252
261
  nullable: true
@@ -285,7 +294,9 @@ class ApplicationCommand extends command("application", [ApplicationScript], ({
285
294
  operation: release ? "release" : "local",
286
295
  write
287
296
  });
288
- }),
297
+ })
298
+ });
299
+ var releaseTargets = ({ public: target }) => ({
289
300
  releaseIos: target({ desc: "Build and sign the iOS app for the App Store (.ipa)" }).with(App).option("target", String, nativeTargetOption).option("env", String, releaseEnvOption).option("team", String, teamOption).option("adHoc", Boolean, { desc: "sign with an ad-hoc profile instead of app-store", default: false }).option("write", Boolean, writeOption).option("allowLocalRelease", Boolean, allowLocalOption("release")).option("publicEnv", String, publicEnvOption("the release")).exec(async function(app, target, env, team, adHoc, write, allowLocalRelease, publicEnv) {
290
301
  await this.applicationScript.releaseIos(app, {
291
302
  target,
@@ -305,7 +316,9 @@ class ApplicationCommand extends command("application", [ApplicationScript], ({
305
316
  allowLocalRelease,
306
317
  publicEnv: publicEnv ?? undefined
307
318
  });
308
- }),
319
+ })
320
+ });
321
+ var updateTargets = ({ public: target }) => ({
309
322
  packUpdate: target({ desc: packUpdateDesc, usageExitCode: 1 }).with(App).option("platform", String, { enum: ["ios", "android"], desc: "the app it updates" }).option("target", String, nativeTargetOption).option("env", String, releaseEnvOption).option("out", String, {
310
323
  desc: "output folder (default: dist/native/<app>/<target>/updates/<platform>)",
311
324
  nullable: true
@@ -369,7 +382,9 @@ class ApplicationCommand extends command("application", [ApplicationScript], ({
369
382
  write,
370
383
  allowLocalRelease
371
384
  });
372
- }),
385
+ })
386
+ });
387
+ var databaseTargets = ({ public: target }) => ({
373
388
  dbup: target({ desc: "Start local database services for a database mode" }).with(Workspace).option("mode", String, {
374
389
  desc: "database mode; left out, every mode the workspace's apps declare",
375
390
  enum: ["single", "multiple", "cluster"],
@@ -386,6 +401,18 @@ class ApplicationCommand extends command("application", [ApplicationScript], ({
386
401
  dbdown: target({ desc: "Stop local database services" }).with(Workspace).exec(async function(workspace) {
387
402
  await this.applicationScript.dbdown(workspace);
388
403
  })
404
+ });
405
+
406
+ class ApplicationCommand extends command("application", [ApplicationScript], (context) => ({
407
+ ...workspaceTargets(context),
408
+ ...migrationTargets(context),
409
+ ...inspectTargets(context),
410
+ ...buildAndTestTargets(context),
411
+ ...nativeBuildTargets(context),
412
+ ...startTargets(context),
413
+ ...releaseTargets(context),
414
+ ...updateTargets(context),
415
+ ...databaseTargets(context)
389
416
  })) {
390
417
  }
391
418
  export {
@@ -5,31 +5,30 @@ import {
5
5
  parseEnvFile,
6
6
  WorkspaceExecutor,
7
7
  ServerEnvProfile
8
- } from "./index-g56xae1n.js";
8
+ } from "./index-v72mh89f.js";
9
9
  import"./index-by2tvsq6.js";
10
10
  import"./index-j4yvgfhr.js";
11
- import"./index-trp7jdr1.js";
12
- import"./index-n8mxyy3f.js";
13
- import"./index-dtpeyts6.js";
11
+ import"./index-cet2s7xk.js";
12
+ import"./index-t00xrkey.js";
13
+ import"./index-cc9pevta.js";
14
14
  import {
15
15
  NARROWABLE_VENDOR_SPECIFIERS
16
- } from "./index-d2r762fk.js";
16
+ } from "./index-k51718xz.js";
17
17
  import {
18
18
  FontPruner,
19
19
  RouteJsBudget
20
- } from "./index-1ts8vfsk.js";
21
- import"./index-h7yd92c8.js";
20
+ } from "./index-s5gvwvkb.js";
21
+ import"./index-rj2n5kfk.js";
22
22
  import {
23
23
  AllRoutesBuilder,
24
24
  precompressArtifacts,
25
25
  SsrBaseArtifactBuilder,
26
26
  VendorImportScanner
27
- } from "./index-9mx3b3zh.js";
27
+ } from "./index-zk1gjk46.js";
28
28
  import {
29
29
  CsrArtifactBuilder
30
- } from "./index-yr5jv8yd.js";
30
+ } from "./index-dasa0kbj.js";
31
31
  import"./index-62md4dwy.js";
32
- import"./index-dqsc1b5t.js";
33
32
 
34
33
  // pkgs/@akanjs/devkit/app/applicationBuildRunner.ts
35
34
  import path3 from "path";
@@ -2,37 +2,37 @@
2
2
  import {
3
3
  FontOptimizer,
4
4
  ApplicationBuildReporter
5
- } from "./index-1ts8vfsk.js";
5
+ } from "./index-s5gvwvkb.js";
6
6
  import {
7
7
  resolveSsrPageEntriesForApp,
8
8
  AppExecutor2
9
- } from "./index-trp7jdr1.js";
9
+ } from "./index-cet2s7xk.js";
10
10
  import {
11
11
  computeRouteSeedIndex,
12
12
  saveRouteSeedIndex,
13
13
  CsrDevBundler,
14
14
  SsrDevBundler
15
- } from "./index-d2r762fk.js";
15
+ } from "./index-k51718xz.js";
16
16
  import {
17
17
  WorkspaceExecutor
18
- } from "./index-g56xae1n.js";
18
+ } from "./index-v72mh89f.js";
19
19
  import"./index-by2tvsq6.js";
20
20
  import"./index-j4yvgfhr.js";
21
- import"./index-n8mxyy3f.js";
22
- import"./index-dtpeyts6.js";
21
+ import"./index-t00xrkey.js";
22
+ import"./index-cc9pevta.js";
23
23
  import {
24
24
  ServerGraphFile,
25
25
  PagesBundleBuilder
26
- } from "./index-h7yd92c8.js";
26
+ } from "./index-rj2n5kfk.js";
27
27
  import {
28
28
  CssCompiler,
29
29
  SsrBaseArtifactBuilder
30
- } from "./index-9mx3b3zh.js";
30
+ } from "./index-zk1gjk46.js";
31
31
  import {
32
32
  CsrArtifactBuilder
33
- } from "./index-yr5jv8yd.js";
33
+ } from "./index-dasa0kbj.js";
34
34
  import"./index-62md4dwy.js";
35
- import"./index-dqsc1b5t.js";
35
+ import"./index-4zqebbqb.js";
36
36
 
37
37
  // pkgs/@akanjs/devkit/incrementalBuilder/buildBatch.proc.ts
38
38
  import path from "path";
@@ -278,6 +278,15 @@ ${cssText}`).toString(36);
278
278
  return previous.files.some((fontFile) => path.resolve(fontFile) === normalized);
279
279
  });
280
280
  }
281
+ static #report(result) {
282
+ if (!process.send)
283
+ return Promise.resolve();
284
+ return new Promise((resolve) => {
285
+ process.once("disconnect", () => resolve());
286
+ process.send?.({ type: "build-batch-result", data: result });
287
+ setTimeout(() => process.disconnect?.(), 5000).unref();
288
+ });
289
+ }
281
290
  static async main() {
282
291
  const raw = process.argv[2];
283
292
  if (!raw)
@@ -297,8 +306,8 @@ ${cssText}`).toString(36);
297
306
  const orphaned = () => process.exit(1);
298
307
  process.on("disconnect", orphaned);
299
308
  const result = await new BuildBatch(request, app).run();
300
- process.send?.({ type: "build-batch-result", data: result });
301
309
  process.off("disconnect", orphaned);
310
+ await BuildBatch.#report(result);
302
311
  }
303
312
  }
304
313
  await BuildBatch.main().catch((err) => {
@@ -3,39 +3,39 @@ import {
3
3
  App,
4
4
  Workspace,
5
5
  command
6
- } from "./index-neassptx.js";
6
+ } from "./index-sh3yzse2.js";
7
7
  import"./index-j4yvgfhr.js";
8
- import"./index-g56xae1n.js";
8
+ import"./index-v72mh89f.js";
9
9
  import"./index-by2tvsq6.js";
10
- import"./index-trp7jdr1.js";
11
- import"./index-n8mxyy3f.js";
12
- import"./index-dtpeyts6.js";
13
- import"./index-vm6pr11y.js";
10
+ import"./index-cet2s7xk.js";
11
+ import"./index-t00xrkey.js";
12
+ import"./index-cc9pevta.js";
13
+ import"./index-c1vym3gx.js";
14
14
  import {
15
15
  PlatformTestRun
16
- } from "./index-b2sptt87.js";
17
- import"./index-q57rsax4.js";
18
- import"./index-jfkh776h.js";
16
+ } from "./index-pkgha3rt.js";
17
+ import"./index-wq8pnev4.js";
18
+ import"./index-12vv4g80.js";
19
19
  import"./index-m9jj544v.js";
20
- import"./index-h7yd92c8.js";
21
- import"./index-yr5jv8yd.js";
20
+ import"./index-rj2n5kfk.js";
21
+ import"./index-dasa0kbj.js";
22
22
  import {
23
23
  npmRegistryFromEnv,
24
24
  warnIgnoredNpmRegistry
25
25
  } from "./index-ffa52fwf.js";
26
- import"./index-1ts8vfsk.js";
27
- import"./index-q4e18ne4.js";
28
- import"./index-j2eqe3jk.js";
26
+ import"./index-s5gvwvkb.js";
27
+ import"./index-nxcmgqk3.js";
28
+ import"./index-c9mnfy9r.js";
29
29
  import"./index-rwgqba9p.js";
30
- import"./index-fcrr79gh.js";
31
- import"./index-nd39rssn.js";
32
- import"./index-s75h0455.js";
33
- import"./index-f482h2hj.js";
30
+ import"./index-6rrh0ffr.js";
31
+ import"./index-7jr9mfp2.js";
32
+ import"./index-q2t2w996.js";
33
+ import"./index-syn4vm3y.js";
34
34
  import"./index-2ny1e95c.js";
35
- import"./index-z7t6neq1.js";
35
+ import"./index-e4vna9dn.js";
36
36
  import {
37
37
  CloudScript2
38
- } from "./index-emf3wzvh.js";
38
+ } from "./index-my17308p.js";
39
39
  import {
40
40
  writeOption,
41
41
  oneNativeTargetOption,
@@ -46,9 +46,9 @@ import {
46
46
  hostOption,
47
47
  subspaceOption
48
48
  } from "./index-mdjc93e1.js";
49
- import"./index-gh4brxzn.js";
49
+ import"./index-12js5pj4.js";
50
50
  import"./index-9bv479q5.js";
51
- import"./index-dqsc1b5t.js";
51
+ import"./index-4zqebbqb.js";
52
52
 
53
53
  // pkgs/@akanjs/cli/cloud/cloud.command.ts
54
54
  var localRegistryUrl = () => npmRegistryFromEnv() ?? "http://127.0.0.1:4873";
@@ -0,0 +1,35 @@
1
+ // @bun
2
+ import {
3
+ CloudScript2
4
+ } from "./index-my17308p.js";
5
+ import"./index-pkgha3rt.js";
6
+ import"./index-6rrh0ffr.js";
7
+ import"./index-nxcmgqk3.js";
8
+ import"./index-e4vna9dn.js";
9
+ import"./index-c1vym3gx.js";
10
+ import"./index-ffa52fwf.js";
11
+ import"./index-c9mnfy9r.js";
12
+ import"./index-12js5pj4.js";
13
+ import"./index-syn4vm3y.js";
14
+ import"./index-12vv4g80.js";
15
+ import"./index-wq8pnev4.js";
16
+ import"./index-m9jj544v.js";
17
+ import"./index-2ny1e95c.js";
18
+ import"./index-sh3yzse2.js";
19
+ import"./index-9bv479q5.js";
20
+ import"./index-rwgqba9p.js";
21
+ import"./index-q2t2w996.js";
22
+ import"./index-7jr9mfp2.js";
23
+ import"./index-dasa0kbj.js";
24
+ import"./index-s5gvwvkb.js";
25
+ import"./index-rj2n5kfk.js";
26
+ import"./index-4zqebbqb.js";
27
+ import"./index-cet2s7xk.js";
28
+ import"./index-t00xrkey.js";
29
+ import"./index-cc9pevta.js";
30
+ import"./index-v72mh89f.js";
31
+ import"./index-j4yvgfhr.js";
32
+ import"./index-by2tvsq6.js";
33
+ export {
34
+ CloudScript2 as CloudScript
35
+ };
@@ -4,13 +4,13 @@ import {
4
4
  runner,
5
5
  script,
6
6
  command
7
- } from "./index-neassptx.js";
7
+ } from "./index-sh3yzse2.js";
8
8
  import"./index-j4yvgfhr.js";
9
- import"./index-g56xae1n.js";
9
+ import"./index-v72mh89f.js";
10
10
  import"./index-by2tvsq6.js";
11
- import"./index-trp7jdr1.js";
12
- import"./index-n8mxyy3f.js";
13
- import"./index-dtpeyts6.js";
11
+ import"./index-cet2s7xk.js";
12
+ import"./index-t00xrkey.js";
13
+ import"./index-cc9pevta.js";
14
14
  import {
15
15
  AkanCodeEnv,
16
16
  akanCodePaths2
@@ -20,7 +20,7 @@ import {
20
20
  CodeAgentStreamPrinter2,
21
21
  WorkspaceTrust
22
22
  } from "./index-0dm25wvf.js";
23
- import"./index-dqsc1b5t.js";
23
+ import"./index-4zqebbqb.js";
24
24
 
25
25
  // pkgs/@akanjs/cli/code/code.runner.ts
26
26
  import { randomBytes } from "crypto";
@@ -82,7 +82,7 @@ class CodeRunner extends runner("code") {
82
82
  async serve(options, listen) {
83
83
  await import("./consoleToStderr-h5bryj94.js");
84
84
  const [{ CodeAgent }, { CodeAgentRpcHost }, { CodeAgentRpcListener }] = await Promise.all([
85
- import("./CodeAgent-18qg03re.js"),
85
+ import("./CodeAgent-q0xkt4at.js"),
86
86
  import("./CodeAgentRpcHost-6dzfkvsc.js"),
87
87
  import("./CodeAgentRpcListener-tcwrdvst.js")
88
88
  ]);
@@ -116,8 +116,8 @@ class CodeRunner extends runner("code") {
116
116
  }
117
117
  async tui(options, seed) {
118
118
  const [{ CodeAgent }, { CodeTui }] = await Promise.all([
119
- import("./CodeAgent-18qg03re.js"),
120
- import("./CodeTui-zkm51zf3.js")
119
+ import("./CodeAgent-q0xkt4at.js"),
120
+ import("./CodeTui-n56kpaca.js")
121
121
  ]);
122
122
  const start = await CodeRunner.#start(options, { hostAttached: false, interactive: true, ask: true });
123
123
  const agentOptions = start.agent;
@@ -153,7 +153,7 @@ class CodeRunner extends runner("code") {
153
153
  }
154
154
  }
155
155
  async run(prompt, options) {
156
- const { CodeAgent } = await import("./CodeAgent-18qg03re.js");
156
+ const { CodeAgent } = await import("./CodeAgent-q0xkt4at.js");
157
157
  const ask = !!process.stdin.isTTY && !!process.stderr.isTTY;
158
158
  const start = await CodeRunner.#start(options, { hostAttached: false, interactive: false, ask });
159
159
  for (const warning of start.warnings)
@@ -2,37 +2,37 @@
2
2
  import {
3
3
  Workspace,
4
4
  command
5
- } from "./index-neassptx.js";
5
+ } from "./index-sh3yzse2.js";
6
6
  import"./index-j4yvgfhr.js";
7
- import"./index-g56xae1n.js";
7
+ import"./index-v72mh89f.js";
8
8
  import"./index-by2tvsq6.js";
9
- import"./index-trp7jdr1.js";
10
- import"./index-n8mxyy3f.js";
11
- import"./index-dtpeyts6.js";
12
- import"./index-669sg3yp.js";
13
- import"./index-nd39rssn.js";
14
- import"./index-er2ja34m.js";
9
+ import"./index-cet2s7xk.js";
10
+ import"./index-t00xrkey.js";
11
+ import"./index-cc9pevta.js";
12
+ import"./index-ean2tff1.js";
13
+ import"./index-7jr9mfp2.js";
14
+ import"./index-6bryy19d.js";
15
15
  import"./index-1p81ecbz.js";
16
- import"./index-6p02be7n.js";
16
+ import"./index-qtqhsb33.js";
17
17
  import"./index-89x8tp7z.js";
18
- import"./index-q57rsax4.js";
19
- import"./index-jfkh776h.js";
18
+ import"./index-wq8pnev4.js";
19
+ import"./index-12vv4g80.js";
20
20
  import"./index-m9jj544v.js";
21
- import"./index-h7yd92c8.js";
22
- import"./index-yr5jv8yd.js";
21
+ import"./index-rj2n5kfk.js";
22
+ import"./index-dasa0kbj.js";
23
23
  import"./index-zyb0ebm4.js";
24
- import"./index-sp331bww.js";
25
- import"./index-bzdq8wfw.js";
26
- import"./index-e82xwj3x.js";
27
- import"./index-bjnebzzc.js";
28
- import"./index-g7e58wz2.js";
29
- import"./index-39byv35b.js";
24
+ import"./index-81qt1jyj.js";
25
+ import"./index-g541mhzw.js";
26
+ import"./index-a05ewnnp.js";
27
+ import"./index-bxevbjw7.js";
28
+ import"./index-dz7z9n9t.js";
29
+ import"./index-m6r3pvf5.js";
30
30
  import"./index-t4d0ckde.js";
31
- import"./index-t329y8am.js";
31
+ import"./index-gh741qft.js";
32
32
  import {
33
33
  ContextScript
34
- } from "./index-3641r8q0.js";
35
- import"./index-dqsc1b5t.js";
34
+ } from "./index-6pzncry1.js";
35
+ import"./index-4zqebbqb.js";
36
36
 
37
37
  // pkgs/@akanjs/cli/context/context.command.ts
38
38
  class ContextCommand extends command("context", [ContextScript], ({ public: target }) => ({