@akanjs/cli 3.0.0-alpha.15 → 3.0.0-alpha.17

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 (57) hide show
  1. package/.build-stamp +1 -1
  2. package/README.ko.md +1 -1
  3. package/README.md +1 -1
  4. package/{abstractCompactor-e5yq60qz.js → abstractCompactor-khr60389.js} +1 -1
  5. package/{agent.command-h6tc0pzh.js → agent.command-e835fjem.js} +6 -6
  6. package/{application.command-kphnfwyg.js → application.command-bexm4597.js} +5 -5
  7. package/{applicationBuildRunner-9ps10a0h.js → applicationBuildRunner-sgr3aq5b.js} +5 -6
  8. package/{applicationReleasePackager-gg8ccbeh.js → applicationReleasePackager-93nzdfsy.js} +1 -1
  9. package/buildBatch.proc.js +4 -4
  10. package/{capacitorApp-9ejk3k7q.js → capacitorApp-qv7g3dp2.js} +27 -27
  11. package/{cloud.command-zn6mfscb.js → cloud.command-v44fdp23.js} +8 -8
  12. package/{context.command-pkbccyys.js → context.command-q8r0tge3.js} +13 -13
  13. package/{dependencyScanner-f6grrep3.js → dependencyScanner-rbs2407b.js} +1 -1
  14. package/{getDirname-m9s0cmhq.js → getDirname-ka11hm7e.js} +1 -1
  15. package/{guideline.command-0jj2k77g.js → guideline.command-pye36g73.js} +3 -3
  16. package/guidelines/conventions/conventions.instruction.md +122 -43
  17. package/guidelines/workspaceOnboarding/workspaceOnboarding.instruction.md +1 -3
  18. package/incrementalBuilder.proc.js +3 -3
  19. package/{index-xwfkgss0.js → index-33zce8gt.js} +8 -4
  20. package/{index-w7farjxd.js → index-3dp7x6rc.js} +3 -3
  21. package/{index-p42te6qb.js → index-73rnbwgg.js} +14 -6
  22. package/{index-1twehz1x.js → index-8vkkm7v0.js} +8 -18
  23. package/{index-g3brq942.js → index-9djnsdgf.js} +5 -5
  24. package/{index-b9m84bjp.js → index-d4d3q2r8.js} +10 -10
  25. package/{index-96vpa123.js → index-fb2wa7j3.js} +3 -3
  26. package/{index-djh5gpb7.js → index-g9e2fhw2.js} +2 -2
  27. package/{index-4v0wvt37.js → index-hxp90q94.js} +4 -4
  28. package/{index-7ecpft60.js → index-k6fvbcj1.js} +3 -3
  29. package/{index-aak9cctp.js → index-myy6xy5w.js} +4 -4
  30. package/{index-gz91pc3p.js → index-mz5jtaq7.js} +1 -1
  31. package/{index-bkwnr08k.js → index-n706txcv.js} +2 -2
  32. package/{index-gyvrhtpm.js → index-qc0tnhs2.js} +1 -1
  33. package/{index-j9cxndc0.js → index-qyffprfs.js} +7 -5
  34. package/{index-8d9r0df5.js → index-sn71brf9.js} +2 -2
  35. package/{index-9s991k9v.js → index-tsmjxph2.js} +1 -1
  36. package/{index-2m11t9ek.js → index-v5vmgh0z.js} +3 -208
  37. package/{index-rv16ck4r.js → index-x2w0y8sz.js} +8 -8
  38. package/{index-4agbdds8.js → index-xyrb7pk5.js} +3 -3
  39. package/index.js +19 -19
  40. package/{library.command-wbptp6q3.js → library.command-v5cyaw9t.js} +4 -4
  41. package/{localRegistry.command-6ea3pgq0.js → localRegistry.command-tqnh5g77.js} +7 -7
  42. package/{module.command-ghkf919z.js → module.command-wxsvyadc.js} +6 -6
  43. package/{package.command-ph2m34tv.js → package.command-qkcs60ts.js} +4 -4
  44. package/package.json +3 -4
  45. package/{page.command-atnzfn88.js → page.command-qj5bfnh9.js} +4 -4
  46. package/{primitive.command-7qbdhfc2.js → primitive.command-c5jtk3e9.js} +7 -7
  47. package/{quality.command-1ff2xcra.js → quality.command-f8drhx6c.js} +91 -362
  48. package/{recipeScanner-tghkzrrt.js → recipeScanner-zrzev25x.js} +3 -3
  49. package/{repair.command-weakn0yr.js → repair.command-mzwtejpk.js} +6 -6
  50. package/{routeSourceValidator-e4jmbfcx.js → routeSourceValidator-7fycdqyv.js} +1 -1
  51. package/{scalar.command-xdjhvsgb.js → scalar.command-0yvwfv8m.js} +5 -5
  52. package/templates/appSample/srvkit/AuthGuard.ts +2 -2
  53. package/{typeChecker-kravn7ns.js → typeChecker-g6bh0xfv.js} +1 -1
  54. package/typecheck.proc.js +1 -1
  55. package/{workflow.command-msm2tjee.js → workflow.command-ak6at7nz.js} +10 -10
  56. package/{workspace.command-gr8z82z9.js → workspace.command-9ncr56g4.js} +19 -20
  57. /package/{index-r24hmh0q.js → index-yb2wsc7f.js} +0 -0
