@akanjs/cli 3.1.0-rc.4 → 3.1.0-rc.6

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 (89) hide show
  1. package/.build-stamp +1 -1
  2. package/{CodeAgent-ymte1tv8.js → CodeAgent-rkjyxgec.js} +2 -2
  3. package/{CodeTui-4rhdm1qw.js → CodeTui-h7pyj6xa.js} +1 -1
  4. package/TunnelShare-661cxz5e.js +14 -0
  5. package/{agent.command-r5x1mch5.js → agent.command-3qxf4xcj.js} +5 -5
  6. package/akanCode.js +2 -2
  7. package/{application.command-3dkr7rdz.js → application.command-m1kcd7jf.js} +12 -11
  8. package/{applicationBuildRunner-h0j2swx1.js → applicationBuildRunner-dj0xkrep.js} +16 -9
  9. package/buildBatch.proc.js +7 -7
  10. package/{cloud.command-4kyxfw0y.js → cloud.command-3jzym8q7.js} +17 -16
  11. package/cloud.script-r4nskbc6.js +24 -0
  12. package/{code.command-sjvzt8fc.js → code.command-0ad6gw2a.js} +6 -6
  13. package/{context.command-j9frz0dz.js → context.command-0qx447mb.js} +17 -16
  14. package/context.runner-1vsjztjg.js +25 -0
  15. package/{dependencyScanner-06z2dmrr.js → dependencyScanner-3afj2vt1.js} +1 -1
  16. package/{guideline.command-1epw6hey.js → guideline.command-cv5bmrx2.js} +2 -2
  17. package/guidelines/conventions/conventions.instruction.md +450 -1084
  18. package/guidelines/cssRule/cssRule.instruction.md +16 -1
  19. package/guidelines/fieldRule/fieldRule.instruction.md +57 -0
  20. package/guidelines/framework/framework.instruction.md +4 -7
  21. package/guidelines/mcpRule/mcpRule.instruction.md +11 -8
  22. package/guidelines/modelConstant/modelConstant.instruction.md +2 -1
  23. package/guidelines/modelStore/modelStore.instruction.md +9 -0
  24. package/guidelines/pageRule/pageRule.instruction.md +80 -0
  25. package/guidelines/queryRule/queryRule.instruction.md +35 -8
  26. package/guidelines/runtimeRule/runtimeRule.instruction.md +89 -2
  27. package/guidelines/ssrRule/ssrRule.instruction.md +13 -0
  28. package/guidelines/transportRule/transportRule.instruction.md +76 -8
  29. package/guidelines/workspaceOnboarding/workspaceOnboarding.instruction.md +4 -4
  30. package/guidelines/workspaceRecipes/workspaceRecipes.instruction.md +49 -4
  31. package/incrementalBuilder.proc.js +4 -4
  32. package/{index-jw6st2rd.js → index-192ha4xh.js} +356 -307
  33. package/{index-1hkr7mrb.js → index-1p98exm2.js} +2 -2
  34. package/{index-8byzcvxp.js → index-1xj2t7cb.js} +7 -7
  35. package/{index-er3hekv9.js → index-20bxxyvn.js} +80 -80
  36. package/{index-xe3x2kw5.js → index-35hc95h5.js} +1 -1
  37. package/{index-p5nrc5he.js → index-4mhy6qme.js} +4 -4
  38. package/{index-0qc5nd61.js → index-5edzv8fn.js} +5 -5
  39. package/{index-k9rrten6.js → index-5nd1wtkv.js} +92 -94
  40. package/index-62md4dwy.js +260 -0
  41. package/{index-z3v7abrk.js → index-665zp9rs.js} +38 -15
  42. package/{index-1t2xw0p0.js → index-6xn2n442.js} +4 -4
  43. package/{index-jg3fj8h0.js → index-86jt2a0e.js} +1 -1
  44. package/{index-k33me5sp.js → index-8fp3b47h.js} +419 -418
  45. package/{index-shastb7m.js → index-9z426msb.js} +17 -12
  46. package/{index-gdybjw3x.js → index-awbdfcf2.js} +4 -4
  47. package/{index-3hx1z96c.js → index-bqbf654f.js} +1 -1
  48. package/{index-jppthsff.js → index-cpb3nvma.js} +57 -58
  49. package/{index-b60ccq2s.js → index-d47ypebv.js} +17 -15
  50. package/{index-gc05vqd2.js → index-d72hfmdm.js} +13 -13
  51. package/{index-akha197v.js → index-fmzcs8v6.js} +4 -4
  52. package/{index-28ftaz3d.js → index-fyq1z6kt.js} +29 -27
  53. package/{index-vwmv64ad.js → index-g1mbppa9.js} +238 -236
  54. package/{index-hedt951c.js → index-h47cf1gg.js} +7 -7
  55. package/{index-hfqs9jvc.js → index-j4mkhz93.js} +3 -3
  56. package/{index-08a5ga6n.js → index-jw1zm273.js} +28 -30
  57. package/{index-q958tqqg.js → index-m9jj544v.js} +1 -1
  58. package/{index-8935h3n1.js → index-mdjc93e1.js} +1 -1
  59. package/{index-2wyn17fa.js → index-pydbnfez.js} +2 -2
  60. package/{index-bjh4wbtk.js → index-qwa5k1j8.js} +1 -1
  61. package/{index-81a1ywp6.js → index-tamvyvj3.js} +3 -3
  62. package/{index-dez4t5sd.js → index-trpasv9q.js} +260 -259
  63. package/{index-2ahj896a.js → index-tvehn2sp.js} +1 -1
  64. package/{index-2k0t8p3p.js → index-va06nr10.js} +1086 -1075
  65. package/{index-9c3cd767.js → index-vk0pa0mn.js} +20 -21
  66. package/{index-qyaqzh8e.js → index-w44cy4vs.js} +2216 -2216
  67. package/index.js +22 -22
  68. package/{library.command-n58dgakb.js → library.command-erp2f56n.js} +3 -3
  69. package/{localRegistry.command-f2768sww.js → localRegistry.command-xxpqgxjw.js} +15 -14
  70. package/{module.command-xzjg5k7n.js → module.command-gs2r615e.js} +5 -5
  71. package/{package.command-24sh1j1q.js → package.command-7343f74r.js} +4 -4
  72. package/package.json +2 -2
  73. package/{page.command-fqnm88na.js → page.command-4h4a8pnh.js} +3 -3
  74. package/{pipeline.command-vn6taz75.js → pipeline.command-a2nrk26m.js} +3 -3
  75. package/{primitive.command-4j1g1a0d.js → primitive.command-w6t0asqz.js} +6 -6
  76. package/{projectTypecheck-3y7ayty0.js → projectTypecheck-f534enqj.js} +1 -1
  77. package/{quality.command-5hqmcdwt.js → quality.command-77x7vbbx.js} +4 -4
  78. package/{repair.command-rw5tk460.js → repair.command-y6sstev7.js} +5 -5
  79. package/{scalar.command-0jpap45m.js → scalar.command-20b8cy0k.js} +4 -4
  80. package/{subspace.command-y7n9sghk.js → subspace.command-92xkc0s0.js} +11 -10
  81. package/templates/lib/cnst.ts +0 -1
  82. package/templates/workspaceRoot/.gitignore.template +24 -53
  83. package/{tunnel.command-5gjwh1f8.js → tunnel.command-2kw8vt9g.js} +8 -7
  84. package/{workflow.command-3t22f7eb.js → workflow.command-2djwmpqf.js} +10 -10
  85. package/{workspace.command-cq5xg2jq.js → workspace.command-5se6spqb.js} +28 -27
  86. package/TunnelShare-p8ymkww8.js +0 -13
  87. package/cloud.script-jc3hc5d9.js +0 -23
  88. package/context.runner-v0def5my.js +0 -24
  89. package/index-n68jx79w.js +0 -120
