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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/.build-stamp +1 -1
  2. package/{CodeAgent-vmd9k4ak.js → CodeAgent-6cpjtj25.js} +2 -2
  3. package/{CodeTui-zka44v52.js → CodeTui-zyc7zaq6.js} +1 -1
  4. package/TunnelShare-zkfkrw8w.js +14 -0
  5. package/{agent.command-2f657613.js → agent.command-kf1g3nh4.js} +17 -17
  6. package/akanCode.js +2 -2
  7. package/{application.command-q6skd3am.js → application.command-vb278qnq.js} +12 -12
  8. package/{applicationBuildRunner-sctcmkyx.js → applicationBuildRunner-bqbyeg84.js} +6 -6
  9. package/buildBatch.proc.js +6 -6
  10. package/{cloud.command-7642pks6.js → cloud.command-ca777ee2.js} +18 -18
  11. package/cloud.script-agpxzq6j.js +30 -0
  12. package/{code.command-7s4ndq2k.js → code.command-j08txqcd.js} +6 -6
  13. package/{context.command-569z0rqf.js → context.command-2fa6egp9.js} +19 -19
  14. package/context.runner-ftv8373t.js +29 -0
  15. package/{guideline.command-gnv3e8p8.js → guideline.command-w6yqpdec.js} +2 -2
  16. package/incrementalBuilder.proc.js +7 -7
  17. package/{index-a8a9ede9.js → index-0fj9ra3q.js} +3 -3
  18. package/{index-thckcabc.js → index-0mqga3h9.js} +18 -3
  19. package/{index-abgh0jve.js → index-1cb9apzn.js} +1 -1
  20. package/{index-ed6ea0qp.js → index-20wvskt8.js} +1 -1
  21. package/{index-5w9my9qe.js → index-2gees180.js} +8 -8
  22. package/{index-93ewzmp6.js → index-386canwe.js} +21 -14
  23. package/{index-fjr4d6yd.js → index-466z5931.js} +5 -5
  24. package/{index-d4n1wmrz.js → index-65b6ms4c.js} +4 -4
  25. package/{index-6wpaq392.js → index-6h775rv3.js} +4 -4
  26. package/{index-aj3ehkcx.js → index-7kmbqp0b.js} +1 -1
  27. package/{index-1q1cjn8s.js → index-84c2pgak.js} +93 -53
  28. package/{index-sy481q2x.js → index-8jpc5fqv.js} +1 -1
  29. package/{index-vr68mxj5.js → index-8nbx607g.js} +8 -8
  30. package/{index-8kczhnmv.js → index-abfbf01s.js} +1 -1
  31. package/{index-v4p1zye8.js → index-annxfpgz.js} +7 -7
  32. package/{index-8g7tdsk4.js → index-bdmgqzb5.js} +4 -4
  33. package/{index-vkzfk7qt.js → index-c5ymqb05.js} +40 -30
  34. package/{index-0fb3cpbt.js → index-cbcwxp5v.js} +5 -5
  35. package/{index-zpv14wpy.js → index-djc5nxpy.js} +3 -3
  36. package/{index-s2grpzef.js → index-dk4g0x0d.js} +3 -3
  37. package/{index-drz9e84d.js → index-e22zedc2.js} +2 -2
  38. package/{index-w639tvkd.js → index-ebwkh7bt.js} +7 -4
  39. package/{index-8ts9774g.js → index-htxck0pn.js} +4 -4
  40. package/{index-9tbgb4d8.js → index-j1hjb477.js} +1 -1
  41. package/{index-kpdv34rq.js → index-j7p0jgaq.js} +10 -7
  42. package/{index-ktb3wcqz.js → index-kcpk2d20.js} +8 -8
  43. package/{index-7y5yghjg.js → index-m5sg5spm.js} +932 -431
  44. package/{index-rc5fvqj2.js → index-mvwvxgtd.js} +28 -26
  45. package/{index-e3vmjtph.js → index-pq5rjkch.js} +2 -2
  46. package/{index-48d5qsj3.js → index-qgazn58x.js} +4 -4
  47. package/{index-eajbmk10.js → index-v50xjbbe.js} +1 -1
  48. package/{index-7xdpww43.js → index-vbhx60x5.js} +323 -129
  49. package/{index-sr5da35e.js → index-wfmpxke3.js} +2 -2
  50. package/{index-mmym5xmb.js → index-wr9magsr.js} +5 -3
  51. package/{index-mqntfzv5.js → index-xa0289eg.js} +2 -2
  52. package/{index-8pb9yvp8.js → index-xq97me1h.js} +49 -12
  53. package/{index-p6hjwt2d.js → index-y725zb1a.js} +1 -1
  54. package/{index-hqrkqxx2.js → index-ygrdw6jw.js} +1 -1
  55. package/index.js +23 -23
  56. package/{library.command-1gp5qe3r.js → library.command-8d03a0pq.js} +4 -4
  57. package/{localRegistry.command-x7jptkd3.js → localRegistry.command-vyv5k6t0.js} +17 -17
  58. package/{module.command-4xz9he6h.js → module.command-vy3kg965.js} +7 -7
  59. package/{package.command-s7qpnn1g.js → package.command-qjh13rs9.js} +7 -7
  60. package/package.json +2 -2
  61. package/{page.command-fan34c49.js → page.command-t0nx1jat.js} +3 -3
  62. package/{pipeline.command-ph4fnn9w.js → pipeline.command-2yjeas7m.js} +2 -2
  63. package/{primitive.command-3fqh8emf.js → primitive.command-8vm49279.js} +7 -7
  64. package/{projectTypecheck-vkb40hjc.js → projectTypecheck-s9hhe5sa.js} +1 -1
  65. package/{quality.command-ecj6exsh.js → quality.command-v76fev72.js} +6 -6
  66. package/{repair.command-fe9jw719.js → repair.command-fp4m3w03.js} +6 -6
  67. package/{scalar.command-cnvfhk0n.js → scalar.command-hxe6try8.js} +6 -6
  68. package/skills/akan-scaffold/SKILL.md +2 -1
  69. package/{subspace.command-qw5ddd6y.js → subspace.command-q42n1844.js} +8 -8
  70. package/{tunnel.command-ggj38mqf.js → tunnel.command-22g11n0x.js} +7 -7
  71. package/{verify.command-w9ttxkdz.js → verify.command-rx43bha1.js} +14 -14
  72. package/{workflow.command-ss8devj0.js → workflow.command-yg0d8mmq.js} +30 -15
  73. package/{workspace.command-6z2rh8ze.js → workspace.command-fcfztvn5.js} +33 -33
  74. package/TunnelShare-k3ja4w9x.js +0 -14
  75. package/cloud.script-1sfseznn.js +0 -30
  76. package/context.runner-ms8v1rxy.js +0 -29
