@akanjs/cli 3.0.0-alpha.14 → 3.0.0-alpha.16

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.
Files changed (44) hide show
  1. package/.build-stamp +1 -1
  2. package/{agent.command-zxaxy577.js → agent.command-h6tc0pzh.js} +5 -5
  3. package/{application.command-an05acvc.js → application.command-kphnfwyg.js} +4 -4
  4. package/buildBatch.proc.js +1 -1
  5. package/{capacitorApp-5q8ytkqw.js → capacitorApp-9ejk3k7q.js} +2 -2
  6. package/{cloud.command-yfd3pwr1.js → cloud.command-zn6mfscb.js} +7 -7
  7. package/{context.command-03b3jgab.js → context.command-pkbccyys.js} +12 -12
  8. package/{guideline.command-5qnjcgmk.js → guideline.command-0jj2k77g.js} +2 -2
  9. package/guidelines/conventions/conventions.instruction.md +39 -38
  10. package/guidelines/workspaceOnboarding/workspaceOnboarding.instruction.md +1 -3
  11. package/incrementalBuilder.proc.js +1 -1
  12. package/{index-3tqjdv03.js → index-1twehz1x.js} +23 -3
  13. package/{index-37mwgmp7.js → index-4agbdds8.js} +3 -3
  14. package/{index-jwvs48kc.js → index-4v0wvt37.js} +4 -4
  15. package/{index-xv5jv1fe.js → index-7ecpft60.js} +6 -3
  16. package/{index-6xh65612.js → index-8d9r0df5.js} +2 -2
  17. package/{index-hz5x5zdp.js → index-96vpa123.js} +3 -3
  18. package/{index-nz9ceqgp.js → index-9s991k9v.js} +1 -1
  19. package/{index-nmfen65g.js → index-aak9cctp.js} +4 -4
  20. package/{index-0hk3frny.js → index-b9m84bjp.js} +10 -10
  21. package/{index-9p2edf9w.js → index-bkwnr08k.js} +1 -1
  22. package/{index-znxjcx1p.js → index-djh5gpb7.js} +2 -2
  23. package/{index-pgs252a3.js → index-g3brq942.js} +5 -5
  24. package/{index-tk2e3m3y.js → index-gyvrhtpm.js} +1 -1
  25. package/{index-pdj7r8fa.js → index-gz91pc3p.js} +1 -1
  26. package/{index-nkzfkq0j.js → index-p42te6qb.js} +3 -3
  27. package/{index-v2r1wrzb.js → index-rv16ck4r.js} +4 -4
  28. package/{index-w7jphpt6.js → index-w7farjxd.js} +3 -3
  29. package/{index-9jwc3ew8.js → index-xwfkgss0.js} +2 -2
  30. package/index.js +18 -18
  31. package/{library.command-befyckb7.js → library.command-wbptp6q3.js} +3 -3
  32. package/{localRegistry.command-fkd3xw99.js → localRegistry.command-6ea3pgq0.js} +6 -6
  33. package/{module.command-xzjbbas7.js → module.command-ghkf919z.js} +5 -5
  34. package/{package.command-9xk8ye7a.js → package.command-ph2m34tv.js} +3 -3
  35. package/package.json +2 -2
  36. package/{page.command-4g2xszh7.js → page.command-atnzfn88.js} +3 -3
  37. package/{primitive.command-ffwn141j.js → primitive.command-7qbdhfc2.js} +6 -6
  38. package/{quality.command-8e6bhm55.js → quality.command-51q9kmhj.js} +90 -361
  39. package/{repair.command-w3tjhr9r.js → repair.command-weakn0yr.js} +5 -5
  40. package/{scalar.command-kj121mby.js → scalar.command-xdjhvsgb.js} +4 -4
  41. package/templates/appSample/srvkit/AuthGuard.ts +2 -2
  42. package/templates/workspaceRoot/CLAUDE.md.template +19 -0
  43. package/{workflow.command-mnkm1bwa.js → workflow.command-msm2tjee.js} +9 -9
  44. package/{workspace.command-waxe7ts7.js → workspace.command-gr8z82z9.js} +18 -18
@@ -1,15 +1,15 @@
1
1
  // @bun
