@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.
- package/.build-stamp +1 -1
- package/{agent.command-964bf8qg.js → agent.command-xdvw642m.js} +5 -5
- package/{application.command-n45n18sc.js → application.command-g3f7xj25.js} +27 -4
- package/buildBatch.proc.js +1 -1
- package/{capacitorApp-vnvnvdhf.js → capacitorApp-b0ppke3m.js} +2 -2
- package/{cloud.command-kx1bh5yq.js → cloud.command-0hmsv44q.js} +7 -7
- package/commandManifest.json +1 -1
- package/{context.command-g1a65x6j.js → context.command-x92afrnf.js} +12 -12
- package/{guideline.command-xphyhvwh.js → guideline.command-hpq08q66.js} +2 -2
- package/guidelines/conventions/conventions.instruction.md +255 -436
- package/guidelines/framework/framework.generate.json +3 -2
- package/guidelines/framework/framework.instruction.md +0 -9
- package/guidelines/mcpRule/mcpRule.instruction.md +5 -8
- package/guidelines/queryRule/queryRule.generate.json +31 -0
- package/guidelines/queryRule/queryRule.instruction.md +143 -0
- package/guidelines/runtimeRule/runtimeRule.generate.json +25 -0
- package/guidelines/runtimeRule/runtimeRule.instruction.md +176 -0
- package/guidelines/transportRule/transportRule.generate.json +31 -0
- package/guidelines/transportRule/transportRule.instruction.md +60 -0
- package/guidelines/workspaceOnboarding/workspaceOnboarding.instruction.md +17 -392
- package/guidelines/workspaceRecipes/workspaceRecipes.generate.json +33 -0
- package/guidelines/workspaceRecipes/workspaceRecipes.instruction.md +402 -0
- package/incrementalBuilder.proc.js +1 -1
- package/{index-nkwmnqwn.js → index-5f4gnt4c.js} +1 -0
- package/{index-va15r8h5.js → index-6d5r8q6k.js} +2 -2
- package/{index-4rw4qhe6.js → index-737aj4fm.js} +3 -3
- package/{index-ytaqtc04.js → index-8besc14m.js} +1 -1
- package/{index-hee7egtm.js → index-cbfp5wyp.js} +1 -1
- package/{index-mkn5qagt.js → index-cp00yns2.js} +70 -4
- package/{index-nj3w0r34.js → index-ety6takb.js} +3 -3
- package/{index-e31ghfp5.js → index-gvq17wqn.js} +1 -1
- package/{index-8gybxemv.js → index-hs70d8ed.js} +5 -5
- package/{index-0ngvvgry.js → index-jybbmwed.js} +2 -2
- package/{index-bqqts262.js → index-m5gfc86a.js} +1 -1
- package/{index-qt4nfr0n.js → index-nq3avsf6.js} +10 -10
- package/{index-yg3hxk2k.js → index-p27h7535.js} +4 -4
- package/{index-fahkq20v.js → index-pehn44hr.js} +3 -3
- package/{index-v5fdxdre.js → index-r691v756.js} +2 -2
- package/{index-p681w089.js → index-sqsfv8wg.js} +2 -2
- package/{index-rbnpe8cp.js → index-wbbswwqt.js} +17 -21
- package/{index-rb65xnw9.js → index-wybbcgxn.js} +4 -4
- package/index.js +18 -18
- package/{library.command-rfpd27yv.js → library.command-8vgrdtwy.js} +3 -3
- package/{localRegistry.command-pyxfe0fs.js → localRegistry.command-0gtqj0r0.js} +6 -6
- package/{module.command-qhaxad0p.js → module.command-rama4zya.js} +5 -5
- package/{package.command-2k22q9nt.js → package.command-6jxapdsg.js} +3 -3
- package/package.json +2 -2
- package/{page.command-ymk9dqh4.js → page.command-hxy7x525.js} +3 -3
- package/{primitive.command-9k45zpc1.js → primitive.command-4bf6xcc3.js} +6 -6
- package/{quality.command-bf6vkxe5.js → quality.command-h5edwegz.js} +2 -2
- package/{repair.command-egvvm6xf.js → repair.command-rgqf6px6.js} +5 -5
- package/{scalar.command-bt1facyj.js → scalar.command-6krkz6tw.js} +4 -4
- package/templates/workspaceRoot/AGENTS.md.template +4 -0
- package/{workflow.command-v1n3wg7v.js → workflow.command-dwhwrqhd.js} +9 -9
- package/{workspace.command-yvvqvhzz.js → workspace.command-f5h11gjn.js} +18 -18
package/.build-stamp
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
c08012757b2708a1699f9196c5c763ff7548b2c2eee46b18086317b4d1be2eef
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
AgentScript
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
6
|
-
import"./index-
|
|
4
|
+
} from "./index-wbbswwqt.js";
|
|
5
|
+
import"./index-6d5r8q6k.js";
|
|
6
|
+
import"./index-8besc14m.js";
|
|
7
7
|
import"./index-j37qq1f2.js";
|
|
8
8
|
import {
|
|
9
9
|
Workspace,
|
|
10
10
|
command
|
|
11
|
-
} from "./index-
|
|
12
|
-
import"./index-
|
|
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";
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
} from "./index-0wae5ebk.js";
|
|
5
5
|
import {
|
|
6
6
|
ApplicationScript
|
|
7
|
-
} from "./index-
|
|
8
|
-
import"./index-
|
|
7
|
+
} from "./index-cp00yns2.js";
|
|
8
|
+
import"./index-sqsfv8wg.js";
|
|
9
9
|
import {
|
|
10
10
|
getMobileTargetChoices
|
|
11
11
|
} from "./index-76rn3g2c.js";
|
|
@@ -15,10 +15,10 @@ import {
|
|
|
15
15
|
Sys,
|
|
16
16
|
Workspace,
|
|
17
17
|
command
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-gvq17wqn.js";
|
|
19
19
|
import"./index-fgc8r6dj.js";
|
|
20
20
|
import"./index-5vy2jzar.js";
|
|
21
|
-
import"./index-
|
|
21
|
+
import"./index-5f4gnt4c.js";
|
|
22
22
|
import"./index-f39512t6.js";
|
|
23
23
|
import"./index-mxvakhsm.js";
|
|
24
24
|
import"./index-1577bej2.js";
|
|
@@ -57,6 +57,29 @@ class ApplicationCommand extends command("application", [ApplicationScript], ({
|
|
|
57
57
|
console: target({ desc: "Open an interactive server console for the application" }).with(App).exec(async function(app) {
|
|
58
58
|
await this.applicationScript.console(app);
|
|
59
59
|
}),
|
|
60
|
+
logs: target({ desc: "Tail the running application's logs, filtered (attaches to akan-control.sock)" }).with(App).option("level", String, { desc: "minimum level: trace, verbose, debug, info, warn, error", nullable: true }).option("grep", String, { desc: "substring the message must contain", nullable: true }).option("endpoint", String, {
|
|
61
|
+
desc: "endpoint glob(s), comma-separated: mutation:*, query:userList",
|
|
62
|
+
nullable: true
|
|
63
|
+
}).option("trace", String, { desc: "one request's traceId", nullable: true }).option("child", String, { desc: "replica index(es), comma-separated", nullable: true }).option("role", String, { flag: "R", desc: "process role(s): gateway, all, batch, rsc-worker", nullable: true }).option("origin", String, { desc: "call origin(s): http, websocket, mcp, internal, page", nullable: true }).option("since", String, { desc: "only records newer than this: 5m, 30s, or epoch ms", nullable: true }).option("replay", Number, { flag: "n", desc: "records to replay from the buffer before following", default: 0 }).option("json", Boolean, { desc: "print NDJSON records instead of rendered lines", default: false }).option("follow", Boolean, { desc: "keep streaming; pass --follow false for history only", default: true }).option("runtimeDir", String, {
|
|
64
|
+
flag: "d",
|
|
65
|
+
desc: "runtime dir holding akan-control.sock (default: local/apps/<app>/runtime)",
|
|
66
|
+
nullable: true
|
|
67
|
+
}).exec(async function(app, level, grep, endpoint, trace, child, role, origin, since, replay, json, follow, runtimeDir) {
|
|
68
|
+
await this.applicationScript.logs(app, {
|
|
69
|
+
level,
|
|
70
|
+
grep,
|
|
71
|
+
endpoint,
|
|
72
|
+
trace,
|
|
73
|
+
child,
|
|
74
|
+
role,
|
|
75
|
+
origin,
|
|
76
|
+
since,
|
|
77
|
+
replay,
|
|
78
|
+
json,
|
|
79
|
+
follow,
|
|
80
|
+
runtimeDir
|
|
81
|
+
});
|
|
82
|
+
}),
|
|
60
83
|
build: target({ short: true, desc: "Build the application for production (frontend + backend)" }).with(App).option("write", Boolean, { desc: "write code generation", default: true }).option("fast", Boolean, { desc: "fast build", default: false }).option("quiet", Boolean, { desc: "hide build progress output", default: false }).exec(async function(app, write, fast, quiet) {
|
|
61
84
|
await this.applicationScript.build(app, { write, fast, quiet });
|
|
62
85
|
}),
|
package/buildBatch.proc.js
CHANGED
|
@@ -25,9 +25,9 @@ import {
|
|
|
25
25
|
selectLocalDevHost,
|
|
26
26
|
sortIosRunTargets,
|
|
27
27
|
writeRootCapacitorConfig
|
|
28
|
-
} from "./index-
|
|
28
|
+
} from "./index-cbfp5wyp.js";
|
|
29
29
|
import"./index-76rn3g2c.js";
|
|
30
|
-
import"./index-
|
|
30
|
+
import"./index-5f4gnt4c.js";
|
|
31
31
|
import"./index-f39512t6.js";
|
|
32
32
|
import"./index-mxvakhsm.js";
|
|
33
33
|
import"./index-1577bej2.js";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
CloudScript
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
6
|
-
import"./index-
|
|
4
|
+
} from "./index-hs70d8ed.js";
|
|
5
|
+
import"./index-737aj4fm.js";
|
|
6
|
+
import"./index-jybbmwed.js";
|
|
7
7
|
import {
|
|
8
8
|
GlobalConfig
|
|
9
9
|
} from "./index-sh01r3pm.js";
|
|
10
|
-
import"./index-
|
|
11
|
-
import"./index-
|
|
10
|
+
import"./index-cp00yns2.js";
|
|
11
|
+
import"./index-sqsfv8wg.js";
|
|
12
12
|
import"./index-76rn3g2c.js";
|
|
13
13
|
import {
|
|
14
14
|
Workspace,
|
|
15
15
|
command
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-gvq17wqn.js";
|
|
17
17
|
import"./index-fgc8r6dj.js";
|
|
18
18
|
import"./index-5vy2jzar.js";
|
|
19
|
-
import"./index-
|
|
19
|
+
import"./index-5f4gnt4c.js";
|
|
20
20
|
import"./index-f39512t6.js";
|
|
21
21
|
import"./index-mxvakhsm.js";
|
|
22
22
|
import"./index-1577bej2.js";
|
package/commandManifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"byCommand":{"create-workspace":"workspace","generate-agent-rules":"workspace","lint":"workspace","lint-all":"workspace","sync-all":"workspace","init":"workspace","agent":"agent","create-application":"application","remove-application":"application","sync":"application","compact":"application","script":"application","console":"application","build":"application","b":"application","typecheck":"application","t":"application","test":"application","build-ios":"application","bi":"application","build-android":"application","ba":"application","start":"application","s":"application","start-ios":"application","si":"application","start-android":"application","sa":"application","release-ios":"application","release-android":"application","release-source":"application","codepush":"application","dbup":"application","dbdown":"application","configure-app":"application","create-library":"library","remove-library":"library","sync-library":"library","install-library":"library","start-registry":"localRegistry","reset-registry":"localRegistry","smoke-registry":"localRegistry","version":"package","create-package":"package","remove-package":"package","sync-package":"package","build-package":"package","verify-dist-package":"package","verify-akan-publish-packages":"package","create-module":"module","remove-module":"module","create-service":"module","create-view":"module","create-unit":"module","create-template":"module","create-crud-page":"page","context":"context","doctor":"context","mcp-install":"context","mcp":"context","mcp-call":"context","login":"cloud","logout":"cloud","set-llm":"cloud","reset-llm":"cloud","ask":"cloud","deploy-akan":"cloud","update":"cloud","download-env":"cloud","upload-env":"cloud","guideline":"guideline","generate-instruction":"guideline","update-instruction":"guideline","generate-document":"guideline","reapply-instruction":"guideline","create-scalar":"scalar","remove-scalar":"scalar","create-ui":"primitive","add-field":"primitive","add-enum-field":"primitive","quality":"quality","repair":"repair","workflow":"workflow"}}
|
|
1
|
+
{"byCommand":{"create-workspace":"workspace","generate-agent-rules":"workspace","lint":"workspace","lint-all":"workspace","sync-all":"workspace","init":"workspace","agent":"agent","create-application":"application","remove-application":"application","sync":"application","compact":"application","script":"application","console":"application","logs":"application","build":"application","b":"application","typecheck":"application","t":"application","test":"application","build-ios":"application","bi":"application","build-android":"application","ba":"application","start":"application","s":"application","start-ios":"application","si":"application","start-android":"application","sa":"application","release-ios":"application","release-android":"application","release-source":"application","codepush":"application","dbup":"application","dbdown":"application","configure-app":"application","create-library":"library","remove-library":"library","sync-library":"library","install-library":"library","start-registry":"localRegistry","reset-registry":"localRegistry","smoke-registry":"localRegistry","version":"package","create-package":"package","remove-package":"package","sync-package":"package","build-package":"package","verify-dist-package":"package","verify-akan-publish-packages":"package","create-module":"module","remove-module":"module","create-service":"module","create-view":"module","create-unit":"module","create-template":"module","create-crud-page":"page","context":"context","doctor":"context","mcp-install":"context","mcp":"context","mcp-call":"context","login":"cloud","logout":"cloud","set-llm":"cloud","reset-llm":"cloud","ask":"cloud","deploy-akan":"cloud","update":"cloud","download-env":"cloud","upload-env":"cloud","guideline":"guideline","generate-instruction":"guideline","update-instruction":"guideline","generate-document":"guideline","reapply-instruction":"guideline","create-scalar":"scalar","remove-scalar":"scalar","create-ui":"primitive","add-field":"primitive","add-enum-field":"primitive","quality":"quality","repair":"repair","workflow":"workflow"}}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
ContextScript
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
6
|
-
import"./index-
|
|
7
|
-
import"./index-
|
|
8
|
-
import"./index-
|
|
9
|
-
import"./index-
|
|
4
|
+
} from "./index-nq3avsf6.js";
|
|
5
|
+
import"./index-ety6takb.js";
|
|
6
|
+
import"./index-pehn44hr.js";
|
|
7
|
+
import"./index-r691v756.js";
|
|
8
|
+
import"./index-wybbcgxn.js";
|
|
9
|
+
import"./index-p27h7535.js";
|
|
10
10
|
import"./index-ss469dec.js";
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
11
|
+
import"./index-m5gfc86a.js";
|
|
12
|
+
import"./index-cbfp5wyp.js";
|
|
13
13
|
import"./index-sh01r3pm.js";
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-
|
|
14
|
+
import"./index-6d5r8q6k.js";
|
|
15
|
+
import"./index-8besc14m.js";
|
|
16
16
|
import"./index-j37qq1f2.js";
|
|
17
17
|
import"./index-76rn3g2c.js";
|
|
18
18
|
import {
|
|
19
19
|
Workspace,
|
|
20
20
|
command
|
|
21
|
-
} from "./index-
|
|
22
|
-
import"./index-
|
|
21
|
+
} from "./index-gvq17wqn.js";
|
|
22
|
+
import"./index-5f4gnt4c.js";
|
|
23
23
|
import"./index-f39512t6.js";
|
|
24
24
|
import"./index-mxvakhsm.js";
|
|
25
25
|
import"./index-xys926f2.js";
|