@akanjs/cli 3.1.0-rc.0 → 3.1.0-rc.10

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 (100) hide show
  1. package/.build-stamp +1 -1
  2. package/{CodeAgent-q7a4srt6.js → CodeAgent-rkjyxgec.js} +2 -2
  3. package/{CodeTui-ak23dxc9.js → CodeTui-h7pyj6xa.js} +1 -1
  4. package/TunnelShare-661cxz5e.js +14 -0
  5. package/{agent.command-f3gsc1gd.js → agent.command-3qxf4xcj.js} +5 -5
  6. package/akanCode.js +2 -2
  7. package/{application.command-3v2d53gd.js → application.command-m1kcd7jf.js} +54 -42
  8. package/{applicationBuildRunner-1yaqsrdq.js → applicationBuildRunner-dj0xkrep.js} +26 -33
  9. package/buildBatch.proc.js +24 -15
  10. package/{cloud.command-kk2rwkvw.js → cloud.command-9cp1t0f5.js} +63 -65
  11. package/cloud.script-dgstqt1m.js +24 -0
  12. package/{code.command-30sca09d.js → code.command-0ad6gw2a.js} +6 -6
  13. package/{context.command-k7eqacq6.js → context.command-0qx447mb.js} +17 -13
  14. package/context.runner-1vsjztjg.js +25 -0
  15. package/{dependencyScanner-06z2dmrr.js → dependencyScanner-3afj2vt1.js} +1 -1
  16. package/{guideline.command-dtczrqpf.js → guideline.command-cv5bmrx2.js} +2 -2
  17. package/guidelines/agentRule/agentRule.instruction.md +3 -3
  18. package/guidelines/conventions/conventions.instruction.md +457 -1069
  19. package/guidelines/cssRule/cssRule.instruction.md +28 -7
  20. package/guidelines/fieldRule/fieldRule.instruction.md +62 -0
  21. package/guidelines/framework/framework.instruction.md +4 -7
  22. package/guidelines/mcpRule/mcpRule.instruction.md +48 -20
  23. package/guidelines/modelConstant/modelConstant.instruction.md +2 -1
  24. package/guidelines/modelStore/modelStore.instruction.md +9 -0
  25. package/guidelines/pageRule/pageRule.instruction.md +80 -0
  26. package/guidelines/queryRule/queryRule.instruction.md +44 -11
  27. package/guidelines/runtimeRule/runtimeRule.instruction.md +113 -17
  28. package/guidelines/ssrRule/ssrRule.instruction.md +13 -0
  29. package/guidelines/transportRule/transportRule.instruction.md +135 -13
  30. package/guidelines/workspaceOnboarding/workspaceOnboarding.instruction.md +4 -4
  31. package/guidelines/workspaceRecipes/workspaceRecipes.instruction.md +68 -7
  32. package/incrementalBuilder.proc.js +10 -7
  33. package/index-192ha4xh.js +1173 -0
  34. package/{index-c76k723e.js → index-1p98exm2.js} +2 -2
  35. package/{index-rwq3ekqc.js → index-1xj2t7cb.js} +7 -7
  36. package/{index-nz15k0b6.js → index-20bxxyvn.js} +80 -80
  37. package/{index-qt22xstj.js → index-35hc95h5.js} +5 -3
  38. package/{index-jyv387qw.js → index-4mhy6qme.js} +4 -4
  39. package/{index-ww9bhp67.js → index-4pf8g7ff.js} +1 -1
  40. package/{index-2mx692qq.js → index-5edzv8fn.js} +5 -5
  41. package/{index-k9rrten6.js → index-5nd1wtkv.js} +92 -94
  42. package/index-62md4dwy.js +260 -0
  43. package/index-665zp9rs.js +271 -0
  44. package/{index-2etcv0sc.js → index-86jt2a0e.js} +1 -1
  45. package/{index-2t4tqd1c.js → index-8fp3b47h.js} +419 -418
  46. package/{index-c2yrsxdh.js → index-9z426msb.js} +109 -328
  47. package/{index-ctanya41.js → index-awbdfcf2.js} +4 -4
  48. package/{index-3hx1z96c.js → index-bqbf654f.js} +1 -1
  49. package/{index-tn4rpqp1.js → index-bspm21y1.js} +73 -49
  50. package/index-cpb3nvma.js +667 -0
  51. package/{index-p9ystjrp.js → index-d47ypebv.js} +97 -55
  52. package/{index-0bm04n5g.js → index-d72hfmdm.js} +15 -13
  53. package/{index-e0cvze1s.js → index-fmzcs8v6.js} +4 -4
  54. package/{index-y8q31011.js → index-fyq1z6kt.js} +68 -177
  55. package/{index-kjvrq3nc.js → index-g1mbppa9.js} +331 -250
  56. package/{index-gnyf1fqy.js → index-j237xtew.js} +6 -6
  57. package/{index-fm46xrf1.js → index-j4mkhz93.js} +3 -3
  58. package/{index-6jjtnhkw.js → index-jw1zm273.js} +74 -34
  59. package/{index-q958tqqg.js → index-m9jj544v.js} +1 -1
  60. package/index-mdjc93e1.js +33 -0
  61. package/{index-c1x0be5j.js → index-pydbnfez.js} +2 -2
  62. package/{index-7bymavqk.js → index-qwa5k1j8.js} +1 -1
  63. package/{index-v29746vb.js → index-tamvyvj3.js} +3 -3
  64. package/{index-05g3jayg.js → index-trpasv9q.js} +260 -259
  65. package/{index-2ahj896a.js → index-tvehn2sp.js} +1 -1
  66. package/{index-55mynnqs.js → index-va06nr10.js} +1434 -1173
  67. package/index-vk0pa0mn.js +240 -0
  68. package/{index-aprt7pkz.js → index-w44cy4vs.js} +2271 -3369
  69. package/index.js +22 -22
  70. package/{library.command-gaga5bmq.js → library.command-erp2f56n.js} +3 -3
  71. package/{localRegistry.command-9e84e32q.js → localRegistry.command-y176p558.js} +15 -11
  72. package/{module.command-7vpf6db4.js → module.command-gs2r615e.js} +5 -5
  73. package/{package.command-twmvvf69.js → package.command-j10r76ax.js} +4 -4
  74. package/package.json +21 -21
  75. package/{page.command-5asq7fdf.js → page.command-4h4a8pnh.js} +3 -3
  76. package/{pipeline.command-d0v38572.js → pipeline.command-a2nrk26m.js} +221 -220
  77. package/{primitive.command-dyrs2fm8.js → primitive.command-w6t0asqz.js} +6 -6
  78. package/{projectTypecheck-cvtkrzp2.js → projectTypecheck-f534enqj.js} +1 -1
  79. package/{quality.command-6emsqpbg.js → quality.command-77x7vbbx.js} +4 -4
  80. package/{repair.command-8t6aegv5.js → repair.command-y6sstev7.js} +5 -5
  81. package/{scalar.command-bnggy1x7.js → scalar.command-20b8cy0k.js} +4 -4
  82. package/{subspace.command-f02j5tge.js → subspace.command-5c7yasd7.js} +424 -364
  83. package/templates/app/env/env.client.type.ts +2 -3
  84. package/templates/app/page/styles.css.template +8 -0
  85. package/templates/appSample/lib/task/Task.Util.tsx +7 -7
  86. package/templates/appSample/lib/task/Task.Zone.tsx +1 -1
  87. package/templates/appSample/ui/QuantityControl.tsx +2 -2
  88. package/templates/crudSinglePage/page.tsx +1 -1
  89. package/templates/lib/cnst.ts +0 -1
  90. package/templates/workspaceRoot/.gitignore.template +23 -52
  91. package/templates/workspaceRoot/biome.json.template +1 -1
  92. package/{tunnel.command-9x8nfn75.js → tunnel.command-2kw8vt9g.js} +8 -4
  93. package/{workflow.command-jx0wag5r.js → workflow.command-2djwmpqf.js} +10 -10
  94. package/{workspace.command-cmj6mqyk.js → workspace.command-6qfgq4b4.js} +38 -34
  95. package/TunnelShare-21mm6dr5.js +0 -9
  96. package/cloud.script-r7eyfey4.js +0 -20
  97. package/context.runner-hqd1ppqe.js +0 -21
  98. package/index-6w0rbr9d.js +0 -68
  99. package/index-n68jx79w.js +0 -120
  100. package/index-r2tpeb3n.js +0 -392