@@ -9,10 +9,10 @@ import {
9
9
  createTsconfigPackageResolver,
10
10
  rewriteBarrelImports,
11
11
  transformUseClient
12
- } from "./index-j9cxndc0.js";
12
+ } from "./index-qyffprfs.js";
13
13
  import {
14
14
  __require
15
- } from "./index-r24hmh0q.js";
15
+ } from "./index-yb2wsc7f.js";
16
16
 
17
17
  // pkgs/@akanjs/devkit/frontendBuild/allRoutesBuilder.ts
18
18
  import path4 from "path";
@@ -1836,7 +1836,6 @@ var DEFAULT_EXCLUDE_PREFIX = ["@akanjs/cli/", "@akanjs/devkit/"];
1836
1836
  var OPTIONAL_BACKEND_EXTERNAL_EXACT = new Set([
1837
1837
  "@libsql/client",
1838
1838
  "bullmq",
1839
- "croner",
1840
1839
  "ioredis",
1841
1840
  "postgres",
1842
1841
  "protobufjs"
@@ -2253,7 +2252,7 @@ class SsrBaseArtifactBuilder {
2253
2252
  const ssrBundle = await new ClientEntriesBundler({
2254
2253
  app: this.#app,
2255
2254
  entries: [rscSegmentOutletEntry],
2256
- ...RouteClientBuilder.resolveSsrClientExternalOptions(this.#command),
2255
+ ...RouteClientBuilder.resolveSsrClientBundleOptions(this.#command),
2257
2256
  outputSubdir: "client-ssr",
2258
2257
  command: this.#command
2259
2258
  }).bundle();
@@ -2339,210 +2338,6 @@ var PALETTE = "(?:slate|gray|zinc|neutral|stone|red|orange|amber|yellow|lime|gre
2339
2338
  var LEAD = "(^|[\\s\"'`{(\\[:!])";
2340
2339
  var TAIL = "(?=[\\s\"'`})\\]:/!,]|$)";
2341
2340
  var RAW_PALETTE_RE = new RegExp(`${LEAD}((?:${PREFIX})-)${PALETTE}-\\d{2,3}${TAIL}`, "g");
2342
- var ARBITRARY_COLOR_RE = /\[(#[0-9a-fA-F]{3,8}|(?:rgb|rgba|hsl|hsla|oklch|oklab|lab|lch|hwb|color)\([^\]]*\))\]/g;
2343
2341
  var INTERPOLATED_ARBITRARY_RE = new RegExp(`${LEAD}[a-z][a-z0-9-]*-\\[[^\\]\`]*\\$\\{`, "g");
2344
- var STYLE_OBJECT_RE = /style=\{\{([\s\S]*?)\}\}/g;
2345
- var STYLE_TAG_RE = /<style[^>]*>([\s\S]*?)<\/style>/g;
2346
- var INLINE_COLOR_LITERAL_RE = /#[0-9a-fA-F]{3,8}\b|(?:rgb|rgba|hsl|hsla|oklch|oklab|lab|lch|hwb)\(/g;
2347
2342
  var DAISYUI_LEGACY_RE = new RegExp(`${LEAD}(?:` + "btn-(?:primary|secondary|accent|neutral|info|success|warning|error|ghost|link|outline|square|circle|wide|block|xs|sm|md|lg)|" + "badge-(?:primary|secondary|accent|neutral|info|success|warning|error|ghost|outline)|" + "alert-(?:info|success|warning|error)|" + "input-(?:bordered|primary|secondary|accent|ghost|error)|" + "select-(?:bordered|primary|ghost)|textarea-(?:bordered|primary|ghost)|" + "checkbox-(?:primary|secondary|accent)|toggle-(?:primary|secondary|accent)|" + "loading-(?:spinner|dots|ring|ball|bars|infinity)|" + "card-(?:body|title|actions)|modal-(?:box|action|backdrop)|" + "collapse-(?:title|content|arrow|plus)|dropdown-(?:content|end|start|hover)|" + "stat-(?:title|value|desc)|tabs-(?:boxed|lifted|bordered)|tab-active|" + "menu-(?:title|dropdown)|steps-(?:horizontal|vertical)|join-item|" + "mockup-(?:code|phone|browser|window)|drawer-(?:side|content|toggle)" + `)${TAIL}`, "g");
2348
- var ALL_RULES = [
2349
- "raw-palette",
2350
- "arbitrary-color",
2351
- "inline-color",
2352
- "daisyui-legacy",
2353
- "interpolated-arbitrary"
2354
- ];
2355
-
2356
- class StyleGuard {
2357
- run(files) {
2358
- const out = [];
2359
- for (const file of files) {
2360
- const directives = this.#parseDirectives(file.content);
2361
- const scan = this.#stripComments(file.content);
2362
- const local = [];
2363
- this.#scanClassLiterals(file, scan, local);
2364
- this.#scanInlineColors(file, scan, local);
2365
- for (const v of local)
2366
- if (!this.#isSuppressed(v, directives))
2367
- out.push(v);
2368
- }
2369
- return out;
2370
- }
2371
- #stripComments(src) {
2372
- const out = src.split("");
2373
- const blank = (i2) => {
2374
- if (src[i2] !== `
2375
- `)
2376
- out[i2] = " ";
2377
- };
2378
- let state = "code";
2379
- let i = 0;
2380
- while (i < src.length) {
2381
- const c = src[i];
2382
- const d = src[i + 1];
2383
- if (state === "code") {
2384
- if (c === "/" && d === "/") {
2385
- blank(i);
2386
- blank(i + 1);
2387
- state = "line";
2388
- i += 2;
2389
- } else if (c === "/" && d === "*") {
2390
- blank(i);
2391
- blank(i + 1);
2392
- state = "block";
2393
- i += 2;
2394
- } else {
2395
- if (c === "'")
2396
- state = "squote";
2397
- else if (c === '"')
2398
- state = "dquote";
2399
- else if (c === "`")
2400
- state = "template";
2401
- i++;
2402
- }
2403
- } else if (state === "line") {
2404
- if (c === `
2405
- `)
2406
- state = "code";
2407
- else
2408
- blank(i);
2409
- i++;
2410
- } else if (state === "block") {
2411
- if (c === "*" && d === "/") {
2412
- blank(i);
2413
- blank(i + 1);
2414
- state = "code";
2415
- i += 2;
2416
- } else {
2417
- blank(i);
2418
- i++;
2419
- }
2420
- } else {
2421
- const close = state === "squote" ? "'" : state === "dquote" ? '"' : "`";
2422
- if (c === "\\")
2423
- i += 2;
2424
- else {
2425
- if (c === close)
2426
- state = "code";
2427
- i++;
2428
- }
2429
- }
2430
- }
2431
- return out.join("");
2432
- }
2433
- #parseDirectives(content) {
2434
- const directives = { file: null, nextLine: new Map };
2435
- const lines = content.split(`
2436
- `);
2437
- for (let i = 0;i < lines.length; i++) {
2438
- const line = lines[i];
2439
- const nextLineMatch = line.match(/styleguard-disable-next-line\b(.*)$/);
2440
- if (nextLineMatch) {
2441
- directives.nextLine.set(i + 2, this.#extractRules(nextLineMatch[1]));
2442
- continue;
2443
- }
2444
- const fileMatch = line.match(/styleguard-disable\b(.*)$/);
2445
- if (fileMatch)
2446
- directives.file = this.#mergeFileScope(directives.file, this.#extractRules(fileMatch[1]));
2447
- }
2448
- return directives;
2449
- }
2450
- #extractRules(tail) {
2451
- const found = ALL_RULES.filter((rule) => tail.includes(rule));
2452
- return found.length === 0 ? "all" : new Set(found);
2453
- }
2454
- #mergeFileScope(prev, next) {
2455
- if (prev === "all" || next === "all")
2456
- return "all";
2457
- return new Set([...prev ?? [], ...next]);
2458
- }
2459
- #isSuppressed(v, directives) {
2460
- if (directives.file === "all" || directives.file?.has(v.rule))
2461
- return true;
2462
- const nextLine = directives.nextLine.get(v.line);
2463
- return nextLine === "all" || (nextLine?.has(v.rule) ?? false);
2464
- }
2465
- #scanClassLiterals(file, scan, out) {
2466
- for (const m of scan.matchAll(RAW_PALETTE_RE)) {
2467
- out.push(this.#violation(file, m.index ?? 0, {
2468
- rule: "raw-palette",
2469
- severity: "error",
2470
- suggestion: "\uC2DC\uB9E8\uD2F1 \uD1A0\uD070\uC73C\uB85C \uAD50\uCCB4\uD558\uC138\uC694 \u2014 \uC608: text-gray-500\u2192text-muted-foreground, bg-red-500\u2192bg-destructive, bg-blue-500\u2192bg-info. \uBE0C\uB79C\uB4DC \uC0C9\uC740 page/styles.css \uD1A0\uD070\uC5D0\uC11C \uC870\uC815\uD569\uB2C8\uB2E4."
2471
- }));
2472
- }
2473
- for (const m of scan.matchAll(ARBITRARY_COLOR_RE)) {
2474
- out.push(this.#violation(file, m.index ?? 0, {
2475
- rule: "arbitrary-color",
2476
- severity: "error",
2477
- suggestion: "\uC784\uC758 \uC0C9 \uB9AC\uD130\uB7F4 \uB300\uC2E0 \uD1A0\uD070\uC744 \uC4F0\uC138\uC694 \u2014 bg-[#3b82f6]\u2192bg-info, text-[rgb(...)]\u2192\uC2DC\uB9E8\uD2F1 \uD1A0\uD070. \uAF2D \uD544\uC694\uD558\uBA74 \uC2A4\uCF54\uD504 \uD1A0\uD070(.campaign-x { --primary: \u2026 })\uC744 \uC815\uC758\uD558\uC138\uC694."
2478
- }));
2479
- }
2480
- for (const m of scan.matchAll(DAISYUI_LEGACY_RE)) {
2481
- out.push(this.#violation(file, m.index ?? 0, {
2482
- rule: "daisyui-legacy",
2483
- severity: "error",
2484
- suggestion: "daisyUI \uD074\uB798\uC2A4\uB294 \uC81C\uAC70\uB410\uC2B5\uB2C8\uB2E4. akanjs/ui \uD504\uB9AC\uBBF8\uD2F0\uBE0C(Button/Badge \uB4F1)\uB098 buttonRecipe()/badgeRecipe() + \uC2DC\uB9E8\uD2F1 \uD1A0\uD070\uC73C\uB85C \uAD50\uCCB4\uD558\uC138\uC694."
2485
- }));
2486
- }
2487
- for (const m of scan.matchAll(INTERPOLATED_ARBITRARY_RE)) {
2488
- out.push(this.#violation(file, m.index ?? 0, {
2489
- rule: "interpolated-arbitrary",
2490
- severity: "error",
2491
- suggestion: "\uB7F0\uD0C0\uC784 \uAC12\uC73C\uB85C \uC784\uC758\uAC12 \uD074\uB798\uC2A4\uB97C \uC870\uB9BD\uD558\uBA74 CSS \uAC00 \uC0DD\uC131\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4(\uC2A4\uCE90\uB108\uB294 \uC18C\uC2A4 \uD14D\uC2A4\uD2B8\uB97C \uC77D\uC2B5\uB2C8\uB2E4). \uD06C\uAE30/\uC704\uCE58\uB294 style prop \uC73C\uB85C \uB118\uAE30\uC138\uC694 \u2014 style={{ minHeight }}. \uAC12\uC774 enum \uC774\uBA74 \uB9AC\uD130\uB7F4 \uD074\uB798\uC2A4 \uB9F5\uC73C\uB85C \uB450\uC138\uC694."
2492
- }));
2493
- }
2494
- }
2495
- #scanInlineColors(file, scan, out) {
2496
- const push = (index) => out.push(this.#violation(file, index, {
2497
- rule: "inline-color",
2498
- severity: "error",
2499
- suggestion: "\uC778\uB77C\uC778 \uC0C9 \uB9AC\uD130\uB7F4 \uB300\uC2E0 CSS \uBCC0\uC218/\uD1A0\uD070\uC744 \uCC38\uC870\uD558\uC138\uC694 \u2014 style={{ color: 'var(--primary)' }} \uB610\uB294 \uC2DC\uB9E8\uD2F1 \uD074\uB798\uC2A4(text-primary). \uD558\uB4DC\uCF54\uB529 hex/rgb \uB294 \uD14C\uB9C8 \uC804\uD658\uC744 \uAE68\uB728\uB9BD\uB2C8\uB2E4."
2500
- }));
2501
- for (const region of [STYLE_OBJECT_RE, STYLE_TAG_RE]) {
2502
- for (const m of scan.matchAll(region)) {
2503
- const inner = m[1] ?? "";
2504
- const innerStart = (m.index ?? 0) + m[0].indexOf(inner);
2505
- for (const lit of inner.matchAll(INLINE_COLOR_LITERAL_RE)) {
2506
- push(innerStart + (lit.index ?? 0));
2507
- }
2508
- }
2509
- }
2510
- }
2511
- #violation(file, index, base) {
2512
- const before = file.content.slice(0, index);
2513
- const line = before.length === 0 ? 1 : before.split(`
2514
- `).length;
2515
- const lineStart = before.lastIndexOf(`
2516
- `) + 1;
2517
- const lineEnd = file.content.indexOf(`
2518
- `, index);
2519
- const snippet = file.content.slice(lineStart, lineEnd === -1 ? undefined : lineEnd).trim();
2520
- return { ...base, path: file.path, line, snippet };
2521
- }
2522
- static countNamedComponentClasses(css) {
2523
- const names = new Set;
2524
- const layerRe = /@layer\s+components\s*\{/g;
2525
- for (const layer of css.matchAll(layerRe)) {
2526
- const bodyStart = (layer.index ?? 0) + layer[0].length;
2527
- const body = StyleGuard.#extractBalanced(css, bodyStart);
2528
- for (const sel of body.matchAll(/(^|[\s}])\.(-?[a-zA-Z_][\w-]*)/g))
2529
- names.add(sel[2]);
2530
- }
2531
- return { count: names.size, names: [...names].sort() };
2532
- }
2533
- static #extractBalanced(css, start) {
2534
- let depth = 1;
2535
- for (let i = start;i < css.length; i++) {
2536
- const ch = css[i];
2537
- if (ch === "{")
2538
- depth++;
2539
- else if (ch === "}") {
2540
- depth--;
2541
- if (depth === 0)
2542
- return css.slice(start, i);
2543
- }
2544
- }
2545
- return css.slice(start);
2546
- }
2547
- }
2548
2343
  export { AllRoutesBuilder, CsrArtifactBuilder, CssCompiler, FontOptimizer, PagesBundleBuilder, precompressArtifacts, SsrBaseArtifactBuilder };
