@akanjs/cli 3.1.1-rc.15 → 3.1.1-rc.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 (71) hide show
  1. package/.build-stamp +1 -1
  2. package/{CodeAgent-gtwn7tmb.js → CodeAgent-23ewzxqa.js} +2 -2
  3. package/{CodeTui-v941fqdh.js → CodeTui-kc99fk78.js} +1 -1
  4. package/TunnelShare-dk2gw78d.js +14 -0
  5. package/{agent.command-h82gepwn.js → agent.command-knp5j7bq.js} +5 -5
  6. package/akanCode.js +2 -2
  7. package/{application.command-j1reb9p1.js → application.command-bvfd1680.js} +9 -9
  8. package/{applicationBuildRunner-w20x63mz.js → applicationBuildRunner-4ajaesk1.js} +6 -5
  9. package/buildBatch.proc.js +5 -5
  10. package/{cloud.command-zd2mfkm0.js → cloud.command-f2w40fyy.js} +13 -13
  11. package/cloud.script-2r82sv0f.js +24 -0
  12. package/{code.command-dyet4xn6.js → code.command-dbhhnahn.js} +6 -6
  13. package/{context.command-79gxczm4.js → context.command-yswjwv6y.js} +17 -16
  14. package/context.runner-c3wsh2jw.js +26 -0
  15. package/{guideline.command-xwkskvky.js → guideline.command-ztx6dkpk.js} +2 -2
  16. package/guidelines/conventions/conventions.instruction.md +56 -10
  17. package/incrementalBuilder.proc.js +3 -3
  18. package/{index-yknrmkmt.js → index-005dqc83.js} +2 -2
  19. package/{index-qmeh0s05.js → index-00ke4phc.js} +2 -2
  20. package/{index-hdzjaq7s.js → index-2epb3wgh.js} +2 -2
  21. package/{index-rshwdv9w.js → index-2p1brf5e.js} +2 -2
  22. package/{index-wvvwdzfw.js → index-4332q6yj.js} +3 -3
  23. package/{index-6pzt55w3.js → index-4t4qb8jg.js} +3 -3
  24. package/{index-7ktk2hnz.js → index-76jwsm3g.js} +2 -2
  25. package/{index-tzzs52h0.js → index-7ndgffg4.js} +9 -9
  26. package/{index-1e2955yd.js → index-921cxqrd.js} +3 -1
  27. package/{index-8jb5ep2e.js → index-97fsvy66.js} +2 -2
  28. package/{index-pc9ps0hx.js → index-9sa6abze.js} +8 -8
  29. package/{index-jjd97ya6.js → index-deeskxjh.js} +1 -1
  30. package/{index-cz9g85xh.js → index-er16p89s.js} +1 -1
  31. package/{index-ygy8c12j.js → index-gxj80jz7.js} +1 -1
  32. package/index-hvg3esm0.js +1844 -0
  33. package/{index-41d3zx66.js → index-k9k18vq9.js} +3 -3
  34. package/{index-nmy1rana.js → index-m54n0v29.js} +4 -4
  35. package/index-m5n3ka0p.js +18 -0
  36. package/{index-brpk7gd8.js → index-m6qgr1rx.js} +7 -7
  37. package/{index-553xyb55.js → index-m93qg20j.js} +1 -1
  38. package/{index-4rwfh2de.js → index-mk391h0z.js} +3 -3
  39. package/{index-ch1sv7ke.js → index-nzfgyw3b.js} +9 -21
  40. package/{index-2qzzp0c9.js → index-p2pahmsa.js} +3 -3
  41. package/{index-kbbyzs6j.js → index-qx4r4cj2.js} +2 -2
  42. package/index-rxse80x6.js +408 -0
  43. package/{index-kr62ph5a.js → index-s4c2y5gs.js} +2 -2
  44. package/{index-jtydvvq7.js → index-saj9cx3a.js} +4 -4
  45. package/index-vgt25eh1.js +615 -0
  46. package/{index-8rvwgd1r.js → index-vq77g679.js} +1 -1
  47. package/{index-xeh7m2j5.js → index-xfp4dcnx.js} +1 -1
  48. package/{index-pqdz7rat.js → index-xjwcp91m.js} +910 -36
  49. package/{index-7abjzny1.js → index-ysyt782g.js} +33 -37
  50. package/index.js +22 -22
  51. package/{library.command-td8t85kb.js → library.command-hmbkcwzw.js} +3 -3
  52. package/{localRegistry.command-jx9zkmxf.js → localRegistry.command-sq5p4c9x.js} +15 -13
  53. package/{module.command-j70mqgpp.js → module.command-n4z29zcv.js} +5 -5
  54. package/{package.command-1b1v6k5v.js → package.command-20025dy3.js} +3 -3
  55. package/package.json +2 -2
  56. package/{page.command-m31w2tsz.js → page.command-q8fvpjer.js} +3 -3
  57. package/{pipeline.command-q7b8wy55.js → pipeline.command-8j97fq88.js} +2 -2
  58. package/{primitive.command-4zrbhkb9.js → primitive.command-e5y6dqp1.js} +6 -6
  59. package/{projectTypecheck-synx6qff.js → projectTypecheck-tbdye9k3.js} +1 -1
  60. package/{quality.command-cy0pgqjz.js → quality.command-168pt5vm.js} +621 -311
  61. package/{repair.command-98n6zxg7.js → repair.command-dq1gckth.js} +5 -5
  62. package/{scalar.command-rak5pjk3.js → scalar.command-5vwf152w.js} +4 -4
  63. package/{subspace.command-ej0rk116.js → subspace.command-182be8vj.js} +8 -8
  64. package/{tunnel.command-kdx3amrc.js → tunnel.command-bfzj7xkb.js} +7 -7
  65. package/{workflow.command-gffk9nj9.js → workflow.command-3g53242s.js} +37 -13
  66. package/workspace.command-h7399jwv.js +260 -0
  67. package/TunnelShare-26ty9skr.js +0 -14
  68. package/cloud.script-vdj8ymch.js +0 -24
  69. package/context.runner-ejag7mhr.js +0 -25
  70. package/index-y5m4j2w6.js +0 -856
  71. package/workspace.command-097hv6n1.js +0 -521
