@akanjs/cli 3.0.0-alpha.6 → 3.0.0-alpha.60

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 (111) hide show
  1. package/.build-stamp +1 -1
  2. package/README.ko.md +1 -1
  3. package/README.md +1 -1
  4. package/{abstractCompactor-e5yq60qz.js → abstractCompactor-20e0cwbs.js} +2 -2
  5. package/{agent.command-b0fcx3r2.js → agent.command-tsx1nsdj.js} +9 -7
  6. package/{application.command-cezdnvtq.js → application.command-n8ex8g9h.js} +8 -6
  7. package/{applicationBuildRunner-ha3y8ew8.js → applicationBuildRunner-x8h12rp0.js} +7 -7
  8. package/{applicationReleasePackager-gg8ccbeh.js → applicationReleasePackager-93nzdfsy.js} +1 -1
  9. package/buildBatch.proc.js +7 -5
  10. package/{capacitorApp-jaksw4cy.js → capacitorApp-8mv9e537.js} +29 -27
  11. package/{cloud.command-6xvsd487.js → cloud.command-f0rhw014.js} +12 -10
  12. package/{context.command-ajn1b683.js → context.command-s7a41qjs.js} +17 -15
  13. package/{dependencyScanner-f6grrep3.js → dependencyScanner-rbs2407b.js} +1 -1
  14. package/getDirname-ka11hm7e.js +8 -0
  15. package/{guideline.command-9ew6aqhm.js → guideline.command-qrw84ttb.js} +8 -6
  16. package/guidelines/agentRule/agentRule.generate.json +31 -0
  17. package/guidelines/agentRule/agentRule.instruction.md +525 -0
  18. package/guidelines/conventions/conventions.generate.json +25 -0
  19. package/guidelines/conventions/conventions.instruction.md +811 -0
  20. package/guidelines/cssRule/cssRule.instruction.md +7 -0
  21. package/guidelines/framework/framework.instruction.md +1 -0
  22. package/guidelines/mcpRule/mcpRule.generate.json +25 -0
  23. package/guidelines/mcpRule/mcpRule.instruction.md +176 -0
  24. package/guidelines/workspaceOnboarding/workspaceOnboarding.generate.json +24 -0
  25. package/guidelines/workspaceOnboarding/workspaceOnboarding.instruction.md +638 -0
  26. package/incrementalBuilder.proc.js +8 -6
  27. package/{index-zr2wvx69.js → index-0g9ajdz8.js} +6 -6
  28. package/index-1577bej2.js +7 -0
  29. package/{index-wrrb8rxk.js → index-4mtyaqj2.js} +4 -4
  30. package/{index-bjpxzr6s.js → index-5vy2jzar.js} +1 -1
  31. package/{index-47qxw1tz.js → index-681sx6nt.js} +176 -66
  32. package/{index-zbx0jheb.js → index-8md8zszv.js} +14 -13
  33. package/{index-pfrt7qwh.js → index-cc1mgv1f.js} +4 -4
  34. package/{index-hk9rbcsz.js → index-ce9755av.js} +1 -1
  35. package/{index-jkynkyfk.js → index-ckpwq052.js} +5 -3
  36. package/{index-c94nq3c1.js → index-dvg362vq.js} +3 -3
  37. package/{index-vkqxw0ek.js → index-ek4mkwxp.js} +13 -13
  38. package/{index-exhpp31y.js → index-f0t3wjyr.js} +15 -7
  39. package/index-f39512t6.js +255 -0
  40. package/{index-m4kpmmtj.js → index-g44fykfw.js} +1 -1
  41. package/{index-nfxq39kj.js → index-h0mnt0b0.js} +37 -6
  42. package/{index-qp089jp0.js → index-j37qq1f2.js} +1 -1
  43. package/{index-hrwzz2wf.js → index-kkya2ped.js} +1 -1
  44. package/{index-j9cxndc0.js → index-qnv0aqmm.js} +9 -6
  45. package/{index-r7nqv8qj.js → index-r8z20vnj.js} +14 -14
  46. package/{index-6npsfpxr.js → index-ryns915y.js} +3 -3
  47. package/{index-0cj2zxbm.js → index-sh01r3pm.js} +1 -1
  48. package/{index-60a3jfcz.js → index-tn46rr6w.js} +8 -8
  49. package/{index-jn9vfpwz.js → index-wc19q8mb.js} +54 -15
  50. package/{index-meh7mmz9.js → index-x1dbhd80.js} +8 -4
  51. package/{index-qb61h0k7.js → index-xj5b8c0w.js} +193 -565
  52. package/index.js +21 -19
  53. package/{library.command-aa1g8nsa.js → library.command-p3jgf5h2.js} +6 -4
  54. package/{localRegistry.command-jha3sn50.js → localRegistry.command-bms0qn6t.js} +11 -9
  55. package/{module.command-b1zzgqde.js → module.command-hb3xm07r.js} +10 -8
  56. package/{package.command-9qv6vr9s.js → package.command-fbpa6r4w.js} +6 -4
  57. package/package.json +3 -4
  58. package/{page.command-k16pw244.js → page.command-92vrmw96.js} +6 -4
  59. package/{primitive.command-s60dn1ae.js → primitive.command-k6b9jfxr.js} +11 -9
  60. package/{quality.command-p3vaze52.js → quality.command-89vwmjvf.js} +194 -112
  61. package/{recipeScanner-tghkzrrt.js → recipeScanner-zrzev25x.js} +3 -3
  62. package/{repair.command-mfv749ha.js → repair.command-nh9jn8rh.js} +8 -6
  63. package/{routeSourceValidator-cncd92fv.js → routeSourceValidator-7fycdqyv.js} +3 -39
  64. package/{scalar.command-hs3nwzv1.js → scalar.command-zcsjgvax.js} +9 -7
  65. package/templates/app/env/env.server.debug.ts.template +1 -5
  66. package/templates/app/env/env.server.develop.ts.template +1 -5
  67. package/templates/app/env/env.server.local.ts.template +1 -5
  68. package/templates/app/env/env.server.main.ts.template +1 -5
  69. package/templates/app/page/styles.css.template +3 -3
  70. package/templates/appSample/srvkit/AuthGuard.ts +9 -5
  71. package/templates/appSample/srvkit/SessionInternalArg.ts +4 -3
  72. package/templates/crudPages/[__model__Id]/edit/page.tsx +1 -1
  73. package/templates/crudPages/new/page.tsx +1 -1
  74. package/templates/crudSinglePage/page.tsx +1 -1
  75. package/templates/env/_env.server.type.ts +7 -5
  76. package/templates/lib/db.ts +1 -1
  77. package/templates/lib/dict.ts +1 -1
  78. package/templates/lib/sig.ts +1 -1
  79. package/templates/lib/srv.ts +6 -2
  80. package/templates/module/__Model__.Util.tsx +1 -1
  81. package/templates/module/__Model__.Zone.tsx +3 -5
  82. package/templates/workspaceRoot/AGENTS.md.template +0 -971
  83. package/templates/workspaceRoot/CLAUDE.md.template +19 -0
  84. package/templates/workspaceRoot/biome.json.template +4 -239
  85. package/templates/workspaceRoot/docs/AI-DEVELOPMENT.md.template +10 -14
  86. package/templates/workspaceRoot/docs/GENERATED.md.template +12 -10
  87. package/{typeChecker-kravn7ns.js → typeChecker-g6bh0xfv.js} +1 -1
  88. package/typecheck.proc.js +1 -1
  89. package/{workflow.command-z0e0fk0z.js → workflow.command-jj0cphfm.js} +16 -14
  90. package/{workspace.command-3ydyy991.js → workspace.command-ma3g994j.js} +71 -52
  91. package/templates/workspaceRoot/.cursor/rules/akan-page-routing.mdc.template +0 -43
  92. package/templates/workspaceRoot/.cursor/rules/akan-sync-conventions.mdc.template +0 -34
  93. package/templates/workspaceRoot/.cursor/rules/application-test-commands.mdc.template +0 -16
  94. package/templates/workspaceRoot/.cursor/rules/change-scope.mdc.template +0 -12
  95. package/templates/workspaceRoot/.cursor/rules/client-server-boundaries.mdc.template +0 -18
  96. package/templates/workspaceRoot/.cursor/rules/coding-comments.mdc.template +0 -25
  97. package/templates/workspaceRoot/.cursor/rules/coding-style.mdc.template +0 -44
  98. package/templates/workspaceRoot/.cursor/rules/domain-module-conventions.mdc.template +0 -17
  99. package/templates/workspaceRoot/.cursor/rules/format-lint.mdc.template +0 -12
  100. package/templates/workspaceRoot/.cursor/rules/lint-enforced-rules.mdc.template +0 -18
  101. package/templates/workspaceRoot/.cursor/rules/module-file-playbook.mdc.template +0 -61
  102. package/templates/workspaceRoot/.cursor/rules/naming-conventions.mdc.template +0 -15
  103. package/templates/workspaceRoot/.cursor/rules/react-component-style.mdc.template +0 -21
  104. package/templates/workspaceRoot/.cursor/rules/repo-overview.mdc.template +0 -17
  105. package/templates/workspaceRoot/.cursor/rules/scalar-modeling.mdc.template +0 -58
  106. package/templates/workspaceRoot/.cursor/rules/secrets-and-env.mdc.template +0 -13
  107. package/templates/workspaceRoot/.cursor/rules/service-signal-conventions.mdc.template +0 -83
  108. package/templates/workspaceRoot/.cursor/rules/srvkit-adapters-and-guards.mdc.template +0 -50
  109. package/templates/workspaceRoot/.cursor/rules/ssr-first.mdc.template +0 -59
  110. package/templates/workspaceRoot/.cursor/rules/typescript-imports.mdc.template +0 -16
  111. /package/{index-r24hmh0q.js → index-yb2wsc7f.js} +0 -0