@@ -1,14 +1,14 @@
1
1
  // @bun
2
2
  import {
3
3
  LibraryScript
4
- } from "./index-p42te6qb.js";
4
+ } from "./index-73rnbwgg.js";
5
5
  import {
6
6
  resolveMobileTargets
7
7
  } from "./index-76rn3g2c.js";
8
8
  import {
9
9
  runner,
10
10
  script
11
- } from "./index-bkwnr08k.js";
11
+ } from "./index-n706txcv.js";
12
12
  import {
13
13
  HmrWatcher,
14
14
  WatchRootResolver
@@ -18,10 +18,10 @@ import {
18
18
  LibExecutor,
19
19
  PkgExecutor,
20
20
  WorkspaceExecutor
21
- } from "./index-1twehz1x.js";
21
+ } from "./index-8vkkm7v0.js";
22
22
  import {
23
23
  __require
24
- } from "./index-r24hmh0q.js";
24
+ } from "./index-yb2wsc7f.js";
25
25
 
26
26
  // pkgs/@akanjs/devkit/applicationBuildReporter.ts
27
27
  import { Logger } from "akanjs/common";
@@ -1898,10 +1898,10 @@ function openBrowser(url) {
1898
1898
  }
1899
1899
 
1900
1900
  // pkgs/@akanjs/cli/application/application.runner.ts
