@akanjs/cli 3.2.1-rc.1 → 3.2.1-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 (93) hide show
  1. package/.build-stamp +2 -2
  2. package/{CodeAgent-xdw73nbz.js → CodeAgent-9t00vd1t.js} +2 -2
  3. package/{CodeTui-0gewm71c.js → CodeTui-6pzd57d9.js} +1 -1
  4. package/TunnelShare-ystnpd6r.js +16 -0
  5. package/{agent.command-g1mj34wz.js → agent.command-mx412p4j.js} +17 -17
  6. package/akanCode.js +2 -2
  7. package/{appExecutor-rrx10jya.js → appExecutor-5rqem8rw.js} +3 -3
  8. package/{application.command-3w4v7t40.js → application.command-6qec3fkg.js} +13 -13
  9. package/{applicationBuildRunner-y5xbetyz.js → applicationBuildRunner-3sgyp4kc.js} +13 -10
  10. package/buildBatch.proc.js +10 -10
  11. package/{cloud.command-ph0rz6sw.js → cloud.command-zcm1vwep.js} +18 -18
  12. package/cloud.script-zv6bxdvg.js +30 -0
  13. package/{code.command-9b967qpg.js → code.command-9ve10cys.js} +10 -10
  14. package/{context.command-ndzs5rbf.js → context.command-f1sqfvws.js} +18 -18
  15. package/context.runner-7d1zp6sp.js +32 -0
  16. package/{csrArtifactBuilder-gtvff6k7.js → csrArtifactBuilder-9zvt4tqd.js} +2 -3
  17. package/{guideline.command-y8qz9kxy.js → guideline.command-6rezhb4j.js} +6 -6
  18. package/guidelines/akanApi/akanApi.instruction.md +7 -2
  19. package/guidelines/conventions/core.md +6 -11
  20. package/guidelines/conventions/rules/app.md +1 -2
  21. package/guidelines/conventions/rules/auth.md +18 -27
  22. package/guidelines/conventions/rules/config.md +14 -46
  23. package/guidelines/conventions/rules/page.md +19 -34
  24. package/guidelines/conventions/rules/server.md +1 -4
  25. package/guidelines/conventions/rules/ssr.md +3 -4
  26. package/guidelines/conventions/rules/ts.md +2 -1
  27. package/guidelines/cssRule/cssRule.instruction.md +1 -0
  28. package/guidelines/pageRule/pageRule.instruction.md +6 -53
  29. package/incrementalBuilder.proc.js +8 -8
  30. package/{index-4a1n0nym.js → index-2fw81aak.js} +1 -1
  31. package/{index-whvhsb5f.js → index-2qhrmtb0.js} +1 -1
  32. package/{index-dr1carpr.js → index-3jzx6k0e.js} +4 -4
  33. package/{index-2kh4xj3m.js → index-5fwhv8kp.js} +1 -1
  34. package/{index-scfsqen7.js → index-6z5cwvq1.js} +3 -3
  35. package/{index-y2g0s9tn.js → index-7jknrhws.js} +1 -1
  36. package/{index-6j351de4.js → index-8vger8r0.js} +2 -2
  37. package/{index-1c2807kg.js → index-94a2xrv1.js} +3 -3
  38. package/{index-ymgsvhc5.js → index-adbcqv0k.js} +4 -4
  39. package/{index-45aprybg.js → index-akep88g2.js} +2 -2
  40. package/{index-652f3bs8.js → index-c1sfw20m.js} +5 -5
  41. package/{index-cm9rb480.js → index-c7zk1gtv.js} +5 -6
  42. package/{index-b0t92k71.js → index-cryyzd80.js} +11 -11
  43. package/{index-82cmbpxc.js → index-d9qkd87g.js} +7 -7
  44. package/{index-6gepp8yn.js → index-ep31fxe8.js} +60 -19
  45. package/{index-ankyx6dj.js → index-f0qe3x4t.js} +3 -3
  46. package/{index-38x8ynrx.js → index-f52d0acp.js} +2 -2
  47. package/{index-twjgmryg.js → index-f5s9w5bq.js} +4 -4
  48. package/{index-pc42gxa5.js → index-g4hta169.js} +4 -4
  49. package/{index-ktxdfqg5.js → index-gxe8nyxd.js} +1 -1
  50. package/{index-2vn0m9z5.js → index-h2g1qt9p.js} +3 -3
  51. package/{index-4zgm54wf.js → index-havp958b.js} +7 -7
  52. package/{index-qh81drde.js → index-mj9mzss7.js} +8 -8
  53. package/{index-3569fr49.js → index-nawk3ttc.js} +5 -5
  54. package/{index-0wa5z6rm.js → index-pad3djxk.js} +1 -1
  55. package/{index-gtydr9qc.js → index-q7ct22a1.js} +8 -8
  56. package/{index-0csk6jqm.js → index-qc4xk6ng.js} +3 -3
  57. package/{index-jdw9m5c4.js → index-qk2evkwr.js} +4 -4
  58. package/{index-b372rck5.js → index-smjm20t4.js} +14 -7
  59. package/{index-d0n78fzc.js → index-tc9k9sgg.js} +11 -11
  60. package/{index-jg5rwrf7.js → index-wjecpeyq.js} +226 -21
  61. package/{index-f2arv0mv.js → index-xftdwcdj.js} +1 -1
  62. package/{index-1p9bxjmt.js → index-xrmcq5hx.js} +2 -2
  63. package/{index-q8h4eg5y.js → index-y9tadrbb.js} +6 -6
  64. package/{index-02v45hh9.js → index-yjq1e8ge.js} +3 -3
  65. package/{index-9rymt8d6.js → index-yq1rfscr.js} +1 -1
  66. package/{index-0z8sbdme.js → index-zswfx1y8.js} +1 -1
  67. package/{index-mnhrqjjq.js → index-zxvw9wme.js} +1 -1
  68. package/index.js +27 -27
  69. package/{libExecutor-nstr00s7.js → libExecutor-6we2k5s7.js} +2 -2
  70. package/{library.command-b02aw1hm.js → library.command-3d276hfe.js} +7 -7
  71. package/{localRegistry.command-3hg1p4aj.js → localRegistry.command-0k4wbbw3.js} +17 -17
  72. package/{module.command-bd9gz6cv.js → module.command-2efp8hnc.js} +9 -9
  73. package/{package.command-xmr0mxze.js → package.command-jbmhv4ka.js} +8 -8
  74. package/package.json +3 -2
  75. package/{page.command-x94qf58g.js → page.command-bmn5mqg4.js} +7 -7
  76. package/{pipeline.command-n2843k6t.js → pipeline.command-wy27rp6n.js} +6 -6
  77. package/{pkgExecutor-cka27e3c.js → pkgExecutor-zg3p4wzh.js} +2 -2
  78. package/{primitive.command-cs7v376h.js → primitive.command-c1zhx2k0.js} +10 -10
  79. package/{projectTypecheck-za2n3nbr.js → projectTypecheck-2nrmqybz.js} +1 -1
  80. package/{quality.command-nqngh1jd.js → quality.command-s7k6hd9v.js} +8 -8
  81. package/{repair.command-v2medwsm.js → repair.command-whzxzzwt.js} +9 -9
  82. package/{scalar.command-61cjmxn1.js → scalar.command-9h6jj42g.js} +8 -8
  83. package/skills/akan-page/SKILL.md +18 -13
  84. package/skills/akan-runtime/SKILL.md +21 -16
  85. package/skills/akan-service/SKILL.md +2 -2
  86. package/{subspace.command-dtv8nfh7.js → subspace.command-n39bhv0c.js} +10 -10
  87. package/{tunnel.command-fmwm5fgb.js → tunnel.command-n5ezcmfs.js} +9 -9
  88. package/{verify.command-4f260t53.js → verify.command-c7xn9jkn.js} +14 -14
  89. package/{workflow.command-tm5q9xsm.js → workflow.command-7jf64z5f.js} +14 -14
  90. package/{workspace.command-75gc280j.js → workspace.command-h55z8b42.js} +31 -31
  91. package/TunnelShare-cccfdgbm.js +0 -16
  92. package/cloud.script-8bs9tp4j.js +0 -30
  93. package/context.runner-bmstpng2.js +0 -32
