@akanjs/cli 3.0.0-alpha.70 → 3.0.0-alpha.71

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 (55) hide show
  1. package/.build-stamp +1 -1
  2. package/{agent.command-964bf8qg.js → agent.command-xdvw642m.js} +5 -5
  3. package/{application.command-n45n18sc.js → application.command-g3f7xj25.js} +27 -4
  4. package/buildBatch.proc.js +1 -1
  5. package/{capacitorApp-vnvnvdhf.js → capacitorApp-b0ppke3m.js} +2 -2
  6. package/{cloud.command-kx1bh5yq.js → cloud.command-0hmsv44q.js} +7 -7
  7. package/commandManifest.json +1 -1
  8. package/{context.command-g1a65x6j.js → context.command-x92afrnf.js} +12 -12
  9. package/{guideline.command-xphyhvwh.js → guideline.command-hpq08q66.js} +2 -2
  10. package/guidelines/conventions/conventions.instruction.md +255 -436
  11. package/guidelines/framework/framework.generate.json +3 -2
  12. package/guidelines/framework/framework.instruction.md +0 -9
  13. package/guidelines/mcpRule/mcpRule.instruction.md +5 -8
  14. package/guidelines/queryRule/queryRule.generate.json +31 -0
  15. package/guidelines/queryRule/queryRule.instruction.md +143 -0
  16. package/guidelines/runtimeRule/runtimeRule.generate.json +25 -0
  17. package/guidelines/runtimeRule/runtimeRule.instruction.md +176 -0
  18. package/guidelines/transportRule/transportRule.generate.json +31 -0
  19. package/guidelines/transportRule/transportRule.instruction.md +60 -0
  20. package/guidelines/workspaceOnboarding/workspaceOnboarding.instruction.md +17 -392
  21. package/guidelines/workspaceRecipes/workspaceRecipes.generate.json +33 -0
  22. package/guidelines/workspaceRecipes/workspaceRecipes.instruction.md +402 -0
  23. package/incrementalBuilder.proc.js +1 -1
  24. package/{index-nkwmnqwn.js → index-5f4gnt4c.js} +1 -0
  25. package/{index-va15r8h5.js → index-6d5r8q6k.js} +2 -2
  26. package/{index-4rw4qhe6.js → index-737aj4fm.js} +3 -3
  27. package/{index-ytaqtc04.js → index-8besc14m.js} +1 -1
  28. package/{index-hee7egtm.js → index-cbfp5wyp.js} +1 -1
  29. package/{index-mkn5qagt.js → index-cp00yns2.js} +70 -4
  30. package/{index-nj3w0r34.js → index-ety6takb.js} +3 -3
  31. package/{index-e31ghfp5.js → index-gvq17wqn.js} +1 -1
  32. package/{index-8gybxemv.js → index-hs70d8ed.js} +5 -5
  33. package/{index-0ngvvgry.js → index-jybbmwed.js} +2 -2
  34. package/{index-bqqts262.js → index-m5gfc86a.js} +1 -1
  35. package/{index-qt4nfr0n.js → index-nq3avsf6.js} +10 -10
  36. package/{index-yg3hxk2k.js → index-p27h7535.js} +4 -4
  37. package/{index-fahkq20v.js → index-pehn44hr.js} +3 -3
  38. package/{index-v5fdxdre.js → index-r691v756.js} +2 -2
  39. package/{index-p681w089.js → index-sqsfv8wg.js} +2 -2
  40. package/{index-rbnpe8cp.js → index-wbbswwqt.js} +17 -21
  41. package/{index-rb65xnw9.js → index-wybbcgxn.js} +4 -4
  42. package/index.js +18 -18
  43. package/{library.command-rfpd27yv.js → library.command-8vgrdtwy.js} +3 -3
  44. package/{localRegistry.command-pyxfe0fs.js → localRegistry.command-0gtqj0r0.js} +6 -6
  45. package/{module.command-qhaxad0p.js → module.command-rama4zya.js} +5 -5
  46. package/{package.command-2k22q9nt.js → package.command-6jxapdsg.js} +3 -3
  47. package/package.json +2 -2
  48. package/{page.command-ymk9dqh4.js → page.command-hxy7x525.js} +3 -3
  49. package/{primitive.command-9k45zpc1.js → primitive.command-4bf6xcc3.js} +6 -6
  50. package/{quality.command-bf6vkxe5.js → quality.command-h5edwegz.js} +2 -2
  51. package/{repair.command-egvvm6xf.js → repair.command-rgqf6px6.js} +5 -5
  52. package/{scalar.command-bt1facyj.js → scalar.command-6krkz6tw.js} +4 -4
  53. package/templates/workspaceRoot/AGENTS.md.template +4 -0
  54. package/{workflow.command-v1n3wg7v.js → workflow.command-dwhwrqhd.js} +9 -9
  55. package/{workspace.command-yvvqvhzz.js → workspace.command-f5h11gjn.js} +18 -18
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  runner,
4
4
  script
