@akanjs/cli 3.1.2-rc.3 → 3.2.0-rc.0

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 (130) hide show
  1. package/.build-stamp +1 -1
  2. package/{CodeAgent-n2tkg59z.js → CodeAgent-h6g8dg3a.js} +2 -2
  3. package/{CodeTui-9wsdx7ap.js → CodeTui-n9gacepn.js} +1 -1
  4. package/README.ko.md +9 -0
  5. package/README.md +9 -0
  6. package/TunnelShare-k3ja4w9x.js +14 -0
  7. package/{agent.command-tffz6wdn.js → agent.command-2f657613.js} +19 -17
  8. package/akanCode.js +2 -2
  9. package/{application.command-7bkxbrsp.js → application.command-yb8v177e.js} +45 -22
  10. package/{applicationBuildRunner-s13x3zqb.js → applicationBuildRunner-sctcmkyx.js} +57 -17
  11. package/buildBatch.proc.js +7 -7
  12. package/{cloud.command-a792bc10.js → cloud.command-et06ja22.js} +35 -18
  13. package/cloud.script-s6rbrwer.js +30 -0
  14. package/{code.command-ma8dtzww.js → code.command-7m67c7zc.js} +6 -6
  15. package/commandManifest.json +1 -1
  16. package/{context.command-80a1qhps.js → context.command-569z0rqf.js} +20 -19
  17. package/context.runner-ms8v1rxy.js +29 -0
  18. package/{guideline.command-195g0h9a.js → guideline.command-gnv3e8p8.js} +2 -2
  19. package/guidelines/akanApi/akanApi.instruction.md +317 -0
  20. package/guidelines/conventions/rules/app.md +5 -5
  21. package/guidelines/conventions/rules/config.md +1 -1
  22. package/guidelines/conventions/rules/gates.md +10 -5
  23. package/guidelines/conventions/rules/page.md +4 -2
  24. package/guidelines/conventions/rules/server.md +2 -0
  25. package/guidelines/conventions/rules/style.md +3 -1
  26. package/guidelines/conventions/rules/ts.md +2 -1
  27. package/guidelines/cssRule/cssRule.instruction.md +3 -1
  28. package/guidelines/pageRule/pageRule.instruction.md +3 -0
  29. package/incrementalBuilder.proc.js +70 -14
  30. package/{index-tns543wd.js → index-0fb3cpbt.js} +3 -3
  31. package/{index-zbrwnmf1.js → index-1q1cjn8s.js} +21 -11
  32. package/{index-wrmq92vk.js → index-3wjbhj2n.js} +1 -1
  33. package/{index-361ex3rb.js → index-48d5qsj3.js} +4 -4
  34. package/{index-aayg4dqf.js → index-5w9my9qe.js} +8 -8
  35. package/{index-1h2jc0x3.js → index-6wpaq392.js} +61 -15
  36. package/{index-tp56652m.js → index-7xdpww43.js} +69 -12
  37. package/index-7y5yghjg.js +2969 -0
  38. package/{index-zttm13c3.js → index-8g7tdsk4.js} +249 -696
  39. package/{index-m02tdq8a.js → index-8pb9yvp8.js} +63 -21
  40. package/{index-gbp1q1b5.js → index-8ts9774g.js} +4 -4
  41. package/{index-9zy8479y.js → index-93ewzmp6.js} +43 -14
  42. package/{index-zdpte1pj.js → index-9tbgb4d8.js} +1 -1
  43. package/index-abgh0jve.js +126 -0
  44. package/{index-khk05tsf.js → index-aj3ehkcx.js} +1 -1
  45. package/{index-84h43kg6.js → index-d4n1wmrz.js} +37 -4
  46. package/{index-gr9thy79.js → index-drz9e84d.js} +22 -8
  47. package/{index-hapx5myy.js → index-e3vmjtph.js} +2 -2
  48. package/{index-k64mhwbw.js → index-eajbmk10.js} +2 -1
  49. package/{index-0j1t1h2b.js → index-ed6ea0qp.js} +1 -1
  50. package/{index-sjabnf7j.js → index-fjr4d6yd.js} +444 -368
  51. package/index-hqrkqxx2.js +176 -0
  52. package/{index-z7kbxdqg.js → index-jdamtr7e.js} +3 -3
  53. package/{index-scck6h6d.js → index-kpdv34rq.js} +4 -4
  54. package/{index-ppvqy5bc.js → index-ktb3wcqz.js} +73 -34
  55. package/{index-sveq36gh.js → index-mmym5xmb.js} +4 -2
  56. package/{index-y4kcmbt2.js → index-mqntfzv5.js} +2 -2
  57. package/{index-4am4dvmf.js → index-ny2k80mv.js} +15 -3
  58. package/index-p6hjwt2d.js +1668 -0
  59. package/{index-wwe9rsrx.js → index-r0a604h4.js} +12 -2
  60. package/{index-jb2sreps.js → index-rc5fvqj2.js} +18 -18
  61. package/{index-db2nqrad.js → index-ryrm5z2c.js} +71 -19
  62. package/{index-eft5c2mp.js → index-s2grpzef.js} +331 -27
  63. package/{index-g500c5j9.js → index-sr5da35e.js} +33 -10
  64. package/{index-defp4gmb.js → index-sy481q2x.js} +1 -1
  65. package/{index-j9d3mjx1.js → index-thckcabc.js} +2 -2
  66. package/{index-9z3egsmg.js → index-vkzfk7qt.js} +25 -23
  67. package/index-w639tvkd.js +166 -0
  68. package/index-ygdbn9jn.js +122 -0
  69. package/{index-sp0qsr7a.js → index-zpv14wpy.js} +3 -3
  70. package/{index-sx91nf4z.js → index-zxsygkda.js} +18 -9
  71. package/index.js +24 -23
  72. package/{library.command-63hgt9te.js → library.command-1gp5qe3r.js} +3 -3
  73. package/{localRegistry.command-343ksmn9.js → localRegistry.command-v3g21rex.js} +25 -16
  74. package/{module.command-2hce9m6k.js → module.command-4xz9he6h.js} +6 -6
  75. package/{package.command-96eheyvd.js → package.command-s7qpnn1g.js} +12 -3
  76. package/package.json +2 -2
  77. package/{page.command-gs6d841d.js → page.command-fan34c49.js} +3 -3
  78. package/{pipeline.command-wdfvdbfj.js → pipeline.command-ph4fnn9w.js} +2 -2
  79. package/{primitive.command-7tdj12wn.js → primitive.command-3fqh8emf.js} +7 -7
  80. package/{projectTypecheck-kqj1t6hb.js → projectTypecheck-vkb40hjc.js} +1 -1
  81. package/{quality.command-29bgarh1.js → quality.command-ecj6exsh.js} +15 -10
  82. package/{repair.command-yng4rf5d.js → repair.command-fe9jw719.js} +6 -6
  83. package/{scalar.command-1nk4329t.js → scalar.command-cnvfhk0n.js} +5 -5
  84. package/skills/akan-debug/SKILL.md +2 -1
  85. package/skills/akan-page/SKILL.md +30 -2
  86. package/skills/akan-service/SKILL.md +77 -1
  87. package/{subspace.command-5cehmcdd.js → subspace.command-yxtt3v3e.js} +8 -8
  88. package/templates/app/lib/___appName__/__appName__.abstract.md.template +6 -0
  89. package/templates/app/page/_index.tsx +4 -284
  90. package/templates/app/page/_layout.tsx +1 -26
  91. package/templates/app/page/styles.css.template +58 -318
  92. package/templates/appSample/page/_index.tsx +281 -0
  93. package/templates/appSample/page/_layout.tsx +55 -0
  94. package/templates/appSample/page/styles.css.template +327 -0
  95. package/templates/libRoot/lib/___libName__/__libName__.abstract.md.template +6 -0
  96. package/templates/workspaceRoot/package.json.template +1 -12
  97. package/{tunnel.command-yrd4atqy.js → tunnel.command-ggj38mqf.js} +7 -7
  98. package/{typeChecker-j2jdnqsr.js → typeChecker-s640r6c0.js} +1 -1
  99. package/typecheck.proc.js +1 -1
  100. package/{verify.command-kbq0fcg8.js → verify.command-w9ttxkdz.js} +16 -14
  101. package/{workflow.command-274qfa8z.js → workflow.command-ss8devj0.js} +12 -12
  102. package/{workspace.command-r6hgmawy.js → workspace.command-rw1p0xeq.js} +50 -38
  103. package/TunnelShare-6d7z36sr.js +0 -14
  104. package/cloud.script-t2n13gv6.js +0 -27
  105. package/context.runner-wxqb3qcy.js +0 -28
  106. package/index-j2dgmzbj.js +0 -1259
  107. package/index-p6x5b7hr.js +0 -839
  108. package/index-vzpnr12w.js +0 -65
  109. package/templates/workspaceRoot/patches/zod@3.25.76.patch.template +0 -22
  110. package/templates/workspaceRoot/patches/zod@4.4.3.patch.template +0 -11
  111. /package/templates/{app → appSample}/page/_overrides.tsx +0 -0
  112. /package/templates/{app → appSample}/public/fonts/Pretendard-Black.woff2 +0 -0
  113. /package/templates/{app → appSample}/public/fonts/Pretendard-Bold.woff2 +0 -0
  114. /package/templates/{app → appSample}/public/fonts/Pretendard-ExtraBold.woff2 +0 -0
  115. /package/templates/{app → appSample}/public/fonts/Pretendard-ExtraLight.woff2 +0 -0
  116. /package/templates/{app → appSample}/public/fonts/Pretendard-Light.woff2 +0 -0
  117. /package/templates/{app → appSample}/public/fonts/Pretendard-Medium.woff2 +0 -0
  118. /package/templates/{app → appSample}/public/fonts/Pretendard-Regular.woff2 +0 -0
  119. /package/templates/{app → appSample}/public/fonts/Pretendard-SemiBold.woff2 +0 -0
  120. /package/templates/{app → appSample}/public/fonts/Pretendard-Thin.woff2 +0 -0
  121. /package/templates/{app → appSample}/public/jelly/cloud.webp +0 -0
  122. /package/templates/{app → appSample}/public/jelly/comet.webp +0 -0
  123. /package/templates/{app → appSample}/public/jelly/moon.webp +0 -0
  124. /package/templates/{app → appSample}/public/jelly/planet.webp +0 -0
  125. /package/templates/{app → appSample}/public/jelly/rocket.webp +0 -0
  126. /package/templates/{app → appSample}/public/jelly/star.webp +0 -0
  127. /package/templates/{app → appSample}/public/jelly/sugar.webp +0 -0
  128. /package/templates/{app → appSample}/public/logo.png +0 -0
  129. /package/templates/{app → appSample}/ui/Recipe/index.ts +0 -0
  130. /package/templates/{app → appSample}/ui/Recipe/jellyButton.ts +0 -0