1901
- var loadBuildRunner = async () => (await import("./applicationBuildRunner-9ps10a0h.js")).ApplicationBuildRunner;
1902
- var loadReleasePackager = async () => (await import("./applicationReleasePackager-gg8ccbeh.js")).ApplicationReleasePackager;
1903
- var loadCapacitorApp = async () => (await import("./capacitorApp-9ejk3k7q.js")).CapacitorApp;
1904
- var loadAbstractCompactor = async () => (await import("./abstractCompactor-e5yq60qz.js")).AbstractCompactor;
1901
+ var loadBuildRunner = async () => (await import("./applicationBuildRunner-sgr3aq5b.js")).ApplicationBuildRunner;
1902
+ var loadReleasePackager = async () => (await import("./applicationReleasePackager-93nzdfsy.js")).ApplicationReleasePackager;
1903
+ var loadCapacitorApp = async () => (await import("./capacitorApp-qv7g3dp2.js")).CapacitorApp;
1904
+ var loadAbstractCompactor = async () => (await import("./abstractCompactor-khr60389.js")).AbstractCompactor;
1905
1905
  var loadPrompts = async () => await import("@inquirer/prompts");
1906
1906
 
1907
1907
  class ApplicationRunner extends runner("application") {
@@ -1,17 +1,17 @@
1
1
  // @bun
2
2
  import {
3
3
  AkanContextAnalyzer
4
- } from "./index-djh5gpb7.js";
4
+ } from "./index-g9e2fhw2.js";
5
5
  import {
6
6
  createRepairReport,
7
7
  generatedFilePathsForTarget,
8
8
  renderRepairReport,
9
9
  writeGeneratedSyncState,
10
10
  writeWorkflowRunArtifact
11
- } from "./index-9s991k9v.js";
11
+ } from "./index-tsmjxph2.js";
12
12
  import {
13
13
  runner
14
- } from "./index-bkwnr08k.js";
14
+ } from "./index-n706txcv.js";
15
15
 