package/.build-stamp CHANGED
@@ -1,2 +1,2 @@
1
- a4104d4c201ed9250eb194a6421ae4a7b38284939a208c4347bbdc779595a6b4
2
- 9a9835d5-ddd2-4957-b802-f69aadd12652
1
+ bb957a98c7aabefab09381dc90c7f52cff3a260de3e5279e55ac6f11aba3a4fa
2
+ 09a7666a-e8a1-49b8-a6dd-1f6cbb157940
@@ -1,8 +1,8 @@
1
1
  // @bun
2
2
  import {
3
3
  CodeAgent2
4
- } from "./index-02v45hh9.js";
5
- import"./index-0wa5z6rm.js";
4
+ } from "./index-yjq1e8ge.js";
5
+ import"./index-pad3djxk.js";
6
6
  import"./index-rwgqba9p.js";
7
7
  import"./index-xv3pvdw4.js";
8
8
  import"./index-zyjztrvc.js";
@@ -4,7 +4,7 @@ import {
4
4
  McpTokenStore,
5
5
  McpSignIn,
6
6
  AkanCodeCompaction2
7
- } from "./index-0wa5z6rm.js";
7
+ } from "./index-pad3djxk.js";
8
8
  import"./index-zyjztrvc.js";
9
9
  import"./index-xv3pvdw4.js";
