@akanjs/cli 3.1.0-rc.2 → 3.1.0-rc.20
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-q50k4s45.js → CodeAgent-n3tzjm91.js} +2 -2
- package/{CodeAgentRpcHost-p7h6n2hp.js → CodeAgentRpcHost-9g27hmer.js} +1 -1
- package/{CodeTui-62g35ztk.js → CodeTui-fnm9ft4d.js} +47 -4
- package/TunnelShare-661cxz5e.js +14 -0
- package/{agent.command-adfd5299.js → agent.command-3qxf4xcj.js} +5 -5
- package/akanCode.js +7 -5
- package/{application.command-hj3gv1rx.js → application.command-zfja7x4r.js} +12 -11
- package/{applicationBuildRunner-by10r9gf.js → applicationBuildRunner-vh4j6vdv.js} +16 -9
- package/buildBatch.proc.js +7 -7
- package/{cloud.command-k2fhaape.js → cloud.command-fcc8e8tp.js} +17 -16
- package/cloud.script-1xt3tnts.js +24 -0
- package/{code.command-kt5zgcc2.js → code.command-130bdmhe.js} +25 -12
- package/{context.command-8fgn42jw.js → context.command-0qx447mb.js} +17 -16
- package/context.runner-1vsjztjg.js +25 -0
- package/{dependencyScanner-06z2dmrr.js → dependencyScanner-3afj2vt1.js} +1 -1
- package/{guideline.command-3yxxr2mm.js → guideline.command-cv5bmrx2.js} +2 -2
- package/guidelines/agentRule/agentRule.instruction.md +25 -10
- package/guidelines/conventions/conventions.instruction.md +463 -1084
- package/guidelines/cssRule/cssRule.instruction.md +16 -1
- package/guidelines/fieldRule/fieldRule.instruction.md +74 -0
- package/guidelines/framework/framework.instruction.md +4 -7
- package/guidelines/mcpRule/mcpRule.instruction.md +16 -9
- package/guidelines/modelConstant/modelConstant.instruction.md +2 -1
- package/guidelines/modelStore/modelStore.instruction.md +16 -0
- package/guidelines/pageRule/pageRule.instruction.md +80 -0
- package/guidelines/queryRule/queryRule.instruction.md +47 -12
- package/guidelines/runtimeRule/runtimeRule.instruction.md +89 -2
- package/guidelines/ssrRule/ssrRule.instruction.md +13 -0
- package/guidelines/transportRule/transportRule.instruction.md +107 -8
- package/guidelines/workspaceOnboarding/workspaceOnboarding.instruction.md +4 -4
- package/guidelines/workspaceRecipes/workspaceRecipes.instruction.md +70 -7
- package/incrementalBuilder.proc.js +4 -4
- package/{index-nq045px5.js → index-192ha4xh.js} +356 -307
- package/{index-t7nws9mx.js → index-1djcjcre.js} +661 -448
- package/{index-h85cxfkg.js → index-1p98exm2.js} +2 -2
- package/{index-hnby7p9n.js → index-1xj2t7cb.js} +7 -7
- package/{index-wa5jbxj1.js → index-2mrn1mrg.js} +1 -0
- package/{index-58vvz603.js → index-35hc95h5.js} +1 -1
- package/{index-tv8fjaba.js → index-4mhy6qme.js} +4 -4
- package/{index-rk9sdys3.js → index-5edzv8fn.js} +5 -5
- package/{index-k9rrten6.js → index-5nd1wtkv.js} +92 -94
- package/index-62md4dwy.js +260 -0
- package/{index-kc8z134d.js → index-665zp9rs.js} +38 -15
- package/{index-jwqtchha.js → index-86jt2a0e.js} +1 -1
- package/{index-d2242ksy.js → index-at7bz0xq.js} +3 -0
- package/{index-sqfdmb5b.js → index-awbdfcf2.js} +4 -4
- package/{index-azh29dc8.js → index-axs61rna.js} +19 -14
- package/{index-3hx1z96c.js → index-bqbf654f.js} +1 -1
- package/{index-6726qr1m.js → index-cpb3nvma.js} +57 -58
- package/{index-pyxn1b53.js → index-d72hfmdm.js} +13 -13
- package/{index-8zdwpxef.js → index-dye8pnxx.js} +119 -81
- package/{index-z507nzhg.js → index-fmzcs8v6.js} +4 -4
- package/{index-3reaaa1h.js → index-fyq1z6kt.js} +29 -27
- package/{index-0909wckt.js → index-g1mbppa9.js} +238 -236
- package/{index-fjsv10hd.js → index-hsadfb6c.js} +7 -7
- package/{index-tz5evhdr.js → index-j237xtew.js} +6 -6
- package/{index-nq2ja5e0.js → index-j4mkhz93.js} +3 -3
- package/{index-31ce9vhg.js → index-jw1zm273.js} +28 -30
- package/{index-q958tqqg.js → index-m9jj544v.js} +1 -1
- package/{index-8935h3n1.js → index-mdjc93e1.js} +1 -1
- package/{index-bea2gwc6.js → index-pydbnfez.js} +2 -2
- package/{index-20cebtth.js → index-qtfmtcrw.js} +17 -15
- package/{index-sby8fe1p.js → index-qwa5k1j8.js} +1 -1
- package/{index-e9prnmyt.js → index-tamvyvj3.js} +3 -3
- package/{index-rhbabmja.js → index-trpasv9q.js} +260 -259
- package/{index-2ahj896a.js → index-tvehn2sp.js} +1 -1
- package/{index-2etqq75t.js → index-va06nr10.js} +1090 -1078
- package/{index-g0vwzy9m.js → index-vk0pa0mn.js} +20 -21
- package/{index-xpdgxsj5.js → index-w44cy4vs.js} +2216 -2216
- package/index.js +22 -22
- package/{library.command-8tw59xzj.js → library.command-erp2f56n.js} +3 -3
- package/{localRegistry.command-tf3dmznd.js → localRegistry.command-hj3p16p5.js} +15 -14
- package/{module.command-9vm8hffy.js → module.command-gs2r615e.js} +5 -5
- package/{package.command-erbxe2tz.js → package.command-j10r76ax.js} +4 -4
- package/package.json +21 -21
- package/{page.command-jpavcj0p.js → page.command-4h4a8pnh.js} +3 -3
- package/{pipeline.command-b8rzvjvv.js → pipeline.command-a2nrk26m.js} +3 -3
- package/{primitive.command-sm32chzk.js → primitive.command-w6t0asqz.js} +6 -6
- package/{projectTypecheck-jamtx95x.js → projectTypecheck-f534enqj.js} +1 -1
- package/{quality.command-pkd17n6y.js → quality.command-77x7vbbx.js} +4 -4
- package/{repair.command-8y4mq6hs.js → repair.command-y6sstev7.js} +5 -5
- package/{scalar.command-q8khmyx5.js → scalar.command-20b8cy0k.js} +4 -4
- package/skills/akan-code/SKILL.md +4 -0
- package/skills/akan-store/SKILL.md +2 -1
- package/{subspace.command-51n0ykbx.js → subspace.command-baz73jpk.js} +11 -10
- package/templates/appSample/lib/task/Task.Util.tsx +7 -7
- package/templates/appSample/lib/task/Task.Zone.tsx +1 -1
- package/templates/appSample/ui/QuantityControl.tsx +2 -2
- package/templates/crudSinglePage/page.tsx +1 -1
- package/templates/lib/cnst.ts +0 -1
- package/templates/workspaceRoot/.gitignore.template +23 -52
- package/templates/workspaceRoot/biome.json.template +1 -1
- package/{tunnel.command-7820vtxq.js → tunnel.command-2kw8vt9g.js} +8 -7
- package/{workflow.command-n5sv4wqz.js → workflow.command-2djwmpqf.js} +10 -10
- package/{workspace.command-zdy60jh8.js → workspace.command-jqs7vjhe.js} +29 -28
- package/TunnelShare-f1egrktx.js +0 -13
- package/cloud.script-z8p5dz7e.js +0 -23
- package/context.runner-hnh0rg7m.js +0 -24
- package/index-n68jx79w.js +0 -120
|
@@ -4,26 +4,26 @@ import {
|
|
|
4
4
|
CloudApi,
|
|
5
5
|
CloudUpdates,
|
|
6
6
|
PipelineSecrets
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-cpb3nvma.js";
|
|
8
8
|
import {
|
|
9
9
|
PkgExecutor
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-va06nr10.js";
|
|
11
11
|
import {
|
|
12
12
|
NativePublicEnv,
|
|
13
13
|
UpdatePackFolder
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-g1mbppa9.js";
|
|
15
15
|
import {
|
|
16
16
|
script
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-jw1zm273.js";
|
|
18
18
|
import {
|
|
19
19
|
ApplicationScript
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-qtfmtcrw.js";
|
|
21
21
|
import {
|
|
22
22
|
PackageScript
|
|
23
|
-
} from "./index-
|
|
23
|
+
} from "./index-j237xtew.js";
|
|
24
24
|
import {
|
|
25
25
|
CloudRunner
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-fyq1z6kt.js";
|
|
27
27
|
|
|
28
28
|
// pkgs/@akanjs/cli/cloud/cloud.script.ts
|
|
29
29
|
import { Logger } from "akanjs/common";
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
import {
|
|
3
3
|
runner,
|
|
4
4
|
script
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-jw1zm273.js";
|
|
6
6
|
import {
|
|
7
7
|
FileSys2
|
|
8
8
|
} from "./index-52w0fvh8.js";
|
|
9
9
|
import {
|
|
10
10
|
PkgExecutor
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-va06nr10.js";
|
|
12
12
|
import {
|
|
13
13
|
TypeScriptDependencyScanner2
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-tvehn2sp.js";
|
|
15
15
|
|
|
16
16
|
// pkgs/@akanjs/cli/package/package.runner.ts
|
|
17
17
|
import path2 from "path";
|
|
@@ -159,10 +159,10 @@ class PackageRunner extends runner("package") {
|
|
|
159
159
|
const packageRuntimeDependencies = {
|
|
160
160
|
"@akanjs/devkit": [
|
|
161
161
|
"tailwind-scrollbar",
|
|
162
|
-
"@earendil-works/chord",
|
|
163
162
|
"@earendil-works/pi-agent-core",
|
|
164
163
|
"@earendil-works/pi-ai",
|
|
165
|
-
"@earendil-works/pi-
|
|
164
|
+
"@earendil-works/pi-codemode",
|
|
165
|
+
"@earendil-works/pi-mcp",
|
|
166
166
|
"@earendil-works/pi-tui"
|
|
167
167
|
]
|
|
168
168
|
};
|
|
@@ -273,7 +273,7 @@ class PackageRunner extends runner("package") {
|
|
|
273
273
|
if (!failures.length)
|
|
274
274
|
return;
|
|
275
275
|
throw new Error(`[package] ${pkg.name} dist imports ${failures.length} subpath(s) no consumer can resolve:
|
|
276
|
-
` + `${failures.sort().join(`
|
|
276
|
+
` + `${failures.sort((a, b) => a < b ? -1 : a > b ? 1 : 0).join(`
|
|
277
277
|
`)}
|
|
278
278
|
` + `Add the missing "exports" entries: a bare file facet needs "./*": "./*.ts", a directory facet ` + `needs its own "./name": "./name/index.ts", and "./*.ts": "./*.ts" keeps an already-suffixed ` + `specifier from gaining a second extension.`);
|
|
279
279
|
}
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
writeGeneratedSyncState,
|
|
6
6
|
createRepairReport,
|
|
7
7
|
renderRepairReport
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-trpasv9q.js";
|
|
9
9
|
import {
|
|
10
10
|
AkanContextAnalyzer
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-5edzv8fn.js";
|
|
12
12
|
import {
|
|
13
13
|
runner
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-jw1zm273.js";
|
|
15
15
|
|
|
16
16
|
// pkgs/@akanjs/cli/repair/repair.runner.ts
|
|
17
17
|
var spawnShell = async (workspace, command) => await workspace.spawn("bash", ["-lc", command.startsWith("akan ") ? `bun run ${command}` : command], {
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
LibExecutor,
|
|
11
11
|
PkgExecutor,
|
|
12
12
|
ModuleExecutor
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-va06nr10.js";
|
|
14
14
|
|
|
15
15
|
// pkgs/@akanjs/devkit/commandDecorators/camelToKebabCase.ts
|
|
16
16
|
var camelToKebabCase = (str) => str.replace(/([A-Z])/g, "-$1").toLowerCase();
|
|
@@ -59,6 +59,29 @@ var Exec = createInternalArgToken("Exec");
|
|
|
59
59
|
var Pkg = createInternalArgToken("Pkg");
|
|
60
60
|
var Module = createInternalArgToken("Module");
|
|
61
61
|
var Workspace = createInternalArgToken("Workspace");
|
|
62
|
+
// pkgs/@akanjs/devkit/commandDecorators/command.ts
|
|
63
|
+
import path2 from "path";
|
|
64
|
+
import { Logger } from "akanjs/common";
|
|
65
|
+
import chalk2 from "chalk";
|
|
66
|
+
import { program } from "commander";
|
|
67
|
+
|
|
68
|
+
// pkgs/@akanjs/devkit/appSelectionMemory.ts
|
|
69
|
+
import path from "path";
|
|
70
|
+
class AppSelectionMemory {
|
|
71
|
+
static pathIn(workspaceRoot) {
|
|
72
|
+
return path.join(workspaceRoot, "local", ".akan", "lastStart.json");
|
|
73
|
+
}
|
|
74
|
+
static async read(workspaceRoot) {
|
|
75
|
+
const stored = await Bun.file(AppSelectionMemory.pathIn(workspaceRoot)).json().catch(() => null);
|
|
76
|
+
const apps = stored?.apps;
|
|
77
|
+
return Array.isArray(apps) ? apps.filter((name) => typeof name === "string") : [];
|
|
78
|
+
}
|
|
79
|
+
static async write(workspaceRoot, apps) {
|
|
80
|
+
await FileSys2.writeJson(AppSelectionMemory.pathIn(workspaceRoot), { apps }).catch(() => {
|
|
81
|
+
return;
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
}
|
|
62
85
|
|
|
63
86
|
// pkgs/@akanjs/devkit/commandDecorators/dependencyBuilder.ts
|
|
64
87
|
var capitalize = (value) => value.slice(0, 1).toUpperCase() + value.slice(1);
|
|
@@ -137,30 +160,6 @@ var script = (refName, deps = []) => {
|
|
|
137
160
|
return ScriptBase;
|
|
138
161
|
};
|
|
139
162
|
|
|
140
|
-
// pkgs/@akanjs/devkit/commandDecorators/command.ts
|
|
141
|
-
import path2 from "path";
|
|
142
|
-
import { Logger } from "akanjs/common";
|
|
143
|
-
import chalk2 from "chalk";
|
|
144
|
-
import { program } from "commander";
|
|
145
|
-
|
|
146
|
-
// pkgs/@akanjs/devkit/appSelectionMemory.ts
|
|
147
|
-
import path from "path";
|
|
148
|
-
class AppSelectionMemory {
|
|
149
|
-
static pathIn(workspaceRoot) {
|
|
150
|
-
return path.join(workspaceRoot, "local", ".akan", "lastStart.json");
|
|
151
|
-
}
|
|
152
|
-
static async read(workspaceRoot) {
|
|
153
|
-
const stored = await Bun.file(AppSelectionMemory.pathIn(workspaceRoot)).json().catch(() => null);
|
|
154
|
-
const apps = stored?.apps;
|
|
155
|
-
return Array.isArray(apps) ? apps.filter((name) => typeof name === "string") : [];
|
|
156
|
-
}
|
|
157
|
-
static async write(workspaceRoot, apps) {
|
|
158
|
-
await FileSys2.writeJson(AppSelectionMemory.pathIn(workspaceRoot), { apps }).catch(() => {
|
|
159
|
-
return;
|
|
160
|
-
});
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
|
|
164
163
|
// pkgs/@akanjs/devkit/commandDecorators/exitCodeError.ts
|
|
165
164
|
class ExitCodeError extends Error {
|
|
166
165
|
exitCode;
|
|
@@ -441,17 +440,17 @@ var assignCommandContext = (context, argMeta, value) => {
|
|
|
441
440
|
};
|
|
442
441
|
var assertCurrentDirectoryIsWorkspaceRoot = async () => {
|
|
443
442
|
const cwd = process.cwd();
|
|
444
|
-
const [hasPackageJson, hasTsConfig,
|
|
443
|
+
const [hasPackageJson, hasTsConfig, ...hasMemberDirs] = await Promise.all([
|
|
445
444
|
FileSys2.fileExists(`${cwd}/package.json`),
|
|
446
445
|
FileSys2.fileExists(`${cwd}/tsconfig.json`),
|
|
447
|
-
FileSys2.
|
|
446
|
+
...["apps", "libs", "pkgs"].map((dir) => FileSys2.dirExists(`${cwd}/${dir}`))
|
|
448
447
|
]);
|
|
449
|
-
if (hasPackageJson && hasTsConfig &&
|
|
448
|
+
if (hasPackageJson && hasTsConfig && hasMemberDirs.some(Boolean))
|
|
450
449
|
return;
|
|
451
450
|
throw new Error([
|
|
452
451
|
"Akan CLI commands must be run from the workspace root.",
|
|
453
452
|
`Current directory: ${cwd}`,
|
|
454
|
-
"Move to the directory that contains package.json, tsconfig.json, and
|
|
453
|
+
"Move to the directory that contains package.json, tsconfig.json, and an apps/, libs/ or pkgs/ folder, then run the command again."
|
|
455
454
|
].join(`
|
|
456
455
|
`));
|
|
457
456
|
};
|
|
@@ -687,7 +686,6 @@ It may cause unexpected behavior. Run \`akan update\` to update latest akanjs.`)
|
|
|
687
686
|
process.exit(ExitCodeError.codeOf(error) ?? failureExitCode);
|
|
688
687
|
});
|
|
689
688
|
};
|
|
690
|
-
|
|
691
689
|
// pkgs/@akanjs/devkit/commandDecorators/commandBuilder.ts
|
|
692
690
|
var argMetaOf = (type, name, primitive, argsOption, idx) => ({ name, argsOption: { ...argsOption, type: normalizePrimitiveArgType(primitive) }, key: "", idx, type });
|
|
693
691
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
// pkgs/@akanjs/devkit/mobile/mobileTarget.ts
|
|
3
|
-
|
|
3
|
+
import { trimSlashes } from "akanjs/common";
|
|
4
4
|
var getMobileTargets = async (app) => {
|
|
5
5
|
const config = await app.getConfig();
|
|
6
6
|
return Object.entries(config.native.targets).map(([name, target]) => ({ name, config: target }));
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import {
|
|
3
3
|
runner,
|
|
4
4
|
script
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-jw1zm273.js";
|
|
6
6
|
import {
|
|
7
7
|
LibSource,
|
|
8
8
|
formatLibStatuses,
|
|
9
9
|
LibExecutor
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-va06nr10.js";
|
|
11
11
|
|
|
12
12
|
// pkgs/@akanjs/cli/library/library.script.ts
|
|
13
13
|
import { Logger } from "akanjs/common";
|
|
@@ -35,44 +35,44 @@ import {
|
|
|
35
35
|
filesChangedSince,
|
|
36
36
|
HmrWatcher,
|
|
37
37
|
WatchRootResolver
|
|
38
|
-
} from "./index-
|
|
38
|
+
} from "./index-5nd1wtkv.js";
|
|
39
39
|
import {
|
|
40
40
|
runner,
|
|
41
41
|
script,
|
|
42
42
|
assertPromptable
|
|
43
|
-
} from "./index-
|
|
43
|
+
} from "./index-jw1zm273.js";
|
|
44
44
|
import {
|
|
45
45
|
WorkspaceExecutor,
|
|
46
46
|
AppExecutor,
|
|
47
47
|
LibExecutor,
|
|
48
48
|
PkgExecutor
|
|
49
|
-
} from "./index-
|
|
49
|
+
} from "./index-va06nr10.js";
|
|
50
50
|
import {
|
|
51
51
|
DesktopServerStage,
|
|
52
52
|
UpdateUploader
|
|
53
|
-
} from "./index-
|
|
53
|
+
} from "./index-vk0pa0mn.js";
|
|
54
|
+
import {
|
|
55
|
+
resolveMobileTargets,
|
|
56
|
+
resolveAppId
|
|
57
|
+
} from "./index-m9jj544v.js";
|
|
54
58
|
import {
|
|
55
59
|
NativePublicEnv,
|
|
56
60
|
UpdatePackFolder,
|
|
57
61
|
NativeApp
|
|
58
|
-
} from "./index-
|
|
62
|
+
} from "./index-g1mbppa9.js";
|
|
59
63
|
import {
|
|
60
64
|
LibraryScript
|
|
61
|
-
} from "./index-
|
|
65
|
+
} from "./index-pydbnfez.js";
|
|
62
66
|
import {
|
|
63
67
|
stripAnsi
|
|
64
68
|
} from "./index-7md2g9vw.js";
|
|
65
69
|
import {
|
|
66
70
|
SlicePlanner,
|
|
67
71
|
formatSlicePlan
|
|
68
|
-
} from "./index-
|
|
72
|
+
} from "./index-35hc95h5.js";
|
|
69
73
|
import {
|
|
70
74
|
openBrowser
|
|
71
75
|
} from "./index-9dp031by.js";
|
|
72
|
-
import {
|
|
73
|
-
resolveMobileTargets,
|
|
74
|
-
resolveAppId
|
|
75
|
-
} from "./index-q958tqqg.js";
|
|
76
76
|
|
|
77
77
|
// pkgs/@akanjs/cli/application/application.script.ts
|
|
78
78
|
import { confirm } from "@inquirer/prompts";
|
|
@@ -196,7 +196,9 @@ var closeBunSocket = (socket, error) => {
|
|
|
196
196
|
|
|
197
197
|
// pkgs/@akanjs/devkit/createTunnel.ts
|
|
198
198
|
var createTunnel = async (service, { app, environment, port = service === "postgres" ? 5432 : 6379 }) => {
|
|
199
|
-
const
|
|
199
|
+
const baseDevEnv = WorkspaceExecutor.getBaseDevEnv();
|
|
200
|
+
WorkspaceExecutor.assertDeployableEnv(baseDevEnv, environment, `The ${service} tunnel`);
|
|
201
|
+
const { serveDomain, repoName } = baseDevEnv;
|
|
200
202
|
const host = `${app.name}-${environment}.${serveDomain}`;
|
|
201
203
|
const sshPort = process.env.SSH_TUNNEL_PORT ? parseInt(process.env.SSH_TUNNEL_PORT) : 32767;
|
|
202
204
|
const dstHost = `${service}-0.${service}-svc.${app.name}-${environment}.svc.cluster.local`;
|
|
@@ -1894,7 +1896,7 @@ ${uniqueCandidates.map((candidate) => ` - ${candidate}`).join(`
|
|
|
1894
1896
|
|
|
1895
1897
|
// pkgs/@akanjs/cli/application/application.runner.ts
|
|
1896
1898
|
import { Logger as Logger3, toError } from "akanjs/common";
|
|
1897
|
-
var loadBuildRunner = async () => (await import("./applicationBuildRunner-
|
|
1899
|
+
var loadBuildRunner = async () => (await import("./applicationBuildRunner-vh4j6vdv.js")).ApplicationBuildRunner;
|
|
1898
1900
|
var loadPrompts = async () => await import("@inquirer/prompts");
|
|
1899
1901
|
|
|
1900
1902
|
class ApplicationRunner extends runner("application") {
|
|
@@ -2055,7 +2057,7 @@ try {
|
|
|
2055
2057
|
await new (await loadBuildRunner())(app).typecheck(options);
|
|
2056
2058
|
}
|
|
2057
2059
|
async typecheckLibrary(lib, options = {}) {
|
|
2058
|
-
const { ProjectTypecheck } = await import("./projectTypecheck-
|
|
2060
|
+
const { ProjectTypecheck } = await import("./projectTypecheck-f534enqj.js");
|
|
2059
2061
|
const root = lib.workspace.workspaceRoot;
|
|
2060
2062
|
await new ProjectTypecheck(lib.cwdPath, root, { ...process.env, AKAN_WORKSPACE_ROOT: root }).run([
|
|
2061
2063
|
"../../server.ts",
|
|
@@ -3633,7 +3635,7 @@ class ApplicationScript extends script("application", [ApplicationRunner, Librar
|
|
|
3633
3635
|
await Promise.all(shares.map(async (share) => await share.close()));
|
|
3634
3636
|
}, "Abandoning the tunnel release; the shares expire on their own.");
|
|
3635
3637
|
await Promise.all(apps.map(async (app) => {
|
|
3636
|
-
const { TunnelShare } = await import("./TunnelShare-
|
|
3638
|
+
const { TunnelShare } = await import("./TunnelShare-661cxz5e.js");
|
|
3637
3639
|
const share = await TunnelShare.open(app, { workspace: app.workspace });
|
|
3638
3640
|
shares.push(share);
|
|
3639
3641
|
urls.set(app.name, share.url);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
runner,
|
|
4
4
|
script
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-jw1zm273.js";
|
|
6
6
|
import {
|
|
7
7
|
AGENT_BLOCK_START,
|
|
8
8
|
AGENT_BLOCK_END,
|
|
@@ -13,14 +13,14 @@ import {
|
|
|
13
13
|
CLAUDE_COMMENT_RULE,
|
|
14
14
|
AppExecutor,
|
|
15
15
|
LibExecutor
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-va06nr10.js";
|
|
17
17
|
import {
|
|
18
18
|
collectRecipeSources2,
|
|
19
19
|
scanRecipes2
|
|
20
20
|
} from "./index-hj6w4ka1.js";
|
|
21
21
|
import {
|
|
22
22
|
AkanContextAnalyzer
|
|
23
|
-
} from "./index-
|
|
23
|
+
} from "./index-5edzv8fn.js";
|
|
24
24
|
import {
|
|
25
25
|
Prompter2
|
|
26
26
|
} from "./index-zzvvc845.js";
|