@akanjs/cli 3.3.0-rc.7 → 3.3.0-rc.9

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 (90) hide show
  1. package/.build-stamp +2 -2
  2. package/{CodeAgent-277k8f4q.js → CodeAgent-cqbf9gsv.js} +2 -2
  3. package/{CodeAgentRpcHost-6dzfkvsc.js → CodeAgentRpcHost-pwps2d67.js} +1 -1
  4. package/{CodeTui-rk7zw5mx.js → CodeTui-ehdr4hgw.js} +43 -3
  5. package/TunnelShare-0p4dy89e.js +16 -0
  6. package/{agent.command-m6scv9dh.js → agent.command-x55ncdjm.js} +17 -17
  7. package/akanCode.js +4 -4
  8. package/{appExecutor-qt1nm242.js → appExecutor-1ctzymwa.js} +3 -3
  9. package/{application.command-rdjx4678.js → application.command-xpntxnh8.js} +14 -14
  10. package/{applicationBuildRunner-6jkbfzmm.js → applicationBuildRunner-19c76791.js} +9 -9
  11. package/buildBatch.proc.js +10 -11
  12. package/{cloud.command-4kw1vbs0.js → cloud.command-p3ybjes7.js} +18 -18
  13. package/cloud.script-0dsyd10v.js +30 -0
  14. package/{code.command-87btt2a0.js → code.command-m6skj1kj.js} +31 -16
  15. package/{context.command-bbq2tdj4.js → context.command-3c3nv0d6.js} +18 -18
  16. package/context.runner-yyp7a112.js +32 -0
  17. package/{csrArtifactBuilder-wrqsfn1s.js → csrArtifactBuilder-mdh9ykn2.js} +2 -2
  18. package/{guideline.command-v2daz21k.js → guideline.command-725fq5p0.js} +6 -6
  19. package/guidelines/agentRule/agentRule.instruction.md +46 -7
  20. package/guidelines/conventions/rules/config.md +2 -1
  21. package/guidelines/errorCodes/errorCodes.instruction.md +4 -0
  22. package/guidelines/mcpRule/mcpRule.instruction.md +11 -4
  23. package/guidelines/runtimeRule/runtimeRule.instruction.md +68 -4
  24. package/incrementalBuilder.proc.js +8 -8
  25. package/{index-5ptvewmq.js → index-22bwg8hy.js} +1 -1
  26. package/{index-9f3reh2y.js → index-2v38x3ad.js} +12 -1
  27. package/{index-fqhr7j56.js → index-3a3vy2xy.js} +8 -8
  28. package/{index-eap5y4w5.js → index-3mj5trqc.js} +2 -2
  29. package/{index-zfmc4380.js → index-3r1crbct.js} +1 -1
  30. package/{index-sxnszzh7.js → index-3zkhg65e.js} +11 -11
  31. package/{index-m4s4tzjr.js → index-4r8dgm4x.js} +3 -3
  32. package/{index-94h6dxc3.js → index-4yvtqcme.js} +7 -7
  33. package/{index-vq0y1vr4.js → index-5ahe641t.js} +8 -8
  34. package/{index-w18qdjyf.js → index-8bta5pnr.js} +2 -2
  35. package/{index-cfzqdsam.js → index-9a9t77hz.js} +2 -2
  36. package/{index-bjg9thz8.js → index-9gjcbp2g.js} +1 -1
  37. package/{index-k29kg5c1.js → index-a4gcdffy.js} +485 -50
  38. package/{index-zas8gm0a.js → index-cbm9gzgx.js} +5 -5
  39. package/{index-bwhja4dj.js → index-ckcc9ab3.js} +8 -8
  40. package/{index-2t7jnfg5.js → index-crd99zqs.js} +1 -1
  41. package/{index-ewp82tjf.js → index-f4jydw2x.js} +1 -1
  42. package/{index-0vv0a5h8.js → index-fagjtk6m.js} +2 -2
  43. package/{index-8a4mnn65.js → index-fjqapyex.js} +31 -5
  44. package/{index-ghs8gtvp.js → index-h8w1n11r.js} +4 -4
  45. package/{index-999e5kp4.js → index-hxg6ctk2.js} +5 -5
  46. package/{index-0vtpxfx6.js → index-j2wq064m.js} +5 -5
  47. package/{index-2ktpwjgf.js → index-kbnvyhy4.js} +3 -3
  48. package/{index-jzwdwse0.js → index-m303nhv6.js} +6 -6
  49. package/{index-hfqc5n8e.js → index-nmdmkjt2.js} +4 -4
  50. package/{index-vznyyaf8.js → index-nnmw56fz.js} +5 -5
  51. package/{index-nd7tzzd9.js → index-pr9nypg7.js} +2 -2
  52. package/{index-4gxaerb7.js → index-pyjkbg8e.js} +2 -2
  53. package/{index-g7hm77j6.js → index-q63nbpv7.js} +3 -3
  54. package/{index-9jm7t0h5.js → index-qecrqpt6.js} +4 -21
  55. package/{index-6yefp97x.js → index-rdcgz02t.js} +4 -4
  56. package/{index-zx3bv21b.js → index-rt7q20sj.js} +1 -1
  57. package/{index-bsew0a12.js → index-se7n78fh.js} +1 -1
  58. package/{index-s4nvxpzm.js → index-sxbsrndq.js} +1 -1
  59. package/{index-nd69pk6t.js → index-t23dgyaf.js} +7 -7
  60. package/{index-609zbjve.js → index-v16gj2as.js} +83 -63
  61. package/{index-c1t41tk8.js → index-vnk1qwgr.js} +4 -4
  62. package/{index-8zxkjybr.js → index-wkwe91sn.js} +27 -17
  63. package/{index-3h0zqg41.js → index-wxqp1amd.js} +7 -7
  64. package/{index-c67vjafa.js → index-yey1envc.js} +1 -1
  65. package/index.js +27 -27
  66. package/{libExecutor-p21kkayq.js → libExecutor-n8hpm8s7.js} +2 -2
  67. package/{library.command-m4gw18qq.js → library.command-8abb26pg.js} +7 -7
  68. package/{localRegistry.command-edtbn4cy.js → localRegistry.command-sa211m1z.js} +17 -17
  69. package/{module.command-9vfdxapr.js → module.command-z3cwjf0p.js} +9 -9
  70. package/{package.command-rt4y8xaf.js → package.command-akynhtee.js} +8 -8
  71. package/package.json +2 -2
  72. package/{page.command-4zc20rnv.js → page.command-3fpdavk9.js} +7 -7
  73. package/{pipeline.command-4ekd9xgb.js → pipeline.command-ca95n8rd.js} +6 -6
  74. package/{pkgExecutor-mh903rz9.js → pkgExecutor-a73q41vx.js} +2 -2
  75. package/{primitive.command-5g3xe4mf.js → primitive.command-xwe9ggnf.js} +10 -10
  76. package/{projectTypecheck-bz6smek9.js → projectTypecheck-7g542ymk.js} +1 -1
  77. package/{quality.command-zf8dyc9w.js → quality.command-7wz7y8z1.js} +8 -8
  78. package/{repair.command-sx0eyq4w.js → repair.command-dej1qtfq.js} +9 -9
  79. package/{scalar.command-4bvzmbbh.js → scalar.command-z9qfxnvm.js} +8 -8
  80. package/skills/akan-agent/SKILL.md +8 -1
  81. package/skills/akan-code/SKILL.md +38 -3
  82. package/{subspace.command-tg85k9ry.js → subspace.command-9wekm4gn.js} +10 -10
  83. package/templates/localDev/docker-compose.yaml.template +2 -2
  84. package/{tunnel.command-t629kcm0.js → tunnel.command-cxc4h3j8.js} +9 -9
  85. package/{verify.command-837mthft.js → verify.command-j0w9dr5c.js} +14 -14
  86. package/{workflow.command-42p9g0w8.js → workflow.command-yt4sz04b.js} +14 -14
  87. package/{workspace.command-12egv8xq.js → workspace.command-8mp4mcp2.js} +31 -31
  88. package/TunnelShare-8pejh5jk.js +0 -16
  89. package/cloud.script-af2js02g.js +0 -30
  90. package/context.runner-ma47t32x.js +0 -32