5
- } from "./index-e31ghfp5.js";
5
+ } from "./index-gvq17wqn.js";
6
6
  import {
7
7
  PkgExecutor
8
- } from "./index-nkwmnqwn.js";
8
+ } from "./index-5f4gnt4c.js";
9
9
  import {
10
10
  TypeScriptDependencyScanner
11
11
  } from "./index-46tjzh6s.js";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  runner,
4
4
  script
5
- } from "./index-e31ghfp5.js";
5
+ } from "./index-gvq17wqn.js";
6
6
 
7
7
  // pkgs/@akanjs/cli/page/page.runner.ts
8
8
  class PageRunner extends runner("page") {
@@ -1,22 +1,22 @@
1
1
  // @bun
2
2
  import {
3
3
  RepairRunner
4
- } from "./index-nj3w0r34.js";
4
+ } from "./index-ety6takb.js";
5
5
  import {
6
6
  WorkflowRunner
7
- } from "./index-fahkq20v.js";
7
+ } from "./index-pehn44hr.js";
8
8
  import {
9
9
  ScalarScript
10
- } from "./index-v5fdxdre.js";
10
+ } from "./index-r691v756.js";
11
11
  import {
12
12
  PrimitiveScript
13
- } from "./index-rb65xnw9.js";
13
+ } from "./index-wybbcgxn.js";
14
14
  import {
15
15
  ModuleScript
16
- } from "./index-yg3hxk2k.js";
16
+ } from "./index-p27h7535.js";
17
17
  import {
18
18
  isPlaceholderAppId
19
- } from "./index-hee7egtm.js";
19
+ } from "./index-cbfp5wyp.js";
20
20
  import {
21
21
  AkanContextAnalyzer,
22
22
  akanMcpInstallConfigPaths,
@@ -27,14 +27,14 @@ import {
27
27
  renderDoctorText,
28
28
  resourceList,
29
29
  upsertCodexMcpServerBlock
30
- } from "./index-va15r8h5.js";
30
+ } from "./index-6d5r8q6k.js";
31
31
  import {
32
32
  buildAkanModuleContextIndex,
33
33
  createWorkflowBaselineSummary,
34
34
  createWorkflowStepRegistry,
35
35
  jsonText,
36
36
  toolingRolloutGate
37
- } from "./index-ytaqtc04.js";
37
+ } from "./index-8besc14m.js";
38
38
  import {
39
39
  Prompter
40
40
  } from "./index-j37qq1f2.js";
@@ -45,10 +45,10 @@ import {
45
45
  CommandContainer,
46
46
  runner,
47
47
  script
48
- } from "./index-e31ghfp5.js";
48
+ } from "./index-gvq17wqn.js";
49
49
  import {
50
50
  AppExecutor
51
- } from "./index-nkwmnqwn.js";
51
+ } from "./index-5f4gnt4c.js";
52
52
 
53
53
  // pkgs/@akanjs/cli/context/context.script.ts
54
54
  import { Logger } from "akanjs/common";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./index-ss469dec.js";
5
5
  import {
6
6
  PageScript
7
- } from "./index-bqqts262.js";
7
+ } from "./index-m5gfc86a.js";
8
8
  import {
9
9
  AiSession
10
10
  } from "./index-sh01r3pm.js";