16
16
  // pkgs/@akanjs/cli/repair/repair.runner.ts
17
17
  var commandForShell = (command) => command.startsWith("akan ") ? `bun run ${command}` : command;
package/index.js CHANGED
@@ -4,36 +4,36 @@ import {
4
4
  getTargetCommandNames,
5
5
  getTargetMetas,
6
6
  runCommands
7
- } from "./index-bkwnr08k.js";
8
- import"./index-1twehz1x.js";
7
+ } from "./index-n706txcv.js";
8
+ import"./index-8vkkm7v0.js";
9
9
  import"./index-mxvakhsm.js";
10
10
  import"./index-1577bej2.js";
11
11
  import"./index-67546d0j.js";
12
12
  import {
13
13
  __require
14
- } from "./index-r24hmh0q.js";
14
+ } from "./index-yb2wsc7f.js";
15
15
 
16
16
  // pkgs/@akanjs/cli/commandManifest.ts
17
17
  import path from "path";
18
18
 
19
19
  // pkgs/@akanjs/cli/commandModules.ts
20
20
  var commandModules = {
21
- workspace: async () => (await import("./workspace.command-gr8z82z9.js")).WorkspaceCommand,
22
- agent: async () => (await import("./agent.command-h6tc0pzh.js")).AgentCommand,
23
- application: async () => (await import("./application.command-kphnfwyg.js")).ApplicationCommand,
24
- library: async () => (await import("./library.command-wbptp6q3.js")).LibraryCommand,
25
- localRegistry: async () => (await import("./localRegistry.command-6ea3pgq0.js")).LocalRegistryCommand,
26
- package: async () => (await import("./package.command-ph2m34tv.js")).PackageCommand,
27
- module: async () => (await import("./module.command-ghkf919z.js")).ModuleCommand,
28
- page: async () => (await import("./page.command-atnzfn88.js")).PageCommand,
29
- context: async () => (await import("./context.command-pkbccyys.js")).ContextCommand,
30
- cloud: async () => (await import("./cloud.command-zn6mfscb.js")).CloudCommand,
31
- guideline: async () => (await import("./guideline.command-0jj2k77g.js")).GuidelineCommand,
32
- scalar: async () => (await import("./scalar.command-xdjhvsgb.js")).ScalarCommand,
33
- primitive: async () => (await import("./primitive.command-7qbdhfc2.js")).PrimitiveCommand,
34
- quality: async () => (await import("./quality.command-1ff2xcra.js")).QualityCommand,
35
- repair: async () => (await import("./repair.command-weakn0yr.js")).RepairCommand,
36
- workflow: async () => (await import("./workflow.command-msm2tjee.js")).WorkflowCommand
21
+ workspace: async () => (await import("./workspace.command-9ncr56g4.js")).WorkspaceCommand,
22
+ agent: async () => (await import("./agent.command-e835fjem.js")).AgentCommand,
23
+ application: async () => (await import("./application.command-bexm4597.js")).ApplicationCommand,
24
+ library: async () => (await import("./library.command-v5cyaw9t.js")).LibraryCommand,
25
+ localRegistry: async () => (await import("./localRegistry.command-tqnh5g77.js")).LocalRegistryCommand,
26
+ package: async () => (await import("./package.command-qkcs60ts.js")).PackageCommand,
27
+ module: async () => (await import("./module.command-wxsvyadc.js")).ModuleCommand,
28
+ page: async () => (await import("./page.command-qj5bfnh9.js")).PageCommand,
29
+ context: async () => (await import("./context.command-q8r0tge3.js")).ContextCommand,
30
+ cloud: async () => (await import("./cloud.command-v44fdp23.js")).CloudCommand,
31
+ guideline: async () => (await import("./guideline.command-pye36g73.js")).GuidelineCommand,
32
+ scalar: async () => (await import("./scalar.command-0yvwfv8m.js")).ScalarCommand,
33
+ primitive: async () => (await import("./primitive.command-c5jtk3e9.js")).PrimitiveCommand,
34
+ quality: async () => (await import("./quality.command-f8drhx6c.js")).QualityCommand,
35
+ repair: async () => (await import("./repair.command-mzwtejpk.js")).RepairCommand,
36
+ workflow: async () => (await import("./workflow.command-ak6at7nz.js")).WorkflowCommand
37
37
  };