@@ -1,37 +1,37 @@
1
1
  // @bun
2
2
  import {
3
3
  SysExecutor
4
- } from "./index-609zbjve.js";
4
+ } from "./index-v16gj2as.js";
5
5
  import {
6
6
  CliError
7
7
  } from "./index-j4yvgfhr.js";
8
8
  import {
9
9
  ApplicationBuildReporter
10
- } from "./index-w18qdjyf.js";
10
+ } from "./index-8bta5pnr.js";
11
11
  import {
12
12
  script,
13
13
  markCliErrorPrinted,
14
14
  assertPromptable
15
- } from "./index-vznyyaf8.js";
15
+ } from "./index-nnmw56fz.js";
16
16
  import {
17
17
  AppExecutor2
18
- } from "./index-cfzqdsam.js";
18
+ } from "./index-9a9t77hz.js";
19
19
  import {
20
20
  LibExecutor2
21
- } from "./index-c67vjafa.js";
21
+ } from "./index-yey1envc.js";
22
22
  import {
23
23
  PkgExecutor2
24
- } from "./index-2t7jnfg5.js";
24
+ } from "./index-crd99zqs.js";
25
25
  import {
26
26
  DesktopServerStage
27
- } from "./index-ewp82tjf.js";
27
+ } from "./index-f4jydw2x.js";
28
28
  import {
29
29
  LibraryScript
30
- } from "./index-m4s4tzjr.js";
30
+ } from "./index-4r8dgm4x.js";
31
31
  import {
32
32
  ApplicationRunner,
33
33
  VerifyScope
34
- } from "./index-8zxkjybr.js";
34
+ } from "./index-wkwe91sn.js";
35
35
  import {
36
36
  PreviewChrome2,
37
37
  PreviewView2,
@@ -39,7 +39,7 @@ import {
39
39
  } from "./index-rwgqba9p.js";
40
40
  import {
41
41
  formatSlicePlan
42
- } from "./index-zx3bv21b.js";
42
+ } from "./index-rt7q20sj.js";
43
43
  import {
44
44
  openBrowser
45
45
  } from "./index-9dp031by.js";
