@akanjs/cli 3.1.0-rc.25 → 3.1.0-rc.27

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 (74) hide show
  1. package/.build-stamp +1 -1
  2. package/{CodeAgent-qrhqfc5s.js → CodeAgent-c53dm40p.js} +2 -2
  3. package/{CodeTui-k2c7wzhf.js → CodeTui-xz9jtrn3.js} +1 -1
  4. package/TunnelShare-59zd4j8n.js +14 -0
  5. package/{agent.command-8sma9jnd.js → agent.command-qawf7z4s.js} +5 -5
  6. package/akanCode.js +2 -2
  7. package/{application.command-v7xbe18e.js → application.command-jqrgqk6j.js} +9 -9
  8. package/{applicationBuildRunner-qaxt8try.js → applicationBuildRunner-grgrey5c.js} +7 -6
  9. package/buildBatch.proc.js +5 -5
  10. package/{cloud.command-gxspyqpr.js → cloud.command-p9067ssj.js} +13 -13
  11. package/cloud.script-f0r4ce7j.js +24 -0
  12. package/{code.command-ds7sr16b.js → code.command-t6j55sbk.js} +6 -6
  13. package/{context.command-ytr0n79h.js → context.command-eqbzbgth.js} +16 -16
  14. package/context.runner-1cs88ags.js +25 -0
  15. package/{guideline.command-6tnmtn4w.js → guideline.command-w905q73w.js} +2 -2
  16. package/guidelines/conventions/conventions.instruction.md +15 -11
  17. package/guidelines/modelDocument/modelDocument.instruction.md +2 -1
  18. package/guidelines/queryRule/queryRule.instruction.md +9 -7
  19. package/guidelines/runtimeRule/runtimeRule.instruction.md +4 -3
  20. package/guidelines/ssrRule/ssrRule.instruction.md +9 -9
  21. package/guidelines/transportRule/transportRule.instruction.md +5 -5
  22. package/guidelines/workspaceOnboarding/workspaceOnboarding.instruction.md +5 -3
  23. package/guidelines/workspaceRecipes/workspaceRecipes.instruction.md +6 -4
  24. package/incrementalBuilder.proc.js +3 -3
  25. package/{index-cj3md29d.js → index-0dd6z4b9.js} +3 -3
  26. package/{index-mt611jnw.js → index-1de5f0qq.js} +7 -7
  27. package/{index-zjfz6rvx.js → index-1enc9rga.js} +2 -2
  28. package/{index-c090a8wn.js → index-25ks6x4k.js} +2 -2
  29. package/{index-32hkenqb.js → index-3aynkpf8.js} +1 -1
  30. package/{index-6a64svwc.js → index-3hvmytbs.js} +1 -1
  31. package/{index-3xm8hm4f.js → index-45c0mxb6.js} +2 -2
  32. package/{index-mzenhe26.js → index-48n4yhm4.js} +3 -3
  33. package/{index-5q6tyqv5.js → index-64pjry21.js} +1 -1
  34. package/{index-0jxja6c2.js → index-aqwdjn4x.js} +2 -2
  35. package/{index-q3kddxxd.js → index-avjqbtkj.js} +3 -3
  36. package/{index-s2g91tgy.js → index-bs9yr4we.js} +1 -1
  37. package/{index-bm5ed553.js → index-cgexcnwd.js} +8 -8
  38. package/{index-vt87d6kx.js → index-dkfadmrx.js} +7 -7
  39. package/{index-gzjpj0sw.js → index-eabfsarf.js} +1 -1
  40. package/{index-hgeq1wpr.js → index-er62k6w3.js} +35 -9
  41. package/{index-d5kf5rct.js → index-f2gfq0yh.js} +2 -2
  42. package/{index-k8zer3t3.js → index-fbw3kmt5.js} +2 -2
  43. package/{index-tq0mjh8w.js → index-fnqj2d2w.js} +4 -4
  44. package/{index-arwtza6k.js → index-hqh4mpgt.js} +4 -4
  45. package/{index-khefnpqw.js → index-j4dzazmw.js} +4 -4
  46. package/{index-hzsmeevh.js → index-n8dsax1f.js} +10 -5
  47. package/{index-k1s1ps6r.js → index-nr8m4j21.js} +3 -3
  48. package/{index-60gryg73.js → index-qh73jnyb.js} +1 -1
  49. package/{index-37gfh3nw.js → index-vtj332gj.js} +36 -13
  50. package/{index-pkg6bhgc.js → index-wt7m1hfc.js} +3 -3
  51. package/{index-9f2bkqpf.js → index-yfy3t4kw.js} +2 -2
  52. package/{index-6tkzmfze.js → index-yyxy7aff.js} +1 -1
  53. package/{index-1g5atn4s.js → index-z5cxrbvv.js} +13 -10
  54. package/index.js +40 -22
  55. package/{library.command-d29mkrn1.js → library.command-z1v7zepj.js} +3 -3
  56. package/{localRegistry.command-e1d1sm2q.js → localRegistry.command-48n23bjy.js} +12 -12
  57. package/{module.command-7kgfp688.js → module.command-rv307dk7.js} +5 -5
  58. package/{package.command-9r2215cr.js → package.command-7xkzc8m1.js} +3 -3
  59. package/package.json +2 -2
  60. package/{page.command-2jhwcye7.js → page.command-34hpdt7v.js} +3 -3
  61. package/{pipeline.command-gcbxwwng.js → pipeline.command-ckvhrpyg.js} +2 -2
  62. package/{primitive.command-dzjh98t1.js → primitive.command-em0twr5a.js} +6 -6
  63. package/{projectTypecheck-wkbzjpry.js → projectTypecheck-fy6hn05y.js} +1 -1
  64. package/{quality.command-3yg6gt8j.js → quality.command-c6p2819k.js} +2 -2
  65. package/{repair.command-d1gm1hqc.js → repair.command-j6czdgrv.js} +5 -5
  66. package/{scalar.command-ntd52q4x.js → scalar.command-17e20sj2.js} +4 -4
  67. package/skills/akan-store/SKILL.md +2 -1
  68. package/{subspace.command-w7540907.js → subspace.command-n3j7vv0w.js} +8 -17
  69. package/{tunnel.command-61gd7btn.js → tunnel.command-cm578f4s.js} +7 -7
  70. package/{workflow.command-fykqj11r.js → workflow.command-h9vkr6jb.js} +10 -10
  71. package/{workspace.command-fabmw1hc.js → workspace.command-tp8ysvjs.js} +29 -27
  72. package/TunnelShare-necyr77h.js +0 -14
  73. package/cloud.script-0trnvgbv.js +0 -24
  74. package/context.runner-cjkadr7r.js +0 -25
