@akanjs/cli 3.2.0-rc.1 → 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-vmd9k4ak.js → CodeAgent-6cpjtj25.js} +2 -2
- package/{CodeTui-zka44v52.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 +2 -2
- package/{application.command-q6skd3am.js → application.command-vb278qnq.js} +12 -12
- package/{applicationBuildRunner-sctcmkyx.js → applicationBuildRunner-bqbyeg84.js} +6 -6
- package/buildBatch.proc.js +6 -6
- package/{cloud.command-7642pks6.js → cloud.command-ca777ee2.js} +18 -18
- package/cloud.script-agpxzq6j.js +30 -0
- package/{code.command-7s4ndq2k.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/{guideline.command-gnv3e8p8.js → guideline.command-w6yqpdec.js} +2 -2
- package/incrementalBuilder.proc.js +7 -7
- package/{index-a8a9ede9.js → index-0fj9ra3q.js} +3 -3
- 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-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-vr68mxj5.js → index-8nbx607g.js} +8 -8
- package/{index-8kczhnmv.js → index-abfbf01s.js} +1 -1
- package/{index-v4p1zye8.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-x7jptkd3.js → localRegistry.command-vyv5k6t0.js} +17 -17
- 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-qw5ddd6y.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-6z2rh8ze.js → workspace.command-fcfztvn5.js} +33 -33
- package/TunnelShare-k3ja4w9x.js +0 -14
- package/cloud.script-1sfseznn.js +0 -30
- package/context.runner-ms8v1rxy.js +0 -29
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
|
+
import {
|
|
3
|
+
AkanContextAnalyzer
|
|
4
|
+
} from "./index-0mqga3h9.js";
|
|
2
5
|
import {
|
|
3
6
|
WorkspaceExecutor
|
|
4
|
-
} from "./index-
|
|
7
|
+
} from "./index-wfmpxke3.js";
|
|
5
8
|
import {
|
|
6
9
|
jsonText,
|
|
7
10
|
workflowPlanApproval,
|
|
@@ -27,30 +30,27 @@ import {
|
|
|
27
30
|
renderWorkflowApply,
|
|
28
31
|
renderWorkflowValidation,
|
|
29
32
|
renderWorkflowRunArtifact
|
|
30
|
-
} from "./index-
|
|
31
|
-
import {
|
|
32
|
-
AkanContextAnalyzer
|
|
33
|
-
} from "./index-thckcabc.js";
|
|
33
|
+
} from "./index-xq97me1h.js";
|
|
34
34
|
import {
|
|
35
35
|
CommandContainer,
|
|
36
36
|
runner
|
|
37
|
-
} from "./index-
|
|
37
|
+
} from "./index-386canwe.js";
|
|
38
38
|
import {
|
|
39
39
|
ModuleScript
|
|
40
|
-
} from "./index-
|
|
40
|
+
} from "./index-htxck0pn.js";
|
|
41
41
|
import {
|
|
42
42
|
PrimitiveScript
|
|
43
|
-
} from "./index-
|
|
43
|
+
} from "./index-qgazn58x.js";
|
|
44
44
|
import {
|
|
45
45
|
spawnAkan,
|
|
46
46
|
isWorkspaceTarget
|
|
47
|
-
} from "./index-
|
|
47
|
+
} from "./index-cbcwxp5v.js";
|
|
48
48
|
import {
|
|
49
49
|
ScalarScript
|
|
50
|
-
} from "./index-
|
|
50
|
+
} from "./index-pq5rjkch.js";
|
|
51
51
|
import {
|
|
52
52
|
workflowSpecs
|
|
53
|
-
} from "./index-
|
|
53
|
+
} from "./index-v50xjbbe.js";
|
|
54
54
|
|
|
55
55
|
// pkgs/@akanjs/cli/workflow/workflow.runner.ts
|
|
56
56
|
import { mkdir, readFile, writeFile } from "fs/promises";
|
|
@@ -271,11 +271,11 @@ class WorkflowRunner extends runner("workflow") {
|
|
|
271
271
|
throw new Error(`Unknown workflow: ${workflow}. Run \`akan workflow list\` to see available workflows.`);
|
|
272
272
|
return format === "json" ? jsonText(spec) : renderWorkflowExplain(spec);
|
|
273
273
|
}
|
|
274
|
-
async plan(workflow, inputs, {
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
} = {}) {
|
|
274
|
+
async plan(workflow, inputs, { format = "markdown", ...options } = {}) {
|
|
275
|
+
const plan = await this.planReport(workflow, inputs, options);
|
|
276
|
+
return format === "json" ? jsonText(plan) : renderWorkflowPlan(plan);
|
|
277
|
+
}
|
|
278
|
+
async planReport(workflow, inputs, { out = null, workspace } = {}) {
|
|
279
279
|
const spec = getWorkflowSpec(workflowSpecs, workflow);
|
|
280
280
|
if (!spec)
|
|
281
281
|
throw new Error(`Unknown workflow: ${workflow}. Run \`akan workflow list\` to see available workflows.`);
|
|
@@ -285,54 +285,64 @@ class WorkflowRunner extends runner("workflow") {
|
|
|
285
285
|
await mkdir(path.dirname(outPath), { recursive: true });
|
|
286
286
|
await writeFile(outPath, jsonText(plan));
|
|
287
287
|
}
|
|
288
|
-
return
|
|
288
|
+
return plan;
|
|
289
289
|
}
|
|
290
290
|
async apply(planPath, {
|
|
291
|
-
dryRun = false,
|
|
292
291
|
format = "markdown",
|
|
292
|
+
...options
|
|
293
|
+
} = {}) {
|
|
294
|
+
return renderWorkflowApply(await this.applyReport(planPath, options), format);
|
|
295
|
+
}
|
|
296
|
+
async applyReport(planPath, {
|
|
297
|
+
dryRun = false,
|
|
293
298
|
registry,
|
|
294
299
|
workspace
|
|
295
300
|
} = {}) {
|
|
296
|
-
const
|
|
301
|
+
const recordApplyReport = async (report) => {
|
|
297
302
|
if (!workspace)
|
|
298
|
-
return
|
|
303
|
+
return report;
|
|
299
304
|
const { artifact } = await writeWorkflowRunArtifact(workspace, report);
|
|
300
|
-
return
|
|
305
|
+
return artifact;
|
|
301
306
|
};
|
|
302
307
|
let plan;
|
|
303
308
|
try {
|
|
304
309
|
const parsed = await readJsonFile(planPath);
|
|
305
310
|
if (!isWorkflowPlan(parsed))
|
|
306
|
-
return await
|
|
311
|
+
return await recordApplyReport(failedApplyReport("unknown", "workflow-plan-invalid", `Workflow plan file is invalid: ${planPath}.`));
|
|
307
312
|
plan = parsed;
|
|
308
313
|
} catch (error) {
|
|
309
314
|
const message = `Could not read workflow plan file: ${planPath}. ${error instanceof Error ? error.message : ""}`;
|
|
310
|
-
return await
|
|
315
|
+
return await recordApplyReport(failedApplyReport("unknown", "workflow-plan-read-failed", message.trim()));
|
|
311
316
|
}
|
|
312
317
|
const spec = getWorkflowSpec(workflowSpecs, plan.workflow);
|
|
313
318
|
if (!spec) {
|
|
314
319
|
const message = `Unknown workflow in plan: ${plan.workflow}.`;
|
|
315
|
-
return await
|
|
320
|
+
return await recordApplyReport(failedApplyReport(plan.workflow, "workflow-unknown", message, plan));
|
|
316
321
|
}
|
|
317
322
|
const inputErrors = inputErrorsOf(spec, plan);
|
|
318
323
|
if (inputErrors.length) {
|
|
319
324
|
const message = inputErrors.map((diagnostic) => diagnostic.message).join(" ");
|
|
320
|
-
return await
|
|
325
|
+
return await recordApplyReport(failedApplyReport(plan.workflow, "workflow-plan-inputs-invalid", message, plan));
|
|
321
326
|
}
|
|
322
327
|
const targetErrors = await workflowTargetDiagnostics(workspace ?? WorkspaceExecutor.fromRoot(), spec, plan.inputs);
|
|
323
328
|
if (targetErrors.length)
|
|
324
|
-
return await
|
|
329
|
+
return await recordApplyReport(refusedApplyReport(plan.workflow, targetErrors, { plan, mode: dryRun ? "dry-run" : "apply" }));
|
|
325
330
|
plan = { ...plan, steps: spec.steps, validation: spec.validation };
|
|
326
331
|
if (dryRun)
|
|
327
|
-
return await
|
|
332
|
+
return await recordApplyReport(createDryRunWorkflowApplyReport(plan));
|
|
328
333
|
if (!registry) {
|
|
329
334
|
const message = "Workflow apply requires a step runner registry.";
|
|
330
|
-
return await
|
|
335
|
+
return await recordApplyReport(failedApplyReport(plan.workflow, "workflow-registry-missing", message, plan));
|
|
331
336
|
}
|
|
332
|
-
return await
|
|
337
|
+
return await recordApplyReport(await new WorkflowExecutor(registry, workspace).apply(plan));
|
|
333
338
|
}
|
|
334
339
|
async validate(runIdOrPlan, {
|
|
335
340
|
format = "markdown",
|
|
341
|
+
...options
|
|
342
|
+
}) {
|
|
343
|
+
return renderWorkflowValidation(await this.validateReport(runIdOrPlan, options), format);
|
|
344
|
+
}
|
|
345
|
+
async validateReport(runIdOrPlan, {
|
|
336
346
|
workspace,
|
|
337
347
|
execute,
|
|
338
348
|
includeBaselineDetails = false
|
|
@@ -356,7 +366,7 @@ class WorkflowRunner extends runner("workflow") {
|
|
|
356
366
|
repairActions: loaded.repairActions
|
|
357
367
|
})), includeBaselineDetails);
|
|
358
368
|
await writeWorkflowRunArtifact(workspace, report);
|
|
359
|
-
return
|
|
369
|
+
return report;
|
|
360
370
|
}
|
|
361
371
|
async report(runId, { format = "markdown", workspace }) {
|
|
362
372
|
try {
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
|
+
import {
|
|
3
|
+
AkanContextAnalyzer
|
|
4
|
+
} from "./index-0mqga3h9.js";
|
|
2
5
|
import {
|
|
3
6
|
writeWorkflowRunArtifact,
|
|
4
7
|
generatedFilePathsForTarget,
|
|
@@ -7,13 +10,10 @@ import {
|
|
|
7
10
|
isWorkflowSysName,
|
|
8
11
|
isWorkflowModuleName,
|
|
9
12
|
renderRepairReport
|
|
10
|
-
} from "./index-
|
|
11
|
-
import {
|
|
12
|
-
AkanContextAnalyzer
|
|
13
|
-
} from "./index-thckcabc.js";
|
|
13
|
+
} from "./index-xq97me1h.js";
|
|
14
14
|
import {
|
|
15
15
|
runner
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-386canwe.js";
|
|
17
17
|
|
|
18
18
|
// pkgs/@akanjs/cli/repair/repair.runner.ts
|
|
19
19
|
var akanArgPattern = /^(?:--?[a-z][a-zA-Z0-9-]*|[A-Za-z0-9@_][A-Za-z0-9@._/:,=-]*)$/;
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
AkanAppConfig,
|
|
6
6
|
Executor,
|
|
7
7
|
WorkspaceExecutor
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-wfmpxke3.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-wr9magsr.js";
|
|
16
16
|
import {
|
|
17
17
|
ExitCodeError
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-386canwe.js";
|
|
19
19
|
|
|
20
20
|
// pkgs/@akanjs/devkit/mobile/desktopBin.ts
|
|
21
21
|
import { chmod, mkdir, rename, rm, writeFile } from "fs/promises";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
ApplicationBuildReporter
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-y725zb1a.js";
|
|
5
5
|
import {
|
|
6
6
|
parseBiomeReport,
|
|
7
7
|
Linter,
|
|
@@ -10,11 +10,11 @@ import {
|
|
|
10
10
|
AppExecutor,
|
|
11
11
|
LibExecutor,
|
|
12
12
|
PkgExecutor
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-wfmpxke3.js";
|
|
14
14
|
import {
|
|
15
15
|
WorkspaceRunner,
|
|
16
16
|
AkanQualityScanner
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-466z5931.js";
|
|
18
18
|
|
|
19
19
|
// pkgs/@akanjs/cli/verify/verifyComments.ts
|
|
20
20
|
import { existsSync } from "fs";
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
UpdatePackFolder,
|
|
10
10
|
NativePublicEnv,
|
|
11
11
|
NativeApp
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-djc5nxpy.js";
|
|
13
13
|
import {
|
|
14
14
|
ExitCodeError
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-386canwe.js";
|
|
16
16
|
import {
|
|
17
17
|
ConfigLock
|
|
18
18
|
} from "./index-bqbf654f.js";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
AkanGraphDiff,
|
|
4
4
|
AkanIndex
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-m5sg5spm.js";
|
|
6
6
|
import {
|
|
7
7
|
GitRevision
|
|
8
8
|
} from "./index-ygdbn9jn.js";
|
|
@@ -47,12 +47,14 @@ class WorkspaceGraph {
|
|
|
47
47
|
const mapped = new Set([
|
|
48
48
|
...changes.nodes.filter((node) => node.change).flatMap((node) => [
|
|
49
49
|
node.at?.file,
|
|
50
|
+
...node.sources ?? [],
|
|
50
51
|
...(node.fields ?? []).filter((field) => field.change).map(({ at }) => at.file)
|
|
51
52
|
]),
|
|
52
53
|
...changes.edges.filter((edge) => edge.change).map((edge) => edge.at?.file)
|
|
53
54
|
]);
|
|
54
55
|
const unmapped = files.filter(({ file }) => !mapped.has(file) && !hiddenPath.test(file));
|
|
55
|
-
|
|
56
|
+
const nodes = changes.nodes.map(({ sources: _sources, ...node }) => node);
|
|
57
|
+
return { ...changes, nodes, since: sha.slice(0, 12), unmapped };
|
|
56
58
|
}
|
|
57
59
|
static #baseAt(root, sha) {
|
|
58
60
|
const key = `${root}
|
|
@@ -145,16 +147,17 @@ ${sha}`;
|
|
|
145
147
|
const unscoped = WorkspaceGraph.#withoutPages(graph);
|
|
146
148
|
if (unscoped.nodes.length <= unscopedNodeLimit)
|
|
147
149
|
return unscoped;
|
|
150
|
+
const kept = new Set(unscoped.nodes.map((node) => node.id));
|
|
148
151
|
const owners = new Map;
|
|
149
152
|
for (const node of counted)
|
|
150
|
-
if (node.owner &&
|
|
153
|
+
if (node.owner && kept.has(node.id))
|
|
151
154
|
owners.set(node.owner, (owners.get(node.owner) ?? 0) + 1);
|
|
152
155
|
return {
|
|
153
156
|
diagnostics: [
|
|
154
157
|
{
|
|
155
158
|
severity: "error",
|
|
156
159
|
code: "graph-scope-required",
|
|
157
|
-
message: `The graph has ${unscoped.nodes.length} nodes
|
|
160
|
+
message: `The graph has ${unscoped.nodes.length} nodes once unchanged pages are set aside. Pass app, module or both to scope it.`,
|
|
158
161
|
input: "app"
|
|
159
162
|
}
|
|
160
163
|
],
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
runner,
|
|
4
4
|
script
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-386canwe.js";
|
|
6
6
|
import {
|
|
7
7
|
ModuleExecutor
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-wfmpxke3.js";
|
|
9
9
|
import {
|
|
10
10
|
sourceFile,
|
|
11
11
|
moduleSourcePaths,
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
createPassedPrimitiveReport,
|
|
14
14
|
bilingualLabelForField,
|
|
15
15
|
bilingualDescriptionForField
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-xq97me1h.js";
|
|
17
17
|
import {
|
|
18
18
|
PageScript
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-7kmbqp0b.js";
|
|
20
20
|
import {
|
|
21
21
|
pluralizeName
|
|
22
22
|
} from "./index-nz8prx9g.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import {
|
|
3
|
-
jsonText
|
|
4
|
-
} from "./index-8pb9yvp8.js";
|
|
5
2
|
import {
|
|
6
3
|
akanMcpInstallTargets
|
|
7
|
-
} from "./index-
|
|
4
|
+
} from "./index-0mqga3h9.js";
|
|
5
|
+
import {
|
|
6
|
+
jsonText
|
|
7
|
+
} from "./index-xq97me1h.js";
|
|
8
8
|
import {
|
|
9
9
|
script
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-386canwe.js";
|
|
11
11
|
import {
|
|
12
12
|
ContextRunner2
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-mvwvxgtd.js";
|
|
14
14
|
|
|
15
15
|
// pkgs/@akanjs/cli/context/context.script.ts
|
|
16
16
|
import { Logger } from "akanjs/common";
|
|
@@ -32,7 +32,10 @@ class ContextScript extends script("context", [ContextRunner2]) {
|
|
|
32
32
|
Logger.rawLog(await this.contextRunner.getContext(workspace, options));
|
|
33
33
|
}
|
|
34
34
|
async doctor(workspace, options = {}) {
|
|
35
|
-
|
|
35
|
+
const { status, output } = await this.contextRunner.doctor(workspace, options);
|
|
36
|
+
Logger.rawLog(output);
|
|
37
|
+
if (status === "failed")
|
|
38
|
+
process.exitCode = 1;
|
|
36
39
|
}
|
|
37
40
|
async mcpInstall(workspace, target, { force = false, mode = "apply" } = {}) {
|
|
38
41
|
const targets = resolveMcpInstallTargets(target);
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
AppExecutor,
|
|
8
8
|
LibExecutor,
|
|
9
9
|
PkgExecutor
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-wfmpxke3.js";
|
|
11
11
|
import {
|
|
12
12
|
FileSys2
|
|
13
13
|
} from "./index-bns3wcpc.js";
|
|
@@ -46,28 +46,28 @@ import {
|
|
|
46
46
|
filesChangedSince,
|
|
47
47
|
HmrWatcher,
|
|
48
48
|
WatchRootResolver
|
|
49
|
-
} from "./index-
|
|
49
|
+
} from "./index-y725zb1a.js";
|
|
50
50
|
import {
|
|
51
51
|
runner,
|
|
52
52
|
ExitCodeError,
|
|
53
53
|
assertPromptable
|
|
54
|
-
} from "./index-
|
|
54
|
+
} from "./index-386canwe.js";
|
|
55
55
|
import {
|
|
56
56
|
UpdatePackFolder,
|
|
57
57
|
UpdateUploader,
|
|
58
58
|
NativePublicEnv,
|
|
59
59
|
NativeApp
|
|
60
|
-
} from "./index-
|
|
60
|
+
} from "./index-djc5nxpy.js";
|
|
61
61
|
import {
|
|
62
62
|
DesktopServerStage
|
|
63
|
-
} from "./index-
|
|
63
|
+
} from "./index-20wvskt8.js";
|
|
64
64
|
import {
|
|
65
65
|
resolveMobileTargets,
|
|
66
66
|
resolveAppId
|
|
67
67
|
} from "./index-m9jj544v.js";
|
|
68
68
|
import {
|
|
69
69
|
SlicePlanner
|
|
70
|
-
} from "./index-
|
|
70
|
+
} from "./index-8jpc5fqv.js";
|
|
71
71
|
import {
|
|
72
72
|
openBrowser
|
|
73
73
|
} from "./index-9dp031by.js";
|
|
@@ -2038,7 +2038,7 @@ var reportsNoTestFile = (exec) => {
|
|
|
2038
2038
|
};
|
|
2039
2039
|
|
|
2040
2040
|
// pkgs/@akanjs/cli/application/application.runner.ts
|
|
2041
|
-
var loadBuildRunner = async () => (await import("./applicationBuildRunner-
|
|
2041
|
+
var loadBuildRunner = async () => (await import("./applicationBuildRunner-bqbyeg84.js")).ApplicationBuildRunner;
|
|
2042
2042
|
var loadPrompts = async () => await import("@inquirer/prompts");
|
|
2043
2043
|
|
|
2044
2044
|
class ApplicationRunner extends runner("application") {
|
|
@@ -2239,7 +2239,7 @@ if (loaded) process.exitCode = await loaded.migrations.command(loaded.server, ar
|
|
|
2239
2239
|
await new (await loadBuildRunner())(app).typecheck(options);
|
|
2240
2240
|
}
|
|
2241
2241
|
async typecheckLibrary(lib, options = {}) {
|
|
2242
|
-
const { ProjectTypecheck } = await import("./projectTypecheck-
|
|
2242
|
+
const { ProjectTypecheck } = await import("./projectTypecheck-s9hhe5sa.js");
|
|
2243
2243
|
const root = lib.workspace.workspaceRoot;
|
|
2244
2244
|
await new ProjectTypecheck(lib.cwdPath, root, { ...process.env, AKAN_WORKSPACE_ROOT: root }).run([
|
|
2245
2245
|
"../../server.ts",
|