@@ -15,17 +15,17 @@ import {
15
15
  generatedFilesForSync,
16
16
  moduleSourcePaths,
17
17
  sourceFile
18
- } from "./index-ytaqtc04.js";
18
+ } from "./index-8besc14m.js";
19
19
  import {
20
20
  Prompter
21
21
  } from "./index-j37qq1f2.js";
22
22
  import {
23
23
  runner,
24
24
  script
25
- } from "./index-e31ghfp5.js";
25
+ } from "./index-gvq17wqn.js";
26
26
  import {
27
27
  ModuleExecutor
28
- } from "./index-nkwmnqwn.js";
28
+ } from "./index-5f4gnt4c.js";
29
29
  import {
30
30
  FileSys
31
31
  } from "./index-67546d0j.js";
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  AkanContextAnalyzer
4
- } from "./index-va15r8h5.js";
4
+ } from "./index-6d5r8q6k.js";
5
5
  import {
6
6
  WorkflowExecutor,
7
7
  compactWorkflowInputs,
@@ -23,10 +23,10 @@ import {
23
23
  workflowCommandsForPlan,
24
24
  workflowPlanApproval,
25
25
  writeWorkflowRunArtifact
26
- } from "./index-ytaqtc04.js";
26
+ } from "./index-8besc14m.js";
27
27
  import {
28
28
  runner
29
- } from "./index-e31ghfp5.js";
29
+ } from "./index-gvq17wqn.js";
30
30
 
31
31
  // pkgs/@akanjs/cli/workflow/workflow.runner.ts
32
32
  import { mkdir, readFile, writeFile } from "fs/promises";
@@ -9,14 +9,14 @@ import {
9
9
  createPassedPrimitiveReport,
10
10
  generatedFilesForSync,
11
11
  scalarChangedFiles
12
- } from "./index-ytaqtc04.js";
12
+ } from "./index-8besc14m.js";
13
13
  import {
14
14
  Prompter
15
15
  } from "./index-j37qq1f2.js";
16
16
  import {
17
17
  runner,
18
18
  script
19
- } from "./index-e31ghfp5.js";
19
+ } from "./index-gvq17wqn.js";
20
20
 
21
21
  // pkgs/@akanjs/cli/scalar/scalar.prompt.ts
22
22
  import { input } from "@inquirer/prompts";
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  runner,
4
4
  script
5
- } from "./index-e31ghfp5.js";
5
+ } from "./index-gvq17wqn.js";
6
6
  import {
7
7
  LibExecutor
8
- } from "./index-nkwmnqwn.js";
8
+ } from "./index-5f4gnt4c.js";
9
9
 
10
10
  // pkgs/@akanjs/cli/semver.ts
11
11
  var stripRangeOperator = (version) => version.replace(/^[\s^~>=<v]+/, "").trim();
@@ -1,14 +1,14 @@
1
1
  // @bun
2
2
  import {
3
3
  AkanContextAnalyzer
4
- } from "./index-va15r8h5.js";
4
+ } from "./index-6d5r8q6k.js";
5
5
  import {
6
6
  Prompter
7
7
  } from "./index-j37qq1f2.js";