10
10
  import {
@@ -0,0 +1,16 @@
1
+ // @bun
2
+ import {
3
+ TunnelShare2
4
+ } from "./index-2fw81aak.js";
5
+ import"./index-akep88g2.js";
6
+ import"./index-adbcqv0k.js";
7
+ import"./index-m9jj544v.js";
8
+ import"./index-smjm20t4.js";
9
+ import"./index-xftdwcdj.js";
10
+ import"./index-zxvw9wme.js";
11
+ import"./index-g4hta169.js";
12
+ import"./index-j4yvgfhr.js";
13
+ import"./index-zyjztrvc.js";
14
+ export {
15
+ TunnelShare2 as TunnelShare
16
+ };
@@ -2,36 +2,36 @@
2
2
  import {
3
3
  Workspace,
4
4
  command
5
- } from "./index-652f3bs8.js";
5
+ } from "./index-c1sfw20m.js";
6
6
  import"./index-j4yvgfhr.js";
7
- import"./index-pc42gxa5.js";
7
+ import"./index-g4hta169.js";
8
8
  import"./index-zyjztrvc.js";
9
- import"./index-b372rck5.js";
10
- import"./index-f2arv0mv.js";
11
- import"./index-mnhrqjjq.js";
12
- import"./index-1c2807kg.js";
9
+ import"./index-smjm20t4.js";
10
+ import"./index-xftdwcdj.js";
11
+ import"./index-zxvw9wme.js";
12
+ import"./index-94a2xrv1.js";
13
13
  import"./index-trffs83s.js";
14
- import"./index-jdw9m5c4.js";
14
+ import"./index-qk2evkwr.js";
15
15
  import"./index-1p81ecbz.js";
16
16
  import"./index-xv3pvdw4.js";
17
17
  import"./index-j3fqs8rc.js";
18
- import"./index-d0n78fzc.js";
19
- import"./index-6j351de4.js";
20
- import"./index-ymgsvhc5.js";
21
- import"./index-2kh4xj3m.js";
18
+ import"./index-tc9k9sgg.js";
19
+ import"./index-8vger8r0.js";
20
+ import"./index-adbcqv0k.js";
21
+ import"./index-5fwhv8kp.js";
22
22
  import"./index-m9jj544v.js";
23
- import"./index-cm9rb480.js";
24
- import"./index-ktxdfqg5.js";
23
+ import"./index-c7zk1gtv.js";
24
+ import"./index-gxe8nyxd.js";
25
25
  import"./index-62md4dwy.js";
26
26
  import"./index-zyb0ebm4.js";
27
27
  import"./index-jf4vk1s0.js";
28
28
  import"./index-t4d0ckde.js";
29
- import"./index-4zgm54wf.js";
29
+ import"./index-havp958b.js";
30
30
  import {
31
31
  AgentScript
32
- } from "./index-6gepp8yn.js";
33
- import"./index-9rymt8d6.js";
34
- import"./index-whvhsb5f.js";
32
+ } from "./index-ep31fxe8.js";
33
+ import"./index-yq1rfscr.js";
34
+ import"./index-2qhrmtb0.js";
35
35
 
36
36
  // pkgs/@akanjs/cli/agent/agent.command.ts
37
37
  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-02v45hh9.js";
37
+ } from "./index-yjq1e8ge.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-0wa5z6rm.js";
48
+ } from "./index-pad3djxk.js";
49
49
  import {
50
50
  CodeAgentRpcHost2
51
51
  } from "./index-s4nvxpzm.js";
@@ -1,9 +1,9 @@
1
1
  // @bun
2
- import"./index-f2arv0mv.js";
3
- import"./index-pc42gxa5.js";
4
2
  import {
5
3
  AppExecutor2
6
- } from "./index-b372rck5.js";
4
+ } from "./index-smjm20t4.js";
5
+ import"./index-xftdwcdj.js";
6
+ import"./index-g4hta169.js";
7
7
  import"./index-j4yvgfhr.js";
8
8
  import"./index-zyjztrvc.js";