@@ -5,7 +5,7 @@ import {
5
5
  runner,
6
6
  script,
7
7
  command
8
- } from "./index-k8zer3t3.js";
8
+ } from "./index-fbw3kmt5.js";
9
9
  import {
10
10
  FileSys2
11
11
  } from "./index-52w0fvh8.js";
@@ -19,7 +19,7 @@ import {
19
19
  AppExecutor,
20
20
  LibExecutor,
21
21
  PkgExecutor
22
- } from "./index-hzsmeevh.js";
22
+ } from "./index-n8dsax1f.js";
23
23
  import {
24
24
  countBlocking,
25
25
  formatStyleContract,
@@ -29,48 +29,48 @@ import {
29
29
  collectRecipeSources2,
30
30
  scanRecipes2
31
31
  } from "./index-hj6w4ka1.js";
32
- import"./index-6tkzmfze.js";
33
- import"./index-0jxja6c2.js";
32
+ import"./index-yyxy7aff.js";
33
+ import"./index-aqwdjn4x.js";
34
34
  import"./index-zzvvc845.js";
35
35
  import {
36
36
  AgentScript
37
- } from "./index-pkg6bhgc.js";
37
+ } from "./index-wt7m1hfc.js";
38
38
  import"./index-5nd1wtkv.js";
39
- import"./index-6a64svwc.js";
39
+ import"./index-3hvmytbs.js";
40
40
  import"./index-m9jj544v.js";
