@akanjs/cli 3.0.0-beta.14 → 3.0.0-beta.16

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 (80) hide show
  1. package/.build-stamp +1 -1
  2. package/CodeAgent-zgccwajm.js +9 -0
  3. package/CodeAgentRpcHost-qvwfv0n9.js +7 -0
  4. package/CodeTui-993tx7gf.js +1103 -0
  5. package/README.md +3 -0
  6. package/{agent.command-bhwsc2aj.js → agent.command-n664dtcv.js} +6 -6
  7. package/akanCode.js +100 -0
  8. package/{application.command-436y543n.js → application.command-t5542jte.js} +6 -5
  9. package/{applicationBuildRunner-4f1wrba0.js → applicationBuildRunner-x4gbfn7y.js} +2 -2
  10. package/{applicationReleasePackager-jkjmy5ee.js → applicationReleasePackager-z61ep017.js} +1 -1
  11. package/buildBatch.proc.js +2 -2
  12. package/{capacitorApp-hqvsrec4.js → capacitorApp-shv3ajh5.js} +2 -2
  13. package/{cloud.command-3xn0xpz8.js → cloud.command-4x35k1z6.js} +9 -8
  14. package/cloud.script-3k8nbbpn.js +20 -0
  15. package/code.command-mrfb7a1g.js +147 -0
  16. package/commandManifest.json +1 -1
  17. package/consoleToStderr-h5bryj94.js +7 -0
  18. package/{context.command-hxh96cc3.js → context.command-pqsm5jrk.js} +14 -13
  19. package/context.runner-bys6ykcp.js +22 -0
  20. package/{devTui-4ted58a6.js → devTui-gy6mendg.js} +114 -8
  21. package/{devTuiView-1dj2yq7t.js → devTuiView-y1548wy6.js} +1 -1
  22. package/{guideline.command-cyw8c0m0.js → guideline.command-rpc2emw8.js} +6 -6
  23. package/guidelines/agentRule/agentRule.instruction.md +22 -2
  24. package/guidelines/conventions/conventions.instruction.md +3 -1
  25. package/incrementalBuilder.proc.js +1 -1
  26. package/{index-t8gvwcrx.js → index-018dszb3.js} +13 -4
  27. package/{index-8pkvrcv1.js → index-2pm1j01n.js} +3 -3
  28. package/{index-7f4dsf9v.js → index-3cymrzsb.js} +1 -1
  29. package/{index-1nwxbr2y.js → index-3mg4h788.js} +2 -2
  30. package/{index-em4swemt.js → index-4cvpzkq6.js} +3 -3
  31. package/index-4n4821gp.js +69 -0
  32. package/index-5405kc0x.js +2434 -0
  33. package/{index-tt6kzwj5.js → index-57p9p179.js} +3 -3
  34. package/{index-b3ae16mg.js → index-6na0sd2b.js} +1 -1
  35. package/index-7md2g9vw.js +6 -0
  36. package/index-8k16atqy.js +82 -0
  37. package/{index-fad0hhty.js → index-g9zghs4h.js} +22 -80
  38. package/index-jgrnpt6y.js +121 -0
  39. package/{index-31hmq4ys.js → index-kvzjda3v.js} +8 -8
  40. package/{index-sg1bgdhe.js → index-ns128c4q.js} +27 -105
  41. package/{index-5nyznra1.js → index-p4p9t45x.js} +3 -0
  42. package/{index-sh88vtye.js → index-qh7brn20.js} +1 -1
  43. package/{index-jwjaf9fy.js → index-qhtj9y6j.js} +44 -44
  44. package/{index-ys7dvdb3.js → index-sn7dnzq4.js} +1 -1
  45. package/index-sxg87a8f.js +727 -0
  46. package/{index-r73ha1rf.js → index-te0y1c0m.js} +4 -4
  47. package/{index-h7yw2z9n.js → index-twq9p2sp.js} +8 -8
  48. package/{index-15r9a10e.js → index-v17gj504.js} +2 -2
  49. package/{index-1mrmve4s.js → index-vpx68e4x.js} +2 -2
  50. package/index-wfwknnje.js +124 -0
  51. package/{index-9fbk3dbh.js → index-xjc7gg65.js} +4 -4
  52. package/{index-8tcj5wk8.js → index-zg0v1zte.js} +5 -5
  53. package/{index-vrwdx0zx.js → index-zn8qgeqx.js} +1 -1
  54. package/index.js +21 -20
  55. package/{library.command-1f9h2ex6.js → library.command-m8p2r1dh.js} +3 -3
  56. package/{localRegistry.command-4cbgz63s.js → localRegistry.command-tt00nwwg.js} +8 -7
  57. package/{module.command-ew0484va.js → module.command-mfzvqt0n.js} +5 -5
  58. package/{package.command-y2rh4np7.js → package.command-8sy6jjwy.js} +3 -3
  59. package/package.json +12 -2
  60. package/{page.command-e5h29fyt.js → page.command-taenb02b.js} +3 -3
  61. package/{primitive.command-50ecfzg4.js → primitive.command-7kpncmkk.js} +6 -6
  62. package/prompter-9mn3kp36.js +8 -0
  63. package/{quality.command-a2jytczs.js → quality.command-1ar94hrw.js} +2 -2
  64. package/{repair.command-c2amvt74.js → repair.command-n08t6j8p.js} +5 -5
  65. package/{scalar.command-bptz6aj6.js → scalar.command-mq8qfp4t.js} +4 -4
  66. package/skills/akan-debug/SKILL.md +42 -0
  67. package/skills/akan-deps/SKILL.md +50 -0
  68. package/skills/akan-err/SKILL.md +39 -0
  69. package/skills/akan-module/SKILL.md +45 -0
  70. package/skills/akan-scaffold/SKILL.md +76 -0
  71. package/skills/akan-scalar/SKILL.md +52 -0
  72. package/skills/akan-service/SKILL.md +34 -0
  73. package/skills/akan-store/SKILL.md +63 -0
  74. package/skills/akan-ui/SKILL.md +63 -0
  75. package/skills/akan-validate/SKILL.md +44 -0
  76. package/{subspace.command-kmemx1vm.js → subspace.command-x9897gj4.js} +4 -4
  77. package/{tunnel.command-67q8vsg5.js → tunnel.command-ht2es78c.js} +2 -2
  78. package/{workflow.command-2ze5y2xp.js → workflow.command-tvz4nm9n.js} +9 -9
  79. package/{workspace.command-2n385jkt.js → workspace.command-ayqa1rgt.js} +22 -20
  80. package/cloud.script-0a76c2g8.js +0 -19
