@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.
- package/.build-stamp +1 -1
- package/CodeAgent-zgccwajm.js +9 -0
- package/CodeAgentRpcHost-qvwfv0n9.js +7 -0
- package/CodeTui-993tx7gf.js +1103 -0
- package/README.md +3 -0
- package/{agent.command-bhwsc2aj.js → agent.command-n664dtcv.js} +6 -6
- package/akanCode.js +100 -0
- package/{application.command-436y543n.js → application.command-t5542jte.js} +6 -5
- package/{applicationBuildRunner-4f1wrba0.js → applicationBuildRunner-x4gbfn7y.js} +2 -2
- package/{applicationReleasePackager-jkjmy5ee.js → applicationReleasePackager-z61ep017.js} +1 -1
- package/buildBatch.proc.js +2 -2
- package/{capacitorApp-hqvsrec4.js → capacitorApp-shv3ajh5.js} +2 -2
- package/{cloud.command-3xn0xpz8.js → cloud.command-4x35k1z6.js} +9 -8
- package/cloud.script-3k8nbbpn.js +20 -0
- package/code.command-mrfb7a1g.js +147 -0
- package/commandManifest.json +1 -1
- package/consoleToStderr-h5bryj94.js +7 -0
- package/{context.command-hxh96cc3.js → context.command-pqsm5jrk.js} +14 -13
- package/context.runner-bys6ykcp.js +22 -0
- package/{devTui-4ted58a6.js → devTui-gy6mendg.js} +114 -8
- package/{devTuiView-1dj2yq7t.js → devTuiView-y1548wy6.js} +1 -1
- package/{guideline.command-cyw8c0m0.js → guideline.command-rpc2emw8.js} +6 -6
- package/guidelines/agentRule/agentRule.instruction.md +22 -2
- package/guidelines/conventions/conventions.instruction.md +3 -1
- package/incrementalBuilder.proc.js +1 -1
- package/{index-t8gvwcrx.js → index-018dszb3.js} +13 -4
- package/{index-8pkvrcv1.js → index-2pm1j01n.js} +3 -3
- package/{index-7f4dsf9v.js → index-3cymrzsb.js} +1 -1
- package/{index-1nwxbr2y.js → index-3mg4h788.js} +2 -2
- package/{index-em4swemt.js → index-4cvpzkq6.js} +3 -3
- package/index-4n4821gp.js +69 -0
- package/index-5405kc0x.js +2434 -0
- package/{index-tt6kzwj5.js → index-57p9p179.js} +3 -3
- package/{index-b3ae16mg.js → index-6na0sd2b.js} +1 -1
- package/index-7md2g9vw.js +6 -0
- package/index-8k16atqy.js +82 -0
- package/{index-fad0hhty.js → index-g9zghs4h.js} +22 -80
- package/index-jgrnpt6y.js +121 -0
- package/{index-31hmq4ys.js → index-kvzjda3v.js} +8 -8
- package/{index-sg1bgdhe.js → index-ns128c4q.js} +27 -105
- package/{index-5nyznra1.js → index-p4p9t45x.js} +3 -0
- package/{index-sh88vtye.js → index-qh7brn20.js} +1 -1
- package/{index-jwjaf9fy.js → index-qhtj9y6j.js} +44 -44
- package/{index-ys7dvdb3.js → index-sn7dnzq4.js} +1 -1
- package/index-sxg87a8f.js +727 -0
- package/{index-r73ha1rf.js → index-te0y1c0m.js} +4 -4
- package/{index-h7yw2z9n.js → index-twq9p2sp.js} +8 -8
- package/{index-15r9a10e.js → index-v17gj504.js} +2 -2
- package/{index-1mrmve4s.js → index-vpx68e4x.js} +2 -2
- package/index-wfwknnje.js +124 -0
- package/{index-9fbk3dbh.js → index-xjc7gg65.js} +4 -4
- package/{index-8tcj5wk8.js → index-zg0v1zte.js} +5 -5
- package/{index-vrwdx0zx.js → index-zn8qgeqx.js} +1 -1
- package/index.js +21 -20
- package/{library.command-1f9h2ex6.js → library.command-m8p2r1dh.js} +3 -3
- package/{localRegistry.command-4cbgz63s.js → localRegistry.command-tt00nwwg.js} +8 -7
- package/{module.command-ew0484va.js → module.command-mfzvqt0n.js} +5 -5
- package/{package.command-y2rh4np7.js → package.command-8sy6jjwy.js} +3 -3
- package/package.json +12 -2
- package/{page.command-e5h29fyt.js → page.command-taenb02b.js} +3 -3
- package/{primitive.command-50ecfzg4.js → primitive.command-7kpncmkk.js} +6 -6
- package/prompter-9mn3kp36.js +8 -0
- package/{quality.command-a2jytczs.js → quality.command-1ar94hrw.js} +2 -2
- package/{repair.command-c2amvt74.js → repair.command-n08t6j8p.js} +5 -5
- package/{scalar.command-bptz6aj6.js → scalar.command-mq8qfp4t.js} +4 -4
- package/skills/akan-debug/SKILL.md +42 -0
- package/skills/akan-deps/SKILL.md +50 -0
- package/skills/akan-err/SKILL.md +39 -0
- package/skills/akan-module/SKILL.md +45 -0
- package/skills/akan-scaffold/SKILL.md +76 -0
- package/skills/akan-scalar/SKILL.md +52 -0
- package/skills/akan-service/SKILL.md +34 -0
- package/skills/akan-store/SKILL.md +63 -0
- package/skills/akan-ui/SKILL.md +63 -0
- package/skills/akan-validate/SKILL.md +44 -0
- package/{subspace.command-kmemx1vm.js → subspace.command-x9897gj4.js} +4 -4
- package/{tunnel.command-67q8vsg5.js → tunnel.command-ht2es78c.js} +2 -2
- package/{workflow.command-2ze5y2xp.js → workflow.command-tvz4nm9n.js} +9 -9
- package/{workspace.command-2n385jkt.js → workspace.command-ayqa1rgt.js} +22 -20
- 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
|
AppExecutor,
|
|
4
4
|
LibExecutor
|
|
5
|
-
} from "./index-
|
|
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
|
|