package/index.js CHANGED
@@ -4,35 +4,35 @@ import {
4
4
  getTargetMetas,
5
5
  getTargetCommandNames,
6
6
  runCommands
7
- } from "./index-08a5ga6n.js";
7
+ } from "./index-jw1zm273.js";
8
8
  import"./index-52w0fvh8.js";
9
- import"./index-2k0t8p3p.js";
9
+ import"./index-va06nr10.js";
10
10
 
11
11
  // pkgs/@akanjs/cli/commandManifest.ts
12
12
  import path from "path";
13
13
 
14
14
  // pkgs/@akanjs/cli/commandModules.ts
15
15
  var commandModules = {
16
- workspace: async () => (await import("./workspace.command-cq5xg2jq.js")).WorkspaceCommand,
17
- agent: async () => (await import("./agent.command-r5x1mch5.js")).AgentCommand,
18
- code: async () => (await import("./code.command-sjvzt8fc.js")).CodeCommand,
19
- application: async () => (await import("./application.command-3dkr7rdz.js")).ApplicationCommand,
20
- library: async () => (await import("./library.command-n58dgakb.js")).LibraryCommand,
21
- localRegistry: async () => (await import("./localRegistry.command-f2768sww.js")).LocalRegistryCommand,
22
- package: async () => (await import("./package.command-24sh1j1q.js")).PackageCommand,
23
- module: async () => (await import("./module.command-xzjg5k7n.js")).ModuleCommand,
24
- page: async () => (await import("./page.command-fqnm88na.js")).PageCommand,
25
- context: async () => (await import("./context.command-j9frz0dz.js")).ContextCommand,
26
- cloud: async () => (await import("./cloud.command-4kyxfw0y.js")).CloudCommand,
27
- subspace: async () => (await import("./subspace.command-y7n9sghk.js")).SubspaceCommand,
28
- guideline: async () => (await import("./guideline.command-1epw6hey.js")).GuidelineCommand,
29
- scalar: async () => (await import("./scalar.command-0jpap45m.js")).ScalarCommand,
30
- primitive: async () => (await import("./primitive.command-4j1g1a0d.js")).PrimitiveCommand,
31
- quality: async () => (await import("./quality.command-5hqmcdwt.js")).QualityCommand,
32
- repair: async () => (await import("./repair.command-rw5tk460.js")).RepairCommand,
33
- workflow: async () => (await import("./workflow.command-3t22f7eb.js")).WorkflowCommand,
34
- pipeline: async () => (await import("./pipeline.command-vn6taz75.js")).PipelineCommand,
35
- tunnel: async () => (await import("./tunnel.command-5gjwh1f8.js")).TunnelCommand
16
+ workspace: async () => (await import("./workspace.command-5se6spqb.js")).WorkspaceCommand,
17
+ agent: async () => (await import("./agent.command-3qxf4xcj.js")).AgentCommand,
18
+ code: async () => (await import("./code.command-0ad6gw2a.js")).CodeCommand,
19
+ application: async () => (await import("./application.command-m1kcd7jf.js")).ApplicationCommand,
20
+ library: async () => (await import("./library.command-erp2f56n.js")).LibraryCommand,
21
+ localRegistry: async () => (await import("./localRegistry.command-xxpqgxjw.js")).LocalRegistryCommand,
22
+ package: async () => (await import("./package.command-7343f74r.js")).PackageCommand,
23
+ module: async () => (await import("./module.command-gs2r615e.js")).ModuleCommand,
24
+ page: async () => (await import("./page.command-4h4a8pnh.js")).PageCommand,
25
+ context: async () => (await import("./context.command-0qx447mb.js")).ContextCommand,
26
+ cloud: async () => (await import("./cloud.command-3jzym8q7.js")).CloudCommand,
27
+ subspace: async () => (await import("./subspace.command-92xkc0s0.js")).SubspaceCommand,
28
+ guideline: async () => (await import("./guideline.command-cv5bmrx2.js")).GuidelineCommand,
29
+ scalar: async () => (await import("./scalar.command-20b8cy0k.js")).ScalarCommand,
30
+ primitive: async () => (await import("./primitive.command-w6t0asqz.js")).PrimitiveCommand,
31
+ quality: async () => (await import("./quality.command-77x7vbbx.js")).QualityCommand,
32
+ repair: async () => (await import("./repair.command-y6sstev7.js")).RepairCommand,
33
+ workflow: async () => (await import("./workflow.command-2djwmpqf.js")).WorkflowCommand,
34
+ pipeline: async () => (await import("./pipeline.command-a2nrk26m.js")).PipelineCommand,
35
+ tunnel: async () => (await import("./tunnel.command-2kw8vt9g.js")).TunnelCommand
36
36
  };