2
2
  import {
3
3
  RepairRunner
4
- } from "./index-37mwgmp7.js";
5
- import"./index-znxjcx1p.js";
6
- import"./index-nz9ceqgp.js";
4
+ } from "./index-4agbdds8.js";
5
+ import"./index-djh5gpb7.js";
6
+ import"./index-9s991k9v.js";
7
7
  import {
8
8
  Workspace,
9
9
  command,
10
10
  script
11
- } from "./index-9p2edf9w.js";
12
- import"./index-3tqjdv03.js";
11
+ } from "./index-bkwnr08k.js";
12
+ import"./index-1twehz1x.js";
13
13
  import"./index-mxvakhsm.js";
14
14
  import"./index-xys926f2.js";
15
15
  import"./index-1577bej2.js";
@@ -1,18 +1,18 @@
1
1
  // @bun
2
2
  import {
3
3
  ScalarScript
4
- } from "./index-6xh65612.js";
4
+ } from "./index-8d9r0df5.js";
5
5
  import"./index-ss469dec.js";
6
6
  import"./index-0cj2zxbm.js";
7
7
  import {
8
8
  renderPrimitiveReport
9
- } from "./index-nz9ceqgp.js";
9
+ } from "./index-9s991k9v.js";
10
10
  import"./index-j37qq1f2.js";
11
11
  import {
12
12
  Sys,
13
13
  command
14
- } from "./index-9p2edf9w.js";
15
- import"./index-3tqjdv03.js";
14
+ } from "./index-bkwnr08k.js";
15
+ import"./index-1twehz1x.js";
16
16
  import"./index-mxvakhsm.js";
17
17
  import"./index-1577bej2.js";
18
18
  import"./index-67546d0j.js";
@@ -15,8 +15,8 @@ export default function getContent(scanInfo: AppInfo | LibInfo | null, dict: { a
15
15
  export class SignedIn implements Guard {
16
16
  static name = "SignedIn";
17
17
  // "account" — the verdict reads the caller and nothing about the call, so an MCP catalogue can evaluate it with
18
- // no arguments and hide what this caller certainly cannot use. Unmarked means "resource", which is never
19
- // evaluated for a listing: a guard like this one would then filter nothing.
18
+ // no arguments and hide what this caller certainly cannot use. Required: "resource" is never evaluated for a
19
+ // listing, so a guard like this one marked that way would filter nothing.
20
20
  static scope: GuardScope = "account";
21
21
 
22
22
  canPass(context: SignalContext): boolean {
@@ -1,3 +1,22 @@
1
1
  # <%= repoName %> — Claude Code Guide
2
2
 
3
3
  @AGENTS.md
4
+
5
+ ## Comments — Overrides Your Default
6
+
7
+ Write **no comments** unless the comment passes the test below. This is the rule agents break most often here, so it
8
+ is repeated outside the guide: a diff that adds a comment the test rejects is a diff to redo.
9
+
10
+ Before typing `//`, `/*`, or a doc block, ask — **does this sentence carry a fact that is nowhere in the code?**
11
+
12
+ - Restates the identifier, the signature, or the line under it → delete it.
13
+ - Labels a section (`// helpers`, `// state`) or narrates a step (`// fetch the user`, `// then save`) → delete it.
14
+ - JSDoc on an ordinary function, or a why/how preamble on ordinary logic → delete it.
15
+ - Explains the edit you just made, for whoever reads the diff → say it in your reply, not in the file.
16
+ - Names a vendor or protocol quirk, an infrastructure constraint, a library gotcha, security reasoning, a math
17
+ derivation, a domain field's business meaning, a state transition, or why an obvious alternative was rejected →
18
+ keep it, one line.
19
+
20
+ That keep-list is exact — `Comments` in the guide is the full version. "It aids readability" and "this logic is
21
+ subtle" are not on it: rename or split the code instead. When you edit an existing file, match its density; if the
22
+ surrounding code carries none, your diff carries none.
@@ -1,30 +1,30 @@
1
1
  // @bun
2
2
  import {
3
3
  WorkflowRunner
4
- } from "./index-w7jphpt6.js";
4
+ } from "./index-w7farjxd.js";
5
5
  import {
6
6
  ScalarScript
7
- } from "./index-6xh65612.js";
7
+ } from "./index-8d9r0df5.js";
8
8
  import {
9
9
  PrimitiveScript
10
- } from "./index-jwvs48kc.js";
10
+ } from "./index-4v0wvt37.js";
11
11
  import {
12
12
  ModuleScript
13
- } from "./index-nmfen65g.js";
13
+ } from "./index-aak9cctp.js";
14
14
  import"./index-ss469dec.js";
