@akanjs/cli 3.1.1-rc.17 → 3.1.1-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 (78) hide show
  1. package/.build-stamp +1 -1
  2. package/CodeAgent-rsebcq9c.js +9 -0
  3. package/{CodeTui-0626gxqd.js → CodeTui-mpybfknz.js} +1 -1
  4. package/TunnelShare-da9qj2mh.js +14 -0
  5. package/{agent.command-hpza0pg9.js → agent.command-xc1mf4yz.js} +13 -13
  6. package/akanCode.js +7 -5
  7. package/{application.command-3a7q1hs2.js → application.command-frkm7n6t.js} +43 -11
  8. package/{applicationBuildRunner-s7yt71j4.js → applicationBuildRunner-r9nvz9ms.js} +5 -5
  9. package/buildBatch.proc.js +5 -5
  10. package/{cloud.command-4vg0pcea.js → cloud.command-gakbzmdj.js} +16 -15
  11. package/cloud.script-1krw7gjb.js +26 -0
  12. package/{code.command-fbntb67p.js → code.command-pvfczhpy.js} +6 -6
  13. package/commandManifest.json +1 -1
  14. package/{context.command-31rm54v0.js → context.command-cp6fstk3.js} +16 -16
  15. package/context.runner-hwq8pwrg.js +26 -0
  16. package/{devTui-q7k7bakd.js → devTui-evr3b35y.js} +1 -1
  17. package/{guideline.command-cv3by2ng.js → guideline.command-761yyxqb.js} +2 -2
  18. package/guidelines/conventions/core.md +4 -2
  19. package/incrementalBuilder.proc.js +3 -3
  20. package/{index-zre4m2ce.js → index-1qmfdbjf.js} +4 -4
  21. package/{index-rvynj5gz.js → index-3e0c4d9d.js} +1 -1
  22. package/{index-922k2zwq.js → index-40qsd2tg.js} +3 -3
  23. package/{index-js1gj6f6.js → index-4412550g.js} +8 -8
  24. package/{index-x5ecanqh.js → index-6c5h9egr.js} +2 -2
  25. package/{index-tdv66eah.js → index-6h6x9e1n.js} +4 -4
  26. package/{index-7zeb5r1p.js → index-6yvp6qcb.js} +9 -9
  27. package/{index-mt0wa941.js → index-88aq81dz.js} +3 -3
  28. package/index-9bv479q5.js +1 -0
  29. package/{index-1dhf8ymv.js → index-9h8a7w1c.js} +3 -3
  30. package/{index-3gccwenr.js → index-9jyxbbnh.js} +1 -1
  31. package/{index-0ht91675.js → index-9z3xf23k.js} +35 -177
  32. package/{index-9ndw5d8j.js → index-a675rkqs.js} +7 -7
  33. package/{index-wfczhj1z.js → index-a9sjjv6x.js} +1 -1
  34. package/{index-05nxx4m5.js → index-acta9x3j.js} +2 -2
  35. package/{index-12kzwak1.js → index-b2p3qq5f.js} +2 -2
  36. package/{index-f5adsa58.js → index-b3br6jhe.js} +4 -4
  37. package/{index-57q1ayd2.js → index-cb58gjk2.js} +79 -11
  38. package/{index-0zyatd10.js → index-d1c677h0.js} +2 -2
  39. package/{index-hm7x0c11.js → index-d2x0mxsa.js} +4 -4
  40. package/{index-mwj9q2ya.js → index-fjxwyj3f.js} +1 -1
  41. package/{index-3txrjt6n.js → index-gftc47rk.js} +2 -2
  42. package/{index-8s8b4eba.js → index-mgdzy0cz.js} +64 -4
  43. package/{index-0zwznvv1.js → index-nrstta07.js} +1 -1
  44. package/{index-64g9fsjy.js → index-nt5c22sg.js} +9 -1
  45. package/{index-5n5hds19.js → index-t8jp2d3r.js} +1016 -658
  46. package/index-tenw3mah.js +225 -0
  47. package/{index-6269mf2s.js → index-tnhh146g.js} +8 -8
  48. package/{index-kjrvwzav.js → index-tpv8j9kq.js} +3 -3
  49. package/{index-5kh9scvs.js → index-trz8jyh1.js} +3 -73
  50. package/{index-m6r88hhr.js → index-v8w6kjx4.js} +2 -2
  51. package/{index-et6ce601.js → index-vp77rhem.js} +1 -1
  52. package/{index-w134p86k.js → index-zb0807wt.js} +1 -1
  53. package/{index-hvv5rnaq.js → index-zvhy8nch.js} +2 -2
  54. package/index.js +23 -23
  55. package/{library.command-sh70fyvy.js → library.command-stwr5zyk.js} +3 -3
  56. package/{localRegistry.command-2nbyy84d.js → localRegistry.command-t42y3tn6.js} +15 -14
  57. package/{module.command-n0bmtzwy.js → module.command-q2tv04e1.js} +5 -5
  58. package/{package.command-7h9r51bz.js → package.command-zra0r49p.js} +3 -3
  59. package/package.json +2 -2
  60. package/{page.command-vjtpfbb1.js → page.command-s7trjw69.js} +3 -3
  61. package/{pipeline.command-c93se3ar.js → pipeline.command-7p7tagtq.js} +2 -2
  62. package/{primitive.command-a3075qp2.js → primitive.command-6snsrb00.js} +6 -6
  63. package/{projectTypecheck-sf9xwaga.js → projectTypecheck-0g5azdzh.js} +1 -1
  64. package/{quality.command-dw1y9hmy.js → quality.command-n5kk1z6x.js} +3 -3
  65. package/{repair.command-tg57d8yt.js → repair.command-qngfxjd6.js} +5 -5
  66. package/{routeSourceValidator-6jd0q6r6.js → routeSourceValidator-4h947v7c.js} +13 -3
  67. package/{scalar.command-cwzge353.js → scalar.command-s28v00sy.js} +4 -4
  68. package/skills/akan-debug/SKILL.md +37 -3
  69. package/{subspace.command-3h03c7kc.js → subspace.command-8atqm584.js} +8 -8
  70. package/{tunnel.command-czaz6ys4.js → tunnel.command-kvwnw6n8.js} +7 -7
  71. package/{verify.command-nzwhtz71.js → verify.command-5fpqe0xp.js} +13 -13
  72. package/{workflow.command-srhky88x.js → workflow.command-0y3gez01.js} +10 -10
  73. package/{workspace.command-9stchcd2.js → workspace.command-fg6m6bjz.js} +29 -28
  74. package/CodeAgent-fbcq8vks.js +0 -9
  75. package/TunnelShare-2p24xxza.js +0 -14
  76. package/cloud.script-nkmeyhet.js +0 -25
  77. package/context.runner-w01a32ph.js +0 -26
  78. package/index-7md2g9vw.js +0 -6
