@akanjs/cli 3.2.1-rc.1 → 3.2.1-rc.2
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 -2
- package/{CodeAgent-xdw73nbz.js → CodeAgent-9t00vd1t.js} +2 -2
- package/{CodeTui-0gewm71c.js → CodeTui-6pzd57d9.js} +1 -1
- package/TunnelShare-ystnpd6r.js +16 -0
- package/{agent.command-g1mj34wz.js → agent.command-mx412p4j.js} +17 -17
- package/akanCode.js +2 -2
- package/{appExecutor-rrx10jya.js → appExecutor-5rqem8rw.js} +3 -3
- package/{application.command-3w4v7t40.js → application.command-6qec3fkg.js} +13 -13
- package/{applicationBuildRunner-y5xbetyz.js → applicationBuildRunner-3sgyp4kc.js} +13 -10
- package/buildBatch.proc.js +10 -10
- package/{cloud.command-ph0rz6sw.js → cloud.command-zcm1vwep.js} +18 -18
- package/cloud.script-zv6bxdvg.js +30 -0
- package/{code.command-9b967qpg.js → code.command-9ve10cys.js} +10 -10
- package/{context.command-ndzs5rbf.js → context.command-f1sqfvws.js} +18 -18
- package/context.runner-7d1zp6sp.js +32 -0
- package/{csrArtifactBuilder-gtvff6k7.js → csrArtifactBuilder-9zvt4tqd.js} +2 -3
- package/{guideline.command-y8qz9kxy.js → guideline.command-6rezhb4j.js} +6 -6
- package/guidelines/akanApi/akanApi.instruction.md +7 -2
- package/guidelines/conventions/core.md +6 -11
- package/guidelines/conventions/rules/app.md +1 -2
- package/guidelines/conventions/rules/auth.md +18 -27
- package/guidelines/conventions/rules/config.md +14 -46
- package/guidelines/conventions/rules/page.md +19 -34
- package/guidelines/conventions/rules/server.md +1 -4
- package/guidelines/conventions/rules/ssr.md +3 -4
- package/guidelines/conventions/rules/ts.md +2 -1
- package/guidelines/cssRule/cssRule.instruction.md +1 -0
- package/guidelines/pageRule/pageRule.instruction.md +6 -53
- package/incrementalBuilder.proc.js +8 -8
- package/{index-4a1n0nym.js → index-2fw81aak.js} +1 -1
- package/{index-whvhsb5f.js → index-2qhrmtb0.js} +1 -1
- package/{index-dr1carpr.js → index-3jzx6k0e.js} +4 -4
- package/{index-2kh4xj3m.js → index-5fwhv8kp.js} +1 -1
- package/{index-scfsqen7.js → index-6z5cwvq1.js} +3 -3
- package/{index-y2g0s9tn.js → index-7jknrhws.js} +1 -1
- package/{index-6j351de4.js → index-8vger8r0.js} +2 -2
- package/{index-1c2807kg.js → index-94a2xrv1.js} +3 -3
- package/{index-ymgsvhc5.js → index-adbcqv0k.js} +4 -4
- package/{index-45aprybg.js → index-akep88g2.js} +2 -2
- package/{index-652f3bs8.js → index-c1sfw20m.js} +5 -5
- package/{index-cm9rb480.js → index-c7zk1gtv.js} +5 -6
- package/{index-b0t92k71.js → index-cryyzd80.js} +11 -11
- package/{index-82cmbpxc.js → index-d9qkd87g.js} +7 -7
- package/{index-6gepp8yn.js → index-ep31fxe8.js} +60 -19
- package/{index-ankyx6dj.js → index-f0qe3x4t.js} +3 -3
- package/{index-38x8ynrx.js → index-f52d0acp.js} +2 -2
- package/{index-twjgmryg.js → index-f5s9w5bq.js} +4 -4
- package/{index-pc42gxa5.js → index-g4hta169.js} +4 -4
- package/{index-ktxdfqg5.js → index-gxe8nyxd.js} +1 -1
- package/{index-2vn0m9z5.js → index-h2g1qt9p.js} +3 -3
- package/{index-4zgm54wf.js → index-havp958b.js} +7 -7
- package/{index-qh81drde.js → index-mj9mzss7.js} +8 -8
- package/{index-3569fr49.js → index-nawk3ttc.js} +5 -5
- package/{index-0wa5z6rm.js → index-pad3djxk.js} +1 -1
- package/{index-gtydr9qc.js → index-q7ct22a1.js} +8 -8
- package/{index-0csk6jqm.js → index-qc4xk6ng.js} +3 -3
- package/{index-jdw9m5c4.js → index-qk2evkwr.js} +4 -4
- package/{index-b372rck5.js → index-smjm20t4.js} +14 -7
- package/{index-d0n78fzc.js → index-tc9k9sgg.js} +11 -11
- package/{index-jg5rwrf7.js → index-wjecpeyq.js} +226 -21
- package/{index-f2arv0mv.js → index-xftdwcdj.js} +1 -1
- package/{index-1p9bxjmt.js → index-xrmcq5hx.js} +2 -2
- package/{index-q8h4eg5y.js → index-y9tadrbb.js} +6 -6
- package/{index-02v45hh9.js → index-yjq1e8ge.js} +3 -3
- package/{index-9rymt8d6.js → index-yq1rfscr.js} +1 -1
- package/{index-0z8sbdme.js → index-zswfx1y8.js} +1 -1
- package/{index-mnhrqjjq.js → index-zxvw9wme.js} +1 -1
- package/index.js +27 -27
- package/{libExecutor-nstr00s7.js → libExecutor-6we2k5s7.js} +2 -2
- package/{library.command-b02aw1hm.js → library.command-3d276hfe.js} +7 -7
- package/{localRegistry.command-3hg1p4aj.js → localRegistry.command-0k4wbbw3.js} +17 -17
- package/{module.command-bd9gz6cv.js → module.command-2efp8hnc.js} +9 -9
- package/{package.command-xmr0mxze.js → package.command-jbmhv4ka.js} +8 -8
- package/package.json +3 -2
- package/{page.command-x94qf58g.js → page.command-bmn5mqg4.js} +7 -7
- package/{pipeline.command-n2843k6t.js → pipeline.command-wy27rp6n.js} +6 -6
- package/{pkgExecutor-cka27e3c.js → pkgExecutor-zg3p4wzh.js} +2 -2
- package/{primitive.command-cs7v376h.js → primitive.command-c1zhx2k0.js} +10 -10
- package/{projectTypecheck-za2n3nbr.js → projectTypecheck-2nrmqybz.js} +1 -1
- package/{quality.command-nqngh1jd.js → quality.command-s7k6hd9v.js} +8 -8
- package/{repair.command-v2medwsm.js → repair.command-whzxzzwt.js} +9 -9
- package/{scalar.command-61cjmxn1.js → scalar.command-9h6jj42g.js} +8 -8
- package/skills/akan-page/SKILL.md +18 -13
- package/skills/akan-runtime/SKILL.md +21 -16
- package/skills/akan-service/SKILL.md +2 -2
- package/{subspace.command-dtv8nfh7.js → subspace.command-n39bhv0c.js} +10 -10
- package/{tunnel.command-fmwm5fgb.js → tunnel.command-n5ezcmfs.js} +9 -9
- package/{verify.command-4f260t53.js → verify.command-c7xn9jkn.js} +14 -14
- package/{workflow.command-tm5q9xsm.js → workflow.command-7jf64z5f.js} +14 -14
- package/{workspace.command-75gc280j.js → workspace.command-h55z8b42.js} +31 -31
- package/TunnelShare-cccfdgbm.js +0 -16
- package/cloud.script-8bs9tp4j.js +0 -30
- package/context.runner-bmstpng2.js +0 -32
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
camelToKebabCase,
|
|
4
4
|
runner
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-c1sfw20m.js";
|
|
6
6
|
import {
|
|
7
7
|
rootAllowedFiles,
|
|
8
8
|
rootAllowedDirs,
|
|
@@ -16,16 +16,16 @@ import {
|
|
|
16
16
|
renderScopeAgentBlock,
|
|
17
17
|
SysExecutor,
|
|
18
18
|
WorkspaceExecutor
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-g4hta169.js";
|
|
20
20
|
import {
|
|
21
21
|
FileSys2
|
|
22
22
|
} from "./index-zyjztrvc.js";
|
|
23
23
|
import {
|
|
24
24
|
LibExecutor2
|
|
25
|
-
} from "./index-
|
|
25
|
+
} from "./index-xftdwcdj.js";
|
|
26
26
|
import {
|
|
27
27
|
PkgExecutor2
|
|
28
|
-
} from "./index-
|
|
28
|
+
} from "./index-zxvw9wme.js";
|
|
29
29
|
import {
|
|
30
30
|
collectRecipeSources2,
|
|
31
31
|
scanRecipes2
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
} from "./index-zyb0ebm4.js";
|
|
41
41
|
import {
|
|
42
42
|
MaintainabilityBaseline
|
|
43
|
-
} from "./index-
|
|
43
|
+
} from "./index-gxe8nyxd.js";
|
|
44
44
|
import {
|
|
45
45
|
createFactReader,
|
|
46
46
|
createAst
|
|
@@ -1821,7 +1821,6 @@ var defaultWorkspacePeerDependencies = new Set([
|
|
|
1821
1821
|
"react-dom",
|
|
1822
1822
|
"react-icons",
|
|
1823
1823
|
"react-server-dom-webpack",
|
|
1824
|
-
"tailwindcss",
|
|
1825
1824
|
"typescript"
|
|
1826
1825
|
]);
|
|
1827
1826
|
var defaultWorkspaceTypeDependencies = { "@types/react": "^19.3.0", "@types/react-dom": "^19.3.0" };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
SysExecutor
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-g4hta169.js";
|
|
5
5
|
import {
|
|
6
6
|
CliError
|
|
7
7
|
} from "./index-j4yvgfhr.js";
|
|
8
8
|
import {
|
|
9
9
|
ApplicationBuildReporter
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-8vger8r0.js";
|
|
11
11
|
import {
|
|
12
12
|
script,
|
|
13
13
|
markCliErrorPrinted,
|
|
14
14
|
assertPromptable
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-c1sfw20m.js";
|
|
16
16
|
import {
|
|
17
17
|
AppExecutor2
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-smjm20t4.js";
|
|
19
19
|
import {
|
|
20
20
|
LibExecutor2
|
|
21
|
-
} from "./index-
|
|
21
|
+
} from "./index-xftdwcdj.js";
|
|
22
22
|
import {
|
|
23
23
|
PkgExecutor2
|
|
24
|
-
} from "./index-
|
|
24
|
+
} from "./index-zxvw9wme.js";
|
|
25
25
|
import {
|
|
26
26
|
DesktopServerStage
|
|
27
|
-
} from "./index-
|
|
27
|
+
} from "./index-5fwhv8kp.js";
|
|
28
28
|
import {
|
|
29
29
|
LibraryScript
|
|
30
|
-
} from "./index-
|
|
30
|
+
} from "./index-qc4xk6ng.js";
|
|
31
31
|
import {
|
|
32
32
|
ApplicationRunner,
|
|
33
33
|
VerifyScope
|
|
34
|
-
} from "./index-
|
|
34
|
+
} from "./index-tc9k9sgg.js";
|
|
35
35
|
import {
|
|
36
36
|
PreviewChrome2,
|
|
37
37
|
PreviewView2,
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
} from "./index-rwgqba9p.js";
|
|
40
40
|
import {
|
|
41
41
|
formatSlicePlan
|
|
42
|
-
} from "./index-
|
|
42
|
+
} from "./index-yq1rfscr.js";
|
|
43
43
|
import {
|
|
44
44
|
openBrowser
|
|
45
45
|
} from "./index-9dp031by.js";
|
|
@@ -1779,7 +1779,7 @@ class ApplicationScript extends script("application", [ApplicationRunner, Librar
|
|
|
1779
1779
|
await Promise.all(shares.map(async (share) => await share.close()));
|
|
1780
1780
|
}, "Abandoning the tunnel release; the shares expire on their own.");
|
|
1781
1781
|
await Promise.all(apps.map(async (app) => {
|
|
1782
|
-
const { TunnelShare } = await import("./TunnelShare-
|
|
1782
|
+
const { TunnelShare } = await import("./TunnelShare-ystnpd6r.js");
|
|
1783
1783
|
const share = await TunnelShare.open(app, { workspace: app.workspace });
|
|
1784
1784
|
shares.push(share);
|
|
1785
1785
|
urls.set(app.name, share.url);
|
|
@@ -4,27 +4,27 @@ import {
|
|
|
4
4
|
CloudApi,
|
|
5
5
|
CloudUpdates,
|
|
6
6
|
PipelineSecrets
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-akep88g2.js";
|
|
8
8
|
import {
|
|
9
9
|
PkgExecutor2
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-zxvw9wme.js";
|
|
11
11
|
import {
|
|
12
12
|
UpdatePackFolder,
|
|
13
13
|
NativePublicEnv,
|
|
14
14
|
NativeApp
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-adbcqv0k.js";
|
|
16
16
|
import {
|
|
17
17
|
script
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-c1sfw20m.js";
|
|
19
19
|
import {
|
|
20
20
|
ApplicationScript
|
|
21
|
-
} from "./index-
|
|
21
|
+
} from "./index-cryyzd80.js";
|
|
22
22
|
import {
|
|
23
23
|
PackageScript
|
|
24
|
-
} from "./index-
|
|
24
|
+
} from "./index-f0qe3x4t.js";
|
|
25
25
|
import {
|
|
26
26
|
CloudRunner
|
|
27
|
-
} from "./index-
|
|
27
|
+
} from "./index-nawk3ttc.js";
|
|
28
28
|
|
|
29
29
|
// pkgs/@akanjs/cli/cloud/cloud.script.ts
|
|
30
30
|
import { Logger } from "akanjs/common";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
script,
|
|
5
5
|
WorkspaceVersionCheck,
|
|
6
6
|
markCliErrorPrinted
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-c1sfw20m.js";
|
|
8
8
|
import {
|
|
9
9
|
CliError
|
|
10
10
|
} from "./index-j4yvgfhr.js";
|
|
@@ -16,16 +16,16 @@ import {
|
|
|
16
16
|
upsertAgentBlock,
|
|
17
17
|
renderRecipeEntries,
|
|
18
18
|
CLAUDE_COMMENT_RULE
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-g4hta169.js";
|
|
20
20
|
import {
|
|
21
21
|
AppExecutor2
|
|
22
|
-
} from "./index-
|
|
22
|
+
} from "./index-smjm20t4.js";
|
|
23
23
|
import {
|
|
24
24
|
LibExecutor2
|
|
25
|
-
} from "./index-
|
|
25
|
+
} from "./index-xftdwcdj.js";
|
|
26
26
|
import {
|
|
27
27
|
AkanContextAnalyzer
|
|
28
|
-
} from "./index-
|
|
28
|
+
} from "./index-qk2evkwr.js";
|
|
29
29
|
import {
|
|
30
30
|
collectRecipeSources2,
|
|
31
31
|
scanRecipes2
|
|
@@ -40,15 +40,15 @@ import {
|
|
|
40
40
|
import {
|
|
41
41
|
ApplicationRunner,
|
|
42
42
|
VerifyScope
|
|
43
|
-
} from "./index-
|
|
43
|
+
} from "./index-tc9k9sgg.js";
|
|
44
44
|
import {
|
|
45
45
|
WorkspaceRunner
|
|
46
|
-
} from "./index-
|
|
46
|
+
} from "./index-c7zk1gtv.js";
|
|
47
47
|
import {
|
|
48
48
|
VerifyComments,
|
|
49
49
|
VerifyPipeline,
|
|
50
50
|
VerifyReport
|
|
51
|
-
} from "./index-
|
|
51
|
+
} from "./index-havp958b.js";
|
|
52
52
|
|
|
53
53
|
// pkgs/@akanjs/cli/agent/agent.script.ts
|
|
54
54
|
import { Logger as Logger3 } from "akanjs/common";
|
|
@@ -72,7 +72,15 @@ class AgentAssets {
|
|
|
72
72
|
"akan-scaffold": ["workspaceRecipes"],
|
|
73
73
|
"akan-module": ["moduleOverview", "modelConstant", "modelDictionary", "fieldRule"],
|
|
74
74
|
"akan-scalar": ["scalarModule", "scalarConstant", "scalarDictionary"],
|
|
75
|
-
"akan-service": [
|
|
75
|
+
"akan-service": [
|
|
76
|
+
"modelService",
|
|
77
|
+
"modelSignal",
|
|
78
|
+
"modelDocument",
|
|
79
|
+
"akanApi#imports",
|
|
80
|
+
"akanApi#services-and-adapters",
|
|
81
|
+
"akanApi#endpoints",
|
|
82
|
+
"akanApi#dictionaries"
|
|
83
|
+
],
|
|
76
84
|
"akan-store": ["modelStore"],
|
|
77
85
|
"akan-ui": [
|
|
78
86
|
"ssrRule",
|
|
@@ -89,7 +97,7 @@ class AgentAssets {
|
|
|
89
97
|
"akan-err": ["errorCodes"],
|
|
90
98
|
"akan-deps": [],
|
|
91
99
|
"akan-debug": [],
|
|
92
|
-
"akan-page": ["pageRule", "akanApi"],
|
|
100
|
+
"akan-page": ["pageRule", "akanApi#imports", "akanApi#routes", "akanApi#app-config"],
|
|
93
101
|
"akan-query": ["queryRule"],
|
|
94
102
|
"akan-transport": ["transportRule"],
|
|
95
103
|
"akan-runtime": ["runtimeRule"],
|
|
@@ -142,17 +150,15 @@ ${AgentAssets.marker}
|
|
|
142
150
|
for (const [name, guidelines] of Object.entries(AgentAssets.skillReferences)) {
|
|
143
151
|
const source = await fsPromise.readFile(path.join(dir, name, "SKILL.md"), "utf-8");
|
|
144
152
|
const index = [];
|
|
145
|
-
for (const
|
|
146
|
-
const
|
|
147
|
-
parts.forEach((part, idx) => {
|
|
148
|
-
const file = parts.length === 1 ? `${guideline}.md` : `${guideline}-${idx + 1}.md`;
|
|
153
|
+
for (const reference of guidelines) {
|
|
154
|
+
for (const { file, text, summary } of await AgentAssets.#referenceFiles(reference)) {
|
|
149
155
|
const referencePath = `.agents/skills/${name}/references/${file}`;
|
|
150
156
|
assets.push({ path: referencePath, content: `${AgentAssets.marker}
|
|
151
157
|
|
|
152
|
-
${
|
|
158
|
+
${text.trim()}
|
|
153
159
|
` });
|
|
154
|
-
index.push(`- \`${referencePath}\` \u2014 ${
|
|
155
|
-
}
|
|
160
|
+
index.push(`- \`${referencePath}\` \u2014 ${summary}`);
|
|
161
|
+
}
|
|
156
162
|
}
|
|
157
163
|
const skill = AgentAssets.#skillFile(source, index);
|
|
158
164
|
for (const root of AgentAssets.skillRoots)
|
|
@@ -160,7 +166,39 @@ ${part.text.trim()}
|
|
|
160
166
|
}
|
|
161
167
|
return assets;
|
|
162
168
|
}
|
|
163
|
-
static
|
|
169
|
+
static async#referenceFiles(reference) {
|
|
170
|
+
const [guideline = reference, slug] = reference.split("#");
|
|
171
|
+
const text = await Prompter2.getInstruction(guideline);
|
|
172
|
+
if (slug) {
|
|
173
|
+
const sections = AgentAssets.sections(text);
|
|
174
|
+
const preamble = sections[0]?.headings.length === 0 ? sections[0].text : "";
|
|
175
|
+
const section = sections.find((each) => each.headings[0] && AgentAssets.slug(each.headings[0]) === slug);
|
|
176
|
+
if (!section)
|
|
177
|
+
throw new Error(`Guideline ${guideline} has no section ${slug}`);
|
|
178
|
+
const entries = [...section.text.matchAll(/^### (.+?)(?: \u00B7 .*)?$/gm)].map((match) => match[1]);
|
|
179
|
+
const title = section.headings[0];
|
|
180
|
+
return [
|
|
181
|
+
{
|
|
182
|
+
file: `${guideline}-${slug}.md`,
|
|
183
|
+
text: preamble ? `${preamble.trim()}
|
|
184
|
+
|
|
185
|
+
${section.text.trim()}` : section.text,
|
|
186
|
+
summary: entries.length ? `${title}: ${entries.join(", ")}` : title
|
|
187
|
+
}
|
|
188
|
+
];
|
|
189
|
+
}
|
|
190
|
+
const parts = AgentAssets.split(text);
|
|
191
|
+
return parts.map((part, idx) => ({
|
|
192
|
+
file: parts.length === 1 ? `${guideline}.md` : `${guideline}-${idx + 1}.md`,
|
|
193
|
+
text: part.text,
|
|
194
|
+
summary: AgentAssets.#summarize(part.headings)
|
|
195
|
+
}));
|
|
196
|
+
}
|
|
197
|
+
static slug(heading) {
|
|
198
|
+
const paren = heading.indexOf("(");
|
|
199
|
+
return (paren === -1 ? heading : heading.slice(0, paren).trimEnd()).toLowerCase().replace(/[^a-z0-9]+/g, "-");
|
|
200
|
+
}
|
|
201
|
+
static sections(markdown) {
|
|
164
202
|
const sections = [];
|
|
165
203
|
let fenced = false;
|
|
166
204
|
for (const line of markdown.trim().split(`
|
|
@@ -175,8 +213,11 @@ ${part.text.trim()}
|
|
|
175
213
|
last.text += `
|
|
176
214
|
${line}`;
|
|
177
215
|
}
|
|
216
|
+
return sections;
|
|
217
|
+
}
|
|
218
|
+
static split(markdown) {
|
|
178
219
|
const parts = [];
|
|
179
|
-
for (const section of sections) {
|
|
220
|
+
for (const section of AgentAssets.sections(markdown)) {
|
|
180
221
|
const last = parts.at(-1);
|
|
181
222
|
if (last && last.text.length + section.text.length + 1 <= AgentAssets.referenceLimit) {
|
|
182
223
|
last.text += `
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
import {
|
|
3
3
|
runner,
|
|
4
4
|
script
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-c1sfw20m.js";
|
|
6
6
|
import {
|
|
7
7
|
FileSys2
|
|
8
8
|
} from "./index-zyjztrvc.js";
|
|
9
9
|
import {
|
|
10
10
|
PkgExecutor2
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-zxvw9wme.js";
|
|
12
12
|
import {
|
|
13
13
|
MaintainabilityBaseline
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-gxe8nyxd.js";
|
|
15
15
|
import {
|
|
16
16
|
assertPackageName
|
|
17
17
|
} from "./index-va90m8nd.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
resolveSsrPageEntriesForApp
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-smjm20t4.js";
|
|
5
5
|
import {
|
|
6
6
|
createBarrelImportsPlugin,
|
|
7
7
|
workspaceBarrels,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
CsrEntryFiles,
|
|
11
11
|
PagesEntrySourceGenerator,
|
|
12
12
|
PagesBundleBuilder
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-zswfx1y8.js";
|
|
14
14
|
|
|
15
15
|
// pkgs/@akanjs/devkit/frontendBuild/csrArtifactBuilder.ts
|
|
16
16
|
import { mkdir as mkdir2, rm as rm2, unlink as unlink2 } from "fs/promises";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
script
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-c1sfw20m.js";
|
|
5
5
|
import {
|
|
6
6
|
jsonText
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-94a2xrv1.js";
|
|
8
8
|
import {
|
|
9
9
|
akanMcpInstallTargets
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-qk2evkwr.js";
|
|
11
11
|
import {
|
|
12
12
|
ContextRunner2
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-mj9mzss7.js";
|
|
14
14
|
|
|
15
15
|
// pkgs/@akanjs/cli/context/context.script.ts
|
|
16
16
|
import { Logger } from "akanjs/common";
|
|
@@ -216,7 +216,7 @@ var rootEntryHintOf = (type, name) => type === "app" && retiredAppRootEntries.ha
|
|
|
216
216
|
var isScannedRootEntry = (type, name) => !name.startsWith(".") || rootAllowedDirs[type].has(name);
|
|
217
217
|
|
|
218
218
|
// pkgs/@akanjs/devkit/workspace/scanInfo.ts
|
|
219
|
-
var loadLibExecutor = () => import("./libExecutor-
|
|
219
|
+
var loadLibExecutor = () => import("./libExecutor-6we2k5s7.js");
|
|
220
220
|
var serviceFileTypes = [
|
|
221
221
|
"dictionary",
|
|
222
222
|
"service",
|
|
@@ -623,9 +623,9 @@ class WorkspaceInfo {
|
|
|
623
623
|
return existingWorkspaceInfo;
|
|
624
624
|
const [appNames, libNames, pkgNames] = await Promise.all([exec.getApps(), exec.getLibs(), exec.getPkgs()]);
|
|
625
625
|
const [appModule, libModule, pkgModule] = await Promise.all([
|
|
626
|
-
import("./appExecutor-
|
|
626
|
+
import("./appExecutor-5rqem8rw.js"),
|
|
627
627
|
loadLibExecutor(),
|
|
628
|
-
import("./pkgExecutor-
|
|
628
|
+
import("./pkgExecutor-zg3p4wzh.js")
|
|
629
629
|
]);
|
|
630
630
|
const [appInfos, libInfos, pkgInfos] = await Promise.all([
|
|
631
631
|
Promise.all(appNames.map(async (appName) => await appModule.AppExecutor.from(exec, appName).scan())),
|
|
@@ -3388,7 +3388,7 @@ CMD [${command.map((c) => `"${c}"`).join(",")}]`;
|
|
|
3388
3388
|
return new AkanAppConfig(app, libs, rootPackageJson, config, baseDevEnv, plugins ?? [], libContributions);
|
|
3389
3389
|
}
|
|
3390
3390
|
static async#collectLibContributions(app, libs, bustImportCache) {
|
|
3391
|
-
const { LibExecutor } = await import("./libExecutor-
|
|
3391
|
+
const { LibExecutor } = await import("./libExecutor-6we2k5s7.js");
|
|
3392
3392
|
const libConfigs = await Promise.all(libs.map(async (libName) => AkanLibConfig.from(LibExecutor.from(app, libName), { bustImportCache }).catch((error) => {
|
|
3393
3393
|
if (error instanceof LibConfigRefusal)
|
|
3394
3394
|
throw error;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
runner
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-c1sfw20m.js";
|
|
5
5
|
import {
|
|
6
6
|
writeWorkflowRunArtifact,
|
|
7
7
|
generatedFilePathsForTarget,
|
|
8
8
|
writeGeneratedSyncState,
|
|
9
9
|
createRepairReport,
|
|
10
10
|
renderRepairReport
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-94a2xrv1.js";
|
|
12
12
|
import {
|
|
13
13
|
AkanContextAnalyzer
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-qk2evkwr.js";
|
|
15
15
|
import {
|
|
16
16
|
isWorkflowSysName,
|
|
17
17
|
isWorkflowModuleName
|
|
@@ -3,29 +3,29 @@ import {
|
|
|
3
3
|
parseBiomeReport,
|
|
4
4
|
Linter,
|
|
5
5
|
ProjectTypecheck2
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-g4hta169.js";
|
|
7
7
|
import {
|
|
8
8
|
TypecheckFailure
|
|
9
9
|
} from "./index-j4yvgfhr.js";
|
|
10
10
|
import {
|
|
11
11
|
ApplicationBuildReporter
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-8vger8r0.js";
|
|
13
13
|
import {
|
|
14
14
|
AppExecutor2
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-smjm20t4.js";
|
|
16
16
|
import {
|
|
17
17
|
LibExecutor2
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-xftdwcdj.js";
|
|
19
19
|
import {
|
|
20
20
|
PkgExecutor2
|
|
21
|
-
} from "./index-
|
|
21
|
+
} from "./index-zxvw9wme.js";
|
|
22
22
|
import {
|
|
23
23
|
WorkspaceRunner,
|
|
24
24
|
AkanQualityScanner
|
|
25
|
-
} from "./index-
|
|
25
|
+
} from "./index-c7zk1gtv.js";
|
|
26
26
|
import {
|
|
27
27
|
VerifyScope
|
|
28
|
-
} from "./index-
|
|
28
|
+
} from "./index-tc9k9sgg.js";
|
|
29
29
|
|
|
30
30
|
// pkgs/@akanjs/cli/verify/verifyComments.ts
|
|
31
31
|
import { existsSync } from "fs";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
runner
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-c1sfw20m.js";
|
|
5
5
|
import {
|
|
6
6
|
AppExecutor2
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-smjm20t4.js";
|
|
8
8
|
import {
|
|
9
9
|
jsonText,
|
|
10
10
|
workflowStatus,
|
|
11
11
|
createWorkflowBaselineSummary,
|
|
12
12
|
buildAkanModuleContextIndex,
|
|
13
13
|
toolingRolloutGate
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-94a2xrv1.js";
|
|
15
15
|
import {
|
|
16
16
|
buildResourceList,
|
|
17
17
|
codexMcpConfigPath,
|
|
@@ -21,16 +21,16 @@ import {
|
|
|
21
21
|
upsertCodexMcpServerBlock,
|
|
22
22
|
renderDoctorText,
|
|
23
23
|
AkanContextAnalyzer
|
|
24
|
-
} from "./index-
|
|
24
|
+
} from "./index-qk2evkwr.js";
|
|
25
25
|
import {
|
|
26
26
|
Prompter2
|
|
27
27
|
} from "./index-j3fqs8rc.js";
|
|
28
28
|
import {
|
|
29
29
|
NativeApp
|
|
30
|
-
} from "./index-
|
|
30
|
+
} from "./index-adbcqv0k.js";
|
|
31
31
|
import {
|
|
32
32
|
isPlaceholderAppId
|
|
33
|
-
} from "./index-
|
|
33
|
+
} from "./index-5fwhv8kp.js";
|
|
34
34
|
import {
|
|
35
35
|
getMobileTargets,
|
|
36
36
|
appIdsOf
|
|
@@ -40,10 +40,10 @@ import {
|
|
|
40
40
|
} from "./index-xs9a3ddt.js";
|
|
41
41
|
import {
|
|
42
42
|
RepairRunner
|
|
43
|
-
} from "./index-
|
|
43
|
+
} from "./index-h2g1qt9p.js";
|
|
44
44
|
import {
|
|
45
45
|
WorkflowRunner
|
|
46
|
-
} from "./index-
|
|
46
|
+
} from "./index-q7ct22a1.js";
|
|
47
47
|
|
|
48
48
|
// pkgs/@akanjs/devkit/context/akanMcpContract.ts
|
|
49
49
|
import { lstatSync, realpathSync } from "fs";
|
|
@@ -6,23 +6,23 @@ import {
|
|
|
6
6
|
CloudApi,
|
|
7
7
|
CloudUpdates,
|
|
8
8
|
PipelineSecrets
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-akep88g2.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveMobileTargets
|
|
12
12
|
} from "./index-m9jj544v.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceExecutor
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-g4hta169.js";
|
|
16
16
|
import {
|
|
17
17
|
AppExecutor2
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-smjm20t4.js";
|
|
19
19
|
import {
|
|
20
20
|
NativeApp
|
|
21
|
-
} from "./index-
|
|
21
|
+
} from "./index-adbcqv0k.js";
|
|
22
22
|
import {
|
|
23
23
|
runner,
|
|
24
24
|
assertPromptable
|
|
25
|
-
} from "./index-
|
|
25
|
+
} from "./index-c1sfw20m.js";
|
|
26
26
|
import {
|
|
27
27
|
getNpmRegistryUrl,
|
|
28
28
|
getPublishedVersions,
|
|
@@ -157,7 +157,7 @@ class SubagentPool2 {
|
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
159
|
async#run(id, kind, prompt, signal) {
|
|
160
|
-
const { CodeAgent } = await import("./CodeAgent-
|
|
160
|
+
const { CodeAgent } = await import("./CodeAgent-9t00vd1t.js");
|
|
161
161
|
const budget = this.#options.parent.tools.subagent;
|
|
162
162
|
const child = SubagentPool2.childOf(this.#options.parent, kind);
|
|
163
163
|
const model = this.#options.model?.();
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
CommandContainer,
|
|
4
4
|
runner
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-c1sfw20m.js";
|
|
6
6
|
import {
|
|
7
7
|
WorkspaceExecutor
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-g4hta169.js";
|
|
9
9
|
import {
|
|
10
10
|
jsonText,
|
|
11
11
|
workflowPlanApproval,
|
|
@@ -31,23 +31,23 @@ import {
|
|
|
31
31
|
renderWorkflowApply,
|
|
32
32
|
renderWorkflowValidation,
|
|
33
33
|
renderWorkflowRunArtifact
|
|
34
|
-
} from "./index-
|
|
34
|
+
} from "./index-94a2xrv1.js";
|
|
35
35
|
import {
|
|
36
36
|
AkanContextAnalyzer
|
|
37
|
-
} from "./index-
|
|
37
|
+
} from "./index-qk2evkwr.js";
|
|
38
38
|
import {
|
|
39
39
|
ModuleScript
|
|
40
|
-
} from "./index-
|
|
40
|
+
} from "./index-3jzx6k0e.js";
|
|
41
41
|
import {
|
|
42
42
|
PrimitiveScript
|
|
43
|
-
} from "./index-
|
|
43
|
+
} from "./index-y9tadrbb.js";
|
|
44
44
|
import {
|
|
45
45
|
spawnAkan,
|
|
46
46
|
isWorkspaceTarget
|
|
47
|
-
} from "./index-
|
|
47
|
+
} from "./index-h2g1qt9p.js";
|
|
48
48
|
import {
|
|
49
49
|
ScalarScript
|
|
50
|
-
} from "./index-
|
|
50
|
+
} from "./index-xrmcq5hx.js";
|
|
51
51
|
import {
|
|
52
52
|
workflowSpecs
|
|
53
53
|
} from "./index-t4d0ckde.js";
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
import {
|
|
3
3
|
runner,
|
|
4
4
|
script
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-c1sfw20m.js";
|
|
6
6
|
import {
|
|
7
7
|
CommandExecutionError,
|
|
8
8
|
LibSource,
|
|
9
9
|
formatLibStatuses
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-g4hta169.js";
|
|
11
11
|
import {
|
|
12
12
|
LibExecutor2
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-xftdwcdj.js";
|
|
14
14
|
import {
|
|
15
15
|
assertPlainName
|
|
16
16
|
} from "./index-va90m8nd.js";
|
|
@@ -8,21 +8,21 @@ import {
|
|
|
8
8
|
isScannedRootEntry,
|
|
9
9
|
extractBlockVersion,
|
|
10
10
|
readDevkitVersion
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-g4hta169.js";
|
|
12
12
|
import {
|
|
13
13
|
FileSys2
|
|
14
14
|
} from "./index-zyjztrvc.js";
|
|
15
15
|
import {
|
|
16
16
|
AppExecutor2
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-smjm20t4.js";
|
|
18
18
|
import {
|
|
19
19
|
LibExecutor2
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-xftdwcdj.js";
|
|
21
21
|
import {
|
|
22
22
|
workflowPathsForPlan,
|
|
23
23
|
workflowRunArtifactPath,
|
|
24
24
|
workflowSyncDir
|
|
25
|
-
} from "./index-
|
|
25
|
+
} from "./index-94a2xrv1.js";
|
|
26
26
|
import {
|
|
27
27
|
collectRecipeSources2,
|
|
28
28
|
scanRecipes2,
|