@akanjs/cli 3.1.1-rc.10 → 3.1.1-rc.12
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-8d5qs787.js → CodeAgent-eaazb526.js} +2 -2
- package/{CodeTui-z5vkm9ea.js → CodeTui-e7nh3rv9.js} +1 -1
- package/TunnelShare-26ty9skr.js +14 -0
- package/{agent.command-ydftceda.js → agent.command-h82gepwn.js} +5 -5
- package/akanCode.js +2 -2
- package/{application.command-wthg8nn9.js → application.command-j1reb9p1.js} +9 -9
- package/{applicationBuildRunner-t2r84sz6.js → applicationBuildRunner-w20x63mz.js} +8 -6
- package/buildBatch.proc.js +5 -5
- package/{cloud.command-sz11hpre.js → cloud.command-zd2mfkm0.js} +13 -13
- package/cloud.script-vdj8ymch.js +24 -0
- package/{code.command-9h3yrzhe.js → code.command-at39gpkg.js} +6 -6
- package/{context.command-15j9b7c0.js → context.command-d35ppstw.js} +16 -16
- package/context.runner-azvkkzdr.js +25 -0
- package/{guideline.command-snh85ctf.js → guideline.command-xwkskvky.js} +2 -2
- package/guidelines/pageRule/pageRule.instruction.md +4 -3
- package/incrementalBuilder.proc.js +3 -3
- package/{index-wcej7g4z.js → index-1e2955yd.js} +10 -0
- package/{index-bt438yxm.js → index-2qzzp0c9.js} +5 -4
- package/{index-40brg4px.js → index-4rwfh2de.js} +3 -3
- package/{index-pcwzkdqb.js → index-553xyb55.js} +1 -1
- package/{index-4vgbysa0.js → index-6pzt55w3.js} +3 -3
- package/{index-74tjjsnc.js → index-7abjzny1.js} +4 -4
- package/{index-2azahjaw.js → index-7ktk2hnz.js} +2 -2
- package/{index-a58emady.js → index-7yzcaymm.js} +8 -8
- package/{index-espk51ah.js → index-8jb5ep2e.js} +2 -2
- package/{index-js6geqjn.js → index-8rvwgd1r.js} +1 -1
- package/{index-55j120r8.js → index-8wd5r2xv.js} +3 -1
- package/{index-301pdbzz.js → index-brpk7gd8.js} +7 -7
- package/{index-6txx6a9p.js → index-ch1sv7ke.js} +16 -12
- package/{index-0fz95kxe.js → index-cz9g85xh.js} +1 -1
- package/{index-42j4a8zq.js → index-hdzjaq7s.js} +4 -3
- package/{index-skk9zc1x.js → index-kbbyzs6j.js} +2 -2
- package/{index-31es1yev.js → index-kr62ph5a.js} +2 -2
- package/{index-hmt54t45.js → index-nmy1rana.js} +4 -4
- package/{index-xjf5j657.js → index-pqdz7rat.js} +1 -1
- package/{index-3wypz6xj.js → index-qmeh0s05.js} +6 -2
- package/{index-a5dhqkdr.js → index-qsz6w3d6.js} +8 -3
- package/{index-2xcc2ax5.js → index-rshwdv9w.js} +2 -2
- package/{index-qfp55x1y.js → index-trvk51ht.js} +4 -4
- package/{index-9th4gszy.js → index-tzzs52h0.js} +18 -9
- package/{index-j9vyj3dj.js → index-wvvwdzfw.js} +3 -3
- package/{index-2mwc0g0d.js → index-xeh7m2j5.js} +1 -1
- package/{index-b70zct19.js → index-y5m4j2w6.js} +7 -7
- package/{index-905qdgqp.js → index-ygy8c12j.js} +1 -1
- package/{index-xb8809yb.js → index-yknrmkmt.js} +2 -2
- package/index.js +22 -22
- package/{library.command-gycrwhf1.js → library.command-td8t85kb.js} +3 -3
- package/{localRegistry.command-jtd8gaes.js → localRegistry.command-jx9zkmxf.js} +12 -12
- package/{module.command-v6hgs1bc.js → module.command-j70mqgpp.js} +5 -5
- package/{package.command-shzpcfph.js → package.command-1b1v6k5v.js} +3 -3
- package/package.json +2 -2
- package/{page.command-ptxn5kqk.js → page.command-m31w2tsz.js} +3 -3
- package/{pipeline.command-zz31pgax.js → pipeline.command-q7b8wy55.js} +2 -2
- package/{primitive.command-a1vse91z.js → primitive.command-4zrbhkb9.js} +6 -6
- package/{projectTypecheck-2ztky9cf.js → projectTypecheck-synx6qff.js} +1 -1
- package/{quality.command-ah8qcakd.js → quality.command-cy0pgqjz.js} +3 -3
- package/{repair.command-cvazbz99.js → repair.command-98n6zxg7.js} +5 -5
- package/{scalar.command-0acvyp26.js → scalar.command-rak5pjk3.js} +4 -4
- package/skills/akan-code/SKILL.md +1 -0
- package/{subspace.command-822qx2bx.js → subspace.command-ej0rk116.js} +8 -8
- package/{tunnel.command-ycmja19q.js → tunnel.command-kdx3amrc.js} +7 -7
- package/{workflow.command-abb1d5xy.js → workflow.command-gffk9nj9.js} +10 -10
- package/{workspace.command-qm7cw29v.js → workspace.command-j1680trm.js} +24 -24
- package/TunnelShare-qkm8zp03.js +0 -14
- package/cloud.script-nqevg5qw.js +0 -24
- package/context.runner-8gg030b0.js +0 -25
package/.build-stamp
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
5628eeacfe012ab2f51a9f9b30841ef68e770d67b4789aaf207d8e9a5d15f035
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
TunnelShare2
|
|
4
|
+
} from "./index-xeh7m2j5.js";
|
|
5
|
+
import"./index-7ktk2hnz.js";
|
|
6
|
+
import"./index-2qzzp0c9.js";
|
|
7
|
+
import"./index-m9jj544v.js";
|
|
8
|
+
import"./index-yknrmkmt.js";
|
|
9
|
+
import"./index-cz9g85xh.js";
|
|
10
|
+
import"./index-1e2955yd.js";
|
|
11
|
+
import"./index-52w0fvh8.js";
|
|
12
|
+
export {
|
|
13
|
+
TunnelShare2 as TunnelShare
|
|
14
|
+
};
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Workspace,
|
|
4
4
|
command
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-qmeh0s05.js";
|
|
6
6
|
import"./index-52w0fvh8.js";
|
|
7
|
-
import"./index-
|
|
7
|
+
import"./index-1e2955yd.js";
|
|
8
8
|
import"./index-hj6w4ka1.js";
|
|
9
|
-
import"./index-
|
|
10
|
-
import"./index-
|
|
9
|
+
import"./index-pqdz7rat.js";
|
|
10
|
+
import"./index-kr62ph5a.js";
|
|
11
11
|
import"./index-zzvvc845.js";
|
|
12
12
|
import {
|
|
13
13
|
AgentScript
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-6pzt55w3.js";
|
|
15
15
|
|
|
16
16
|
// pkgs/@akanjs/cli/agent/agent.command.ts
|
|
17
17
|
class AgentCommand extends command("agent", [AgentScript], ({ public: target }) => ({
|
package/akanCode.js
CHANGED
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
CodeMailbox2,
|
|
29
29
|
CodeSessionFork2,
|
|
30
30
|
CodeAgent2
|
|
31
|
-
} from "./index-
|
|
31
|
+
} from "./index-qsz6w3d6.js";
|
|
32
32
|
import {
|
|
33
33
|
akanCodeDefaultModel2,
|
|
34
34
|
akanCodeModel2,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
SubagentPool2,
|
|
41
41
|
akanCodePaths2,
|
|
42
42
|
AkanCodeCompaction2
|
|
43
|
-
} from "./index-
|
|
43
|
+
} from "./index-8wd5r2xv.js";
|
|
44
44
|
import"./index-7md2g9vw.js";
|
|
45
45
|
import {
|
|
46
46
|
CodeAgentRpcHost2
|
|
@@ -7,19 +7,19 @@ import {
|
|
|
7
7
|
Exec,
|
|
8
8
|
Workspace,
|
|
9
9
|
command
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-qmeh0s05.js";
|
|
11
11
|
import"./index-52w0fvh8.js";
|
|
12
|
-
import"./index-
|
|
12
|
+
import"./index-1e2955yd.js";
|
|
13
13
|
import"./index-5nd1wtkv.js";
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-
|
|
14
|
+
import"./index-2qzzp0c9.js";
|
|
15
|
+
import"./index-8rvwgd1r.js";
|
|
16
16
|
import"./index-m9jj544v.js";
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
17
|
+
import"./index-yknrmkmt.js";
|
|
18
|
+
import"./index-cz9g85xh.js";
|
|
19
|
+
import"./index-rshwdv9w.js";
|
|
20
20
|
import {
|
|
21
21
|
ApplicationScript
|
|
22
|
-
} from "./index-
|
|
22
|
+
} from "./index-tzzs52h0.js";
|
|
23
23
|
import"./index-7md2g9vw.js";
|
|
24
24
|
import {
|
|
25
25
|
writeOption,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
allowLocalOption,
|
|
29
29
|
publicEnvOption
|
|
30
30
|
} from "./index-mdjc93e1.js";
|
|
31
|
-
import"./index-
|
|
31
|
+
import"./index-553xyb55.js";
|
|
32
32
|
|
|
33
33
|
// pkgs/@akanjs/cli/application/application.command.ts
|
|
34
34
|
import { MigrationCommand } from "akanjs/server/migration/migrationCommand";
|
|
@@ -4,19 +4,19 @@ import {
|
|
|
4
4
|
Spinner,
|
|
5
5
|
ProjectTypecheck2,
|
|
6
6
|
WorkspaceExecutor
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-1e2955yd.js";
|
|
8
8
|
import"./index-52w0fvh8.js";
|
|
9
|
-
import"./index-
|
|
10
|
-
import"./index-
|
|
9
|
+
import"./index-8jb5ep2e.js";
|
|
10
|
+
import"./index-cz9g85xh.js";
|
|
11
11
|
import {
|
|
12
12
|
AllRoutesBuilder,
|
|
13
13
|
FontPruner,
|
|
14
14
|
precompressArtifacts,
|
|
15
15
|
SsrBaseArtifactBuilder
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-4rwfh2de.js";
|
|
17
17
|
import {
|
|
18
18
|
CsrArtifactBuilder
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-yknrmkmt.js";
|
|
20
20
|
import"./index-62md4dwy.js";
|
|
21
21
|
|
|
22
22
|
// pkgs/@akanjs/devkit/applicationBuildRunner.ts
|
|
@@ -36,9 +36,11 @@ class ProductionLockfile {
|
|
|
36
36
|
throw new Error(`the workspace root has no ${ProductionLockfile.fileName}`);
|
|
37
37
|
const dir = await mkdtemp(path.join(os.tmpdir(), "akan-production-lock-"));
|
|
38
38
|
try {
|
|
39
|
+
const npmrc = Bun.file(path.join(workspaceRoot, ".npmrc"));
|
|
39
40
|
await Promise.all([
|
|
40
41
|
Bun.write(path.join(dir, "package.json"), JSON.stringify(packageJson, null, 2)),
|
|
41
|
-
Bun.write(path.join(dir, ProductionLockfile.fileName), workspaceLock)
|
|
42
|
+
Bun.write(path.join(dir, ProductionLockfile.fileName), workspaceLock),
|
|
43
|
+
...await npmrc.exists() ? [Bun.write(path.join(dir, ".npmrc"), npmrc)] : []
|
|
42
44
|
]);
|
|
43
45
|
const install = Bun.spawn([process.execPath, "install", "--lockfile-only", "--no-progress"], {
|
|
44
46
|
cwd: dir,
|
package/buildBatch.proc.js
CHANGED
|
@@ -6,26 +6,26 @@ import {
|
|
|
6
6
|
resolveSsrPageEntriesForApp,
|
|
7
7
|
WorkspaceExecutor,
|
|
8
8
|
AppExecutor
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-1e2955yd.js";
|
|
10
10
|
import {
|
|
11
11
|
computeRouteSeedIndex,
|
|
12
12
|
saveRouteSeedIndex,
|
|
13
13
|
CsrDevBundler,
|
|
14
14
|
SsrDevBundler
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-8jb5ep2e.js";
|
|
16
16
|
import"./index-52w0fvh8.js";
|
|
17
17
|
import {
|
|
18
18
|
ServerGraphFile,
|
|
19
19
|
PagesBundleBuilder
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-cz9g85xh.js";
|
|
21
21
|
import {
|
|
22
22
|
CssCompiler,
|
|
23
23
|
FontOptimizer,
|
|
24
24
|
SsrBaseArtifactBuilder
|
|
25
|
-
} from "./index-
|
|
25
|
+
} from "./index-4rwfh2de.js";
|
|
26
26
|
import {
|
|
27
27
|
CsrArtifactBuilder
|
|
28
|
-
} from "./index-
|
|
28
|
+
} from "./index-yknrmkmt.js";
|
|
29
29
|
import"./index-62md4dwy.js";
|
|
30
30
|
|
|
31
31
|
// pkgs/@akanjs/devkit/incrementalBuilder/buildBatch.proc.ts
|
|
@@ -3,27 +3,27 @@ import {
|
|
|
3
3
|
App,
|
|
4
4
|
Workspace,
|
|
5
5
|
command
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-qmeh0s05.js";
|
|
7
7
|
import"./index-52w0fvh8.js";
|
|
8
|
-
import"./index-
|
|
9
|
-
import"./index-
|
|
8
|
+
import"./index-1e2955yd.js";
|
|
9
|
+
import"./index-7ktk2hnz.js";
|
|
10
10
|
import {
|
|
11
11
|
PlatformTestRun
|
|
12
|
-
} from "./index-
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
12
|
+
} from "./index-ch1sv7ke.js";
|
|
13
|
+
import"./index-2qzzp0c9.js";
|
|
14
|
+
import"./index-8rvwgd1r.js";
|
|
15
15
|
import"./index-m9jj544v.js";
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
16
|
+
import"./index-yknrmkmt.js";
|
|
17
|
+
import"./index-cz9g85xh.js";
|
|
18
18
|
import"./index-5nd1wtkv.js";
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
19
|
+
import"./index-rshwdv9w.js";
|
|
20
|
+
import"./index-tzzs52h0.js";
|
|
21
21
|
import"./index-7md2g9vw.js";
|
|
22
22
|
import"./index-tvehn2sp.js";
|
|
23
|
-
import"./index-
|
|
23
|
+
import"./index-hdzjaq7s.js";
|
|
24
24
|
import {
|
|
25
25
|
CloudScript2
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-brpk7gd8.js";
|
|
27
27
|
import {
|
|
28
28
|
writeOption,
|
|
29
29
|
oneNativeTargetOption,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
hostOption,
|
|
35
35
|
subspaceOption
|
|
36
36
|
} from "./index-mdjc93e1.js";
|
|
37
|
-
import"./index-
|
|
37
|
+
import"./index-553xyb55.js";
|
|
38
38
|
|
|
39
39
|
// pkgs/@akanjs/cli/cloud/cloud.command.ts
|
|
40
40
|
var localRegistryUrl = () => process.env.AKAN_NPM_REGISTRY ?? "http://127.0.0.1:4873";
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
CloudScript2
|
|
4
|
+
} from "./index-brpk7gd8.js";
|
|
5
|
+
import"./index-ch1sv7ke.js";
|
|
6
|
+
import"./index-tzzs52h0.js";
|
|
7
|
+
import"./index-553xyb55.js";
|
|
8
|
+
import"./index-rshwdv9w.js";
|
|
9
|
+
import"./index-hdzjaq7s.js";
|
|
10
|
+
import"./index-8rvwgd1r.js";
|
|
11
|
+
import"./index-7ktk2hnz.js";
|
|
12
|
+
import"./index-2qzzp0c9.js";
|
|
13
|
+
import"./index-m9jj544v.js";
|
|
14
|
+
import"./index-qmeh0s05.js";
|
|
15
|
+
import"./index-7md2g9vw.js";
|
|
16
|
+
import"./index-yknrmkmt.js";
|
|
17
|
+
import"./index-5nd1wtkv.js";
|
|
18
|
+
import"./index-cz9g85xh.js";
|
|
19
|
+
import"./index-1e2955yd.js";
|
|
20
|
+
import"./index-tvehn2sp.js";
|
|
21
|
+
import"./index-52w0fvh8.js";
|
|
22
|
+
export {
|
|
23
|
+
CloudScript2 as CloudScript
|
|
24
|
+
};
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
runner,
|
|
5
5
|
script,
|
|
6
6
|
command
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-qmeh0s05.js";
|
|
8
8
|
import"./index-52w0fvh8.js";
|
|
9
|
-
import"./index-
|
|
9
|
+
import"./index-1e2955yd.js";
|
|
10
10
|
import {
|
|
11
11
|
akanCodeDefaultModel2,
|
|
12
12
|
CodeAgentStreamPrinter2
|
|
@@ -19,7 +19,7 @@ class CodeRunner extends runner("code") {
|
|
|
19
19
|
async serve(options, listen) {
|
|
20
20
|
await import("./consoleToStderr-h5bryj94.js");
|
|
21
21
|
const [{ CodeAgent }, { CodeAgentRpcHost }, { CodeAgentRpcListener }] = await Promise.all([
|
|
22
|
-
import("./CodeAgent-
|
|
22
|
+
import("./CodeAgent-eaazb526.js"),
|
|
23
23
|
import("./CodeAgentRpcHost-9g27hmer.js"),
|
|
24
24
|
import("./CodeAgentRpcListener-7p7z5dd7.js")
|
|
25
25
|
]);
|
|
@@ -34,8 +34,8 @@ class CodeRunner extends runner("code") {
|
|
|
34
34
|
}
|
|
35
35
|
async tui(options, seed) {
|
|
36
36
|
const [{ CodeAgent }, { CodeTui }] = await Promise.all([
|
|
37
|
-
import("./CodeAgent-
|
|
38
|
-
import("./CodeTui-
|
|
37
|
+
import("./CodeAgent-eaazb526.js"),
|
|
38
|
+
import("./CodeTui-e7nh3rv9.js")
|
|
39
39
|
]);
|
|
40
40
|
const agentOptions = await CodeRunner.#agentOptions(options, false);
|
|
41
41
|
let resume = options.resume;
|
|
@@ -67,7 +67,7 @@ class CodeRunner extends runner("code") {
|
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
async run(prompt, options) {
|
|
70
|
-
const { CodeAgent } = await import("./CodeAgent-
|
|
70
|
+
const { CodeAgent } = await import("./CodeAgent-eaazb526.js");
|
|
71
71
|
const agent = await CodeAgent.create(await CodeRunner.#agentOptions(options, false));
|
|
72
72
|
const printer = new CodeAgentStreamPrinter2({ json: options.json, thinking: options.thinking });
|
|
73
73
|
agent.on((event) => printer.print(event));
|
|
@@ -2,28 +2,28 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Workspace,
|
|
4
4
|
command
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-qmeh0s05.js";
|
|
6
6
|
import"./index-52w0fvh8.js";
|
|
7
|
-
import"./index-
|
|
7
|
+
import"./index-1e2955yd.js";
|
|
8
8
|
import"./index-hj6w4ka1.js";
|
|
9
|
-
import"./index-
|
|
10
|
-
import"./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
9
|
+
import"./index-pqdz7rat.js";
|
|
10
|
+
import"./index-kr62ph5a.js";
|
|
11
|
+
import"./index-7yzcaymm.js";
|
|
12
|
+
import"./index-2qzzp0c9.js";
|
|
13
|
+
import"./index-8rvwgd1r.js";
|
|
14
14
|
import"./index-m9jj544v.js";
|
|
15
|
-
import"./index-
|
|
16
|
-
import"./index-
|
|
15
|
+
import"./index-yknrmkmt.js";
|
|
16
|
+
import"./index-cz9g85xh.js";
|
|
17
17
|
import"./index-zzvvc845.js";
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
21
|
-
import"./index-
|
|
22
|
-
import"./index-
|
|
23
|
-
import"./index-
|
|
18
|
+
import"./index-wvvwdzfw.js";
|
|
19
|
+
import"./index-ygy8c12j.js";
|
|
20
|
+
import"./index-nmy1rana.js";
|
|
21
|
+
import"./index-7abjzny1.js";
|
|
22
|
+
import"./index-kbbyzs6j.js";
|
|
23
|
+
import"./index-y5m4j2w6.js";
|
|
24
24
|
import {
|
|
25
25
|
ContextScript
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-trvk51ht.js";
|
|
27
27
|
|
|
28
28
|
// pkgs/@akanjs/cli/context/context.command.ts
|
|
29
29
|
class ContextCommand extends command("context", [ContextScript], ({ public: target }) => ({
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
ContextRunner2
|
|
4
|
+
} from "./index-7yzcaymm.js";
|
|
5
|
+
import"./index-y5m4j2w6.js";
|
|
6
|
+
import"./index-kbbyzs6j.js";
|
|
7
|
+
import"./index-7abjzny1.js";
|
|
8
|
+
import"./index-wvvwdzfw.js";
|
|
9
|
+
import"./index-nmy1rana.js";
|
|
10
|
+
import"./index-ygy8c12j.js";
|
|
11
|
+
import"./index-8rvwgd1r.js";
|
|
12
|
+
import"./index-2qzzp0c9.js";
|
|
13
|
+
import"./index-m9jj544v.js";
|
|
14
|
+
import"./index-kr62ph5a.js";
|
|
15
|
+
import"./index-pqdz7rat.js";
|
|
16
|
+
import"./index-zzvvc845.js";
|
|
17
|
+
import"./index-qmeh0s05.js";
|
|
18
|
+
import"./index-yknrmkmt.js";
|
|
19
|
+
import"./index-cz9g85xh.js";
|
|
20
|
+
import"./index-1e2955yd.js";
|
|
21
|
+
import"./index-hj6w4ka1.js";
|
|
22
|
+
import"./index-52w0fvh8.js";
|
|
23
|
+
export {
|
|
24
|
+
ContextRunner2 as ContextRunner
|
|
25
|
+
};
|
|
@@ -83,9 +83,10 @@ body shape — this is the full contract behind them. Before changing route beha
|
|
|
83
83
|
native back or swipe, the agent's `navigate` and `goBack` — with routes free of locale and basePath and `to: null`
|
|
84
84
|
for a `back`. `false`, a throw or a rejection keeps the page, `router.navigation()` rejects with
|
|
85
85
|
`NavigationRefused`, and a refused browser back is undone before the page redraws. Guards answer one at a time; a
|
|
86
|
-
move started while one decides is refused.
|
|
87
|
-
(`
|
|
88
|
-
|
|
86
|
+
move started while one decides is refused. In a component, register it with `useNavigationGuard(() => !isDirty)`
|
|
87
|
+
(`akanjs/webkit`), held only while its page is current: a page kept under the next for a swipe back stays mounted,
|
|
88
|
+
and a guard it kept would hold that page too. Redirects, `notFound()`, `setLang` and moves off the origin are not
|
|
89
|
+
asked; a closing tab is `beforeunload`'s.
|
|
89
90
|
|
|
90
91
|
## MCP Apps — `.app()`
|
|
91
92
|
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
CodegenLock,
|
|
9
9
|
WorkspaceExecutor,
|
|
10
10
|
AppExecutor
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-1e2955yd.js";
|
|
12
12
|
import"./index-52w0fvh8.js";
|
|
13
13
|
import {
|
|
14
14
|
GraphClientEntryDiscovery,
|
|
@@ -19,10 +19,10 @@ import {
|
|
|
19
19
|
DevChangePlanner,
|
|
20
20
|
DevGeneratedIndexSync,
|
|
21
21
|
SsrDevBundler
|
|
22
|
-
} from "./index-
|
|
22
|
+
} from "./index-8jb5ep2e.js";
|
|
23
23
|
import {
|
|
24
24
|
ServerGraphFile
|
|
25
|
-
} from "./index-
|
|
25
|
+
} from "./index-cz9g85xh.js";
|
|
26
26
|
import {
|
|
27
27
|
prepareDevWatchBatch
|
|
28
28
|
} from "./index-a5vmm6x4.js";
|
|
@@ -1115,7 +1115,15 @@ CMD [${command.map((c) => `"${c}"`).join(",")}]`;
|
|
|
1115
1115
|
static get akanVersion() {
|
|
1116
1116
|
return getAkanPackageJson().version;
|
|
1117
1117
|
}
|
|
1118
|
+
static #registryPins(pins) {
|
|
1119
|
+
if (!pins)
|
|
1120
|
+
return;
|
|
1121
|
+
const kept = Object.entries(pins).filter(([, spec]) => !/^(?:file:|link:|workspace:|portal:|[./~])/.test(spec));
|
|
1122
|
+
return kept.length ? Object.fromEntries(kept) : undefined;
|
|
1123
|
+
}
|
|
1118
1124
|
getProductionPackageJson(data = {}) {
|
|
1125
|
+
const overrides = AkanAppConfig.#registryPins(this.rootPackageJson.overrides);
|
|
1126
|
+
const resolutions = AkanAppConfig.#registryPins(this.rootPackageJson.resolutions);
|
|
1119
1127
|
return {
|
|
1120
1128
|
name: this.app.name,
|
|
1121
1129
|
description: this.app.name,
|
|
@@ -1126,6 +1134,8 @@ CMD [${command.map((c) => `"${c}"`).join(",")}]`;
|
|
|
1126
1134
|
this.#resolveProductionDependencyVersion(lib)
|
|
1127
1135
|
])),
|
|
1128
1136
|
...this.trustedDependencies.length ? { trustedDependencies: this.trustedDependencies } : {},
|
|
1137
|
+
...overrides ? { overrides } : {},
|
|
1138
|
+
...resolutions ? { resolutions } : {},
|
|
1129
1139
|
...data
|
|
1130
1140
|
};
|
|
1131
1141
|
}
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
AkanAppConfig,
|
|
6
6
|
Executor,
|
|
7
7
|
WorkspaceExecutor
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-1e2955yd.js";
|
|
9
9
|
import {
|
|
10
10
|
resolveAppId,
|
|
11
11
|
targetHtmlFilename
|
|
12
12
|
} from "./index-m9jj544v.js";
|
|
13
13
|
import {
|
|
14
14
|
CsrArtifactBuilder
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-yknrmkmt.js";
|
|
16
16
|
import {
|
|
17
17
|
ExitCodeError
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-qmeh0s05.js";
|
|
19
19
|
|
|
20
20
|
// pkgs/@akanjs/devkit/mobile/desktopBin.ts
|
|
21
21
|
import { chmod, mkdir, rename, rm, writeFile } from "fs/promises";
|
|
@@ -558,7 +558,8 @@ Set-Content -LiteralPath $env:AKAN_SIGNER_OUT -Value $subject -Encoding UTF8`;
|
|
|
558
558
|
`)[0] ?? ""}` };
|
|
559
559
|
}
|
|
560
560
|
static async#subjectOf(run, archive, tmp, exe) {
|
|
561
|
-
|
|
561
|
+
const tar = path4.join(process.env.SystemRoot ?? "C:\\Windows", "System32", "tar.exe");
|
|
562
|
+
await run([tar, "-xzf", archive, "-C", tmp, exe]);
|
|
562
563
|
const extracted = path4.join(tmp, exe);
|
|
563
564
|
if (!await Bun.file(extracted).exists())
|
|
564
565
|
return { signer: null, unread: `the archive holds no ${exe}` };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
resolveSsrPageEntriesForApp
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-1e2955yd.js";
|
|
5
5
|
import {
|
|
6
6
|
computeRouteSeedIndex,
|
|
7
7
|
saveRouteSeedIndex,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
ClientEntriesBundler,
|
|
10
10
|
VENDOR_SPECIFIERS,
|
|
11
11
|
RouteClientBuilder
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-8jb5ep2e.js";
|
|
13
13
|
import {
|
|
14
14
|
SOURCE_EXTS
|
|
15
15
|
} from "./index-5nd1wtkv.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
createTsconfigPackageResolver,
|
|
20
20
|
rewriteBarrelImports,
|
|
21
21
|
PagesBundleBuilder
|
|
22
|
-
} from "./index-
|
|
22
|
+
} from "./index-cz9g85xh.js";
|
|
23
23
|
import {
|
|
24
24
|
CssBlockParser
|
|
25
25
|
} from "./index-62md4dwy.js";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
runner,
|
|
4
4
|
script
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-qmeh0s05.js";
|
|
6
6
|
import {
|
|
7
7
|
AGENT_BLOCK_START,
|
|
8
8
|
AGENT_BLOCK_END,
|
|
@@ -13,14 +13,14 @@ import {
|
|
|
13
13
|
CLAUDE_COMMENT_RULE,
|
|
14
14
|
AppExecutor,
|
|
15
15
|
LibExecutor
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-1e2955yd.js";
|
|
17
17
|
import {
|
|
18
18
|
collectRecipeSources2,
|
|
19
19
|
scanRecipes2
|
|
20
20
|
} from "./index-hj6w4ka1.js";
|
|
21
21
|
import {
|
|
22
22
|
AkanContextAnalyzer
|
|
23
|
-
} from "./index-
|
|
23
|
+
} from "./index-kr62ph5a.js";
|
|
24
24
|
import {
|
|
25
25
|
Prompter2
|
|
26
26
|
} from "./index-zzvvc845.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
script
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-qmeh0s05.js";
|
|
5
5
|
import {
|
|
6
6
|
AppExecutor,
|
|
7
7
|
LibExecutor,
|
|
8
8
|
ModuleExecutor
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-1e2955yd.js";
|
|
10
10
|
import {
|
|
11
11
|
workflowStatus,
|
|
12
12
|
compactDiagnostics,
|
|
@@ -41,10 +41,10 @@ import {
|
|
|
41
41
|
hasSignalFactoryEntry,
|
|
42
42
|
insertSignalFactoryEntry,
|
|
43
43
|
addFieldUiPolicyForType
|
|
44
|
-
} from "./index-
|
|
44
|
+
} from "./index-pqdz7rat.js";
|
|
45
45
|
import {
|
|
46
46
|
ModuleScript
|
|
47
|
-
} from "./index-
|
|
47
|
+
} from "./index-nmy1rana.js";
|
|
48
48
|
|
|
49
49
|
// pkgs/@akanjs/cli/primitive/primitive.script.ts
|
|
50
50
|
import { capitalize, lowerlize } from "akanjs/common";
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
UpdatePackFolder,
|
|
10
10
|
NativePublicEnv,
|
|
11
11
|
NativeApp
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-2qzzp0c9.js";
|
|
13
13
|
import {
|
|
14
14
|
ExitCodeError
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-qmeh0s05.js";
|
|
16
16
|
import {
|
|
17
17
|
ConfigLock
|
|
18
18
|
} from "./index-bqbf654f.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
AppExecutor
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-1e2955yd.js";
|
|
5
5
|
import {
|
|
6
6
|
jsonText,
|
|
7
7
|
createWorkflowBaselineSummary,
|
|
8
8
|
buildAkanModuleContextIndex,
|
|
9
9
|
toolingRolloutGate
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-pqdz7rat.js";
|
|
11
11
|
import {
|
|
12
12
|
buildResourceList,
|
|
13
13
|
codexMcpConfigPath,
|
|
@@ -17,16 +17,16 @@ import {
|
|
|
17
17
|
upsertCodexMcpServerBlock,
|
|
18
18
|
renderDoctorText,
|
|
19
19
|
AkanContextAnalyzer
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-kr62ph5a.js";
|
|
21
21
|
import {
|
|
22
22
|
runner
|
|
23
|
-
} from "./index-
|
|
23
|
+
} from "./index-qmeh0s05.js";
|
|
24
24
|
import {
|
|
25
25
|
NativeApp
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-2qzzp0c9.js";
|
|
27
27
|
import {
|
|
28
28
|
isPlaceholderAppId
|
|
29
|
-
} from "./index-
|
|
29
|
+
} from "./index-8rvwgd1r.js";
|
|
30
30
|
import {
|
|
31
31
|
getMobileTargets,
|
|
32
32
|
appIdsOf
|
|
@@ -36,10 +36,10 @@ import {
|
|
|
36
36
|
} from "./index-zzvvc845.js";
|
|
37
37
|
import {
|
|
38
38
|
RepairRunner
|
|
39
|
-
} from "./index-
|
|
39
|
+
} from "./index-wvvwdzfw.js";
|
|
40
40
|
import {
|
|
41
41
|
WorkflowRunner
|
|
42
|
-
} from "./index-
|
|
42
|
+
} from "./index-y5m4j2w6.js";
|
|
43
43
|
|
|
44
44
|
// pkgs/@akanjs/devkit/akanMcpContract.ts
|
|
45
45
|
import path from "path";
|
|
@@ -19,11 +19,11 @@ import {
|
|
|
19
19
|
CsrDevPaths,
|
|
20
20
|
PagesEntrySourceGenerator,
|
|
21
21
|
PagesBundleBuilder
|
|
22
|
-
} from "./index-
|
|
22
|
+
} from "./index-cz9g85xh.js";
|
|
23
23
|
import {
|
|
24
24
|
AsyncDefaultExportDetector,
|
|
25
25
|
resolveSsrPageEntriesForApp
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-1e2955yd.js";
|
|
27
27
|
|
|
28
28
|
// pkgs/@akanjs/devkit/frontendBuild/autoImportSync.ts
|
|
29
29
|
import { readdir, readFile, stat } from "fs/promises";
|