package/.build-stamp CHANGED
@@ -1 +1 @@
1
- 4e623162cd9e61c0bd39bfe34bc3ec4e0f4d3d93c91a8af54875b83a0b6278c2
1
+ 806512b1ff1de3f7dfd1da90b88e6347880a29f49413cd791a8807a487d863e2
@@ -0,0 +1,9 @@
1
+ // @bun
2
+ import {
3
+ CodeAgent2
4
+ } from "./index-9z3xf23k.js";
5
+ import"./index-a9sjjv6x.js";
6
+ import"./index-tenw3mah.js";
7
+ export {
8
+ CodeAgent2 as CodeAgent
9
+ };
@@ -5,7 +5,7 @@ import {
5
5
  McpTokenStore,
6
6
  McpSignIn,
7
7
  AkanCodeCompaction2
8
- } from "./index-wfczhj1z.js";
8
+ } from "./index-a9sjjv6x.js";
9
9
  import {
10
10
  CodeTuiLines2,
11
11
  CodeTuiAgents2,
@@ -0,0 +1,14 @@
1
+ // @bun
2
+ import {
3
+ TunnelShare2
4
+ } from "./index-vp77rhem.js";
5
+ import"./index-d1c677h0.js";
6
+ import"./index-tpv8j9kq.js";
7
+ import"./index-m9jj544v.js";
8
+ import"./index-9h8a7w1c.js";
9
+ import"./index-nrstta07.js";
10
+ import"./index-nt5c22sg.js";
11
+ import"./index-52w0fvh8.js";
12
+ export {
13
+ TunnelShare2 as TunnelShare
14
+ };
@@ -2,28 +2,28 @@
2
2
  import {
3
3
  Workspace,
4
4
  command
5
- } from "./index-3gccwenr.js";
5
+ } from "./index-9jyxbbnh.js";
6
6
  import"./index-52w0fvh8.js";
7
- import"./index-64g9fsjy.js";
7
+ import"./index-nt5c22sg.js";
8
8
  import"./index-r2wedvqn.js";
9
9
  import"./index-hj6w4ka1.js";
10
- import"./index-05nxx4m5.js";
11
- import"./index-8s8b4eba.js";
12
- import"./index-57q1ayd2.js";
10
+ import"./index-acta9x3j.js";
11
+ import"./index-mgdzy0cz.js";
12
+ import"./index-cb58gjk2.js";
13
13
  import"./index-p6x5b7hr.js";
14
- import"./index-kjrvwzav.js";
15
- import"./index-w134p86k.js";
14
+ import"./index-tpv8j9kq.js";
15
+ import"./index-zb0807wt.js";
16
16
  import"./index-m9jj544v.js";
17
- import"./index-1dhf8ymv.js";
18
- import"./index-0zwznvv1.js";
19
- import"./index-m6r88hhr.js";
17
+ import"./index-9h8a7w1c.js";
18
+ import"./index-nrstta07.js";
19
+ import"./index-v8w6kjx4.js";
20
20
  import"./index-62md4dwy.js";
