@akanjs/cli 3.2.0-rc.13 → 3.2.0-rc.15
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-18qg03re.js +11 -0
- package/{CodeTui-h7mksphk.js → CodeTui-zkm51zf3.js} +4 -4
- package/TunnelShare-6t4rwyc0.js +19 -0
- package/{agent.command-hrc2dfas.js → agent.command-5k2zegmj.js} +25 -25
- package/akanCode.js +6 -6
- package/appExecutor-1bgs9a69.js +11 -0
- package/{application.command-b2194cpv.js → application.command-ge27047n.js} +20 -20
- package/{applicationBuildRunner-gg03kydg.js → applicationBuildRunner-7skfg8zn.js} +14 -14
- package/buildBatch.proc.js +11 -11
- package/{cloud.command-d8ps1564.js → cloud.command-d18qj1v2.js} +25 -25
- package/cloud.script-0hbhm3mw.js +35 -0
- package/{code.command-6h6jr0s7.js → code.command-tz4x5zm6.js} +13 -13
- package/{context.command-t8akxhny.js → context.command-x1smtm5q.js} +25 -25
- package/context.runner-vb7jc0k8.js +34 -0
- package/{dependencyScanner-78sq8m4q.js → dependencyScanner-ge10gb52.js} +2 -2
- package/{devTui-h77zrjv5.js → devTui-rf374y2w.js} +1 -1
- package/{fileSys-zpvt5gtf.js → fileSys-q22646yc.js} +1 -1
- package/{guideline.command-f41b5nv5.js → guideline.command-rdcwxf8g.js} +8 -8
- package/guidelines/conventions/rules/app.md +1 -1
- package/guidelines/runtimeRule/runtimeRule.instruction.md +2 -2
- package/incrementalBuilder.proc.js +12 -12
- package/{index-e599a0e4.js → index-0c8zj1da.js} +1 -1
- package/{index-w15mg3km.js → index-0dm25wvf.js} +1 -1
- package/{index-hj6w4ka1.js → index-1p81ecbz.js} +1 -1
- package/{index-66jt3m30.js → index-1ts8vfsk.js} +5 -5
- package/{index-qd7xn2bk.js → index-2ny1e95c.js} +2 -2
- package/{index-3fn13v8p.js → index-3641r8q0.js} +6 -6
- package/{index-hbc0t3ng.js → index-39byv35b.js} +2 -2
- package/{index-j2me5hm4.js → index-669sg3yp.js} +3 -3
- package/{index-bb7cm060.js → index-6p02be7n.js} +22 -22
- package/{index-j6eeh5d7.js → index-89x8tp7z.js} +4 -4
- package/{index-r0a604h4.js → index-99kjwyma.js} +1 -1
- package/{index-71z3pdsn.js → index-9mx3b3zh.js} +4 -4
- package/{index-c0rnjeqn.js → index-b2sptt87.js} +7 -7
- package/{index-yf9wc28h.js → index-bejy9zyc.js} +1 -1
- package/{index-2z8mxgs7.js → index-bjnebzzc.js} +4 -4
- package/{index-hpe12v1h.js → index-bxqbt5p3.js} +2 -2
- package/{index-bns3wcpc.js → index-by2tvsq6.js} +1 -1
- package/{index-1b1p83vq.js → index-bzdq8wfw.js} +5 -5
- package/{index-nx4q5rey.js → index-d2r762fk.js} +4 -4
- package/{index-3fpv5v0t.js → index-dp7sht3v.js} +17 -17
- package/{index-rx8r0cbe.js → index-dqsc1b5t.js} +1 -1
- package/{index-x2bj2vyz.js → index-dtpeyts6.js} +1 -1
- package/{index-8bkbexcy.js → index-e82xwj3x.js} +1 -1
- package/{index-hg8s6nae.js → index-emf3wzvh.js} +7 -7
- package/{index-5np8zpep.js → index-er2ja34m.js} +13 -13
- package/{index-j33b0n38.js → index-f482h2hj.js} +20 -2
- package/{index-9yfssbgg.js → index-fcrr79gh.js} +75 -41
- package/{index-ny2k80mv.js → index-ffa52fwf.js} +1 -1
- package/{index-crtscw7c.js → index-g56xae1n.js} +183 -182
- package/{index-asfx2dhe.js → index-g7e58wz2.js} +6 -6
- package/{index-3fbmyb2r.js → index-gh4brxzn.js} +2 -2
- package/{index-xb1yh9km.js → index-h7yd92c8.js} +2 -2
- package/{index-k081wv4r.js → index-j2eqe3jk.js} +19 -19
- package/{index-9w51aevd.js → index-jfkh776h.js} +1 -1
- package/{index-1jzdengt.js → index-n8mxyy3f.js} +1 -1
- package/{index-3gmskeq2.js → index-neassptx.js} +10 -10
- package/{index-35j83zkd.js → index-p5zh7pmc.js} +2 -2
- package/{index-37k5vshx.js → index-q4e18ne4.js} +4 -4
- package/{index-g2ebpf0y.js → index-q57rsax4.js} +3 -3
- package/{index-b4qq3rq0.js → index-rwgqba9p.js} +1 -1
- package/{index-grt0e6kk.js → index-s75h0455.js} +1 -1
- package/{index-xgqz3kak.js → index-sp331bww.js} +2 -2
- package/{index-h7hehkw6.js → index-t0g6jgrc.js} +1 -1
- package/{index-6dwk5aej.js → index-t329y8am.js} +12 -12
- package/{index-8rmg8c0y.js → index-t8tysbxv.js} +7 -7
- package/{index-b3h37zk3.js → index-trp7jdr1.js} +4 -4
- package/{index-c4k6e098.js → index-ttfz2sc7.js} +104 -55
- package/{index-xjj0h74q.js → index-vm6pr11y.js} +3 -3
- package/{index-vb8gd135.js → index-xywq95wk.js} +6 -6
- package/{index-vy50ec2q.js → index-yr5jv8yd.js} +3 -3
- package/{index-f5j09jnj.js → index-z7t6neq1.js} +9 -9
- package/{index-ygdbn9jn.js → index-zyb0ebm4.js} +1 -1
- package/index.js +28 -28
- package/{libExecutor-ex8jqksz.js → libExecutor-hxe5eqfh.js} +3 -3
- package/{library.command-a9p5yg4k.js → library.command-83shs8fw.js} +8 -8
- package/{localRegistry.command-zz64k5vy.js → localRegistry.command-sz713jg3.js} +24 -24
- package/{module.command-1ht6dmxg.js → module.command-jhhm0nmw.js} +10 -10
- package/{package.command-eabq20aq.js → package.command-42syy96v.js} +11 -11
- package/package.json +2 -2
- package/{page.command-xhmzmvjn.js → page.command-jkv29zzs.js} +8 -8
- package/{pipeline.command-wsbg3fpr.js → pipeline.command-6sg9g4hq.js} +9 -9
- package/{pkgExecutor-d16x1xcb.js → pkgExecutor-6p82w5y1.js} +3 -3
- package/{primitive.command-yyxtfhvq.js → primitive.command-tt6aq7m9.js} +11 -11
- package/{projectTypecheck-wcrt7sae.js → projectTypecheck-wfrz0cxr.js} +1 -1
- package/{prompter-qrwx1p17.js → prompter-w58rvzb9.js} +2 -2
- package/{quality.command-n7hmt628.js → quality.command-tqar7ss5.js} +12 -12
- package/{recipeScanner-4b69ybe0.js → recipeScanner-rrx69awy.js} +1 -1
- package/{repair.command-pczdq4mv.js → repair.command-qkcn329t.js} +11 -11
- package/{routeSourceValidator-4h947v7c.js → routeSourceValidator-8aph1dsr.js} +1 -1
- package/{scalar.command-cw3d32sv.js → scalar.command-6nvq11ag.js} +9 -9
- package/skills/akan-debug/SKILL.md +8 -5
- package/{subspace.command-d8t8geyv.js → subspace.command-dvwds4cv.js} +20 -20
- package/{tunnel.command-mhm64m9n.js → tunnel.command-h8r69a7v.js} +12 -12
- package/{typeChecker-s640r6c0.js → typeChecker-bfrd1n9n.js} +1 -1
- package/typecheck.proc.js +1 -1
- package/{verify.command-j4he0fbx.js → verify.command-ynec8kt2.js} +20 -20
- package/{workflow.command-k064waza.js → workflow.command-f70fx73a.js} +16 -16
- package/{workspace.command-pkpawft5.js → workspace.command-vagjy1q9.js} +43 -43
- package/CodeAgent-yd1f54yf.js +0 -11
- package/TunnelShare-hrjed2jf.js +0 -19
- package/appExecutor-0ssszyhf.js +0 -11
- package/cloud.script-7j7w4m0w.js +0 -35
- package/context.runner-eawk1n8e.js +0 -34
|
@@ -4,22 +4,22 @@ import {
|
|
|
4
4
|
SysExecutor,
|
|
5
5
|
AppInfo,
|
|
6
6
|
WorkspaceExecutor
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-g56xae1n.js";
|
|
8
8
|
import {
|
|
9
9
|
FileSys2
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-by2tvsq6.js";
|
|
11
11
|
import {
|
|
12
12
|
CliError
|
|
13
13
|
} from "./index-j4yvgfhr.js";
|
|
14
14
|
import {
|
|
15
15
|
AppExecutor2
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-trp7jdr1.js";
|
|
17
17
|
import {
|
|
18
18
|
LibExecutor2
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-n8mxyy3f.js";
|
|
20
20
|
import {
|
|
21
21
|
PkgExecutor2
|
|
22
|
-
} from "./index-
|
|
22
|
+
} from "./index-dtpeyts6.js";
|
|
23
23
|
import {
|
|
24
24
|
UNAVAILABLE_REDIS_HOST,
|
|
25
25
|
redisTunnelPolicy,
|
|
@@ -55,33 +55,33 @@ import {
|
|
|
55
55
|
filesChangedSince,
|
|
56
56
|
HmrWatcher,
|
|
57
57
|
WatchRootResolver
|
|
58
|
-
} from "./index-
|
|
58
|
+
} from "./index-1ts8vfsk.js";
|
|
59
59
|
import {
|
|
60
60
|
runner,
|
|
61
61
|
assertPromptable
|
|
62
|
-
} from "./index-
|
|
62
|
+
} from "./index-neassptx.js";
|
|
63
63
|
import {
|
|
64
64
|
UpdatePackFolder,
|
|
65
65
|
UpdateUploader,
|
|
66
66
|
NativePublicEnv,
|
|
67
67
|
NativeApp
|
|
68
|
-
} from "./index-
|
|
68
|
+
} from "./index-q57rsax4.js";
|
|
69
69
|
import {
|
|
70
70
|
DesktopServerStage
|
|
71
|
-
} from "./index-
|
|
71
|
+
} from "./index-jfkh776h.js";
|
|
72
72
|
import {
|
|
73
73
|
resolveMobileTargets,
|
|
74
74
|
resolveAppId
|
|
75
75
|
} from "./index-m9jj544v.js";
|
|
76
76
|
import {
|
|
77
77
|
SlicePlanner
|
|
78
|
-
} from "./index-
|
|
78
|
+
} from "./index-gh4brxzn.js";
|
|
79
79
|
import {
|
|
80
80
|
openBrowser
|
|
81
81
|
} from "./index-9dp031by.js";
|
|
82
82
|
import {
|
|
83
83
|
ShellOnlyEnv
|
|
84
|
-
} from "./index-
|
|
84
|
+
} from "./index-bejy9zyc.js";
|
|
85
85
|
import {
|
|
86
86
|
ConfigLock
|
|
87
87
|
} from "./index-bqbf654f.js";
|
|
@@ -93,10 +93,10 @@ import path7 from "path";
|
|
|
93
93
|
// pkgs/@akanjs/devkit/akanApp/akanApp.host.ts
|
|
94
94
|
import { Logger as Logger2 } from "akanjs/common";
|
|
95
95
|
|
|
96
|
-
// pkgs/@akanjs/devkit/createTunnel.ts
|
|
96
|
+
// pkgs/@akanjs/devkit/tunnel/createTunnel.ts
|
|
97
97
|
import { readFileSync } from "fs";
|
|
98
98
|
|
|
99
|
-
// pkgs/@akanjs/devkit/sshHostKeys.ts
|
|
99
|
+
// pkgs/@akanjs/devkit/tunnel/sshHostKeys.ts
|
|
100
100
|
import { createHash } from "crypto";
|
|
101
101
|
import { mkdir, rm, writeFile } from "fs/promises";
|
|
102
102
|
import path from "path";
|
|
@@ -143,7 +143,7 @@ class SshHostKeys {
|
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
145
|
|
|
146
|
-
// pkgs/@akanjs/devkit/sshTunnel.ts
|
|
146
|
+
// pkgs/@akanjs/devkit/tunnel/sshTunnel.ts
|
|
147
147
|
import { Client } from "ssh2";
|
|
148
148
|
var closeQuietly = (close) => {
|
|
149
149
|
try {
|
|
@@ -251,7 +251,7 @@ var closeBunSocket = (socket, error) => {
|
|
|
251
251
|
closeQuietly(() => socket.end());
|
|
252
252
|
};
|
|
253
253
|
|
|
254
|
-
// pkgs/@akanjs/devkit/createTunnel.ts
|
|
254
|
+
// pkgs/@akanjs/devkit/tunnel/createTunnel.ts
|
|
255
255
|
var tunnelEnv = new ShellOnlyEnv([
|
|
256
256
|
"SSH_TUNNEL_PRIVATE_KEY_PATH",
|
|
257
257
|
"SSH_TUNNEL_PASSPHRASE",
|
|
@@ -2295,7 +2295,7 @@ class AkanAppHost {
|
|
|
2295
2295
|
return DevIdleSuspend.idleMs();
|
|
2296
2296
|
}
|
|
2297
2297
|
}
|
|
2298
|
-
// pkgs/@akanjs/devkit/applicationTestPreload.ts
|
|
2298
|
+
// pkgs/@akanjs/devkit/app/applicationTestPreload.ts
|
|
2299
2299
|
import path5 from "path";
|
|
2300
2300
|
var SIGNAL_TEST_PRELOAD_PATH = "test/signalTest.preload.ts";
|
|
2301
2301
|
async function resolveSignalTestPreloadPath(target) {
|
|
@@ -2305,7 +2305,7 @@ async function resolveSignalTestPreloadPath(target) {
|
|
|
2305
2305
|
candidates.push(path5.join(path5.dirname(Bun.resolveSync("akanjs/package.json", basePath)), SIGNAL_TEST_PRELOAD_PATH));
|
|
2306
2306
|
} catch {}
|
|
2307
2307
|
}
|
|
2308
|
-
candidates.push(path5.join(target.cwdPath, "../../node_modules/akanjs", SIGNAL_TEST_PRELOAD_PATH), path5.join(target.cwdPath, "../../pkgs/akanjs", SIGNAL_TEST_PRELOAD_PATH), path5.join(process.cwd(), "node_modules/akanjs", SIGNAL_TEST_PRELOAD_PATH), path5.join(process.cwd(), "pkgs/akanjs", SIGNAL_TEST_PRELOAD_PATH), path5.join(path5.dirname(Bun.main), "../../akanjs", SIGNAL_TEST_PRELOAD_PATH), path5.resolve(import.meta.dir, "
|
|
2308
|
+
candidates.push(path5.join(target.cwdPath, "../../node_modules/akanjs", SIGNAL_TEST_PRELOAD_PATH), path5.join(target.cwdPath, "../../pkgs/akanjs", SIGNAL_TEST_PRELOAD_PATH), path5.join(process.cwd(), "node_modules/akanjs", SIGNAL_TEST_PRELOAD_PATH), path5.join(process.cwd(), "pkgs/akanjs", SIGNAL_TEST_PRELOAD_PATH), path5.join(path5.dirname(Bun.main), "../../akanjs", SIGNAL_TEST_PRELOAD_PATH), path5.resolve(import.meta.dir, "../../../akanjs", SIGNAL_TEST_PRELOAD_PATH));
|
|
2309
2309
|
const uniqueCandidates = [...new Set(candidates)];
|
|
2310
2310
|
for (const candidate of uniqueCandidates)
|
|
2311
2311
|
if (await Bun.file(candidate).exists())
|
|
@@ -2350,7 +2350,7 @@ var reportsNoTestFile = (exec) => {
|
|
|
2350
2350
|
};
|
|
2351
2351
|
|
|
2352
2352
|
// pkgs/@akanjs/cli/application/application.runner.ts
|
|
2353
|
-
var loadBuildRunner = async () => (await import("./applicationBuildRunner-
|
|
2353
|
+
var loadBuildRunner = async () => (await import("./applicationBuildRunner-7skfg8zn.js")).ApplicationBuildRunner;
|
|
2354
2354
|
var loadPrompts = async () => await import("@inquirer/prompts");
|
|
2355
2355
|
|
|
2356
2356
|
class ApplicationRunner extends runner("application") {
|
|
@@ -2551,7 +2551,7 @@ if (loaded) process.exitCode = await loaded.migrations.command(loaded.server, ar
|
|
|
2551
2551
|
await new (await loadBuildRunner())(app).typecheck(options);
|
|
2552
2552
|
}
|
|
2553
2553
|
async typecheckLibrary(lib, options = {}) {
|
|
2554
|
-
const { ProjectTypecheck } = await import("./projectTypecheck-
|
|
2554
|
+
const { ProjectTypecheck } = await import("./projectTypecheck-wfrz0cxr.js");
|
|
2555
2555
|
const root = lib.workspace.workspaceRoot;
|
|
2556
2556
|
await new ProjectTypecheck(lib.cwdPath, root, { ...process.env, AKAN_WORKSPACE_ROOT: root }).run([
|
|
2557
2557
|
"../../server.ts",
|
|
@@ -2,26 +2,26 @@
|
|
|
2
2
|
import {
|
|
3
3
|
CliError
|
|
4
4
|
} from "./index-j4yvgfhr.js";
|
|
5
|
-
import {
|
|
6
|
-
getDirname2,
|
|
7
|
-
FileSys2
|
|
8
|
-
} from "./index-bns3wcpc.js";
|
|
9
5
|
import {
|
|
10
6
|
Executor,
|
|
11
7
|
WorkspaceExecutor
|
|
12
|
-
} from "./index-
|
|
8
|
+
} from "./index-g56xae1n.js";
|
|
9
|
+
import {
|
|
10
|
+
getDirname2,
|
|
11
|
+
FileSys2
|
|
12
|
+
} from "./index-by2tvsq6.js";
|
|
13
13
|
import {
|
|
14
14
|
AppExecutor2
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-trp7jdr1.js";
|
|
16
16
|
import {
|
|
17
17
|
LibExecutor2
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-n8mxyy3f.js";
|
|
19
19
|
import {
|
|
20
20
|
PkgExecutor2
|
|
21
|
-
} from "./index-
|
|
21
|
+
} from "./index-dtpeyts6.js";
|
|
22
22
|
import {
|
|
23
23
|
ModuleExecutor
|
|
24
|
-
} from "./index-
|
|
24
|
+
} from "./index-dqsc1b5t.js";
|
|
25
25
|
|
|
26
26
|
// pkgs/@akanjs/devkit/commandDecorators/camelToKebabCase.ts
|
|
27
27
|
var camelToKebabCase = (str) => str.replace(/([A-Z])/g, "-$1").toLowerCase();
|
|
@@ -77,7 +77,7 @@ import { Logger } from "akanjs/common";
|
|
|
77
77
|
import chalk2 from "chalk";
|
|
78
78
|
import { program } from "commander";
|
|
79
79
|
|
|
80
|
-
// pkgs/@akanjs/devkit/appSelectionMemory.ts
|
|
80
|
+
// pkgs/@akanjs/devkit/workspace/appSelectionMemory.ts
|
|
81
81
|
import path from "path";
|
|
82
82
|
class AppSelectionMemory {
|
|
83
83
|
static pathIn(workspaceRoot) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
FileSys2
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-by2tvsq6.js";
|
|
5
5
|
import {
|
|
6
6
|
ShellOnlyEnv
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-bejy9zyc.js";
|
|
8
8
|
|
|
9
9
|
// pkgs/@akanjs/devkit/codeAgent/agent/akanCodePaths.ts
|
|
10
10
|
import { existsSync } from "fs";
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
import {
|
|
3
3
|
runner,
|
|
4
4
|
script
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-neassptx.js";
|
|
6
6
|
import {
|
|
7
7
|
CommandExecutionError,
|
|
8
8
|
LibSource,
|
|
9
9
|
formatLibStatuses
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-g56xae1n.js";
|
|
11
11
|
import {
|
|
12
12
|
LibExecutor2
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-n8mxyy3f.js";
|
|
14
14
|
import {
|
|
15
15
|
assertPlainName
|
|
16
16
|
} from "./index-va90m8nd.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
// pkgs/@akanjs/cli/library/library.script.ts
|
|
19
19
|
import { Logger } from "akanjs/common";
|
|
20
20
|
|
|
21
|
-
// pkgs/@akanjs/devkit/semver.ts
|
|
21
|
+
// pkgs/@akanjs/devkit/util/semver.ts
|
|
22
22
|
var stripRangeOperator = (version) => version.replace(/^[\s^~>=<v]+/, "").trim();
|
|
23
23
|
var parseVersion = (version) => version.replace(/^[^\d]*/, "").split(/[.-]/).map((part) => Number.parseInt(part, 10)).map((part) => Number.isFinite(part) ? part : 0);
|
|
24
24
|
var compareNumeric = (a, b) => {
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
WorkspaceExecutor,
|
|
6
6
|
ServerEnvProfile,
|
|
7
7
|
AkanAppConfig
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-g56xae1n.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-yr5jv8yd.js";
|
|
16
16
|
import {
|
|
17
17
|
ExitCodeError
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-neassptx.js";
|
|
19
19
|
|
|
20
20
|
// pkgs/@akanjs/devkit/mobile/desktopBin.ts
|
|
21
21
|
import { chmod, mkdir, rename, rm, writeFile } from "fs/promises";
|
|
@@ -243,7 +243,7 @@ var readPageExpression = `(() => {
|
|
|
243
243
|
return { href: location.href, title: document.title, text, status, empty, pageErrors, domFindings };
|
|
244
244
|
})()`;
|
|
245
245
|
|
|
246
|
-
// pkgs/@akanjs/devkit/stripAnsi.ts
|
|
246
|
+
// pkgs/@akanjs/devkit/util/stripAnsi.ts
|
|
247
247
|
var ansi = new RegExp(`${String.fromCharCode(27)}(?:[@-Z\\\\-_]|\\[[\\s\\S]*?[@-~])`, "g");
|
|
248
248
|
var stripAnsi = (text) => text.replace(ansi, "");
|
|
249
249
|
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
FrameworkMapDoc
|
|
5
5
|
} from "./index-nd39rssn.js";
|
|
6
6
|
|
|
7
|
-
// pkgs/@akanjs/devkit/frameworkGraph.ts
|
|
7
|
+
// pkgs/@akanjs/devkit/docs/frameworkGraph.ts
|
|
8
8
|
import { readdir, readFile, realpath, stat } from "fs/promises";
|
|
9
9
|
import path from "path";
|
|
10
10
|
import ts from "typescript";
|
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
} from "./index-nd39rssn.js";
|
|
6
6
|
import {
|
|
7
7
|
GitRevision
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-zyb0ebm4.js";
|
|
9
9
|
|
|
10
|
-
// pkgs/@akanjs/devkit/workspaceGraph.ts
|
|
10
|
+
// pkgs/@akanjs/devkit/workspace/workspaceGraph.ts
|
|
11
11
|
import { readFile } from "fs/promises";
|
|
12
12
|
import path from "path";
|
|
13
13
|
import ts from "typescript";
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
CommandContainer,
|
|
4
|
+
runner
|
|
5
|
+
} from "./index-neassptx.js";
|
|
5
6
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./index-
|
|
7
|
+
WorkspaceExecutor
|
|
8
|
+
} from "./index-g56xae1n.js";
|
|
8
9
|
import {
|
|
9
10
|
jsonText,
|
|
10
11
|
workflowPlanApproval,
|
|
@@ -30,24 +31,23 @@ import {
|
|
|
30
31
|
renderWorkflowApply,
|
|
31
32
|
renderWorkflowValidation,
|
|
32
33
|
renderWorkflowRunArtifact
|
|
33
|
-
} from "./index-
|
|
34
|
+
} from "./index-669sg3yp.js";
|
|
34
35
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./index-3gmskeq2.js";
|
|
36
|
+
AkanContextAnalyzer
|
|
37
|
+
} from "./index-er2ja34m.js";
|
|
38
38
|
import {
|
|
39
39
|
ModuleScript
|
|
40
|
-
} from "./index-
|
|
40
|
+
} from "./index-bjnebzzc.js";
|
|
41
41
|
import {
|
|
42
42
|
PrimitiveScript
|
|
43
|
-
} from "./index-
|
|
43
|
+
} from "./index-g7e58wz2.js";
|
|
44
44
|
import {
|
|
45
45
|
spawnAkan,
|
|
46
46
|
isWorkspaceTarget
|
|
47
|
-
} from "./index-
|
|
47
|
+
} from "./index-bzdq8wfw.js";
|
|
48
48
|
import {
|
|
49
49
|
ScalarScript
|
|
50
|
-
} from "./index-
|
|
50
|
+
} from "./index-39byv35b.js";
|
|
51
51
|
import {
|
|
52
52
|
workflowSpecs
|
|
53
53
|
} from "./index-t4d0ckde.js";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
AkanCodeEnv,
|
|
4
4
|
akanCodePaths2
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-p5zh7pmc.js";
|
|
6
6
|
import {
|
|
7
7
|
akanCodeDefaultModel2,
|
|
8
8
|
akanCodeModel2,
|
|
@@ -10,16 +10,16 @@ import {
|
|
|
10
10
|
akanCodeModelWarnings2,
|
|
11
11
|
McpServerConfig,
|
|
12
12
|
WorkspaceTrust
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-0dm25wvf.js";
|
|
14
14
|
import {
|
|
15
15
|
PreviewView2,
|
|
16
16
|
stripAnsi
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-rwgqba9p.js";
|
|
18
18
|
import {
|
|
19
19
|
SubagentPool2,
|
|
20
20
|
McpSignIn,
|
|
21
21
|
AkanCodeCompaction2
|
|
22
|
-
} from "./index-
|
|
22
|
+
} from "./index-bxqbt5p3.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-vb7jc0k8.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-vb7jc0k8.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 })) {
|
|
@@ -705,7 +705,7 @@ class AkanToolPack2 {
|
|
|
705
705
|
}
|
|
706
706
|
static async#guidelineNames() {
|
|
707
707
|
try {
|
|
708
|
-
const { Prompter } = await import("./prompter-
|
|
708
|
+
const { Prompter } = await import("./prompter-w58rvzb9.js");
|
|
709
709
|
return await Prompter.listGuidelines();
|
|
710
710
|
} catch {
|
|
711
711
|
return [];
|
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
AkanAppConfig,
|
|
8
8
|
increaseBuildNum,
|
|
9
9
|
decreaseBuildNum
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-g56xae1n.js";
|
|
11
11
|
import {
|
|
12
12
|
FileSys2
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-by2tvsq6.js";
|
|
14
14
|
import {
|
|
15
15
|
LibExecutor2
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-n8mxyy3f.js";
|
|
17
17
|
|
|
18
18
|
// pkgs/@akanjs/devkit/executors/appExecutor.ts
|
|
19
19
|
import { cp as cpEntry, lstat, mkdir, readdir as readDirEntries, realpath, symlink } from "fs/promises";
|
|
@@ -396,7 +396,7 @@ async function resolveSsrPageEntriesForApp(app, pageKeys) {
|
|
|
396
396
|
class AppExecutor2 extends SysExecutor {
|
|
397
397
|
static #routeSourceValidator = null;
|
|
398
398
|
static async#getRouteSourceValidator() {
|
|
399
|
-
AppExecutor2.#routeSourceValidator ??= (await import("./routeSourceValidator-
|
|
399
|
+
AppExecutor2.#routeSourceValidator ??= (await import("./routeSourceValidator-8aph1dsr.js")).RouteSourceValidator;
|
|
400
400
|
return AppExecutor2.#routeSourceValidator;
|
|
401
401
|
}
|
|
402
402
|
dist;
|