9
9
  export {
@@ -1,12 +1,12 @@
1
1
  // @bun
2
2
  import"./index-zyjztrvc.js";
3
- import"./index-pc42gxa5.js";
3
+ import"./index-g4hta169.js";
4
4
  import {
5
5
  CliError
6
6
  } from "./index-j4yvgfhr.js";
7
7
  import {
8
8
  RouteJsBudget
9
- } from "./index-6j351de4.js";
9
+ } from "./index-8vger8r0.js";
10
10
  import {
11
11
  App,
12
12
  Apps,
@@ -15,19 +15,19 @@ import {
15
15
  Exec,
16
16
  Workspace,
17
17
  command
18
- } from "./index-652f3bs8.js";
19
- import"./index-b372rck5.js";
20
- import"./index-f2arv0mv.js";
21
- import"./index-mnhrqjjq.js";
22
- import"./index-ymgsvhc5.js";
23
- import"./index-2kh4xj3m.js";
18
+ } from "./index-c1sfw20m.js";
19
+ import"./index-smjm20t4.js";
20
+ import"./index-xftdwcdj.js";
21
+ import"./index-zxvw9wme.js";
22
+ import"./index-adbcqv0k.js";
23
+ import"./index-5fwhv8kp.js";
24
24
  import"./index-m9jj544v.js";
25
- import"./index-0csk6jqm.js";
26
- import"./index-d0n78fzc.js";
25
+ import"./index-qc4xk6ng.js";
26
+ import"./index-tc9k9sgg.js";
27
27
  import"./index-rwgqba9p.js";
28
28
  import {
29
29
  ApplicationScript
30
- } from "./index-b0t92k71.js";
30
+ } from "./index-cryyzd80.js";
31
31
  import {
32
32
  writeOption,
33
33
  nativeTargetOption,
@@ -35,9 +35,9 @@ import {
35
35
  allowLocalOption,
36
36
  publicEnvOption
37
37
  } from "./index-mdjc93e1.js";
38
- import"./index-9rymt8d6.js";
38
+ import"./index-yq1rfscr.js";
39
39
  import"./index-9bv479q5.js";
40
- import"./index-whvhsb5f.js";
40
+ import"./index-2qhrmtb0.js";
41
41
 
42
42
  // pkgs/@akanjs/cli/application/application.command.ts
43
43
  import { MigrationCommand } from "akanjs/server/migration/migrationCommand";
@@ -5,29 +5,29 @@ import {
5
5
  parseEnvFile,
6
6
  WorkspaceExecutor,
7
7
  ServerEnvProfile
8
- } from "./index-pc42gxa5.js";
8
+ } from "./index-g4hta169.js";
9
9
  import"./index-zyjztrvc.js";
10
10
  import"./index-j4yvgfhr.js";
11
- import"./index-b372rck5.js";
12
- import"./index-f2arv0mv.js";
13
- import"./index-mnhrqjjq.js";
11
+ import"./index-smjm20t4.js";
12
+ import"./index-xftdwcdj.js";
13
+ import"./index-zxvw9wme.js";
14
14
  import {
15
15
  NARROWABLE_VENDOR_SPECIFIERS
16
- } from "./index-scfsqen7.js";
16
+ } from "./index-6z5cwvq1.js";
17
17
  import {
18
18
  FontPruner,
19
19
  precompressArtifacts,
20
20
  RouteJsBudget
21
- } from "./index-6j351de4.js";
22
- import"./index-0z8sbdme.js";
21
+ } from "./index-8vger8r0.js";
22
+ import"./index-zswfx1y8.js";
23
23
  import {
24
24
  AllRoutesBuilder,
25
25
  SsrBaseArtifactBuilder,
26
26
  VendorImportScanner
27
- } from "./index-jg5rwrf7.js";
27
+ } from "./index-wjecpeyq.js";
28
28
  import {
29
29
  CsrArtifactBuilder2
30
- } from "./index-38x8ynrx.js";
30
+ } from "./index-f52d0acp.js";
31
31
  import"./index-62md4dwy.js";
32
32
 
33
33
  // pkgs/@akanjs/devkit/app/applicationBuildRunner.ts
@@ -202,6 +202,8 @@ class ApplicationBuildRunner {
202
202
  }