8
8
  import {
9
9
  runner,
10
10
  script
11
- } from "./index-e31ghfp5.js";
11
+ } from "./index-gvq17wqn.js";
12
12
  import {
13
13
  AGENT_BLOCK_END,
14
14
  AGENT_BLOCK_START,
@@ -19,7 +19,7 @@ import {
19
19
  renderRecipeEntries,
20
20
  stampBlockVersion,
21
21
  upsertAgentBlock
22
- } from "./index-nkwmnqwn.js";
22
+ } from "./index-5f4gnt4c.js";
23
23
  import {
24
24
  collectRecipeSources,
25
25
  scanRecipes
@@ -90,15 +90,14 @@ ${scopeIndexPointer}
90
90
  `;
91
91
  return `## Recipes
92
92
 
93
- Framework UI recipes (Tailwind-variant look factories), importable from every app and lib. Consume by exact name \u2014
94
- \`import { <name> } from "akanjs/ui"\`, then \`<name>(variants?, className?)\`. The second arg merges internally and
95
- takes **an array too**, so never wrap it in \`cn()\`: \`<name>({}, ["h-full", isWide && "w-full", className])\`.
96
- Do not guess recipe names, import paths, or variant values; the list below carries
97
- the full contract (\`*\` marks the default, \`key?\` is a boolean flag), so there is no need to open the recipe file to
98
- consume one. tsc still reports variant mistakes. **Before inlining a repeated surface (card, box,
99
- tile, \u2026): reuse a recipe, or add one as \`apps/<app>/ui/Recipe/<name>.ts\` (one recipe per file, re-exported from
100
- that folder's \`index.ts\`) \u2014 never re-implement the same look inline in several places, and never author a
101
- near-duplicate.** Full authoring/consumption policy: the \`recipeRule\` guideline.
93
+ Framework UI recipes (Tailwind-variant look factories), importable from every app and lib: \`import { <name> } from
94
+ "akanjs/ui"\`, then \`<name>(variants?, className?)\`. The second arg merges internally and takes **an array too**, so
95
+ never wrap it in \`cn()\`: \`<name>({}, ["h-full", isWide && "w-full", className])\`. The list below is the full
96
+ contract (\`*\` marks the default, \`key?\` is a boolean flag) \u2014 do not guess a name, path, or variant value, and do
97
+ not open the recipe file to consume one. **Before inlining a repeated surface (card, box, tile, \u2026): reuse a recipe,
98
+ or add one as \`apps/<app>/ui/Recipe/<name>.ts\`, one per file, re-exported from that folder's \`index.ts\` \u2014 never
99
+ re-implement the same look inline in several places, and never author a near-duplicate.** Full policy: the
100
+ \`recipeRule\` guideline.
102
101
 
103
102
  ${renderRecipeEntries(recipes)}
104
103
 
@@ -148,15 +147,12 @@ If generated output is stale or broken, update the owning source file and run \`
148
147
 
149
148
  ${recipeIndex}## MCP Workflow Policy
150
149
 
151
- - Prefer Akan MCP workflows before direct source edits.
152
- - Direct source edits are denied when an allowlisted Akan workflow or repair tool can perform the change.
153
- - Use \`akan mcp --mode plan\` to inspect \`list_workflows\`, \`explain_workflow\`, and \`plan_workflow\`.
154
- - If \`plan_workflow\` returns \`planPath\` or \`next.tool=apply_workflow\`, call \`apply_workflow({ planPath })\` before editing source files directly.
155
- - Use \`akan mcp --mode apply\` only for allowlisted \`apply_workflow\`, \`run_validation\`, and repair tools.
156
- - After \`apply_workflow\`, run \`run_validation\` with \`validationTarget\` when present; otherwise use \`applyReportPath\`.
157
- - If no workflow exists, or apply reports unsupported/no-op/failed diagnostics that require manual action, keep edits scoped to owning source files and never patch generated files directly.
158
- - For compound requests, split the request into workflows and apply each \`planPath\` in order, such as \`create-module\` followed by \`add-field\`.
159
- - **CLI-only fallback (MCP not connected):** \`akan mcp\` starts a stdio MCP server, so the \`list_workflows\`/\`plan_workflow\`/\`apply_workflow\` tools exist only when your agent is wired to it as an MCP client. When they are unavailable, the CLI is a first-class equivalent: \`akan workflow list\` / \`explain <name>\` / \`plan <name> ... --format json --out <planPath>\` / \`apply <planPath> --format json\`, \`akan doctor --strict --format json\` for validation, and \`akan repair generated|imports|module-shape --app <app> --format json\` for repairs. Scaffolding primitives (\`create-module\`/\`create-scalar\`/\`create-service\` take the target app/lib as a POSITIONAL arg; \`add-field\`/\`add-enum-field\` use \`--app\`/\`--module\` flags) call the same code the workflows do.
150
+ - **Prefer an Akan workflow to a direct source edit.** A direct edit is denied when an allowlisted workflow or repair tool can make the change.
151
+ - Inspect with \`akan mcp --mode plan\` (\`list_workflows\`, \`explain_workflow\`, \`plan_workflow\`); apply with \`akan mcp --mode apply\`, which allowlists \`apply_workflow\`, \`run_validation\`, and the repair tools.
152
+ - If \`plan_workflow\` returns \`planPath\` or \`next.tool=apply_workflow\`, call \`apply_workflow({ planPath })\` before editing source. Then run \`run_validation\` with \`validationTarget\` when present, otherwise \`applyReportPath\`.
153
+ - Split a compound request into workflows and apply each \`planPath\` in order, such as \`create-module\` followed by \`add-field\`.
154
+ - When no workflow exists, or apply reports unsupported/no-op/failed diagnostics needing manual action, keep edits scoped to owning source files and never patch generated files directly.
155
+ - **MCP not connected?** The CLI is a first-class equivalent \u2014 \`akan workflow list\` / \`explain\` / \`plan\` / \`apply\`, \`akan doctor\`, \`akan repair\`. See the onboarding guide's CLI-only fallback for the exact flags.
160
156
 
161
157
  ## Validation
162
158
 
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  ModuleScript
4
- } from "./index-yg3hxk2k.js";
4
+ } from "./index-p27h7535.js";
5
5
  import {
6
6
  addFieldUiPolicyForType,
7
7
  coerceFieldDefault,
@@ -34,15 +34,15 @@ import {
34
34
  sourceFile,
35
35
  validationCommandsForTarget,
36
36
  viaBuilderParameterName
37
- } from "./index-ytaqtc04.js";
37
+ } from "./index-8besc14m.js";
38
38
  import {
39
39
  script
40
- } from "./index-e31ghfp5.js";
40
+ } from "./index-gvq17wqn.js";
41
41
  import {
42
42
  AppExecutor,
43
43
  LibExecutor,
44
44
  ModuleExecutor
45
- } from "./index-nkwmnqwn.js";
45
+ } from "./index-5f4gnt4c.js";
46
46
 
47
47
  // pkgs/@akanjs/cli/primitive/primitive.script.ts
48
48
  import { capitalize } from "akanjs/common";
package/index.js CHANGED
@@ -4,8 +4,8 @@ import {
4
4
  getTargetCommandNames,
5
5
  getTargetMetas,
6
6
  runCommands
7
- } from "./index-e31ghfp5.js";
8
- import"./index-nkwmnqwn.js";
7
+ } from "./index-gvq17wqn.js";
8
+ import"./index-5f4gnt4c.js";
9
9
  import"./index-f39512t6.js";
10
10
  import"./index-mxvakhsm.js";
11
11
  import"./index-1577bej2.js";
@@ -19,22 +19,22 @@ import path from "path";
19
19
 
20
20
  // pkgs/@akanjs/cli/commandModules.ts
21
21
  var commandModules = {
22
- workspace: async () => (await import("./workspace.command-yvvqvhzz.js")).WorkspaceCommand,
23
- agent: async () => (await import("./agent.command-964bf8qg.js")).AgentCommand,
24
- application: async () => (await import("./application.command-n45n18sc.js")).ApplicationCommand,
25
- library: async () => (await import("./library.command-rfpd27yv.js")).LibraryCommand,
26
- localRegistry: async () => (await import("./localRegistry.command-pyxfe0fs.js")).LocalRegistryCommand,
27
- package: async () => (await import("./package.command-2k22q9nt.js")).PackageCommand,
28
- module: async () => (await import("./module.command-qhaxad0p.js")).ModuleCommand,
29
- page: async () => (await import("./page.command-ymk9dqh4.js")).PageCommand,
30
- context: async () => (await import("./context.command-g1a65x6j.js")).ContextCommand,
31
- cloud: async () => (await import("./cloud.command-kx1bh5yq.js")).CloudCommand,
32
- guideline: async () => (await import("./guideline.command-xphyhvwh.js")).GuidelineCommand,
33
- scalar: async () => (await import("./scalar.command-bt1facyj.js")).ScalarCommand,
34
- primitive: async () => (await import("./primitive.command-9k45zpc1.js")).PrimitiveCommand,
35
- quality: async () => (await import("./quality.command-bf6vkxe5.js")).QualityCommand,
36
- repair: async () => (await import("./repair.command-egvvm6xf.js")).RepairCommand,
37
- workflow: async () => (await import("./workflow.command-v1n3wg7v.js")).WorkflowCommand
22
+ workspace: async () => (await import("./workspace.command-f5h11gjn.js")).WorkspaceCommand,
23
+ agent: async () => (await import("./agent.command-xdvw642m.js")).AgentCommand,
24
+ application: async () => (await import("./application.command-g3f7xj25.js")).ApplicationCommand,
25
+ library: async () => (await import("./library.command-8vgrdtwy.js")).LibraryCommand,
26
+ localRegistry: async () => (await import("./localRegistry.command-0gtqj0r0.js")).LocalRegistryCommand,
27
+ package: async () => (await import("./package.command-6jxapdsg.js")).PackageCommand,
28
+ module: async () => (await import("./module.command-rama4zya.js")).ModuleCommand,
29
+ page: async () => (await import("./page.command-hxy7x525.js")).PageCommand,
30
+ context: async () => (await import("./context.command-x92afrnf.js")).ContextCommand,
31
+ cloud: async () => (await import("./cloud.command-0hmsv44q.js")).CloudCommand,
32
+ guideline: async () => (await import("./guideline.command-hpq08q66.js")).GuidelineCommand,
33
+ scalar: async () => (await import("./scalar.command-6krkz6tw.js")).ScalarCommand,
34
+ primitive: async () => (await import("./primitive.command-4bf6xcc3.js")).PrimitiveCommand,
35
+ quality: async () => (await import("./quality.command-h5edwegz.js")).QualityCommand,
36
+ repair: async () => (await import("./repair.command-rgqf6px6.js")).RepairCommand,
37
+ workflow: async () => (await import("./workflow.command-dwhwrqhd.js")).WorkflowCommand
38
38
  };
39
39
  var commandModuleIds = Object.keys(commandModules);
40
40
 
@@ -1,13 +1,13 @@
1
1
  // @bun
2
2
  import {
3
3
  LibraryScript
4
- } from "./index-p681w089.js";
4
+ } from "./index-sqsfv8wg.js";
5
5
  import {
6
6
  Lib,
7
7
  Workspace,
8
8
  command
9
- } from "./index-e31ghfp5.js";
10
- import"./index-nkwmnqwn.js";
9
+ } from "./index-gvq17wqn.js";
10
+ import"./index-5f4gnt4c.js";
11
11
  import"./index-f39512t6.js";
12
12
  import"./index-mxvakhsm.js";
13
13
  import"./index-1577bej2.js";
@@ -2,27 +2,27 @@
2
2
  import {
3
3
  CloudRunner,
4
4
  getNpmRegistryUrl
5
- } from "./index-4rw4qhe6.js";
5
+ } from "./index-737aj4fm.js";
6
6
  import {
7
7
  PackageScript
8
- } from "./index-0ngvvgry.js";
8
+ } from "./index-jybbmwed.js";
9
9
  import"./index-sh01r3pm.js";
10
10
  import {
11
11
  ApplicationScript
12
- } from "./index-mkn5qagt.js";
13
- import"./index-p681w089.js";
12
+ } from "./index-cp00yns2.js";
13
+ import"./index-sqsfv8wg.js";
14
14
  import"./index-76rn3g2c.js";
15
15
  import {
16
16
  Workspace,
17
17
  command,
18
18
  runner,
19
19
  script
20
- } from "./index-e31ghfp5.js";
20
+ } from "./index-gvq17wqn.js";
21
21
  import"./index-fgc8r6dj.js";
22
22
  import"./index-5vy2jzar.js";
23
23
  import {
24
24
  PkgExecutor
25
- } from "./index-nkwmnqwn.js";
25
+ } from "./index-5f4gnt4c.js";
26
26
  import"./index-f39512t6.js";
27
27
  import"./index-mxvakhsm.js";
28
28
  import"./index-1577bej2.js";
@@ -1,20 +1,20 @@
1
1
  // @bun
2
2
  import {
3
3
  ModuleScript
4
- } from "./index-yg3hxk2k.js";
4
+ } from "./index-p27h7535.js";
5
5
  import"./index-ss469dec.js";
6
- import"./index-bqqts262.js";
6
+ import"./index-m5gfc86a.js";
7
7
  import"./index-sh01r3pm.js";
8
8
  import {
9
9
  renderPrimitiveReport
10
- } from "./index-ytaqtc04.js";
10
+ } from "./index-8besc14m.js";
11
11
  import"./index-j37qq1f2.js";
12
12
  import {
13
13
  Module,
14
14
  Sys,
15
15
  command
16
- } from "./index-e31ghfp5.js";
17
- import"./index-nkwmnqwn.js";
16
+ } from "./index-gvq17wqn.js";
17
+ import"./index-5f4gnt4c.js";
18
18
  import"./index-f39512t6.js";
19
19
  import"./index-mxvakhsm.js";
20
20
  import"./index-1577bej2.js";
@@ -1,13 +1,13 @@
1
1
  // @bun
2
2
  import {
3
3
  PackageScript
4
- } from "./index-0ngvvgry.js";
4
+ } from "./index-jybbmwed.js";
5
5
  import {
6
6
  Pkg,
7
7
  Workspace,
8
8
  command
9
- } from "./index-e31ghfp5.js";
10
- import"./index-nkwmnqwn.js";
9
+ } from "./index-gvq17wqn.js";
10
+ import"./index-5f4gnt4c.js";
11
11
  import"./index-f39512t6.js";
12
12
  import"./index-mxvakhsm.js";
13
13
  import"./index-1577bej2.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akanjs/cli",
3
- "version": "3.0.0-alpha.70",
3
+ "version": "3.0.0-alpha.71",
4
4
  "sourceType": "module",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -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.70",
37
+ "akanjs": "3.0.0-alpha.71",
38
38
  "chalk": "^5.6.2",
39
39
  "commander": "^14.0.3",
40
40
  "dayjs": "^1.11.20",
@@ -1,13 +1,13 @@
1
1
  // @bun
2
2
  import {
3
3
  PageScript
4
- } from "./index-bqqts262.js";
4
+ } from "./index-m5gfc86a.js";
5
5
  import {
6
6
  App,
7
7
  Module,
8
8
  command
9
- } from "./index-e31ghfp5.js";
10
- import"./index-nkwmnqwn.js";
9
+ } from "./index-gvq17wqn.js";
10
+ import"./index-5f4gnt4c.js";
11
11
  import"./index-f39512t6.js";
12
12
  import"./index-mxvakhsm.js";
13
13
  import"./index-1577bej2.js";
@@ -1,20 +1,20 @@
1
1
  // @bun
2
2
  import {
3
3
  PrimitiveScript
4
- } from "./index-rb65xnw9.js";
5
- import"./index-yg3hxk2k.js";
4
+ } from "./index-wybbcgxn.js";
5
+ import"./index-p27h7535.js";
6
6
  import"./index-ss469dec.js";
7
- import"./index-bqqts262.js";
7
+ import"./index-m5gfc86a.js";
8
8
  import"./index-sh01r3pm.js";
9
9
  import {
10
10
  renderPrimitiveReport
11
- } from "./index-ytaqtc04.js";
11
+ } from "./index-8besc14m.js";
12
12
  import"./index-j37qq1f2.js";
13
13
  import {
14
14
  Workspace,
15
15
  command
16
- } from "./index-e31ghfp5.js";
17
- import"./index-nkwmnqwn.js";
16
+ } from "./index-gvq17wqn.js";
17
+ import"./index-5f4gnt4c.js";
18
18
  import"./index-f39512t6.js";
19
19
  import"./index-mxvakhsm.js";
20
20
  import"./index-1577bej2.js";
@@ -7,12 +7,12 @@ import {
7
7
  command,
8
8
  runner,
9
9
  script
10
- } from "./index-e31ghfp5.js";
10
+ } from "./index-gvq17wqn.js";
11
11
  import {
12
12
  isAllowedLibFacetRootFile,
13
13
  rootAllowedDirs,
14
14
  rootAllowedFiles
15
- } from "./index-nkwmnqwn.js";
15
+ } from "./index-5f4gnt4c.js";
16
16
  import"./index-f39512t6.js";
17
17
  import"./index-mxvakhsm.js";
18
18
  import"./index-1577bej2.js";
@@ -1,15 +1,15 @@
1
1
  // @bun
2
2
  import {
3
3
  RepairRunner
4
- } from "./index-nj3w0r34.js";
5
- import"./index-va15r8h5.js";
6
- import"./index-ytaqtc04.js";
4
+ } from "./index-ety6takb.js";
5
+ import"./index-6d5r8q6k.js";
6
+ import"./index-8besc14m.js";
7
7
  import {
8
8
  Workspace,
9
9
  command,
10
10
  script
11
- } from "./index-e31ghfp5.js";
12
- import"./index-nkwmnqwn.js";
11
+ } from "./index-gvq17wqn.js";
12
+ import"./index-5f4gnt4c.js";
13
13
  import"./index-f39512t6.js";
14
14
  import"./index-mxvakhsm.js";
15
15
  import"./index-xys926f2.js";
@@ -1,18 +1,18 @@
1
1
  // @bun
2
2
  import {
3
3
  ScalarScript
4
- } from "./index-v5fdxdre.js";
4
+ } from "./index-r691v756.js";
5
5
  import"./index-ss469dec.js";
6
6
  import"./index-sh01r3pm.js";
7
7
  import {
8
8
  renderPrimitiveReport
9
- } from "./index-ytaqtc04.js";
9
+ } from "./index-8besc14m.js";
10
10
  import"./index-j37qq1f2.js";
11
11
  import {
12
12
  Sys,
13
13
  command
14
- } from "./index-e31ghfp5.js";
15
- import"./index-nkwmnqwn.js";
14
+ } from "./index-gvq17wqn.js";
15
+ import"./index-5f4gnt4c.js";
16
16
  import"./index-f39512t6.js";
17
17
  import"./index-mxvakhsm.js";
18
18
  import"./index-1577bej2.js";
@@ -12,6 +12,10 @@ The section below is regenerated by `akan agent install` (run `bun run setup:age
12
12
  workspace's apps, generated files, validation commands, and framework guide. Edit anything outside the
13
13
  markers freely; content between them is overwritten on the next install.
14
14
 
15
+ It carries the rules only. The reasoning behind each area lives in deep-dive guidelines fetched on demand —
16
+ `akan guideline list` names them, `akan guideline show <name>` prints one, and an agent wired to `akan mcp`
17
+ calls `get_guideline` instead.
18
+
15
19
  <!-- akan:agent:start -->
16
20
  <!-- Populated by `akan agent install`. Run `bun run setup:agent` to refresh. -->
17
21
  <!-- akan:agent:end -->
@@ -1,30 +1,30 @@
1
1
  // @bun
2
2
  import {
3
3
  WorkflowRunner
4
- } from "./index-fahkq20v.js";
4
+ } from "./index-pehn44hr.js";
5
5
  import {
6
6
  ScalarScript
7
- } from "./index-v5fdxdre.js";
7
+ } from "./index-r691v756.js";
8
8
  import {
9
9
  PrimitiveScript
10
- } from "./index-rb65xnw9.js";
10
+ } from "./index-wybbcgxn.js";
11
11
  import {
12
12
  ModuleScript
13
- } from "./index-yg3hxk2k.js";
13
+ } from "./index-p27h7535.js";
14
14
  import"./index-ss469dec.js";
15
- import"./index-bqqts262.js";
15
+ import"./index-m5gfc86a.js";
16
16
  import"./index-sh01r3pm.js";
17
- import"./index-va15r8h5.js";
17
+ import"./index-6d5r8q6k.js";
18
18
  import {
19
19
  createWorkflowStepRegistry
20
- } from "./index-ytaqtc04.js";
20
+ } from "./index-8besc14m.js";
21
21
  import"./index-j37qq1f2.js";
22
22
  import {
23
23
  Workspace,
24
24
  command,
25
25
  script
26
- } from "./index-e31ghfp5.js";
27
- import"./index-nkwmnqwn.js";
26
+ } from "./index-gvq17wqn.js";
27
+ import"./index-5f4gnt4c.js";
28
28
  import"./index-f39512t6.js";
29
29
  import"./index-mxvakhsm.js";
30
30
  import"./index-xys926f2.js";