21
21
  import"./index-fbewhg4g.js";
22
22
  import {
23
23
  AgentScript
24
- } from "./index-7zeb5r1p.js";
25
- import"./index-5kh9scvs.js";
26
- import"./index-mwj9q2ya.js";
24
+ } from "./index-6yvp6qcb.js";
25
+ import"./index-trz8jyh1.js";
26
+ import"./index-fjxwyj3f.js";
27
27
 
28
28
  // pkgs/@akanjs/cli/agent/agent.command.ts
29
29
  class AgentCommand extends command("agent", [AgentScript], ({ public: target }) => ({
package/akanCode.js CHANGED
@@ -2,8 +2,6 @@
2
2
  import {
3
3
  AkanEditScope2,
4
4
  DevLogFeedback2,
5
- PreviewChrome2,
6
- PreviewView2,
7
5
  PreviewFeedback2,
8
6
  TurnFeedback2,
9
7
  AkanCli2,
@@ -28,7 +26,7 @@ import {
28
26
  CodeMailbox2,
29
27
  CodeSessionFork2,
30
28
  CodeAgent2
31
- } from "./index-0ht91675.js";
29
+ } from "./index-9z3xf23k.js";
32
30
  import {
33
31
  akanCodeDefaultModel2,
34
32
  akanCodeModel2,
@@ -39,8 +37,11 @@ import {
39
37
  import {
40
38
  SubagentPool2,
41
39
  AkanCodeCompaction2
42
- } from "./index-wfczhj1z.js";
43
- import"./index-7md2g9vw.js";
40
+ } from "./index-a9sjjv6x.js";
41
+ import {
42
+ PreviewChrome2,
43
+ PreviewView2
44
+ } from "./index-tenw3mah.js";
44
45
  import {
45
46
  CodeAgentRpcHost2
46
47
  } from "./index-at7bz0xq.js";
@@ -54,6 +55,7 @@ import {
54
55
  CodeTuiMarkdown2,
55
56
  CodeTuiParts2
56
57
  } from "./index-2mrn1mrg.js";
58
+ import"./index-9bv479q5.js";
57
59
  import {
58
60
  akanCodePaths2
59
61
  } from "./index-jje9qzyq.js";
@@ -7,21 +7,21 @@ import {
7
7
  Exec,
8
8
  Workspace,
9
9
  command
10
- } from "./index-3gccwenr.js";
10
+ } from "./index-9jyxbbnh.js";
11
11
  import"./index-52w0fvh8.js";
12
- import"./index-64g9fsjy.js";
12
+ import"./index-nt5c22sg.js";
13
13
  import"./index-p6x5b7hr.js";
14
- import"./index-kjrvwzav.js";
15
- import"./index-w134p86k.js";
14
+ import"./index-tpv8j9kq.js";
15
+ import"./index-zb0807wt.js";
16
16
  import"./index-m9jj544v.js";
17
- import"./index-1dhf8ymv.js";
18
- import"./index-0zwznvv1.js";
19
- import"./index-hvv5rnaq.js";
20
- import"./index-57q1ayd2.js";
17
+ import"./index-9h8a7w1c.js";
18
+ import"./index-nrstta07.js";
19
+ import"./index-zvhy8nch.js";
20
+ import"./index-cb58gjk2.js";
21
21
  import {
22
22
  ApplicationScript
23
- } from "./index-5n5hds19.js";
24
- import"./index-7md2g9vw.js";
23
+ } from "./index-t8jp2d3r.js";
24
+ import"./index-tenw3mah.js";
25
25
  import {
26
26
  writeOption,
27
27
  nativeTargetOption,
@@ -29,7 +29,8 @@ import {
29
29
  allowLocalOption,
30
30
  publicEnvOption
31
31
  } from "./index-mdjc93e1.js";
32
- import"./index-mwj9q2ya.js";
32
+ import"./index-fjxwyj3f.js";
33
+ import"./index-9bv479q5.js";
33
34
 
34
35
  // pkgs/@akanjs/cli/application/application.command.ts
35
36
  import { MigrationCommand } from "akanjs/server/migration/migrationCommand";
@@ -89,6 +90,37 @@ class ApplicationCommand extends command("application", [ApplicationScript], ({
89
90
  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) {
90
91
  await this.applicationScript.createMigration(app, migrationName);
91
92
  }),
93
+ preview: target({
94
+ desc: "Open pages of the app's dev server in a headless browser and print what broke, starting a server if none runs",
95
+ stdio: true
96
+ }).with(App).arg("paths", String, {
97
+ desc: "page paths, comma-separated; the default locale is added when missing (default: /)",
98
+ example: "/board,/board/new",
99
+ nullable: true
100
+ }).option("changed", Boolean, {
101
+ flag: "C",
102
+ desc: "also open the pages the uncommitted page and layout changes reach (/ when no route changed)",
103
+ default: false
104
+ }).option("csr", Boolean, { desc: "load each page as a native app does, in its CSR boot", default: false }).option("engine", String, {
105
+ desc: "browser engine (default: webkit on macOS, chrome elsewhere)",
106
+ enum: ["webkit", "chrome"],
107
+ nullable: true
108
+ }).option("screenshot", Boolean, {
109
+ desc: "save a screenshot per page under local/apps/<app>/runtime/preview",
110
+ default: false
111
+ }).option("desktop", Boolean, { desc: "a 1280x800 viewport instead of the 390x844 phone one", default: false }).option("keep", Boolean, { desc: "leave a server this command started running", default: false }).option("timeout", Number, { desc: "seconds a page may take to load", default: 60 }).option("format", String, { desc: "output format", default: "text", enum: ["text", "json"] }).exec(async function(app, paths, changed, csr, engine, screenshot, desktop, keep, timeout, format) {
112
+ await this.applicationScript.preview(app, {
113
+ paths: (paths ?? "").split(",").map((entry) => entry.trim()).filter(Boolean),
114
+ changed,
115
+ csr,
116
+ engine: engine === "webkit" || engine === "chrome" ? engine : null,
117
+ screenshot,
118
+ desktop,
119
+ keep,
120
+ timeoutMs: timeout * 1000,
121
+ format: format === "json" ? "json" : "text"
122
+ });
123
+ }),
92
124
  console: target({ desc: "Open an interactive server console for the application" }).with(App).exec(async function(app) {
93
125
  await this.applicationScript.console(app);
94
126
  }),
@@ -4,19 +4,19 @@ import {
4
4
  Spinner,
5
5
  ProjectTypecheck2,
6
6
  WorkspaceExecutor
7
- } from "./index-64g9fsjy.js";
7
+ } from "./index-nt5c22sg.js";
8
8
  import"./index-52w0fvh8.js";
9
- import"./index-12kzwak1.js";
10
- import"./index-0zwznvv1.js";
9
+ import"./index-b2p3qq5f.js";
10
+ import"./index-nrstta07.js";
11
11
  import {
12
12
  AllRoutesBuilder,
13
13
  FontPruner,
14
14
  precompressArtifacts,
15
15
  SsrBaseArtifactBuilder
16
- } from "./index-mt0wa941.js";
16
+ } from "./index-88aq81dz.js";
17
17
  import {
18
18
  CsrArtifactBuilder
19
- } from "./index-1dhf8ymv.js";
19
+ } from "./index-9h8a7w1c.js";
20
20
  import"./index-62md4dwy.js";
21
21
 
22
22
  // pkgs/@akanjs/devkit/applicationBuildRunner.ts
@@ -6,26 +6,26 @@ import {
6
6
  resolveSsrPageEntriesForApp,
7
7
  WorkspaceExecutor,
8
8
  AppExecutor
9
- } from "./index-64g9fsjy.js";
9
+ } from "./index-nt5c22sg.js";
10
10
  import {
11
11
  computeRouteSeedIndex,
12
12
  saveRouteSeedIndex,
13
13
  CsrDevBundler,
14
14
  SsrDevBundler
15
- } from "./index-12kzwak1.js";
15
+ } from "./index-b2p3qq5f.js";
16
16
  import"./index-52w0fvh8.js";