package/.build-stamp CHANGED
@@ -1 +1 @@
1
- 2e3d9766afc7b4160ebe82587951b7c38efbcce8f2b21fec2ea67c3e0c042a96
1
+ af8674437197b6680344c75692e7b26ac0481a829e83666d2b273840922dcfb5
@@ -1,8 +1,8 @@
1
1
  // @bun
2
2
  import {
3
3
  CodeAgent2
4
- } from "./index-a8a9ede9.js";
5
- import"./index-8kczhnmv.js";
4
+ } from "./index-0fj9ra3q.js";
5
+ import"./index-abfbf01s.js";
6
6
  import"./index-23860fej.js";
7
7
  import"./index-35j83zkd.js";
8
8
  import"./index-bns3wcpc.js";
@@ -4,7 +4,7 @@ import {
4
4
  McpTokenStore,
5
5
  McpSignIn,
6
6
  AkanCodeCompaction2
7
- } from "./index-8kczhnmv.js";
7
+ } from "./index-abfbf01s.js";
8
8
  import"./index-bns3wcpc.js";
9
9
  import"./index-35j83zkd.js";
10
10
  import {
@@ -0,0 +1,14 @@
1
+ // @bun
2
+ import {
3
+ TunnelShare2
4
+ } from "./index-j1hjb477.js";
5
+ import"./index-e22zedc2.js";
6
+ import"./index-djc5nxpy.js";
7
+ import"./index-m9jj544v.js";
8
+ import"./index-wr9magsr.js";
9
+ import"./index-84c2pgak.js";
10
+ import"./index-wfmpxke3.js";
11
+ import"./index-bns3wcpc.js";
12
+ export {
13
+ TunnelShare2 as TunnelShare
14
+ };
@@ -2,33 +2,33 @@
2
2
  import {
3
3
  Workspace,
4
4
  command
5
- } from "./index-93ewzmp6.js";
5
+ } from "./index-386canwe.js";
6
6
  import"./index-bns3wcpc.js";