@@ -9,10 +9,10 @@ import {
9
9
  UpdatePackFolder,
10
10
  NativePublicEnv,
11
11
  NativeApp
12
- } from "./index-2qzzp0c9.js";
12
+ } from "./index-p2pahmsa.js";
13
13
  import {
14
14
  ExitCodeError
15
- } from "./index-qmeh0s05.js";
15
+ } from "./index-00ke4phc.js";
16
16
  import {
17
17
  ConfigLock
18
18
  } from "./index-bqbf654f.js";
@@ -41,7 +41,7 @@ import {
41
41
  script,
42
42
  markCliErrorPrinted,
43
43
  assertPromptable
44
- } from "./index-qmeh0s05.js";
44
+ } from "./index-00ke4phc.js";
45
45
  import {
46
46
  AppInfo,
47
47
  CommandExecutionError,
@@ -50,30 +50,30 @@ import {
50
50
  AppExecutor,
51
51
  LibExecutor,
52
52
  PkgExecutor
53
- } from "./index-1e2955yd.js";
53
+ } from "./index-921cxqrd.js";
54
54
  import {
55
55
  UpdatePackFolder,
56
56
  UpdateUploader,
57
57
  NativePublicEnv,
58
58
  NativeApp
59
- } from "./index-2qzzp0c9.js";
59
+ } from "./index-p2pahmsa.js";
60
60
  import {
61
61
  DesktopServerStage
62
- } from "./index-8rvwgd1r.js";
62
+ } from "./index-vq77g679.js";
63
63
  import {
64
64
  resolveMobileTargets,
65
65
  resolveAppId
66
66
  } from "./index-m9jj544v.js";
67
67
  import {
68
68
  LibraryScript
69
- } from "./index-rshwdv9w.js";
69
+ } from "./index-2p1brf5e.js";
70
70
  import {
71
71
  stripAnsi
72
72
  } from "./index-7md2g9vw.js";
73
73
  import {
74
74
  SlicePlanner,
75
75
  formatSlicePlan
76
- } from "./index-553xyb55.js";
76
+ } from "./index-m93qg20j.js";
77
77
  import {
78
78
  openBrowser
79
79
  } from "./index-9dp031by.js";