17
17
  import {
18
18
  ServerGraphFile,
19
19
  PagesBundleBuilder
20
- } from "./index-0zwznvv1.js";
20
+ } from "./index-nrstta07.js";
21
21
  import {
22
22
  CssCompiler,
23
23
  FontOptimizer,
24
24
  SsrBaseArtifactBuilder
25
- } from "./index-mt0wa941.js";
25
+ } from "./index-88aq81dz.js";
26
26
  import {
27
27
  CsrArtifactBuilder
28
- } from "./index-1dhf8ymv.js";
28
+ } from "./index-9h8a7w1c.js";
29
29
  import"./index-62md4dwy.js";
30
30
 
31
31
  // pkgs/@akanjs/devkit/incrementalBuilder/buildBatch.proc.ts
@@ -3,28 +3,28 @@ import {
3
3
  App,
4
4
  Workspace,
5
5
  command
6
- } from "./index-3gccwenr.js";
6
+ } from "./index-9jyxbbnh.js";
7
7
  import"./index-52w0fvh8.js";
8
- import"./index-64g9fsjy.js";
9
- import"./index-0zyatd10.js";
8
+ import"./index-nt5c22sg.js";
9
+ import"./index-d1c677h0.js";
10
10
  import {
11
11
  PlatformTestRun
12
- } from "./index-zre4m2ce.js";
13
- import"./index-kjrvwzav.js";
14
- import"./index-w134p86k.js";
12
+ } from "./index-1qmfdbjf.js";
13
+ import"./index-tpv8j9kq.js";
14
+ import"./index-zb0807wt.js";
15
15
  import"./index-m9jj544v.js";