38
38
  var commandModuleIds = Object.keys(commandModules);
39
39
 
@@ -1,17 +1,17 @@
1
1
  // @bun
2
2
  import {
3
3
  LibraryScript
4
- } from "./index-p42te6qb.js";
4
+ } from "./index-73rnbwgg.js";
5
5
  import {
6
6
  Lib,
7
7
  Workspace,
8
8
  command
9
- } from "./index-bkwnr08k.js";
10
- import"./index-1twehz1x.js";
9
+ } from "./index-n706txcv.js";
10
+ import"./index-8vkkm7v0.js";
11
11
  import"./index-mxvakhsm.js";
12
12
  import"./index-1577bej2.js";
13
13
  import"./index-67546d0j.js";
14
- import"./index-r24hmh0q.js";
14
+ import"./index-yb2wsc7f.js";
15
15
 
16
16
  // pkgs/@akanjs/cli/library/library.command.ts
17
17
  class LibraryCommand extends command("library", [LibraryScript], ({ public: target }) => ({
@@ -2,32 +2,32 @@
2
2
  import {
3
3
  CloudRunner,
4
4
  getNpmRegistryUrl
5
- } from "./index-96vpa123.js";
5
+ } from "./index-fb2wa7j3.js";
6
6
  import {
7
7
  PackageScript
8
- } from "./index-xwfkgss0.js";
8
+ } from "./index-33zce8gt.js";
9
9
  import"./index-0cj2zxbm.js";
10
10
  import {
11
11
  ApplicationScript
12
- } from "./index-rv16ck4r.js";
13
- import"./index-p42te6qb.js";
12
+ } from "./index-x2w0y8sz.js";
13
+ import"./index-73rnbwgg.js";
14
14
  import"./index-76rn3g2c.js";