7
- import"./index-sr5da35e.js";
7
+ import"./index-wfmpxke3.js";
8
8
  import"./index-35j83zkd.js";
9
9
  import"./index-j6eeh5d7.js";
10
+ import"./index-0mqga3h9.js";
10
11
  import"./index-hj6w4ka1.js";
11
- import"./index-8pb9yvp8.js";
12
- import"./index-7y5yghjg.js";
13
- import"./index-thckcabc.js";
14
- import"./index-ktb3wcqz.js";
15
- import"./index-p6hjwt2d.js";
16
- import"./index-zpv14wpy.js";
17
- import"./index-ed6ea0qp.js";
12
+ import"./index-xq97me1h.js";
13
+ import"./index-m5sg5spm.js";
14
+ import"./index-kcpk2d20.js";
15
+ import"./index-y725zb1a.js";
16
+ import"./index-djc5nxpy.js";
17
+ import"./index-20wvskt8.js";
18
18
  import"./index-m9jj544v.js";
19
- import"./index-1q1cjn8s.js";
20
- import"./index-mmym5xmb.js";
21
- import"./index-fjr4d6yd.js";
22
- import"./index-hqrkqxx2.js";
19
+ import"./index-84c2pgak.js";
20
+ import"./index-wr9magsr.js";
21
+ import"./index-466z5931.js";
22
+ import"./index-ygrdw6jw.js";
23
23
  import"./index-62md4dwy.js";
24
24
  import"./index-ygdbn9jn.js";
25
25
  import"./index-ny2k80mv.js";
26
- import"./index-eajbmk10.js";
27
- import"./index-s2grpzef.js";
26
+ import"./index-v50xjbbe.js";
27
+ import"./index-dk4g0x0d.js";
28
28
  import {
29
29
  AgentScript
30
- } from "./index-5w9my9qe.js";
31
- import"./index-sy481q2x.js";
30
+ } from "./index-2gees180.js";
31
+ import"./index-8jpc5fqv.js";
32
32
 
33
33
  // pkgs/@akanjs/cli/agent/agent.command.ts
34
34
  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-a8a9ede9.js";
37
+ } from "./index-0fj9ra3q.js";
38
38
  import {
39
39
  akanCodeDefaultModel2,
40
40
  akanCodeModel2,
@@ -45,7 +45,7 @@ import {
45
45
  import {
46
46
  SubagentPool2,
47
47
  AkanCodeCompaction2
48
- } from "./index-8kczhnmv.js";
48
+ } from "./index-abfbf01s.js";
49
49
  import {
50
50
  CodeAgentRpcHost2
51
51
  } from "./index-s4nvxpzm.js";
@@ -7,21 +7,21 @@ import {
7
7
  Exec,
8
8
  Workspace,
9
9
  command
10
- } from "./index-93ewzmp6.js";
10
+ } from "./index-386canwe.js";
11
11
  import"./index-bns3wcpc.js";
12
- import"./index-sr5da35e.js";
13
- import"./index-p6hjwt2d.js";
14
- import"./index-zpv14wpy.js";
15
- import"./index-ed6ea0qp.js";
12
+ import"./index-wfmpxke3.js";
13
+ import"./index-y725zb1a.js";
14
+ import"./index-djc5nxpy.js";
15
+ import"./index-20wvskt8.js";
16
16
  import"./index-m9jj544v.js";
17
- import"./index-1q1cjn8s.js";
18
- import"./index-mmym5xmb.js";
19
- import"./index-mqntfzv5.js";
20
- import"./index-ktb3wcqz.js";
17
+ import"./index-84c2pgak.js";
18
+ import"./index-wr9magsr.js";
19
+ import"./index-xa0289eg.js";
20
+ import"./index-kcpk2d20.js";
21
21
  import"./index-23860fej.js";
