@akanjs/cli 3.2.0-rc.14 → 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/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
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
import {
|
|
3
3
|
script,
|
|
4
4
|
command
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-neassptx.js";
|
|
6
6
|
import"./index-j4yvgfhr.js";
|
|
7
|
-
import"./index-
|
|
8
|
-
import"./index-
|
|
9
|
-
import"./index-
|
|
10
|
-
import"./index-
|
|
11
|
-
import"./index-
|
|
7
|
+
import"./index-g56xae1n.js";
|
|
8
|
+
import"./index-by2tvsq6.js";
|
|
9
|
+
import"./index-trp7jdr1.js";
|
|
10
|
+
import"./index-n8mxyy3f.js";
|
|
11
|
+
import"./index-dtpeyts6.js";
|
|
12
12
|
import {
|
|
13
13
|
Prompter2
|
|
14
|
-
} from "./index-
|
|
15
|
-
import"./index-
|
|
14
|
+
} from "./index-89x8tp7z.js";
|
|
15
|
+
import"./index-dqsc1b5t.js";
|
|
16
16
|
|
|
17
17
|
// pkgs/@akanjs/cli/guideline/guideline.script.ts
|
|
18
18
|
import { Logger } from "akanjs/common";
|
|
@@ -52,7 +52,7 @@ each plugin's header and diagnostic carry its full reasoning.
|
|
|
52
52
|
- Lib root files: `AGENTS.md`, `CLAUDE.md`, `README.md`, `akan.baseline.json`, `akan.config.ts`, `akan.lib.json`,
|
|
53
53
|
`client.ts`, `index.ts`, `package.json`, `server.ts`, `tsconfig.json`, `tsconfig.spec.json`, `tsconfig.tsbuildinfo`;
|
|
54
54
|
folders: the app's minus `.akan`, `script`, `secrets` (no `main.ts` either — a lib is never booted).
|
|
55
|
-
- The allowlists' one source is `pkgs/@akanjs/devkit/workspaceLayout.ts`, read by `akan sync` (error), `akan doctor`
|
|
55
|
+
- The allowlists' one source is `pkgs/@akanjs/devkit/workspace/workspaceLayout.ts`, read by `akan sync` (error), `akan doctor`
|
|
56
56
|
and `akan quality scan` — add an entry there and mirror it here.
|
|
57
57
|
- `apps/<app>/AGENTS.md` / `libs/<lib>/AGENTS.md` carry a generated `## Recipes In Scope` block between the
|
|
58
58
|
`akan:agent` markers — never hand-edit it (outside the markers is yours); `akan lint` fails when it is stale.
|
|
@@ -3,18 +3,18 @@ import {
|
|
|
3
3
|
HmrWatcher,
|
|
4
4
|
WatchRootResolver,
|
|
5
5
|
ApplicationBuildReporter
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-1ts8vfsk.js";
|
|
7
7
|
import {
|
|
8
8
|
CodegenLock,
|
|
9
9
|
WorkspaceExecutor
|
|
10
|
-
} from "./index-
|
|
11
|
-
import"./index-
|
|
10
|
+
} from "./index-g56xae1n.js";
|
|
11
|
+
import"./index-by2tvsq6.js";
|
|
12
12
|
import"./index-j4yvgfhr.js";
|
|
13
13
|
import {
|
|
14
14
|
AppExecutor2
|
|
15
|
-
} from "./index-
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
15
|
+
} from "./index-trp7jdr1.js";
|
|
16
|
+
import"./index-n8mxyy3f.js";
|
|
17
|
+
import"./index-dtpeyts6.js";
|
|
18
18
|
import {
|
|
19
19
|
GraphClientEntryDiscovery,
|
|
20
20
|
RouteClientBuilder,
|
|
@@ -24,24 +24,24 @@ import {
|
|
|
24
24
|
DevChangePlanner,
|
|
25
25
|
DevGeneratedIndexSync,
|
|
26
26
|
SsrDevBundler
|
|
27
|
-
} from "./index-
|
|
27
|
+
} from "./index-d2r762fk.js";
|
|
28
28
|
import {
|
|
29
29
|
ServerGraphFile
|
|
30
|
-
} from "./index-
|
|
30
|
+
} from "./index-h7yd92c8.js";
|
|
31
31
|
import"./index-nd39rssn.js";
|
|
32
32
|
import {
|
|
33
33
|
FrameworkGraph
|
|
34
|
-
} from "./index-
|
|
34
|
+
} from "./index-s75h0455.js";
|
|
35
35
|
import {
|
|
36
36
|
GitRevision
|
|
37
|
-
} from "./index-
|
|
37
|
+
} from "./index-zyb0ebm4.js";
|
|
38
38
|
import {
|
|
39
39
|
WorkspaceGraph
|
|
40
|
-
} from "./index-
|
|
40
|
+
} from "./index-sp331bww.js";
|
|
41
41
|
import {
|
|
42
42
|
prepareDevWatchBatch
|
|
43
43
|
} from "./index-a5vmm6x4.js";
|
|
44
|
-
import"./index-
|
|
44
|
+
import"./index-dqsc1b5t.js";
|
|
45
45
|
|
|
46
46
|
// pkgs/@akanjs/devkit/incrementalBuilder/incrementalBuilder.proc.ts
|
|
47
47
|
import { rm } from "fs/promises";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
JsonFormatter
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-g56xae1n.js";
|
|
5
5
|
|
|
6
|
-
// pkgs/@akanjs/devkit/applicationBuildReporter.ts
|
|
6
|
+
// pkgs/@akanjs/devkit/app/applicationBuildReporter.ts
|
|
7
7
|
import { realpathSync } from "fs";
|
|
8
8
|
import path4 from "path";
|
|
9
9
|
import { Logger } from "akanjs/common";
|
|
10
10
|
|
|
11
|
-
// pkgs/@akanjs/devkit/routeJsBudget.ts
|
|
11
|
+
// pkgs/@akanjs/devkit/app/routeJsBudget.ts
|
|
12
12
|
import path3 from "path";
|
|
13
13
|
import { toError } from "akanjs/common";
|
|
14
14
|
|
|
@@ -668,7 +668,7 @@ class FontPruner {
|
|
|
668
668
|
}
|
|
669
669
|
}
|
|
670
670
|
|
|
671
|
-
// pkgs/@akanjs/devkit/routeJsBudget.ts
|
|
671
|
+
// pkgs/@akanjs/devkit/app/routeJsBudget.ts
|
|
672
672
|
class RouteJsBudget {
|
|
673
673
|
kbByRoute;
|
|
674
674
|
env;
|
|
@@ -863,7 +863,7 @@ class RouteJsBudget {
|
|
|
863
863
|
}
|
|
864
864
|
}
|
|
865
865
|
|
|
866
|
-
// pkgs/@akanjs/devkit/applicationBuildReporter.ts
|
|
866
|
+
// pkgs/@akanjs/devkit/app/applicationBuildReporter.ts
|
|
867
867
|
class ApplicationBuildReporter {
|
|
868
868
|
static create() {
|
|
869
869
|
return {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
FileSys2
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-by2tvsq6.js";
|
|
5
5
|
|
|
6
|
-
// pkgs/@akanjs/devkit/dependencyScanner.ts
|
|
6
|
+
// pkgs/@akanjs/devkit/workspace/dependencyScanner.ts
|
|
7
7
|
import { builtinModules } from "module";
|
|
8
8
|
import * as path from "path";
|
|
9
9
|
import ignore from "ignore";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "./index-
|
|
3
|
+
script
|
|
4
|
+
} from "./index-neassptx.js";
|
|
5
5
|
import {
|
|
6
6
|
jsonText
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-669sg3yp.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./index-
|
|
9
|
+
akanMcpInstallTargets
|
|
10
|
+
} from "./index-er2ja34m.js";
|
|
11
11
|
import {
|
|
12
12
|
ContextRunner2
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-6p02be7n.js";
|
|
14
14
|
|
|
15
15
|
// pkgs/@akanjs/cli/context/context.script.ts
|
|
16
16
|
import { Logger } from "akanjs/common";
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import {
|
|
3
3
|
runner,
|
|
4
4
|
script
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-neassptx.js";
|
|
6
6
|
import {
|
|
7
7
|
generatedFilesForSync,
|
|
8
8
|
createPassedPrimitiveReport,
|
|
9
9
|
scalarChangedFiles
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-669sg3yp.js";
|
|
11
11
|
import {
|
|
12
12
|
pluralizeName
|
|
13
13
|
} from "./index-nz8prx9g.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
AppExecutor2
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-trp7jdr1.js";
|
|
5
5
|
import {
|
|
6
6
|
LibExecutor2
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-n8mxyy3f.js";
|
|
8
8
|
import {
|
|
9
9
|
createAst,
|
|
10
10
|
AkanIndex
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./index-va90m8nd.js";
|
|
16
16
|
import {
|
|
17
17
|
camelToKebabCase
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-neassptx.js";
|
|
19
19
|
|
|
20
20
|
// pkgs/@akanjs/devkit/workflow/artifacts.ts
|
|
21
21
|
import { capitalize as capitalize2 } from "akanjs/common";
|
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
// @bun
|
|
2
|
+
import {
|
|
3
|
+
runner
|
|
4
|
+
} from "./index-neassptx.js";
|
|
2
5
|
import {
|
|
3
6
|
AppExecutor2
|
|
4
|
-
} from "./index-
|
|
7
|
+
} from "./index-trp7jdr1.js";
|
|
8
|
+
import {
|
|
9
|
+
jsonText,
|
|
10
|
+
workflowStatus,
|
|
11
|
+
createWorkflowBaselineSummary,
|
|
12
|
+
buildAkanModuleContextIndex,
|
|
13
|
+
toolingRolloutGate
|
|
14
|
+
} from "./index-669sg3yp.js";
|
|
5
15
|
import {
|
|
6
16
|
buildResourceList,
|
|
7
17
|
codexMcpConfigPath,
|
|
@@ -11,46 +21,36 @@ import {
|
|
|
11
21
|
upsertCodexMcpServerBlock,
|
|
12
22
|
renderDoctorText,
|
|
13
23
|
AkanContextAnalyzer
|
|
14
|
-
} from "./index-
|
|
15
|
-
import {
|
|
16
|
-
jsonText,
|
|
17
|
-
workflowStatus,
|
|
18
|
-
createWorkflowBaselineSummary,
|
|
19
|
-
buildAkanModuleContextIndex,
|
|
20
|
-
toolingRolloutGate
|
|
21
|
-
} from "./index-j2me5hm4.js";
|
|
24
|
+
} from "./index-er2ja34m.js";
|
|
22
25
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./index-
|
|
26
|
+
Prompter2
|
|
27
|
+
} from "./index-89x8tp7z.js";
|
|
25
28
|
import {
|
|
26
29
|
NativeApp
|
|
27
|
-
} from "./index-
|
|
30
|
+
} from "./index-q57rsax4.js";
|
|
28
31
|
import {
|
|
29
32
|
isPlaceholderAppId
|
|
30
|
-
} from "./index-
|
|
33
|
+
} from "./index-jfkh776h.js";
|
|
31
34
|
import {
|
|
32
35
|
getMobileTargets,
|
|
33
36
|
appIdsOf
|
|
34
37
|
} from "./index-m9jj544v.js";
|
|
35
|
-
import {
|
|
36
|
-
Prompter2
|
|
37
|
-
} from "./index-j6eeh5d7.js";
|
|
38
38
|
import {
|
|
39
39
|
WorkspaceGraph
|
|
40
|
-
} from "./index-
|
|
40
|
+
} from "./index-sp331bww.js";
|
|
41
41
|
import {
|
|
42
42
|
RepairRunner
|
|
43
|
-
} from "./index-
|
|
43
|
+
} from "./index-bzdq8wfw.js";
|
|
44
44
|
import {
|
|
45
45
|
WorkflowRunner
|
|
46
|
-
} from "./index-
|
|
46
|
+
} from "./index-t329y8am.js";
|
|
47
47
|
|
|
48
|
-
// pkgs/@akanjs/devkit/akanMcpContract.ts
|
|
48
|
+
// pkgs/@akanjs/devkit/context/akanMcpContract.ts
|
|
49
49
|
import { lstatSync, realpathSync } from "fs";
|
|
50
50
|
import path from "path";
|
|
51
51
|
import { isRecord } from "akanjs/common";
|
|
52
52
|
|
|
53
|
-
// pkgs/@akanjs/devkit/akanMcpToolError.ts
|
|
53
|
+
// pkgs/@akanjs/devkit/context/akanMcpToolError.ts
|
|
54
54
|
import { AkanError } from "akanjs/base";
|
|
55
55
|
|
|
56
56
|
class AkanMcpToolError extends AkanError {
|
|
@@ -62,7 +62,7 @@ class AkanMcpToolError extends AkanError {
|
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
// pkgs/@akanjs/devkit/akanMcpContract.ts
|
|
65
|
+
// pkgs/@akanjs/devkit/context/akanMcpContract.ts
|
|
66
66
|
var emptySchema = { type: "object", properties: {} };
|
|
67
67
|
var stringProperty = { type: "string" };
|
|
68
68
|
var booleanProperty = { type: "boolean" };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
getDirname2
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-by2tvsq6.js";
|
|
5
5
|
|
|
6
|
-
// pkgs/@akanjs/devkit/conventionSet.ts
|
|
6
|
+
// pkgs/@akanjs/devkit/guideline/conventionSet.ts
|
|
7
7
|
import fsPromise from "fs/promises";
|
|
8
8
|
import path from "path";
|
|
9
9
|
|
|
@@ -61,13 +61,13 @@ class ConventionSet {
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
// pkgs/@akanjs/devkit/prompter.ts
|
|
64
|
+
// pkgs/@akanjs/devkit/guideline/prompter.ts
|
|
65
65
|
import fsPromise2 from "fs/promises";
|
|
66
66
|
import { input, select } from "@inquirer/prompts";
|
|
67
67
|
class Prompter2 {
|
|
68
68
|
static async#getGuidelineRoot() {
|
|
69
69
|
const dirname = getDirname2(import.meta.url);
|
|
70
|
-
const candidates = [`${dirname}/guidelines`, `${dirname}
|
|
70
|
+
const candidates = [`${dirname}/guidelines`, `${dirname}/../../cli/guidelines`];
|
|
71
71
|
for (const candidate of candidates) {
|
|
72
72
|
try {
|
|
73
73
|
await fsPromise2.access(candidate);
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
ROOT_LAYOUT_SYSTEM,
|
|
4
4
|
isImplicitRootLayoutKey,
|
|
5
5
|
resolveSsrPageEntriesForApp
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-trp7jdr1.js";
|
|
7
7
|
import {
|
|
8
8
|
computeRouteSeedIndex,
|
|
9
9
|
saveRouteSeedIndex,
|
|
@@ -11,12 +11,12 @@ import {
|
|
|
11
11
|
ClientEntriesBundler,
|
|
12
12
|
VENDOR_SPECIFIERS,
|
|
13
13
|
RouteClientBuilder
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-d2r762fk.js";
|
|
15
15
|
import {
|
|
16
16
|
SOURCE_EXTS,
|
|
17
17
|
FontOptimizer,
|
|
18
18
|
FontPruner
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-1ts8vfsk.js";
|
|
20
20
|
import {
|
|
21
21
|
BarrelAnalyzer,
|
|
22
22
|
createTsconfigPackageResolver,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
CsrEntryFiles,
|
|
25
25
|
toClientReferencePath,
|
|
26
26
|
PagesBundleBuilder
|
|
27
|
-
} from "./index-
|
|
27
|
+
} from "./index-h7yd92c8.js";
|
|
28
28
|
import {
|
|
29
29
|
CssBlockParser
|
|
30
30
|
} from "./index-62md4dwy.js";
|
|
@@ -6,31 +6,31 @@ import {
|
|
|
6
6
|
CloudApi,
|
|
7
7
|
CloudUpdates,
|
|
8
8
|
PipelineSecrets
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-vm6pr11y.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveMobileTargets
|
|
12
12
|
} from "./index-m9jj544v.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceExecutor
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-g56xae1n.js";
|
|
16
16
|
import {
|
|
17
17
|
AppExecutor2
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-trp7jdr1.js";
|
|
19
19
|
import {
|
|
20
20
|
NativeApp
|
|
21
|
-
} from "./index-
|
|
21
|
+
} from "./index-q57rsax4.js";
|
|
22
22
|
import {
|
|
23
23
|
runner,
|
|
24
24
|
assertPromptable
|
|
25
|
-
} from "./index-
|
|
25
|
+
} from "./index-neassptx.js";
|
|
26
26
|
import {
|
|
27
27
|
getNpmRegistryUrl,
|
|
28
28
|
getPublishedVersions,
|
|
29
29
|
getLatestPackageVersion
|
|
30
|
-
} from "./index-
|
|
30
|
+
} from "./index-ffa52fwf.js";
|
|
31
31
|
import {
|
|
32
32
|
SubspaceConfig
|
|
33
|
-
} from "./index-
|
|
33
|
+
} from "./index-t0g6jgrc.js";
|
|
34
34
|
import {
|
|
35
35
|
openBrowser
|
|
36
36
|
} from "./index-9dp031by.js";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
runner,
|
|
4
4
|
script
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-neassptx.js";
|
|
6
6
|
import {
|
|
7
7
|
sourceFile,
|
|
8
8
|
moduleSourcePaths,
|
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
createPassedPrimitiveReport,
|
|
11
11
|
bilingualLabelForField,
|
|
12
12
|
bilingualDescriptionForField
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-669sg3yp.js";
|
|
14
14
|
import {
|
|
15
15
|
PageScript
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-e82xwj3x.js";
|
|
17
17
|
import {
|
|
18
18
|
pluralizeName
|
|
19
19
|
} from "./index-nz8prx9g.js";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
} from "./index-va90m8nd.js";
|
|
23
23
|
import {
|
|
24
24
|
ModuleExecutor
|
|
25
|
-
} from "./index-
|
|
25
|
+
} from "./index-dqsc1b5t.js";
|
|
26
26
|
|
|
27
27
|
// pkgs/@akanjs/cli/module/module.script.ts
|
|
28
28
|
import { capitalize as capitalize2 } from "akanjs/common";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
akanCodePaths2
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-p5zh7pmc.js";
|
|
5
5
|
import {
|
|
6
6
|
ConfigLock
|
|
7
7
|
} from "./index-bqbf654f.js";
|
|
@@ -157,7 +157,7 @@ class SubagentPool2 {
|
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
159
|
async#run(id, kind, prompt, signal) {
|
|
160
|
-
const { CodeAgent } = await import("./CodeAgent-
|
|
160
|
+
const { CodeAgent } = await import("./CodeAgent-18qg03re.js");
|
|
161
161
|
const budget = this.#options.parent.tools.subagent;
|
|
162
162
|
const child = SubagentPool2.childOf(this.#options.parent, kind);
|
|
163
163
|
const model = this.#options.model?.();
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "./index-
|
|
3
|
+
runner
|
|
4
|
+
} from "./index-neassptx.js";
|
|
5
5
|
import {
|
|
6
6
|
writeWorkflowRunArtifact,
|
|
7
7
|
generatedFilePathsForTarget,
|
|
8
8
|
writeGeneratedSyncState,
|
|
9
9
|
createRepairReport,
|
|
10
10
|
renderRepairReport
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-669sg3yp.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./index-
|
|
13
|
+
AkanContextAnalyzer
|
|
14
|
+
} from "./index-er2ja34m.js";
|
|
15
15
|
import {
|
|
16
16
|
isWorkflowSysName,
|
|
17
17
|
isWorkflowModuleName
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
FileSys2
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-by2tvsq6.js";
|
|
5
5
|
import {
|
|
6
6
|
SOURCE_EXTS,
|
|
7
7
|
WatchRootResolver
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-1ts8vfsk.js";
|
|
9
9
|
import {
|
|
10
10
|
loaderFor,
|
|
11
11
|
BarrelAnalyzer,
|
|
@@ -21,12 +21,12 @@ import {
|
|
|
21
21
|
CsrDevPaths,
|
|
22
22
|
PagesEntrySourceGenerator,
|
|
23
23
|
PagesBundleBuilder
|
|
24
|
-
} from "./index-
|
|
24
|
+
} from "./index-h7yd92c8.js";
|
|
25
25
|
import {
|
|
26
26
|
AsyncDefaultExportDetector,
|
|
27
27
|
StoreBootstrap,
|
|
28
28
|
resolveSsrPageEntriesForApp
|
|
29
|
-
} from "./index-
|
|
29
|
+
} from "./index-trp7jdr1.js";
|
|
30
30
|
|
|
31
31
|
// pkgs/@akanjs/devkit/frontendBuild/autoImportSync.ts
|
|
32
32
|
import { readdir, readFile, stat } from "fs/promises";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
runner,
|
|
4
4
|
script,
|
|
5
5
|
markCliErrorPrinted
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-neassptx.js";
|
|
7
7
|
import {
|
|
8
8
|
CliError
|
|
9
9
|
} from "./index-j4yvgfhr.js";
|
|
@@ -15,44 +15,44 @@ import {
|
|
|
15
15
|
upsertAgentBlock,
|
|
16
16
|
renderRecipeEntries,
|
|
17
17
|
CLAUDE_COMMENT_RULE
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-g56xae1n.js";
|
|
19
19
|
import {
|
|
20
20
|
AppExecutor2
|
|
21
|
-
} from "./index-
|
|
21
|
+
} from "./index-trp7jdr1.js";
|
|
22
22
|
import {
|
|
23
23
|
LibExecutor2
|
|
24
|
-
} from "./index-
|
|
25
|
-
import {
|
|
26
|
-
akanCodePaths2
|
|
27
|
-
} from "./index-35j83zkd.js";
|
|
28
|
-
import {
|
|
29
|
-
ConventionSet,
|
|
30
|
-
Prompter2
|
|
31
|
-
} from "./index-j6eeh5d7.js";
|
|
24
|
+
} from "./index-n8mxyy3f.js";
|
|
32
25
|
import {
|
|
33
26
|
AkanContextAnalyzer
|
|
34
|
-
} from "./index-
|
|
27
|
+
} from "./index-er2ja34m.js";
|
|
35
28
|
import {
|
|
36
29
|
collectRecipeSources2,
|
|
37
30
|
scanRecipes2
|
|
38
|
-
} from "./index-
|
|
31
|
+
} from "./index-1p81ecbz.js";
|
|
32
|
+
import {
|
|
33
|
+
akanCodePaths2
|
|
34
|
+
} from "./index-p5zh7pmc.js";
|
|
35
|
+
import {
|
|
36
|
+
ConventionSet,
|
|
37
|
+
Prompter2
|
|
38
|
+
} from "./index-89x8tp7z.js";
|
|
39
39
|
import {
|
|
40
40
|
ApplicationRunner,
|
|
41
41
|
VerifyScope
|
|
42
|
-
} from "./index-
|
|
42
|
+
} from "./index-j2eqe3jk.js";
|
|
43
43
|
import {
|
|
44
44
|
WorkspaceRunner
|
|
45
|
-
} from "./index-
|
|
45
|
+
} from "./index-ttfz2sc7.js";
|
|
46
46
|
import {
|
|
47
47
|
VerifyComments,
|
|
48
48
|
VerifyPipeline,
|
|
49
49
|
VerifyReport
|
|
50
|
-
} from "./index-
|
|
50
|
+
} from "./index-xywq95wk.js";
|
|
51
51
|
|
|
52
52
|
// pkgs/@akanjs/cli/agent/agent.script.ts
|
|
53
53
|
import { Logger as Logger3 } from "akanjs/common";
|
|
54
54
|
|
|
55
|
-
// pkgs/@akanjs/devkit/agentAssets.ts
|
|
55
|
+
// pkgs/@akanjs/devkit/guideline/agentAssets.ts
|
|
56
56
|
import fsPromise from "fs/promises";
|
|
57
57
|
import path from "path";
|
|
58
58
|
class AgentAssets {
|