@@ -3689,6 +3689,9 @@ class PkgExecutor extends Executor {
3689
3689
  const rootVersion = rootDeps[dep];
3690
3690
  if (rootVersion)
3691
3691
  return rootVersion;
3692
+ const overrideVersion = rootPackageJson.overrides?.[dep];
3693
+ if (typeof overrideVersion === "string")
3694
+ return overrideVersion;
3692
3695
  try {
3693
3696
  const packageJsonPath = `pkgs/${dep}/package.json`;
3694
3697
  if (!await Bun.file(path8.join(this.workspace.workspaceRoot, packageJsonPath)).exists())
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  runner,
4
4
  script
5
- } from "./index-b3ae16mg.js";
5
+ } from "./index-6na0sd2b.js";
6
6
 
7
7
  // pkgs/@akanjs/cli/page/page.runner.ts
8
8
  class PageRunner extends runner("page") {
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  AppExecutor,
4
4
  LibExecutor
5
- } from "./index-5nyznra1.js";
5
+ } from "./index-p4p9t45x.js";
6
6
 
7
7
  // pkgs/@akanjs/devkit/workflow/utils.ts
8
8
  var jsonText = (value, { trailingNewline = true } = {}) => `${JSON.stringify(value, null, 2)}${trailingNewline ? `
@@ -21,49 +21,6 @@ var uniqueBy = (values, key) => {
21
21
  };
22
22
  var compactDiagnostics = (diagnostics) => diagnostics.filter((diagnostic) => !!diagnostic);
23
23
 