16
- import"./index-1dhf8ymv.js";
17
- import"./index-0zwznvv1.js";
16
+ import"./index-9h8a7w1c.js";
17
+ import"./index-nrstta07.js";
18
18
  import"./index-p6x5b7hr.js";
19
- import"./index-hvv5rnaq.js";
20
- import"./index-57q1ayd2.js";
21
- import"./index-5n5hds19.js";
22
- import"./index-7md2g9vw.js";
19
+ import"./index-zvhy8nch.js";
20
+ import"./index-cb58gjk2.js";
21
+ import"./index-t8jp2d3r.js";
22
+ import"./index-tenw3mah.js";
23
23
  import"./index-tvehn2sp.js";
24
- import"./index-3txrjt6n.js";
24
+ import"./index-gftc47rk.js";
25
25
  import {
26
26
  CloudScript2
27
- } from "./index-9ndw5d8j.js";
27
+ } from "./index-a675rkqs.js";
28
28
  import {
29
29
  writeOption,
30
30
  oneNativeTargetOption,
@@ -35,7 +35,8 @@ import {
35
35
  hostOption,
36
36
  subspaceOption
37
37
  } from "./index-mdjc93e1.js";
38
- import"./index-mwj9q2ya.js";
38
+ import"./index-fjxwyj3f.js";
39
+ import"./index-9bv479q5.js";
39
40
 
40
41
  // pkgs/@akanjs/cli/cloud/cloud.command.ts
41
42
  var localRegistryUrl = () => process.env.AKAN_NPM_REGISTRY ?? "http://127.0.0.1:4873";
@@ -0,0 +1,26 @@
1
+ // @bun
2
+ import {
3
+ CloudScript2
4
+ } from "./index-a675rkqs.js";
5
+ import"./index-1qmfdbjf.js";
6
+ import"./index-t8jp2d3r.js";
7
+ import"./index-zvhy8nch.js";
8
+ import"./index-gftc47rk.js";
9
+ import"./index-d1c677h0.js";
10
+ import"./index-cb58gjk2.js";
11
+ import"./index-fjxwyj3f.js";
12
+ import"./index-zb0807wt.js";
13
+ import"./index-tpv8j9kq.js";
14
+ import"./index-m9jj544v.js";
15
+ import"./index-9jyxbbnh.js";
16
+ import"./index-9bv479q5.js";
17
+ import"./index-tenw3mah.js";
18
+ import"./index-9h8a7w1c.js";
19
+ import"./index-p6x5b7hr.js";
20
+ import"./index-nrstta07.js";
21
+ import"./index-nt5c22sg.js";
22
+ import"./index-tvehn2sp.js";
23
+ import"./index-52w0fvh8.js";
24
+ export {
25
+ CloudScript2 as CloudScript
26
+ };
@@ -4,9 +4,9 @@ import {
4
4
  runner,
5
5
  script,
6
6
  command
7
- } from "./index-3gccwenr.js";
7
+ } from "./index-9jyxbbnh.js";
8
8
  import"./index-52w0fvh8.js";