41
- import"./index-k1s1ps6r.js";
42
- import"./index-c090a8wn.js";
43
- import"./index-5q6tyqv5.js";
41
+ import"./index-nr8m4j21.js";
42
+ import"./index-25ks6x4k.js";
43
+ import"./index-64pjry21.js";
44
44
  import {
45
45
  LibraryScript
46
- } from "./index-hgeq1wpr.js";
46
+ } from "./index-er62k6w3.js";
47
47
  import {
48
48
  ApplicationScript
49
- } from "./index-1g5atn4s.js";
49
+ } from "./index-z5cxrbvv.js";
50
50
  import"./index-7md2g9vw.js";
51
- import"./index-9f2bkqpf.js";
51
+ import"./index-yfy3t4kw.js";
52
52
  import"./index-tvehn2sp.js";
53
53
  import {
54
54
  PackageScript
55
- } from "./index-zjfz6rvx.js";
55
+ } from "./index-1enc9rga.js";
56
56
  import {
57
57
  getNpmRegistryUrl,
58
58
  getLatestPackageVersion
59
- } from "./index-mzenhe26.js";
59
+ } from "./index-48n4yhm4.js";
60
60
  import {
61
61
  CloudScript2
62
- } from "./index-mt611jnw.js";
63
- import"./index-bm5ed553.js";
64
- import"./index-cj3md29d.js";
65
- import"./index-60gryg73.js";
66
- import"./index-khefnpqw.js";
67
- import"./index-arwtza6k.js";
68
- import"./index-d5kf5rct.js";
69
- import"./index-vt87d6kx.js";
62
+ } from "./index-1de5f0qq.js";
63
+ import"./index-cgexcnwd.js";
64
+ import"./index-0dd6z4b9.js";
65
+ import"./index-qh73jnyb.js";
66
+ import"./index-j4dzazmw.js";
67
+ import"./index-hqh4mpgt.js";
68
+ import"./index-f2gfq0yh.js";
69
+ import"./index-dkfadmrx.js";
70
70
  import {
71
71
  ContextScript
72
- } from "./index-tq0mjh8w.js";
73
- import"./index-gzjpj0sw.js";
72
+ } from "./index-fnqj2d2w.js";
73
+ import"./index-eabfsarf.js";
74
74
 
75
75
  // pkgs/@akanjs/cli/workspace/workspace.runner.ts
76
76
  import { mkdir, writeFile } from "fs/promises";
@@ -96,6 +96,7 @@ var defaultWorkspacePeerDependencies = new Set([
96
96
  "tailwindcss",
97
97
  "typescript"
98
98
  ]);
99
+ var defaultWorkspaceTypeDependencies = { "@types/react": "^19.3.0", "@types/react-dom": "^19.3.0" };
99
100
  var defaultMaxDiagnostics = 200;
100
101
 