24
- // pkgs/@akanjs/devkit/workflow/primitive.ts
25
- var createPrimitiveWriteReport = ({
26
- command,
27
- status,
28
- changedFiles = [],
29
- generatedFiles = [],
30
- validationCommands = [],
31
- diagnostics = [],
32
- nextActions = []
33
- }) => ({
34
- schemaVersion: 1,
35
- command,
36
- status: status ?? (diagnostics.some((diagnostic) => diagnostic.severity === "error") ? "failed" : "passed"),
37
- changedFiles,
38
- generatedFiles,
39
- validationCommands,
40
- diagnostics,
41
- nextActions
42
- });
43
- var renderPrimitiveWriteReport = (report) => [
44
- `# Primitive Write: ${report.command}`,
45
- "",
46
- `- Status: ${report.status}`,
47
- "",
48
- "## Changed Files",
49
- ...report.changedFiles.length ? report.changedFiles.map((file) => `- \`${file.action}\` ${file.path}: ${file.reason}`) : ["- none"],
50
- "",
51
- "## Generated Files",
52
- ...report.generatedFiles.length ? report.generatedFiles.map((file) => `- \`${file.action}\` ${file.path}: ${file.reason}`) : ["- none"],
53
- "",
54
- "## Validation Commands",
55
- ...report.validationCommands.length ? report.validationCommands.map((validation) => `- \`${validation.command}\`: ${validation.reason}`) : ["- none"],
56
- "",
57
- "## Diagnostics",
58
- ...report.diagnostics.length ? report.diagnostics.map((diagnostic) => `- [${diagnostic.severity}] ${diagnostic.code}: ${diagnostic.message}`) : ["- none"],
59
- "",
60
- "## Next Actions",
61
- ...report.nextActions.length ? report.nextActions.map((action) => `- \`${action.command}\`: ${action.reason}`) : ["- none"],
62
- ""
63
- ].join(`
64
- `);
65
- var renderPrimitiveReport = (report, format = "markdown") => format === "json" ? jsonText(report) : renderPrimitiveWriteReport(report);
66
-
67
24
  // pkgs/@akanjs/devkit/workflow/artifacts.ts
68
25
  var sourceChangeBlocked = (diagnostics) => diagnostics.some((diagnostic) => diagnostic.severity === "error" && (diagnostic.failureScope === "source-change" || !diagnostic.failureScope || diagnostic.failureScope === "unknown"));
69
26
  var workflowPlanApproval = {
@@ -415,6 +372,49 @@ var createRepairReport = ({
415
372
  generatedFiles,
416
373
  ...syncedAt ? { syncedAt } : {}
417
374
  });
375
+
376
+ // pkgs/@akanjs/devkit/workflow/primitive.ts
377
+ var createPrimitiveWriteReport = ({
378
+ command,
379
+ status,
380
+ changedFiles = [],
381
+ generatedFiles = [],
382
+ validationCommands = [],
383
+ diagnostics = [],
384
+ nextActions = []
385
+ }) => ({
386
+ schemaVersion: 1,
387
+ command,
388
+ status: status ?? (diagnostics.some((diagnostic) => diagnostic.severity === "error") ? "failed" : "passed"),
389
+ changedFiles,
390
+ generatedFiles,
391
+ validationCommands,
392
+ diagnostics,
393
+ nextActions
394
+ });
395
+ var renderPrimitiveWriteReport = (report) => [
396
+ `# Primitive Write: ${report.command}`,
397
+ "",
398
+ `- Status: ${report.status}`,
399
+ "",
400
+ "## Changed Files",
401
+ ...report.changedFiles.length ? report.changedFiles.map((file) => `- \`${file.action}\` ${file.path}: ${file.reason}`) : ["- none"],
402
+ "",
403
+ "## Generated Files",
404
+ ...report.generatedFiles.length ? report.generatedFiles.map((file) => `- \`${file.action}\` ${file.path}: ${file.reason}`) : ["- none"],
405
+ "",
406
+ "## Validation Commands",
407
+ ...report.validationCommands.length ? report.validationCommands.map((validation) => `- \`${validation.command}\`: ${validation.reason}`) : ["- none"],
408
+ "",
409
+ "## Diagnostics",
410
+ ...report.diagnostics.length ? report.diagnostics.map((diagnostic) => `- [${diagnostic.severity}] ${diagnostic.code}: ${diagnostic.message}`) : ["- none"],
411
+ "",
412
+ "## Next Actions",
413
+ ...report.nextActions.length ? report.nextActions.map((action) => `- \`${action.command}\`: ${action.reason}`) : ["- none"],
414
+ ""
415
+ ].join(`
416
+ `);
417
+ var renderPrimitiveReport = (report, format = "markdown") => format === "json" ? jsonText(report) : renderPrimitiveWriteReport(report);
418
418
  // pkgs/@akanjs/devkit/workflow/executor.ts
419
419
  import ts3 from "typescript";
420
420
 
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  AppInfo
4
- } from "./index-5nyznra1.js";
4
+ } from "./index-p4p9t45x.js";
5
5
 
6
6
  // pkgs/@akanjs/devkit/slicePlanner.ts
7
7
  class SlicePlanner {