@@ -0,0 +1,55 @@
1
+ import type { AppInfo, LibInfo } from "akanjs";
2
+
3
+ interface Dict {
4
+ appName: string;
5
+ }
6
+ export default function getContent(scanInfo: AppInfo | LibInfo | null, dict: Dict, options: { libs: string[] }) {
7
+ const isUsingShared = options.libs.includes("shared");
8
+ const rendered = isUsingShared
9
+ ? `(
10
+ <>
11
+ {children}
12
+ <Auth.User />
13
+ <Auth.Admin />
14
+ </>
15
+ )`
16
+ : "<>{children}</>";
17
+ return {
18
+ filename: "_layout.tsx",
19
+ content: `import "./styles.css";
20
+ ${isUsingShared ? 'import { Auth } from "@libs/shared/ui";\n' : ""}import { rootLayout } from "akanjs/client";
21
+
22
+ export default rootLayout()
23
+ .fonts([
24
+ {
25
+ name: "pretendard",
26
+ default: true,
27
+ paths: [
28
+ { src: "/fonts/Pretendard-Thin.woff2", weight: 100 },
29
+ { src: "/fonts/Pretendard-ExtraLight.woff2", weight: 200 },
30
+ { src: "/fonts/Pretendard-Light.woff2", weight: 300 },
31
+ { src: "/fonts/Pretendard-Regular.woff2", weight: 400 },
32
+ { src: "/fonts/Pretendard-Medium.woff2", weight: 500 },
33
+ { src: "/fonts/Pretendard-SemiBold.woff2", weight: 600 },
34
+ { src: "/fonts/Pretendard-Bold.woff2", weight: 700 },
35
+ { src: "/fonts/Pretendard-ExtraBold.woff2", weight: 800 },
36
+ { src: "/fonts/Pretendard-Black.woff2", weight: 900 },
37
+ ],
38
+ },
39
+ ])
40
+ .theme("light")
41
+ .head(
42
+ <>
43
+ <title>${dict.appName}</title>
44
+ <link rel="icon" href="/favicon.ico" sizes="32x32" />
45
+ <link rel="icon" type="image/png" sizes="512x512" href="/logo.png" />
46
+ <link rel="apple-touch-icon" href="/apple-touch-icon.png" />
47
+ <meta name="theme-color" content="#f1f1ee" />
48
+ </>,
49
+ )
50
+ .render(({ children }) => {
51
+ return ${rendered};
52
+ });
53
+ `,
54
+ };
55
+ }
@@ -0,0 +1,327 @@
1
+ @import "tailwindcss";
2
+ @import "akanjs/ui/styles.css";
3
+
4
+ /* The jelly star palette. akanjs/ui/styles.css owns the theme system (token mapping, dark variant, runtime
5
+ data-theme switching), so a rebrand only overrides the token values below. The star red (--jelly) is a fill
6
+ color; --primary carries white text, so it is one step darker to keep 4.5:1 contrast. */
7
+ :root,
8
+ [data-theme="light"] {
9
+ --background: #f1f1ee;
10
+ --foreground: #0d0d0e;
11
+ --primary: #e02d27;
12
+ --primary-foreground: #ffffff;
13
+ --secondary: #0d0d0e;
14
+ --secondary-foreground: #f6f6f3;
15
+ --accent: #7650d8;
16
+ --accent-foreground: #ffffff;
17
+ --neutral: #26262a;
18
+ --neutral-foreground: #f6f6f3;
19
+ --info: #1f6fe0;
20
+ --info-foreground: #ffffff;
21
+ --success: #3f8f1f;
22
+ --success-foreground: #ffffff;
23
+ --warning: #f2b51c;
24
+ --warning-foreground: #0d0d0e;
25
+ --destructive: #c4161c;
26
+ --destructive-foreground: #ffffff;
27
+ --open: #5aa82a;
28
+ --open-foreground: #0d0d0e;
29
+ --muted: #e6e6e1;
30
+ --muted-foreground: #66666b;
31
+ --card: #fbfbf9;
32
+ --card-foreground: #0d0d0e;
33
+ --popover: #ffffff;
34
+ --popover-foreground: #0d0d0e;
35
+ --border: #dcdcd6;
36
+ --input: #d4d4ce;
37
+ --ring: #e02d27;
38
+ --jelly: #ef3a2d;
39
+ --studio-shadow: color-mix(in oklab, #3a2a20 16%, transparent);
40
+ --sky-top: #dfe5f7;
41
+ --sky-bottom: #f6eadf;
42
+ }
43
+
44
+ [data-theme="dark"] {
45
+ --background: #0f1129;
46
+ --foreground: #f3f1fb;
47
+ --primary: #e02d27;
48
+ --primary-foreground: #ffffff;
49
+ --secondary: #f3f1fb;
50
+ --secondary-foreground: #0f1129;
51
+ --accent: #a585e0;
52
+ --accent-foreground: #0f1129;
53
+ --neutral: #262a4d;
54
+ --neutral-foreground: #f3f1fb;
55
+ --info: #4b8ef0;
56
+ --info-foreground: #0f1129;
57
+ --success: #7cc23a;
58
+ --success-foreground: #0f1129;
59
+ --warning: #f6c437;
60
+ --warning-foreground: #0f1129;
61
+ --destructive: #e5383b;
62
+ --destructive-foreground: #ffffff;
63
+ --open: #7cc23a;
64
+ --open-foreground: #0f1129;
65
+ --muted: #1a1d3b;
66
+ --muted-foreground: #a6a8c9;
67
+ --card: #161935;
68
+ --card-foreground: #f3f1fb;
69
+ --popover: #1b1e40;
70
+ --popover-foreground: #f3f1fb;
71
+ --border: #2b2f57;
72
+ --input: #33376a;
73
+ --ring: #f0392e;
74
+ --jelly: #f2402f;
75
+ --studio-shadow: color-mix(in oklab, #02030f 65%, transparent);
76
+ --sky-top: #25215f;
77
+ --sky-bottom: #2d1749;
78
+ }
79
+
80
+ :root {
81
+ --planet: #1f6fe0;
82
+ --rocket: #82c43c;
83
+ --moon: #f6e27a;
84
+ --cloud: #a585e0;
85
+ --comet: #e3228e;
86
+ }
87
+
88
+ @theme inline {
89
+ --color-jelly: var(--jelly);
90
+ --color-planet: var(--planet);
91
+ --color-rocket: var(--rocket);
92
+ --color-moon: var(--moon);
93
+ --color-cloud: var(--cloud);
94
+ --color-comet: var(--comet);
95
+ --radius-box: 1.5rem;
96
+ --radius-field: 0.875rem;
97
+ }
98
+
99
+ /* A sampled damped spring: overshoots the target by 18%, wobbles twice and settles. */
100
+ @theme {
101
+ --ease-jelly: linear(0, 0.42 6%, 0.86 13%, 1.12 21%, 1.18 26%, 1.13 32%, 1 41%, 0.95 48%, 0.97 56%, 1.01 66%, 1.005 78%, 1);
102
+ }
103
+
104
+ /* html and body both paint a background color, so body's background is not propagated to the canvas: the sky
105
+ sits on body, and isolation keeps the grain layer above body's own background. */
106
+ @layer base {
107
+ body {
108
+ isolation: isolate;
109
+ background-image:
110
+ radial-gradient(120% 60% at 50% -14%, var(--sky-top), transparent 64%),
111
+ radial-gradient(110% 55% at 50% 114%, var(--sky-bottom), transparent 68%);
112
+ background-attachment: fixed;
113
+ }
114
+
115
+ body::before {
116
+ content: "";
117
+ position: fixed;
118
+ inset: 0;
119
+ z-index: -1;
120
+ pointer-events: none;
121
+ opacity: 0.06;
122
+ mix-blend-mode: multiply;
123
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
124
+ }
125
+
126
+ [data-theme="dark"] body::before {
127
+ opacity: 0.1;
128
+ mix-blend-mode: overlay;
129
+ }
130
+
131
+ h1,
132
+ h2 {
133
+ letter-spacing: -0.035em;
134
+ }
135
+
136
+ ::selection {
137
+ background-color: color-mix(in oklab, var(--jelly) 24%, transparent);
138
+ }
139
+ }
140
+
141
+ @keyframes jelly-intro {
142
+ from {
143
+ opacity: 0;
144
+ translate: 0 1.25rem;
145
+ filter: blur(6px);
146
+ }
147
+ }
148
+
149
+ @keyframes jelly-breathe {
150
+ 0%,
151
+ 100% {
152
+ scale: 1 1;
153
+ }
154
+ 50% {
155
+ scale: 1.035 0.965;
156
+ }
157
+ }
158
+
159
+ @keyframes jelly-wobble {
160
+ 0% {
161
+ scale: 1 1;
162
+ }
163
+ 16% {
164
+ scale: 1.16 0.86;
165
+ }
166
+ 32% {
167
+ scale: 0.9 1.1;
168
+ }
169
+ 48% {
170
+ scale: 1.06 0.95;
171
+ }
172
+ 64% {
173
+ scale: 0.97 1.03;
174
+ }
175
+ 82% {
176
+ scale: 1.01 0.99;
177
+ }
178
+ 100% {
179
+ scale: 1 1;
180
+ }
181
+ }
182
+
183
+ @keyframes jelly-float {
184
+ 0%,
185
+ 100% {
186
+ translate: 0 0;
187
+ rotate: calc(var(--float-tilt, 4deg) * -1);
188
+ }
189
+ 50% {
190
+ translate: 0 calc(var(--float-rise, 0.9rem) * -1);
191
+ rotate: var(--float-tilt, 4deg);
192
+ }
193
+ }
194
+
195
+ @utility intro-rise {
196
+ @media (prefers-reduced-motion: no-preference) {
197
+ animation: jelly-intro 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
198
+ animation-delay: var(--intro-delay, 0ms);
199
+ }
200
+ }
201
+
202
+ @utility jelly-breathe {
203
+ transform-origin: 50% 100%;
204
+ @media (prefers-reduced-motion: no-preference) {
205
+ animation: jelly-breathe 3.2s ease-in-out infinite;
206
+ }
207
+ }
208
+
209
+ @utility jelly-wobble {
210
+ transform-origin: 50% 100%;
211
+ @media (prefers-reduced-motion: no-preference) {
212
+ animation: jelly-wobble 0.9s ease-out both;
213
+ }
214
+ }
215
+
216
+ @utility jelly-float {
217
+ @media (prefers-reduced-motion: no-preference) {
218
+ animation: jelly-float var(--float-duration, 6s) ease-in-out var(--float-delay, 0s) infinite;
219
+ }
220
+ }
221
+
222
+ @utility squish {
223
+ transition:
224
+ scale 700ms var(--ease-jelly),
225
+ translate 700ms var(--ease-jelly);
226
+ &:hover {
227
+ scale: 1.04 0.97;
228
+ }
229
+ &:active {
230
+ scale: 1.08 0.9;
231
+ transition-duration: 90ms;
232
+ }
233
+ }
234
+
235
+ @utility tint-* {
236
+ --tint: --value(--color-*);
237
+ }
238
+
239
+ /* A gummy surface. public/jelly/sugar.webp is a high-pass of the logo star's sugar coating (128 gray = no change),
240
+ laid on in hard-light so every tint gets the same sugar grain. */
241
+ @utility jelly {
242
+ --jelly-tint: var(--tint, var(--primary));
243
+ --jelly-deep: color-mix(in oklab, var(--jelly-tint) 70%, black);
244
+ --jelly-haze: color-mix(in oklab, var(--jelly-tint) 55%, white);
245
+ background-color: var(--jelly-tint);
246
+ background-image:
247
+ url("/jelly/sugar.webp"),
248
+ radial-gradient(120% 95% at 26% -8%, color-mix(in oklab, white 26%, transparent), transparent 58%),
249
+ radial-gradient(110% 90% at 60% 125%, color-mix(in oklab, var(--jelly-deep) 30%, transparent), transparent 60%);
250
+ background-size:
251
+ 100px 100px,
252
+ 100% 100%,
253
+ 100% 100%;
254
+ background-repeat: repeat, no-repeat, no-repeat;
255
+ background-blend-mode: hard-light, normal, normal;
256
+ box-shadow:
257
+ inset 0 0 0 1px color-mix(in oklab, var(--jelly-haze) 40%, transparent),
258
+ inset 0 0 8px 1px color-mix(in oklab, white 20%, transparent),
259
+ inset 0 -3px 6px color-mix(in oklab, var(--jelly-deep) 28%, transparent),
260
+ 0 6px 10px -6px color-mix(in oklab, var(--jelly-deep) 65%, transparent),
261
+ 0 1px 2px color-mix(in oklab, black 12%, transparent);
262
+ }
263
+
264
+ @utility jelly-glass {
265
+ --jelly-tint: var(--tint, var(--card));
266
+ background-color: color-mix(in oklab, var(--card) 95%, var(--jelly-tint));
267
+ background-image:
268
+ radial-gradient(120% 70% at 20% -20%, color-mix(in oklab, white 55%, transparent), transparent 60%),
269
+ radial-gradient(90% 60% at 100% 120%, color-mix(in oklab, var(--jelly-tint) 9%, transparent), transparent 70%);
270
+ box-shadow:
271
+ inset 0 1px 0 color-mix(in oklab, white 70%, transparent),
272
+ inset 0 -1px 0 color-mix(in oklab, var(--jelly-tint) 14%, transparent),
273
+ 0 22px 44px -28px var(--studio-shadow),
274
+ 0 2px 6px -3px var(--studio-shadow);
275
+ @variant dark {
276
+ background-color: color-mix(in oklab, var(--card) 92%, var(--jelly-tint));
277
+ background-image:
278
+ radial-gradient(120% 70% at 20% -20%, color-mix(in oklab, white 7%, transparent), transparent 60%),
279
+ radial-gradient(90% 60% at 100% 120%, color-mix(in oklab, var(--jelly-tint) 14%, transparent), transparent 70%);
280
+ box-shadow:
281
+ inset 0 1px 0 color-mix(in oklab, white 11%, transparent),
282
+ inset 0 -1px 0 color-mix(in oklab, var(--jelly-tint) 18%, transparent),
283
+ 0 22px 44px -28px var(--studio-shadow),
284
+ 0 2px 6px -3px var(--studio-shadow);
285
+ }
286
+ }
287
+
288
+ /* The same sugar, clipped to the glyphs of plain text-primary text. Clipping replaces the element's background, so
289
+ elements with a surface of their own (bg-*, jelly, glass) and currentColor drawings are skipped, and icons inside
290
+ get their color back. */
291
+ .text-primary:not(svg, [class*="bg-"], [class*="jelly"], [class*="glass"], [class*="-current"]) {
292
+ background-color: var(--primary);
293
+ background-image:
294
+ url("/jelly/sugar.webp"),
295
+ linear-gradient(
296
+ to bottom,
297
+ color-mix(in oklab, black 8%, var(--primary)),
298
+ color-mix(in oklab, white 14%, var(--primary)) 22%,
299
+ var(--primary) 60%,
300
+ color-mix(in oklab, black 8%, var(--primary))
301
+ );
302
+ background-size:
303
+ 100px 100px,
304
+ 100% 1lh;
305
+ background-origin: content-box;
306
+ background-blend-mode: hard-light, normal;
307
+ -webkit-background-clip: text;
308
+ background-clip: text;
309
+ color: transparent;
310
+ text-decoration-color: var(--primary);
311
+ & :is(svg, [class*="-current"]) {
312
+ color: var(--primary);
313
+ }
314
+ /* A heading's tight leading pushes descenders out of the box, where a text-clipped background is never painted. */
315
+ :is(h1, h2, h3, h4, h5, h6) & {
316
+ padding-block: 0.15em;
317
+ margin-block: -0.15em;
318
+ }
319
+ }
320
+
321
+ /* A descendant with a surface of its own covers the clipped sugar, so the transparent color it inherits would leave
322
+ it blank. It takes the primary color back; layered under utilities, a text-* class of its own still wins. */
323
+ @layer base {
324
+ .text-primary:not(svg, [class*="bg-"], [class*="jelly"], [class*="glass"], [class*="-current"]) [class*="bg-"]:not([class*="bg-clip"]) {
325
+ color: var(--primary);
326
+ }
327
+ }
@@ -0,0 +1,6 @@
1
+ # <%= libName %> Service Abstract
2
+ The library's own service module. It owns no endpoint, job or state yet.
3
+
4
+ ## Rules
5
+ - `serverMode: "batch"` mounts it only in a `batch` or `all` process, so it suits cron and queue work; an endpoint a
6
+ page calls belongs in a module from `akan create-service`.
@@ -10,23 +10,12 @@
10
10
  "test": "akan test",
11
11
  "build": "akan build",
12
12
  "setup:agent": "akan agent install all --force",
13
- "agent:setup": "akan agent install all --force",
14
13
  "agent:doctor": "akan doctor --strict --format json",
15
14
  "agent:context": "akan context --format json",
16
15
  "agent:mcp:readonly": "akan mcp-install all --mode readonly --force",
17
16
  "agent:mcp:plan": "akan mcp-install all --mode plan --force",
18
17
  "agent:mcp:apply": "akan mcp-install all --mode apply --force",
19
- "agent:workflows": "akan workflow list",
20
- "agent:sample:context": "akan context --format markdown --app <%= appName %> --module project",
21
- "agent:sample:service": "akan create-service billing <%= appName %> --format json",
22
- "agent:sample:module": "akan create-module project <%= appName %> --page=true --format json",
23
- "agent:sample:field": "akan add-field --app <%= appName %> --module project --field budget --type Int --default 0 --format json",
24
- "agent:sample:status": "akan add-enum-field --app <%= appName %> --module project --field status --values draft,active,archived --default draft --format json",
25
- "agent:sample:sync": "akan sync <%= appName %>",
26
- "agent:sample:check": "akan doctor --strict --format json",
27
- "agent:sample:workflow:explain": "akan workflow explain add-field",
28
- "agent:sample:workflow:plan": "akan workflow plan add-field --app <%= appName %> --module task --field priority --type enum --values low,medium,high --default medium --format json --out .akan/workflows/plans/task-priority.json",
29
- "agent:sample:workflow:dry-run": "akan workflow apply .akan/workflows/plans/task-priority.json --dry-run --format json"
18
+ "agent:workflows": "akan workflow list"
30
19
  },
31
20
  "dependencies": {},
32
21
  "devDependencies": {},
@@ -4,22 +4,22 @@ import {
4
4
  runner,
5
5
  script,
6
6
  command
7
- } from "./index-9zy8479y.js";
7
+ } from "./index-93ewzmp6.js";
8
8
  import"./index-bns3wcpc.js";