package/index.js CHANGED
@@ -4,35 +4,37 @@ import {
4
4
  getTargetCommandNames,
5
5
  getTargetMetas,
6
6
  runCommands
7
- } from "./index-jkynkyfk.js";
8
- import"./index-47qxw1tz.js";
7
+ } from "./index-ckpwq052.js";
8
+ import"./index-681sx6nt.js";
9
+ import"./index-f39512t6.js";
9
10
  import"./index-mxvakhsm.js";
11
+ import"./index-1577bej2.js";
10
12
  import"./index-67546d0j.js";
11
13
  import {
12
14
  __require
13
- } from "./index-r24hmh0q.js";
15
+ } from "./index-yb2wsc7f.js";
14
16
 
15
17
  // pkgs/@akanjs/cli/commandManifest.ts
16
18
  import path from "path";
17
19
 
18
20
  // pkgs/@akanjs/cli/commandModules.ts
19
21
  var commandModules = {
20
- workspace: async () => (await import("./workspace.command-3ydyy991.js")).WorkspaceCommand,
21
- agent: async () => (await import("./agent.command-b0fcx3r2.js")).AgentCommand,
22
- application: async () => (await import("./application.command-cezdnvtq.js")).ApplicationCommand,
23
- library: async () => (await import("./library.command-aa1g8nsa.js")).LibraryCommand,
24
- localRegistry: async () => (await import("./localRegistry.command-jha3sn50.js")).LocalRegistryCommand,
25
- package: async () => (await import("./package.command-9qv6vr9s.js")).PackageCommand,
26
- module: async () => (await import("./module.command-b1zzgqde.js")).ModuleCommand,
27
- page: async () => (await import("./page.command-k16pw244.js")).PageCommand,
28
- context: async () => (await import("./context.command-ajn1b683.js")).ContextCommand,
29
- cloud: async () => (await import("./cloud.command-6xvsd487.js")).CloudCommand,
30
- guideline: async () => (await import("./guideline.command-9ew6aqhm.js")).GuidelineCommand,
31
- scalar: async () => (await import("./scalar.command-hs3nwzv1.js")).ScalarCommand,
32
- primitive: async () => (await import("./primitive.command-s60dn1ae.js")).PrimitiveCommand,
33
- quality: async () => (await import("./quality.command-p3vaze52.js")).QualityCommand,
34
- repair: async () => (await import("./repair.command-mfv749ha.js")).RepairCommand,
35
- workflow: async () => (await import("./workflow.command-z0e0fk0z.js")).WorkflowCommand
22
+ workspace: async () => (await import("./workspace.command-ma3g994j.js")).WorkspaceCommand,
23
+ agent: async () => (await import("./agent.command-tsx1nsdj.js")).AgentCommand,
24
+ application: async () => (await import("./application.command-n8ex8g9h.js")).ApplicationCommand,
25
+ library: async () => (await import("./library.command-p3jgf5h2.js")).LibraryCommand,
26
+ localRegistry: async () => (await import("./localRegistry.command-bms0qn6t.js")).LocalRegistryCommand,
27
+ package: async () => (await import("./package.command-fbpa6r4w.js")).PackageCommand,
28
+ module: async () => (await import("./module.command-hb3xm07r.js")).ModuleCommand,
29
+ page: async () => (await import("./page.command-92vrmw96.js")).PageCommand,
30
+ context: async () => (await import("./context.command-s7a41qjs.js")).ContextCommand,
31
+ cloud: async () => (await import("./cloud.command-f0rhw014.js")).CloudCommand,
32
+ guideline: async () => (await import("./guideline.command-qrw84ttb.js")).GuidelineCommand,
33
+ scalar: async () => (await import("./scalar.command-zcsjgvax.js")).ScalarCommand,
34
+ primitive: async () => (await import("./primitive.command-k6b9jfxr.js")).PrimitiveCommand,
35
+ quality: async () => (await import("./quality.command-89vwmjvf.js")).QualityCommand,
36
+ repair: async () => (await import("./repair.command-nh9jn8rh.js")).RepairCommand,
37
+ workflow: async () => (await import("./workflow.command-jj0cphfm.js")).WorkflowCommand
36
38
  };