101
102
  class WorkspaceRunner extends runner("workspace") {
@@ -163,6 +164,7 @@ class WorkspaceRunner extends runner("workspace") {
163
164
  ...rootPackageJson.devDependencies,
164
165
  "@biomejs/biome": biomeVersion,
165
166
  "@types/bun": latestTypesBunVersion,
167
+ ...defaultWorkspaceTypeDependencies,
166
168
  "@akanjs/devkit": akanVersion,
167
169
  ...typescript ? { typescript } : {}
168
170
  }
@@ -256,7 +258,7 @@ class WorkspaceRunner extends runner("workspace") {
256
258
  const actual = existing ? extractAgentBlock(existing) : null;
257
259
  if (actual === expected.trim())
258
260
  return;
259
- throw new Error(`[agentsIndex] ${scope.type}s/${scope.name}/AGENTS.md \uC758 recipe \uC0C9\uC778\uC774 \uC18C\uC2A4\uC640 \uB2E4\uB985\uB2C8\uB2E4(stale). ` + `\`akan sync ${scope.name}\` \uC744 \uC2E4\uD589\uD574 \uC7AC\uC0DD\uC131\uD558\uC138\uC694.`);
261
+ throw new Error(`[agentsIndex] The recipe index in ${scope.type}s/${scope.name}/AGENTS.md is stale: it differs from the recipe ` + `sources. Run \`akan sync ${scope.name}\` to regenerate it.`);
260
262
  }
261
263
  async#enforceRecipeGate(exec) {
262
264
  const cwdPath = exec.cwdPath;
@@ -272,8 +274,8 @@ class WorkspaceRunner extends runner("workspace") {
272
274
  const offenders = scanRecipes2(sources).filter((recipe) => !Object.values(recipe.variants).some((values) => values.length >= 2 || values.length === 1 && values[0] === "true"));
273
275
  if (offenders.length === 0)
274
276
  return;
275
- throw new Error(`[recipeGate] variant-less recipe(s): ${offenders.map((recipe) => recipe.name).join(", ")}
276
- ` + "\uACE0\uB97C \uC635\uC158 \uC5C6\uB294 look \uC740 recipe \uB85C \uB450\uC9C0 \uB9C8\uC138\uC694 \u2014 \uC790\uAE30 \uB9C8\uD06C\uC5C5\uC774 \uC788\uC73C\uBA74 \uCEF4\uD3EC\uB10C\uD2B8\uB85C \uC2B9\uACA9\uD558\uACE0, " + "\uB2E4\uB978 \uCEF4\uD3EC\uB10C\uD2B8\uC758 className \uC5D0 \uC8FC\uC785\uD558\uB294 \uC2A4\uD0A8\uC774\uBA74 \uACF5\uC720 \uD074\uB798\uC2A4 \uC0C1\uC218\uB85C \uB450\uC138\uC694.");
277
+ throw new Error(`[recipeGate] variant-less recipe(s): ${[...new Set(offenders.map((recipe) => recipe.name))].join(", ")}
278
+ ` + "A look with nothing to pick is not a recipe: promote one that has its own markup to a component, and keep " + "a skin passed into another component's className as a shared class constant.");
277
279
  }
278
280
  async#enforceStyleContract(exec) {
279
281
  const cwdPath = exec.cwdPath;
@@ -1,14 +0,0 @@
1
- // @bun
2
- import {
3
- TunnelShare2
4
- } from "./index-32hkenqb.js";
5
- import"./index-9f2bkqpf.js";
6
- import"./index-k1s1ps6r.js";
7
- import"./index-m9jj544v.js";
8
- import"./index-c090a8wn.js";
9
- import"./index-5q6tyqv5.js";
10
- import"./index-hzsmeevh.js";
11
- import"./index-52w0fvh8.js";
12
- export {
13
- TunnelShare2 as TunnelShare
14
- };
@@ -1,24 +0,0 @@
1
- // @bun
2
- import {
3
- CloudScript2
4
- } from "./index-mt611jnw.js";
5
- import"./index-mzenhe26.js";
6
- import"./index-1g5atn4s.js";
7
- import"./index-gzjpj0sw.js";
8
- import"./index-hgeq1wpr.js";
9
- import"./index-zjfz6rvx.js";
10
- import"./index-6a64svwc.js";
11
- import"./index-9f2bkqpf.js";
12
- import"./index-k1s1ps6r.js";
13
- import"./index-m9jj544v.js";
14
- import"./index-k8zer3t3.js";
15
- import"./index-7md2g9vw.js";
16
- import"./index-c090a8wn.js";
17
- import"./index-5nd1wtkv.js";
18
- import"./index-5q6tyqv5.js";
19
- import"./index-hzsmeevh.js";
20
- import"./index-tvehn2sp.js";
21
- import"./index-52w0fvh8.js";
22
- export {
23
- CloudScript2 as CloudScript
24
- };
@@ -1,25 +0,0 @@
1
- // @bun
2
- import {
3
- ContextRunner2
4
- } from "./index-bm5ed553.js";
5
- import"./index-vt87d6kx.js";
6
- import"./index-d5kf5rct.js";
7
- import"./index-arwtza6k.js";
8
- import"./index-cj3md29d.js";
9
- import"./index-khefnpqw.js";
10
- import"./index-60gryg73.js";
11
- import"./index-6a64svwc.js";
12
- import"./index-k1s1ps6r.js";
13
- import"./index-m9jj544v.js";
14
- import"./index-0jxja6c2.js";
15
- import"./index-6tkzmfze.js";
16
- import"./index-zzvvc845.js";
17
- import"./index-k8zer3t3.js";
18
- import"./index-c090a8wn.js";
19
- import"./index-5q6tyqv5.js";
20
- import"./index-hzsmeevh.js";
21
- import"./index-hj6w4ka1.js";
22
- import"./index-52w0fvh8.js";
23
- export {
24
- ContextRunner2 as ContextRunner
25
- };