@akanjs/cli 2.4.1-rc.7 → 2.4.1
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/{agent.command-t4346579.js → agent.command-sa12ccz3.js} +2 -2
- package/{application.command-zkmeemdt.js → application.command-jv63vv7z.js} +4 -4
- package/{applicationBuildRunner-5w8j9yp7.js → applicationBuildRunner-vzjdgv1g.js} +3 -2
- package/buildBatch.proc.js +3 -2
- package/{cloud.command-5ztqxppm.js → cloud.command-8z2nc6b2.js} +7 -7
- package/{context.command-smwxwgwf.js → context.command-0m854xme.js} +8 -8
- package/{guideline.command-1r0esdjs.js → guideline.command-dsdpae45.js} +1 -1
- package/incrementalBuilder.proc.js +3 -3
- package/{index-3sd2vape.js → index-1b9f27pm.js} +1 -1
- package/{index-fh990y67.js → index-3a4vntr0.js} +1 -1
- package/{index-jbtn8h1y.js → index-81epkybm.js} +1 -1
- package/{index-0fn1r7gg.js → index-bjpxzr6s.js} +31 -4
- package/{index-ahpcr9ss.js → index-d2e2y85b.js} +1 -1
- package/{index-0jwvs8vp.js → index-e3b8ms64.js} +6 -6
- package/{index-s9yajzkj.js → index-eja0sbm6.js} +4 -4
- package/{index-wh201a76.js → index-h6pevatb.js} +2 -2
- package/{index-2v6a4wd5.js → index-m04as81s.js} +2 -2
- package/index-m0vg9n8z.js +2219 -0
- package/{index-n5y2gbf2.js → index-n2mp0f48.js} +200 -19
- package/{index-nv7et4t3.js → index-p9f1rpbp.js} +1 -1
- package/{index-qpz4csbs.js → index-phj3ewxv.js} +7 -1
- package/{index-pya1h7wx.js → index-q4sc46ec.js} +1 -1
- package/{index-y4kg682s.js → index-qacv44mm.js} +1 -1
- package/index-rh16j3c7.js +2166 -0
- package/{index-gr4cjv99.js → index-zw4aqvwh.js} +2 -2
- package/index.js +17 -17
- package/{library.command-jrew04m6.js → library.command-fhx5ce8n.js} +2 -2
- package/{localRegistry.command-m08dkm1b.js → localRegistry.command-18f61945.js} +6 -6
- package/{module.command-p98t7522.js → module.command-29wvnb56.js} +3 -3
- package/{package.command-57dyrfmn.js → package.command-46r1dncm.js} +2 -2
- package/package.json +2 -2
- package/{page.command-tas6f3na.js → page.command-vxvqdzc0.js} +2 -2
- package/{primitive.command-bjrbsakw.js → primitive.command-yk622wmt.js} +4 -4
- package/{quality.command-zavaafbw.js → quality.command-p0mb5xwt.js} +1 -1
- package/{repair.command-je57wx67.js → repair.command-nptckp6w.js} +2 -2
- package/{scalar.command-gqqyy1kr.js → scalar.command-bss14hez.js} +2 -2
- package/templates/workspaceRoot/.cursor/rules/coding-comments.mdc.template +19 -0
- package/{workflow.command-d6mrc47s.js → workflow.command-7fhqb33d.js} +6 -6
- package/{workspace.command-bbg96z8k.js → workspace.command-xkcec7ky.js} +15 -15
- package/index-khzzttv1.js +0 -4274
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
} from "./index-5vvwc0cz.js";
|
|
8
8
|
import {
|
|
9
9
|
openBrowser
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-n2mp0f48.js";
|
|
11
11
|
import {
|
|
12
12
|
runner
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-phj3ewxv.js";
|
|
14
14
|
import {
|
|
15
15
|
AppExecutor,
|
|
16
16
|
WorkspaceExecutor
|
package/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
getTargetCommandNames,
|
|
5
5
|
getTargetMetas,
|
|
6
6
|
runCommands
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-phj3ewxv.js";
|
|
8
8
|
import"./index-0t7pwff2.js";
|
|
9
9
|
import"./index-61keag0s.js";
|
|
10
10
|
import"./index-6pz1j0zj.js";
|
|
@@ -17,22 +17,22 @@ import path from "path";
|
|
|
17
17
|
|
|
18
18
|
// pkgs/@akanjs/cli/commandModules.ts
|
|
19
19
|
var commandModules = {
|
|
20
|
-
workspace: async () => (await import("./workspace.command-
|
|
21
|
-
agent: async () => (await import("./agent.command-
|
|
22
|
-
application: async () => (await import("./application.command-
|
|
23
|
-
library: async () => (await import("./library.command-
|
|
24
|
-
localRegistry: async () => (await import("./localRegistry.command-
|
|
25
|
-
package: async () => (await import("./package.command-
|
|
26
|
-
module: async () => (await import("./module.command-
|
|
27
|
-
page: async () => (await import("./page.command-
|
|
28
|
-
context: async () => (await import("./context.command-
|
|
29
|
-
cloud: async () => (await import("./cloud.command-
|
|
30
|
-
guideline: async () => (await import("./guideline.command-
|
|
31
|
-
scalar: async () => (await import("./scalar.command-
|
|
32
|
-
primitive: async () => (await import("./primitive.command-
|
|
33
|
-
quality: async () => (await import("./quality.command-
|
|
34
|
-
repair: async () => (await import("./repair.command-
|
|
35
|
-
workflow: async () => (await import("./workflow.command-
|
|
20
|
+
workspace: async () => (await import("./workspace.command-xkcec7ky.js")).WorkspaceCommand,
|
|
21
|
+
agent: async () => (await import("./agent.command-sa12ccz3.js")).AgentCommand,
|
|
22
|
+
application: async () => (await import("./application.command-jv63vv7z.js")).ApplicationCommand,
|
|
23
|
+
library: async () => (await import("./library.command-fhx5ce8n.js")).LibraryCommand,
|
|
24
|
+
localRegistry: async () => (await import("./localRegistry.command-18f61945.js")).LocalRegistryCommand,
|
|
25
|
+
package: async () => (await import("./package.command-46r1dncm.js")).PackageCommand,
|
|
26
|
+
module: async () => (await import("./module.command-29wvnb56.js")).ModuleCommand,
|
|
27
|
+
page: async () => (await import("./page.command-vxvqdzc0.js")).PageCommand,
|
|
28
|
+
context: async () => (await import("./context.command-0m854xme.js")).ContextCommand,
|
|
29
|
+
cloud: async () => (await import("./cloud.command-8z2nc6b2.js")).CloudCommand,
|
|
30
|
+
guideline: async () => (await import("./guideline.command-dsdpae45.js")).GuidelineCommand,
|
|
31
|
+
scalar: async () => (await import("./scalar.command-bss14hez.js")).ScalarCommand,
|
|
32
|
+
primitive: async () => (await import("./primitive.command-yk622wmt.js")).PrimitiveCommand,
|
|
33
|
+
quality: async () => (await import("./quality.command-p0mb5xwt.js")).QualityCommand,
|
|
34
|
+
repair: async () => (await import("./repair.command-nptckp6w.js")).RepairCommand,
|
|
35
|
+
workflow: async () => (await import("./workflow.command-7fhqb33d.js")).WorkflowCommand
|
|
36
36
|
};
|
|
37
37
|
var commandModuleIds = Object.keys(commandModules);
|
|
38
38
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
LibraryScript
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-3a4vntr0.js";
|
|
5
5
|
import {
|
|
6
6
|
Lib,
|
|
7
7
|
Workspace,
|
|
8
8
|
command
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-phj3ewxv.js";
|
|
10
10
|
import"./index-0t7pwff2.js";
|
|
11
11
|
import"./index-61keag0s.js";
|
|
12
12
|
import"./index-6pz1j0zj.js";
|
|
@@ -2,29 +2,29 @@
|
|
|
2
2
|
import {
|
|
3
3
|
CloudRunner,
|
|
4
4
|
getNpmRegistryUrl
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-zw4aqvwh.js";
|
|
6
6
|
import"./index-5vvwc0cz.js";
|
|
7
7
|
import {
|
|
8
8
|
ApplicationScript
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-n2mp0f48.js";
|
|
10
10
|
import"./index-76rn3g2c.js";
|
|
11
|
-
import"./index-
|
|
11
|
+
import"./index-3a4vntr0.js";
|
|
12
12
|
import {
|
|
13
13
|
PackageScript
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-p9f1rpbp.js";
|
|
15
15
|
import {
|
|
16
16
|
Workspace,
|
|
17
17
|
command,
|
|
18
18
|
runner,
|
|
19
19
|
script
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-phj3ewxv.js";
|
|
21
21
|
import"./index-fgc8r6dj.js";
|
|
22
22
|
import {
|
|
23
23
|
PkgExecutor
|
|
24
24
|
} from "./index-0t7pwff2.js";
|
|
25
25
|
import"./index-x53a5nya.js";
|
|
26
26
|
import"./index-61keag0s.js";
|
|
27
|
-
import"./index-
|
|
27
|
+
import"./index-bjpxzr6s.js";
|
|
28
28
|
import"./index-6pz1j0zj.js";
|
|
29
29
|
import"./index-r24hmh0q.js";
|
|
30
30
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
ModuleScript
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
4
|
+
} from "./index-h6pevatb.js";
|
|
5
|
+
import"./index-qacv44mm.js";
|
|
6
6
|
import"./index-ss469dec.js";
|
|
7
7
|
import {
|
|
8
8
|
renderPrimitiveReport
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
Module,
|
|
14
14
|
Sys,
|
|
15
15
|
command
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-phj3ewxv.js";
|
|
17
17
|
import"./index-0t7pwff2.js";
|
|
18
18
|
import"./index-61keag0s.js";
|
|
19
19
|
import"./index-6pz1j0zj.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
PackageScript
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-p9f1rpbp.js";
|
|
5
5
|
import {
|
|
6
6
|
Pkg,
|
|
7
7
|
Workspace,
|
|
8
8
|
command
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-phj3ewxv.js";
|
|
10
10
|
import"./index-0t7pwff2.js";
|
|
11
11
|
import"./index-x53a5nya.js";
|
|
12
12
|
import"./index-61keag0s.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akanjs/cli",
|
|
3
|
-
"version": "2.4.1
|
|
3
|
+
"version": "2.4.1",
|
|
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": "2.4.1
|
|
37
|
+
"akanjs": "2.4.1",
|
|
38
38
|
"chalk": "^5.6.2",
|
|
39
39
|
"commander": "^14.0.3",
|
|
40
40
|
"daisyui": "5.5.23",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
PageScript
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-qacv44mm.js";
|
|
5
5
|
import {
|
|
6
6
|
App,
|
|
7
7
|
Module,
|
|
8
8
|
command
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-phj3ewxv.js";
|
|
10
10
|
import"./index-0t7pwff2.js";
|
|
11
11
|
import"./index-61keag0s.js";
|
|
12
12
|
import"./index-6pz1j0zj.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
PrimitiveScript
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
6
|
-
import"./index-
|
|
4
|
+
} from "./index-m04as81s.js";
|
|
5
|
+
import"./index-h6pevatb.js";
|
|
6
|
+
import"./index-qacv44mm.js";
|
|
7
7
|
import"./index-ss469dec.js";
|
|
8
8
|
import {
|
|
9
9
|
renderPrimitiveReport
|
|
@@ -13,7 +13,7 @@ import"./index-5vvwc0cz.js";
|
|
|
13
13
|
import {
|
|
14
14
|
Workspace,
|
|
15
15
|
command
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-phj3ewxv.js";
|
|
17
17
|
import"./index-0t7pwff2.js";
|
|
18
18
|
import"./index-61keag0s.js";
|
|
19
19
|
import"./index-6pz1j0zj.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
RepairRunner
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-81epkybm.js";
|
|
5
5
|
import"./index-eay4t1te.js";
|
|
6
6
|
import"./index-2v10yr8g.js";
|
|
7
7
|
import {
|
|
8
8
|
Workspace,
|
|
9
9
|
command,
|
|
10
10
|
script
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-phj3ewxv.js";
|
|
12
12
|
import"./index-0t7pwff2.js";
|
|
13
13
|
import"./index-61keag0s.js";
|
|
14
14
|
import"./index-6pz1j0zj.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
ScalarScript
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-d2e2y85b.js";
|
|
5
5
|
import"./index-ss469dec.js";
|
|
6
6
|
import {
|
|
7
7
|
renderPrimitiveReport
|
|
@@ -11,7 +11,7 @@ import"./index-5vvwc0cz.js";
|
|
|
11
11
|
import {
|
|
12
12
|
Sys,
|
|
13
13
|
command
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-phj3ewxv.js";
|
|
15
15
|
import"./index-0t7pwff2.js";
|
|
16
16
|
import"./index-61keag0s.js";
|
|
17
17
|
import"./index-6pz1j0zj.js";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Never comment in code except TODO/FIXME/XXX or deletion warnings
|
|
3
|
+
alwaysApply: true
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Comments
|
|
7
|
+
|
|
8
|
+
- Never add comments in code by default.
|
|
9
|
+
- Prefer clear names and structure so the code needs no explanation.
|
|
10
|
+
- Do not narrate what the code already says.
|
|
11
|
+
- Do not add JSDoc, section banners, or "why/how" comments for ordinary logic.
|
|
12
|
+
- Comments are allowed only for these purposes:
|
|
13
|
+
1. `TODO` — unfinished work that must be tracked in-code
|
|
14
|
+
2. `FIXME` — known broken or incorrect behavior that must be fixed
|
|
15
|
+
3. `XXX` — dangerous / surprising hazard that a reader must not miss
|
|
16
|
+
4. Deletion caution — warn why removing a line or block would break something non-obvious
|
|
17
|
+
- Keep allowed comments one short line when possible.
|
|
18
|
+
- Match nearby file style: if the surrounding code has few comments, keep it that way.
|
|
19
|
+
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
WorkflowRunner
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-1b9f27pm.js";
|
|
5
5
|
import {
|
|
6
6
|
ScalarScript
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-d2e2y85b.js";
|
|
8
8
|
import {
|
|
9
9
|
PrimitiveScript
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-m04as81s.js";
|
|
11
11
|
import {
|
|
12
12
|
ModuleScript
|
|
13
|
-
} from "./index-
|
|
14
|
-
import"./index-
|
|
13
|
+
} from "./index-h6pevatb.js";
|
|
14
|
+
import"./index-qacv44mm.js";
|
|
15
15
|
import"./index-ss469dec.js";
|
|
16
16
|
import"./index-eay4t1te.js";
|
|
17
17
|
import {
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
Workspace,
|
|
24
24
|
command,
|
|
25
25
|
script
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-phj3ewxv.js";
|
|
27
27
|
import"./index-0t7pwff2.js";
|
|
28
28
|
import"./index-61keag0s.js";
|
|
29
29
|
import"./index-6pz1j0zj.js";
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
ContextScript
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
6
|
-
import"./index-
|
|
4
|
+
} from "./index-e3b8ms64.js";
|
|
5
|
+
import"./index-81epkybm.js";
|
|
6
|
+
import"./index-1b9f27pm.js";
|
|
7
7
|
import {
|
|
8
8
|
CloudScript
|
|
9
|
-
} from "./index-
|
|
10
|
-
import"./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
9
|
+
} from "./index-eja0sbm6.js";
|
|
10
|
+
import"./index-d2e2y85b.js";
|
|
11
|
+
import"./index-m04as81s.js";
|
|
12
|
+
import"./index-h6pevatb.js";
|
|
13
|
+
import"./index-qacv44mm.js";
|
|
14
14
|
import"./index-ss469dec.js";
|
|
15
15
|
import"./index-hk58kr1m.js";
|
|
16
16
|
import {
|
|
17
17
|
AgentScript
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-q4sc46ec.js";
|
|
19
19
|
import"./index-eay4t1te.js";
|
|
20
20
|
import"./index-2v10yr8g.js";
|
|
21
21
|
import"./index-eqxmxan6.js";
|
|
22
22
|
import {
|
|
23
23
|
getLatestPackageVersion,
|
|
24
24
|
getNpmRegistryUrl
|
|
25
|
-
} from "./index-
|
|
25
|
+
} from "./index-zw4aqvwh.js";
|
|
26
26
|
import {
|
|
27
27
|
GlobalConfig
|
|
28
28
|
} from "./index-5vvwc0cz.js";
|
|
29
29
|
import {
|
|
30
30
|
ApplicationScript
|
|
31
|
-
} from "./index-
|
|
31
|
+
} from "./index-n2mp0f48.js";
|
|
32
32
|
import"./index-76rn3g2c.js";
|
|
33
33
|
import {
|
|
34
34
|
LibraryScript
|
|
35
|
-
} from "./index-
|
|
35
|
+
} from "./index-3a4vntr0.js";
|
|
36
36
|
import {
|
|
37
37
|
PackageScript
|
|
38
|
-
} from "./index-
|
|
38
|
+
} from "./index-p9f1rpbp.js";
|
|
39
39
|
import {
|
|
40
40
|
Exec,
|
|
41
41
|
Workspace,
|
|
42
42
|
command,
|
|
43
43
|
runner,
|
|
44
44
|
script
|
|
45
|
-
} from "./index-
|
|
45
|
+
} from "./index-phj3ewxv.js";
|
|
46
46
|
import"./index-fgc8r6dj.js";
|
|
47
47
|
import {
|
|
48
48
|
AppExecutor,
|
|
@@ -54,7 +54,7 @@ import"./index-x53a5nya.js";
|
|
|
54
54
|
import {
|
|
55
55
|
FileSys
|
|
56
56
|
} from "./index-61keag0s.js";
|
|
57
|
-
import"./index-
|
|
57
|
+
import"./index-bjpxzr6s.js";
|
|
58
58
|
import"./index-6pz1j0zj.js";
|
|
59
59
|
import"./index-r24hmh0q.js";
|
|
60
60
|
|