15
15
  import {
16
16
  Workspace,
17
17
  command,
18
18
  runner,
19
19
  script
20
- } from "./index-bkwnr08k.js";
20
+ } from "./index-n706txcv.js";
21
21
  import"./index-fgc8r6dj.js";
22
22
  import"./index-bjpxzr6s.js";
23
23
  import {
24
24
  PkgExecutor
25
- } from "./index-1twehz1x.js";
25
+ } from "./index-8vkkm7v0.js";
26
26
  import"./index-mxvakhsm.js";
27
27
  import"./index-1577bej2.js";
28
28
  import"./index-46tjzh6s.js";
29
29
  import"./index-67546d0j.js";
30
- import"./index-r24hmh0q.js";
30
+ import"./index-yb2wsc7f.js";
31
31
 
32
32
  // pkgs/@akanjs/cli/localRegistry/localRegistry.runner.ts
33
33
  import { mkdir, rm } from "fs/promises";
@@ -1,24 +1,24 @@
1
1
  // @bun
2
2
  import {
3
3
  ModuleScript
4
- } from "./index-aak9cctp.js";
4
+ } from "./index-myy6xy5w.js";
5
5
  import"./index-ss469dec.js";
6
- import"./index-gyvrhtpm.js";
6
+ import"./index-qc0tnhs2.js";
7
7
  import"./index-0cj2zxbm.js";
8
8
  import {
9
9
  renderPrimitiveReport
10
- } from "./index-9s991k9v.js";
10
+ } from "./index-tsmjxph2.js";
11
11
  import"./index-j37qq1f2.js";
12
12
  import {
13
13
  Module,
14
14
  Sys,
15
15
  command
16
- } from "./index-bkwnr08k.js";
17
- import"./index-1twehz1x.js";
16
+ } from "./index-n706txcv.js";
17
+ import"./index-8vkkm7v0.js";
18
18
  import"./index-mxvakhsm.js";
19
19
  import"./index-1577bej2.js";
20
20
  import"./index-67546d0j.js";
21
- import"./index-r24hmh0q.js";
21
+ import"./index-yb2wsc7f.js";
22
22
 
23
23
  // pkgs/@akanjs/cli/module/module.command.ts