37
37
  var commandModuleIds = Object.keys(commandModules);
38
38
 
@@ -3,12 +3,12 @@ import {
3
3
  Lib,
4
4
  Workspace,
5
5
  command
6
- } from "./index-08a5ga6n.js";
6
+ } from "./index-jw1zm273.js";
7
7
  import"./index-52w0fvh8.js";
8
- import"./index-2k0t8p3p.js";
8
+ import"./index-va06nr10.js";
9
9
  import {
10
10
  LibraryScript
11
- } from "./index-2wyn17fa.js";
11
+ } from "./index-pydbnfez.js";
12
12
 
13
13
  // pkgs/@akanjs/cli/library/library.command.ts
14
14
  class LibraryCommand extends command("library", [LibraryScript], ({ public: target }) => ({
@@ -4,31 +4,32 @@ import {
4
4
  runner,
5
5
  script,
6
6
  command
7
- } from "./index-08a5ga6n.js";
7
+ } from "./index-jw1zm273.js";
8
8
  import"./index-52w0fvh8.js";
9
9
  import {
10
10
  PkgExecutor
11
- } from "./index-2k0t8p3p.js";
12
- import"./index-k9rrten6.js";
13
- import"./index-9c3cd767.js";
14
- import"./index-vwmv64ad.js";
15
- import"./index-jw6st2rd.js";
16
- import"./index-2wyn17fa.js";
11
+ } from "./index-va06nr10.js";
12
+ import"./index-5nd1wtkv.js";
13
+ import"./index-vk0pa0mn.js";
14
+ import"./index-m9jj544v.js";
15
+ import"./index-g1mbppa9.js";
16
+ import"./index-192ha4xh.js";
17
+ import"./index-pydbnfez.js";
17
18
  import {
18
19
  ApplicationScript
19
- } from "./index-b60ccq2s.js";
20
+ } from "./index-d47ypebv.js";
20
21
  import"./index-7md2g9vw.js";