22
22
  import {
23
23
  ApplicationScript
24
- } from "./index-vr68mxj5.js";
24
+ } from "./index-8nbx607g.js";
25
25
  import {
26
26
  writeOption,
27
27
  nativeTargetOption,
@@ -29,7 +29,7 @@ import {
29
29
  allowLocalOption,
30
30
  publicEnvOption
31
31
  } from "./index-mdjc93e1.js";
32
- import"./index-sy481q2x.js";
32
+ import"./index-8jpc5fqv.js";
33
33
  import"./index-9bv479q5.js";
34
34
 
35
35
  // pkgs/@akanjs/cli/application/application.command.ts
@@ -55,7 +55,7 @@ class ApplicationCommand extends command("application", [ApplicationScript], ({
55
55
  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) {
56
56
  await this.applicationScript.createApplication(appName.toLowerCase().replace(/ /g, "-"), workspace, { start });
57
57
  }),
58
- removeApplication: target({ desc: "Remove an application from the workspace" }).with(App).exec(async function(app) {
58
+ removeApplication: target({ desc: "Remove an application from the workspace", destructive: true }).with(App).exec(async function(app) {
59
59
  await this.applicationScript.removeApplication(app);
60
60
  }),
61
61
  planSlice: target({ desc: "List the exact files an app needs to live in a workspace of its own" }).with(App).option("format", String, { desc: "output format", default: "text", enum: ["text", "json"] }).exec(async function(app, format) {
@@ -5,25 +5,25 @@ import {
5
5
  ProjectTypecheck2,
6
6
  parseEnvFile,
7
7
  WorkspaceExecutor
8
- } from "./index-sr5da35e.js";
8
+ } from "./index-wfmpxke3.js";
9
9
  import"./index-bns3wcpc.js";
10
10
  import {
11
11
  NARROWABLE_VENDOR_SPECIFIERS
12
- } from "./index-7xdpww43.js";
12
+ } from "./index-vbhx60x5.js";
13
13
  import {
14
14
  FontPruner,
15
15
  RouteJsBudget
16
- } from "./index-p6hjwt2d.js";
17
- import"./index-1q1cjn8s.js";
16
+ } from "./index-y725zb1a.js";
17
+ import"./index-84c2pgak.js";
18
18
  import {
19
19
  AllRoutesBuilder,
20
20
  precompressArtifacts,
21
21
  SsrBaseArtifactBuilder,
22
22
  VendorImportScanner
23
- } from "./index-8g7tdsk4.js";
23
+ } from "./index-bdmgqzb5.js";
24
24
  import {
25
25
  CsrArtifactBuilder
26
- } from "./index-mmym5xmb.js";
26
+ } from "./index-wr9magsr.js";
27
27
  import"./index-62md4dwy.js";
28
28
 
29
29
  // pkgs/@akanjs/devkit/applicationBuildRunner.ts
@@ -2,30 +2,30 @@
2
2
  import {
3
3
  FontOptimizer,
4
4
  ApplicationBuildReporter
5
- } from "./index-p6hjwt2d.js";
5
+ } from "./index-y725zb1a.js";
6
6
  import {
7
7
  resolveSsrPageEntriesForApp,
8
8
  WorkspaceExecutor,
9
9
  AppExecutor
10
- } from "./index-sr5da35e.js";
10
+ } from "./index-wfmpxke3.js";
11
11
  import {
12
12
  computeRouteSeedIndex,
13
13
  saveRouteSeedIndex,
14
14
  CsrDevBundler,
15
15
  SsrDevBundler
16
- } from "./index-7xdpww43.js";
16
+ } from "./index-vbhx60x5.js";
17
17
  import"./index-bns3wcpc.js";
18
18
  import {
19
19
  ServerGraphFile,
20
20
  PagesBundleBuilder
21
- } from "./index-1q1cjn8s.js";
21
+ } from "./index-84c2pgak.js";
22
22
  import {
23
23
  CssCompiler,
24
24
  SsrBaseArtifactBuilder
25
- } from "./index-8g7tdsk4.js";
25
+ } from "./index-bdmgqzb5.js";
26
26
  import {
27
27
  CsrArtifactBuilder
28
- } from "./index-mmym5xmb.js";
28
+ } from "./index-wr9magsr.js";
29
29
  import"./index-62md4dwy.js";
30
30
 
31
31
  // pkgs/@akanjs/devkit/incrementalBuilder/buildBatch.proc.ts
@@ -3,35 +3,35 @@ import {
3
3
  App,
4
4
  Workspace,
5
5
  command
6
- } from "./index-93ewzmp6.js";
6
+ } from "./index-386canwe.js";
7
7
  import"./index-bns3wcpc.js";
8
- import"./index-sr5da35e.js";
9
- import"./index-drz9e84d.js";
8
+ import"./index-wfmpxke3.js";
9
+ import"./index-e22zedc2.js";
10
10
  import {
11
11
  PlatformTestRun
12
- } from "./index-6wpaq392.js";
13
- import"./index-zpv14wpy.js";
14
- import"./index-ed6ea0qp.js";
12
+ } from "./index-6h775rv3.js";
13
+ import"./index-djc5nxpy.js";
14
+ import"./index-20wvskt8.js";
15
15
  import"./index-m9jj544v.js";