9
- import"./index-64g9fsjy.js";
9
+ import"./index-nt5c22sg.js";
10
10
  import {
11
11
  akanCodeDefaultModel2,
12
12
  CodeAgentStreamPrinter2
@@ -19,7 +19,7 @@ class CodeRunner extends runner("code") {
19
19
  async serve(options, listen) {
20
20
  await import("./consoleToStderr-h5bryj94.js");
21
21
  const [{ CodeAgent }, { CodeAgentRpcHost }, { CodeAgentRpcListener }] = await Promise.all([
22
- import("./CodeAgent-fbcq8vks.js"),
22
+ import("./CodeAgent-rsebcq9c.js"),
23
23
  import("./CodeAgentRpcHost-9g27hmer.js"),
24
24
  import("./CodeAgentRpcListener-7p7z5dd7.js")
25
25
  ]);
@@ -34,8 +34,8 @@ class CodeRunner extends runner("code") {
34
34
  }
35
35
  async tui(options, seed) {
36
36
  const [{ CodeAgent }, { CodeTui }] = await Promise.all([
37
- import("./CodeAgent-fbcq8vks.js"),
38
- import("./CodeTui-0626gxqd.js")
37
+ import("./CodeAgent-rsebcq9c.js"),
38
+ import("./CodeTui-mpybfknz.js")
39
39
  ]);
40
40
  const agentOptions = await CodeRunner.#agentOptions(options, false);
41
41
  let resume = options.resume;
@@ -67,7 +67,7 @@ class CodeRunner extends runner("code") {
67
67
  }
68
68
  }
69
69
  async run(prompt, options) {
70
- const { CodeAgent } = await import("./CodeAgent-fbcq8vks.js");
70
+ const { CodeAgent } = await import("./CodeAgent-rsebcq9c.js");
71
71
  const agent = await CodeAgent.create(await CodeRunner.#agentOptions(options, false));
72
72
  const printer = new CodeAgentStreamPrinter2({ json: options.json, thinking: options.thinking });
73
73
  agent.on((event) => printer.print(event));
@@ -1 +1 @@
1
- {"byCommand":{"create-workspace":"workspace","generate-agent-rules":"workspace","lint":"workspace","lint-all":"workspace","machine-keygen":"workspace","sync-all":"workspace","init":"workspace","agent":"agent","code":"code","create-application":"application","remove-application":"application","plan-slice":"application","sync":"application","script":"application","migrate":"application","create-migration":"application","console":"application","logs":"application","build":"application","b":"application","typecheck":"application","t":"application","test":"application","build-ios":"application","bi":"application","build-android":"application","ba":"application","build-desktop":"application","bd":"application","start":"application","s":"application","start-ios":"application","si":"application","start-android":"application","sa":"application","start-desktop":"application","sd":"application","release-ios":"application","release-android":"application","pack-update":"application","update-keygen":"application","publish-update":"application","dbup":"application","db-export":"application","db-import":"application","dbdown":"application","create-library":"library","remove-library":"library","sync-library":"library","library-status":"library","install-library":"library","start-registry":"localRegistry","reset-registry":"localRegistry","smoke-registry":"localRegistry","version":"package","create-package":"package","remove-package":"package","sync-package":"package","build-package":"package","verify-dist-package":"package","verify-akan-publish-packages":"package","create-module":"module","remove-module":"module","create-service":"module","create-view":"module","create-unit":"module","create-template":"module","create-crud-page":"page","context":"context","doctor":"context","mcp-install":"context","mcp":"context","mcp-call":"context","login":"cloud","logout":"cloud","deploy-akan":"cloud","test-platforms":"cloud","update":"cloud","push-update":"cloud","register-binary":"cloud","upload-secret":"cloud","list-secrets":"cloud","remove-secret":"cloud","download-env":"cloud","upload-env":"cloud","subspace":"subspace","guideline":"guideline","create-scalar":"scalar","remove-scalar":"scalar","create-ui":"primitive","add-field":"primitive","add-enum-field":"primitive","quality":"quality","verify":"verify","repair":"repair","workflow":"workflow","pipeline":"pipeline","tunnel":"tunnel"}}
1
+ {"byCommand":{"create-workspace":"workspace","generate-agent-rules":"workspace","lint":"workspace","lint-all":"workspace","machine-keygen":"workspace","sync-all":"workspace","init":"workspace","agent":"agent","code":"code","create-application":"application","remove-application":"application","plan-slice":"application","sync":"application","script":"application","migrate":"application","create-migration":"application","preview":"application","console":"application","logs":"application","build":"application","b":"application","typecheck":"application","t":"application","test":"application","build-ios":"application","bi":"application","build-android":"application","ba":"application","build-desktop":"application","bd":"application","start":"application","s":"application","start-ios":"application","si":"application","start-android":"application","sa":"application","start-desktop":"application","sd":"application","release-ios":"application","release-android":"application","pack-update":"application","update-keygen":"application","publish-update":"application","dbup":"application","db-export":"application","db-import":"application","dbdown":"application","create-library":"library","remove-library":"library","sync-library":"library","library-status":"library","install-library":"library","start-registry":"localRegistry","reset-registry":"localRegistry","smoke-registry":"localRegistry","version":"package","create-package":"package","remove-package":"package","sync-package":"package","build-package":"package","verify-dist-package":"package","verify-akan-publish-packages":"package","create-module":"module","remove-module":"module","create-service":"module","create-view":"module","create-unit":"module","create-template":"module","create-crud-page":"page","context":"context","doctor":"context","mcp-install":"context","mcp":"context","mcp-call":"context","login":"cloud","logout":"cloud","deploy-akan":"cloud","test-platforms":"cloud","update":"cloud","push-update":"cloud","register-binary":"cloud","upload-secret":"cloud","list-secrets":"cloud","remove-secret":"cloud","download-env":"cloud","upload-env":"cloud","subspace":"subspace","guideline":"guideline","create-scalar":"scalar","remove-scalar":"scalar","create-ui":"primitive","add-field":"primitive","add-enum-field":"primitive","quality":"quality","verify":"verify","repair":"repair","workflow":"workflow","pipeline":"pipeline","tunnel":"tunnel"}}
@@ -2,29 +2,29 @@
2
2
  import {
3
3
  Workspace,
4
4
  command
5
- } from "./index-3gccwenr.js";
5
+ } from "./index-9jyxbbnh.js";
6
6
  import"./index-52w0fvh8.js";
7
- import"./index-64g9fsjy.js";
7
+ import"./index-nt5c22sg.js";
8
8
  import"./index-hj6w4ka1.js";
9
- import"./index-05nxx4m5.js";
10
- import"./index-8s8b4eba.js";
11
- import"./index-6269mf2s.js";
12
- import"./index-kjrvwzav.js";
13
- import"./index-w134p86k.js";
9
+ import"./index-acta9x3j.js";
10
+ import"./index-mgdzy0cz.js";
11
+ import"./index-tnhh146g.js";
12
+ import"./index-tpv8j9kq.js";
13
+ import"./index-zb0807wt.js";
14
14
  import"./index-m9jj544v.js";
15
- import"./index-1dhf8ymv.js";
16
- import"./index-0zwznvv1.js";
15
+ import"./index-9h8a7w1c.js";
16
+ import"./index-nrstta07.js";
17
17
  import"./index-r2wedvqn.js";
18
- import"./index-922k2zwq.js";
19
- import"./index-rvynj5gz.js";
20
- import"./index-tdv66eah.js";
21
- import"./index-hm7x0c11.js";
22
- import"./index-x5ecanqh.js";
18
+ import"./index-40qsd2tg.js";
19
+ import"./index-3e0c4d9d.js";
20
+ import"./index-6h6x9e1n.js";
21
+ import"./index-d2x0mxsa.js";
22
+ import"./index-6c5h9egr.js";
23
23
  import"./index-fbewhg4g.js";
24
- import"./index-js1gj6f6.js";
24
+ import"./index-4412550g.js";
25
25
  import {
26
26
  ContextScript
27
- } from "./index-f5adsa58.js";
27
+ } from "./index-b3br6jhe.js";
28
28
 
29
29
  // pkgs/@akanjs/cli/context/context.command.ts
30
30
  class ContextCommand extends command("context", [ContextScript], ({ public: target }) => ({
@@ -0,0 +1,26 @@
1
+ // @bun
2
+ import {
3
+ ContextRunner2
4
+ } from "./index-tnhh146g.js";
5
+ import"./index-4412550g.js";
6
+ import"./index-6c5h9egr.js";
7
+ import"./index-d2x0mxsa.js";
8
+ import"./index-40qsd2tg.js";
9
+ import"./index-6h6x9e1n.js";
10
+ import"./index-3e0c4d9d.js";
11
+ import"./index-fbewhg4g.js";
12
+ import"./index-mgdzy0cz.js";
13
+ import"./index-acta9x3j.js";
14
+ import"./index-zb0807wt.js";
15
+ import"./index-r2wedvqn.js";
16
+ import"./index-tpv8j9kq.js";
17
+ import"./index-m9jj544v.js";
18
+ import"./index-9jyxbbnh.js";
19
+ import"./index-9h8a7w1c.js";
20
+ import"./index-nrstta07.js";
21
+ import"./index-nt5c22sg.js";
22
+ import"./index-hj6w4ka1.js";
23
+ import"./index-52w0fvh8.js";
24
+ export {
25
+ ContextRunner2 as ContextRunner
26
+ };
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  stripAnsi
4
- } from "./index-7md2g9vw.js";
4
+ } from "./index-tenw3mah.js";
5
5
  import {
6
6
  writeClipboard
7
7
  } from "./index-p6pbz9n5.js";
@@ -2,9 +2,9 @@
2
2
  import {
3
3
  script,
4
4
  command
5
- } from "./index-3gccwenr.js";
5
+ } from "./index-9jyxbbnh.js";
6
6
  import"./index-52w0fvh8.js";
7
- import"./index-64g9fsjy.js";
7
+ import"./index-nt5c22sg.js";
8
8
  import {
9
9
  Prompter2
10
10
  } from "./index-r2wedvqn.js";
@@ -17,8 +17,10 @@ and infrastructure. A workspace is Bun-first: `apps/<app>` holds pages, domain m
17
17
  4. After editing, run `akan verify [<app-or-lib>]` once. It syncs, lints with fixes, typechecks, fast-builds and
18
18
  checks SSR over what changed, and prints only what failed. Fix and rerun until it prints `verify ok`; never run
19
19
  `akan lint`, `akan typecheck` and `akan build` one by one.
20
- 5. Check an endpoint with a signal test (`akan test <app> [files]`), never raw HTTP against the dev server.
21
- 6. Scaffolds take the target positionally (`akan create-module photo <app>`, `akan sync <app>`); only `add-field` and
20
+ 5. After a page, UI or runtime change, run `akan preview <app> --changed` (or name the paths) and quote its verdict
21
+ lines; it reuses the running dev server. Name any platform you could not open.
22
+ 6. Check an endpoint with a signal test (`akan test <app> [files]`), never raw HTTP against the dev server.
23
+ 7. Scaffolds take the target positionally (`akan create-module photo <app>`, `akan sync <app>`); only `add-field` and
22
24
  `add-enum-field` take `--app` / `--module`.
23
25
 
24
26
  ## Change Scope
@@ -8,7 +8,7 @@ import {
8
8
  CodegenLock,
9
9
  WorkspaceExecutor,
10
10
  AppExecutor
11
- } from "./index-64g9fsjy.js";
11
+ } from "./index-nt5c22sg.js";
12
12
  import"./index-52w0fvh8.js";
13
13
  import {
14
14
  GraphClientEntryDiscovery,
@@ -19,10 +19,10 @@ import {
19
19
  DevChangePlanner,
20
20
  DevGeneratedIndexSync,
21
21
  SsrDevBundler
22
- } from "./index-12kzwak1.js";
22
+ } from "./index-b2p3qq5f.js";
23
23
  import {
24
24
  ServerGraphFile
25
- } from "./index-0zwznvv1.js";
25
+ } from "./index-nrstta07.js";
26
26
  import {
27
27
  prepareDevWatchBatch
28
28
  } from "./index-a5vmm6x4.js";
@@ -6,21 +6,21 @@ import {
6
6
  CloudApi,
7
7
  CloudUpdates,
8
8
  PipelineSecrets
9
- } from "./index-0zyatd10.js";
9
+ } from "./index-d1c677h0.js";
10
10
  import {
11
11
  resolveMobileTargets
12
12
  } from "./index-m9jj544v.js";