9
9
  import {
10
10
  AppExecutor
11
- } from "./index-g500c5j9.js";
11
+ } from "./index-sr5da35e.js";
12
12
  import {
13
13
  GlobalConfig,
14
14
  CloudApi
15
- } from "./index-gr9thy79.js";
15
+ } from "./index-drz9e84d.js";
16
16
  import"./index-m9jj544v.js";
17
- import"./index-sp0qsr7a.js";
18
- import"./index-zbrwnmf1.js";
19
- import"./index-sveq36gh.js";
17
+ import"./index-zpv14wpy.js";
18
+ import"./index-1q1cjn8s.js";
19
+ import"./index-mmym5xmb.js";
20
20
  import {
21
21
  TunnelShare2
22
- } from "./index-zdpte1pj.js";
22
+ } from "./index-9tbgb4d8.js";
23
23
  import {
24
24
  writeClipboard
25
25
  } from "./index-p6pbz9n5.js";
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  TypeChecker2
4
- } from "./index-wwe9rsrx.js";
4
+ } from "./index-r0a604h4.js";
5
5
  export {
6
6
  TypeChecker2 as TypeChecker
7
7
  };
package/typecheck.proc.js CHANGED
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  TypeChecker2
4
- } from "./index-wwe9rsrx.js";
4
+ } from "./index-r0a604h4.js";
5
5
 