24
24
  import { Logger, lowerlize } from "akanjs/common";
@@ -1,18 +1,18 @@
1
1
  // @bun
2
2
  import {
3
3
  PackageScript
4
- } from "./index-xwfkgss0.js";
4
+ } from "./index-33zce8gt.js";
5
5
  import {
6
6
  Pkg,
7
7
  Workspace,
8
8
  command
9
- } from "./index-bkwnr08k.js";
10
- import"./index-1twehz1x.js";
9
+ } from "./index-n706txcv.js";
10
+ import"./index-8vkkm7v0.js";
11
11
  import"./index-mxvakhsm.js";
12
12
  import"./index-1577bej2.js";
13
13
  import"./index-46tjzh6s.js";
14
14
  import"./index-67546d0j.js";
15
- import"./index-r24hmh0q.js";
15
+ import"./index-yb2wsc7f.js";
16
16
 
17
17
  // pkgs/@akanjs/cli/package/package.command.ts
18
18
  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.0.0-alpha.15",
3
+ "version": "3.0.0-alpha.17",
4
4
  "sourceType": "module",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -14,7 +14,7 @@
14
14
  "directory": "pkgs/@akanjs/cli"
15
15
  },
16
16
  "engines": {
17
- "bun": ">=1.3.13"
17
+ "bun": ">=1.4.0"
18
18
  },
19
19
  "bin": {
20
20
  "akan": "./index.js",
@@ -34,7 +34,7 @@
34
34
  "@langchain/openai": "^1.4.6",
35
35
  "@tailwindcss/node": "^4.3.0",
36
36
  "@trapezedev/project": "^7.1.4",
37
- "akanjs": "3.0.0-alpha.15",
37
+ "akanjs": "3.0.0-alpha.17",
38
38
  "chalk": "^5.6.2",
39
39
  "commander": "^14.0.3",
40
40
  "dayjs": "^1.11.20",
@@ -42,7 +42,6 @@
42
42
  "fonteditor-core": "^2.6.3",
43
43
  "ignore": "^7.0.5",
44
44
  "ink": "^6.8.0",
45
- "js-yaml": "^4.1.1",
46
45
  "ora": "^9.4.0",
47
46
  "qrcode": "^1.5.4",
48
47
  "react": "19.2.7",
@@ -1,17 +1,17 @@
1
1
  // @bun
2
2
  import {
3
3
  PageScript
4
- } from "./index-gyvrhtpm.js";
4
+ } from "./index-qc0tnhs2.js";
5
5
  import {
6
6
  App,
7
7
  Module,
8
8
  command
9
- } from "./index-bkwnr08k.js";
10
- import"./index-1twehz1x.js";
9
+ } from "./index-n706txcv.js";
10
+ import"./index-8vkkm7v0.js";
11
11
  import"./index-mxvakhsm.js";
12
12
  import"./index-1577bej2.js";
13
13
  import"./index-67546d0j.js";
14
- import"./index-r24hmh0q.js";
14
+ import"./index-yb2wsc7f.js";
15
15
 
16
16
  // pkgs/@akanjs/cli/page/page.command.ts
17
17
  class PageCommand extends command("page", [PageScript], ({ public: target }) => ({
@@ -1,24 +1,24 @@
1
1
  // @bun
2
2
  import {
3
3
  PrimitiveScript
4
- } from "./index-4v0wvt37.js";
5
- import"./index-aak9cctp.js";
4
+ } from "./index-hxp90q94.js";
5
+ import"./index-myy6xy5w.js";
6
6
  import"./index-ss469dec.js";
7
- import"./index-gyvrhtpm.js";
7
+ import"./index-qc0tnhs2.js";
8
8
  import"./index-0cj2zxbm.js";
9
9
  import {
10
10
  renderPrimitiveReport
11
- } from "./index-9s991k9v.js";
11
+ } from "./index-tsmjxph2.js";
12
12
  import"./index-j37qq1f2.js";
13
13
  import {
14
14
  Workspace,
15
15
  command
16
- } from "./index-bkwnr08k.js";
17
- import"./index-1twehz1x.js";
16
+ } from "./index-n706txcv.js";
17
+ import"./index-8vkkm7v0.js";
18
18
  import"./index-mxvakhsm.js";
19
19
  import"./index-1577bej2.js";
20
20
  import"./index-67546d0j.js";
21
- import"./index-r24hmh0q.js";
21
+ import"./index-yb2wsc7f.js";
22
22
 
23
23
  // pkgs/@akanjs/cli/primitive/primitive.command.ts
24
24
  import { Logger } from "akanjs/common";