203
203
  async build({ spinner = false } = {}) {
204
204
  this.#spinner = spinner;
205
+ if (this.#verify)
206
+ this.#app.useVerifyDist();
205
207
  const { web, assets, baseDevEnv } = await this.#app.getConfig();
206
208
  const environment = this.#environment ?? baseDevEnv.env;
207
209
  WorkspaceExecutor.assertDeployableEnv(baseDevEnv, environment, "akan build");
@@ -334,7 +336,8 @@ class ApplicationBuildRunner {
334
336
  return this.#serverEnv;
335
337
  }
336
338
  #verifyBanner() {
337
- const message = `dist/apps/${this.#app.name} holds the partial output of akan verify, not a build. Run \`akan build ${this.#app.name}\` first.`;
339
+ const { name, dist, workspace } = this.#app;
340
+ const message = `${path3.relative(workspace.workspaceRoot, dist.cwdPath)} holds the partial output of akan verify, not a build. Run \`akan build ${name}\` and start dist/apps/${name}.`;
338
341
  return `console.error(${JSON.stringify(message)});process.exit(1);`;
339
342
  }
340
343
  async#buildBackend() {
@@ -2,37 +2,37 @@
2
2
  import"./index-zyjztrvc.js";
3
3
  import {
4
4
  WorkspaceExecutor
5
- } from "./index-pc42gxa5.js";
5
+ } from "./index-g4hta169.js";
6
6
  import"./index-j4yvgfhr.js";
7
7
  import {
8
8
  FontOptimizer,
9
9
  ApplicationBuildReporter
10
- } from "./index-6j351de4.js";
10
+ } from "./index-8vger8r0.js";
11
11
  import {
12
12
  resolveSsrPageEntriesForApp,
13
13
  AppExecutor2
14
- } from "./index-b372rck5.js";
14
+ } from "./index-smjm20t4.js";
15
15
  import {
16
16
  computeRouteSeedIndex,
17
17
  saveRouteSeedIndex,
18
18
  CsrDevBundler,
19
19
  SsrDevBundler
20
- } from "./index-scfsqen7.js";
21
- import"./index-f2arv0mv.js";
22
- import"./index-mnhrqjjq.js";
20
+ } from "./index-6z5cwvq1.js";
21
+ import"./index-xftdwcdj.js";
22
+ import"./index-zxvw9wme.js";
23
23
  import {
24
24
  ServerGraphFile,
25
25
  PagesBundleBuilder
26
- } from "./index-0z8sbdme.js";
26
+ } from "./index-zswfx1y8.js";
27
27
  import {
28
28
  CssCompiler,
29
29
  SsrBaseArtifactBuilder
30
- } from "./index-jg5rwrf7.js";
30
+ } from "./index-wjecpeyq.js";
31
31
  import {
32
32
  CsrArtifactBuilder2
33
- } from "./index-38x8ynrx.js";
33
+ } from "./index-f52d0acp.js";
34
34
  import"./index-62md4dwy.js";
35
- import"./index-whvhsb5f.js";
35
+ import"./index-2qhrmtb0.js";
36
36
 
37
37
  // pkgs/@akanjs/devkit/incrementalBuilder/buildBatch.proc.ts
38
38
  import path from "path";
@@ -3,34 +3,34 @@ import {
3
3
  App,
4
4
  Workspace,
5
5
  command
6
- } from "./index-652f3bs8.js";
6
+ } from "./index-c1sfw20m.js";
7
7
  import"./index-j4yvgfhr.js";
8
- import"./index-pc42gxa5.js";
8
+ import"./index-g4hta169.js";
9
9
  import"./index-zyjztrvc.js";
10
- import"./index-b372rck5.js";
11
- import"./index-f2arv0mv.js";
12
- import"./index-mnhrqjjq.js";
13
- import"./index-45aprybg.js";
10
+ import"./index-smjm20t4.js";
11
+ import"./index-xftdwcdj.js";
12
+ import"./index-zxvw9wme.js";
13
+ import"./index-akep88g2.js";
14
14
  import {
15
15
  PlatformTestRun
16
- } from "./index-3569fr49.js";
17
- import"./index-ymgsvhc5.js";
18
- import"./index-2kh4xj3m.js";
16
+ } from "./index-nawk3ttc.js";
17
+ import"./index-adbcqv0k.js";
18
+ import"./index-5fwhv8kp.js";
19
19
  import"./index-m9jj544v.js";
20
20
  import {
21
21
  npmRegistryFromEnv,
22
22
  warnIgnoredNpmRegistry
23
23
  } from "./index-jf4vk1s0.js";
24
- import"./index-6j351de4.js";
25
- import"./index-0csk6jqm.js";
26
- import"./index-d0n78fzc.js";
24
+ import"./index-8vger8r0.js";
25
+ import"./index-qc4xk6ng.js";
26
+ import"./index-tc9k9sgg.js";
27
27
  import"./index-rwgqba9p.js";
