@akanjs/cli 3.1.0-rc.26 → 3.1.0-rc.27
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-qrhqfc5s.js → CodeAgent-c53dm40p.js} +2 -2
- package/{CodeTui-k2c7wzhf.js → CodeTui-xz9jtrn3.js} +1 -1
- package/TunnelShare-59zd4j8n.js +14 -0
- package/{agent.command-8sma9jnd.js → agent.command-qawf7z4s.js} +5 -5
- package/akanCode.js +2 -2
- package/{application.command-v7xbe18e.js → application.command-jqrgqk6j.js} +9 -9
- package/{applicationBuildRunner-qaxt8try.js → applicationBuildRunner-grgrey5c.js} +7 -6
- package/buildBatch.proc.js +5 -5
- package/{cloud.command-gxspyqpr.js → cloud.command-p9067ssj.js} +13 -13
- package/cloud.script-f0r4ce7j.js +24 -0
- package/{code.command-ds7sr16b.js → code.command-t6j55sbk.js} +6 -6
- package/{context.command-ytr0n79h.js → context.command-eqbzbgth.js} +16 -16
- package/context.runner-1cs88ags.js +25 -0
- package/{guideline.command-6tnmtn4w.js → guideline.command-w905q73w.js} +2 -2
- package/guidelines/conventions/conventions.instruction.md +15 -11
- package/guidelines/modelDocument/modelDocument.instruction.md +2 -1
- package/guidelines/queryRule/queryRule.instruction.md +9 -7
- package/guidelines/runtimeRule/runtimeRule.instruction.md +4 -3
- package/guidelines/ssrRule/ssrRule.instruction.md +9 -9
- package/guidelines/transportRule/transportRule.instruction.md +5 -5
- package/guidelines/workspaceOnboarding/workspaceOnboarding.instruction.md +5 -3
- package/guidelines/workspaceRecipes/workspaceRecipes.instruction.md +6 -4
- package/incrementalBuilder.proc.js +3 -3
- package/{index-cj3md29d.js → index-0dd6z4b9.js} +3 -3
- package/{index-mt611jnw.js → index-1de5f0qq.js} +7 -7
- package/{index-zjfz6rvx.js → index-1enc9rga.js} +2 -2
- package/{index-c090a8wn.js → index-25ks6x4k.js} +2 -2
- package/{index-32hkenqb.js → index-3aynkpf8.js} +1 -1
- package/{index-6a64svwc.js → index-3hvmytbs.js} +1 -1
- package/{index-3xm8hm4f.js → index-45c0mxb6.js} +2 -2
- package/{index-mzenhe26.js → index-48n4yhm4.js} +3 -3
- package/{index-5q6tyqv5.js → index-64pjry21.js} +1 -1
- package/{index-0jxja6c2.js → index-aqwdjn4x.js} +2 -2
- package/{index-q3kddxxd.js → index-avjqbtkj.js} +3 -3
- package/{index-s2g91tgy.js → index-bs9yr4we.js} +1 -1
- package/{index-bm5ed553.js → index-cgexcnwd.js} +8 -8
- package/{index-vt87d6kx.js → index-dkfadmrx.js} +7 -7
- package/{index-gzjpj0sw.js → index-eabfsarf.js} +1 -1
- package/{index-hgeq1wpr.js → index-er62k6w3.js} +35 -9
- package/{index-d5kf5rct.js → index-f2gfq0yh.js} +2 -2
- package/{index-k8zer3t3.js → index-fbw3kmt5.js} +2 -2
- package/{index-tq0mjh8w.js → index-fnqj2d2w.js} +4 -4
- package/{index-arwtza6k.js → index-hqh4mpgt.js} +4 -4
- package/{index-khefnpqw.js → index-j4dzazmw.js} +4 -4
- package/{index-hzsmeevh.js → index-n8dsax1f.js} +10 -5
- package/{index-k1s1ps6r.js → index-nr8m4j21.js} +3 -3
- package/{index-60gryg73.js → index-qh73jnyb.js} +1 -1
- package/{index-37gfh3nw.js → index-vtj332gj.js} +36 -13
- package/{index-pkg6bhgc.js → index-wt7m1hfc.js} +3 -3
- package/{index-9f2bkqpf.js → index-yfy3t4kw.js} +2 -2
- package/{index-6tkzmfze.js → index-yyxy7aff.js} +1 -1
- package/{index-1g5atn4s.js → index-z5cxrbvv.js} +13 -10
- package/index.js +40 -22
- package/{library.command-d29mkrn1.js → library.command-z1v7zepj.js} +3 -3
- package/{localRegistry.command-e1d1sm2q.js → localRegistry.command-48n23bjy.js} +12 -12
- package/{module.command-7kgfp688.js → module.command-rv307dk7.js} +5 -5
- package/{package.command-9r2215cr.js → package.command-7xkzc8m1.js} +3 -3
- package/package.json +2 -2
- package/{page.command-2jhwcye7.js → page.command-34hpdt7v.js} +3 -3
- package/{pipeline.command-gcbxwwng.js → pipeline.command-ckvhrpyg.js} +2 -2
- package/{primitive.command-dzjh98t1.js → primitive.command-em0twr5a.js} +6 -6
- package/{projectTypecheck-wkbzjpry.js → projectTypecheck-fy6hn05y.js} +1 -1
- package/{quality.command-3yg6gt8j.js → quality.command-c6p2819k.js} +2 -2
- package/{repair.command-d1gm1hqc.js → repair.command-j6czdgrv.js} +5 -5
- package/{scalar.command-ntd52q4x.js → scalar.command-17e20sj2.js} +4 -4
- package/skills/akan-store/SKILL.md +2 -1
- package/{subspace.command-w7540907.js → subspace.command-n3j7vv0w.js} +8 -17
- package/{tunnel.command-61gd7btn.js → tunnel.command-cm578f4s.js} +7 -7
- package/{workflow.command-fykqj11r.js → workflow.command-h9vkr6jb.js} +10 -10
- package/{workspace.command-fabmw1hc.js → workspace.command-tp8ysvjs.js} +29 -27
- package/TunnelShare-necyr77h.js +0 -14
- package/cloud.script-0trnvgbv.js +0 -24
- package/context.runner-cjkadr7r.js +0 -25
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
runner,
|
|
6
6
|
script,
|
|
7
7
|
command
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-fbw3kmt5.js";
|
|
9
9
|
import {
|
|
10
10
|
FileSys2
|
|
11
11
|
} from "./index-52w0fvh8.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
AppExecutor,
|
|
20
20
|
LibExecutor,
|
|
21
21
|
PkgExecutor
|
|
22
|
-
} from "./index-
|
|
22
|
+
} from "./index-n8dsax1f.js";
|
|
23
23
|
import {
|
|
24
24
|
countBlocking,
|
|
25
25
|
formatStyleContract,
|
|
@@ -29,48 +29,48 @@ import {
|
|
|
29
29
|
collectRecipeSources2,
|
|
30
30
|
scanRecipes2
|
|
31
31
|
} from "./index-hj6w4ka1.js";
|
|
32
|
-
import"./index-
|
|
33
|
-
import"./index-
|
|
32
|
+
import"./index-yyxy7aff.js";
|
|
33
|
+
import"./index-aqwdjn4x.js";
|
|
34
34
|
import"./index-zzvvc845.js";
|
|
35
35
|
import {
|
|
36
36
|
AgentScript
|
|
37
|
-
} from "./index-
|
|
37
|
+
} from "./index-wt7m1hfc.js";
|
|
38
38
|
import"./index-5nd1wtkv.js";
|
|
39
|
-
import"./index-
|
|
39
|
+
import"./index-3hvmytbs.js";
|
|
40
40
|
import"./index-m9jj544v.js";
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
43
|
-
import"./index-
|
|
41
|
+
import"./index-nr8m4j21.js";
|
|
42
|
+
import"./index-25ks6x4k.js";
|
|
43
|
+
import"./index-64pjry21.js";
|
|
44
44
|
import {
|
|
45
45
|
LibraryScript
|
|
46
|
-
} from "./index-
|
|
46
|
+
} from "./index-er62k6w3.js";
|
|
47
47
|
import {
|
|
48
48
|
ApplicationScript
|
|
49
|
-
} from "./index-
|
|
49
|
+
} from "./index-z5cxrbvv.js";
|
|
50
50
|
import"./index-7md2g9vw.js";
|
|
51
|
-
import"./index-
|
|
51
|
+
import"./index-yfy3t4kw.js";
|
|
52
52
|
import"./index-tvehn2sp.js";
|
|
53
53
|
import {
|
|
54
54
|
PackageScript
|
|
55
|
-
} from "./index-
|
|
55
|
+
} from "./index-1enc9rga.js";
|
|
56
56
|
import {
|
|
57
57
|
getNpmRegistryUrl,
|
|
58
58
|
getLatestPackageVersion
|
|
59
|
-
} from "./index-
|
|
59
|
+
} from "./index-48n4yhm4.js";
|
|
60
60
|
import {
|
|
61
61
|
CloudScript2
|
|
62
|
-
} from "./index-
|
|
63
|
-
import"./index-
|
|
64
|
-
import"./index-
|
|
65
|
-
import"./index-
|
|
66
|
-
import"./index-
|
|
67
|
-
import"./index-
|
|
68
|
-
import"./index-
|
|
69
|
-
import"./index-
|
|
62
|
+
} from "./index-1de5f0qq.js";
|
|
63
|
+
import"./index-cgexcnwd.js";
|
|
64
|
+
import"./index-0dd6z4b9.js";
|
|
65
|
+
import"./index-qh73jnyb.js";
|
|
66
|
+
import"./index-j4dzazmw.js";
|
|
67
|
+
import"./index-hqh4mpgt.js";
|
|
68
|
+
import"./index-f2gfq0yh.js";
|
|
69
|
+
import"./index-dkfadmrx.js";
|
|
70
70
|
import {
|
|
71
71
|
ContextScript
|
|
72
|
-
} from "./index-
|
|
73
|
-
import"./index-
|
|
72
|
+
} from "./index-fnqj2d2w.js";
|
|
73
|
+
import"./index-eabfsarf.js";
|
|
74
74
|
|
|
75
75
|
// pkgs/@akanjs/cli/workspace/workspace.runner.ts
|
|
76
76
|
import { mkdir, writeFile } from "fs/promises";
|
|
@@ -96,6 +96,7 @@ var defaultWorkspacePeerDependencies = new Set([
|
|
|
96
96
|
"tailwindcss",
|
|
97
97
|
"typescript"
|
|
98
98
|
]);
|
|
99
|
+
var defaultWorkspaceTypeDependencies = { "@types/react": "^19.3.0", "@types/react-dom": "^19.3.0" };
|
|
99
100
|
var defaultMaxDiagnostics = 200;
|
|
100
101
|
|
|
101
102
|
class WorkspaceRunner extends runner("workspace") {
|
|
@@ -163,6 +164,7 @@ class WorkspaceRunner extends runner("workspace") {
|
|
|
163
164
|
...rootPackageJson.devDependencies,
|
|
164
165
|
"@biomejs/biome": biomeVersion,
|
|
165
166
|
"@types/bun": latestTypesBunVersion,
|
|
167
|
+
...defaultWorkspaceTypeDependencies,
|
|
166
168
|
"@akanjs/devkit": akanVersion,
|
|
167
169
|
...typescript ? { typescript } : {}
|
|
168
170
|
}
|
|
@@ -256,7 +258,7 @@ class WorkspaceRunner extends runner("workspace") {
|
|
|
256
258
|
const actual = existing ? extractAgentBlock(existing) : null;
|
|
257
259
|
if (actual === expected.trim())
|
|
258
260
|
return;
|
|
259
|
-
throw new Error(`[agentsIndex] ${scope.type}s/${scope.name}/AGENTS.md
|
|
261
|
+
throw new Error(`[agentsIndex] The recipe index in ${scope.type}s/${scope.name}/AGENTS.md is stale: it differs from the recipe ` + `sources. Run \`akan sync ${scope.name}\` to regenerate it.`);
|
|
260
262
|
}
|
|
261
263
|
async#enforceRecipeGate(exec) {
|
|
262
264
|
const cwdPath = exec.cwdPath;
|
|
@@ -272,8 +274,8 @@ class WorkspaceRunner extends runner("workspace") {
|
|
|
272
274
|
const offenders = scanRecipes2(sources).filter((recipe) => !Object.values(recipe.variants).some((values) => values.length >= 2 || values.length === 1 && values[0] === "true"));
|
|
273
275
|
if (offenders.length === 0)
|
|
274
276
|
return;
|
|
275
|
-
throw new Error(`[recipeGate] variant-less recipe(s): ${offenders.map((recipe) => recipe.name).join(", ")}
|
|
276
|
-
` + "
|
|
277
|
+
throw new Error(`[recipeGate] variant-less recipe(s): ${[...new Set(offenders.map((recipe) => recipe.name))].join(", ")}
|
|
278
|
+
` + "A look with nothing to pick is not a recipe: promote one that has its own markup to a component, and keep " + "a skin passed into another component's className as a shared class constant.");
|
|
277
279
|
}
|
|
278
280
|
async#enforceStyleContract(exec) {
|
|
279
281
|
const cwdPath = exec.cwdPath;
|
package/TunnelShare-necyr77h.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import {
|
|
3
|
-
TunnelShare2
|
|
4
|
-
} from "./index-32hkenqb.js";
|
|
5
|
-
import"./index-9f2bkqpf.js";
|
|
6
|
-
import"./index-k1s1ps6r.js";
|
|
7
|
-
import"./index-m9jj544v.js";
|
|
8
|
-
import"./index-c090a8wn.js";
|
|
9
|
-
import"./index-5q6tyqv5.js";
|
|
10
|
-
import"./index-hzsmeevh.js";
|
|
11
|
-
import"./index-52w0fvh8.js";
|
|
12
|
-
export {
|
|
13
|
-
TunnelShare2 as TunnelShare
|
|
14
|
-
};
|
package/cloud.script-0trnvgbv.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import {
|
|
3
|
-
CloudScript2
|
|
4
|
-
} from "./index-mt611jnw.js";
|
|
5
|
-
import"./index-mzenhe26.js";
|
|
6
|
-
import"./index-1g5atn4s.js";
|
|
7
|
-
import"./index-gzjpj0sw.js";
|
|
8
|
-
import"./index-hgeq1wpr.js";
|
|
9
|
-
import"./index-zjfz6rvx.js";
|
|
10
|
-
import"./index-6a64svwc.js";
|
|
11
|
-
import"./index-9f2bkqpf.js";
|
|
12
|
-
import"./index-k1s1ps6r.js";
|
|
13
|
-
import"./index-m9jj544v.js";
|
|
14
|
-
import"./index-k8zer3t3.js";
|
|
15
|
-
import"./index-7md2g9vw.js";
|
|
16
|
-
import"./index-c090a8wn.js";
|
|
17
|
-
import"./index-5nd1wtkv.js";
|
|
18
|
-
import"./index-5q6tyqv5.js";
|
|
19
|
-
import"./index-hzsmeevh.js";
|
|
20
|
-
import"./index-tvehn2sp.js";
|
|
21
|
-
import"./index-52w0fvh8.js";
|
|
22
|
-
export {
|
|
23
|
-
CloudScript2 as CloudScript
|
|
24
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import {
|
|
3
|
-
ContextRunner2
|
|
4
|
-
} from "./index-bm5ed553.js";
|
|
5
|
-
import"./index-vt87d6kx.js";
|
|
6
|
-
import"./index-d5kf5rct.js";
|
|
7
|
-
import"./index-arwtza6k.js";
|
|
8
|
-
import"./index-cj3md29d.js";
|
|
9
|
-
import"./index-khefnpqw.js";
|
|
10
|
-
import"./index-60gryg73.js";
|
|
11
|
-
import"./index-6a64svwc.js";
|
|
12
|
-
import"./index-k1s1ps6r.js";
|
|
13
|
-
import"./index-m9jj544v.js";
|
|
14
|
-
import"./index-0jxja6c2.js";
|
|
15
|
-
import"./index-6tkzmfze.js";
|
|
16
|
-
import"./index-zzvvc845.js";
|
|
17
|
-
import"./index-k8zer3t3.js";
|
|
18
|
-
import"./index-c090a8wn.js";
|
|
19
|
-
import"./index-5q6tyqv5.js";
|
|
20
|
-
import"./index-hzsmeevh.js";
|
|
21
|
-
import"./index-hj6w4ka1.js";
|
|
22
|
-
import"./index-52w0fvh8.js";
|
|
23
|
-
export {
|
|
24
|
-
ContextRunner2 as ContextRunner
|
|
25
|
-
};
|