@akanjs/cli 3.0.0-beta.20 → 3.0.0-beta.22
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-awv258wb.js → CodeAgent-0dh9fzzg.js} +2 -2
- package/{CodeTui-1nqh35ez.js → CodeTui-drwdvwg9.js} +1 -1
- package/{agent.command-1s9ag7sb.js → agent.command-ttn09rx3.js} +5 -5
- package/akanCode.js +2 -2
- package/{application.command-49hwy6va.js → application.command-mm5v2gzp.js} +43 -41
- package/{applicationBuildRunner-ybyp97pv.js → applicationBuildRunner-38exmejd.js} +2 -2
- package/buildBatch.proc.js +10 -4
- package/{cloud.command-d7rqtzt9.js → cloud.command-f1pnvp2a.js} +9 -8
- package/cloud.script-d61mcf0q.js +20 -0
- package/{code.command-nn48xzej.js → code.command-1jgk14tc.js} +6 -6
- package/commandManifest.json +1 -1
- package/{context.command-s3mcmvpa.js → context.command-4vpjmg22.js} +13 -13
- package/context.runner-ehjs419v.js +21 -0
- package/{guideline.command-sct4qnt5.js → guideline.command-7jk47fgq.js} +2 -2
- package/guidelines/agentRule/agentRule.instruction.md +3 -3
- package/guidelines/conventions/conventions.instruction.md +17 -5
- package/guidelines/runtimeRule/runtimeRule.instruction.md +3 -3
- package/incrementalBuilder.proc.js +1 -1
- package/{index-5pc1qrbv.js → index-1db2cw0y.js} +2 -2
- package/{index-13ffe9wp.js → index-2gh9sndr.js} +4 -4
- package/{index-ahemdr5n.js → index-4dn1p115.js} +3 -3
- package/{index-ygn77a5w.js → index-9629w7ns.js} +5 -3
- package/{index-ddxvdd1p.js → index-aadpbnt2.js} +5 -5
- package/{index-xsjh6nzh.js → index-aaz7n8s2.js} +3 -3
- package/{index-9d9bgcx4.js → index-ga6hygxr.js} +514 -480
- package/{index-ztp3e73t.js → index-hb8sgepf.js} +1 -1
- package/{index-xqpzbab5.js → index-m0ms3n1c.js} +7 -7
- package/{index-ww4z397j.js → index-m79y8b2h.js} +82 -168
- package/{index-as7xmyz8.js → index-mgfx3mfs.js} +5 -4
- package/{index-3sq321ak.js → index-pp54p5zk.js} +2 -2
- package/{index-xqjwd384.js → index-q44jbw48.js} +1 -1
- package/{index-w2zdcw3k.js → index-rmcw8yc8.js} +1 -1
- package/{index-dzf3r49a.js → index-rnt66vym.js} +1 -1
- package/{index-8sf7wmdr.js → index-sz0myv9k.js} +5 -5
- package/{index-8mna0947.js → index-tgjy8xf3.js} +4 -4
- package/{index-nv5976x3.js → index-vj1cwwy5.js} +24 -13
- package/{index-przybvy5.js → index-wp43xrjv.js} +4 -4
- package/{index-31yr441d.js → index-ya5qbmyg.js} +3 -3
- package/{index-axzjaqve.js → index-yjkte9aj.js} +5 -4
- package/index-ys6f0bvh.js +471 -0
- package/{index-myhc3c1j.js → index-yy4s1j72.js} +1 -1
- package/index.js +21 -21
- package/{library.command-1gx04jgn.js → library.command-ccb1cp92.js} +3 -3
- package/{localRegistry.command-zndxj1q6.js → localRegistry.command-pgbr7vjj.js} +8 -7
- package/{module.command-3waddk95.js → module.command-5k6h407d.js} +5 -5
- package/{package.command-zrc7br1y.js → package.command-e6ntvpez.js} +3 -3
- package/package.json +2 -3
- package/{page.command-vpjgardh.js → page.command-v4f90wb8.js} +3 -3
- package/{primitive.command-sz84tk4t.js → primitive.command-g6km57q5.js} +6 -6
- package/{quality.command-g869hafs.js → quality.command-de3p36pz.js} +5 -4
- package/{repair.command-chsnjvvv.js → repair.command-d3x1javq.js} +5 -5
- package/{scalar.command-2v21newx.js → scalar.command-7ezrac2b.js} +4 -4
- package/{subspace.command-ckcbwfp1.js → subspace.command-g2tq9nrn.js} +4 -4
- package/templates/workspaceRoot/.gitignore.template +0 -1
- package/{tunnel.command-kd2yr4fx.js → tunnel.command-hsrv2mny.js} +2 -2
- package/{workflow.command-44252cqv.js → workflow.command-z2p32nmf.js} +10 -10
- package/{workspace.command-fqcztt5p.js → workspace.command-s82wd61q.js} +20 -20
- package/applicationReleasePackager-esnrphw8.js +0 -224
- package/capacitorApp-1synz4en.js +0 -11
- package/cloud.script-bkbpcr96.js +0 -19
- package/context.runner-k99nb5pk.js +0 -21
- package/index-5e0n4hqx.js +0 -75
- package/index-mxav6j3c.js +0 -1377
|
@@ -4,10 +4,11 @@ import {
|
|
|
4
4
|
readDevkitVersion,
|
|
5
5
|
rootAllowedFiles,
|
|
6
6
|
rootAllowedDirs,
|
|
7
|
+
rootEntryHintOf,
|
|
7
8
|
isScannedRootEntry,
|
|
8
9
|
AppExecutor,
|
|
9
10
|
LibExecutor
|
|
10
|
-
} from "./index-
|
|
11
|
+
} from "./index-ga6hygxr.js";
|
|
11
12
|
import {
|
|
12
13
|
FileSys2
|
|
13
14
|
} from "./index-5b6tavv3.js";
|
|
@@ -20,7 +21,7 @@ import {
|
|
|
20
21
|
workflowPathsForPlan,
|
|
21
22
|
workflowRunArtifactPath,
|
|
22
23
|
workflowSyncDir
|
|
23
|
-
} from "./index-
|
|
24
|
+
} from "./index-yy4s1j72.js";
|
|
24
25
|
|
|
25
26
|
// pkgs/@akanjs/devkit/akanContext.ts
|
|
26
27
|
import { readdir } from "fs/promises";
|
|
@@ -391,12 +392,13 @@ class AkanContextAnalyzer {
|
|
|
391
392
|
if (!isScannedRootEntry(sys.type, entry.name))
|
|
392
393
|
continue;
|
|
393
394
|
const allowed = entry.isDirectory() ? rootAllowedDirs[sys.type].has(entry.name) : rootAllowedFiles[sys.type].has(entry.name);
|
|
395
|
+
const rootEntryHint = rootEntryHintOf(sys.type, entry.name);
|
|
394
396
|
if (!allowed)
|
|
395
397
|
report({
|
|
396
398
|
severity: "error",
|
|
397
399
|
code: `${sys.type}-root-unknown-entry`,
|
|
398
400
|
path: `${sys.path}/${entry.name}`,
|
|
399
|
-
message: `Unexpected ${entry.isDirectory() ? "folder" : "file"} in ${sys.type} root: ${sys.path}/${entry.name}`
|
|
401
|
+
message: `Unexpected ${entry.isDirectory() ? "folder" : "file"} in ${sys.type} root: ${sys.path}/${entry.name}${rootEntryHint ? ` (${rootEntryHint})` : ""}`
|
|
400
402
|
}, repairAction("module-shape", `akan repair module-shape --app ${sys.name}`, `Review ${sys.type} root shape and remove or move the unknown entry.`, false));
|
|
401
403
|
}
|
|
402
404
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
AsyncDefaultExportDetector,
|
|
4
4
|
resolveSsrPageEntriesForApp
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-ga6hygxr.js";
|
|
6
6
|
import {
|
|
7
7
|
SOURCE_EXTS
|
|
8
8
|
} from "./index-khpfpcsd.js";
|
|
@@ -21,9 +21,6 @@ import {
|
|
|
21
21
|
} from "./index-fgq75haa.js";
|
|
22
22
|
var __require = import.meta.require;
|
|
23
23
|
|
|
24
|
-
// pkgs/@akanjs/devkit/frontendBuild/allRoutesBuilder.ts
|
|
25
|
-
import path2 from "path";
|
|
26
|
-
|
|
27
24
|
// pkgs/@akanjs/devkit/artifact/routeSeedIndex.ts
|
|
28
25
|
import path from "path";
|
|
29
26
|
import { assertUniqueRoutePatterns, compareRouteSpecificity, parseRouteModuleKey } from "akanjs/common";
|
|
@@ -91,6 +88,9 @@ function serializeArtifactPath(artifactPath, artifactDir) {
|
|
|
91
88
|
return path.relative(artifactDir, artifactPath).split(path.sep).join("/");
|
|
92
89
|
}
|
|
93
90
|
|
|
91
|
+
// pkgs/@akanjs/devkit/frontendBuild/allRoutesBuilder.ts
|
|
92
|
+
import path2 from "path";
|
|
93
|
+
|
|
94
94
|
// pkgs/@akanjs/devkit/frontendBuild/routesManifestArtifactSerializer.ts
|
|
95
95
|
import { RoutesManifestStore } from "akanjs/server/artifact/routesManifestStore";
|
|
96
96
|
|
|
@@ -2111,4 +2111,4 @@ ${preparedCssText}`).toString(36);
|
|
|
2111
2111
|
}
|
|
2112
2112
|
}
|
|
2113
2113
|
}
|
|
2114
|
-
export { AllRoutesBuilder, CssCompiler, PagesBundleBuilder, CsrArtifactBuilder, FontOptimizer, FontPruner, precompressArtifacts, SsrBaseArtifactBuilder };
|
|
2114
|
+
export { computeRouteSeedIndex, saveRouteSeedIndex, AllRoutesBuilder, CssCompiler, PagesBundleBuilder, CsrArtifactBuilder, FontOptimizer, FontPruner, precompressArtifacts, SsrBaseArtifactBuilder };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
akanCodePaths2,
|
|
5
5
|
McpServerConfig,
|
|
6
6
|
McpSignIn
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-hb8sgepf.js";
|
|
8
8
|
import {
|
|
9
9
|
stripAnsi
|
|
10
10
|
} from "./index-7md2g9vw.js";
|
|
@@ -511,7 +511,7 @@ class AkanToolPack2 {
|
|
|
511
511
|
return { name: "akan-tools", factory: async (pi) => await this.#register(pi) };
|
|
512
512
|
}
|
|
513
513
|
async names() {
|
|
514
|
-
const { ContextRunner } = await import("./context.runner-
|
|
514
|
+
const { ContextRunner } = await import("./context.runner-ehjs419v.js");
|
|
515
515
|
return [
|
|
516
516
|
...new ContextRunner().listMcpTools(this.#options.mode).map((tool) => tool.name),
|
|
517
517
|
AkanToolPack2.verifyToolName
|
|
@@ -519,7 +519,7 @@ class AkanToolPack2 {
|
|
|
519
519
|
}
|
|
520
520
|
static verifyToolName = "akan_verify";
|
|
521
521
|
async#register(pi) {
|
|
522
|
-
const { ContextRunner } = await import("./context.runner-
|
|
522
|
+
const { ContextRunner } = await import("./context.runner-ehjs419v.js");
|
|
523
523
|
const runner = new ContextRunner;
|
|
524
524
|
const guidelineNames = await AkanToolPack2.#guidelineNames();
|
|
525
525
|
for (const tool of runner.listMcpTools(this.#options.mode, { guidelineNames })) {
|