28
- import"./index-b0t92k71.js";
29
- import"./index-ktxdfqg5.js";
30
- import"./index-ankyx6dj.js";
28
+ import"./index-cryyzd80.js";
29
+ import"./index-gxe8nyxd.js";
30
+ import"./index-f0qe3x4t.js";
31
31
  import {
32
32
  CloudScript2
33
- } from "./index-82cmbpxc.js";
33
+ } from "./index-d9qkd87g.js";
34
34
  import {
35
35
  writeOption,
36
36
  oneNativeTargetOption,
@@ -41,9 +41,9 @@ import {
41
41
  hostOption,
42
42
  subspaceOption
43
43
  } from "./index-mdjc93e1.js";
44
- import"./index-9rymt8d6.js";
44
+ import"./index-yq1rfscr.js";
45
45
  import"./index-9bv479q5.js";
46
- import"./index-whvhsb5f.js";
46
+ import"./index-2qhrmtb0.js";
47
47
 
48
48
  // pkgs/@akanjs/cli/cloud/cloud.command.ts
49
49
  var localRegistryUrl = () => npmRegistryFromEnv() ?? "http://127.0.0.1:4873";
@@ -0,0 +1,30 @@
1
+ // @bun
2
+ import {
3
+ CloudScript2
4
+ } from "./index-d9qkd87g.js";
5
+ import"./index-nawk3ttc.js";
6
+ import"./index-f0qe3x4t.js";
7
+ import"./index-cryyzd80.js";
8
+ import"./index-qc4xk6ng.js";
9
+ import"./index-akep88g2.js";
10
+ import"./index-jf4vk1s0.js";
11
+ import"./index-gxe8nyxd.js";
12
+ import"./index-tc9k9sgg.js";
13
+ import"./index-yq1rfscr.js";
14
+ import"./index-5fwhv8kp.js";
15
+ import"./index-adbcqv0k.js";
16
+ import"./index-m9jj544v.js";
17
+ import"./index-c1sfw20m.js";
18
+ import"./index-9bv479q5.js";
19
+ import"./index-rwgqba9p.js";
20
+ import"./index-8vger8r0.js";
21
+ import"./index-2qhrmtb0.js";
22
+ import"./index-smjm20t4.js";
23
+ import"./index-xftdwcdj.js";
24
+ import"./index-zxvw9wme.js";
25
+ import"./index-g4hta169.js";
26
+ import"./index-j4yvgfhr.js";
27
+ import"./index-zyjztrvc.js";
28
+ export {
29
+ CloudScript2 as CloudScript
30
+ };
@@ -4,13 +4,13 @@ import {
4
4
  runner,
5
5
  script,
6
6
  command
7
- } from "./index-652f3bs8.js";
7
+ } from "./index-c1sfw20m.js";
8
8
  import"./index-j4yvgfhr.js";
9
- import"./index-pc42gxa5.js";
9
+ import"./index-g4hta169.js";
10
10
  import"./index-zyjztrvc.js";
11
- import"./index-b372rck5.js";
12
- import"./index-f2arv0mv.js";
13
- import"./index-mnhrqjjq.js";
11
+ import"./index-smjm20t4.js";
12
+ import"./index-xftdwcdj.js";
13
+ import"./index-zxvw9wme.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-7ssr7wq4.js";
23
- import"./index-whvhsb5f.js";
23
+ import"./index-2qhrmtb0.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-xdw73nbz.js"),
85
+ import("./CodeAgent-9t00vd1t.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-xdw73nbz.js"),
120
- import("./CodeTui-0gewm71c.js")
119
+ import("./CodeAgent-9t00vd1t.js"),
120
+ import("./CodeTui-6pzd57d9.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-xdw73nbz.js");
156
+ const { CodeAgent } = await import("./CodeAgent-9t00vd1t.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,35 +2,35 @@
2
2
  import {
3
3
  Workspace,
4
4
  command
5
- } from "./index-652f3bs8.js";
5
+ } from "./index-c1sfw20m.js";
6
6
  import"./index-j4yvgfhr.js";
7
- import"./index-pc42gxa5.js";
7
+ import"./index-g4hta169.js";
8
8
  import"./index-zyjztrvc.js";
9
- import"./index-b372rck5.js";
10
- import"./index-f2arv0mv.js";
11
- import"./index-mnhrqjjq.js";
12
- import"./index-1c2807kg.js";
9
+ import"./index-smjm20t4.js";
10
+ import"./index-xftdwcdj.js";
11
+ import"./index-zxvw9wme.js";
12
+ import"./index-94a2xrv1.js";
13
13
  import"./index-trffs83s.js";
14
- import"./index-jdw9m5c4.js";
14
+ import"./index-qk2evkwr.js";
15
15
  import"./index-1p81ecbz.js";
16
- import"./index-qh81drde.js";
16
+ import"./index-mj9mzss7.js";
17
17
  import"./index-j3fqs8rc.js";