16
- import"./index-1q1cjn8s.js";
17
- import"./index-mmym5xmb.js";
16
+ import"./index-84c2pgak.js";
17
+ import"./index-wr9magsr.js";
18
18
  import {
19
19
  npmRegistryFromEnv,
20
20
  warnIgnoredNpmRegistry
21
21
  } from "./index-ny2k80mv.js";
22
- import"./index-p6hjwt2d.js";
23
- import"./index-mqntfzv5.js";
24
- import"./index-ktb3wcqz.js";
22
+ import"./index-y725zb1a.js";
23
+ import"./index-xa0289eg.js";
24
+ import"./index-kcpk2d20.js";
25
25
  import"./index-23860fej.js";
26
- import"./index-vr68mxj5.js";
26
+ import"./index-8nbx607g.js";
27
27
  import"./index-qd7xn2bk.js";
28
- import"./index-7y5yghjg.js";
29
- import"./index-abgh0jve.js";
30
- import"./index-hqrkqxx2.js";
31
- import"./index-d4n1wmrz.js";
28
+ import"./index-m5sg5spm.js";
29
+ import"./index-1cb9apzn.js";
30
+ import"./index-ygrdw6jw.js";
31
+ import"./index-65b6ms4c.js";
32
32
  import {
33
33
  CloudScript2
34
- } from "./index-v4p1zye8.js";
34
+ } from "./index-annxfpgz.js";
35
35
  import {
36
36
  writeOption,
37
37
  oneNativeTargetOption,
@@ -42,7 +42,7 @@ import {
42
42
  hostOption,
43
43
  subspaceOption
44
44
  } from "./index-mdjc93e1.js";
45
- import"./index-sy481q2x.js";
45
+ import"./index-8jpc5fqv.js";
46
46
  import"./index-9bv479q5.js";
47
47
 
48
48
  // pkgs/@akanjs/cli/cloud/cloud.command.ts
@@ -0,0 +1,30 @@
1
+ // @bun
2
+ import {
3
+ CloudScript2
4
+ } from "./index-annxfpgz.js";
5
+ import"./index-6h775rv3.js";
6
+ import"./index-8nbx607g.js";
7
+ import"./index-xa0289eg.js";
8
+ import"./index-65b6ms4c.js";
9
+ import"./index-e22zedc2.js";
10
+ import"./index-ny2k80mv.js";
11
+ import"./index-kcpk2d20.js";
12
+ import"./index-8jpc5fqv.js";
13
+ import"./index-ygrdw6jw.js";
14
+ import"./index-20wvskt8.js";
15
+ import"./index-djc5nxpy.js";
16
+ import"./index-m9jj544v.js";
17
+ import"./index-386canwe.js";
18
+ import"./index-9bv479q5.js";
19
+ import"./index-23860fej.js";
20
+ import"./index-1cb9apzn.js";
21
+ import"./index-m5sg5spm.js";
22
+ import"./index-wr9magsr.js";
23
+ import"./index-y725zb1a.js";
24
+ import"./index-84c2pgak.js";
25
+ import"./index-wfmpxke3.js";
26
+ import"./index-qd7xn2bk.js";
27
+ import"./index-bns3wcpc.js";
28
+ export {
29
+ CloudScript2 as CloudScript
30
+ };
@@ -4,9 +4,9 @@ import {
4
4
  runner,
5
5
  script,
6
6
  command
7
- } from "./index-93ewzmp6.js";
7
+ } from "./index-386canwe.js";
8
8
  import"./index-bns3wcpc.js";