13
13
  import {
14
14
  WorkspaceExecutor,
15
15
  AppExecutor
16
- } from "./index-64g9fsjy.js";
16
+ } from "./index-nt5c22sg.js";
17
17
  import {
18
18
  NativeApp
19
- } from "./index-kjrvwzav.js";
19
+ } from "./index-tpv8j9kq.js";
20
20
  import {
21
21
  runner,
22
22
  assertPromptable
23
- } from "./index-3gccwenr.js";
23
+ } from "./index-9jyxbbnh.js";
24
24
  import {
25
25
  SubspaceConfig
26
26
  } from "./index-4pf8g7ff.js";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  runner,
4
4
  script
5
- } from "./index-3gccwenr.js";
5
+ } from "./index-9jyxbbnh.js";
6
6
 
7
7
  // pkgs/@akanjs/cli/page/page.runner.ts
8
8
  class PageRunner extends runner("page") {
@@ -5,13 +5,13 @@ import {
5
5
  writeGeneratedSyncState,
6
6
  createRepairReport,
7
7
  renderRepairReport
8
- } from "./index-05nxx4m5.js";
8
+ } from "./index-acta9x3j.js";
9
9
  import {
10
10
  AkanContextAnalyzer
11
- } from "./index-8s8b4eba.js";
11
+ } from "./index-mgdzy0cz.js";
12
12
  import {
13
13
  runner
14
- } from "./index-3gccwenr.js";
14
+ } from "./index-9jyxbbnh.js";
15
15
 