18
- import"./index-ymgsvhc5.js";
19
- import"./index-2kh4xj3m.js";
18
+ import"./index-adbcqv0k.js";
19
+ import"./index-5fwhv8kp.js";
20
20
  import"./index-m9jj544v.js";
21
21
  import"./index-zyb0ebm4.js";
22
22
  import"./index-xs9a3ddt.js";
23
- import"./index-2vn0m9z5.js";
24
- import"./index-y2g0s9tn.js";
25
- import"./index-dr1carpr.js";
26
- import"./index-q8h4eg5y.js";
27
- import"./index-1p9bxjmt.js";
23
+ import"./index-h2g1qt9p.js";
24
+ import"./index-7jknrhws.js";
25
+ import"./index-3jzx6k0e.js";
26
+ import"./index-y9tadrbb.js";
27
+ import"./index-xrmcq5hx.js";
28
28
  import"./index-t4d0ckde.js";
29
- import"./index-gtydr9qc.js";
29
+ import"./index-q7ct22a1.js";
30
30
  import {
31
31
  ContextScript
32
- } from "./index-twjgmryg.js";
33
- import"./index-whvhsb5f.js";
32
+ } from "./index-f5s9w5bq.js";
33
+ import"./index-2qhrmtb0.js";
34
34
 
35
35
  // pkgs/@akanjs/cli/context/context.command.ts