21
- import"./index-jppthsff.js";
22
+ import"./index-cpb3nvma.js";
22
23
  import {
23
24
  getNpmRegistryUrl,
24
25
  CloudRunner
25
- } from "./index-28ftaz3d.js";
26
- import"./index-2ahj896a.js";
26
+ } from "./index-fyq1z6kt.js";
27
+ import"./index-tvehn2sp.js";
27
28
  import {
28
29
  PackageScript
29
- } from "./index-1t2xw0p0.js";
30
- import"./index-xe3x2kw5.js";
31
- import"./index-z3v7abrk.js";
30
+ } from "./index-6xn2n442.js";
31
+ import"./index-35hc95h5.js";
32
+ import"./index-665zp9rs.js";
32
33
 
33
34
  // pkgs/@akanjs/cli/localRegistry/localRegistry.runner.ts
34
35
  import { mkdir, rm } from "fs/promises";
@@ -3,16 +3,16 @@ import {
3
3
  Sys,
4
4
  Module,
5
5
  command
6
- } from "./index-08a5ga6n.js";
6
+ } from "./index-jw1zm273.js";
7
7
  import"./index-52w0fvh8.js";
8
- import"./index-2k0t8p3p.js";
8
+ import"./index-va06nr10.js";
9
9
  import {
10
10
  renderPrimitiveReport
11
- } from "./index-dez4t5sd.js";
12
- import"./index-jg3fj8h0.js";
11
+ } from "./index-trpasv9q.js";
12
+ import"./index-86jt2a0e.js";
13
13
  import {
14
14
  ModuleScript
15
- } from "./index-akha197v.js";
15
+ } from "./index-fmzcs8v6.js";
16
16
 
17
17
  // pkgs/@akanjs/cli/module/module.command.ts
18
18
  import { Logger, lowerlize } from "akanjs/common";
@@ -3,13 +3,13 @@ import {
3
3
  Pkg,
4
4
  Workspace,
5
5
  command
6
- } from "./index-08a5ga6n.js";
6
+ } from "./index-jw1zm273.js";
7
7
  import"./index-52w0fvh8.js";
8
- import"./index-2k0t8p3p.js";
9
- import"./index-2ahj896a.js";
8
+ import"./index-va06nr10.js";
9
+ import"./index-tvehn2sp.js";
10
10
  import {
11
11
  PackageScript
12
- } from "./index-1t2xw0p0.js";
12
+ } from "./index-6xn2n442.js";
13
13
 
14
14
  // pkgs/@akanjs/cli/package/package.command.ts
15
15
  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.1.0-rc.4",
3
+ "version": "3.1.0-rc.6",
4
4
  "sourceType": "module",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -39,7 +39,7 @@
39
39
  "@earendil-works/pi-tui": "0.86.1",
40
40
  "@inquirer/prompts": "^8.4.3",
41
41
  "@tailwindcss/node": "^4.3.0",
42
- "akanjs": "3.1.0-rc.4",
42
+ "akanjs": "3.1.0-rc.6",
43
43
  "chalk": "^5.6.2",
44
44
  "commander": "^14.0.3",
45
45
  "dayjs": "^1.11.20",
@@ -3,12 +3,12 @@ import {
3
3
  App,
4
4
  Module,
5
5
  command
6
- } from "./index-08a5ga6n.js";
6
+ } from "./index-jw1zm273.js";
7
7
  import"./index-52w0fvh8.js";