37
39
  var commandModuleIds = Object.keys(commandModules);
38
40
 
@@ -1,16 +1,18 @@
1
1
  // @bun
2
2
  import {
3
3
  LibraryScript
4
- } from "./index-exhpp31y.js";
4
+ } from "./index-f0t3wjyr.js";
5
5
  import {
6
6
  Lib,
7
7
  Workspace,
8
8
  command
9
- } from "./index-jkynkyfk.js";
10
- import"./index-47qxw1tz.js";
9
+ } from "./index-ckpwq052.js";
10
+ import"./index-681sx6nt.js";
11
+ import"./index-f39512t6.js";
11
12
  import"./index-mxvakhsm.js";
13
+ import"./index-1577bej2.js";
12
14
  import"./index-67546d0j.js";
13
- import"./index-r24hmh0q.js";
15
+ import"./index-yb2wsc7f.js";
14
16
 
15
17
  // pkgs/@akanjs/cli/library/library.command.ts
16
18
  class LibraryCommand extends command("library", [LibraryScript], ({ public: target }) => ({
@@ -2,31 +2,33 @@
2
2
  import {
3
3
  CloudRunner,
4
4
  getNpmRegistryUrl
5
- } from "./index-zbx0jheb.js";
5
+ } from "./index-8md8zszv.js";
6
6
  import {
7
7
  PackageScript
8
- } from "./index-meh7mmz9.js";
9
- import"./index-0cj2zxbm.js";
8
+ } from "./index-x1dbhd80.js";
9
+ import"./index-sh01r3pm.js";
10
10
  import {
11
11
  ApplicationScript
12
- } from "./index-r7nqv8qj.js";
12
+ } from "./index-r8z20vnj.js";
13
+ import"./index-f0t3wjyr.js";
13
14
  import"./index-76rn3g2c.js";