36
36
  class ContextCommand extends command("context", [ContextScript], ({ public: target }) => ({
@@ -0,0 +1,32 @@
1
+ // @bun
2
+ import {
3
+ ContextRunner2
4
+ } from "./index-mj9mzss7.js";
5
+ import"./index-q7ct22a1.js";
6
+ import"./index-xrmcq5hx.js";
7
+ import"./index-y9tadrbb.js";
8
+ import"./index-h2g1qt9p.js";
9
+ import"./index-3jzx6k0e.js";
10
+ import"./index-7jknrhws.js";
11
+ import"./index-t4d0ckde.js";
12
+ import"./index-qk2evkwr.js";
13
+ import"./index-94a2xrv1.js";
14
+ import"./index-j3fqs8rc.js";
15
+ import"./index-5fwhv8kp.js";
16
+ import"./index-adbcqv0k.js";
17
+ import"./index-m9jj544v.js";
18
+ import"./index-c1sfw20m.js";
19
+ import"./index-xs9a3ddt.js";
20
+ import"./index-zyb0ebm4.js";
21
+ import"./index-trffs83s.js";
22
+ import"./index-2qhrmtb0.js";
23
+ import"./index-smjm20t4.js";
24
+ import"./index-xftdwcdj.js";
25
+ import"./index-zxvw9wme.js";
26
+ import"./index-g4hta169.js";
27
+ import"./index-j4yvgfhr.js";
28
+ import"./index-1p81ecbz.js";
29
+ import"./index-zyjztrvc.js";
30
+ export {
31
+ ContextRunner2 as ContextRunner
32
+ };
@@ -1,9 +1,8 @@
1
1
  // @bun
2
2
  import {
3
3
  CsrArtifactBuilder2
4
- } from "./index-38x8ynrx.js";
5
- import"./index-0z8sbdme.js";
6
- import"./index-b372rck5.js";
4
+ } from "./index-f52d0acp.js";
5
+ import"./index-zswfx1y8.js";
7
6
  import"./index-zyjztrvc.js";
8
7
  export {
9
8
  CsrArtifactBuilder2 as CsrArtifactBuilder
@@ -2,17 +2,17 @@
2
2
  import {
3
3
  script,
4
4
  command
5
- } from "./index-652f3bs8.js";
5
+ } from "./index-c1sfw20m.js";
6
6
  import"./index-j4yvgfhr.js";
7
- import"./index-pc42gxa5.js";
7
+ import"./index-g4hta169.js";
8
8
  import"./index-zyjztrvc.js";
9
- import"./index-b372rck5.js";
10
- import"./index-f2arv0mv.js";
11
- import"./index-mnhrqjjq.js";
9
+ import"./index-smjm20t4.js";
10
+ import"./index-xftdwcdj.js";
11
+ import"./index-zxvw9wme.js";
12
12
  import {
13
13
  Prompter2
14
14
  } from "./index-j3fqs8rc.js";
15
- import"./index-whvhsb5f.js";
15
+ import"./index-2qhrmtb0.js";
16
16
 
17
17
  // pkgs/@akanjs/cli/guideline/guideline.script.ts
18
18
  import { Logger } from "akanjs/common";
@@ -3,7 +3,7 @@
3
3
  Generated from the akanjs sources of this release: the import paths and signatures a first app needs, so none of
4
4
  them has to be looked up in `node_modules`. A stage's return type is the same chain, left out below.
5
5
 
6
- ## Imports
6
+ ## Imports (`akanjs/*`, `@apps/<app>/client`, `../cnst`, `../dict`, `../srv`, layer barrels)
7
7
 
8
8
  ```ts
9
9
  import { Any, Binary, dayjs, Float, ID, Int, Upload } from "akanjs/base";
@@ -75,10 +75,15 @@ external?: boolean;
75
75
 
76
76
  ```ts
77
77
  Link({ className, href, disabled, children, ...props }: CommonLinkProps): Element
78
+ Link.Back({ className, children, fallback }: BackProps): Element
79
+ Link.Close({ className, children }: ActionProps): Element
80
+ Link.Lang({ className, lang, children }: LangProps): Element
78
81
  ```
79
82
 
80
83
  ### `CommonLinkProps`
81
84
 
85
+ Every prop of `Omit<AnchorHTMLAttributes<HTMLAnchorElement>, "href">`, and:
86
+
82
87
  ```ts
83
88
  /** Omitted, or with `disabled`, Link renders a plain div around the same children. */
84
89
  href?: string;
@@ -244,7 +249,7 @@ errors?: EndpointErrors;
244
249
  /** A slow subscriber of a `pubsub(Binary)`: `"coalesce"` (default) keeps only the newest frame per room, `"queue"` delivers every frame and grows the send buffer with the slowest subscriber. */
245
250
  backpressure?: "coalesce" | "queue";
246
251
  enabled?: boolean;
247
- operationMode?: ("local" | "edge" | "cloud" | (string & {}))[];
252
+ operationMode?: ((string & {}) | "local" | "edge" | "cloud")[];
248
253
  ```
249
254
 
250
255
  ## Dictionaries (`*.dictionary.ts`)
@@ -90,17 +90,12 @@ contract. Path rules name their checks the same way.
90
90
 
91
91
  ## Code Style
92
92
 
93
- - `const` arrow functions over `function`; `interface` for shapes, `type` for unions; no non-null assertions
94
- (`as unknown as T`, never `as any`); `#private`, but `private` in `*.{constant,document,service,store}.ts`.
95
- - One class per file, named after it; TypeScript files are camelCase, component and convention files excepted.
96
- - Identifiers, endpoint names and logs are English; everything a user reads goes through `l("model.field")` or
97
- `l.trans({ en, ko })`, and dictionary entries are `[en, ko]` pairs.
98
- - Comment only what the code cannot say (`akan verify` flags each new one as `akan.comment.added`, a
99
- `// TODO: <issue url>` aside) — a vendor quirk, an infrastructure constraint, security reasoning, a domain field's
100
- meaning, a state transition, a rejected alternative. Never restate code, label a section or add JSDoc; retire a
101
- symbol with `/** @deprecated <what instead> */`.
102
- - Server rendering is the default: `"use client"` only for a hook, an event handler, the store, a browser global or
103
- a client-only package.
93
+ - `const` arrows, `interface` for shapes, no non-null assertions or `as any`, `#private` (but `private` in
94
+ `*.{constant,document,service,store}.ts`), one class per file [ts].
95
+ - Identifiers and logs are English; what a user reads goes through `l("model.field")` or `l.trans({ en, ko })` [ts].
96
+ - Comment only what the code cannot say — a vendor quirk, an infrastructure constraint, security reasoning, a domain
97
+ field's meaning, a state transition, a rejected alternative (`akan.comment.added`) [ts].
98
+ - `"use client"` only for a hook, an event handler, the store, a browser global or a client-only package [ssr].
104
99
 
105
100
  ## Where Code Goes
106
101
 
@@ -82,5 +82,4 @@ each plugin's header and diagnostic carry its full reasoning.
82
82
  Warts in older files — never copy them; when two shapes disagree, follow the newer neighbour: `children: any`
83
83
  (use `ReactNode`); hard-coded API keys or secrets (they belong in `option.ts` or env); large commented-out blocks;
84
84
  stale `// TODO: Implement …` above implemented methods; `{cond && <X/>}`, hard-coded Korean bypassing `l()`,
85
- `window.alert(...)`; bare `/* eslint-disable */` blocks; raw palette grays like `text-gray-400`. A store reaching
86
- another through `(this as unknown as RootStore)` is **not** a wart — it is the sanctioned way.
85
+ `window.alert(...)`; bare `/* eslint-disable */` blocks; raw palette grays like `text-gray-400`.