@@ -1779,7 +1779,7 @@ class ApplicationScript extends script("application", [ApplicationRunner, Librar
1779
1779
  await Promise.all(shares.map(async (share) => await share.close()));
1780
1780
  }, "Abandoning the tunnel release; the shares expire on their own.");
1781
1781
  await Promise.all(apps.map(async (app) => {
1782
- const { TunnelShare } = await import("./TunnelShare-8pejh5jk.js");
1782
+ const { TunnelShare } = await import("./TunnelShare-0p4dy89e.js");
1783
1783
  const share = await TunnelShare.open(app, { workspace: app.workspace });
1784
1784
  shares.push(share);
1785
1785
  urls.set(app.name, share.url);
@@ -2,15 +2,15 @@
2
2
  import {
3
3
  runner,
4
4
  script
5
- } from "./index-vznyyaf8.js";
5
+ } from "./index-nnmw56fz.js";
6
6
  import {
7
7
  CommandExecutionError,
8
8
  LibSource,
9
9
  formatLibStatuses
10
- } from "./index-609zbjve.js";
10
+ } from "./index-v16gj2as.js";
11
11
  import {
12
12
  LibExecutor2
13
- } from "./index-c67vjafa.js";
13
+ } from "./index-yey1envc.js";
14
14
  import {
15
15
  assertPlainName
16
16
  } from "./index-va90m8nd.js";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  SOURCE_EXTS,
4
4
  WatchRootResolver
5
- } from "./index-w18qdjyf.js";
5
+ } from "./index-8bta5pnr.js";
6
6
  import {
7
7
  loaderFor,
8
8
  BarrelAnalyzer,
@@ -18,7 +18,7 @@ import {
18
18
  CsrDevPaths,
19
19
  PagesEntrySourceGenerator,
20
20
  PagesBundleBuilder
21
- } from "./index-eap5y4w5.js";
21
+ } from "./index-3mj5trqc.js";
22
22
  import {
23
23
  FileSys2
24
24
  } from "./index-zyjztrvc.js";
@@ -26,7 +26,7 @@ import {
26
26
  AsyncDefaultExportDetector,
27
27
  StoreBootstrap,
28
28
  resolveSsrPageEntriesForApp
29
- } from "./index-cfzqdsam.js";
29
+ } from "./index-9a9t77hz.js";
30
30
 
31
31
  // pkgs/@akanjs/devkit/frontendBuild/clientEntryDiscovery.ts
32
32
  import fs from "fs";
