@akanjs/cli 3.2.0-rc.11 → 3.2.0-rc.13

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 (85) hide show
  1. package/.build-stamp +2 -2
  2. package/{CodeAgent-fk66n37w.js → CodeAgent-yd1f54yf.js} +2 -2
  3. package/{CodeTui-4rf1mqmv.js → CodeTui-h7mksphk.js} +1 -1
  4. package/TunnelShare-hrjed2jf.js +19 -0
  5. package/{agent.command-7g9czkkd.js → agent.command-hrc2dfas.js} +19 -15
  6. package/akanCode.js +2 -2
  7. package/appExecutor-0ssszyhf.js +11 -0
  8. package/{application.command-00spg55s.js → application.command-b2194cpv.js} +15 -11
  9. package/{applicationBuildRunner-f4yf0qyc.js → applicationBuildRunner-gg03kydg.js} +12 -8
  10. package/buildBatch.proc.js +14 -9
  11. package/{cloud.command-ab704p0g.js → cloud.command-d8ps1564.js} +20 -16
  12. package/cloud.script-7j7w4m0w.js +35 -0
  13. package/{code.command-m6c9xk56.js → code.command-6h6jr0s7.js} +10 -6
  14. package/{context.command-hgcgxtdk.js → context.command-t8akxhny.js} +20 -16
  15. package/context.runner-eawk1n8e.js +34 -0
  16. package/{guideline.command-6yz6d4hf.js → guideline.command-f41b5nv5.js} +6 -2
  17. package/guidelines/agentRule/agentRule.instruction.md +12 -2
  18. package/guidelines/akanApi/akanApi.instruction.md +1 -1
  19. package/guidelines/errorCodes/errorCodes.instruction.md +3 -0
  20. package/guidelines/pageRule/pageRule.instruction.md +6 -1
  21. package/guidelines/runtimeRule/runtimeRule.instruction.md +2 -1
  22. package/incrementalBuilder.proc.js +12 -7
  23. package/{index-c3r23w24.js → index-1b1p83vq.js} +3 -3
  24. package/index-1jzdengt.js +30 -0
  25. package/{index-aybfcx58.js → index-2z8mxgs7.js} +6 -6
  26. package/{index-t8h09yjs.js → index-37k5vshx.js} +10 -8
  27. package/{index-frvjq1rd.js → index-3fbmyb2r.js} +1 -1
  28. package/{index-6qtxs86x.js → index-3fn13v8p.js} +4 -4
  29. package/{index-6eptmk8z.js → index-3fpv5v0t.js} +15 -11
  30. package/{index-23d8gw08.js → index-3gmskeq2.js} +37 -29
  31. package/{index-bper31wr.js → index-5np8zpep.js} +12 -8
  32. package/{index-41mfhgq0.js → index-66jt3m30.js} +1 -1
  33. package/{index-097bjwvm.js → index-6dwk5aej.js} +8 -8
  34. package/{index-849qvd7t.js → index-71z3pdsn.js} +4 -4
  35. package/{index-p54s83sz.js → index-8bkbexcy.js} +1 -1
  36. package/{index-bxkx0x03.js → index-8rmg8c0y.js} +3 -3
  37. package/{index-6z57w95f.js → index-9w51aevd.js} +1 -1
  38. package/{index-5jwx4bf2.js → index-9yfssbgg.js} +25 -19
  39. package/{index-adj7qmz9.js → index-asfx2dhe.js} +13 -9
  40. package/index-b3h37zk3.js +787 -0
  41. package/{index-xfv2p7b5.js → index-bb7cm060.js} +10 -10
  42. package/{index-p4htjyvk.js → index-c0rnjeqn.js} +11 -9
  43. package/{index-apcr1qgk.js → index-c4k6e098.js} +19 -15
  44. package/{index-sq9d0jhj.js → index-crtscw7c.js} +2710 -3615
  45. package/{index-xy70tcv4.js → index-e599a0e4.js} +1 -1
  46. package/{index-6fnrhpn1.js → index-f5j09jnj.js} +5 -5
  47. package/{index-dsg50er9.js → index-g2ebpf0y.js} +6 -6
  48. package/{index-hf9nvwam.js → index-hbc0t3ng.js} +2 -2
  49. package/{index-hhagjhkh.js → index-hg8s6nae.js} +9 -9
  50. package/{index-b3pr4ee6.js → index-hpe12v1h.js} +1 -1
  51. package/{index-dfsa009c.js → index-j2me5hm4.js} +8 -6
  52. package/{index-e5f6czck.js → index-j33b0n38.js} +1 -1
  53. package/{index-4k9nv4m3.js → index-k081wv4r.js} +1428 -1106
  54. package/{index-rdx8cyv2.js → index-nx4q5rey.js} +3 -3
  55. package/index-rx8r0cbe.js +18 -0
  56. package/{index-k2r3hmbz.js → index-vb8gd135.js} +21 -15
  57. package/{index-z43wddce.js → index-vy50ec2q.js} +2 -2
  58. package/index-x2bj2vyz.js +127 -0
  59. package/{index-9xh4zvw3.js → index-xb1yh9km.js} +21 -11
  60. package/{index-7ky4brfy.js → index-xjj0h74q.js} +2 -2
  61. package/index.js +27 -23
  62. package/libExecutor-ex8jqksz.js +10 -0
  63. package/{library.command-kc1zahcg.js → library.command-a9p5yg4k.js} +7 -3
  64. package/{localRegistry.command-bz2df40m.js → localRegistry.command-zz64k5vy.js} +23 -18
  65. package/{module.command-cchwzz9r.js → module.command-1ht6dmxg.js} +9 -5
  66. package/{package.command-qcjajpv8.js → package.command-eabq20aq.js} +8 -4
  67. package/package.json +2 -2
  68. package/{page.command-1t86dx8a.js → page.command-xhmzmvjn.js} +7 -3
  69. package/{pipeline.command-2xx9z3d0.js → pipeline.command-wsbg3fpr.js} +11 -6
  70. package/pkgExecutor-d16x1xcb.js +10 -0
  71. package/{primitive.command-mc0x8txr.js → primitive.command-yyxtfhvq.js} +10 -6
  72. package/{projectTypecheck-tz497yx7.js → projectTypecheck-wcrt7sae.js} +1 -1
  73. package/{quality.command-11rayf5c.js → quality.command-n7hmt628.js} +16 -10
  74. package/{repair.command-8w41vy78.js → repair.command-pczdq4mv.js} +9 -5
  75. package/{scalar.command-rvwh98ny.js → scalar.command-cw3d32sv.js} +8 -4
  76. package/{subspace.command-0970n7kd.js → subspace.command-d8t8geyv.js} +17 -12
  77. package/templates/lib/sig.ts +0 -4
  78. package/templates/lib/useClient.ts +1 -1
  79. package/{tunnel.command-bcy0rtmh.js → tunnel.command-mhm64m9n.js} +15 -11
  80. package/{verify.command-ynaztxr2.js → verify.command-j4he0fbx.js} +16 -12
  81. package/{workflow.command-yp9ajthb.js → workflow.command-k064waza.js} +14 -10
  82. package/{workspace.command-e4wfxm86.js → workspace.command-pkpawft5.js} +47 -41
  83. package/TunnelShare-44er4e29.js +0 -15
  84. package/cloud.script-4p4y0s7e.js +0 -31
  85. package/context.runner-w071gmc3.js +0 -30
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  GlobalConfig,
4
4
  CloudApi