6
6
  // pkgs/@akanjs/devkit/typecheck/typecheck.proc.ts
7
7
  import { Logger } from "akanjs/common";
@@ -5,32 +5,34 @@ import {
5
5
  ExitCodeError,
6
6
  markCliErrorPrinted,
7
7
  command
8
- } from "./index-9zy8479y.js";
8
+ } from "./index-93ewzmp6.js";
9
9
  import"./index-bns3wcpc.js";
10
- import"./index-g500c5j9.js";
10
+ import"./index-sr5da35e.js";
11
11
  import {
12
12
  ApplicationRunner,
13
13
  VerifyScope
14
- } from "./index-ppvqy5bc.js";
15
- import"./index-p6x5b7hr.js";
16
- import"./index-sp0qsr7a.js";
17
- import"./index-0j1t1h2b.js";
14
+ } from "./index-ktb3wcqz.js";
15
+ import"./index-p6hjwt2d.js";
16
+ import"./index-zpv14wpy.js";
17
+ import"./index-ed6ea0qp.js";
18
18
  import"./index-m9jj544v.js";
19
- import"./index-zbrwnmf1.js";
20
- import"./index-sveq36gh.js";
19
+ import"./index-1q1cjn8s.js";
20
+ import"./index-mmym5xmb.js";
21
21
  import"./index-62md4dwy.js";