9
- import"./index-sr5da35e.js";
9
+ import"./index-wfmpxke3.js";
10
10
  import {
11
11
  AkanCodeEnv,
12
12
  akanCodePaths2
@@ -77,7 +77,7 @@ class CodeRunner extends runner("code") {
77
77
  async serve(options, listen) {
78
78
  await import("./consoleToStderr-h5bryj94.js");
79
79
  const [{ CodeAgent }, { CodeAgentRpcHost }, { CodeAgentRpcListener }] = await Promise.all([
80
- import("./CodeAgent-vmd9k4ak.js"),
80
+ import("./CodeAgent-6cpjtj25.js"),
81
81
  import("./CodeAgentRpcHost-6dzfkvsc.js"),
82
82
  import("./CodeAgentRpcListener-tcwrdvst.js")
83
83
  ]);
@@ -111,8 +111,8 @@ class CodeRunner extends runner("code") {
111
111
  }
112
112
  async tui(options, seed) {
113
113
  const [{ CodeAgent }, { CodeTui }] = await Promise.all([
114
- import("./CodeAgent-vmd9k4ak.js"),
115
- import("./CodeTui-zka44v52.js")
114
+ import("./CodeAgent-6cpjtj25.js"),
115
+ import("./CodeTui-zyc7zaq6.js")
116
116
  ]);
117
117
  const start = await CodeRunner.#start(options, { hostAttached: false, interactive: true, ask: true });
118
118
  const agentOptions = start.agent;
@@ -148,7 +148,7 @@ class CodeRunner extends runner("code") {
148
148
  }
149
149
  }
150
150
  async run(prompt, options) {
151
- const { CodeAgent } = await import("./CodeAgent-vmd9k4ak.js");
151
+ const { CodeAgent } = await import("./CodeAgent-6cpjtj25.js");
152
152
  const ask = !!process.stdin.isTTY && !!process.stderr.isTTY;
153
153
  const start = await CodeRunner.#start(options, { hostAttached: false, interactive: false, ask });
154
154
  for (const warning of start.warnings)
@@ -2,32 +2,32 @@
2
2
  import {
3
3
  Workspace,
4
4
  command
5
- } from "./index-93ewzmp6.js";
5
+ } from "./index-386canwe.js";
6
6
  import"./index-bns3wcpc.js";
7
- import"./index-sr5da35e.js";
7
+ import"./index-wfmpxke3.js";
8
+ import"./index-0mqga3h9.js";
8
9
  import"./index-hj6w4ka1.js";
9
- import"./index-8pb9yvp8.js";
10
- import"./index-7y5yghjg.js";
11
- import"./index-thckcabc.js";
12
- import"./index-rc5fvqj2.js";
13
- import"./index-zpv14wpy.js";
14
- import"./index-ed6ea0qp.js";
10
+ import"./index-xq97me1h.js";
11
+ import"./index-m5sg5spm.js";
12
+ import"./index-mvwvxgtd.js";
13
+ import"./index-djc5nxpy.js";
14
+ import"./index-20wvskt8.js";
15
15
  import"./index-m9jj544v.js";
16
- import"./index-1q1cjn8s.js";
17
- import"./index-mmym5xmb.js";
16
+ import"./index-84c2pgak.js";
17
+ import"./index-wr9magsr.js";
18
18
  import"./index-j6eeh5d7.js";
19
19
  import"./index-ygdbn9jn.js";
20
- import"./index-w639tvkd.js";
21
- import"./index-0fb3cpbt.js";
22
- import"./index-aj3ehkcx.js";
23
- import"./index-8ts9774g.js";
24
- import"./index-48d5qsj3.js";
25
- import"./index-e3vmjtph.js";
26
- import"./index-eajbmk10.js";
27
- import"./index-vkzfk7qt.js";
20
+ import"./index-ebwkh7bt.js";
21
+ import"./index-cbcwxp5v.js";
22
+ import"./index-7kmbqp0b.js";
23
+ import"./index-htxck0pn.js";
24
+ import"./index-qgazn58x.js";
25
+ import"./index-pq5rjkch.js";
26
+ import"./index-v50xjbbe.js";
27
+ import"./index-c5ymqb05.js";
28
28
  import {
29
29
  ContextScript
30
- } from "./index-kpdv34rq.js";
30
+ } from "./index-j7p0jgaq.js";
31
31
 
32
32
  // pkgs/@akanjs/cli/context/context.command.ts
33
33
  class ContextCommand extends command("context", [ContextScript], ({ public: target }) => ({
@@ -0,0 +1,29 @@
1
+ // @bun
2
+ import {
3
+ ContextRunner2
4
+ } from "./index-mvwvxgtd.js";
5
+ import"./index-c5ymqb05.js";
6
+ import"./index-pq5rjkch.js";
7
+ import"./index-qgazn58x.js";
8
+ import"./index-cbcwxp5v.js";
9
+ import"./index-htxck0pn.js";
10
+ import"./index-7kmbqp0b.js";
11
+ import"./index-v50xjbbe.js";
12
+ import"./index-0mqga3h9.js";
13
+ import"./index-xq97me1h.js";
14
+ import"./index-20wvskt8.js";
15
+ import"./index-j6eeh5d7.js";
16
+ import"./index-djc5nxpy.js";
17
+ import"./index-m9jj544v.js";
18
+ import"./index-386canwe.js";
19
+ import"./index-ebwkh7bt.js";
20
+ import"./index-ygdbn9jn.js";
21
+ import"./index-m5sg5spm.js";
22
+ import"./index-wr9magsr.js";
23
+ import"./index-84c2pgak.js";
24
+ import"./index-wfmpxke3.js";
25
+ import"./index-hj6w4ka1.js";
26
+ import"./index-bns3wcpc.js";
27
+ export {
28
+ ContextRunner2 as ContextRunner
29
+ };
@@ -2,9 +2,9 @@
2
2
  import {
3
3
  script,
4
4
  command
5
- } from "./index-93ewzmp6.js";
5
+ } from "./index-386canwe.js";
6
6
  import"./index-bns3wcpc.js";
7
- import"./index-sr5da35e.js";
7
+ import"./index-wfmpxke3.js";
8
8
  import {
9
9
  Prompter2
10
10
  } from "./index-j6eeh5d7.js";
@@ -3,12 +3,12 @@ import {
3
3
  HmrWatcher,
4
4
  WatchRootResolver,
5
5
  ApplicationBuildReporter
6
- } from "./index-p6hjwt2d.js";
6
+ } from "./index-y725zb1a.js";
7
7
  import {
8
8
  CodegenLock,
9
9
  WorkspaceExecutor,
10
10
  AppExecutor
11
- } from "./index-sr5da35e.js";
11
+ } from "./index-wfmpxke3.js";
12
12
  import"./index-bns3wcpc.js";
13
13
  import {
14
14
  GraphClientEntryDiscovery,
@@ -19,20 +19,20 @@ import {
19
19
  DevChangePlanner,
20
20
  DevGeneratedIndexSync,
21
21
  SsrDevBundler
22
- } from "./index-7xdpww43.js";
22
+ } from "./index-vbhx60x5.js";
23
23
  import {
24
24
  ServerGraphFile
25
- } from "./index-1q1cjn8s.js";
26
- import"./index-7y5yghjg.js";
25
+ } from "./index-84c2pgak.js";
26
+ import"./index-m5sg5spm.js";
27
27
  import {
28
28
  FrameworkGraph
29
- } from "./index-abgh0jve.js";
29
+ } from "./index-1cb9apzn.js";
30
30
  import {
31
31
  GitRevision
32
32
  } from "./index-ygdbn9jn.js";