16
16
  // pkgs/@akanjs/cli/repair/repair.runner.ts
17
17
  var spawnShell = async (workspace, command) => await workspace.spawn("bash", ["-lc", command.startsWith("akan ") ? `bun run ${command}` : command], {
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  WorkspaceExecutor
4
- } from "./index-64g9fsjy.js";
4
+ } from "./index-nt5c22sg.js";
5
5
  import {
6
6
  jsonText,
7
7
  workflowPlanApproval,
@@ -26,26 +26,26 @@ import {
26
26
  renderWorkflowApply,
27
27
  renderWorkflowValidation,
28
28
  renderWorkflowRunArtifact
29
- } from "./index-05nxx4m5.js";
29
+ } from "./index-acta9x3j.js";
30
30
  import {
31
31
  AkanContextAnalyzer
32
- } from "./index-8s8b4eba.js";
32
+ } from "./index-mgdzy0cz.js";
33
33
  import {
34
34
  CommandContainer,
35
35
  runner
36
- } from "./index-3gccwenr.js";
36
+ } from "./index-9jyxbbnh.js";
37
37
  import {
38
38
  ModuleScript
39
- } from "./index-tdv66eah.js";
39
+ } from "./index-6h6x9e1n.js";
40
40
  import {
41
41
  PrimitiveScript
42
- } from "./index-hm7x0c11.js";
42
+ } from "./index-d2x0mxsa.js";
43
43
  import {
44
44
  spawnShell
45
- } from "./index-922k2zwq.js";
45
+ } from "./index-40qsd2tg.js";
46
46
  import {
47
47
  ScalarScript
48
- } from "./index-x5ecanqh.js";
48
+ } from "./index-6c5h9egr.js";
49
49
  import {
50
50
  workflowSpecs
51
51
  } from "./index-fbewhg4g.js";
@@ -2,12 +2,12 @@
2
2
  import {
3
3
  runner,
4
4
  script
5
- } from "./index-3gccwenr.js";
5
+ } from "./index-9jyxbbnh.js";
6
6
  import {
7
7
  generatedFilesForSync,
8
8
  createPassedPrimitiveReport,
9
9
  scalarChangedFiles
10
- } from "./index-05nxx4m5.js";
10
+ } from "./index-acta9x3j.js";
11
11
  import {
12
12
  pluralizeName
13
13
  } from "./index-nz8prx9g.js";