@@ -3,24 +3,26 @@ import {
3
3
  ApplicationBuildReporter,
4
4
  HmrWatcher,
5
5
  WatchRootResolver
6
- } from "./index-k9rrten6.js";
6
+ } from "./index-5nd1wtkv.js";
7
7
  import {
8
8
  CodegenLock,
9
9
  WorkspaceExecutor,
10
10
  AppExecutor
11
- } from "./index-55mynnqs.js";
11
+ } from "./index-va06nr10.js";
12
12
  import"./index-52w0fvh8.js";
13
13
  import {
14
14
  GraphClientEntryDiscovery,
15
15
  RouteClientBuilder,
16
16
  AutoImportSync,
17
- ServerGraphFile,
18
17
  CsrDevPatcher,
19
18
  CsrDevBundler,
20
19
  DevChangePlanner,
21
20
  DevGeneratedIndexSync,
22
21
  SsrDevBundler
23
- } from "./index-aprt7pkz.js";
22
+ } from "./index-w44cy4vs.js";
23
+ import {
24
+ ServerGraphFile
25
+ } from "./index-192ha4xh.js";
24
26
  import {
25
27
  prepareDevWatchBatch
26
28
  } from "./index-a5vmm6x4.js";
@@ -235,7 +237,7 @@ class IncrementalBuilder {
235
237
  #autoImportSync;
236
238
  #watcher = null;
237
239
  #generation = 0;
238
- #shellGeneration = null;
240
+ #shellKey = null;
239
241
  #discoveredThrough = 0;
240
242
  #csrActive = IncrementalBuilder.#csrArmedByEnv();
241
243
  #csrBundler;
@@ -948,13 +950,14 @@ class IncrementalBuilder {
948
950
  async#buildShell(msg) {
949
951
  await this.#workQueue.enqueue("build-shell", async () => {
950
952
  const generation = this.#generation;
953
+ const shellKey = `${generation}:${JSON.stringify(this.#artifact.cssAssets)}`;
951
954
  let error;
952
- if (this.#shellGeneration !== generation)
955
+ if (this.#shellKey !== shellKey)
953
956
  try {
954
957
  const result = await this.#batchRunner.run(await this.#batchRequest({ generation, needs: ["shell"], changedFiles: [] }));
955
958
  error = result.errors.shell;
956
959
  if (!error)
957
- this.#shellGeneration = generation;
960
+ this.#shellKey = shellKey;
958
961
  } catch (err) {
959
962
  error = ApplicationBuildReporter.formatError(err, this.#app.workspace.workspaceRoot);
960
963
  }