@akanjs/cli 3.3.0-rc.1 → 3.3.0-rc.3
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-0r05qa30.js +11 -0
- package/{CodeTui-zee8atsr.js → CodeTui-brryts78.js} +4 -4
- package/TunnelShare-dcx5j51j.js +16 -0
- package/{agent.command-x65f2ags.js → agent.command-xn4maemk.js} +20 -22
- package/akanCode.js +5 -5
- package/appExecutor-qt1nm242.js +11 -0
- package/{application.command-azbd1pb2.js → application.command-rv2n5bw8.js} +17 -19
- package/{applicationBuildRunner-trfxv3pd.js → applicationBuildRunner-ggkd5qgy.js} +16 -13
- package/buildBatch.proc.js +19 -18
- package/{cloud.command-gapp4634.js → cloud.command-hgnbps4n.js} +19 -24
- package/cloud.script-rzsnzjsg.js +30 -0
- package/{code.command-5smx61yf.js → code.command-9gfph3t3.js} +13 -13
- package/{context.command-ym5jbkny.js → context.command-dwhz1fwq.js} +20 -22
- package/context.runner-gh9rr71p.js +32 -0
- package/csrArtifactBuilder-zawt8knq.js +9 -0
- package/{index-2ny1e95c.js → dependencyScanner-93g8tk0r.js} +6 -5
- package/{fileSys-q22646yc.js → fileSys-e5mwt73x.js} +1 -1
- package/frameworkGraph-aneq2nwy.js +8 -0
- package/{guideline.command-zwypaqsh.js → guideline.command-v2daz21k.js} +8 -8
- 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 +24 -18
- package/{index-j6jjmn2r.js → index-0k64a38w.js} +62 -21
- package/{index-78y75t0a.js → index-0vtpxfx6.js} +6 -7
- package/{index-4ss4gkv3.js → index-0vv0a5h8.js} +2 -2
- package/{index-j0wr4e32.js → index-1v5eghaa.js} +9 -9
- package/{index-kfvjzk8r.js → index-2ktpwjgf.js} +3 -3
- package/{index-w1zexzpx.js → index-2t7jnfg5.js} +1 -1
- package/{index-p7beqww9.js → index-3fmzz9sf.js} +18 -18
- package/{index-8jtqfye2.js → index-58ck1gsm.js} +6 -6
- package/{index-0s7w2085.js → index-5cpjkfhk.js} +4 -4
- package/{index-71y6176j.js → index-609zbjve.js} +8 -8
- package/{index-9wh04mqy.js → index-66b1hrxh.js} +2 -2
- package/{index-gt8phqpt.js → index-6yefp97x.js} +4 -4
- package/{index-0dm25wvf.js → index-7ssr7wq4.js} +1 -1
- package/{index-612fdtbk.js → index-8fg1hvj5.js} +1 -1
- package/{index-41a03gkj.js → index-91bcfjej.js} +19 -19
- package/{index-275a4r3n.js → index-999e5kp4.js} +11 -15
- package/{index-s885g0jj.js → index-arcdcexp.js} +3 -3
- package/{index-jek2re5k.js → index-b3kjr19v.js} +4 -4
- package/{index-3txdtztz.js → index-bjg9thz8.js} +1 -1
- package/{index-baccvws5.js → index-bsew0a12.js} +1 -1
- package/{index-zfnz878d.js → index-c67vjafa.js} +1 -1
- package/{index-z92zm3wd.js → index-cfzqdsam.js} +29 -11
- package/{index-dadwp2aw.js → index-dy5reyet.js} +271 -39
- package/{index-67sd09ag.js → index-fqhr7j56.js} +8 -8
- package/{index-zmd9xxgd.js → index-g7hm77j6.js} +3 -3
- package/{index-h901f24n.js → index-ghs8gtvp.js} +5 -5
- package/{index-v7ajmsh3.js → index-h1k3zyyb.js} +1 -1
- package/{index-knpm8sdm.js → index-j3fqs8rc.js} +1 -1
- package/{index-6dzjer7p.js → index-jzwdwse0.js} +6 -6
- package/{index-2jmvfa62.js → index-m4s4tzjr.js} +3 -3
- package/{index-xwwex8rf.js → index-ndfxse05.js} +5 -5
- package/{index-z96ks033.js → index-rd669r6x.js} +153 -45
- package/{index-k6vwww45.js → index-rnhbh45p.js} +7 -7
- package/{index-ybcb9wc8.js → index-rwhdcnr8.js} +9 -9
- package/{index-a860mx0m.js → index-sn5cka91.js} +24 -24
- package/{index-ebn9kgea.js → index-v0gt5ryd.js} +18 -15
- package/{index-2yn3r67f.js → index-vznyyaf8.js} +6 -6
- package/{index-dmcpetwe.js → index-w18qdjyf.js} +98 -23
- package/{index-p5zh7pmc.js → index-xv3pvdw4.js} +1 -1
- package/{index-nc3br31y.js → index-yejf6fth.js} +2 -2
- package/{index-7wf8snar.js → index-zfmc4380.js} +1 -1
- package/{index-j592zfqc.js → index-zx3bv21b.js} +1 -1
- package/{index-by2tvsq6.js → index-zyjztrvc.js} +1 -1
- package/index.js +30 -28
- package/{libExecutor-jc6f8hm6.js → libExecutor-p21kkayq.js} +3 -3
- package/{library.command-nxvesvhb.js → library.command-m4gw18qq.js} +8 -8
- package/{localRegistry.command-xz62e4ng.js → localRegistry.command-3yq90wgp.js} +18 -23
- package/{module.command-aaws9byg.js → module.command-9vfdxapr.js} +10 -10
- package/{package.command-j7hv26p0.js → package.command-rt4y8xaf.js} +9 -12
- package/package.json +3 -2
- package/{page.command-7yffs7n9.js → page.command-4zc20rnv.js} +8 -8
- package/{pipeline.command-7yk0zcng.js → pipeline.command-4ekd9xgb.js} +7 -7
- package/{pkgExecutor-arxmvx4t.js → pkgExecutor-mh903rz9.js} +3 -3
- package/{primitive.command-7a1pt715.js → primitive.command-5g3xe4mf.js} +11 -11
- package/{projectTypecheck-f4qhbecd.js → projectTypecheck-bz6smek9.js} +1 -1
- package/{prompter-qyggfhqd.js → prompter-d33wmdpa.js} +2 -2
- package/{quality.command-c6mvrjh1.js → quality.command-zf8dyc9w.js} +9 -9
- package/{repair.command-093adzt9.js → repair.command-sx0eyq4w.js} +10 -10
- package/{scalar.command-2ex84spb.js → scalar.command-4bvzmbbh.js} +9 -9
- 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-4n4n4jpv.js → subspace.command-cxyej1an.js} +11 -13
- package/{tunnel.command-f7ep1qfa.js → tunnel.command-gvnv36yf.js} +10 -12
- package/{verify.command-zrkxnvct.js → verify.command-yj2mngs0.js} +15 -17
- package/{workflow.command-ks16jegk.js → workflow.command-42p9g0w8.js} +15 -15
- package/{workspace.command-ahhfpaag.js → workspace.command-91wx03de.js} +34 -38
- package/CodeAgent-fx6088tv.js +0 -11
- package/TunnelShare-9ry4vh0y.js +0 -18
- package/appExecutor-79azsb2w.js +0 -11
- package/cloud.script-3b401efv.js +0 -35
- package/context.runner-kctbfsde.js +0 -34
- package/dependencyScanner-ge10gb52.js +0 -8
package/.build-stamp
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
cc2c21b4d2628042c9b709ec3e69f5a224a8765511ebc9efd121825814c3316b
|
|
2
|
+
0744702a-5da2-459a-9f97-1119b42531e3
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
McpTokenStore,
|
|
5
5
|
McpSignIn,
|
|
6
6
|
AkanCodeCompaction2
|
|
7
|
-
} from "./index-
|
|
8
|
-
import"./index-
|
|
9
|
-
import"./index-
|
|
7
|
+
} from "./index-yejf6fth.js";
|
|
8
|
+
import"./index-zyjztrvc.js";
|
|
9
|
+
import"./index-xv3pvdw4.js";
|
|
10
10
|
import {
|
|
11
11
|
McpServerConfig,
|
|
12
12
|
WorkspaceTrust
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-7ssr7wq4.js";
|
|
14
14
|
import {
|
|
15
15
|
CodeTuiCommands2,
|
|
16
16
|
CodeTuiLines2,
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
TunnelShare2
|
|
4
|
+
} from "./index-h1k3zyyb.js";
|
|
5
|
+
import"./index-arcdcexp.js";
|
|
6
|
+
import"./index-v0gt5ryd.js";
|
|
7
|
+
import"./index-m9jj544v.js";
|
|
8
|
+
import"./index-cfzqdsam.js";
|
|
9
|
+
import"./index-c67vjafa.js";
|
|
10
|
+
import"./index-2t7jnfg5.js";
|
|
11
|
+
import"./index-609zbjve.js";
|
|
12
|
+
import"./index-j4yvgfhr.js";
|
|
13
|
+
import"./index-zyjztrvc.js";
|
|
14
|
+
export {
|
|
15
|
+
TunnelShare2 as TunnelShare
|
|
16
|
+
};
|
|
@@ -2,38 +2,36 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Workspace,
|
|
4
4
|
command
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-vznyyaf8.js";
|
|
6
6
|
import"./index-j4yvgfhr.js";
|
|
7
|
-
import"./index-
|
|
8
|
-
import"./index-
|
|
9
|
-
import"./index-
|
|
10
|
-
import"./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
7
|
+
import"./index-609zbjve.js";
|
|
8
|
+
import"./index-zyjztrvc.js";
|
|
9
|
+
import"./index-cfzqdsam.js";
|
|
10
|
+
import"./index-c67vjafa.js";
|
|
11
|
+
import"./index-2t7jnfg5.js";
|
|
12
|
+
import"./index-g7hm77j6.js";
|
|
13
13
|
import"./index-trffs83s.js";
|
|
14
|
-
import"./index-
|
|
14
|
+
import"./index-ghs8gtvp.js";
|
|
15
15
|
import"./index-1p81ecbz.js";
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
21
|
-
import"./index-
|
|
16
|
+
import"./index-xv3pvdw4.js";
|
|
17
|
+
import"./index-j3fqs8rc.js";
|
|
18
|
+
import"./index-rd669r6x.js";
|
|
19
|
+
import"./index-w18qdjyf.js";
|
|
20
|
+
import"./index-v0gt5ryd.js";
|
|
21
|
+
import"./index-8fg1hvj5.js";
|
|
22
22
|
import"./index-m9jj544v.js";
|
|
23
|
-
import"./index-
|
|
24
|
-
import"./index-
|
|
25
|
-
import"./index-78y75t0a.js";
|
|
26
|
-
import"./index-baccvws5.js";
|
|
23
|
+
import"./index-0vtpxfx6.js";
|
|
24
|
+
import"./index-bsew0a12.js";
|
|
27
25
|
import"./index-62md4dwy.js";
|
|
28
26
|
import"./index-zyb0ebm4.js";
|
|
29
27
|
import"./index-jf4vk1s0.js";
|
|
30
28
|
import"./index-t4d0ckde.js";
|
|
31
|
-
import"./index-
|
|
29
|
+
import"./index-rwhdcnr8.js";
|
|
32
30
|
import {
|
|
33
31
|
AgentScript
|
|
34
|
-
} from "./index-
|
|
35
|
-
import"./index-
|
|
36
|
-
import"./index-
|
|
32
|
+
} from "./index-0k64a38w.js";
|
|
33
|
+
import"./index-zx3bv21b.js";
|
|
34
|
+
import"./index-zfmc4380.js";
|
|
37
35
|
|
|
38
36
|
// pkgs/@akanjs/cli/agent/agent.command.ts
|
|
39
37
|
class AgentCommand extends command("agent", [AgentScript], ({ public: target }) => ({
|
package/akanCode.js
CHANGED
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
PreviewChrome2,
|
|
4
4
|
PreviewView2
|
|
5
5
|
} from "./index-rwgqba9p.js";
|
|
6
|
-
import"./index-
|
|
6
|
+
import"./index-zyjztrvc.js";
|
|
7
7
|
import {
|
|
8
8
|
akanCodePaths2
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-xv3pvdw4.js";
|
|
10
10
|
import {
|
|
11
11
|
AkanEditScope2,
|
|
12
12
|
DevLogFeedback2,
|
|
@@ -34,18 +34,18 @@ import {
|
|
|
34
34
|
CodeMailbox2,
|
|
35
35
|
CodeSessionFork2,
|
|
36
36
|
CodeAgent2
|
|
37
|
-
} from "./index-
|
|
37
|
+
} from "./index-58ck1gsm.js";
|
|
38
38
|
import {
|
|
39
39
|
akanCodeDefaultModel2,
|
|
40
40
|
akanCodeModel2,
|
|
41
41
|
akanCodeModelSupportsImages2,
|
|
42
42
|
akanCodeModelWarnings2,
|
|
43
43
|
CodeAgentStreamPrinter2
|
|
44
|
-
} from "./index-
|
|
44
|
+
} from "./index-7ssr7wq4.js";
|
|
45
45
|
import {
|
|
46
46
|
SubagentPool2,
|
|
47
47
|
AkanCodeCompaction2
|
|
48
|
-
} from "./index-
|
|
48
|
+
} from "./index-yejf6fth.js";
|
|
49
49
|
import {
|
|
50
50
|
CodeAgentRpcHost2
|
|
51
51
|
} from "./index-s4nvxpzm.js";
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
// @bun
|
|
2
|
+
import"./index-zyjztrvc.js";
|
|
3
|
+
import"./index-609zbjve.js";
|
|
4
|
+
import {
|
|
5
|
+
CliError
|
|
6
|
+
} from "./index-j4yvgfhr.js";
|
|
2
7
|
import {
|
|
3
8
|
RouteJsBudget
|
|
4
|
-
} from "./index-
|
|
9
|
+
} from "./index-w18qdjyf.js";
|
|
5
10
|
import {
|
|
6
11
|
App,
|
|
7
12
|
Apps,
|
|
@@ -10,26 +15,19 @@ import {
|
|
|
10
15
|
Exec,
|
|
11
16
|
Workspace,
|
|
12
17
|
command
|
|
13
|
-
} from "./index-
|
|
14
|
-
import
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-z92zm3wd.js";
|
|
20
|
-
import"./index-zfnz878d.js";
|
|
21
|
-
import"./index-w1zexzpx.js";
|
|
22
|
-
import"./index-ebn9kgea.js";
|
|
23
|
-
import"./index-612fdtbk.js";
|
|
18
|
+
} from "./index-vznyyaf8.js";
|
|
19
|
+
import"./index-cfzqdsam.js";
|
|
20
|
+
import"./index-c67vjafa.js";
|
|
21
|
+
import"./index-2t7jnfg5.js";
|
|
22
|
+
import"./index-v0gt5ryd.js";
|
|
23
|
+
import"./index-8fg1hvj5.js";
|
|
24
24
|
import"./index-m9jj544v.js";
|
|
25
|
-
import"./index-
|
|
26
|
-
import"./index-
|
|
27
|
-
import"./index-2jmvfa62.js";
|
|
28
|
-
import"./index-z96ks033.js";
|
|
25
|
+
import"./index-m4s4tzjr.js";
|
|
26
|
+
import"./index-rd669r6x.js";
|
|
29
27
|
import"./index-rwgqba9p.js";
|
|
30
28
|
import {
|
|
31
29
|
ApplicationScript
|
|
32
|
-
} from "./index-
|
|
30
|
+
} from "./index-91bcfjej.js";
|
|
33
31
|
import {
|
|
34
32
|
writeOption,
|
|
35
33
|
nativeTargetOption,
|
|
@@ -37,9 +35,9 @@ import {
|
|
|
37
35
|
allowLocalOption,
|
|
38
36
|
publicEnvOption
|
|
39
37
|
} from "./index-mdjc93e1.js";
|
|
40
|
-
import"./index-
|
|
38
|
+
import"./index-zx3bv21b.js";
|
|
41
39
|
import"./index-9bv479q5.js";
|
|
42
|
-
import"./index-
|
|
40
|
+
import"./index-zfmc4380.js";
|
|
43
41
|
|
|
44
42
|
// pkgs/@akanjs/cli/application/application.command.ts
|
|
45
43
|
import { MigrationCommand } from "akanjs/server/migration/migrationCommand";
|
|
@@ -5,29 +5,29 @@ import {
|
|
|
5
5
|
parseEnvFile,
|
|
6
6
|
WorkspaceExecutor,
|
|
7
7
|
ServerEnvProfile
|
|
8
|
-
} from "./index-
|
|
9
|
-
import"./index-
|
|
8
|
+
} from "./index-609zbjve.js";
|
|
9
|
+
import"./index-zyjztrvc.js";
|
|
10
10
|
import"./index-j4yvgfhr.js";
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
11
|
+
import"./index-cfzqdsam.js";
|
|
12
|
+
import"./index-c67vjafa.js";
|
|
13
|
+
import"./index-2t7jnfg5.js";
|
|
14
14
|
import {
|
|
15
15
|
NARROWABLE_VENDOR_SPECIFIERS
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-b3kjr19v.js";
|
|
17
17
|
import {
|
|
18
18
|
FontPruner,
|
|
19
19
|
precompressArtifacts,
|
|
20
20
|
RouteJsBudget
|
|
21
|
-
} from "./index-
|
|
22
|
-
import"./index-
|
|
21
|
+
} from "./index-w18qdjyf.js";
|
|
22
|
+
import"./index-66b1hrxh.js";
|
|
23
23
|
import {
|
|
24
24
|
AllRoutesBuilder,
|
|
25
25
|
SsrBaseArtifactBuilder,
|
|
26
26
|
VendorImportScanner
|
|
27
|
-
} from "./index-
|
|
27
|
+
} from "./index-dy5reyet.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./index-
|
|
29
|
+
CsrArtifactBuilder2
|
|
30
|
+
} from "./index-sn5cka91.js";
|
|
31
31
|
import"./index-62md4dwy.js";
|
|
32
32
|
|
|
33
33
|
// pkgs/@akanjs/devkit/app/applicationBuildRunner.ts
|
|
@@ -202,6 +202,8 @@ class ApplicationBuildRunner {
|
|
|
202
202
|
}
|
|
203
203
|
async build({ spinner = false } = {}) {
|
|
204
204
|
this.#spinner = spinner;
|
|
205
|
+
if (this.#verify)
|
|
206
|
+
this.#app.useVerifyDist();
|
|
205
207
|
const { web, assets, baseDevEnv } = await this.#app.getConfig();
|
|
206
208
|
const environment = this.#environment ?? baseDevEnv.env;
|
|
207
209
|
WorkspaceExecutor.assertDeployableEnv(baseDevEnv, environment, "akan build");
|
|
@@ -218,7 +220,7 @@ class ApplicationBuildRunner {
|
|
|
218
220
|
await this.#app.dist.writeJson("akan.build.json", { profile: "verify", builtAt: new Date().toISOString() });
|
|
219
221
|
return this.#resultOf(environment, routeJs);
|
|
220
222
|
}
|
|
221
|
-
await this.#runPhase("csr", "Building CSR assets", async () => web.csr ? await new
|
|
223
|
+
await this.#runPhase("csr", "Building CSR assets", async () => web.csr ? await new CsrArtifactBuilder2(this.#app, "build").build() : null, (result) => result?.outputDir ?? (web.csr ? "skipped" : "disabled by akan.config.ts web.csr"));
|
|
222
224
|
await this.#runPhase("assets", "Trimming unread static assets", async () => assets.pruneFonts ? await new FontPruner(this.#app, assets).prune() : null, (result) => result ? `${result.removed.length} font file(s) dropped, ${ApplicationBuildRunner.formatBytes(result.freedBytes)} freed; ${result.kept.length} kept` : "disabled by akan.config.ts assets.pruneFonts");
|
|
223
225
|
await this.#runPhase("compress", "Compressing static assets", () => precompressArtifacts(this.#app), (result) => result.files > 0 ? `${result.files} files, ${ApplicationBuildRunner.formatBytes(result.inputBytes)} -> gzip ${ApplicationBuildRunner.formatBytes(result.outputBytes)} / br ${ApplicationBuildRunner.formatBytes(result.brotliBytes)}` : "no files");
|
|
224
226
|
const routeJs = await this.#runBudgetPhase(environment);
|
|
@@ -334,7 +336,8 @@ class ApplicationBuildRunner {
|
|
|
334
336
|
return this.#serverEnv;
|
|
335
337
|
}
|
|
336
338
|
#verifyBanner() {
|
|
337
|
-
const
|
|
339
|
+
const { name, dist, workspace } = this.#app;
|
|
340
|
+
const message = `${path3.relative(workspace.workspaceRoot, dist.cwdPath)} holds the partial output of akan verify, not a build. Run \`akan build ${name}\` and start dist/apps/${name}.`;
|
|
338
341
|
return `console.error(${JSON.stringify(message)});process.exit(1);`;
|
|
339
342
|
}
|
|
340
343
|
async#buildBackend() {
|
package/buildBatch.proc.js
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
// @bun
|
|
2
|
+
import"./index-zyjztrvc.js";
|
|
3
|
+
import {
|
|
4
|
+
WorkspaceExecutor
|
|
5
|
+
} from "./index-609zbjve.js";
|
|
6
|
+
import"./index-j4yvgfhr.js";
|
|
2
7
|
import {
|
|
3
8
|
FontOptimizer,
|
|
4
9
|
ApplicationBuildReporter
|
|
5
|
-
} from "./index-
|
|
10
|
+
} from "./index-w18qdjyf.js";
|
|
6
11
|
import {
|
|
7
12
|
resolveSsrPageEntriesForApp,
|
|
8
13
|
AppExecutor2
|
|
9
|
-
} from "./index-
|
|
14
|
+
} from "./index-cfzqdsam.js";
|
|
10
15
|
import {
|
|
11
16
|
computeRouteSeedIndex,
|
|
12
17
|
saveRouteSeedIndex,
|
|
13
18
|
CsrDevBundler,
|
|
14
19
|
SsrDevBundler
|
|
15
|
-
} from "./index-
|
|
16
|
-
import
|
|
17
|
-
|
|
18
|
-
} from "./index-71y6176j.js";
|
|
19
|
-
import"./index-by2tvsq6.js";
|
|
20
|
-
import"./index-j4yvgfhr.js";
|
|
21
|
-
import"./index-zfnz878d.js";
|
|
22
|
-
import"./index-w1zexzpx.js";
|
|
20
|
+
} from "./index-b3kjr19v.js";
|
|
21
|
+
import"./index-c67vjafa.js";
|
|
22
|
+
import"./index-2t7jnfg5.js";
|
|
23
23
|
import {
|
|
24
24
|
ServerGraphFile,
|
|
25
25
|
PagesBundleBuilder
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-66b1hrxh.js";
|
|
27
27
|
import {
|
|
28
28
|
CssCompiler,
|
|
29
29
|
SsrBaseArtifactBuilder
|
|
30
|
-
} from "./index-
|
|
30
|
+
} from "./index-dy5reyet.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./index-
|
|
32
|
+
CsrArtifactBuilder2
|
|
33
|
+
} from "./index-sn5cka91.js";
|
|
34
34
|
import"./index-62md4dwy.js";
|
|
35
|
-
import"./index-
|
|
35
|
+
import"./index-zfmc4380.js";
|
|
36
36
|
|
|
37
37
|
// pkgs/@akanjs/devkit/incrementalBuilder/buildBatch.proc.ts
|
|
38
38
|
import path from "path";
|
|
@@ -99,9 +99,10 @@ class BuildBatch {
|
|
|
99
99
|
async#buildBase() {
|
|
100
100
|
const started = Date.now();
|
|
101
101
|
try {
|
|
102
|
-
const { artifact, optimizedFonts } = await new SsrBaseArtifactBuilder(this.#app).build();
|
|
102
|
+
const { artifact, optimizedFonts, phaseMs } = await new SsrBaseArtifactBuilder(this.#app).build();
|
|
103
103
|
this.#result.artifact = artifact;
|
|
104
104
|
this.#result.optimizedFonts = optimizedFonts;
|
|
105
|
+
this.#result.basePhaseMs = phaseMs;
|
|
105
106
|
this.#logger.verbose(`base-artifact ok buildId=${artifact.pagesBundleBuildId} (${Date.now() - started}ms)`);
|
|
106
107
|
} catch (err) {
|
|
107
108
|
this.#fail("base", "base-artifact", err);
|
|
@@ -122,7 +123,7 @@ class BuildBatch {
|
|
|
122
123
|
async#buildShell() {
|
|
123
124
|
const started = Date.now();
|
|
124
125
|
try {
|
|
125
|
-
await new
|
|
126
|
+
await new CsrArtifactBuilder2(this.#app, "start", "en", { cssAssets: this.#request.cssAssets }).buildMcpAppViews();
|
|
126
127
|
this.#logger.verbose(`mcp-app-views ok (${Date.now() - started}ms)`);
|
|
127
128
|
} catch (err) {
|
|
128
129
|
this.#fail("shell", "mcp-app-views", err);
|
|
@@ -130,7 +131,7 @@ class BuildBatch {
|
|
|
130
131
|
}
|
|
131
132
|
async#rebuildCsrArtifact(started) {
|
|
132
133
|
const cssAssets = this.#result.cssAssets ?? this.#request.cssAssets;
|
|
133
|
-
await new
|
|
134
|
+
await new CsrArtifactBuilder2(this.#app, "start", "en", { cssAssets }).build();
|
|
134
135
|
this.#logger.verbose(`csr-rebundle ok (${Date.now() - started}ms)`);
|
|
135
136
|
if (this.#request.changedFiles.length === 0)
|
|
136
137
|
return;
|
|
@@ -3,39 +3,34 @@ import {
|
|
|
3
3
|
App,
|
|
4
4
|
Workspace,
|
|
5
5
|
command
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-vznyyaf8.js";
|
|
7
7
|
import"./index-j4yvgfhr.js";
|
|
8
|
-
import"./index-
|
|
9
|
-
import"./index-
|
|
10
|
-
import"./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
8
|
+
import"./index-609zbjve.js";
|
|
9
|
+
import"./index-zyjztrvc.js";
|
|
10
|
+
import"./index-cfzqdsam.js";
|
|
11
|
+
import"./index-c67vjafa.js";
|
|
12
|
+
import"./index-2t7jnfg5.js";
|
|
13
|
+
import"./index-arcdcexp.js";
|
|
14
14
|
import {
|
|
15
15
|
PlatformTestRun
|
|
16
|
-
} from "./index-
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
16
|
+
} from "./index-ndfxse05.js";
|
|
17
|
+
import"./index-v0gt5ryd.js";
|
|
18
|
+
import"./index-8fg1hvj5.js";
|
|
19
19
|
import"./index-m9jj544v.js";
|
|
20
|
-
import"./index-9wh04mqy.js";
|
|
21
|
-
import"./index-a860mx0m.js";
|
|
22
20
|
import {
|
|
23
21
|
npmRegistryFromEnv,
|
|
24
22
|
warnIgnoredNpmRegistry
|
|
25
23
|
} from "./index-jf4vk1s0.js";
|
|
26
|
-
import"./index-
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
24
|
+
import"./index-w18qdjyf.js";
|
|
25
|
+
import"./index-m4s4tzjr.js";
|
|
26
|
+
import"./index-rd669r6x.js";
|
|
29
27
|
import"./index-rwgqba9p.js";
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
32
|
-
import"./index-
|
|
33
|
-
import"./index-baccvws5.js";
|
|
34
|
-
import"./index-2ny1e95c.js";
|
|
35
|
-
import"./index-275a4r3n.js";
|
|
28
|
+
import"./index-91bcfjej.js";
|
|
29
|
+
import"./index-bsew0a12.js";
|
|
30
|
+
import"./index-999e5kp4.js";
|
|
36
31
|
import {
|
|
37
32
|
CloudScript2
|
|
38
|
-
} from "./index-
|
|
33
|
+
} from "./index-rnhbh45p.js";
|
|
39
34
|
import {
|
|
40
35
|
writeOption,
|
|
41
36
|
oneNativeTargetOption,
|
|
@@ -46,9 +41,9 @@ import {
|
|
|
46
41
|
hostOption,
|
|
47
42
|
subspaceOption
|
|
48
43
|
} from "./index-mdjc93e1.js";
|
|
49
|
-
import"./index-
|
|
44
|
+
import"./index-zx3bv21b.js";
|
|
50
45
|
import"./index-9bv479q5.js";
|
|
51
|
-
import"./index-
|
|
46
|
+
import"./index-zfmc4380.js";
|
|
52
47
|
|
|
53
48
|
// pkgs/@akanjs/cli/cloud/cloud.command.ts
|
|
54
49
|
var localRegistryUrl = () => npmRegistryFromEnv() ?? "http://127.0.0.1:4873";
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
CloudScript2
|
|
4
|
+
} from "./index-rnhbh45p.js";
|
|
5
|
+
import"./index-ndfxse05.js";
|
|
6
|
+
import"./index-999e5kp4.js";
|
|
7
|
+
import"./index-91bcfjej.js";
|
|
8
|
+
import"./index-m4s4tzjr.js";
|
|
9
|
+
import"./index-arcdcexp.js";
|
|
10
|
+
import"./index-jf4vk1s0.js";
|
|
11
|
+
import"./index-bsew0a12.js";
|
|
12
|
+
import"./index-rd669r6x.js";
|
|
13
|
+
import"./index-zx3bv21b.js";
|
|
14
|
+
import"./index-8fg1hvj5.js";
|
|
15
|
+
import"./index-v0gt5ryd.js";
|
|
16
|
+
import"./index-m9jj544v.js";
|
|
17
|
+
import"./index-vznyyaf8.js";
|
|
18
|
+
import"./index-9bv479q5.js";
|
|
19
|
+
import"./index-rwgqba9p.js";
|
|
20
|
+
import"./index-w18qdjyf.js";
|
|
21
|
+
import"./index-zfmc4380.js";
|
|
22
|
+
import"./index-cfzqdsam.js";
|
|
23
|
+
import"./index-c67vjafa.js";
|
|
24
|
+
import"./index-2t7jnfg5.js";
|
|
25
|
+
import"./index-609zbjve.js";
|
|
26
|
+
import"./index-j4yvgfhr.js";
|
|
27
|
+
import"./index-zyjztrvc.js";
|
|
28
|
+
export {
|
|
29
|
+
CloudScript2 as CloudScript
|
|
30
|
+
};
|
|
@@ -4,23 +4,23 @@ import {
|
|
|
4
4
|
runner,
|
|
5
5
|
script,
|
|
6
6
|
command
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-vznyyaf8.js";
|
|
8
8
|
import"./index-j4yvgfhr.js";
|
|
9
|
-
import"./index-
|
|
10
|
-
import"./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
9
|
+
import"./index-609zbjve.js";
|
|
10
|
+
import"./index-zyjztrvc.js";
|
|
11
|
+
import"./index-cfzqdsam.js";
|
|
12
|
+
import"./index-c67vjafa.js";
|
|
13
|
+
import"./index-2t7jnfg5.js";
|
|
14
14
|
import {
|
|
15
15
|
AkanCodeEnv,
|
|
16
16
|
akanCodePaths2
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-xv3pvdw4.js";
|
|
18
18
|
import {
|
|
19
19
|
akanCodeDefaultModel2,
|
|
20
20
|
CodeAgentStreamPrinter2,
|
|
21
21
|
WorkspaceTrust
|
|
22
|
-
} from "./index-
|
|
23
|
-
import"./index-
|
|
22
|
+
} from "./index-7ssr7wq4.js";
|
|
23
|
+
import"./index-zfmc4380.js";
|
|
24
24
|
|
|
25
25
|
// pkgs/@akanjs/cli/code/code.runner.ts
|
|
26
26
|
import { randomBytes } from "crypto";
|
|
@@ -82,7 +82,7 @@ class CodeRunner extends runner("code") {
|
|
|
82
82
|
async serve(options, listen) {
|
|
83
83
|
await import("./consoleToStderr-h5bryj94.js");
|
|
84
84
|
const [{ CodeAgent }, { CodeAgentRpcHost }, { CodeAgentRpcListener }] = await Promise.all([
|
|
85
|
-
import("./CodeAgent-
|
|
85
|
+
import("./CodeAgent-0r05qa30.js"),
|
|
86
86
|
import("./CodeAgentRpcHost-6dzfkvsc.js"),
|
|
87
87
|
import("./CodeAgentRpcListener-tcwrdvst.js")
|
|
88
88
|
]);
|
|
@@ -116,8 +116,8 @@ class CodeRunner extends runner("code") {
|
|
|
116
116
|
}
|
|
117
117
|
async tui(options, seed) {
|
|
118
118
|
const [{ CodeAgent }, { CodeTui }] = await Promise.all([
|
|
119
|
-
import("./CodeAgent-
|
|
120
|
-
import("./CodeTui-
|
|
119
|
+
import("./CodeAgent-0r05qa30.js"),
|
|
120
|
+
import("./CodeTui-brryts78.js")
|
|
121
121
|
]);
|
|
122
122
|
const start = await CodeRunner.#start(options, { hostAttached: false, interactive: true, ask: true });
|
|
123
123
|
const agentOptions = start.agent;
|
|
@@ -153,7 +153,7 @@ class CodeRunner extends runner("code") {
|
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
155
|
async run(prompt, options) {
|
|
156
|
-
const { CodeAgent } = await import("./CodeAgent-
|
|
156
|
+
const { CodeAgent } = await import("./CodeAgent-0r05qa30.js");
|
|
157
157
|
const ask = !!process.stdin.isTTY && !!process.stderr.isTTY;
|
|
158
158
|
const start = await CodeRunner.#start(options, { hostAttached: false, interactive: false, ask });
|
|
159
159
|
for (const warning of start.warnings)
|
|
@@ -2,37 +2,35 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Workspace,
|
|
4
4
|
command
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-vznyyaf8.js";
|
|
6
6
|
import"./index-j4yvgfhr.js";
|
|
7
|
-
import"./index-
|
|
8
|
-
import"./index-
|
|
9
|
-
import"./index-
|
|
10
|
-
import"./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
7
|
+
import"./index-609zbjve.js";
|
|
8
|
+
import"./index-zyjztrvc.js";
|
|
9
|
+
import"./index-cfzqdsam.js";
|
|
10
|
+
import"./index-c67vjafa.js";
|
|
11
|
+
import"./index-2t7jnfg5.js";
|
|
12
|
+
import"./index-g7hm77j6.js";
|
|
13
13
|
import"./index-trffs83s.js";
|
|
14
|
-
import"./index-
|
|
14
|
+
import"./index-ghs8gtvp.js";
|
|
15
15
|
import"./index-1p81ecbz.js";
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
16
|
+
import"./index-1v5eghaa.js";
|
|
17
|
+
import"./index-j3fqs8rc.js";
|
|
18
|
+
import"./index-v0gt5ryd.js";
|
|
19
|
+
import"./index-8fg1hvj5.js";
|
|
20
20
|
import"./index-m9jj544v.js";
|
|
21
|
-
import"./index-9wh04mqy.js";
|
|
22
|
-
import"./index-a860mx0m.js";
|
|
23
21
|
import"./index-zyb0ebm4.js";
|
|
24
22
|
import"./index-xs9a3ddt.js";
|
|
25
|
-
import"./index-
|
|
26
|
-
import"./index-
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
23
|
+
import"./index-2ktpwjgf.js";
|
|
24
|
+
import"./index-bjg9thz8.js";
|
|
25
|
+
import"./index-6yefp97x.js";
|
|
26
|
+
import"./index-jzwdwse0.js";
|
|
27
|
+
import"./index-0vv0a5h8.js";
|
|
30
28
|
import"./index-t4d0ckde.js";
|
|
31
|
-
import"./index-
|
|
29
|
+
import"./index-fqhr7j56.js";
|
|
32
30
|
import {
|
|
33
31
|
ContextScript
|
|
34
|
-
} from "./index-
|
|
35
|
-
import"./index-
|
|
32
|
+
} from "./index-5cpjkfhk.js";
|
|
33
|
+
import"./index-zfmc4380.js";
|
|
36
34
|
|
|
37
35
|
// pkgs/@akanjs/cli/context/context.command.ts
|
|
38
36
|
class ContextCommand extends command("context", [ContextScript], ({ public: target }) => ({
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
ContextRunner2
|
|
4
|
+
} from "./index-1v5eghaa.js";
|
|
5
|
+
import"./index-fqhr7j56.js";
|
|
6
|
+
import"./index-0vv0a5h8.js";
|
|
7
|
+
import"./index-jzwdwse0.js";
|
|
8
|
+
import"./index-2ktpwjgf.js";
|
|
9
|
+
import"./index-6yefp97x.js";
|
|
10
|
+
import"./index-bjg9thz8.js";
|
|
11
|
+
import"./index-t4d0ckde.js";
|
|
12
|
+
import"./index-ghs8gtvp.js";
|
|
13
|
+
import"./index-g7hm77j6.js";
|
|
14
|
+
import"./index-j3fqs8rc.js";
|
|
15
|
+
import"./index-8fg1hvj5.js";
|
|
16
|
+
import"./index-v0gt5ryd.js";
|
|
17
|
+
import"./index-m9jj544v.js";
|
|
18
|
+
import"./index-vznyyaf8.js";
|
|
19
|
+
import"./index-xs9a3ddt.js";
|
|
20
|
+
import"./index-zyb0ebm4.js";
|
|
21
|
+
import"./index-trffs83s.js";
|
|
22
|
+
import"./index-zfmc4380.js";
|
|
23
|
+
import"./index-cfzqdsam.js";
|
|
24
|
+
import"./index-c67vjafa.js";
|
|
25
|
+
import"./index-2t7jnfg5.js";
|
|
26
|
+
import"./index-609zbjve.js";
|
|
27
|
+
import"./index-j4yvgfhr.js";
|
|
28
|
+
import"./index-1p81ecbz.js";
|
|
29
|
+
import"./index-zyjztrvc.js";
|
|
30
|
+
export {
|
|
31
|
+
ContextRunner2 as ContextRunner
|
|
32
|
+
};
|