@akanjs/cli 3.0.0-beta.20 → 3.0.0-beta.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 +1 -1
- package/{CodeAgent-awv258wb.js → CodeAgent-q2m47rqp.js} +2 -2
- package/{CodeTui-1nqh35ez.js → CodeTui-pdqhc3sn.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-7gweenv7.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-bhztw7c2.js} +9 -8
- package/cloud.script-aabyhgba.js +20 -0
- package/{code.command-nn48xzej.js → code.command-6s8c0k91.js} +6 -6
- package/commandManifest.json +1 -1
- package/{context.command-s3mcmvpa.js → context.command-phmgywt2.js} +13 -13
- package/context.runner-yvyw5g2d.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-ahemdr5n.js → index-4dn1p115.js} +3 -3
- package/{index-13ffe9wp.js → index-7cqjvraf.js} +4 -4
- package/{index-8sf7wmdr.js → index-8kb5p54p.js} +5 -5
- package/{index-ygn77a5w.js → index-9629w7ns.js} +5 -3
- package/{index-ddxvdd1p.js → index-aadpbnt2.js} +5 -5
- package/{index-ztp3e73t.js → index-d0arnrm8.js} +1 -1
- package/{index-nv5976x3.js → index-dg97qp24.js} +24 -13
- package/{index-9d9bgcx4.js → index-ga6hygxr.js} +514 -480
- package/index-hr5n7t4x.js +465 -0
- package/{index-xqpzbab5.js → index-m0ms3n1c.js} +7 -7
- 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-8mna0947.js → index-tgjy8xf3.js} +4 -4
- package/{index-xsjh6nzh.js → index-v5eayqqw.js} +3 -3
- 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-myhc3c1j.js → index-yy4s1j72.js} +1 -1
- package/{index-ww4z397j.js → index-z50k041j.js} +82 -168
- package/index.js +21 -21
- package/{library.command-1gx04jgn.js → library.command-ccb1cp92.js} +3 -3
- package/{localRegistry.command-zndxj1q6.js → localRegistry.command-ajb9n87j.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-ps71ynp6.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-tmdqkrh0.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
|
@@ -5,19 +5,19 @@ import {
|
|
|
5
5
|
} from "./index-22d57v4c.js";
|
|
6
6
|
import {
|
|
7
7
|
script
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-rmcw8yc8.js";
|
|
9
9
|
import {
|
|
10
10
|
PkgExecutor
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-ga6hygxr.js";
|
|
12
12
|
import {
|
|
13
13
|
ApplicationScript
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-z50k041j.js";
|
|
15
15
|
import {
|
|
16
16
|
PackageScript
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-mgfx3mfs.js";
|
|
18
18
|
import {
|
|
19
19
|
CloudRunner
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-yjkte9aj.js";
|
|
21
21
|
|
|
22
22
|
// pkgs/@akanjs/cli/cloud/cloud.script.ts
|
|
23
23
|
import { Logger } from "akanjs/common";
|
|
@@ -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 };
|
|
@@ -116,7 +116,7 @@ class SubagentPool2 {
|
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
async#run(id, kind, prompt, signal) {
|
|
119
|
-
const { CodeAgent } = await import("./CodeAgent-
|
|
119
|
+
const { CodeAgent } = await import("./CodeAgent-q2m47rqp.js");
|
|
120
120
|
const budget = this.#options.parent.tools.subagent;
|
|
121
121
|
const child = SubagentPool2.childOf(this.#options.parent, kind);
|
|
122
122
|
const agent = await CodeAgent.create({
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
AppExecutor
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-ga6hygxr.js";
|
|
5
5
|
import {
|
|
6
6
|
jsonText,
|
|
7
7
|
createWorkflowBaselineSummary,
|
|
8
8
|
buildAkanModuleContextIndex,
|
|
9
9
|
toolingRolloutGate
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-yy4s1j72.js";
|
|
11
11
|
import {
|
|
12
12
|
buildResourceList,
|
|
13
13
|
codexMcpConfigPath,
|
|
@@ -17,25 +17,24 @@ import {
|
|
|
17
17
|
upsertCodexMcpServerBlock,
|
|
18
18
|
renderDoctorText,
|
|
19
19
|
AkanContextAnalyzer
|
|
20
|
-
} from "./index-
|
|
21
|
-
import {
|
|
22
|
-
isPlaceholderAppId2
|
|
23
|
-
} from "./index-mxav6j3c.js";
|
|
20
|
+
} from "./index-9629w7ns.js";
|
|
24
21
|
import {
|
|
25
22
|
runner
|
|
26
|
-
} from "./index-
|
|
23
|
+
} from "./index-rmcw8yc8.js";
|
|
24
|
+
import {
|
|
25
|
+
getMobileTargets,
|
|
26
|
+
NativeApp,
|
|
27
|
+
isPlaceholderAppId
|
|
28
|
+
} from "./index-hr5n7t4x.js";
|
|
27
29
|
import {
|
|
28
30
|
Prompter2
|
|
29
31
|
} from "./index-0bq14vr1.js";
|
|
30
32
|
import {
|
|
31
33
|
RepairRunner
|
|
32
|
-
} from "./index-
|
|
34
|
+
} from "./index-ya5qbmyg.js";
|
|
33
35
|
import {
|
|
34
36
|
WorkflowRunner
|
|
35
|
-
} from "./index-
|
|
36
|
-
import {
|
|
37
|
-
getMobileTargets
|
|
38
|
-
} from "./index-5e0n4hqx.js";
|
|
37
|
+
} from "./index-m0ms3n1c.js";
|
|
39
38
|
|
|
40
39
|
// pkgs/@akanjs/devkit/akanMcpContract.ts
|
|
41
40
|
import path from "path";
|
|
@@ -589,13 +588,25 @@ class ContextRunner2 extends runner("context") {
|
|
|
589
588
|
async#doctorIos(workspace, format) {
|
|
590
589
|
const appNames = await workspace.getApps();
|
|
591
590
|
const diagnostics = [];
|
|
591
|
+
let toolchainChecked = false;
|
|
592
592
|
for (const appName of appNames) {
|
|
593
593
|
const app = AppExecutor.from(workspace, appName);
|
|
594
594
|
const config = await app.getConfig();
|
|
595
595
|
if (!config.hasMobileConfig)
|
|
596
596
|
continue;
|
|
597
|
+
if (!toolchainChecked) {
|
|
598
|
+
toolchainChecked = true;
|
|
599
|
+
const report = await NativeApp.doctor(app.cwdPath, ["ios"]);
|
|
600
|
+
for (const check of report.checks.filter((check) => !check.ok || check.warn))
|
|
601
|
+
diagnostics.push({
|
|
602
|
+
severity: check.ok ? "warning" : "error",
|
|
603
|
+
code: "native-toolchain",
|
|
604
|
+
path: `${check.group} \u203A ${check.name}`,
|
|
605
|
+
message: [check.detail, check.hint].filter(Boolean).join(" ")
|
|
606
|
+
});
|
|
607
|
+
}
|
|
597
608
|
for (const { name, config: target } of await getMobileTargets(app)) {
|
|
598
|
-
if (!
|
|
609
|
+
if (!isPlaceholderAppId(target.appId))
|
|
599
610
|
continue;
|
|
600
611
|
diagnostics.push({
|
|
601
612
|
severity: "warning",
|