15
- import"./index-tk2e3m3y.js";
15
+ import"./index-gyvrhtpm.js";
16
16
  import"./index-0cj2zxbm.js";
17
- import"./index-znxjcx1p.js";
17
+ import"./index-djh5gpb7.js";
18
18
  import {
19
19
  createWorkflowStepRegistry
20
- } from "./index-nz9ceqgp.js";
20
+ } from "./index-9s991k9v.js";
21
21
  import"./index-j37qq1f2.js";
22
22
  import {
23
23
  Workspace,
24
24
  command,
25
25
  script
26
- } from "./index-9p2edf9w.js";
27
- import"./index-3tqjdv03.js";
26
+ } from "./index-bkwnr08k.js";
27
+ import"./index-1twehz1x.js";
28
28
  import"./index-mxvakhsm.js";
29
29
  import"./index-xys926f2.js";
30
30
  import"./index-1577bej2.js";
@@ -1,40 +1,40 @@
1
1
  // @bun
2
2
  import {
3
3
  ContextScript
4
- } from "./index-0hk3frny.js";
5
- import"./index-37mwgmp7.js";
6
- import"./index-w7jphpt6.js";
7
- import"./index-6xh65612.js";
8
- import"./index-jwvs48kc.js";
9
- import"./index-nmfen65g.js";
4
+ } from "./index-b9m84bjp.js";
5
+ import"./index-4agbdds8.js";
6
+ import"./index-w7farjxd.js";
7
+ import"./index-8d9r0df5.js";
8
+ import"./index-4v0wvt37.js";
9
+ import"./index-aak9cctp.js";
10
10
  import"./index-ss469dec.js";
11
- import"./index-tk2e3m3y.js";
11
+ import"./index-gyvrhtpm.js";
12
12
  import {
13
13
  CloudScript
14
- } from "./index-pgs252a3.js";
14
+ } from "./index-g3brq942.js";
15
15
  import {
16
16
  getLatestPackageVersion,
17
17
  getNpmRegistryUrl
18
- } from "./index-hz5x5zdp.js";
18
+ } from "./index-96vpa123.js";
19
19
  import {
20
20
  PackageScript
21
- } from "./index-9jwc3ew8.js";
22
- import"./index-pdj7r8fa.js";
21
+ } from "./index-xwfkgss0.js";
22
+ import"./index-gz91pc3p.js";
23
23
  import {
24
24
  GlobalConfig
25
25
  } from "./index-0cj2zxbm.js";
26
26
  import {
27
27
  AgentScript
28
- } from "./index-xv5jv1fe.js";
29
- import"./index-znxjcx1p.js";
30
- import"./index-nz9ceqgp.js";
28
+ } from "./index-7ecpft60.js";
29
+ import"./index-djh5gpb7.js";
30
+ import"./index-9s991k9v.js";
31
31
  import"./index-j37qq1f2.js";
32
32
  import {
33
33
  ApplicationScript
34
- } from "./index-v2r1wrzb.js";
34
+ } from "./index-rv16ck4r.js";
35
35
  import {
36
36
  LibraryScript
37
- } from "./index-nkzfkq0j.js";
37
+ } from "./index-p42te6qb.js";
38
38
  import"./index-76rn3g2c.js";
39
39
  import {
40
40
  Exec,
@@ -42,7 +42,7 @@ import {
42
42
  command,
43
43
  runner,
44
44
  script
45
- } from "./index-9p2edf9w.js";
45
+ } from "./index-bkwnr08k.js";
46
46
  import"./index-fgc8r6dj.js";
47
47
  import {
48
48
  ThemeValidator,
@@ -59,7 +59,7 @@ import {
59
59
  collectScopeRecipeSources,
60
60
  extractAgentBlock,
61
61
  renderScopeAgentBlock
62
- } from "./index-3tqjdv03.js";
62
+ } from "./index-1twehz1x.js";
63
63
  import"./index-mxvakhsm.js";
64
64
  import {
65
65
  collectRecipeSources,