8
- import"./index-2k0t8p3p.js";
8
+ import"./index-va06nr10.js";
9
9
  import {
10
10
  PageScript
11
- } from "./index-jg3fj8h0.js";
11
+ } from "./index-86jt2a0e.js";
12
12
 
13
13
  // pkgs/@akanjs/cli/page/page.command.ts
14
14
  class PageCommand extends command("page", [PageScript], ({ public: target }) => ({
@@ -4,7 +4,7 @@ import {
4
4
  runner,
5
5
  script,
6
6
  command
7
- } from "./index-08a5ga6n.js";
7
+ } from "./index-jw1zm273.js";
8
8
  import {
9
9
  FileSys2
10
10
  } from "./index-52w0fvh8.js";
@@ -12,10 +12,10 @@ import {
12
12
  AkanAppConfig,
13
13
  AkanWorkspaceConfig,
14
14
  AppExecutor
15
- } from "./index-2k0t8p3p.js";
15
+ } from "./index-va06nr10.js";
16
16
  import {
17
17
  resolveMobileTargets
18
- } from "./index-q958tqqg.js";
18
+ } from "./index-m9jj544v.js";
19
19
 
20
20
  // pkgs/@akanjs/cli/pipeline/pipeline.command.ts
21
21
  import { pipelineTriggers as pipelineTriggers2 } from "akanjs/common";
@@ -2,17 +2,17 @@
2
2
  import {
3
3
  Workspace,
4
4
  command
5
- } from "./index-08a5ga6n.js";
5
+ } from "./index-jw1zm273.js";
6
6
  import"./index-52w0fvh8.js";
7
- import"./index-2k0t8p3p.js";
7
+ import"./index-va06nr10.js";
8
8
  import {
9
9
  renderPrimitiveReport
10
- } from "./index-dez4t5sd.js";
11
- import"./index-jg3fj8h0.js";
12
- import"./index-akha197v.js";
10
+ } from "./index-trpasv9q.js";
11
+ import"./index-86jt2a0e.js";
12
+ import"./index-fmzcs8v6.js";
13
13
  import {
14
14
  PrimitiveScript
15
- } from "./index-gdybjw3x.js";
15
+ } from "./index-awbdfcf2.js";
16
16
 
17
17
  // pkgs/@akanjs/cli/primitive/primitive.command.ts
18
18
  import { Logger } from "akanjs/common";
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  ProjectTypecheck2
4
- } from "./index-2k0t8p3p.js";
4
+ } from "./index-va06nr10.js";
5
5
  export {
6
6
  ProjectTypecheck2 as ProjectTypecheck
7
7
  };
@@ -3,7 +3,7 @@ import {
3
3
  Workspace,
4
4
  script,
5
5
  command
6
- } from "./index-08a5ga6n.js";
6
+ } from "./index-jw1zm273.js";
7
7
  import"./index-52w0fvh8.js";
8
8
  import {
9
9
  rootAllowedFiles,
@@ -12,7 +12,7 @@ import {
12
12
  libFacetRootHintOf,
13
13
  facetIndexShadowOf,
14
14
  rootEntryHintOf
15
- } from "./index-2k0t8p3p.js";
15
+ } from "./index-va06nr10.js";
16
16
 
17
17
  // pkgs/@akanjs/devkit/qualityScanner.ts
18
18
  import { createHash } from "crypto";
@@ -49,7 +49,7 @@ class AbstractDoc {
49
49
  return folder.startsWith("_") ? "service" : "domain";
50
50
  }
51
51
  static async findAll(sys, { module } = {}) {
52
- const filePaths = (await sys.getAllFiles(`${AbstractDoc.#facetRoots}/**/*${AbstractDoc.suffix}`)).map((filePath) => filePath.split(path.sep).join("/")).sort();
52
+ const filePaths = (await sys.getAllFiles(`${AbstractDoc.#facetRoots}/**/*${AbstractDoc.suffix}`)).map((filePath) => filePath.split(path.sep).join("/")).sort((a, b) => a < b ? -1 : a > b ? 1 : 0);
53
53
  const docs = await Promise.all(filePaths.map((filePath) => AbstractDoc.read(sys, filePath)));
54
54
  if (!module)
55
55
  return docs;
@@ -555,7 +555,7 @@ class AkanQualityScanner {
555
555
  continue;
556
556
  await this.#walkTargetFiles(workspaceRoot, absoluteTargetRoot, ignoreFilter, files);
557
557
  }
558
- return files.sort();
558
+ return files.sort((a, b) => a < b ? -1 : a > b ? 1 : 0);
559
559
  }
