@akanjs/cli 3.2.0-rc.2 → 3.2.0-rc.21
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 +2 -1
- package/CodeAgent-faqv7t4g.js +11 -0
- package/{CodeTui-zyc7zaq6.js → CodeTui-vqck9tet.js} +822 -666
- package/README.ko.md +26 -1
- package/README.md +26 -1
- package/TunnelShare-bwe3ddv7.js +18 -0
- package/agent.command-p75jvgrd.js +56 -0
- package/akanCode.js +12 -12
- package/appExecutor-020cyesq.js +11 -0
- package/{application.command-vb278qnq.js → application.command-ta2knqxm.js} +72 -34
- package/{applicationBuildRunner-bqbyeg84.js → applicationBuildRunner-gkh82j2b.js} +18 -13
- package/buildBatch.proc.js +26 -11
- package/{cloud.command-ca777ee2.js → cloud.command-v3jhfvm5.js} +31 -28
- package/cloud.script-be9s1432.js +35 -0
- package/{code.command-j08txqcd.js → code.command-mh7dh1st.js} +14 -9
- package/{context.command-2fa6egp9.js → context.command-1ycfjkdd.js} +28 -23
- package/context.runner-333jkz86.js +34 -0
- package/{dependencyScanner-78sq8m4q.js → dependencyScanner-ge10gb52.js} +2 -2
- package/{devTui-w38ch13a.js → devTui-rf374y2w.js} +1 -1
- package/{fileSys-zpvt5gtf.js → fileSys-q22646yc.js} +1 -1
- package/{guideline.command-w6yqpdec.js → guideline.command-w1grfwh7.js} +9 -4
- package/guidelines/agentRule/agentRule.instruction.md +17 -5
- package/guidelines/akanApi/akanApi.instruction.md +5 -3
- package/guidelines/conventions/core.md +23 -5
- package/guidelines/conventions/rules/app.md +4 -1
- package/guidelines/conventions/rules/page.md +5 -0
- package/guidelines/errorCodes/errorCodes.instruction.md +158 -0
- package/guidelines/fieldRule/fieldRule.instruction.md +2 -1
- package/guidelines/mcpRule/mcpRule.instruction.md +86 -2
- package/guidelines/pageRule/pageRule.instruction.md +11 -1
- package/guidelines/runtimeRule/runtimeRule.instruction.md +7 -2
- package/guidelines/transportRule/transportRule.instruction.md +8 -1
- package/incrementalBuilder.proc.js +574 -410
- package/{index-c5ymqb05.js → index-013n6z7m.js} +12 -12
- package/{index-w15mg3km.js → index-0dm25wvf.js} +1 -1
- package/{index-8nbx607g.js → index-0hj82f9w.js} +136 -48
- package/{index-ebwkh7bt.js → index-1c0mjc2b.js} +25 -7
- package/{index-6h775rv3.js → index-1jk52ffq.js} +53 -12
- package/{index-hj6w4ka1.js → index-1p81ecbz.js} +1 -1
- package/{index-ygrdw6jw.js → index-1pjwsh2g.js} +65 -8
- package/{index-cbcwxp5v.js → index-22g3jq43.js} +9 -7
- package/{index-466z5931.js → index-2d9nm03s.js} +580 -364
- package/{index-0fj9ra3q.js → index-2k6mve6a.js} +18 -11
- package/{index-qd7xn2bk.js → index-2ny1e95c.js} +2 -2
- package/{index-j7p0jgaq.js → index-52w4jb87.js} +6 -6
- package/{index-e22zedc2.js → index-5h888r6j.js} +3 -3
- package/{index-7kmbqp0b.js → index-6pxmcaq8.js} +1 -1
- package/{index-xa0289eg.js → index-6zb17wcm.js} +16 -9
- package/{index-qgazn58x.js → index-7a07tdap.js} +50 -38
- package/{index-m5sg5spm.js → index-7ehdht84.js} +565 -187
- package/{index-y725zb1a.js → index-7v7tvgt7.js} +196 -168
- package/{index-pq5rjkch.js → index-88s746ns.js} +7 -2
- package/{index-r0a604h4.js → index-99kjwyma.js} +1 -1
- package/{index-2mrn1mrg.js → index-9f3reh2y.js} +1 -1
- package/{index-386canwe.js → index-9rv2zt48.js} +186 -121
- package/{index-wr9magsr.js → index-9zswcze5.js} +3 -3
- package/{index-xq97me1h.js → index-a41vv4cy.js} +811 -697
- package/{index-yf9wc28h.js → index-bejy9zyc.js} +1 -1
- package/{index-bdmgqzb5.js → index-bket1068.js} +58 -29
- package/{index-bns3wcpc.js → index-by2tvsq6.js} +1 -1
- package/{index-1cb9apzn.js → index-czf94w8c.js} +2 -2
- package/{index-65b6ms4c.js → index-d3178asw.js} +15 -11
- package/index-dss3ds74.js +127 -0
- package/{index-annxfpgz.js → index-eyfty8kk.js} +9 -9
- package/{index-ny2k80mv.js → index-ffa52fwf.js} +1 -1
- package/{index-8jpc5fqv.js → index-g7jgd4xs.js} +2 -2
- package/{index-abfbf01s.js → index-gwsesvqc.js} +2 -2
- package/{index-kcpk2d20.js → index-h1w4wqgd.js} +1474 -1139
- package/{index-j1hjb477.js → index-hp2c7xc2.js} +1 -1
- package/index-j4yvgfhr.js +70 -0
- package/{index-84c2pgak.js → index-jx2jcw1r.js} +89 -78
- package/{index-j6eeh5d7.js → index-knpm8sdm.js} +5 -5
- package/{index-2gees180.js → index-mpp4aas6.js} +62 -33
- package/index-na8r4a27.js +30 -0
- package/{index-0mqga3h9.js → index-nmxszh6x.js} +525 -440
- package/{index-35j83zkd.js → index-p5zh7pmc.js} +2 -2
- package/{index-20wvskt8.js → index-pt0agdck.js} +1 -1
- package/{index-htxck0pn.js → index-q444k260.js} +15 -10
- package/{index-wfmpxke3.js → index-qssq2d41.js} +2775 -3677
- package/{index-23860fej.js → index-rwgqba9p.js} +24 -9
- package/{index-v50xjbbe.js → index-t4d0ckde.js} +1 -1
- package/index-va90m8nd.js +25 -0
- package/index-vjbne22r.js +80 -0
- package/{index-djc5nxpy.js → index-w23tf30e.js} +6 -6
- package/{index-mvwvxgtd.js → index-wa01phm9.js} +289 -210
- package/{index-h7hehkw6.js → index-xczjdng6.js} +3 -1
- package/{index-vbhx60x5.js → index-xwe7y0gf.js} +2140 -2165
- package/index-ze48c0vd.js +788 -0
- package/{index-dk4g0x0d.js → index-zttyg7tg.js} +27 -16
- package/{index-ygdbn9jn.js → index-zyb0ebm4.js} +1 -1
- package/index.js +29 -24
- package/libExecutor-tq994592.js +10 -0
- package/{library.command-8d03a0pq.js → library.command-x219mhcx.js} +9 -4
- package/{localRegistry.command-vyv5k6t0.js → localRegistry.command-4p17wa9t.js} +30 -24
- package/{module.command-vy3kg965.js → module.command-tjthnvvr.js} +17 -8
- package/{package.command-qjh13rs9.js → package.command-c6df2hxx.js} +13 -8
- package/package.json +2 -2
- package/{page.command-t0nx1jat.js → page.command-gf06paq2.js} +9 -4
- package/{pipeline.command-2yjeas7m.js → pipeline.command-y07dgj9b.js} +14 -8
- package/pkgExecutor-stde3yc3.js +10 -0
- package/{primitive.command-8vm49279.js → primitive.command-0enfygxn.js} +13 -8
- package/{projectTypecheck-s9hhe5sa.js → projectTypecheck-mk8wefvd.js} +2 -1
- package/{prompter-qrwx1p17.js → prompter-qyggfhqd.js} +2 -2
- package/{quality.command-v76fev72.js → quality.command-dkbdztad.js} +23 -16
- package/{recipeScanner-4b69ybe0.js → recipeScanner-rrx69awy.js} +1 -1
- package/{repair.command-fp4m3w03.js → repair.command-g5vd95ax.js} +13 -8
- package/{routeSourceValidator-4h947v7c.js → routeSourceValidator-8n6j1vn7.js} +4 -2
- package/{scalar.command-hxe6try8.js → scalar.command-7909pg0d.js} +11 -6
- package/skills/akan-debug/SKILL.md +10 -3
- package/skills/akan-err/SKILL.md +7 -0
- package/skills/akan-mcp/SKILL.md +13 -2
- package/skills/akan-scaffold/SKILL.md +2 -2
- package/skills/akan-transport/SKILL.md +2 -0
- package/skills/akan-validate/SKILL.md +1 -0
- package/{subspace.command-q42n1844.js → subspace.command-at4jt1fb.js} +29 -23
- package/templates/biomeForm.ts +1 -1
- package/templates/env/_env.server.type.ts +1 -1
- package/templates/facetIndex/index.ts +2 -37
- package/templates/lib/sig.ts +0 -4
- package/templates/lib/useClient.ts +1 -1
- package/templates/workspaceRoot/AGENTS.md.template +2 -1
- package/{tunnel.command-22g11n0x.js → tunnel.command-91h92dwr.js} +17 -12
- package/{typeChecker-s640r6c0.js → typeChecker-bfrd1n9n.js} +1 -1
- package/typecheck.proc.js +6 -3
- package/{verify.command-rx43bha1.js → verify.command-pzky05ts.js} +26 -20
- package/{workflow.command-yg0d8mmq.js → workflow.command-mqqe4n12.js} +37 -19
- package/{workspace.command-fcfztvn5.js → workspace.command-y4rznvhx.js} +64 -53
- package/CodeAgent-6cpjtj25.js +0 -11
- package/TunnelShare-zkfkrw8w.js +0 -14
- package/agent.command-kf1g3nh4.js +0 -51
- package/cloud.script-agpxzq6j.js +0 -30
- package/context.runner-ftv8373t.js +0 -29
|
@@ -3,28 +3,33 @@ import {
|
|
|
3
3
|
Workspace,
|
|
4
4
|
script,
|
|
5
5
|
command
|
|
6
|
-
} from "./index-
|
|
7
|
-
import"./index-
|
|
8
|
-
import"./index-
|
|
6
|
+
} from "./index-9rv2zt48.js";
|
|
7
|
+
import"./index-j4yvgfhr.js";
|
|
8
|
+
import"./index-qssq2d41.js";
|
|
9
|
+
import"./index-by2tvsq6.js";
|
|
10
|
+
import"./index-ze48c0vd.js";
|
|
11
|
+
import"./index-na8r4a27.js";
|
|
12
|
+
import"./index-dss3ds74.js";
|
|
9
13
|
import {
|
|
10
14
|
jsonText,
|
|
11
15
|
workflowStatus,
|
|
12
16
|
renderWorkflowPlan,
|
|
13
17
|
renderWorkflowApply,
|
|
14
18
|
renderWorkflowValidation
|
|
15
|
-
} from "./index-
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
21
|
-
import"./index-
|
|
22
|
-
import"./index-
|
|
23
|
-
import"./index-
|
|
24
|
-
import"./index-
|
|
19
|
+
} from "./index-a41vv4cy.js";
|
|
20
|
+
import"./index-7ehdht84.js";
|
|
21
|
+
import"./index-nmxszh6x.js";
|
|
22
|
+
import"./index-1p81ecbz.js";
|
|
23
|
+
import"./index-6pxmcaq8.js";
|
|
24
|
+
import"./index-q444k260.js";
|
|
25
|
+
import"./index-7a07tdap.js";
|
|
26
|
+
import"./index-22g3jq43.js";
|
|
27
|
+
import"./index-88s746ns.js";
|
|
28
|
+
import"./index-t4d0ckde.js";
|
|
25
29
|
import {
|
|
26
30
|
WorkflowRunner
|
|
27
|
-
} from "./index-
|
|
31
|
+
} from "./index-013n6z7m.js";
|
|
32
|
+
import"./index-vjbne22r.js";
|
|
28
33
|
|
|
29
34
|
// pkgs/@akanjs/cli/workflow/workflow.script.ts
|
|
30
35
|
import { Logger } from "akanjs/common";
|
|
@@ -46,7 +51,7 @@ class WorkflowScript extends script("workflow", [WorkflowRunner]) {
|
|
|
46
51
|
return;
|
|
47
52
|
}
|
|
48
53
|
if (action === "plan") {
|
|
49
|
-
const plan = await this.workflowRunner.planReport(workflow, inputs, { out, workspace });
|
|
54
|
+
const plan = await WorkflowScript.#reportOnly(format, () => this.workflowRunner.planReport(workflow, inputs, { out, workspace }));
|
|
50
55
|
Logger.rawLog(format === "json" ? jsonText(plan) : renderWorkflowPlan(plan));
|
|
51
56
|
if (workflowStatus(plan.diagnostics) === "failed")
|
|
52
57
|
process.exitCode = 1;
|
|
@@ -56,7 +61,7 @@ class WorkflowScript extends script("workflow", [WorkflowRunner]) {
|
|
|
56
61
|
if (!workspace)
|
|
57
62
|
throw new Error("Workspace is required for workflow apply.");
|
|
58
63
|
const registry = WorkflowRunner.stepRegistry(workspace);
|
|
59
|
-
const report = await this.workflowRunner.applyReport(workflow, { dryRun, workspace, registry });
|
|
64
|
+
const report = await WorkflowScript.#reportOnly(format, () => this.workflowRunner.applyReport(workflow, { dryRun, workspace, registry }));
|
|
60
65
|
Logger.rawLog(renderWorkflowApply(report, format));
|
|
61
66
|
if (report.status === "failed")
|
|
62
67
|
process.exitCode = 1;
|
|
@@ -65,20 +70,33 @@ class WorkflowScript extends script("workflow", [WorkflowRunner]) {
|
|
|
65
70
|
if (action === "validate") {
|
|
66
71
|
if (!workspace)
|
|
67
72
|
throw new Error("Workspace is required for workflow validate.");
|
|
68
|
-
const report = await this.workflowRunner.validateReport(workflow, { workspace });
|
|
73
|
+
const report = await WorkflowScript.#reportOnly(format, () => this.workflowRunner.validateReport(workflow, { workspace }));
|
|
69
74
|
Logger.rawLog(renderWorkflowValidation(report, format));
|
|
70
|
-
if (report.status === "failed")
|
|
75
|
+
if (report.status === "failed" && report.overallStatus !== "passed-with-baseline-blockers")
|
|
71
76
|
process.exitCode = 1;
|
|
72
77
|
return;
|
|
73
78
|
}
|
|
74
79
|
if (action === "report") {
|
|
75
80
|
if (!workspace)
|
|
76
81
|
throw new Error("Workspace is required for workflow report.");
|
|
77
|
-
Logger.rawLog(await this.workflowRunner.report(workflow, { format, workspace }));
|
|
82
|
+
Logger.rawLog(await WorkflowScript.#reportOnly(format, () => this.workflowRunner.report(workflow, { format, workspace })));
|
|
78
83
|
return;
|
|
79
84
|
}
|
|
80
85
|
throw new Error(`Unknown workflow action: ${action}. Use list, explain, plan, apply, validate, or report.`);
|
|
81
86
|
}
|
|
87
|
+
static async#reportOnly(format, run) {
|
|
88
|
+
if (format !== "json")
|
|
89
|
+
return await run();
|
|
90
|
+
const consoleOutput = Logger.consoleOutput;
|
|
91
|
+
Logger.consoleOutput = false;
|
|
92
|
+
const removeSink = Logger.addSink((entry) => void process.stderr.write(entry.message), { minLevel: Logger.level });
|
|
93
|
+
try {
|
|
94
|
+
return await run();
|
|
95
|
+
} finally {
|
|
96
|
+
removeSink();
|
|
97
|
+
Logger.consoleOutput = consoleOutput;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
82
100
|
}
|
|
83
101
|
|
|
84
102
|
// pkgs/@akanjs/cli/workflow/workflow.command.ts
|
|
@@ -4,72 +4,82 @@ import {
|
|
|
4
4
|
Workspace,
|
|
5
5
|
script,
|
|
6
6
|
command
|
|
7
|
-
} from "./index-
|
|
8
|
-
import"./index-
|
|
7
|
+
} from "./index-9rv2zt48.js";
|
|
8
|
+
import"./index-j4yvgfhr.js";
|
|
9
|
+
import"./index-qssq2d41.js";
|
|
10
|
+
import"./index-by2tvsq6.js";
|
|
9
11
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
AppExecutor2
|
|
13
|
+
} from "./index-ze48c0vd.js";
|
|
14
|
+
import {
|
|
15
|
+
LibExecutor2
|
|
16
|
+
} from "./index-na8r4a27.js";
|
|
17
|
+
import {
|
|
18
|
+
PkgExecutor2
|
|
19
|
+
} from "./index-dss3ds74.js";
|
|
14
20
|
import {
|
|
15
21
|
npmRegistryFromEnv,
|
|
16
22
|
warnIgnoredNpmRegistry
|
|
17
|
-
} from "./index-
|
|
23
|
+
} from "./index-ffa52fwf.js";
|
|
24
|
+
import"./index-1p81ecbz.js";
|
|
18
25
|
import"./index-62md4dwy.js";
|
|
26
|
+
import"./index-zyb0ebm4.js";
|
|
19
27
|
import {
|
|
20
28
|
defaultMaxDiagnostics,
|
|
21
29
|
WorkspaceRunner
|
|
22
|
-
} from "./index-
|
|
23
|
-
import"./index-
|
|
24
|
-
import"./index-
|
|
25
|
-
import"./index-
|
|
26
|
-
import"./index-
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
32
|
-
import"./index-
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-djc5nxpy.js";
|
|
35
|
-
import"./index-20wvskt8.js";
|
|
30
|
+
} from "./index-2d9nm03s.js";
|
|
31
|
+
import"./index-1pjwsh2g.js";
|
|
32
|
+
import"./index-7ehdht84.js";
|
|
33
|
+
import"./index-t4d0ckde.js";
|
|
34
|
+
import"./index-a41vv4cy.js";
|
|
35
|
+
import"./index-nmxszh6x.js";
|
|
36
|
+
import"./index-p5zh7pmc.js";
|
|
37
|
+
import"./index-knpm8sdm.js";
|
|
38
|
+
import"./index-h1w4wqgd.js";
|
|
39
|
+
import"./index-7v7tvgt7.js";
|
|
40
|
+
import"./index-w23tf30e.js";
|
|
41
|
+
import"./index-pt0agdck.js";
|
|
36
42
|
import"./index-m9jj544v.js";
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
43
|
+
import"./index-jx2jcw1r.js";
|
|
44
|
+
import"./index-9zswcze5.js";
|
|
45
|
+
import"./index-zttyg7tg.js";
|
|
40
46
|
import {
|
|
41
47
|
AgentScript
|
|
42
|
-
} from "./index-
|
|
48
|
+
} from "./index-mpp4aas6.js";
|
|
43
49
|
import {
|
|
44
50
|
LibraryScript
|
|
45
|
-
} from "./index-
|
|
46
|
-
import"./index-
|
|
51
|
+
} from "./index-6zb17wcm.js";
|
|
52
|
+
import"./index-rwgqba9p.js";
|
|
47
53
|
import {
|
|
48
54
|
ApplicationScript
|
|
49
|
-
} from "./index-
|
|
50
|
-
import"./index-
|
|
51
|
-
import"./index-
|
|
52
|
-
import"./index-
|
|
55
|
+
} from "./index-0hj82f9w.js";
|
|
56
|
+
import"./index-5h888r6j.js";
|
|
57
|
+
import"./index-czf94w8c.js";
|
|
58
|
+
import"./index-2ny1e95c.js";
|
|
53
59
|
import {
|
|
54
60
|
PackageScript
|
|
55
|
-
} from "./index-
|
|
56
|
-
import"./index-
|
|
61
|
+
} from "./index-d3178asw.js";
|
|
62
|
+
import"./index-1jk52ffq.js";
|
|
57
63
|
import {
|
|
58
64
|
CloudScript2
|
|
59
|
-
} from "./index-
|
|
60
|
-
import"./index-
|
|
61
|
-
import"./index-
|
|
62
|
-
import"./index-
|
|
63
|
-
import"./index-
|
|
64
|
-
import"./index-
|
|
65
|
-
import"./index-
|
|
66
|
-
import"./index-
|
|
67
|
-
import"./index-
|
|
65
|
+
} from "./index-eyfty8kk.js";
|
|
66
|
+
import"./index-wa01phm9.js";
|
|
67
|
+
import"./index-1c0mjc2b.js";
|
|
68
|
+
import"./index-22g3jq43.js";
|
|
69
|
+
import"./index-6pxmcaq8.js";
|
|
70
|
+
import"./index-q444k260.js";
|
|
71
|
+
import"./index-7a07tdap.js";
|
|
72
|
+
import"./index-88s746ns.js";
|
|
73
|
+
import"./index-013n6z7m.js";
|
|
68
74
|
import {
|
|
69
75
|
ContextScript
|
|
70
|
-
} from "./index-
|
|
71
|
-
import"./index-
|
|
76
|
+
} from "./index-52w4jb87.js";
|
|
77
|
+
import"./index-g7jgd4xs.js";
|
|
78
|
+
import {
|
|
79
|
+
assertPlainName
|
|
80
|
+
} from "./index-va90m8nd.js";
|
|
72
81
|
import"./index-9bv479q5.js";
|
|
82
|
+
import"./index-vjbne22r.js";
|
|
73
83
|
|
|
74
84
|
// pkgs/@akanjs/cli/workspace/workspace.command.ts
|
|
75
85
|
import path from "path";
|
|
@@ -97,6 +107,7 @@ class WorkspaceScript extends script("workspace", [
|
|
|
97
107
|
agentInstall = true,
|
|
98
108
|
bunDependency
|
|
99
109
|
}) {
|
|
110
|
+
assertPlainName("app", appName);
|
|
100
111
|
const akanVersion = await this.packageScript.version(null, { log: false });
|
|
101
112
|
const libs = installLibs ? ["util", "shared"] : [];
|
|
102
113
|
const workspace = await this.workspaceRunner.createWorkspace(repoName, appName, {
|
|
@@ -161,9 +172,9 @@ class WorkspaceScript extends script("workspace", [
|
|
|
161
172
|
AKAN_MACHINE_PUBLIC_KEY=${publicKey}`);
|
|
162
173
|
}
|
|
163
174
|
async lint(exec, workspace, { fix = true, maxDiagnostics } = {}) {
|
|
164
|
-
if (exec instanceof
|
|
175
|
+
if (exec instanceof AppExecutor2)
|
|
165
176
|
await this.applicationScript.sync(exec);
|
|
166
|
-
else if (exec instanceof
|
|
177
|
+
else if (exec instanceof LibExecutor2)
|
|
167
178
|
await this.libraryScript.syncLibrary(exec);
|
|
168
179
|
const spinner = workspace.spinning(`Linting${fix ? " with fix" : ""}...`);
|
|
169
180
|
try {
|
|
@@ -177,20 +188,20 @@ AKAN_MACHINE_PUBLIC_KEY=${publicKey}`);
|
|
|
177
188
|
async lintAll(workspace, { fix = true, maxDiagnostics } = {}) {
|
|
178
189
|
const [appNames, libNames, pkgNames] = await workspace.getExecs();
|
|
179
190
|
const options = { fix, maxDiagnostics };
|
|
180
|
-
await Promise.all(appNames.map((appName) => this.applicationScript.sync(
|
|
181
|
-
await Promise.all(libNames.map((libName) => this.libraryScript.syncLibrary(
|
|
191
|
+
await Promise.all(appNames.map((appName) => this.applicationScript.sync(AppExecutor2.from(workspace, appName))));
|
|
192
|
+
await Promise.all(libNames.map((libName) => this.libraryScript.syncLibrary(LibExecutor2.from(workspace, libName))));
|
|
182
193
|
await Promise.all([
|
|
183
|
-
...appNames.map((appName) => this.workspaceRunner.lint(
|
|
184
|
-
...libNames.map((libName) => this.workspaceRunner.lint(
|
|
185
|
-
...pkgNames.filter((pkgName) => pkgName !== "contract").map((pkgName) => this.workspaceRunner.lint(
|
|
194
|
+
...appNames.map((appName) => this.workspaceRunner.lint(AppExecutor2.from(workspace, appName), workspace, options)),
|
|
195
|
+
...libNames.map((libName) => this.workspaceRunner.lint(LibExecutor2.from(workspace, libName), workspace, options)),
|
|
196
|
+
...pkgNames.filter((pkgName) => pkgName !== "contract").map((pkgName) => this.workspaceRunner.lint(PkgExecutor2.from(workspace, pkgName), workspace, options))
|
|
186
197
|
]);
|
|
187
198
|
}
|
|
188
199
|
async syncAll(workspace) {
|
|
189
200
|
const [appNames, libNames] = await workspace.getExecs();
|
|
190
201
|
for (const libName of libNames)
|
|
191
|
-
await this.libraryScript.syncLibrary(
|
|
202
|
+
await this.libraryScript.syncLibrary(LibExecutor2.from(workspace, libName));
|
|
192
203
|
for (const appName of appNames)
|
|
193
|
-
await this.applicationScript.sync(
|
|
204
|
+
await this.applicationScript.sync(AppExecutor2.from(workspace, appName));
|
|
194
205
|
}
|
|
195
206
|
async init(devProjectId, workspace, { host } = {}) {
|
|
196
207
|
const [bunfigExists, packageJsonExists, tsconfigExists] = await Promise.all([
|
package/CodeAgent-6cpjtj25.js
DELETED
package/TunnelShare-zkfkrw8w.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import {
|
|
3
|
-
TunnelShare2
|
|
4
|
-
} from "./index-j1hjb477.js";
|
|
5
|
-
import"./index-e22zedc2.js";
|
|
6
|
-
import"./index-djc5nxpy.js";
|
|
7
|
-
import"./index-m9jj544v.js";
|
|
8
|
-
import"./index-wr9magsr.js";
|
|
9
|
-
import"./index-84c2pgak.js";
|
|
10
|
-
import"./index-wfmpxke3.js";
|
|
11
|
-
import"./index-bns3wcpc.js";
|
|
12
|
-
export {
|
|
13
|
-
TunnelShare2 as TunnelShare
|
|
14
|
-
};
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import {
|
|
3
|
-
Workspace,
|
|
4
|
-
command
|
|
5
|
-
} from "./index-386canwe.js";
|
|
6
|
-
import"./index-bns3wcpc.js";
|
|
7
|
-
import"./index-wfmpxke3.js";
|
|
8
|
-
import"./index-35j83zkd.js";
|
|
9
|
-
import"./index-j6eeh5d7.js";
|
|
10
|
-
import"./index-0mqga3h9.js";
|
|
11
|
-
import"./index-hj6w4ka1.js";
|
|
12
|
-
import"./index-xq97me1h.js";
|
|
13
|
-
import"./index-m5sg5spm.js";
|
|
14
|
-
import"./index-kcpk2d20.js";
|
|
15
|
-
import"./index-y725zb1a.js";
|
|
16
|
-
import"./index-djc5nxpy.js";
|
|
17
|
-
import"./index-20wvskt8.js";
|
|
18
|
-
import"./index-m9jj544v.js";
|
|
19
|
-
import"./index-84c2pgak.js";
|
|
20
|
-
import"./index-wr9magsr.js";
|
|
21
|
-
import"./index-466z5931.js";
|
|
22
|
-
import"./index-ygrdw6jw.js";
|
|
23
|
-
import"./index-62md4dwy.js";
|
|
24
|
-
import"./index-ygdbn9jn.js";
|
|
25
|
-
import"./index-ny2k80mv.js";
|
|
26
|
-
import"./index-v50xjbbe.js";
|
|
27
|
-
import"./index-dk4g0x0d.js";
|
|
28
|
-
import {
|
|
29
|
-
AgentScript
|
|
30
|
-
} from "./index-2gees180.js";
|
|
31
|
-
import"./index-8jpc5fqv.js";
|
|
32
|
-
|
|
33
|
-
// pkgs/@akanjs/cli/agent/agent.command.ts
|
|
34
|
-
class AgentCommand extends command("agent", [AgentScript], ({ public: target }) => ({
|
|
35
|
-
agent: target({ desc: "Install Akan agent rules for editors and coding agents", stdio: true }).arg("action", String, { desc: "install, or hook (run by Claude Code hooks)" }).arg("target", String, {
|
|
36
|
-
desc: "install: cursor, agents-md, claude, rules, skills, hooks, or all; hook: pre-edit, post-edit, stop",
|
|
37
|
-
nullable: true
|
|
38
|
-
}).option("force", Boolean, {
|
|
39
|
-
desc: "overwrite existing pointer files and generated files you took over",
|
|
40
|
-
default: false
|
|
41
|
-
}).option("check", Boolean, {
|
|
42
|
-
desc: "write nothing; exit 1 when install would create, change or remove a file",
|
|
43
|
-
default: false
|
|
44
|
-
}).with(Workspace).exec(async function(action, targetName, force, check, workspace) {
|
|
45
|
-
await this.agentScript.agent(workspace, action, targetName, { force, check });
|
|
46
|
-
})
|
|
47
|
-
})) {
|
|
48
|
-
}
|
|
49
|
-
export {
|
|
50
|
-
AgentCommand
|
|
51
|
-
};
|
package/cloud.script-agpxzq6j.js
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import {
|
|
3
|
-
CloudScript2
|
|
4
|
-
} from "./index-annxfpgz.js";
|
|
5
|
-
import"./index-6h775rv3.js";
|
|
6
|
-
import"./index-8nbx607g.js";
|
|
7
|
-
import"./index-xa0289eg.js";
|
|
8
|
-
import"./index-65b6ms4c.js";
|
|
9
|
-
import"./index-e22zedc2.js";
|
|
10
|
-
import"./index-ny2k80mv.js";
|
|
11
|
-
import"./index-kcpk2d20.js";
|
|
12
|
-
import"./index-8jpc5fqv.js";
|
|
13
|
-
import"./index-ygrdw6jw.js";
|
|
14
|
-
import"./index-20wvskt8.js";
|
|
15
|
-
import"./index-djc5nxpy.js";
|
|
16
|
-
import"./index-m9jj544v.js";
|
|
17
|
-
import"./index-386canwe.js";
|
|
18
|
-
import"./index-9bv479q5.js";
|
|
19
|
-
import"./index-23860fej.js";
|
|
20
|
-
import"./index-1cb9apzn.js";
|
|
21
|
-
import"./index-m5sg5spm.js";
|
|
22
|
-
import"./index-wr9magsr.js";
|
|
23
|
-
import"./index-y725zb1a.js";
|
|
24
|
-
import"./index-84c2pgak.js";
|
|
25
|
-
import"./index-wfmpxke3.js";
|
|
26
|
-
import"./index-qd7xn2bk.js";
|
|
27
|
-
import"./index-bns3wcpc.js";
|
|
28
|
-
export {
|
|
29
|
-
CloudScript2 as CloudScript
|
|
30
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import {
|
|
3
|
-
ContextRunner2
|
|
4
|
-
} from "./index-mvwvxgtd.js";
|
|
5
|
-
import"./index-c5ymqb05.js";
|
|
6
|
-
import"./index-pq5rjkch.js";
|
|
7
|
-
import"./index-qgazn58x.js";
|
|
8
|
-
import"./index-cbcwxp5v.js";
|
|
9
|
-
import"./index-htxck0pn.js";
|
|
10
|
-
import"./index-7kmbqp0b.js";
|
|
11
|
-
import"./index-v50xjbbe.js";
|
|
12
|
-
import"./index-0mqga3h9.js";
|
|
13
|
-
import"./index-xq97me1h.js";
|
|
14
|
-
import"./index-20wvskt8.js";
|
|
15
|
-
import"./index-j6eeh5d7.js";
|
|
16
|
-
import"./index-djc5nxpy.js";
|
|
17
|
-
import"./index-m9jj544v.js";
|
|
18
|
-
import"./index-386canwe.js";
|
|
19
|
-
import"./index-ebwkh7bt.js";
|
|
20
|
-
import"./index-ygdbn9jn.js";
|
|
21
|
-
import"./index-m5sg5spm.js";
|
|
22
|
-
import"./index-wr9magsr.js";
|
|
23
|
-
import"./index-84c2pgak.js";
|
|
24
|
-
import"./index-wfmpxke3.js";
|
|
25
|
-
import"./index-hj6w4ka1.js";
|
|
26
|
-
import"./index-bns3wcpc.js";
|
|
27
|
-
export {
|
|
28
|
-
ContextRunner2 as ContextRunner
|
|
29
|
-
};
|