@@ -1909,7 +1909,7 @@ ${uniqueCandidates.map((candidate) => ` - ${candidate}`).join(`
1909
1909
 
1910
1910
  // pkgs/@akanjs/cli/application/application.runner.ts
1911
1911
  import { Logger as Logger3, toError } from "akanjs/common";
1912
- var loadBuildRunner = async () => (await import("./applicationBuildRunner-w20x63mz.js")).ApplicationBuildRunner;
1912
+ var loadBuildRunner = async () => (await import("./applicationBuildRunner-4ajaesk1.js")).ApplicationBuildRunner;
1913
1913
  var loadPrompts = async () => await import("@inquirer/prompts");
1914
1914
 
1915
1915
  class ApplicationRunner extends runner("application") {
@@ -2110,7 +2110,7 @@ if (loaded) process.exitCode = await loaded.migrations.command(loaded.server, ar
2110
2110
  await new (await loadBuildRunner())(app).typecheck(options);
2111
2111
  }
2112
2112
  async typecheckLibrary(lib, options = {}) {
2113
- const { ProjectTypecheck } = await import("./projectTypecheck-synx6qff.js");
2113
+ const { ProjectTypecheck } = await import("./projectTypecheck-tbdye9k3.js");
2114
2114
  const root = lib.workspace.workspaceRoot;
2115
2115
  await new ProjectTypecheck(lib.cwdPath, root, { ...process.env, AKAN_WORKSPACE_ROOT: root }).run([
2116
2116
  "../../server.ts",
@@ -3717,7 +3717,7 @@ class ApplicationScript extends script("application", [ApplicationRunner, Librar
3717
3717
  await Promise.all(shares.map(async (share) => await share.close()));
3718
3718
  }, "Abandoning the tunnel release; the shares expire on their own.");
3719
3719
  await Promise.all(apps.map(async (app) => {
3720
- const { TunnelShare } = await import("./TunnelShare-26ty9skr.js");
3720
+ const { TunnelShare } = await import("./TunnelShare-dk2gw78d.js");
3721
3721
  const share = await TunnelShare.open(app, { workspace: app.workspace });
3722
3722
  shares.push(share);
3723
3723
  urls.set(app.name, share.url);
@@ -2292,6 +2292,7 @@ var appRootAllowedFiles = new Set([
2292
2292
  "AGENTS.md",
2293
2293
  "CLAUDE.md",
2294
2294
  "akan.app.json",
2295
+ "akan.baseline.json",
2295
2296
  "akan.config.ts",
2296
2297
  "client.ts",
2297
2298
  "main.ts",
@@ -2320,6 +2321,7 @@ var libRootAllowedFiles = new Set([
2320
2321
  "AGENTS.md",
2321
2322
  "CLAUDE.md",
2322
2323
  "README.md",
2324
+ "akan.baseline.json",
2323
2325
  "akan.config.ts",
2324
2326
  "akan.lib.json",
2325
2327
  "client.ts",
@@ -4326,4 +4328,4 @@ class ModuleExecutor extends Executor {
4326
4328
  }
4327
4329
  }
4328
4330
 
4329
- export { AGENT_BLOCK_START, AGENT_BLOCK_END, stampBlockVersion, extractBlockVersion, readDevkitVersion, upsertAgentBlock, extractAgentBlock, renderRecipeEntries, collectScopeRecipeSources, renderScopeAgentBlock, CLAUDE_COMMENT_RULE, binPlatforms, ServerEnvProfile, AkanAppConfig, AkanWorkspaceConfig, AsyncDefaultExportDetector, resolveSsrPageEntriesForApp, CodegenLock, Linter, LibSource, formatLibStatuses, rootAllowedFiles, rootAllowedDirs, isAllowedLibFacetRootFile, libFacetRootHintOf, barrelFacetDirs, facetIndexShadowOf, rootEntryHintOf, isScannedRootEntry, AppInfo, Spinner, ProjectTypecheck2, CommandExecutionError, Executor, WorkspaceExecutor, SysExecutor, AppExecutor, LibExecutor, PkgExecutor, ModuleExecutor };
4331
+ export { AGENT_BLOCK_START, AGENT_BLOCK_END, stampBlockVersion, extractBlockVersion, readDevkitVersion, upsertAgentBlock, extractAgentBlock, renderRecipeEntries, collectScopeRecipeSources, renderScopeAgentBlock, CLAUDE_COMMENT_RULE, binPlatforms, ServerEnvProfile, AkanAppConfig, AkanWorkspaceConfig, AsyncDefaultExportDetector, resolveSsrPageEntriesForApp, CodegenLock, JsonFormatter, Linter, LibSource, formatLibStatuses, rootAllowedFiles, rootAllowedDirs, isAllowedLibFacetRootFile, libFacetRootHintOf, barrelFacetDirs, facetIndexShadowOf, rootEntryHintOf, isScannedRootEntry, AppInfo, Spinner, ProjectTypecheck2, CommandExecutionError, Executor, WorkspaceExecutor, SysExecutor, AppExecutor, LibExecutor, PkgExecutor, ModuleExecutor };
@@ -19,11 +19,11 @@ import {
19
19
  CsrDevPaths,
20
20
  PagesEntrySourceGenerator,
21
21
  PagesBundleBuilder
22
- } from "./index-cz9g85xh.js";
22
+ } from "./index-er16p89s.js";
23
23
  import {
24
24
  AsyncDefaultExportDetector,
25
25
  resolveSsrPageEntriesForApp
26
- } from "./index-1e2955yd.js";
26
+ } from "./index-921cxqrd.js";
27
27
 
28
28
  // pkgs/@akanjs/devkit/frontendBuild/autoImportSync.ts
29
29
  import { readdir, readFile, stat } from "fs/promises";
@@ -1,13 +1,13 @@
1
1
  // @bun
2
2
  import {
3
3
  AppExecutor
4
- } from "./index-1e2955yd.js";
4
+ } from "./index-921cxqrd.js";
5
5
  import {
6
6
  jsonText,
7
7
  createWorkflowBaselineSummary,
8
8
  buildAkanModuleContextIndex,
9
9
  toolingRolloutGate
10
- } from "./index-pqdz7rat.js";
10
+ } from "./index-xjwcp91m.js";
11
11
  import {
12
12
  buildResourceList,
13
13
  codexMcpConfigPath,
@@ -17,16 +17,16 @@ import {
17
17
  upsertCodexMcpServerBlock,
18
18
  renderDoctorText,
19
19
  AkanContextAnalyzer
20
- } from "./index-kr62ph5a.js";
20
+ } from "./index-s4c2y5gs.js";
21
21
  import {
22
22
  runner
23
- } from "./index-qmeh0s05.js";
23
+ } from "./index-00ke4phc.js";
24
24
  import {
25
25
  NativeApp
26
- } from "./index-2qzzp0c9.js";
26
+ } from "./index-p2pahmsa.js";
27
27
  import {
28
28
  isPlaceholderAppId
29
- } from "./index-8rvwgd1r.js";
29
+ } from "./index-vq77g679.js";
30
30
  import {
31
31
  getMobileTargets,
32
32
  appIdsOf
@@ -36,10 +36,10 @@ import {
36
36
  } from "./index-zzvvc845.js";
37
37
  import {
38
38
  RepairRunner
39
- } from "./index-wvvwdzfw.js";
39
+ } from "./index-4332q6yj.js";
40
40
  import {
41
41
  WorkflowRunner
42
- } from "./index-y5m4j2w6.js";
42
+ } from "./index-rxse80x6.js";
43
43
 
44
44
  // pkgs/@akanjs/devkit/akanMcpContract.ts
45
45
  import path from "path";
@@ -179,7 +179,7 @@ class SubagentPool2 {
179
179
  }
180
180
  }
181
181
  async#run(id, kind, prompt, signal) {
182
- const { CodeAgent } = await import("./CodeAgent-gtwn7tmb.js");
182
+ const { CodeAgent } = await import("./CodeAgent-23ewzxqa.js");
183
183
  const budget = this.#options.parent.tools.subagent;
184
184
  const child = SubagentPool2.childOf(this.#options.parent, kind);
185
185
  const model = this.#options.model?.();
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  AsyncDefaultExportDetector,
4
4
  resolveSsrPageEntriesForApp
5
- } from "./index-1e2955yd.js";
5
+ } from "./index-921cxqrd.js";
6
6
  import {
7
7
  FileSys2
8
8
  } from "./index-52w0fvh8.js";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  runner,
4
4
  script
5
- } from "./index-qmeh0s05.js";
5
+ } from "./index-00ke4phc.js";
6
6
 
7
7
  // pkgs/@akanjs/cli/page/page.runner.ts
8
8
  class PageRunner extends runner("page") {