560
560
  async#readGitIgnore(workspaceRoot) {
561
561
  const gitIgnorePath = path2.join(workspaceRoot, ".gitignore");
@@ -3,15 +3,15 @@ import {
3
3
  Workspace,
4
4
  script,
5
5
  command
6
- } from "./index-08a5ga6n.js";
6
+ } from "./index-jw1zm273.js";
7
7
  import"./index-52w0fvh8.js";
8
- import"./index-2k0t8p3p.js";
8
+ import"./index-va06nr10.js";
9
9
  import"./index-hj6w4ka1.js";
10
- import"./index-dez4t5sd.js";
11
- import"./index-0qc5nd61.js";
10
+ import"./index-trpasv9q.js";
11
+ import"./index-5edzv8fn.js";
12
12
  import {
13
13
  RepairRunner
14
- } from "./index-hfqs9jvc.js";
14
+ } from "./index-j4mkhz93.js";
15
15
 
16
16
  // pkgs/@akanjs/cli/repair/repair.script.ts
17
17
  import { Logger } from "akanjs/common";
@@ -2,15 +2,15 @@
2
2
  import {
3
3
  Sys,
4
4
  command
5
- } from "./index-08a5ga6n.js";
5
+ } from "./index-jw1zm273.js";
6
6
  import"./index-52w0fvh8.js";
7
- import"./index-2k0t8p3p.js";
7
+ import"./index-va06nr10.js";
8
8
  import {
9
9
  renderPrimitiveReport
10
- } from "./index-dez4t5sd.js";
10
+ } from "./index-trpasv9q.js";
11
11
  import {
12
12
  ScalarScript
13
- } from "./index-1hkr7mrb.js";
13
+ } from "./index-1p98exm2.js";
14
14
 
15
15
  // pkgs/@akanjs/cli/scalar/scalar.command.ts
16
16
  import { Logger, lowerlize } from "akanjs/common";
@@ -5,7 +5,7 @@ import {
5
5
  runner,
6
6
  script,
7
7
  command
8
- } from "./index-08a5ga6n.js";
8
+ } from "./index-jw1zm273.js";
9
9
  import {
10
10
  FileSys2
11
11
  } from "./index-52w0fvh8.js";
@@ -14,19 +14,20 @@ import {
14
14
  Executor,
15
15
  WorkspaceExecutor,
16
16
  AppExecutor
17
- } from "./index-2k0t8p3p.js";
17
+ } from "./index-va06nr10.js";
18
18
  import {
19
19
  GlobalConfig
20
- } from "./index-jppthsff.js";
21
- import"./index-vwmv64ad.js";
22
- import"./index-jw6st2rd.js";
20
+ } from "./index-cpb3nvma.js";
21
+ import"./index-m9jj544v.js";
22
+ import"./index-g1mbppa9.js";
23
+ import"./index-192ha4xh.js";
23
24
  import {
24
25
  SubspaceConfig
25
26
  } from "./index-4pf8g7ff.js";
26
27
  import {
27
28
  SlicePlanner
28
- } from "./index-xe3x2kw5.js";
29
- import"./index-z3v7abrk.js";
29
+ } from "./index-35hc95h5.js";
30
+ import"./index-665zp9rs.js";
30
31
 
31
32
  // pkgs/@akanjs/devkit/subspace.ts
32
33
  import { mkdir as mkdir2 } from "fs/promises";
@@ -219,11 +220,11 @@ class SubspaceClone {
219
220
  }
220
221
  }
221
222
  #localEnv() {