33
33
  import {
34
34
  WorkspaceGraph
35
- } from "./index-w639tvkd.js";
35
+ } from "./index-ebwkh7bt.js";
36
36
  import {
37
37
  prepareDevWatchBatch
38
38
  } from "./index-a5vmm6x4.js";
@@ -19,7 +19,7 @@ import {
19
19
  SubagentPool2,
20
20
  McpSignIn,
21
21
  AkanCodeCompaction2
22
- } from "./index-8kczhnmv.js";
22
+ } from "./index-abfbf01s.js";
23
23
  import {
24
24
  codeAgentIsLoopback,
25
25
  codeAgentHostListed,
@@ -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-ms8v1rxy.js");
662
+ const { ContextRunner } = await import("./context.runner-ftv8373t.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-ms8v1rxy.js");
670
+ const { ContextRunner } = await import("./context.runner-ftv8373t.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 })) {
@@ -10,7 +10,7 @@ import {
10
10
  isScannedRootEntry,
11
11
  AppExecutor,
12
12
  LibExecutor
13
- } from "./index-sr5da35e.js";
13
+ } from "./index-wfmpxke3.js";
14
14
  import {
15
15
  FileSys2
16
16
  } from "./index-bns3wcpc.js";
@@ -23,12 +23,28 @@ import {
23
23
  workflowPathsForPlan,
24
24
  workflowRunArtifactPath,
25
25
  workflowSyncDir
26
- } from "./index-8pb9yvp8.js";
26
+ } from "./index-xq97me1h.js";
27
27
 
28
28
  // pkgs/@akanjs/devkit/akanContext.ts
29
29
  import { readdir } from "fs/promises";
30
30
  import path from "path";
31
31
  import { capitalize, isRecord, parseRouteModuleKey } from "akanjs/common";