22
22
  import {
23
23
  WorkspaceRunner
24
- } from "./index-sjabnf7j.js";
25
- import"./index-j2dgmzbj.js";
24
+ } from "./index-fjr4d6yd.js";
25
+ import"./index-ygdbn9jn.js";
26
+ import"./index-hqrkqxx2.js";
27
+ import"./index-7y5yghjg.js";
26
28
  import"./index-hj6w4ka1.js";
27
- import"./index-4am4dvmf.js";
28
- import"./index-k64mhwbw.js";
29
+ import"./index-ny2k80mv.js";
30
+ import"./index-eajbmk10.js";
29
31
  import {
30
32
  VerifyPipeline,
31
33
  VerifyReport
32
- } from "./index-eft5c2mp.js";
33
- import"./index-defp4gmb.js";
34
+ } from "./index-s2grpzef.js";
35
+ import"./index-sy481q2x.js";
34
36
 
35
37
  // pkgs/@akanjs/cli/verify/verify.script.ts
36
38
  import path from "path";
@@ -3,22 +3,22 @@ import {
3
3
  Workspace,
4
4
  script,
5
5
  command
6
- } from "./index-9zy8479y.js";
6
+ } from "./index-93ewzmp6.js";
7
7
  import"./index-bns3wcpc.js";