14
- import"./index-exhpp31y.js";
15
15
  import {
16
16
  Workspace,
17
17
  command,
18
18
  runner,
19
19
  script
20
- } from "./index-jkynkyfk.js";
20
+ } from "./index-ckpwq052.js";
21
21
  import"./index-fgc8r6dj.js";
22
- import"./index-bjpxzr6s.js";
22
+ import"./index-5vy2jzar.js";
23
23
  import {
24
24
  PkgExecutor
25
- } from "./index-47qxw1tz.js";
25
+ } from "./index-681sx6nt.js";
26
+ import"./index-f39512t6.js";
26
27
  import"./index-mxvakhsm.js";
28
+ import"./index-1577bej2.js";
27
29
  import"./index-46tjzh6s.js";
28
30
  import"./index-67546d0j.js";
29
- import"./index-r24hmh0q.js";
31
+ import"./index-yb2wsc7f.js";
30
32
 
31
33
  // pkgs/@akanjs/cli/localRegistry/localRegistry.runner.ts
32
34
  import { mkdir, rm } from "fs/promises";
@@ -1,23 +1,25 @@
1
1
  // @bun
2
2
  import {
3
3
  ModuleScript
4
- } from "./index-60a3jfcz.js";
5
- import"./index-hrwzz2wf.js";
4
+ } from "./index-tn46rr6w.js";
6
5
  import"./index-ss469dec.js";
