@akanjs/cli 3.2.0-rc.0 → 3.2.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 +1 -1
- package/{CodeAgent-h6g8dg3a.js → CodeAgent-6cpjtj25.js} +3 -3
- package/{CodeTui-n9gacepn.js → CodeTui-zyc7zaq6.js} +1 -1
- package/TunnelShare-zkfkrw8w.js +14 -0
- package/{agent.command-2f657613.js → agent.command-kf1g3nh4.js} +17 -17
- package/akanCode.js +6 -6
- package/{application.command-yb8v177e.js → application.command-vb278qnq.js} +13 -13
- package/{applicationBuildRunner-sctcmkyx.js → applicationBuildRunner-bqbyeg84.js} +6 -6
- package/buildBatch.proc.js +6 -6
- package/{cloud.command-et06ja22.js → cloud.command-ca777ee2.js} +19 -19
- package/cloud.script-agpxzq6j.js +30 -0
- package/{code.command-7m67c7zc.js → code.command-j08txqcd.js} +6 -6
- package/{context.command-569z0rqf.js → context.command-2fa6egp9.js} +19 -19
- package/context.runner-ftv8373t.js +29 -0
- package/{devTui-evr3b35y.js → devTui-w38ch13a.js} +1 -1
- package/{guideline.command-gnv3e8p8.js → guideline.command-w6yqpdec.js} +2 -2
- package/incrementalBuilder.proc.js +7 -7
- package/{index-jdamtr7e.js → index-0fj9ra3q.js} +7 -7
- package/{index-thckcabc.js → index-0mqga3h9.js} +18 -3
- package/{index-abgh0jve.js → index-1cb9apzn.js} +1 -1
- package/{index-ed6ea0qp.js → index-20wvskt8.js} +1 -1
- package/{index-tenw3mah.js → index-23860fej.js} +16 -6
- package/{index-5w9my9qe.js → index-2gees180.js} +8 -8
- package/{index-93ewzmp6.js → index-386canwe.js} +21 -14
- package/{index-fjr4d6yd.js → index-466z5931.js} +5 -5
- package/{index-d4n1wmrz.js → index-65b6ms4c.js} +4 -4
- package/{index-6wpaq392.js → index-6h775rv3.js} +4 -4
- package/{index-aj3ehkcx.js → index-7kmbqp0b.js} +1 -1
- package/{index-1q1cjn8s.js → index-84c2pgak.js} +93 -53
- package/{index-sy481q2x.js → index-8jpc5fqv.js} +1 -1
- package/{index-ryrm5z2c.js → index-8nbx607g.js} +10 -10
- package/{index-3wjbhj2n.js → index-abfbf01s.js} +1 -1
- package/{index-zxsygkda.js → index-annxfpgz.js} +7 -7
- package/{index-8g7tdsk4.js → index-bdmgqzb5.js} +4 -4
- package/{index-vkzfk7qt.js → index-c5ymqb05.js} +40 -30
- package/{index-0fb3cpbt.js → index-cbcwxp5v.js} +5 -5
- package/{index-zpv14wpy.js → index-djc5nxpy.js} +3 -3
- package/{index-s2grpzef.js → index-dk4g0x0d.js} +3 -3
- package/{index-drz9e84d.js → index-e22zedc2.js} +2 -2
- package/{index-w639tvkd.js → index-ebwkh7bt.js} +7 -4
- package/{index-8ts9774g.js → index-htxck0pn.js} +4 -4
- package/{index-9tbgb4d8.js → index-j1hjb477.js} +1 -1
- package/{index-kpdv34rq.js → index-j7p0jgaq.js} +10 -7
- package/{index-ktb3wcqz.js → index-kcpk2d20.js} +8 -8
- package/{index-7y5yghjg.js → index-m5sg5spm.js} +932 -431
- package/{index-rc5fvqj2.js → index-mvwvxgtd.js} +28 -26
- package/{index-e3vmjtph.js → index-pq5rjkch.js} +2 -2
- package/{index-48d5qsj3.js → index-qgazn58x.js} +4 -4
- package/{index-eajbmk10.js → index-v50xjbbe.js} +1 -1
- package/{index-7xdpww43.js → index-vbhx60x5.js} +323 -129
- package/{index-sr5da35e.js → index-wfmpxke3.js} +2 -2
- package/{index-mmym5xmb.js → index-wr9magsr.js} +5 -3
- package/{index-mqntfzv5.js → index-xa0289eg.js} +2 -2
- package/{index-8pb9yvp8.js → index-xq97me1h.js} +49 -12
- package/{index-p6hjwt2d.js → index-y725zb1a.js} +1 -1
- package/{index-hqrkqxx2.js → index-ygrdw6jw.js} +1 -1
- package/index.js +23 -23
- package/{library.command-1gp5qe3r.js → library.command-8d03a0pq.js} +4 -4
- package/{localRegistry.command-v3g21rex.js → localRegistry.command-vyv5k6t0.js} +18 -18
- package/{module.command-4xz9he6h.js → module.command-vy3kg965.js} +7 -7
- package/{package.command-s7qpnn1g.js → package.command-qjh13rs9.js} +7 -7
- package/package.json +2 -2
- package/{page.command-fan34c49.js → page.command-t0nx1jat.js} +3 -3
- package/{pipeline.command-ph4fnn9w.js → pipeline.command-2yjeas7m.js} +2 -2
- package/{primitive.command-3fqh8emf.js → primitive.command-8vm49279.js} +7 -7
- package/{projectTypecheck-vkb40hjc.js → projectTypecheck-s9hhe5sa.js} +1 -1
- package/{quality.command-ecj6exsh.js → quality.command-v76fev72.js} +6 -6
- package/{repair.command-fe9jw719.js → repair.command-fp4m3w03.js} +6 -6
- package/{scalar.command-cnvfhk0n.js → scalar.command-hxe6try8.js} +6 -6
- package/skills/akan-scaffold/SKILL.md +2 -1
- package/{subspace.command-yxtt3v3e.js → subspace.command-q42n1844.js} +8 -8
- package/{tunnel.command-ggj38mqf.js → tunnel.command-22g11n0x.js} +7 -7
- package/{verify.command-w9ttxkdz.js → verify.command-rx43bha1.js} +14 -14
- package/{workflow.command-ss8devj0.js → workflow.command-yg0d8mmq.js} +30 -15
- package/{workspace.command-rw1p0xeq.js → workspace.command-fcfztvn5.js} +34 -34
- package/TunnelShare-k3ja4w9x.js +0 -14
- package/cloud.script-s6rbrwer.js +0 -30
- package/context.runner-ms8v1rxy.js +0 -29
package/.build-stamp
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
af8674437197b6680344c75692e7b26ac0481a829e83666d2b273840922dcfb5
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
CodeAgent2
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
6
|
-
import"./index-
|
|
4
|
+
} from "./index-0fj9ra3q.js";
|
|
5
|
+
import"./index-abfbf01s.js";
|
|
6
|
+
import"./index-23860fej.js";
|
|
7
7
|
import"./index-35j83zkd.js";
|
|
8
8
|
import"./index-bns3wcpc.js";
|
|
9
9
|
export {
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
TunnelShare2
|
|
4
|
+
} from "./index-j1hjb477.js";
|
|
5
|
+
import"./index-e22zedc2.js";
|
|
6
|
+
import"./index-djc5nxpy.js";
|
|
7
|
+
import"./index-m9jj544v.js";
|
|
8
|
+
import"./index-wr9magsr.js";
|
|
9
|
+
import"./index-84c2pgak.js";
|
|
10
|
+
import"./index-wfmpxke3.js";
|
|
11
|
+
import"./index-bns3wcpc.js";
|
|
12
|
+
export {
|
|
13
|
+
TunnelShare2 as TunnelShare
|
|
14
|
+
};
|
|
@@ -2,33 +2,33 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Workspace,
|
|
4
4
|
command
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-386canwe.js";
|
|
6
6
|
import"./index-bns3wcpc.js";
|
|
7
|
-
import"./index-
|
|
7
|
+
import"./index-wfmpxke3.js";
|
|
8
8
|
import"./index-35j83zkd.js";
|
|
9
9
|
import"./index-j6eeh5d7.js";
|
|
10
|
+
import"./index-0mqga3h9.js";
|
|
10
11
|
import"./index-hj6w4ka1.js";
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-ed6ea0qp.js";
|
|
12
|
+
import"./index-xq97me1h.js";
|
|
13
|
+
import"./index-m5sg5spm.js";
|
|
14
|
+
import"./index-kcpk2d20.js";
|
|
15
|
+
import"./index-y725zb1a.js";
|
|
16
|
+
import"./index-djc5nxpy.js";
|
|
17
|
+
import"./index-20wvskt8.js";
|
|
18
18
|
import"./index-m9jj544v.js";
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
21
|
-
import"./index-
|
|
22
|
-
import"./index-
|
|
19
|
+
import"./index-84c2pgak.js";
|
|
20
|
+
import"./index-wr9magsr.js";
|
|
21
|
+
import"./index-466z5931.js";
|
|
22
|
+
import"./index-ygrdw6jw.js";
|
|
23
23
|
import"./index-62md4dwy.js";
|
|
24
24
|
import"./index-ygdbn9jn.js";
|
|
25
25
|
import"./index-ny2k80mv.js";
|
|
26
|
-
import"./index-
|
|
27
|
-
import"./index-
|
|
26
|
+
import"./index-v50xjbbe.js";
|
|
27
|
+
import"./index-dk4g0x0d.js";
|
|
28
28
|
import {
|
|
29
29
|
AgentScript
|
|
30
|
-
} from "./index-
|
|
31
|
-
import"./index-
|
|
30
|
+
} from "./index-2gees180.js";
|
|
31
|
+
import"./index-8jpc5fqv.js";
|
|
32
32
|
|
|
33
33
|
// pkgs/@akanjs/cli/agent/agent.command.ts
|
|
34
34
|
class AgentCommand extends command("agent", [AgentScript], ({ public: target }) => ({
|
package/akanCode.js
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
// @bun
|
|
2
|
+
import {
|
|
3
|
+
PreviewChrome2,
|
|
4
|
+
PreviewView2
|
|
5
|
+
} from "./index-23860fej.js";
|
|
2
6
|
import"./index-bns3wcpc.js";
|
|
3
7
|
import {
|
|
4
8
|
akanCodePaths2
|
|
@@ -30,7 +34,7 @@ import {
|
|
|
30
34
|
CodeMailbox2,
|
|
31
35
|
CodeSessionFork2,
|
|
32
36
|
CodeAgent2
|
|
33
|
-
} from "./index-
|
|
37
|
+
} from "./index-0fj9ra3q.js";
|
|
34
38
|
import {
|
|
35
39
|
akanCodeDefaultModel2,
|
|
36
40
|
akanCodeModel2,
|
|
@@ -41,11 +45,7 @@ import {
|
|
|
41
45
|
import {
|
|
42
46
|
SubagentPool2,
|
|
43
47
|
AkanCodeCompaction2
|
|
44
|
-
} from "./index-
|
|
45
|
-
import {
|
|
46
|
-
PreviewChrome2,
|
|
47
|
-
PreviewView2
|
|
48
|
-
} from "./index-tenw3mah.js";
|
|
48
|
+
} from "./index-abfbf01s.js";
|
|
49
49
|
import {
|
|
50
50
|
CodeAgentRpcHost2
|
|
51
51
|
} from "./index-s4nvxpzm.js";
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
Exec,
|
|
8
8
|
Workspace,
|
|
9
9
|
command
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-386canwe.js";
|
|
11
11
|
import"./index-bns3wcpc.js";
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-
|
|
12
|
+
import"./index-wfmpxke3.js";
|
|
13
|
+
import"./index-y725zb1a.js";
|
|
14
|
+
import"./index-djc5nxpy.js";
|
|
15
|
+
import"./index-20wvskt8.js";
|
|
16
16
|
import"./index-m9jj544v.js";
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
17
|
+
import"./index-84c2pgak.js";
|
|
18
|
+
import"./index-wr9magsr.js";
|
|
19
|
+
import"./index-xa0289eg.js";
|
|
20
|
+
import"./index-kcpk2d20.js";
|
|
21
|
+
import"./index-23860fej.js";
|
|
21
22
|
import {
|
|
22
23
|
ApplicationScript
|
|
23
|
-
} from "./index-
|
|
24
|
-
import"./index-tenw3mah.js";
|
|
24
|
+
} from "./index-8nbx607g.js";
|
|
25
25
|
import {
|
|
26
26
|
writeOption,
|
|
27
27
|
nativeTargetOption,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
allowLocalOption,
|
|
30
30
|
publicEnvOption
|
|
31
31
|
} from "./index-mdjc93e1.js";
|
|
32
|
-
import"./index-
|
|
32
|
+
import"./index-8jpc5fqv.js";
|
|
33
33
|
import"./index-9bv479q5.js";
|
|
34
34
|
|
|
35
35
|
// pkgs/@akanjs/cli/application/application.command.ts
|
|
@@ -55,7 +55,7 @@ class ApplicationCommand extends command("application", [ApplicationScript], ({
|
|
|
55
55
|
createApplication: target({ desc: "Create a new application in the workspace" }).arg("appName", String, { desc: "name of application" }).option("start", Boolean, { desc: "start application", default: false }).with(Workspace).exec(async function(appName, start, workspace) {
|
|
56
56
|
await this.applicationScript.createApplication(appName.toLowerCase().replace(/ /g, "-"), workspace, { start });
|
|
57
57
|
}),
|
|
58
|
-
removeApplication: target({ desc: "Remove an application from the workspace" }).with(App).exec(async function(app) {
|
|
58
|
+
removeApplication: target({ desc: "Remove an application from the workspace", destructive: true }).with(App).exec(async function(app) {
|
|
59
59
|
await this.applicationScript.removeApplication(app);
|
|
60
60
|
}),
|
|
61
61
|
planSlice: target({ desc: "List the exact files an app needs to live in a workspace of its own" }).with(App).option("format", String, { desc: "output format", default: "text", enum: ["text", "json"] }).exec(async function(app, format) {
|
|
@@ -5,25 +5,25 @@ import {
|
|
|
5
5
|
ProjectTypecheck2,
|
|
6
6
|
parseEnvFile,
|
|
7
7
|
WorkspaceExecutor
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-wfmpxke3.js";
|
|
9
9
|
import"./index-bns3wcpc.js";
|
|
10
10
|
import {
|
|
11
11
|
NARROWABLE_VENDOR_SPECIFIERS
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-vbhx60x5.js";
|
|
13
13
|
import {
|
|
14
14
|
FontPruner,
|
|
15
15
|
RouteJsBudget
|
|
16
|
-
} from "./index-
|
|
17
|
-
import"./index-
|
|
16
|
+
} from "./index-y725zb1a.js";
|
|
17
|
+
import"./index-84c2pgak.js";
|
|
18
18
|
import {
|
|
19
19
|
AllRoutesBuilder,
|
|
20
20
|
precompressArtifacts,
|
|
21
21
|
SsrBaseArtifactBuilder,
|
|
22
22
|
VendorImportScanner
|
|
23
|
-
} from "./index-
|
|
23
|
+
} from "./index-bdmgqzb5.js";
|
|
24
24
|
import {
|
|
25
25
|
CsrArtifactBuilder
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-wr9magsr.js";
|
|
27
27
|
import"./index-62md4dwy.js";
|
|
28
28
|
|
|
29
29
|
// pkgs/@akanjs/devkit/applicationBuildRunner.ts
|
package/buildBatch.proc.js
CHANGED
|
@@ -2,30 +2,30 @@
|
|
|
2
2
|
import {
|
|
3
3
|
FontOptimizer,
|
|
4
4
|
ApplicationBuildReporter
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-y725zb1a.js";
|
|
6
6
|
import {
|
|
7
7
|
resolveSsrPageEntriesForApp,
|
|
8
8
|
WorkspaceExecutor,
|
|
9
9
|
AppExecutor
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-wfmpxke3.js";
|
|
11
11
|
import {
|
|
12
12
|
computeRouteSeedIndex,
|
|
13
13
|
saveRouteSeedIndex,
|
|
14
14
|
CsrDevBundler,
|
|
15
15
|
SsrDevBundler
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-vbhx60x5.js";
|
|
17
17
|
import"./index-bns3wcpc.js";
|
|
18
18
|
import {
|
|
19
19
|
ServerGraphFile,
|
|
20
20
|
PagesBundleBuilder
|
|
21
|
-
} from "./index-
|
|
21
|
+
} from "./index-84c2pgak.js";
|
|
22
22
|
import {
|
|
23
23
|
CssCompiler,
|
|
24
24
|
SsrBaseArtifactBuilder
|
|
25
|
-
} from "./index-
|
|
25
|
+
} from "./index-bdmgqzb5.js";
|
|
26
26
|
import {
|
|
27
27
|
CsrArtifactBuilder
|
|
28
|
-
} from "./index-
|
|
28
|
+
} from "./index-wr9magsr.js";
|
|
29
29
|
import"./index-62md4dwy.js";
|
|
30
30
|
|
|
31
31
|
// pkgs/@akanjs/devkit/incrementalBuilder/buildBatch.proc.ts
|
|
@@ -3,35 +3,35 @@ import {
|
|
|
3
3
|
App,
|
|
4
4
|
Workspace,
|
|
5
5
|
command
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-386canwe.js";
|
|
7
7
|
import"./index-bns3wcpc.js";
|
|
8
|
-
import"./index-
|
|
9
|
-
import"./index-
|
|
8
|
+
import"./index-wfmpxke3.js";
|
|
9
|
+
import"./index-e22zedc2.js";
|
|
10
10
|
import {
|
|
11
11
|
PlatformTestRun
|
|
12
|
-
} from "./index-
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
12
|
+
} from "./index-6h775rv3.js";
|
|
13
|
+
import"./index-djc5nxpy.js";
|
|
14
|
+
import"./index-20wvskt8.js";
|
|
15
15
|
import"./index-m9jj544v.js";
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
16
|
+
import"./index-84c2pgak.js";
|
|
17
|
+
import"./index-wr9magsr.js";
|
|
18
18
|
import {
|
|
19
19
|
npmRegistryFromEnv,
|
|
20
20
|
warnIgnoredNpmRegistry
|
|
21
21
|
} from "./index-ny2k80mv.js";
|
|
22
|
-
import"./index-
|
|
23
|
-
import"./index-
|
|
24
|
-
import"./index-
|
|
25
|
-
import"./index-
|
|
26
|
-
import"./index-
|
|
22
|
+
import"./index-y725zb1a.js";
|
|
23
|
+
import"./index-xa0289eg.js";
|
|
24
|
+
import"./index-kcpk2d20.js";
|
|
25
|
+
import"./index-23860fej.js";
|
|
26
|
+
import"./index-8nbx607g.js";
|
|
27
27
|
import"./index-qd7xn2bk.js";
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
28
|
+
import"./index-m5sg5spm.js";
|
|
29
|
+
import"./index-1cb9apzn.js";
|
|
30
|
+
import"./index-ygrdw6jw.js";
|
|
31
|
+
import"./index-65b6ms4c.js";
|
|
32
32
|
import {
|
|
33
33
|
CloudScript2
|
|
34
|
-
} from "./index-
|
|
34
|
+
} from "./index-annxfpgz.js";
|
|
35
35
|
import {
|
|
36
36
|
writeOption,
|
|
37
37
|
oneNativeTargetOption,
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
hostOption,
|
|
43
43
|
subspaceOption
|
|
44
44
|
} from "./index-mdjc93e1.js";
|
|
45
|
-
import"./index-
|
|
45
|
+
import"./index-8jpc5fqv.js";
|
|
46
46
|
import"./index-9bv479q5.js";
|
|
47
47
|
|
|
48
48
|
// pkgs/@akanjs/cli/cloud/cloud.command.ts
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
CloudScript2
|
|
4
|
+
} from "./index-annxfpgz.js";
|
|
5
|
+
import"./index-6h775rv3.js";
|
|
6
|
+
import"./index-8nbx607g.js";
|
|
7
|
+
import"./index-xa0289eg.js";
|
|
8
|
+
import"./index-65b6ms4c.js";
|
|
9
|
+
import"./index-e22zedc2.js";
|
|
10
|
+
import"./index-ny2k80mv.js";
|
|
11
|
+
import"./index-kcpk2d20.js";
|
|
12
|
+
import"./index-8jpc5fqv.js";
|
|
13
|
+
import"./index-ygrdw6jw.js";
|
|
14
|
+
import"./index-20wvskt8.js";
|
|
15
|
+
import"./index-djc5nxpy.js";
|
|
16
|
+
import"./index-m9jj544v.js";
|
|
17
|
+
import"./index-386canwe.js";
|
|
18
|
+
import"./index-9bv479q5.js";
|
|
19
|
+
import"./index-23860fej.js";
|
|
20
|
+
import"./index-1cb9apzn.js";
|
|
21
|
+
import"./index-m5sg5spm.js";
|
|
22
|
+
import"./index-wr9magsr.js";
|
|
23
|
+
import"./index-y725zb1a.js";
|
|
24
|
+
import"./index-84c2pgak.js";
|
|
25
|
+
import"./index-wfmpxke3.js";
|
|
26
|
+
import"./index-qd7xn2bk.js";
|
|
27
|
+
import"./index-bns3wcpc.js";
|
|
28
|
+
export {
|
|
29
|
+
CloudScript2 as CloudScript
|
|
30
|
+
};
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
runner,
|
|
5
5
|
script,
|
|
6
6
|
command
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-386canwe.js";
|
|
8
8
|
import"./index-bns3wcpc.js";
|
|
9
|
-
import"./index-
|
|
9
|
+
import"./index-wfmpxke3.js";
|
|
10
10
|
import {
|
|
11
11
|
AkanCodeEnv,
|
|
12
12
|
akanCodePaths2
|
|
@@ -77,7 +77,7 @@ class CodeRunner extends runner("code") {
|
|
|
77
77
|
async serve(options, listen) {
|
|
78
78
|
await import("./consoleToStderr-h5bryj94.js");
|
|
79
79
|
const [{ CodeAgent }, { CodeAgentRpcHost }, { CodeAgentRpcListener }] = await Promise.all([
|
|
80
|
-
import("./CodeAgent-
|
|
80
|
+
import("./CodeAgent-6cpjtj25.js"),
|
|
81
81
|
import("./CodeAgentRpcHost-6dzfkvsc.js"),
|
|
82
82
|
import("./CodeAgentRpcListener-tcwrdvst.js")
|
|
83
83
|
]);
|
|
@@ -111,8 +111,8 @@ class CodeRunner extends runner("code") {
|
|
|
111
111
|
}
|
|
112
112
|
async tui(options, seed) {
|
|
113
113
|
const [{ CodeAgent }, { CodeTui }] = await Promise.all([
|
|
114
|
-
import("./CodeAgent-
|
|
115
|
-
import("./CodeTui-
|
|
114
|
+
import("./CodeAgent-6cpjtj25.js"),
|
|
115
|
+
import("./CodeTui-zyc7zaq6.js")
|
|
116
116
|
]);
|
|
117
117
|
const start = await CodeRunner.#start(options, { hostAttached: false, interactive: true, ask: true });
|
|
118
118
|
const agentOptions = start.agent;
|
|
@@ -148,7 +148,7 @@ class CodeRunner extends runner("code") {
|
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
150
|
async run(prompt, options) {
|
|
151
|
-
const { CodeAgent } = await import("./CodeAgent-
|
|
151
|
+
const { CodeAgent } = await import("./CodeAgent-6cpjtj25.js");
|
|
152
152
|
const ask = !!process.stdin.isTTY && !!process.stderr.isTTY;
|
|
153
153
|
const start = await CodeRunner.#start(options, { hostAttached: false, interactive: false, ask });
|
|
154
154
|
for (const warning of start.warnings)
|
|
@@ -2,32 +2,32 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Workspace,
|
|
4
4
|
command
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-386canwe.js";
|
|
6
6
|
import"./index-bns3wcpc.js";
|
|
7
|
-
import"./index-
|
|
7
|
+
import"./index-wfmpxke3.js";
|
|
8
|
+
import"./index-0mqga3h9.js";
|
|
8
9
|
import"./index-hj6w4ka1.js";
|
|
9
|
-
import"./index-
|
|
10
|
-
import"./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-ed6ea0qp.js";
|
|
10
|
+
import"./index-xq97me1h.js";
|
|
11
|
+
import"./index-m5sg5spm.js";
|
|
12
|
+
import"./index-mvwvxgtd.js";
|
|
13
|
+
import"./index-djc5nxpy.js";
|
|
14
|
+
import"./index-20wvskt8.js";
|
|
15
15
|
import"./index-m9jj544v.js";
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
16
|
+
import"./index-84c2pgak.js";
|
|
17
|
+
import"./index-wr9magsr.js";
|
|
18
18
|
import"./index-j6eeh5d7.js";
|
|
19
19
|
import"./index-ygdbn9jn.js";
|
|
20
|
-
import"./index-
|
|
21
|
-
import"./index-
|
|
22
|
-
import"./index-
|
|
23
|
-
import"./index-
|
|
24
|
-
import"./index-
|
|
25
|
-
import"./index-
|
|
26
|
-
import"./index-
|
|
27
|
-
import"./index-
|
|
20
|
+
import"./index-ebwkh7bt.js";
|
|
21
|
+
import"./index-cbcwxp5v.js";
|
|
22
|
+
import"./index-7kmbqp0b.js";
|
|
23
|
+
import"./index-htxck0pn.js";
|
|
24
|
+
import"./index-qgazn58x.js";
|
|
25
|
+
import"./index-pq5rjkch.js";
|
|
26
|
+
import"./index-v50xjbbe.js";
|
|
27
|
+
import"./index-c5ymqb05.js";
|
|
28
28
|
import {
|
|
29
29
|
ContextScript
|
|
30
|
-
} from "./index-
|
|
30
|
+
} from "./index-j7p0jgaq.js";
|
|
31
31
|
|
|
32
32
|
// pkgs/@akanjs/cli/context/context.command.ts
|
|
33
33
|
class ContextCommand extends command("context", [ContextScript], ({ public: target }) => ({
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
ContextRunner2
|
|
4
|
+
} from "./index-mvwvxgtd.js";
|
|
5
|
+
import"./index-c5ymqb05.js";
|
|
6
|
+
import"./index-pq5rjkch.js";
|
|
7
|
+
import"./index-qgazn58x.js";
|
|
8
|
+
import"./index-cbcwxp5v.js";
|
|
9
|
+
import"./index-htxck0pn.js";
|
|
10
|
+
import"./index-7kmbqp0b.js";
|
|
11
|
+
import"./index-v50xjbbe.js";
|
|
12
|
+
import"./index-0mqga3h9.js";
|
|
13
|
+
import"./index-xq97me1h.js";
|
|
14
|
+
import"./index-20wvskt8.js";
|
|
15
|
+
import"./index-j6eeh5d7.js";
|
|
16
|
+
import"./index-djc5nxpy.js";
|
|
17
|
+
import"./index-m9jj544v.js";
|
|
18
|
+
import"./index-386canwe.js";
|
|
19
|
+
import"./index-ebwkh7bt.js";
|
|
20
|
+
import"./index-ygdbn9jn.js";
|
|
21
|
+
import"./index-m5sg5spm.js";
|
|
22
|
+
import"./index-wr9magsr.js";
|
|
23
|
+
import"./index-84c2pgak.js";
|
|
24
|
+
import"./index-wfmpxke3.js";
|
|
25
|
+
import"./index-hj6w4ka1.js";
|
|
26
|
+
import"./index-bns3wcpc.js";
|
|
27
|
+
export {
|
|
28
|
+
ContextRunner2 as ContextRunner
|
|
29
|
+
};
|
|
@@ -3,12 +3,12 @@ import {
|
|
|
3
3
|
HmrWatcher,
|
|
4
4
|
WatchRootResolver,
|
|
5
5
|
ApplicationBuildReporter
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-y725zb1a.js";
|
|
7
7
|
import {
|
|
8
8
|
CodegenLock,
|
|
9
9
|
WorkspaceExecutor,
|
|
10
10
|
AppExecutor
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-wfmpxke3.js";
|
|
12
12
|
import"./index-bns3wcpc.js";
|
|
13
13
|
import {
|
|
14
14
|
GraphClientEntryDiscovery,
|
|
@@ -19,20 +19,20 @@ import {
|
|
|
19
19
|
DevChangePlanner,
|
|
20
20
|
DevGeneratedIndexSync,
|
|
21
21
|
SsrDevBundler
|
|
22
|
-
} from "./index-
|
|
22
|
+
} from "./index-vbhx60x5.js";
|
|
23
23
|
import {
|
|
24
24
|
ServerGraphFile
|
|
25
|
-
} from "./index-
|
|
26
|
-
import"./index-
|
|
25
|
+
} from "./index-84c2pgak.js";
|
|
26
|
+
import"./index-m5sg5spm.js";
|
|
27
27
|
import {
|
|
28
28
|
FrameworkGraph
|
|
29
|
-
} from "./index-
|
|
29
|
+
} from "./index-1cb9apzn.js";
|
|
30
30
|
import {
|
|
31
31
|
GitRevision
|
|
32
32
|
} from "./index-ygdbn9jn.js";
|
|
33
33
|
import {
|
|
34
34
|
WorkspaceGraph
|
|
35
|
-
} from "./index-
|
|
35
|
+
} from "./index-ebwkh7bt.js";
|
|
36
36
|
import {
|
|
37
37
|
prepareDevWatchBatch
|
|
38
38
|
} from "./index-a5vmm6x4.js";
|
|
@@ -11,15 +11,15 @@ import {
|
|
|
11
11
|
McpServerConfig,
|
|
12
12
|
WorkspaceTrust
|
|
13
13
|
} from "./index-w15mg3km.js";
|
|
14
|
+
import {
|
|
15
|
+
PreviewView2,
|
|
16
|
+
stripAnsi
|
|
17
|
+
} from "./index-23860fej.js";
|
|
14
18
|
import {
|
|
15
19
|
SubagentPool2,
|
|
16
20
|
McpSignIn,
|
|
17
21
|
AkanCodeCompaction2
|
|
18
|
-
} from "./index-
|
|
19
|
-
import {
|
|
20
|
-
PreviewView2,
|
|
21
|
-
stripAnsi
|
|
22
|
-
} from "./index-tenw3mah.js";
|
|
22
|
+
} from "./index-abfbf01s.js";
|
|
23
23
|
import {
|
|
24
24
|
codeAgentIsLoopback,
|
|
25
25
|
codeAgentHostListed,
|
|
@@ -659,7 +659,7 @@ class AkanToolPack2 {
|
|
|
659
659
|
return { name: "akan-tools", factory: async (pi) => await this.#register(pi) };
|
|
660
660
|
}
|
|
661
661
|
async names() {
|
|
662
|
-
const { ContextRunner } = await import("./context.runner-
|
|
662
|
+
const { ContextRunner } = await import("./context.runner-ftv8373t.js");
|
|
663
663
|
return [
|
|
664
664
|
...new ContextRunner().listMcpTools(this.#options.mode).map((tool) => tool.name),
|
|
665
665
|
AkanToolPack2.verifyToolName
|
|
@@ -667,7 +667,7 @@ class AkanToolPack2 {
|
|
|
667
667
|
}
|
|
668
668
|
static verifyToolName = "akan_verify";
|
|
669
669
|
async#register(pi) {
|
|
670
|
-
const { ContextRunner } = await import("./context.runner-
|
|
670
|
+
const { ContextRunner } = await import("./context.runner-ftv8373t.js");
|
|
671
671
|
const runner = new ContextRunner;
|
|
672
672
|
const guidelineNames = await AkanToolPack2.#guidelineNames();
|
|
673
673
|
for (const tool of runner.listMcpTools(this.#options.mode, { guidelineNames })) {
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
isScannedRootEntry,
|
|
11
11
|
AppExecutor,
|
|
12
12
|
LibExecutor
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-wfmpxke3.js";
|
|
14
14
|
import {
|
|
15
15
|
FileSys2
|
|
16
16
|
} from "./index-bns3wcpc.js";
|
|
@@ -23,12 +23,28 @@ import {
|
|
|
23
23
|
workflowPathsForPlan,
|
|
24
24
|
workflowRunArtifactPath,
|
|
25
25
|
workflowSyncDir
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-xq97me1h.js";
|
|
27
27
|
|
|
28
28
|
// pkgs/@akanjs/devkit/akanContext.ts
|
|
29
29
|
import { readdir } from "fs/promises";
|
|
30
30
|
import path from "path";
|
|
31
31
|
import { capitalize, isRecord, parseRouteModuleKey } from "akanjs/common";
|
|
32
|
+
|
|
33
|
+
// pkgs/@akanjs/devkit/constantFieldNames.ts
|
|
34
|
+
import ts from "typescript";
|
|
35
|
+
var isFieldCall = (node) => ts.isCallExpression(node) && (ts.isIdentifier(node.expression) ? node.expression.text === "field" : ts.isPropertyAccessExpression(node.expression) && isFieldCall(node.expression.expression));
|
|
36
|
+
var constantFieldNames = (content) => {
|
|
37
|
+
const names = [];
|
|
38
|
+
const visit = (node) => {
|
|
39
|
+
if (ts.isPropertyAssignment(node) && ts.isIdentifier(node.name) && isFieldCall(node.initializer))
|
|
40
|
+
names.push(node.name.text);
|
|
41
|
+
ts.forEachChild(node, visit);
|
|
42
|
+
};
|
|
43
|
+
visit(ts.createSourceFile("constant.ts", content, ts.ScriptTarget.Latest));
|
|
44
|
+
return names;
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
// pkgs/@akanjs/devkit/akanContext.ts
|
|
32
48
|
var guidelineResourceUri = (name) => `akan://guidelines/${name}`;
|
|
33
49
|
var staticResourceList = [
|
|
34
50
|
{ uri: "akan://docs/framework", name: "Akan framework guide", mimeType: "text/markdown" },
|
|
@@ -165,7 +181,6 @@ var moduleShapeFiles = (module) => {
|
|
|
165
181
|
`${module.name}.signal.ts`
|
|
166
182
|
];
|
|
167
183
|
};
|
|
168
|
-
var constantFieldNames = (content) => [...content.matchAll(/\b([A-Za-z_$][\w$]*)\s*:\s*field\(/g)].map((match) => match[1]).filter(Boolean);
|
|
169
184
|
var safeReadDir = async (dirPath) => (await readdir(dirPath, { withFileTypes: true }).catch(() => [])).sort((a, b) => a.name.localeCompare(b.name));
|
|
170
185
|
var safeReadText = (filePath) => FileSys2.readText(filePath).catch(() => null);
|
|
171
186
|
var safeReadJson = (filePath) => FileSys2.readJson(filePath).catch(() => null);
|