8
- import"./index-g500c5j9.js";
8
+ import"./index-sr5da35e.js";
9
9
  import"./index-hj6w4ka1.js";
10
- import"./index-m02tdq8a.js";
11
- import"./index-j2dgmzbj.js";
12
- import"./index-j9d3mjx1.js";
13
- import"./index-khk05tsf.js";
14
- import"./index-gbp1q1b5.js";
15
- import"./index-361ex3rb.js";
16
- import"./index-tns543wd.js";
17
- import"./index-hapx5myy.js";
18
- import"./index-k64mhwbw.js";
10
+ import"./index-8pb9yvp8.js";
11
+ import"./index-7y5yghjg.js";
12
+ import"./index-thckcabc.js";
13
+ import"./index-aj3ehkcx.js";
14
+ import"./index-8ts9774g.js";
15
+ import"./index-48d5qsj3.js";
16
+ import"./index-0fb3cpbt.js";
17
+ import"./index-e3vmjtph.js";
18
+ import"./index-eajbmk10.js";
19
19
  import {
20
20
  WorkflowRunner
21
- } from "./index-9z3egsmg.js";
21
+ } from "./index-vkzfk7qt.js";
22
22
 
23
23
  // pkgs/@akanjs/cli/workflow/workflow.script.ts
24
24
  import { Logger } from "akanjs/common";