7
- import"./index-0cj2zxbm.js";
6
+ import"./index-kkya2ped.js";
7
+ import"./index-sh01r3pm.js";
8
8
  import {
9
9
  renderPrimitiveReport
10
- } from "./index-m4kpmmtj.js";
11
- import"./index-qp089jp0.js";
10
+ } from "./index-g44fykfw.js";
11
+ import"./index-j37qq1f2.js";
12
12
  import {
13
13
  Module,
14
14
  Sys,
15
15
  command
16
- } from "./index-jkynkyfk.js";
17
- import"./index-47qxw1tz.js";
16
+ } from "./index-ckpwq052.js";
17
+ import"./index-681sx6nt.js";
18
+ import"./index-f39512t6.js";
18
19
  import"./index-mxvakhsm.js";
20
+ import"./index-1577bej2.js";
19
21
  import"./index-67546d0j.js";
20
- import"./index-r24hmh0q.js";
22
+ import"./index-yb2wsc7f.js";
21
23
 
22
24
  // pkgs/@akanjs/cli/module/module.command.ts
23
25
  import { Logger, lowerlize } from "akanjs/common";
@@ -1,17 +1,19 @@
1
1
  // @bun
2
2
  import {
3
3
  PackageScript
4
- } from "./index-meh7mmz9.js";
4
+ } from "./index-x1dbhd80.js";
5
5
  import {
6
6
  Pkg,
7
7
  Workspace,
8
8
  command
9
- } from "./index-jkynkyfk.js";
10
- import"./index-47qxw1tz.js";
9
+ } from "./index-ckpwq052.js";
10
+ import"./index-681sx6nt.js";
11
+ import"./index-f39512t6.js";
11
12
  import"./index-mxvakhsm.js";
13
+ import"./index-1577bej2.js";
12
14
  import"./index-46tjzh6s.js";
13
15
  import"./index-67546d0j.js";
14
- import"./index-r24hmh0q.js";
16
+ import"./index-yb2wsc7f.js";
15
17
 
16
18
  // pkgs/@akanjs/cli/package/package.command.ts
