@akanjs/cli 3.3.0-rc.1 → 3.3.0-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 +11 -0
- package/{CodeTui-zee8atsr.js → CodeTui-0gewm71c.js} +4 -4
- package/TunnelShare-cccfdgbm.js +16 -0
- package/{agent.command-x65f2ags.js → agent.command-g1mj34wz.js} +20 -22
- package/akanCode.js +5 -5
- package/appExecutor-rrx10jya.js +11 -0
- package/{application.command-azbd1pb2.js → application.command-3w4v7t40.js} +17 -19
- package/{applicationBuildRunner-trfxv3pd.js → applicationBuildRunner-y5xbetyz.js} +12 -12
- package/buildBatch.proc.js +19 -18
- package/{cloud.command-gapp4634.js → cloud.command-ph0rz6sw.js} +19 -24
- package/cloud.script-8bs9tp4j.js +30 -0
- package/{code.command-5smx61yf.js → code.command-9b967qpg.js} +13 -13
- package/{context.command-ym5jbkny.js → context.command-ndzs5rbf.js} +20 -22
- package/context.runner-bmstpng2.js +32 -0
- package/csrArtifactBuilder-gtvff6k7.js +10 -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-y8qz9kxy.js} +8 -8
- package/incrementalBuilder.proc.js +24 -18
- package/{index-8jtqfye2.js → index-02v45hh9.js} +6 -6
- package/{index-2jmvfa62.js → index-0csk6jqm.js} +3 -3
- package/{index-nc3br31y.js → index-0wa5z6rm.js} +2 -2
- package/{index-9wh04mqy.js → index-0z8sbdme.js} +2 -2
- package/{index-zmd9xxgd.js → index-1c2807kg.js} +3 -3
- package/{index-4ss4gkv3.js → index-1p9bxjmt.js} +2 -2
- package/{index-612fdtbk.js → index-2kh4xj3m.js} +1 -1
- package/{index-kfvjzk8r.js → index-2vn0m9z5.js} +3 -3
- package/{index-xwwex8rf.js → index-3569fr49.js} +5 -5
- package/{index-a860mx0m.js → index-38x8ynrx.js} +24 -24
- package/{index-p7beqww9.js → index-3fmzz9sf.js} +18 -18
- package/{index-s885g0jj.js → index-45aprybg.js} +3 -3
- package/{index-v7ajmsh3.js → index-4a1n0nym.js} +1 -1
- package/{index-ybcb9wc8.js → index-4zgm54wf.js} +9 -9
- package/{index-2yn3r67f.js → index-652f3bs8.js} +6 -6
- package/{index-j6jjmn2r.js → index-6gepp8yn.js} +10 -10
- package/{index-dmcpetwe.js → index-6j351de4.js} +98 -23
- package/{index-0dm25wvf.js → index-7ssr7wq4.js} +1 -1
- package/{index-k6vwww45.js → index-82cmbpxc.js} +7 -7
- package/{index-j592zfqc.js → index-9rymt8d6.js} +1 -1
- package/{index-275a4r3n.js → index-ankyx6dj.js} +11 -15
- package/{index-41a03gkj.js → index-b0t92k71.js} +19 -19
- package/{index-z92zm3wd.js → index-b372rck5.js} +17 -6
- package/{index-78y75t0a.js → index-cm9rb480.js} +6 -6
- package/{index-z96ks033.js → index-d0n78fzc.js} +153 -45
- package/{index-gt8phqpt.js → index-dr1carpr.js} +4 -4
- package/{index-zfnz878d.js → index-f2arv0mv.js} +1 -1
- package/{index-67sd09ag.js → index-gtydr9qc.js} +8 -8
- package/{index-knpm8sdm.js → index-j3fqs8rc.js} +1 -1
- package/{index-h901f24n.js → index-jdw9m5c4.js} +5 -5
- package/{index-dadwp2aw.js → index-jg5rwrf7.js} +49 -22
- package/{index-baccvws5.js → index-ktxdfqg5.js} +1 -1
- package/{index-w1zexzpx.js → index-mnhrqjjq.js} +1 -1
- package/{index-71y6176j.js → index-pc42gxa5.js} +7 -7
- package/{index-6dzjer7p.js → index-q8h4eg5y.js} +6 -6
- package/{index-j0wr4e32.js → index-qh81drde.js} +9 -9
- package/{index-jek2re5k.js → index-scfsqen7.js} +4 -4
- package/{index-0s7w2085.js → index-twjgmryg.js} +4 -4
- package/{index-7wf8snar.js → index-whvhsb5f.js} +1 -1
- package/{index-p5zh7pmc.js → index-xv3pvdw4.js} +1 -1
- package/{index-3txdtztz.js → index-y2g0s9tn.js} +1 -1
- package/{index-ebn9kgea.js → index-ymgsvhc5.js} +4 -5
- package/{index-by2tvsq6.js → index-zyjztrvc.js} +1 -1
- package/index.js +30 -28
- package/{libExecutor-jc6f8hm6.js → libExecutor-nstr00s7.js} +3 -3
- package/{library.command-nxvesvhb.js → library.command-b02aw1hm.js} +8 -8
- package/{localRegistry.command-xz62e4ng.js → localRegistry.command-3hg1p4aj.js} +18 -23
- package/{module.command-aaws9byg.js → module.command-bd9gz6cv.js} +10 -10
- package/{package.command-j7hv26p0.js → package.command-xmr0mxze.js} +9 -12
- package/package.json +2 -2
- package/{page.command-7yffs7n9.js → page.command-x94qf58g.js} +8 -8
- package/{pipeline.command-7yk0zcng.js → pipeline.command-n2843k6t.js} +7 -7
- package/{pkgExecutor-arxmvx4t.js → pkgExecutor-cka27e3c.js} +3 -3
- package/{primitive.command-7a1pt715.js → primitive.command-cs7v376h.js} +11 -11
- package/{projectTypecheck-f4qhbecd.js → projectTypecheck-za2n3nbr.js} +1 -1
- package/{prompter-qyggfhqd.js → prompter-d33wmdpa.js} +2 -2
- package/{quality.command-c6mvrjh1.js → quality.command-nqngh1jd.js} +9 -9
- package/{repair.command-093adzt9.js → repair.command-v2medwsm.js} +10 -10
- package/{scalar.command-2ex84spb.js → scalar.command-61cjmxn1.js} +9 -9
- package/{subspace.command-4n4n4jpv.js → subspace.command-dtv8nfh7.js} +11 -13
- package/{tunnel.command-f7ep1qfa.js → tunnel.command-fmwm5fgb.js} +10 -12
- package/{verify.command-zrkxnvct.js → verify.command-4f260t53.js} +15 -17
- package/{workflow.command-ks16jegk.js → workflow.command-tm5q9xsm.js} +15 -15
- package/{workspace.command-ahhfpaag.js → workspace.command-75gc280j.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
|
+
36e14b430a86f05519df81147d0ec57f0fdc3bc5bd58bd528f5b6d85308485a1
|
|
2
|
+
78807b67-61ed-4a22-b828-73faf67be703
|
|
@@ -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-0wa5z6rm.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-4a1n0nym.js";
|
|
5
|
+
import"./index-45aprybg.js";
|
|
6
|
+
import"./index-ymgsvhc5.js";
|
|
7
|
+
import"./index-m9jj544v.js";
|
|
8
|
+
import"./index-f2arv0mv.js";
|
|
9
|
+
import"./index-mnhrqjjq.js";
|
|
10
|
+
import"./index-pc42gxa5.js";
|
|
11
|
+
import"./index-b372rck5.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-652f3bs8.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-pc42gxa5.js";
|
|
8
|
+
import"./index-zyjztrvc.js";
|
|
9
|
+
import"./index-b372rck5.js";
|
|
10
|
+
import"./index-f2arv0mv.js";
|
|
11
|
+
import"./index-mnhrqjjq.js";
|
|
12
|
+
import"./index-1c2807kg.js";
|
|
13
13
|
import"./index-trffs83s.js";
|
|
14
|
-
import"./index-
|
|
14
|
+
import"./index-jdw9m5c4.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-d0n78fzc.js";
|
|
19
|
+
import"./index-6j351de4.js";
|
|
20
|
+
import"./index-ymgsvhc5.js";
|
|
21
|
+
import"./index-2kh4xj3m.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-cm9rb480.js";
|
|
24
|
+
import"./index-ktxdfqg5.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-4zgm54wf.js";
|
|
32
30
|
import {
|
|
33
31
|
AgentScript
|
|
34
|
-
} from "./index-
|
|
35
|
-
import"./index-
|
|
36
|
-
import"./index-
|
|
32
|
+
} from "./index-6gepp8yn.js";
|
|
33
|
+
import"./index-9rymt8d6.js";
|
|
34
|
+
import"./index-whvhsb5f.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-02v45hh9.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-0wa5z6rm.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-pc42gxa5.js";
|
|
4
|
+
import {
|
|
5
|
+
CliError
|
|
6
|
+
} from "./index-j4yvgfhr.js";
|
|
2
7
|
import {
|
|
3
8
|
RouteJsBudget
|
|
4
|
-
} from "./index-
|
|
9
|
+
} from "./index-6j351de4.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-652f3bs8.js";
|
|
19
|
+
import"./index-b372rck5.js";
|
|
20
|
+
import"./index-f2arv0mv.js";
|
|
21
|
+
import"./index-mnhrqjjq.js";
|
|
22
|
+
import"./index-ymgsvhc5.js";
|
|
23
|
+
import"./index-2kh4xj3m.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-0csk6jqm.js";
|
|
26
|
+
import"./index-d0n78fzc.js";
|
|
29
27
|
import"./index-rwgqba9p.js";
|
|
30
28
|
import {
|
|
31
29
|
ApplicationScript
|
|
32
|
-
} from "./index-
|
|
30
|
+
} from "./index-b0t92k71.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-9rymt8d6.js";
|
|
41
39
|
import"./index-9bv479q5.js";
|
|
42
|
-
import"./index-
|
|
40
|
+
import"./index-whvhsb5f.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-pc42gxa5.js";
|
|
9
|
+
import"./index-zyjztrvc.js";
|
|
10
10
|
import"./index-j4yvgfhr.js";
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
11
|
+
import"./index-b372rck5.js";
|
|
12
|
+
import"./index-f2arv0mv.js";
|
|
13
|
+
import"./index-mnhrqjjq.js";
|
|
14
14
|
import {
|
|
15
15
|
NARROWABLE_VENDOR_SPECIFIERS
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-scfsqen7.js";
|
|
17
17
|
import {
|
|
18
18
|
FontPruner,
|
|
19
19
|
precompressArtifacts,
|
|
20
20
|
RouteJsBudget
|
|
21
|
-
} from "./index-
|
|
22
|
-
import"./index-
|
|
21
|
+
} from "./index-6j351de4.js";
|
|
22
|
+
import"./index-0z8sbdme.js";
|
|
23
23
|
import {
|
|
24
24
|
AllRoutesBuilder,
|
|
25
25
|
SsrBaseArtifactBuilder,
|
|
26
26
|
VendorImportScanner
|
|
27
|
-
} from "./index-
|
|
27
|
+
} from "./index-jg5rwrf7.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./index-
|
|
29
|
+
CsrArtifactBuilder2
|
|
30
|
+
} from "./index-38x8ynrx.js";
|
|
31
31
|
import"./index-62md4dwy.js";
|
|
32
32
|
|
|
33
33
|
// pkgs/@akanjs/devkit/app/applicationBuildRunner.ts
|
|
@@ -218,7 +218,7 @@ class ApplicationBuildRunner {
|
|
|
218
218
|
await this.#app.dist.writeJson("akan.build.json", { profile: "verify", builtAt: new Date().toISOString() });
|
|
219
219
|
return this.#resultOf(environment, routeJs);
|
|
220
220
|
}
|
|
221
|
-
await this.#runPhase("csr", "Building CSR assets", async () => web.csr ? await new
|
|
221
|
+
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
222
|
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
223
|
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
224
|
const routeJs = await this.#runBudgetPhase(environment);
|
package/buildBatch.proc.js
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
// @bun
|
|
2
|
+
import"./index-zyjztrvc.js";
|
|
3
|
+
import {
|
|
4
|
+
WorkspaceExecutor
|
|
5
|
+
} from "./index-pc42gxa5.js";
|
|
6
|
+
import"./index-j4yvgfhr.js";
|
|
2
7
|
import {
|
|
3
8
|
FontOptimizer,
|
|
4
9
|
ApplicationBuildReporter
|
|
5
|
-
} from "./index-
|
|
10
|
+
} from "./index-6j351de4.js";
|
|
6
11
|
import {
|
|
7
12
|
resolveSsrPageEntriesForApp,
|
|
8
13
|
AppExecutor2
|
|
9
|
-
} from "./index-
|
|
14
|
+
} from "./index-b372rck5.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-scfsqen7.js";
|
|
21
|
+
import"./index-f2arv0mv.js";
|
|
22
|
+
import"./index-mnhrqjjq.js";
|
|
23
23
|
import {
|
|
24
24
|
ServerGraphFile,
|
|
25
25
|
PagesBundleBuilder
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-0z8sbdme.js";
|
|
27
27
|
import {
|
|
28
28
|
CssCompiler,
|
|
29
29
|
SsrBaseArtifactBuilder
|
|
30
|
-
} from "./index-
|
|
30
|
+
} from "./index-jg5rwrf7.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./index-
|
|
32
|
+
CsrArtifactBuilder2
|
|
33
|
+
} from "./index-38x8ynrx.js";
|
|
34
34
|
import"./index-62md4dwy.js";
|
|
35
|
-
import"./index-
|
|
35
|
+
import"./index-whvhsb5f.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-652f3bs8.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-pc42gxa5.js";
|
|
9
|
+
import"./index-zyjztrvc.js";
|
|
10
|
+
import"./index-b372rck5.js";
|
|
11
|
+
import"./index-f2arv0mv.js";
|
|
12
|
+
import"./index-mnhrqjjq.js";
|
|
13
|
+
import"./index-45aprybg.js";
|
|
14
14
|
import {
|
|
15
15
|
PlatformTestRun
|
|
16
|
-
} from "./index-
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
16
|
+
} from "./index-3569fr49.js";
|
|
17
|
+
import"./index-ymgsvhc5.js";
|
|
18
|
+
import"./index-2kh4xj3m.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-6j351de4.js";
|
|
25
|
+
import"./index-0csk6jqm.js";
|
|
26
|
+
import"./index-d0n78fzc.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-b0t92k71.js";
|
|
29
|
+
import"./index-ktxdfqg5.js";
|
|
30
|
+
import"./index-ankyx6dj.js";
|
|
36
31
|
import {
|
|
37
32
|
CloudScript2
|
|
38
|
-
} from "./index-
|
|
33
|
+
} from "./index-82cmbpxc.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-9rymt8d6.js";
|
|
50
45
|
import"./index-9bv479q5.js";
|
|
51
|
-
import"./index-
|
|
46
|
+
import"./index-whvhsb5f.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-82cmbpxc.js";
|
|
5
|
+
import"./index-3569fr49.js";
|
|
6
|
+
import"./index-ankyx6dj.js";
|
|
7
|
+
import"./index-b0t92k71.js";
|
|
8
|
+
import"./index-0csk6jqm.js";
|
|
9
|
+
import"./index-45aprybg.js";
|
|
10
|
+
import"./index-jf4vk1s0.js";
|
|
11
|
+
import"./index-ktxdfqg5.js";
|
|
12
|
+
import"./index-d0n78fzc.js";
|
|
13
|
+
import"./index-9rymt8d6.js";
|
|
14
|
+
import"./index-2kh4xj3m.js";
|
|
15
|
+
import"./index-ymgsvhc5.js";
|
|
16
|
+
import"./index-m9jj544v.js";
|
|
17
|
+
import"./index-652f3bs8.js";
|
|
18
|
+
import"./index-9bv479q5.js";
|
|
19
|
+
import"./index-rwgqba9p.js";
|
|
20
|
+
import"./index-6j351de4.js";
|
|
21
|
+
import"./index-whvhsb5f.js";
|
|
22
|
+
import"./index-f2arv0mv.js";
|
|
23
|
+
import"./index-mnhrqjjq.js";
|
|
24
|
+
import"./index-pc42gxa5.js";
|
|
25
|
+
import"./index-b372rck5.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-652f3bs8.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-pc42gxa5.js";
|
|
10
|
+
import"./index-zyjztrvc.js";
|
|
11
|
+
import"./index-b372rck5.js";
|
|
12
|
+
import"./index-f2arv0mv.js";
|
|
13
|
+
import"./index-mnhrqjjq.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-whvhsb5f.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-xdw73nbz.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-xdw73nbz.js"),
|
|
120
|
+
import("./CodeTui-0gewm71c.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-xdw73nbz.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-652f3bs8.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-pc42gxa5.js";
|
|
8
|
+
import"./index-zyjztrvc.js";
|
|
9
|
+
import"./index-b372rck5.js";
|
|
10
|
+
import"./index-f2arv0mv.js";
|
|
11
|
+
import"./index-mnhrqjjq.js";
|
|
12
|
+
import"./index-1c2807kg.js";
|
|
13
13
|
import"./index-trffs83s.js";
|
|
14
|
-
import"./index-
|
|
14
|
+
import"./index-jdw9m5c4.js";
|
|
15
15
|
import"./index-1p81ecbz.js";
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
16
|
+
import"./index-qh81drde.js";
|
|
17
|
+
import"./index-j3fqs8rc.js";
|
|
18
|
+
import"./index-ymgsvhc5.js";
|
|
19
|
+
import"./index-2kh4xj3m.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-2vn0m9z5.js";
|
|
24
|
+
import"./index-y2g0s9tn.js";
|
|
25
|
+
import"./index-dr1carpr.js";
|
|
26
|
+
import"./index-q8h4eg5y.js";
|
|
27
|
+
import"./index-1p9bxjmt.js";
|
|
30
28
|
import"./index-t4d0ckde.js";
|
|
31
|
-
import"./index-
|
|
29
|
+
import"./index-gtydr9qc.js";
|
|
32
30
|
import {
|
|
33
31
|
ContextScript
|
|
34
|
-
} from "./index-
|
|
35
|
-
import"./index-
|
|
32
|
+
} from "./index-twjgmryg.js";
|
|
33
|
+
import"./index-whvhsb5f.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-qh81drde.js";
|
|
5
|
+
import"./index-gtydr9qc.js";
|
|
6
|
+
import"./index-1p9bxjmt.js";
|
|
7
|
+
import"./index-q8h4eg5y.js";
|
|
8
|
+
import"./index-2vn0m9z5.js";
|
|
9
|
+
import"./index-dr1carpr.js";
|
|
10
|
+
import"./index-y2g0s9tn.js";
|
|
11
|
+
import"./index-t4d0ckde.js";
|
|
12
|
+
import"./index-jdw9m5c4.js";
|
|
13
|
+
import"./index-1c2807kg.js";
|
|
14
|
+
import"./index-j3fqs8rc.js";
|
|
15
|
+
import"./index-2kh4xj3m.js";
|
|
16
|
+
import"./index-ymgsvhc5.js";
|
|
17
|
+
import"./index-m9jj544v.js";
|
|
18
|
+
import"./index-652f3bs8.js";
|
|
19
|
+
import"./index-xs9a3ddt.js";
|
|
20
|
+
import"./index-zyb0ebm4.js";
|
|
21
|
+
import"./index-trffs83s.js";
|
|
22
|
+
import"./index-whvhsb5f.js";
|
|
23
|
+
import"./index-f2arv0mv.js";
|
|
24
|
+
import"./index-mnhrqjjq.js";
|
|
25
|
+
import"./index-pc42gxa5.js";
|
|
26
|
+
import"./index-b372rck5.js";
|
|
27
|
+
import"./index-j4yvgfhr.js";
|
|
28
|
+
import"./index-1p81ecbz.js";
|
|
29
|
+
import"./index-zyjztrvc.js";
|
|
30
|
+
export {
|
|
31
|
+
ContextRunner2 as ContextRunner
|
|
32
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
FileSys2
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-zyjztrvc.js";
|
|
5
5
|
|
|
6
6
|
// pkgs/@akanjs/devkit/workspace/dependencyScanner.ts
|
|
7
7
|
import { builtinModules } from "module";
|
|
@@ -17,7 +17,7 @@ var isSkippedPath = (filePath) => {
|
|
|
17
17
|
var builtinModuleSet = new Set([...builtinModules, ...builtinModules.map((mod) => `node:${mod}`)]);
|
|
18
18
|
var stripShebang = (source) => source.replace(/^#!.*(?:\r?\n|$)/, "");
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class TypeScriptDependencyScanner {
|
|
21
21
|
#fileDependencies = new Map;
|
|
22
22
|
#fileRuntimeDependencies = new Map;
|
|
23
23
|
#fileTypeDependencies = new Map;
|
|
@@ -255,7 +255,7 @@ ${externalImports.map((imp) => ` \u2192 ${imp}
|
|
|
255
255
|
exec.workspace.getPackageJson(),
|
|
256
256
|
exec.workspace.getGitignorePatterns()
|
|
257
257
|
]);
|
|
258
|
-
return new
|
|
258
|
+
return new TypeScriptDependencyScanner(exec.cwdPath, {
|
|
259
259
|
workspaceRoot: exec.workspace.cwdPath,
|
|
260
260
|
tsconfig,
|
|
261
261
|
rootPackageJson,
|
|
@@ -263,5 +263,6 @@ ${externalImports.map((imp) => ` \u2192 ${imp}
|
|
|
263
263
|
});
|
|
264
264
|
}
|
|
265
265
|
}
|
|
266
|
-
|
|
267
|
-
|
|
266
|
+
export {
|
|
267
|
+
TypeScriptDependencyScanner
|
|
268
|
+
};
|