222
- const { serveDomain } = WorkspaceExecutor.getBaseDevEnv();
223
+ const { serveDomain, defaulted = [] } = WorkspaceExecutor.getBaseDevEnv();
223
224
  return {
224
225
  AKAN_WORKSPACE_ID: "local",
225
226
  AKAN_PUBLIC_REPO_NAME: this.#declaration.name,
226
- AKAN_PUBLIC_SERVE_DOMAIN: serveDomain,
227
+ ...defaulted.includes("AKAN_PUBLIC_SERVE_DOMAIN") ? {} : { AKAN_PUBLIC_SERVE_DOMAIN: serveDomain },
227
228
  AKAN_PUBLIC_ENV: "local",
228
229
  AKAN_PUBLIC_OPERATION_MODE: "local",
229
230
  AKAN_PUBLIC_LOG_LEVEL: "warn"
@@ -824,7 +825,7 @@ class SubspaceRunner extends runner("subspace") {
824
825
  if (!asked)
825
826
  return { name: subspace.name, workspaceId, host, apps, libs: [], outcome: "cancelled", files: [] };
826
827
  const { libs } = await subspace.slice();
827
- const { CloudScript } = await import("./cloud.script-jc3hc5d9.js");
828
+ const { CloudScript } = await import("./cloud.script-r4nskbc6.js");
828
829
  const { files } = await CommandContainer.get(CloudScript).uploadEnv(workspace, {
829
830
  host,
830
831
  workspaceId,
@@ -7,7 +7,6 @@ export default function getContent(scanInfo: AppInfo | LibInfo | null, dict: { [
7
7
  const databaseModules = scanInfo.getDatabaseModules();
8
8
  const scalarModules = scanInfo.getScalarModules();
9
9
  const libs = scanInfo.getLibs();
10
- const libInfos = scanInfo.getLibInfos();
11
10
  return `
12
11
  import { ConstantRegistry } from "akanjs/constant";
13
12
  ${scalarModules.map((module) => `import * as ${module}Cnst from "./__scalar/${module}/${module}.constant";`).join("\n")}
@@ -1,27 +1,18 @@
1
1
  **/dist
2
- /node_modules
3
- /.akan
2
+ **/node_modules
3
+ **/.akan
4
4
  .vscode/*
5
5
  .DS_Store
6
6
  Thumbs.db
7
7
  *.env
8
- **/node_modules
9
8
  /data
10
9
  apps/*/data
11
10
  /releases
12
11
  apps/*/scripts
13
- **/.env
14
- **/env.client.local.ts
15
- **/env.client.debug.ts
16
- **/env.client.develop.ts
17
- **/env.client.main.ts
18
- **/env.client.testing.ts
19
- **/env.server.local.ts
20
- **/env.server.debug.ts
21
- **/env.server.develop.ts
22
- **/env.server.main.ts
23
- **/env.server.testing.ts
24
- **/env.server.type.ts
12
+ **/env.client.*.ts
13
+ !**/env.client.type.ts
14
+ **/env.server.*.ts
15
+ !**/env.server.example.ts
25
16
  **/*secrets.yaml
26
17
  **/kubeconfig.yaml
27
18
  **/secrets.*
@@ -46,7 +37,6 @@ DerivedData
46
37
  *.ipa
47
38
  *.xcuserstate
48
39
 
49
- build/
50
40
  .gradle
51
41
  local.properties
52
42
  *.iml
@@ -56,19 +46,18 @@ local.properties
56
46
  !debug.keystore
57
47
 
58
48
  **/public/precache.*.*.js
59
- **/public/sw.js
60
- **/public/workbox-*.js
61
- **/public/worker-*.js
62
- **/public/fallback-*.js
63
49
  **/public/precache.*.*.js.map
64
- **/public/sw.js.map
50
+ **/public/*sw.js
51
+ **/public/*sw.js.map
52
+ **/public/workbox-*.js
65
53
  **/public/workbox-*.js.map
54
+ **/public/worker-*.js
66
55
  **/public/worker-*.js.map
67
56
  **/public/fallback-*.js
57
+ **/public/fallback-*.js.map
68
58
  **/public/libs
69
59
  **/private/libs
70
60
  **/page/**/(libs)
71
- **/public/firebase-messaging-sw.js
72
61
 
73
62
  **/android/keystore.properties
74
63
  **/vendor/bundle/
@@ -78,24 +67,18 @@ local.properties
78
67
  **/*-secret.yaml
79
68
 
80
69
  # Akanjs files
81
- **/akan.app.json
82
- **/akan.lib.json
83
- **/akan.pkg.json
84
- **/next.config.ts
85
- **/next-env.d.ts
86
- apps/**/lib/__lib/**
87
- libs/**/lib/__lib/**
88
- apps/*/lib/cnst.ts
89
- apps/*/lib/dict.ts
90
- apps/*/lib/db.ts
91
- apps/*/lib/srv.ts
92
- apps/*/lib/st.ts
93
- apps/*/lib/sig.ts
94
- apps/*/lib/useClient.ts
95
- apps/*/lib/useServer.ts
96
- apps/*/lib/*/index.tsx
97
- apps/*/lib/*/index.ts
98
- apps/*/lib/__scalar/*/index.ts
70
+ **/akan.*.json
71
+ */*/lib/__lib/**
72
+ */*/lib/cnst.ts
73
+ */*/lib/dict.ts
74
+ */*/lib/db.ts
75
+ */*/lib/srv.ts
76
+ */*/lib/st.ts
77
+ */*/lib/sig.ts
78
+ */*/lib/useClient.ts
79
+ */*/lib/useServer.ts
80
+ */*/lib/*/index.ts*
81
+ */*/lib/__scalar/*/index.ts
99
82
  apps/*/ui/index.ts
100
83
  apps/*/webkit/index.ts
101
84
  apps/*/srvkit/index.ts
@@ -103,17 +86,6 @@ apps/*/common/index.ts
103
86
  apps/*/plugin/index.ts
104
87
  apps/*/client.ts
105
88
  apps/*/server.ts
106
- libs/*/lib/cnst.ts
107
- libs/*/lib/dict.ts
108
- libs/*/lib/db.ts
109
- libs/*/lib/srv.ts
110
- libs/*/lib/st.ts
111
- libs/*/lib/sig.ts
112
- libs/*/lib/useClient.ts
113
- libs/*/lib/useServer.ts
114
- libs/*/lib/*/index.tsx
115
- libs/*/lib/*/index.ts
116
- libs/*/lib/__scalar/*/index.ts
117
89
  libs/*/ui/index.ts
118
90
  libs/*/webkit/index.ts
119
91
  libs/*/srvkit/index.ts
@@ -122,5 +94,4 @@ libs/*/plugin/index.ts
122
94
  libs/*/client.ts
123
95
  libs/*/server.ts
124
96
  libs/*/index.ts
125
- **/.akan
126
- **/tsconfig.tsbuildinfo
97
+ **/tsconfig.tsbuildinfo
@@ -4,24 +4,25 @@ import {
4
4
  runner,
5
5
  script,
6
6
  command
7
- } from "./index-08a5ga6n.js";
7
+ } from "./index-jw1zm273.js";
8
8
  import"./index-52w0fvh8.js";
9
9
  import {
10
10
  AppExecutor
11
- } from "./index-2k0t8p3p.js";
11
+ } from "./index-va06nr10.js";
12
12
  import {
13
13
  GlobalConfig,
14
14
  CloudApi
15
- } from "./index-jppthsff.js";
16
- import"./index-vwmv64ad.js";
17
- import"./index-jw6st2rd.js";
15
+ } from "./index-cpb3nvma.js";
16
+ import"./index-m9jj544v.js";
17
+ import"./index-g1mbppa9.js";
18
+ import"./index-192ha4xh.js";
18
19
  import {
19
20
  TunnelShare2
20
- } from "./index-bjh4wbtk.js";
21
+ } from "./index-qwa5k1j8.js";
21
22
  import {
22
23
  writeClipboard
23
24
  } from "./index-p6pbz9n5.js";
24
- import"./index-z3v7abrk.js";
25
+ import"./index-665zp9rs.js";
25
26
 
26
27
  // pkgs/@akanjs/cli/tunnel/tunnel.script.ts
27
28
  import { select } from "@inquirer/prompts";
@@ -3,20 +3,20 @@ import {
3
3
  Workspace,
4
4
  script,
5
5
  command
6
- } from "./index-08a5ga6n.js";
6
+ } from "./index-jw1zm273.js";
7
7
  import"./index-52w0fvh8.js";
8
- import"./index-2k0t8p3p.js";
8
+ import"./index-va06nr10.js";
9
9
  import"./index-hj6w4ka1.js";
10
- import"./index-dez4t5sd.js";
11
- import"./index-0qc5nd61.js";
12
- import"./index-jg3fj8h0.js";
13
- import"./index-akha197v.js";
14
- import"./index-gdybjw3x.js";
15
- import"./index-hfqs9jvc.js";
16
- import"./index-1hkr7mrb.js";
10
+ import"./index-trpasv9q.js";
11
+ import"./index-5edzv8fn.js";
12
+ import"./index-86jt2a0e.js";
13
+ import"./index-fmzcs8v6.js";
14
+ import"./index-awbdfcf2.js";
15
+ import"./index-j4mkhz93.js";
16
+ import"./index-1p98exm2.js";
17
17
  import {
18
18
  WorkflowRunner
19
- } from "./index-8byzcvxp.js";
19
+ } from "./index-1xj2t7cb.js";
20
20
 
21
21
  // pkgs/@akanjs/cli/workflow/workflow.script.ts
22
22
  import { Logger } from "akanjs/common";