@@ -193,8 +193,8 @@ class GraphClientEntryDiscovery {
193
193
  async#resolveSpecifier(spec, importerDir) {
194
194
  const cacheKey = `${importerDir}\x00${spec}`;
195
195
  return await this.#lookup(this.#resolvedSpecifierCache, cacheKey, async () => {
196
- if (spec.startsWith(".") || spec.startsWith("/")) {
197
- const abs = spec.startsWith("/") ? spec : path.resolve(importerDir, spec);
196
+ if (spec.startsWith(".") || path.isAbsolute(spec)) {
197
+ const abs = path.resolve(importerDir, spec);
198
198
  return await this.#resolveFileCandidate(abs);
199
199
  }
200
200
  const pkg = await this.#resolvePackage(spec);
@@ -2292,9 +2292,9 @@ class DevBarrelImports {
2292
2292
  }
2293
2293
  static #fileOf(subpath, packages) {
2294
2294
  const pkg = packages.find(({ pkgName }) => subpath === pkgName || subpath.startsWith(`${pkgName}/`));
2295
- if (!pkg)
2295
+ if (!pkg && !path9.isAbsolute(subpath))
2296
2296
  return null;
2297
- const file = CsrDevPaths.resolveOnDisk(path9.join(pkg.pkgDir, subpath.slice(pkg.pkgName.length)));
2297
+ const file = CsrDevPaths.resolveOnDisk(pkg ? path9.join(pkg.pkgDir, subpath.slice(pkg.pkgName.length)) : subpath);
2298
2298
  return file ? CsrDevPaths.realpath(file) : null;
2299
2299
  }
2300
2300
  static #relative(subpath, from, packages) {
@@ -1,17 +1,17 @@
1
1
  // @bun
2
2
  import {
3
3
  runner
4
- } from "./index-vznyyaf8.js";
4
+ } from "./index-nnmw56fz.js";
5
5
  import {
6
6
  AppExecutor2
7
- } from "./index-cfzqdsam.js";
7
+ } from "./index-9a9t77hz.js";
8
8
  import {
9
9
  jsonText,
10
10
  workflowStatus,
11
11
  createWorkflowBaselineSummary,
12
12
  buildAkanModuleContextIndex,
13
13
  toolingRolloutGate
14
- } from "./index-g7hm77j6.js";
14
+ } from "./index-q63nbpv7.js";
15
15
  import {
16
16
  buildResourceList,
17
17
  codexMcpConfigPath,
@@ -21,16 +21,16 @@ import {
21
21
  upsertCodexMcpServerBlock,
22
22
  renderDoctorText,
23
23
  AkanContextAnalyzer
24
- } from "./index-ghs8gtvp.js";
24
+ } from "./index-h8w1n11r.js";
25
25
  import {
26
26
  Prompter2
27
27
  } from "./index-j3fqs8rc.js";
28
28
  import {
29
29
  NativeApp
30
- } from "./index-8a4mnn65.js";
30
+ } from "./index-fjqapyex.js";
31
31
  import {
32
32
  isPlaceholderAppId
33
- } from "./index-ewp82tjf.js";
33
+ } from "./index-f4jydw2x.js";
34
34
  import {
35
35
  getMobileTargets,
36
36
  appIdsOf
@@ -40,10 +40,10 @@ import {
40
40
  } from "./index-xs9a3ddt.js";
41
41
  import {
42
42
  RepairRunner
43
- } from "./index-2ktpwjgf.js";
43
+ } from "./index-kbnvyhy4.js";
44
44
  import {
45
45
  WorkflowRunner
46
- } from "./index-fqhr7j56.js";
46
+ } from "./index-3a3vy2xy.js";
47
47
 
48
48
  // pkgs/@akanjs/devkit/context/akanMcpContract.ts
49
49
  import { lstatSync, realpathSync } from "fs";
@@ -5,10 +5,10 @@ import {
5
5
  import {
6
6
  JsonFormatter,
7
7
  AkanAppConfig
8
- } from "./index-609zbjve.js";
8
+ } from "./index-v16gj2as.js";
9
9
  import {
10
10
  ErrorReport
11
- } from "./index-zfmc4380.js";
11
+ } from "./index-3r1crbct.js";
12
12
 
13
13
  // pkgs/@akanjs/devkit/app/applicationBuildReporter.ts
14
14
  import { Logger } from "akanjs/common";
@@ -7,13 +7,13 @@ import {
7
7
  AkanAppConfig,
8
8
  increaseBuildNum,
9
9
  decreaseBuildNum
10
- } from "./index-609zbjve.js";
10
+ } from "./index-v16gj2as.js";
11
11
  import {
12
12
  FileSys2
13
13
  } from "./index-zyjztrvc.js";
14
14
  import {
15
15
  LibExecutor2
16
- } from "./index-c67vjafa.js";
16
+ } from "./index-yey1envc.js";
17
17
 
18
18
  // pkgs/@akanjs/devkit/executors/appExecutor.ts
19
19
  import { cp as cpEntry, lstat, mkdir, readdir as readDirEntries, realpath, rm as rm2, stat, symlink } from "fs/promises";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  runner,
4
4
  script
5
- } from "./index-vznyyaf8.js";
5
+ } from "./index-nnmw56fz.js";
6
6
 
7
7
  // pkgs/@akanjs/cli/page/page.runner.ts
8
8
  class PageRunner extends runner("page") {