17
19
  class PackageCommand extends command("package", [PackageScript], ({ public: target }) => ({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akanjs/cli",
3
- "version": "3.0.0-alpha.6",
3
+ "version": "3.0.0-alpha.60",
4
4
  "sourceType": "module",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -14,7 +14,7 @@
14
14
  "directory": "pkgs/@akanjs/cli"
15
15
  },
16
16
  "engines": {
17
- "bun": ">=1.3.13"
17
+ "bun": ">=1.4.0"
18
18
  },
19
19
  "bin": {
20
20
  "akan": "./index.js",
@@ -34,7 +34,7 @@
34
34
  "@langchain/openai": "^1.4.6",
35
35
  "@tailwindcss/node": "^4.3.0",
36
36
  "@trapezedev/project": "^7.1.4",
37
- "akanjs": "3.0.0-alpha.6",
37
+ "akanjs": "3.0.0-alpha.60",
38
38
  "chalk": "^5.6.2",
39
39
  "commander": "^14.0.3",
40
40
  "dayjs": "^1.11.20",
@@ -42,7 +42,6 @@
42
42
  "fonteditor-core": "^2.6.3",
43
43
  "ignore": "^7.0.5",
44
44
  "ink": "^6.8.0",
45
- "js-yaml": "^4.1.1",
46
45
  "ora": "^9.4.0",
47
46
  "qrcode": "^1.5.4",
48
47
  "react": "19.2.7",
@@ -1,16 +1,18 @@
1
1
  // @bun
2
2
  import {
3
3
  PageScript
4
- } from "./index-hrwzz2wf.js";
4
+ } from "./index-kkya2ped.js";
5
5
  import {
6
6
  App,
7
7
  Module,
8
8
  command
9
- } from "./index-jkynkyfk.js";
10
- import"./index-47qxw1tz.js";
9
+ } from "./index-ckpwq052.js";
10
+ import"./index-681sx6nt.js";
11
+ import"./index-f39512t6.js";
11
12
  import"./index-mxvakhsm.js";
13
+ import"./index-1577bej2.js";
12
14
  import"./index-67546d0j.js";
13
- import"./index-r24hmh0q.js";
15
+ import"./index-yb2wsc7f.js";
14
16
 
15
17
  // pkgs/@akanjs/cli/page/page.command.ts
16
18
  class PageCommand extends command("page", [PageScript], ({ public: target }) => ({
@@ -1,23 +1,25 @@
1
1
  // @bun
2
2
  import {
3
3
  PrimitiveScript
4
- } from "./index-pfrt7qwh.js";
5
- import"./index-60a3jfcz.js";
6
- import"./index-hrwzz2wf.js";
4
+ } from "./index-cc1mgv1f.js";
5
+ import"./index-tn46rr6w.js";
7
6
  import"./index-ss469dec.js";
8
- import"./index-0cj2zxbm.js";
7
+ import"./index-kkya2ped.js";
8
+ import"./index-sh01r3pm.js";
9
9
  import {
10
10
  renderPrimitiveReport
11
- } from "./index-m4kpmmtj.js";
12
- import"./index-qp089jp0.js";
11
+ } from "./index-g44fykfw.js";
12
+ import"./index-j37qq1f2.js";
13
13
  import {
14
14
  Workspace,
15
15
  command
16
- } from "./index-jkynkyfk.js";
17
- import"./index-47qxw1tz.js";
16
+ } from "./index-ckpwq052.js";
17
+ import"./index-681sx6nt.js";
18
+ import"./index-f39512t6.js";
18
19
  import"./index-mxvakhsm.js";
20
+ import"./index-1577bej2.js";
19
21
  import"./index-67546d0j.js";
20
- import"./index-r24hmh0q.js";
22
+ import"./index-yb2wsc7f.js";
21
23
 
22
24
  // pkgs/@akanjs/cli/primitive/primitive.command.ts
23
25
  import { Logger } from "akanjs/common";