32
+
33
+ // pkgs/@akanjs/devkit/constantFieldNames.ts
34
+ import ts from "typescript";
35
+ var isFieldCall = (node) => ts.isCallExpression(node) && (ts.isIdentifier(node.expression) ? node.expression.text === "field" : ts.isPropertyAccessExpression(node.expression) && isFieldCall(node.expression.expression));
36
+ var constantFieldNames = (content) => {
37
+ const names = [];
38
+ const visit = (node) => {
39
+ if (ts.isPropertyAssignment(node) && ts.isIdentifier(node.name) && isFieldCall(node.initializer))
40
+ names.push(node.name.text);
41
+ ts.forEachChild(node, visit);
42
+ };
43
+ visit(ts.createSourceFile("constant.ts", content, ts.ScriptTarget.Latest));
44
+ return names;
45
+ };
46
+
47
+ // pkgs/@akanjs/devkit/akanContext.ts
32
48
  var guidelineResourceUri = (name) => `akan://guidelines/${name}`;
33
49
  var staticResourceList = [
34
50
  { uri: "akan://docs/framework", name: "Akan framework guide", mimeType: "text/markdown" },
@@ -165,7 +181,6 @@ var moduleShapeFiles = (module) => {
165
181
  `${module.name}.signal.ts`
166
182
  ];
167
183
  };
168
- var constantFieldNames = (content) => [...content.matchAll(/\b([A-Za-z_$][\w$]*)\s*:\s*field\(/g)].map((match) => match[1]).filter(Boolean);
169
184
  var safeReadDir = async (dirPath) => (await readdir(dirPath, { withFileTypes: true }).catch(() => [])).sort((a, b) => a.name.localeCompare(b.name));
170
185
  var safeReadText = (filePath) => FileSys2.readText(filePath).catch(() => null);
171
186
  var safeReadJson = (filePath) => FileSys2.readJson(filePath).catch(() => null);
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  FrameworkMapBuilder,
4
4
  FrameworkMapDoc
5
- } from "./index-7y5yghjg.js";
5
+ } from "./index-m5sg5spm.js";
6
6
 
7
7
  // pkgs/@akanjs/devkit/frameworkGraph.ts
8
8
  import { readdir, readFile, realpath, stat } from "fs/promises";
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  DesktopBin
4
- } from "./index-zpv14wpy.js";
4
+ } from "./index-djc5nxpy.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";
@@ -4,7 +4,7 @@ import {
4
4
  script,
5
5
  ExitCodeError,
6
6
  markCliErrorPrinted
7
- } from "./index-93ewzmp6.js";
7
+ } from "./index-386canwe.js";
8
8
  import {
9
9
  AGENT_BLOCK_START,
10
10
  AGENT_BLOCK_END,
@@ -15,7 +15,7 @@ import {
15
15
  CLAUDE_COMMENT_RULE,
16
16
  AppExecutor,
17
17
  LibExecutor
18
- } from "./index-sr5da35e.js";
18
+ } from "./index-wfmpxke3.js";
19
19
  import {
20
20
  akanCodePaths2
21
21
  } from "./index-35j83zkd.js";
@@ -23,25 +23,25 @@ import {
23
23
  ConventionSet,
24
24
  Prompter2
25
25
  } from "./index-j6eeh5d7.js";
26
+ import {
27
+ AkanContextAnalyzer
28
+ } from "./index-0mqga3h9.js";
26
29
  import {
27
30
  collectRecipeSources2,
28
31
  scanRecipes2
29
32
  } from "./index-hj6w4ka1.js";
30
- import {
31
- AkanContextAnalyzer
32
- } from "./index-thckcabc.js";
33
33
  import {
34
34
  ApplicationRunner,
35
35
  VerifyScope
36
- } from "./index-ktb3wcqz.js";
36
+ } from "./index-kcpk2d20.js";
37
37
  import {
38
38
  WorkspaceRunner
39
- } from "./index-fjr4d6yd.js";
39
+ } from "./index-466z5931.js";
40
40
  import {
41
41
  VerifyComments,
42
42
  VerifyPipeline,
43
43
  VerifyReport
44
- } from "./index-s2grpzef.js";
44
+ } from "./index-dk4g0x0d.js";
45
45
 
46
46
  // pkgs/@akanjs/cli/agent/agent.script.ts
47
47
  import { Logger as Logger3 } from "akanjs/common";