@akanjs/cli 3.1.1-rc.9 → 3.1.1
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-35wnb7w5.js +9 -0
- package/{CodeTui-z5vkm9ea.js → CodeTui-h6yz2kvq.js} +1 -1
- package/TunnelShare-xyjpa7gx.js +14 -0
- package/agent.command-3r4jsck8.js +46 -0
- package/akanCode.js +10 -6
- package/{application.command-wthg8nn9.js → application.command-g7xv6ad0.js} +44 -11
- package/{applicationBuildRunner-t2r84sz6.js → applicationBuildRunner-qvjnhr9j.js} +9 -6
- package/buildBatch.proc.js +6 -6
- package/{cloud.command-sz11hpre.js → cloud.command-6ebygmhw.js} +17 -15
- package/cloud.script-0s1jybd5.js +26 -0
- package/{code.command-9h3yrzhe.js → code.command-mpkm2emr.js} +6 -6
- package/commandManifest.json +1 -1
- package/{context.command-15j9b7c0.js → context.command-svdh6b2w.js} +18 -17
- package/context.runner-ch0z3a8g.js +26 -0
- package/{devTui-q7k7bakd.js → devTui-evr3b35y.js} +1 -1
- package/{guideline.command-snh85ctf.js → guideline.command-qwp3tnjx.js} +3 -3
- package/guidelines/conventions/core.md +106 -0
- package/guidelines/conventions/rules/app.md +83 -0
- package/guidelines/conventions/rules/auth.md +45 -0
- package/guidelines/conventions/rules/config.md +56 -0
- package/guidelines/conventions/rules/constant.md +24 -0
- package/guidelines/conventions/rules/gates.md +31 -0
- package/guidelines/conventions/rules/layer.md +25 -0
- package/guidelines/conventions/rules/migration.md +27 -0
- package/guidelines/conventions/rules/module.md +90 -0
- package/guidelines/conventions/rules/page.md +56 -0
- package/guidelines/conventions/rules/sensitive.md +16 -0
- package/guidelines/conventions/rules/server.md +86 -0
- package/guidelines/conventions/rules/ssr.md +47 -0
- package/guidelines/conventions/rules/style.md +43 -0
- package/guidelines/conventions/rules/test.md +34 -0
- package/guidelines/conventions/rules/ts.md +95 -0
- package/guidelines/conventions/rules/tsx.md +75 -0
- package/guidelines/mcpRule/mcpRule.instruction.md +1 -1
- package/guidelines/pageRule/pageRule.instruction.md +4 -3
- package/guidelines/queryRule/queryRule.instruction.md +4 -0
- package/guidelines/workspaceRecipes/workspaceRecipes.instruction.md +3 -3
- package/incrementalBuilder.proc.js +6 -6
- package/{index-pcwzkdqb.js → index-1p0qbq3m.js} +1 -1
- package/{index-xb8809yb.js → index-1shvxzt0.js} +3 -3
- package/{index-a58emady.js → index-266dewjs.js} +11 -11
- package/{index-bt438yxm.js → index-3yz30c07.js} +5 -4
- package/{index-xjf5j657.js → index-4mj92tsh.js} +952 -47
- package/index-4pdts00b.js +1604 -0
- package/{index-42j4a8zq.js → index-8559hsz4.js} +4 -3
- package/{index-wcej7g4z.js → index-8scw1pjk.js} +93 -23
- package/{index-a5dhqkdr.js → index-96wzdhfh.js} +74 -233
- package/index-9bv479q5.js +1 -0
- package/index-9rvcs76p.js +653 -0
- package/index-am36s3jh.js +3582 -0
- package/index-b8c289dx.js +444 -0
- package/{index-espk51ah.js → index-dd44g6vz.js} +3 -3
- package/{index-3wypz6xj.js → index-eja64h28.js} +7 -3
- package/index-fbewhg4g.js +590 -0
- package/index-jje9qzyq.js +27 -0
- package/{index-j9vyj3dj.js → index-k5jbcxyh.js} +3 -3
- package/{index-2mwc0g0d.js → index-ksfgqq1x.js} +1 -1
- package/index-m5n3ka0p.js +18 -0
- package/{index-5nd1wtkv.js → index-p6x5b7hr.js} +1 -1
- package/{index-6txx6a9p.js → index-payhwt51.js} +21 -29
- package/{index-2azahjaw.js → index-qkkdhjm6.js} +2 -2
- package/{index-74tjjsnc.js → index-qxzrp5xt.js} +33 -37
- package/{index-qfp55x1y.js → index-r0k3ham2.js} +4 -4
- package/{index-hmt54t45.js → index-r2w2eh93.js} +4 -4
- package/index-r2wedvqn.js +138 -0
- package/{index-skk9zc1x.js → index-rnphv731.js} +2 -2
- package/{index-9th4gszy.js → index-s6da8ta9.js} +82 -1227
- package/index-tenw3mah.js +225 -0
- package/{index-31es1yev.js → index-tgt2fnd6.js} +107 -6
- package/{index-55j120r8.js → index-vxmy1p4f.js} +16 -36
- package/{index-301pdbzz.js → index-w4k2ragk.js} +7 -7
- package/{index-js6geqjn.js → index-w7q6h97v.js} +1 -1
- package/{index-dy0jx9ay.js → index-wwe9rsrx.js} +14 -0
- package/{index-2xcc2ax5.js → index-xq543a5y.js} +2 -2
- package/{index-0fz95kxe.js → index-xqgwjz7a.js} +1 -1
- package/{index-40brg4px.js → index-xxfy1jp2.js} +4 -4
- package/{index-905qdgqp.js → index-z4b84y6k.js} +1 -1
- package/index-zcf6k8a5.js +410 -0
- package/index.js +23 -22
- package/{library.command-gycrwhf1.js → library.command-2853y6mk.js} +3 -3
- package/{localRegistry.command-jtd8gaes.js → localRegistry.command-76ds31p4.js} +19 -15
- package/{module.command-v6hgs1bc.js → module.command-yfnb0abs.js} +5 -5
- package/{package.command-shzpcfph.js → package.command-d9s86hp9.js} +3 -3
- package/package.json +2 -2
- package/{page.command-ptxn5kqk.js → page.command-6a8a8rd1.js} +3 -3
- package/{pipeline.command-zz31pgax.js → pipeline.command-rt3rwd2z.js} +2 -2
- package/{primitive.command-a1vse91z.js → primitive.command-emcebgrq.js} +6 -6
- package/{projectTypecheck-2ztky9cf.js → projectTypecheck-51m7eh1f.js} +1 -1
- package/{prompter-76k56b37.js → prompter-hgcta8pb.js} +1 -1
- package/quality.command-xtrk0n3x.js +76 -0
- package/{repair.command-cvazbz99.js → repair.command-51szxnxx.js} +5 -5
- package/{routeSourceValidator-6jd0q6r6.js → routeSourceValidator-4h947v7c.js} +13 -3
- package/{scalar.command-0acvyp26.js → scalar.command-8qv27t82.js} +4 -4
- package/skills/akan-agent/SKILL.md +36 -0
- package/skills/akan-code/SKILL.md +1 -0
- package/skills/akan-debug/SKILL.md +40 -6
- package/skills/akan-deps/SKILL.md +1 -2
- package/skills/akan-mcp/SKILL.md +40 -0
- package/skills/akan-page/SKILL.md +44 -0
- package/skills/akan-query/SKILL.md +38 -0
- package/skills/akan-runtime/SKILL.md +40 -0
- package/skills/akan-scaffold/SKILL.md +16 -6
- package/skills/akan-transport/SKILL.md +40 -0
- package/skills/akan-validate/SKILL.md +13 -11
- package/{subspace.command-822qx2bx.js → subspace.command-pn56pnh8.js} +8 -8
- package/templates/__scalar/__model__/__model__.constant.ts +3 -5
- package/templates/__scalar/__model__/__model__.dictionary.ts +6 -5
- package/templates/__scalar/__model__/__model__.document.ts +3 -3
- package/templates/app/akan.config.ts +2 -3
- package/templates/app/env/env.client.ts +2 -4
- package/templates/app/env/env.client.type.ts +2 -3
- package/templates/app/env/env.server.ts +2 -3
- package/templates/app/lib/___appName__/__appName__.dictionary.ts +1 -2
- package/templates/app/lib/___appName__/__appName__.service.ts +3 -3
- package/templates/app/lib/___appName__/__appName__.signal.ts +5 -5
- package/templates/app/lib/___appName__/__appName__.store.ts +4 -6
- package/templates/app/lib/option.ts +2 -3
- package/templates/app/main.ts +2 -4
- package/templates/app/page/_index.tsx +3 -3
- package/templates/app/page/_layout.tsx +13 -10
- package/templates/appSample/lib/__scalar/workHistory/workHistory.constant.ts +1 -5
- package/templates/appSample/lib/__scalar/workHistory/workHistory.dictionary.ts +1 -1
- package/templates/appSample/lib/_noti/noti.signal.ts +1 -1
- package/templates/appSample/lib/task/Task.Template.tsx +2 -1
- package/templates/appSample/lib/task/Task.Unit.tsx +3 -2
- package/templates/appSample/lib/task/Task.Util.tsx +16 -4
- package/templates/appSample/lib/task/task.constant.ts +1 -5
- package/templates/appSample/lib/task/task.dictionary.ts +2 -8
- package/templates/appSample/lib/task/task.document.ts +1 -1
- package/templates/appSample/page/task/_index.tsx +2 -1
- package/templates/appSample/page/task/new.tsx +2 -1
- package/templates/appSample/ui/QuantityControl.tsx +5 -9
- package/templates/biomeForm.ts +144 -0
- package/templates/crudPages/[__model__Id]/edit/page.tsx +3 -3
- package/templates/crudPages/[__model__Id]/page.tsx +5 -5
- package/templates/crudPages/new/page.tsx +4 -3
- package/templates/crudPages/page.tsx +3 -3
- package/templates/crudSinglePage/page.tsx +9 -5
- package/templates/libRoot/akan.config.ts +2 -3
- package/templates/libRoot/lib/___libName__/__libName__.dictionary.ts +1 -2
- package/templates/libRoot/lib/___libName__/__libName__.service.ts +5 -4
- package/templates/libRoot/lib/___libName__/__libName__.signal.ts +6 -5
- package/templates/libRoot/lib/___libName__/__libName__.store.ts +5 -6
- package/templates/libRoot/lib/option.ts +1 -2
- package/templates/module/__Model__.Template.tsx +11 -10
- package/templates/module/__Model__.Unit.tsx +18 -5
- package/templates/module/__Model__.Util.tsx +9 -7
- package/templates/module/__Model__.View.tsx +9 -6
- package/templates/module/__Model__.Zone.tsx +25 -17
- package/templates/module/__model__.constant.ts +8 -9
- package/templates/module/__model__.dictionary.ts +16 -17
- package/templates/module/__model__.document.ts +6 -8
- package/templates/module/__model__.service.ts +3 -3
- package/templates/module/__model__.signal.ts +11 -10
- package/templates/module/__model__.store.ts +3 -5
- package/templates/service/__model__.dictionary.ts +6 -5
- package/templates/service/__model__.service.ts +3 -3
- package/templates/service/__model__.signal.ts +5 -4
- package/templates/service/__model__.store.ts +3 -5
- package/templates/workspaceRoot/.gitignore.template +3 -0
- package/templates/workspaceRoot/.vscode/settings.json.template +21 -21
- package/templates/workspaceRoot/AGENTS.md.template +4 -10
- package/{tunnel.command-ycmja19q.js → tunnel.command-q2h0j2en.js} +7 -7
- package/{typeChecker-px49mezc.js → typeChecker-j2jdnqsr.js} +1 -1
- package/typecheck.proc.js +6 -1
- package/verify.command-z1dsbmrt.js +91 -0
- package/{workflow.command-abb1d5xy.js → workflow.command-r3y67jeq.js} +47 -13
- package/workspace.command-t2f0xsrw.js +263 -0
- package/CodeAgent-8d5qs787.js +0 -9
- package/TunnelShare-qkm8zp03.js +0 -14
- package/agent.command-ydftceda.js +0 -25
- package/cloud.script-nqevg5qw.js +0 -24
- package/context.runner-8gg030b0.js +0 -25
- package/guidelines/conventions/conventions.instruction.md +0 -617
- package/guidelines/workspaceOnboarding/workspaceOnboarding.instruction.md +0 -291
- package/index-4vgbysa0.js +0 -279
- package/index-7md2g9vw.js +0 -6
- package/index-b70zct19.js +0 -856
- package/index-zzvvc845.js +0 -74
- package/quality.command-ah8qcakd.js +0 -1478
- package/templates/workspaceRoot/docs/AI-DEVELOPMENT.md.template +0 -69
- package/templates/workspaceRoot/docs/GENERATED.md.template +0 -55
- package/workspace.command-qm7cw29v.js +0 -521
|
@@ -0,0 +1,410 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
WorkspaceExecutor
|
|
4
|
+
} from "./index-8scw1pjk.js";
|
|
5
|
+
import {
|
|
6
|
+
jsonText,
|
|
7
|
+
workflowPlanApproval,
|
|
8
|
+
createWorkflowApplyReport,
|
|
9
|
+
workflowCommandsForPlan,
|
|
10
|
+
workflowPathsForPlan,
|
|
11
|
+
writeWorkflowRunArtifact,
|
|
12
|
+
readWorkflowRunArtifact,
|
|
13
|
+
createWorkflowBaselineSummary,
|
|
14
|
+
createWorkflowValidationRunReport,
|
|
15
|
+
createDryRunWorkflowApplyReport,
|
|
16
|
+
createWorkflowStepRegistry,
|
|
17
|
+
WorkflowExecutor,
|
|
18
|
+
listWorkflowSpecs,
|
|
19
|
+
getWorkflowSpec,
|
|
20
|
+
compactWorkflowInputs,
|
|
21
|
+
createWorkflowPlan,
|
|
22
|
+
inspectWorkflowPlan,
|
|
23
|
+
renderWorkflowList,
|
|
24
|
+
renderWorkflowExplain,
|
|
25
|
+
renderWorkflowPlan,
|
|
26
|
+
renderWorkflowApply,
|
|
27
|
+
renderWorkflowValidation,
|
|
28
|
+
renderWorkflowRunArtifact
|
|
29
|
+
} from "./index-4mj92tsh.js";
|
|
30
|
+
import {
|
|
31
|
+
AkanContextAnalyzer
|
|
32
|
+
} from "./index-tgt2fnd6.js";
|
|
33
|
+
import {
|
|
34
|
+
CommandContainer,
|
|
35
|
+
runner
|
|
36
|
+
} from "./index-eja64h28.js";
|
|
37
|
+
import {
|
|
38
|
+
ModuleScript
|
|
39
|
+
} from "./index-r2w2eh93.js";
|
|
40
|
+
import {
|
|
41
|
+
PrimitiveScript
|
|
42
|
+
} from "./index-qxzrp5xt.js";
|
|
43
|
+
import {
|
|
44
|
+
spawnShell
|
|
45
|
+
} from "./index-k5jbcxyh.js";
|
|
46
|
+
import {
|
|
47
|
+
ScalarScript
|
|
48
|
+
} from "./index-rnphv731.js";
|
|
49
|
+
import {
|
|
50
|
+
workflowSpecs
|
|
51
|
+
} from "./index-fbewhg4g.js";
|
|
52
|
+
|
|
53
|
+
// pkgs/@akanjs/cli/workflow/workflow.runner.ts
|
|
54
|
+
import { mkdir, readFile, writeFile } from "fs/promises";
|
|
55
|
+
import path from "path";
|
|
56
|
+
import { isRecord } from "akanjs/common";
|
|
57
|
+
var resolvePath = (filePath) => path.isAbsolute(filePath) ? filePath : path.join(process.cwd(), filePath);
|
|
58
|
+
var isWorkflowPlan = (value) => {
|
|
59
|
+
if (!isRecord(value))
|
|
60
|
+
return false;
|
|
61
|
+
return value.schemaVersion === 1 && value.mode === "plan" && typeof value.workflow === "string";
|
|
62
|
+
};
|
|
63
|
+
var isWorkflowApplyReport = (value) => {
|
|
64
|
+
if (!isRecord(value))
|
|
65
|
+
return false;
|
|
66
|
+
return value.schemaVersion === 1 && (value.mode === "apply" || value.mode === "dry-run") && isWorkflowPlan(value.plan);
|
|
67
|
+
};
|
|
68
|
+
var isWorkflowRunArtifact = (value) => {
|
|
69
|
+
if (!isRecord(value))
|
|
70
|
+
return false;
|
|
71
|
+
return value.schemaVersion === 1 && (typeof value.mode === "string" || typeof value.command === "string");
|
|
72
|
+
};
|
|
73
|
+
var failedPlan = (workflow, diagnostics) => ({
|
|
74
|
+
schemaVersion: 1,
|
|
75
|
+
workflow,
|
|
76
|
+
mode: "plan",
|
|
77
|
+
inputs: {},
|
|
78
|
+
optionalSurfaces: {},
|
|
79
|
+
steps: [],
|
|
80
|
+
predictedChanges: [],
|
|
81
|
+
validation: [],
|
|
82
|
+
diagnostics,
|
|
83
|
+
recommendations: [],
|
|
84
|
+
requiresApproval: true,
|
|
85
|
+
approval: workflowPlanApproval
|
|
86
|
+
});
|
|
87
|
+
var failedApplyReport = (workflow, code, message, plan) => {
|
|
88
|
+
const diagnostics = [{ severity: "error", code, message }];
|
|
89
|
+
return createWorkflowApplyReport({
|
|
90
|
+
workflow,
|
|
91
|
+
mode: "apply",
|
|
92
|
+
changedFiles: [],
|
|
93
|
+
generatedFiles: [],
|
|
94
|
+
commands: [],
|
|
95
|
+
diagnostics,
|
|
96
|
+
nextActions: [],
|
|
97
|
+
plan: plan ?? failedPlan(workflow, diagnostics)
|
|
98
|
+
});
|
|
99
|
+
};
|
|
100
|
+
var inferValidationKind = (command) => {
|
|
101
|
+
if (command.kind)
|
|
102
|
+
return command.kind;
|
|
103
|
+
if (/\bakan\s+verify\b/.test(command.command))
|
|
104
|
+
return "verify";
|
|
105
|
+
if (/\bakan\s+sync\b/.test(command.command))
|
|
106
|
+
return "sync";
|
|
107
|
+
if (/\bakan\s+lint\b/.test(command.command))
|
|
108
|
+
return "lint";
|
|
109
|
+
if (/\bakan\s+typecheck\b/.test(command.command))
|
|
110
|
+
return "typecheck";
|
|
111
|
+
if (/\bakan\s+doctor\b/.test(command.command))
|
|
112
|
+
return "doctor";
|
|
113
|
+
return "custom";
|
|
114
|
+
};
|
|
115
|
+
var classifyValidationFailure = (command, error) => {
|
|
116
|
+
const output = `${error.stdout ?? ""}
|
|
117
|
+
${error.stderr ?? ""}
|
|
118
|
+
${error.message ?? ""}`.toLowerCase();
|
|
119
|
+
if (error.code === 127 || output.includes("command not found") || output.includes("bun: command not found")) {
|
|
120
|
+
return "environment";
|
|
121
|
+
}
|
|
122
|
+
if (output.includes("biome.json") || output.includes("biome configuration") || output.includes("configuration file") || output.includes("invalid configuration") || output.includes("failed to load")) {
|
|
123
|
+
return "workspace-config";
|
|
124
|
+
}
|
|
125
|
+
const kind = inferValidationKind(command);
|
|
126
|
+
if (kind === "verify" || kind === "lint" || kind === "typecheck" || kind === "sync")
|
|
127
|
+
return "source-change";
|
|
128
|
+
return "unknown";
|
|
129
|
+
};
|
|
130
|
+
var defaultValidationExecutor = (workspace) => async (command) => {
|
|
131
|
+
const base = { command: command.command, reason: command.reason, kind: inferValidationKind(command) };
|
|
132
|
+
try {
|
|
133
|
+
return { ...base, status: "passed", exitCode: 0, stdout: await spawnShell(workspace, command.command) };
|
|
134
|
+
} catch (error) {
|
|
135
|
+
const commandError = error;
|
|
136
|
+
return {
|
|
137
|
+
...base,
|
|
138
|
+
status: "failed",
|
|
139
|
+
exitCode: commandError.code ?? 1,
|
|
140
|
+
failureScope: classifyValidationFailure(command, commandError),
|
|
141
|
+
stdout: commandError.stdout,
|
|
142
|
+
stderr: commandError.stderr ?? commandError.message
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
};
|
|
146
|
+
var readJsonFile = async (filePath) => JSON.parse(await readFile(resolvePath(filePath), "utf8"));
|
|
147
|
+
var workflowDiagnosticFromDoctor = ({
|
|
148
|
+
severity,
|
|
149
|
+
code,
|
|
150
|
+
message,
|
|
151
|
+
scope,
|
|
152
|
+
context
|
|
153
|
+
}, fallbackScope) => {
|
|
154
|
+
const resolvedScope = scope ?? fallbackScope;
|
|
155
|
+
const failureScope = resolvedScope === "baseline" ? "workspace-config" : resolvedScope === "workflow" ? "source-change" : "unknown";
|
|
156
|
+
return { severity, code, message, scope: resolvedScope, failureScope, context };
|
|
157
|
+
};
|
|
158
|
+
var baselineBlockerCachePath = (workflow) => `.akan/workflows/baseline/${workflow}.json`;
|
|
159
|
+
var blockerFingerprint = (blocker) => [blocker.failureScope, blocker.code, blocker.command ?? "", blocker.kind ?? "", blocker.message].join("|");
|
|
160
|
+
var applyBaselineBlockerCache = async (workspace, report) => {
|
|
161
|
+
const cacheableBlockers = report.knownBlockers.filter((blocker) => blocker.failureScope === "workspace-config" || blocker.failureScope === "environment");
|
|
162
|
+
if (cacheableBlockers.length === 0)
|
|
163
|
+
return report;
|
|
164
|
+
const cachePath = baselineBlockerCachePath(report.workflow);
|
|
165
|
+
const cached = (await workspace.exists(cachePath) ? await workspace.readJson(cachePath) : null) ?? { schemaVersion: 1, workflow: report.workflow, blockers: [] };
|
|
166
|
+
const knownFingerprints = new Set(cached.blockers.map((blocker) => blocker.fingerprint));
|
|
167
|
+
const now = new Date().toISOString();
|
|
168
|
+
const blockers = new Map(cached.blockers.map((blocker) => [blocker.fingerprint, blocker]));
|
|
169
|
+
for (const blocker of cacheableBlockers) {
|
|
170
|
+
const fingerprint = blockerFingerprint(blocker);
|
|
171
|
+
blockers.set(fingerprint, {
|
|
172
|
+
fingerprint,
|
|
173
|
+
code: blocker.code,
|
|
174
|
+
message: blocker.message,
|
|
175
|
+
failureScope: blocker.failureScope,
|
|
176
|
+
command: blocker.command,
|
|
177
|
+
kind: blocker.kind,
|
|
178
|
+
lastSeenAt: now
|
|
179
|
+
});
|
|
180
|
+
}
|
|
181
|
+
await workspace.writeFile(cachePath, jsonText({ schemaVersion: 1, workflow: report.workflow, blockers: [...blockers.values()] }), { silent: true });
|
|
182
|
+
const knownBlockers = report.knownBlockers.map((blocker) => {
|
|
183
|
+
if (!knownFingerprints.has(blockerFingerprint(blocker)))
|
|
184
|
+
return blocker;
|
|
185
|
+
return {
|
|
186
|
+
...blocker,
|
|
187
|
+
known: true,
|
|
188
|
+
message: `Known baseline blocker, unrelated to this source change: ${blocker.message}`
|
|
189
|
+
};
|
|
190
|
+
});
|
|
191
|
+
return {
|
|
192
|
+
...report,
|
|
193
|
+
knownBlockers,
|
|
194
|
+
baselineSummary: {
|
|
195
|
+
...report.baselineSummary,
|
|
196
|
+
knownBlockerCount: knownBlockers.filter((blocker) => blocker.known).length
|
|
197
|
+
}
|
|
198
|
+
};
|
|
199
|
+
};
|
|
200
|
+
var withBaselineDetailsPolicy = (report, includeBaselineDetails) => {
|
|
201
|
+
const baselineDiagnostics = report.baselineDiagnostics ?? [];
|
|
202
|
+
return {
|
|
203
|
+
...report,
|
|
204
|
+
baselineSummary: createWorkflowBaselineSummary(baselineDiagnostics, {
|
|
205
|
+
detailsIncluded: includeBaselineDetails,
|
|
206
|
+
knownBlockerCount: report.knownBlockers.filter((blocker) => blocker.known).length
|
|
207
|
+
}),
|
|
208
|
+
baselineDiagnostics: includeBaselineDetails ? baselineDiagnostics : []
|
|
209
|
+
};
|
|
210
|
+
};
|
|
211
|
+
|
|
212
|
+
class WorkflowRunner extends runner("workflow") {
|
|
213
|
+
static stepRegistry(workspace) {
|
|
214
|
+
return createWorkflowStepRegistry({
|
|
215
|
+
workspace,
|
|
216
|
+
createModule: (sys, module) => CommandContainer.get(ModuleScript).createModuleTemplate(sys, module),
|
|
217
|
+
createScalar: (sys, scalar) => CommandContainer.get(ScalarScript).createScalar(sys, scalar),
|
|
218
|
+
createUi: (input) => CommandContainer.get(PrimitiveScript).createUi(workspace, input),
|
|
219
|
+
addField: (input) => CommandContainer.get(PrimitiveScript).addField(workspace, input),
|
|
220
|
+
addEnumField: (input) => CommandContainer.get(PrimitiveScript).addEnumField(workspace, input),
|
|
221
|
+
addMutation: (input) => CommandContainer.get(PrimitiveScript).addMutation(workspace, input),
|
|
222
|
+
addSlice: (input) => CommandContainer.get(PrimitiveScript).addSlice(workspace, input),
|
|
223
|
+
createInteraction: (input) => CommandContainer.get(PrimitiveScript).createInteraction(workspace, input)
|
|
224
|
+
});
|
|
225
|
+
}
|
|
226
|
+
list({ format = "markdown" } = {}) {
|
|
227
|
+
const workflows = listWorkflowSpecs(workflowSpecs);
|
|
228
|
+
if (format === "json")
|
|
229
|
+
return jsonText({
|
|
230
|
+
schemaVersion: 1,
|
|
231
|
+
workflows: workflows.map(({ name, description, whenToUse, replacesRules = [] }) => ({
|
|
232
|
+
name,
|
|
233
|
+
description,
|
|
234
|
+
whenToUse,
|
|
235
|
+
replacesRules
|
|
236
|
+
}))
|
|
237
|
+
});
|
|
238
|
+
return renderWorkflowList(workflows);
|
|
239
|
+
}
|
|
240
|
+
explain(workflow, { format = "markdown" } = {}) {
|
|
241
|
+
const spec = getWorkflowSpec(workflowSpecs, workflow);
|
|
242
|
+
if (!spec)
|
|
243
|
+
throw new Error(`Unknown workflow: ${workflow}. Run \`akan workflow list\` to see available workflows.`);
|
|
244
|
+
return format === "json" ? jsonText(spec) : renderWorkflowExplain(spec);
|
|
245
|
+
}
|
|
246
|
+
async plan(workflow, inputs, {
|
|
247
|
+
format = "markdown",
|
|
248
|
+
out = null,
|
|
249
|
+
workspace
|
|
250
|
+
} = {}) {
|
|
251
|
+
const spec = getWorkflowSpec(workflowSpecs, workflow);
|
|
252
|
+
if (!spec)
|
|
253
|
+
throw new Error(`Unknown workflow: ${workflow}. Run \`akan workflow list\` to see available workflows.`);
|
|
254
|
+
const plan = await inspectWorkflowPlan(workspace ?? WorkspaceExecutor.fromRoot(), createWorkflowPlan(spec, compactWorkflowInputs(inputs)));
|
|
255
|
+
if (out) {
|
|
256
|
+
const outPath = resolvePath(out);
|
|
257
|
+
await mkdir(path.dirname(outPath), { recursive: true });
|
|
258
|
+
await writeFile(outPath, jsonText(plan));
|
|
259
|
+
}
|
|
260
|
+
return format === "json" ? jsonText(plan) : renderWorkflowPlan(plan);
|
|
261
|
+
}
|
|
262
|
+
async apply(planPath, {
|
|
263
|
+
dryRun = false,
|
|
264
|
+
format = "markdown",
|
|
265
|
+
registry,
|
|
266
|
+
workspace
|
|
267
|
+
} = {}) {
|
|
268
|
+
const renderApplyReport = async (report) => {
|
|
269
|
+
if (!workspace)
|
|
270
|
+
return renderWorkflowApply(report, format);
|
|
271
|
+
const { artifact } = await writeWorkflowRunArtifact(workspace, report);
|
|
272
|
+
return renderWorkflowApply(artifact, format);
|
|
273
|
+
};
|
|
274
|
+
let plan;
|
|
275
|
+
try {
|
|
276
|
+
const parsed = await readJsonFile(planPath);
|
|
277
|
+
if (!isWorkflowPlan(parsed))
|
|
278
|
+
return await renderApplyReport(failedApplyReport("unknown", "workflow-plan-invalid", `Workflow plan file is invalid: ${planPath}.`));
|
|
279
|
+
plan = parsed;
|
|
280
|
+
} catch (error) {
|
|
281
|
+
const message = `Could not read workflow plan file: ${planPath}. ${error instanceof Error ? error.message : ""}`;
|
|
282
|
+
return await renderApplyReport(failedApplyReport("unknown", "workflow-plan-read-failed", message.trim()));
|
|
283
|
+
}
|
|
284
|
+
const spec = getWorkflowSpec(workflowSpecs, plan.workflow);
|
|
285
|
+
if (!spec) {
|
|
286
|
+
const message = `Unknown workflow in plan: ${plan.workflow}.`;
|
|
287
|
+
return await renderApplyReport(failedApplyReport(plan.workflow, "workflow-unknown", message, plan));
|
|
288
|
+
}
|
|
289
|
+
if (dryRun)
|
|
290
|
+
return await renderApplyReport(createDryRunWorkflowApplyReport(plan));
|
|
291
|
+
if (!registry) {
|
|
292
|
+
const message = "Workflow apply requires a step runner registry.";
|
|
293
|
+
return await renderApplyReport(failedApplyReport(plan.workflow, "workflow-registry-missing", message, plan));
|
|
294
|
+
}
|
|
295
|
+
return await renderApplyReport(await new WorkflowExecutor(registry, workspace).apply(plan));
|
|
296
|
+
}
|
|
297
|
+
async validate(runIdOrPlan, {
|
|
298
|
+
format = "markdown",
|
|
299
|
+
workspace,
|
|
300
|
+
execute,
|
|
301
|
+
includeBaselineDetails = false
|
|
302
|
+
}) {
|
|
303
|
+
const loaded = await this.loadValidationTarget(runIdOrPlan, workspace);
|
|
304
|
+
const doctor = await AkanContextAnalyzer.doctor(workspace, {
|
|
305
|
+
strict: true,
|
|
306
|
+
runIdOrPlan,
|
|
307
|
+
changedFiles: loaded.changedFiles
|
|
308
|
+
});
|
|
309
|
+
const report = withBaselineDetailsPolicy(await applyBaselineBlockerCache(workspace, await createWorkflowValidationRunReport({
|
|
310
|
+
workflow: loaded.plan?.workflow ?? loaded.workflow,
|
|
311
|
+
source: loaded.source,
|
|
312
|
+
plan: loaded.plan,
|
|
313
|
+
commands: loaded.commands,
|
|
314
|
+
execute: execute ?? defaultValidationExecutor(workspace),
|
|
315
|
+
diagnostics: loaded.diagnostics,
|
|
316
|
+
baselineDiagnostics: (doctor.baselineDiagnostics ?? []).map((diagnostic) => workflowDiagnosticFromDoctor(diagnostic, "baseline")),
|
|
317
|
+
workflowDiagnostics: (doctor.workflowDiagnostics ?? []).map((diagnostic) => workflowDiagnosticFromDoctor(diagnostic, "workflow")),
|
|
318
|
+
repairActions: loaded.repairActions
|
|
319
|
+
})), includeBaselineDetails);
|
|
320
|
+
await writeWorkflowRunArtifact(workspace, report);
|
|
321
|
+
return renderWorkflowValidation(report, format);
|
|
322
|
+
}
|
|
323
|
+
async report(runId, { format = "markdown", workspace }) {
|
|
324
|
+
try {
|
|
325
|
+
return renderWorkflowRunArtifact(await readWorkflowRunArtifact(workspace, runId), format);
|
|
326
|
+
} catch (error) {
|
|
327
|
+
const report = await createWorkflowValidationRunReport({
|
|
328
|
+
runId,
|
|
329
|
+
workflow: "unknown",
|
|
330
|
+
source: { type: "run-report", runId },
|
|
331
|
+
commands: [],
|
|
332
|
+
execute: async (command) => ({
|
|
333
|
+
command: command.command,
|
|
334
|
+
reason: command.reason,
|
|
335
|
+
status: "failed",
|
|
336
|
+
exitCode: 1
|
|
337
|
+
}),
|
|
338
|
+
diagnostics: [
|
|
339
|
+
{
|
|
340
|
+
severity: "error",
|
|
341
|
+
code: "workflow-run-read-failed",
|
|
342
|
+
message: `Could not read workflow run report: ${runId}. ${error instanceof Error ? error.message : ""}`.trim()
|
|
343
|
+
}
|
|
344
|
+
]
|
|
345
|
+
});
|
|
346
|
+
return renderWorkflowValidation(report, format);
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
async loadValidationTarget(runIdOrPlan, workspace) {
|
|
350
|
+
const unreadable = (code, message) => ({
|
|
351
|
+
workflow: "unknown",
|
|
352
|
+
source: { type: "run-report", runId: runIdOrPlan },
|
|
353
|
+
plan: undefined,
|
|
354
|
+
commands: [],
|
|
355
|
+
diagnostics: [{ severity: "error", code, message }],
|
|
356
|
+
changedFiles: [],
|
|
357
|
+
repairActions: []
|
|
358
|
+
});
|
|
359
|
+
const loadFromArtifact = (artifact, sourcePath) => {
|
|
360
|
+
if (isWorkflowApplyReport(artifact)) {
|
|
361
|
+
return {
|
|
362
|
+
workflow: artifact.workflow,
|
|
363
|
+
source: { type: "apply-report", path: sourcePath, runId: artifact.runId },
|
|
364
|
+
plan: artifact.plan,
|
|
365
|
+
commands: artifact.recommendedValidationCommands.length ? artifact.recommendedValidationCommands : workflowCommandsForPlan(artifact.plan),
|
|
366
|
+
diagnostics: artifact.diagnostics,
|
|
367
|
+
changedFiles: artifact.changedFiles.map((file) => file.path),
|
|
368
|
+
repairActions: []
|
|
369
|
+
};
|
|
370
|
+
}
|
|
371
|
+
if ("mode" in artifact && artifact.mode === "validate") {
|
|
372
|
+
return {
|
|
373
|
+
workflow: artifact.workflow,
|
|
374
|
+
source: { type: "run-report", runId: artifact.runId },
|
|
375
|
+
plan: artifact.plan,
|
|
376
|
+
commands: artifact.plan ? workflowCommandsForPlan(artifact.plan) : [],
|
|
377
|
+
diagnostics: artifact.diagnostics,
|
|
378
|
+
changedFiles: [],
|
|
379
|
+
repairActions: artifact.repairActions
|
|
380
|
+
};
|
|
381
|
+
}
|
|
382
|
+
return unreadable("workflow-validation-source-unsupported", `Workflow validation source is not supported: ${runIdOrPlan}.`);
|
|
383
|
+
};
|
|
384
|
+
try {
|
|
385
|
+
const parsed = await readJsonFile(runIdOrPlan);
|
|
386
|
+
if (isWorkflowPlan(parsed)) {
|
|
387
|
+
return {
|
|
388
|
+
workflow: parsed.workflow,
|
|
389
|
+
source: { type: "plan", path: resolvePath(runIdOrPlan) },
|
|
390
|
+
plan: parsed,
|
|
391
|
+
commands: workflowCommandsForPlan(parsed),
|
|
392
|
+
diagnostics: parsed.diagnostics,
|
|
393
|
+
changedFiles: workflowPathsForPlan(parsed),
|
|
394
|
+
repairActions: []
|
|
395
|
+
};
|
|
396
|
+
}
|
|
397
|
+
if (isWorkflowRunArtifact(parsed))
|
|
398
|
+
return loadFromArtifact(parsed, resolvePath(runIdOrPlan));
|
|
399
|
+
} catch {}
|
|
400
|
+
try {
|
|
401
|
+
const artifact = await readWorkflowRunArtifact(workspace, runIdOrPlan);
|
|
402
|
+
return loadFromArtifact(artifact, runIdOrPlan);
|
|
403
|
+
} catch (error) {
|
|
404
|
+
const message = `Could not read workflow validation source: ${runIdOrPlan}. ${error instanceof Error ? error.message : ""}`;
|
|
405
|
+
return unreadable("workflow-validation-source-read-failed", message.trim());
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
export { WorkflowRunner };
|
package/index.js
CHANGED
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
getTargetMetas,
|
|
5
5
|
getTargetCommandNames,
|
|
6
6
|
runCommands
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-eja64h28.js";
|
|
8
8
|
import"./index-52w0fvh8.js";
|
|
9
|
-
import"./index-
|
|
9
|
+
import"./index-8scw1pjk.js";
|
|
10
10
|
|
|
11
11
|
// pkgs/@akanjs/cli/bunVersionGuard.ts
|
|
12
12
|
class BunVersionGuard {
|
|
@@ -22,26 +22,27 @@ import path from "path";
|
|
|
22
22
|
|
|
23
23
|
// pkgs/@akanjs/cli/commandModules.ts
|
|
24
24
|
var commandModules = {
|
|
25
|
-
workspace: async () => (await import("./workspace.command-
|
|
26
|
-
agent: async () => (await import("./agent.command-
|
|
27
|
-
code: async () => (await import("./code.command-
|
|
28
|
-
application: async () => (await import("./application.command-
|
|
29
|
-
library: async () => (await import("./library.command-
|
|
30
|
-
localRegistry: async () => (await import("./localRegistry.command-
|
|
31
|
-
package: async () => (await import("./package.command-
|
|
32
|
-
module: async () => (await import("./module.command-
|
|
33
|
-
page: async () => (await import("./page.command-
|
|
34
|
-
context: async () => (await import("./context.command-
|
|
35
|
-
cloud: async () => (await import("./cloud.command-
|
|
36
|
-
subspace: async () => (await import("./subspace.command-
|
|
37
|
-
guideline: async () => (await import("./guideline.command-
|
|
38
|
-
scalar: async () => (await import("./scalar.command-
|
|
39
|
-
primitive: async () => (await import("./primitive.command-
|
|
40
|
-
quality: async () => (await import("./quality.command-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
25
|
+
workspace: async () => (await import("./workspace.command-t2f0xsrw.js")).WorkspaceCommand,
|
|
26
|
+
agent: async () => (await import("./agent.command-3r4jsck8.js")).AgentCommand,
|
|
27
|
+
code: async () => (await import("./code.command-mpkm2emr.js")).CodeCommand,
|
|
28
|
+
application: async () => (await import("./application.command-g7xv6ad0.js")).ApplicationCommand,
|
|
29
|
+
library: async () => (await import("./library.command-2853y6mk.js")).LibraryCommand,
|
|
30
|
+
localRegistry: async () => (await import("./localRegistry.command-76ds31p4.js")).LocalRegistryCommand,
|
|
31
|
+
package: async () => (await import("./package.command-d9s86hp9.js")).PackageCommand,
|
|
32
|
+
module: async () => (await import("./module.command-yfnb0abs.js")).ModuleCommand,
|
|
33
|
+
page: async () => (await import("./page.command-6a8a8rd1.js")).PageCommand,
|
|
34
|
+
context: async () => (await import("./context.command-svdh6b2w.js")).ContextCommand,
|
|
35
|
+
cloud: async () => (await import("./cloud.command-6ebygmhw.js")).CloudCommand,
|
|
36
|
+
subspace: async () => (await import("./subspace.command-pn56pnh8.js")).SubspaceCommand,
|
|
37
|
+
guideline: async () => (await import("./guideline.command-qwp3tnjx.js")).GuidelineCommand,
|
|
38
|
+
scalar: async () => (await import("./scalar.command-8qv27t82.js")).ScalarCommand,
|
|
39
|
+
primitive: async () => (await import("./primitive.command-emcebgrq.js")).PrimitiveCommand,
|
|
40
|
+
quality: async () => (await import("./quality.command-xtrk0n3x.js")).QualityCommand,
|
|
41
|
+
verify: async () => (await import("./verify.command-z1dsbmrt.js")).VerifyCommand,
|
|
42
|
+
repair: async () => (await import("./repair.command-51szxnxx.js")).RepairCommand,
|
|
43
|
+
workflow: async () => (await import("./workflow.command-r3y67jeq.js")).WorkflowCommand,
|
|
44
|
+
pipeline: async () => (await import("./pipeline.command-rt3rwd2z.js")).PipelineCommand,
|
|
45
|
+
tunnel: async () => (await import("./tunnel.command-q2h0j2en.js")).TunnelCommand
|
|
45
46
|
};
|
|
46
47
|
var commandModuleIds = Object.keys(commandModules);
|
|
47
48
|
|
|
@@ -3,12 +3,12 @@ import {
|
|
|
3
3
|
Lib,
|
|
4
4
|
Workspace,
|
|
5
5
|
command
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-eja64h28.js";
|
|
7
7
|
import"./index-52w0fvh8.js";
|
|
8
|
-
import"./index-
|
|
8
|
+
import"./index-8scw1pjk.js";
|
|
9
9
|
import {
|
|
10
10
|
LibraryScript
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-xq543a5y.js";
|
|
12
12
|
|
|
13
13
|
// pkgs/@akanjs/cli/library/library.command.ts
|
|
14
14
|
class LibraryCommand extends command("library", [LibraryScript], ({ public: target }) => ({
|
|
@@ -4,32 +4,36 @@ import {
|
|
|
4
4
|
runner,
|
|
5
5
|
script,
|
|
6
6
|
command
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-eja64h28.js";
|
|
8
8
|
import"./index-52w0fvh8.js";
|
|
9
9
|
import {
|
|
10
10
|
PkgExecutor
|
|
11
|
-
} from "./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
11
|
+
} from "./index-8scw1pjk.js";
|
|
12
|
+
import"./index-p6x5b7hr.js";
|
|
13
|
+
import"./index-3yz30c07.js";
|
|
14
|
+
import"./index-w7q6h97v.js";
|
|
15
15
|
import"./index-m9jj544v.js";
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
16
|
+
import"./index-1shvxzt0.js";
|
|
17
|
+
import"./index-xqgwjz7a.js";
|
|
18
|
+
import"./index-xq543a5y.js";
|
|
19
|
+
import"./index-s6da8ta9.js";
|
|
19
20
|
import {
|
|
20
21
|
ApplicationScript
|
|
21
|
-
} from "./index-
|
|
22
|
-
import"./index-
|
|
23
|
-
import"./index-
|
|
22
|
+
} from "./index-4pdts00b.js";
|
|
23
|
+
import"./index-tenw3mah.js";
|
|
24
|
+
import"./index-qkkdhjm6.js";
|
|
24
25
|
import {
|
|
25
|
-
getNpmRegistryUrl,
|
|
26
26
|
CloudRunner
|
|
27
|
-
} from "./index-
|
|
27
|
+
} from "./index-payhwt51.js";
|
|
28
28
|
import"./index-tvehn2sp.js";
|
|
29
29
|
import {
|
|
30
30
|
PackageScript
|
|
31
|
-
} from "./index-
|
|
32
|
-
import
|
|
31
|
+
} from "./index-8559hsz4.js";
|
|
32
|
+
import {
|
|
33
|
+
getNpmRegistryUrl
|
|
34
|
+
} from "./index-m5n3ka0p.js";
|
|
35
|
+
import"./index-1p0qbq3m.js";
|
|
36
|
+
import"./index-9bv479q5.js";
|
|
33
37
|
|
|
34
38
|
// pkgs/@akanjs/cli/localRegistry/localRegistry.runner.ts
|
|
35
39
|
import { mkdir, rm } from "fs/promises";
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
Sys,
|
|
4
4
|
Module,
|
|
5
5
|
command
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-eja64h28.js";
|
|
7
7
|
import"./index-52w0fvh8.js";
|
|
8
|
-
import"./index-
|
|
8
|
+
import"./index-8scw1pjk.js";
|
|
9
9
|
import {
|
|
10
10
|
renderPrimitiveReport
|
|
11
|
-
} from "./index-
|
|
12
|
-
import"./index-
|
|
11
|
+
} from "./index-4mj92tsh.js";
|
|
12
|
+
import"./index-z4b84y6k.js";
|
|
13
13
|
import {
|
|
14
14
|
ModuleScript
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-r2w2eh93.js";
|
|
16
16
|
|
|
17
17
|
// pkgs/@akanjs/cli/module/module.command.ts
|
|
18
18
|
import { Logger, lowerlize } from "akanjs/common";
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
Pkg,
|
|
4
4
|
Workspace,
|
|
5
5
|
command
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-eja64h28.js";
|
|
7
7
|
import"./index-52w0fvh8.js";
|
|
8
|
-
import"./index-
|
|
8
|
+
import"./index-8scw1pjk.js";
|
|
9
9
|
import"./index-tvehn2sp.js";
|
|
10
10
|
import {
|
|
11
11
|
PackageScript
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-8559hsz4.js";
|
|
13
13
|
|
|
14
14
|
// pkgs/@akanjs/cli/package/package.command.ts
|
|
15
15
|
class PackageCommand extends command("package", [PackageScript], ({ public: target }) => ({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akanjs/cli",
|
|
3
|
-
"version": "3.1.1
|
|
3
|
+
"version": "3.1.1",
|
|
4
4
|
"sourceType": "module",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@earendil-works/pi-tui": "1.3.0",
|
|
40
40
|
"@inquirer/prompts": "^8.7.3",
|
|
41
41
|
"@tailwindcss/node": "^4.3.3",
|
|
42
|
-
"akanjs": "3.1.1
|
|
42
|
+
"akanjs": "3.1.1",
|
|
43
43
|
"chalk": "^6.0.1",
|
|
44
44
|
"commander": "^15.0.0",
|
|
45
45
|
"dayjs": "^1.11.23",
|
|
@@ -3,12 +3,12 @@ import {
|
|
|
3
3
|
App,
|
|
4
4
|
Module,
|
|
5
5
|
command
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-eja64h28.js";
|
|
7
7
|
import"./index-52w0fvh8.js";
|
|
8
|
-
import"./index-
|
|
8
|
+
import"./index-8scw1pjk.js";
|
|
9
9
|
import {
|
|
10
10
|
PageScript
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-z4b84y6k.js";
|
|
12
12
|
|
|
13
13
|
// pkgs/@akanjs/cli/page/page.command.ts
|
|
14
14
|
class PageCommand extends command("page", [PageScript], ({ public: target }) => ({
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
runner,
|
|
5
5
|
script,
|
|
6
6
|
command
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-eja64h28.js";
|
|
8
8
|
import {
|
|
9
9
|
FileSys2
|
|
10
10
|
} from "./index-52w0fvh8.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
AkanAppConfig,
|
|
13
13
|
AkanWorkspaceConfig,
|
|
14
14
|
AppExecutor
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-8scw1pjk.js";
|
|
16
16
|
import {
|
|
17
17
|
resolveMobileTargets
|
|
18
18
|
} from "./index-m9jj544v.js";
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Workspace,
|
|
4
4
|
command
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-eja64h28.js";
|
|
6
6
|
import"./index-52w0fvh8.js";
|
|
7
|
-
import"./index-
|
|
7
|
+
import"./index-8scw1pjk.js";
|
|
8
8
|
import {
|
|
9
9
|
renderPrimitiveReport
|
|
10
|
-
} from "./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
10
|
+
} from "./index-4mj92tsh.js";
|
|
11
|
+
import"./index-z4b84y6k.js";
|
|
12
|
+
import"./index-r2w2eh93.js";
|
|
13
13
|
import {
|
|
14
14
|
PrimitiveScript
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-qxzrp5xt.js";
|
|
16
16
|
|
|
17
17
|
// pkgs/@akanjs/cli/primitive/primitive.command.ts
|
|
18
18
|
import { Logger } from "akanjs/common";
|