5
- } from "./index-7ky4brfy.js";
5
+ } from "./index-xjj0h74q.js";
6
6
 
7
7
  // pkgs/@akanjs/cli/tunnel/TunnelShare.ts
8
8
  import { TunnelAgent } from "akanjs/server/tunnel";
@@ -2,13 +2,13 @@
2
2
  import {
3
3
  runner,
4
4
  script
5
- } from "./index-23d8gw08.js";
5
+ } from "./index-3gmskeq2.js";
6
6
  import {
7
7
  FileSys2
8
8
  } from "./index-bns3wcpc.js";
9
9
  import {
10
- PkgExecutor
11
- } from "./index-sq9d0jhj.js";
10
+ PkgExecutor2
11
+ } from "./index-x2bj2vyz.js";
12
12
  import {
13
13
  TypeScriptDependencyScanner2
14
14
  } from "./index-qd7xn2bk.js";
@@ -17,7 +17,7 @@ import {
17
17
  } from "./index-grt0e6kk.js";
18
18
  import {
19
19
  MaintainabilityBaseline
20
- } from "./index-e5f6czck.js";
20
+ } from "./index-j33b0n38.js";
21
21
  import {
22
22
  assertPackageName
23
23
  } from "./index-va90m8nd.js";
@@ -373,7 +373,7 @@ ${problems.join(`
373
373
  return { file: FrameworkGraph.architectureFile, changed: next !== current };
374
374
  }
375
375
  async verifyAkanPublishPackages(workspace) {
376
- const pkgs = PackageRunner.publishableAkanPackages.map((pkgName) => PkgExecutor.from(workspace, pkgName));
376
+ const pkgs = PackageRunner.publishableAkanPackages.map((pkgName) => PkgExecutor2.from(workspace, pkgName));
377
377
  const peerExportsMaps = new Map;
378
378
  for (const pkg of pkgs) {
379
379
  if (!await Bun.file(`${pkg.dist.cwdPath}/package.json`).exists())
@@ -1,21 +1,21 @@
1
1
  // @bun
2
2
  import {
3
3
  binPlatforms,
4
- ServerEnvProfile,
5
- AkanAppConfig,
6
4
  Executor,
7
- WorkspaceExecutor
8
- } from "./index-sq9d0jhj.js";
5
+ WorkspaceExecutor,
6
+ ServerEnvProfile,
7
+ AkanAppConfig
8
+ } from "./index-crtscw7c.js";
9
9
  import {
10
10
  resolveAppId,
11
11
  targetHtmlFilename
12
12
  } from "./index-m9jj544v.js";
13
13
  import {
14
14
  CsrArtifactBuilder
15
- } from "./index-z43wddce.js";
15
+ } from "./index-vy50ec2q.js";
16
16
  import {
17
17
  ExitCodeError
18
- } from "./index-23d8gw08.js";
18
+ } from "./index-3gmskeq2.js";
19
19
 
20
20
  // pkgs/@akanjs/devkit/mobile/desktopBin.ts
21
21
  import { chmod, mkdir, rename, rm, writeFile } from "fs/promises";
@@ -2,12 +2,12 @@
2
2
  import {
3
3
  runner,
4
4
  script
5
- } from "./index-23d8gw08.js";
5
+ } from "./index-3gmskeq2.js";
6
6
  import {
7
7
  generatedFilesForSync,
8
8
  createPassedPrimitiveReport,
9
9
  scalarChangedFiles
10
- } from "./index-dfsa009c.js";
10
+ } from "./index-j2me5hm4.js";
11
11
  import {
12
12
  pluralizeName
13
13
  } from "./index-nz8prx9g.js";
@@ -4,27 +4,27 @@ import {
4
4
  CloudApi,
5
5
  CloudUpdates,
6
6
  PipelineSecrets
7
- } from "./index-7ky4brfy.js";
7
+ } from "./index-xjj0h74q.js";
8
8
  import {
9
- PkgExecutor
10
- } from "./index-sq9d0jhj.js";
9
+ PkgExecutor2
10
+ } from "./index-x2bj2vyz.js";
11
11
  import {
12
12
  UpdatePackFolder,
13
13
  NativePublicEnv,
14
14
  NativeApp
15
- } from "./index-dsg50er9.js";
15
+ } from "./index-g2ebpf0y.js";
16
16
  import {
17
17
  script
18
- } from "./index-23d8gw08.js";
18
+ } from "./index-3gmskeq2.js";
19
19
  import {
20
20
  ApplicationScript
21
- } from "./index-5jwx4bf2.js";
21
+ } from "./index-9yfssbgg.js";
22
22
  import {
23
23
  PackageScript
24
- } from "./index-6fnrhpn1.js";
24
+ } from "./index-f5j09jnj.js";
25
25
  import {
26
26
  CloudRunner
27
- } from "./index-p4htjyvk.js";
27
+ } from "./index-c0rnjeqn.js";
28
28
 
29
29
  // pkgs/@akanjs/cli/cloud/cloud.script.ts
30
30
  import { Logger } from "akanjs/common";
@@ -220,7 +220,7 @@ class CloudScript2 extends script("cloud", [CloudRunner, ApplicationScript, Pack
220
220
  } = {}) {
221
221
  const akanPkgs = await this.cloudRunner.getAkanPkgs(workspace);
222
222
  await this.packageScript.updateWorskpaceRootPackageJson(workspace);
223
- const pkgs = akanPkgs.map((pkgName) => PkgExecutor.from(workspace, pkgName));
223
+ const pkgs = akanPkgs.map((pkgName) => PkgExecutor2.from(workspace, pkgName));
224
224
  if (test) {
225
225
  const platformRun = platforms.length ? await this.cloudRunner.startPlatformTests(workspace, platforms, akanPkgs) : null;
226
226
  let localFailure = null;
@@ -157,7 +157,7 @@ class SubagentPool2 {
157
157
  }
158
158
  }
159
159
  async#run(id, kind, prompt, signal) {
160
- const { CodeAgent } = await import("./CodeAgent-fk66n37w.js");
160
+ const { CodeAgent } = await import("./CodeAgent-yd1f54yf.js");
161
161
  const budget = this.#options.parent.tools.subagent;
162
162
  const child = SubagentPool2.childOf(this.#options.parent, kind);
163
163
  const model = this.#options.model?.();
@@ -1,8 +1,10 @@
1
1
  // @bun
2
2
  import {
3
- AppExecutor,
4
- LibExecutor
5
- } from "./index-sq9d0jhj.js";
3
+ AppExecutor2
4
+ } from "./index-b3h37zk3.js";
5
+ import {
6
+ LibExecutor2
7
+ } from "./index-1jzdengt.js";
6
8
  import {
7
9
  createAst,
8
10
  AkanIndex
@@ -13,7 +15,7 @@ import {
13
15
  } from "./index-va90m8nd.js";
14
16
  import {
15
17
  camelToKebabCase
16
- } from "./index-23d8gw08.js";
18
+ } from "./index-3gmskeq2.js";
17
19
 
18
20
  // pkgs/@akanjs/devkit/workflow/artifacts.ts
19
21
  import { capitalize as capitalize2 } from "akanjs/common";
@@ -2045,9 +2047,9 @@ var resolveWorkflowSys = async (workspace, target) => {
2045
2047
  return null;
2046
2048
  const [apps, libs] = await workspace.getSyss();
2047
2049
  if (apps.includes(target))
2048
- return AppExecutor.from(workspace, target);
2050
+ return AppExecutor2.from(workspace, target);
2049
2051
  if (libs.includes(target))
2050
- return LibExecutor.from(workspace, target);
2052
+ return LibExecutor2.from(workspace, target);
2051
2053
  return null;
2052
2054
  };
2053
2055
  var targetMissing = (input = "app") => ({
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  JsonFormatter
4
- } from "./index-sq9d0jhj.js";
4
+ } from "./index-crtscw7c.js";
5
5
 
6
6
  // pkgs/@akanjs/devkit/maintainabilityBaseline.ts
7
7
  class MaintainabilityBaseline {