@akanjs/cli 3.0.0-beta.27 → 3.0.0-beta.29

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 (63) hide show
  1. package/.build-stamp +1 -1
  2. package/{CodeAgent-h19atbr3.js → CodeAgent-86q8d13j.js} +2 -2
  3. package/{CodeTui-46zygq8p.js → CodeTui-r8tgxsyb.js} +1 -1
  4. package/{agent.command-rp505zxa.js → agent.command-q9bmqrag.js} +5 -5
  5. package/akanCode.js +2 -2
  6. package/{application.command-1p0cpt6y.js → application.command-712jd2z8.js} +70 -8
  7. package/{applicationBuildRunner-r6b9rkb8.js → applicationBuildRunner-ez37p161.js} +67 -22
  8. package/buildBatch.proc.js +3 -3
  9. package/{cloud.command-ps9dabbg.js → cloud.command-8eegwcsc.js} +9 -9
  10. package/cloud.script-55s1cmz9.js +20 -0
  11. package/{code.command-78qw3q3f.js → code.command-n0c2tyzx.js} +6 -6
  12. package/commandManifest.json +1 -1
  13. package/{context.command-x5f7t3gk.js → context.command-vxf6d7q2.js} +13 -13
  14. package/context.runner-70r2fmty.js +21 -0
  15. package/{guideline.command-d5qmxx29.js → guideline.command-ene55fkr.js} +2 -2
  16. package/guidelines/conventions/conventions.instruction.md +27 -7
  17. package/guidelines/runtimeRule/runtimeRule.instruction.md +116 -1
  18. package/incrementalBuilder.proc.js +2 -2
  19. package/{index-hzy4pe24.js → index-0pqzrbpr.js} +2 -2
  20. package/{index-w5pet0nq.js → index-16k7m3cs.js} +11 -9
  21. package/index-1hs6jrys.js +994 -0
  22. package/{index-6dt6zft6.js → index-20r2g1t3.js} +4 -4
  23. package/{index-xfgdmm5d.js → index-2ctqegdm.js} +2 -2
  24. package/{index-d65fzxvd.js → index-2s2e5qnd.js} +1 -1
  25. package/{index-j9z8vg2n.js → index-2yvy9ztj.js} +4 -4
  26. package/{index-t02g6dpn.js → index-2z30v4k5.js} +3 -3
  27. package/{index-vxqe24mp.js → index-8ej6r02m.js} +1 -1
  28. package/{index-58cyna2s.js → index-b68zfsvz.js} +1 -1
  29. package/{index-bp9b1g2r.js → index-fy42hyb9.js} +7 -3
  30. package/{index-tg09x14f.js → index-g44da4r2.js} +5 -5
  31. package/{index-zazvn45w.js → index-genegfnt.js} +4 -4
  32. package/{index-da72pfdv.js → index-h9ed99ax.js} +7 -7
  33. package/{index-per2kqy9.js → index-k7809wmg.js} +2 -2
  34. package/{index-2zcm7fjd.js → index-krwz9ek9.js} +3 -3
  35. package/{index-118vq9dh.js → index-n9gxx7bp.js} +247 -47
  36. package/{index-860zjnr1.js → index-nbg9bfnr.js} +1 -1
  37. package/{index-5mm3g24t.js → index-qtz88kh0.js} +2 -2
  38. package/{index-0n9q1f23.js → index-r8gp8zk3.js} +231 -98
  39. package/{index-ggfhz9ab.js → index-rbeahw6j.js} +3 -3
  40. package/{index-56xwsgyn.js → index-rrt9pnb4.js} +2 -2
  41. package/{index-v4hnkqz9.js → index-ss828r32.js} +1 -1
  42. package/{index-5kjsr2pg.js → index-ttn00pr3.js} +38 -3
  43. package/index.js +21 -21
  44. package/{library.command-sv6g1h2g.js → library.command-tz7vnwea.js} +3 -3
  45. package/{localRegistry.command-zppa6w7q.js → localRegistry.command-7dd85czz.js} +8 -8
  46. package/{module.command-ccdeder9.js → module.command-qhc9ns0s.js} +5 -5
  47. package/{package.command-xmw605b1.js → package.command-z3epnvas.js} +3 -3
  48. package/package.json +3 -3
  49. package/{page.command-ky7vafsn.js → page.command-exd2vakz.js} +3 -3
  50. package/{primitive.command-bh6j8nfs.js → primitive.command-0w6cha4j.js} +6 -6
  51. package/{quality.command-rqqrpe98.js → quality.command-je4kc9yv.js} +2 -2
  52. package/{repair.command-n9nsm9qe.js → repair.command-knvwfgtg.js} +5 -5
  53. package/{scalar.command-t09gmck8.js → scalar.command-60nxfchc.js} +4 -4
  54. package/{subspace.command-gx2cjpnv.js → subspace.command-683qxcw9.js} +4 -4
  55. package/templates/server.ts +1 -1
  56. package/{tunnel.command-4g95vhsn.js → tunnel.command-7m2kxtat.js} +2 -2
  57. package/{workflow.command-b91ph8sx.js → workflow.command-j5tk13ds.js} +10 -10
  58. package/{workspace.command-1r29qzzk.js → workspace.command-jxdm0wrb.js} +20 -20
  59. package/README.ko.md +0 -72
  60. package/README.md +0 -88
  61. package/cloud.script-wrw1kz6k.js +0 -20
  62. package/context.runner-nfs8ksh3.js +0 -21
  63. package/index-y736f42m.js +0 -556
@@ -1,12 +1,12 @@
1
1
  // @bun
2
2
  import {
3
3
  script
4
- } from "./index-58cyna2s.js";
4
+ } from "./index-b68zfsvz.js";
5
5
  import {
6
6
  AppExecutor,
7
7
  LibExecutor,
8
8
  ModuleExecutor
9
- } from "./index-0n9q1f23.js";
9
+ } from "./index-r8gp8zk3.js";
10
10
  import {
11
11
  workflowStatus,
12
12
  compactDiagnostics,
@@ -41,10 +41,10 @@ import {
41
41
  hasSignalFactoryEntry,
42
42
  insertSignalFactoryEntry,
43
43
  addFieldUiPolicyForType
44
- } from "./index-d65fzxvd.js";
44
+ } from "./index-2s2e5qnd.js";
45
45
  import {
46
46
  ModuleScript
47
- } from "./index-zazvn45w.js";
47
+ } from "./index-genegfnt.js";
48
48
 
49
49
  // pkgs/@akanjs/cli/primitive/primitive.script.ts
50
50
  import { capitalize, lowerlize } from "akanjs/common";
@@ -2,12 +2,12 @@
2
2
  import {
3
3
  runner,
4
4
  script
5
- } from "./index-58cyna2s.js";
5
+ } from "./index-b68zfsvz.js";
6
6
  import {
7
7
  generatedFilesForSync,
8
8
  createPassedPrimitiveReport,
9
9
  scalarChangedFiles
10
- } from "./index-d65fzxvd.js";
10
+ } from "./index-2s2e5qnd.js";
11
11
  import {
12
12
  pluralizeName
13
13
  } from "./index-nz8prx9g.js";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  AppExecutor,
4
4
  LibExecutor
5
- } from "./index-0n9q1f23.js";
5
+ } from "./index-r8gp8zk3.js";
6
6
 
7
7
  // pkgs/@akanjs/devkit/workflow/utils.ts
8
8
  var jsonText = (value, { trailingNewline = true } = {}) => `${JSON.stringify(value, null, 2)}${trailingNewline ? `
@@ -1,16 +1,16 @@
1
1
  // @bun
2
2
  import {
3
3
  jsonText
4
- } from "./index-d65fzxvd.js";
4
+ } from "./index-2s2e5qnd.js";
5
5
  import {
6
6
  akanMcpInstallTargets
7
- } from "./index-hzy4pe24.js";
7
+ } from "./index-0pqzrbpr.js";
8
8
  import {
9
9
  script
10
- } from "./index-58cyna2s.js";
10
+ } from "./index-b68zfsvz.js";
11
11
  import {
12
12
  ContextRunner2
13
- } from "./index-w5pet0nq.js";
13
+ } from "./index-16k7m3cs.js";
14
14
 
15
15
  // pkgs/@akanjs/cli/context/context.script.ts
16
16
  import { Logger } from "akanjs/common";
@@ -5,13 +5,13 @@ import {
5
5
  writeGeneratedSyncState,
6
6
  createRepairReport,
7
7
  renderRepairReport
8
- } from "./index-d65fzxvd.js";
8
+ } from "./index-2s2e5qnd.js";
9
9
  import {
10
10
  AkanContextAnalyzer
11
- } from "./index-hzy4pe24.js";
11
+ } from "./index-0pqzrbpr.js";
12
12
  import {
13
13
  runner
14
- } from "./index-58cyna2s.js";
14
+ } from "./index-b68zfsvz.js";
15
15
 
16
16
  // pkgs/@akanjs/cli/repair/repair.runner.ts
17
17
  var spawnShell = async (workspace, command) => await workspace.spawn("bash", ["-lc", command.startsWith("akan ") ? `bun run ${command}` : command], {
@@ -116,7 +116,7 @@ class SubagentPool2 {
116
116
  }
117
117
  }
118
118
  async#run(id, kind, prompt, signal) {
119
- const { CodeAgent } = await import("./CodeAgent-h19atbr3.js");
119
+ const { CodeAgent } = await import("./CodeAgent-86q8d13j.js");
120
120
  const budget = this.#options.parent.tools.subagent;
121
121
  const child = SubagentPool2.childOf(this.#options.parent, kind);
122
122
  const agent = await CodeAgent.create({
@@ -10,7 +10,7 @@ import {
10
10
  LibExecutor,
11
11
  PkgExecutor,
12
12
  ModuleExecutor
13
- } from "./index-0n9q1f23.js";
13
+ } from "./index-r8gp8zk3.js";
14
14
 
15
15
  // pkgs/@akanjs/devkit/commandDecorators/camelToKebabCase.ts
16
16
  var camelToKebabCase = (str) => str.replace(/([A-Z])/g, "-$1").toLowerCase();
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  resolveSsrPageEntriesForApp
4
- } from "./index-0n9q1f23.js";
4
+ } from "./index-r8gp8zk3.js";
5
5
  import {
6
6
  computeRouteSeedIndex,
7
7
  saveRouteSeedIndex,
@@ -16,7 +16,7 @@ import {
16
16
  CsrEntryFiles,
17
17
  PagesEntrySourceGenerator,
18
18
  PagesBundleBuilder
19
- } from "./index-5kjsr2pg.js";
19
+ } from "./index-ttn00pr3.js";
20
20
  import {
21
21
  SOURCE_EXTS
22
22
  } from "./index-48k96p55.js";
@@ -1640,7 +1640,8 @@ class SsrBaseArtifactBuilder {
1640
1640
  web: SsrBaseArtifactBuilder.servedWeb(this.#command, akanConfig.web),
1641
1641
  deepLinkAssociations: Object.values(akanConfig.mobile.targets).filter((target) => (target.deepLinks?.domains?.length ?? 0) > 0).map((target) => ({
1642
1642
  targetName: target.name,
1643
- appId: target.appId,
1643
+ iosAppId: SsrBaseArtifactBuilder.#appIdOn(target.appId, "ios"),
1644
+ androidAppId: SsrBaseArtifactBuilder.#appIdOn(target.appId, "android"),
1644
1645
  domains: target.deepLinks?.domains ?? [],
1645
1646
  iosTeamId: target.deepLinks?.ios?.teamId,
1646
1647
  androidSha256CertFingerprints: target.deepLinks?.android?.sha256CertFingerprints
@@ -1736,6 +1737,9 @@ ${preparedCssText}`).toString(36);
1736
1737
  this.#app.verbose(`[base-artifact] wrote ${preparedCssText.length} bytes of CSS for ${basePath} -> ${cssRelPath}`);
1737
1738
  return [basePath, { cssUrl, cssRelPath }];
1738
1739
  }
1740
+ static #appIdOn(appId, platform) {
1741
+ return typeof appId === "string" ? appId : appId[platform] ?? appId.default ?? null;
1742
+ }
1739
1743
  static #warnDroppedImports(app, cssRelPath, css, imported) {
1740
1744
  for (const { cssPath, declaredNames } of imported) {
1741
1745
  if (declaredNames.length === 0 || declaredNames.some((name) => css.includes(`${name}:`)))
@@ -5,19 +5,19 @@ import {
5
5
  } from "./index-94s080qm.js";
6
6
  import {
7
7
  script
8
- } from "./index-58cyna2s.js";
8
+ } from "./index-b68zfsvz.js";
9
9
  import {
10
10
  PkgExecutor
11
- } from "./index-0n9q1f23.js";
11
+ } from "./index-r8gp8zk3.js";
12
12
  import {
13
13
  ApplicationScript
14
- } from "./index-118vq9dh.js";
14
+ } from "./index-n9gxx7bp.js";
15
15
  import {
16
16
  PackageScript
17
- } from "./index-per2kqy9.js";
17
+ } from "./index-k7809wmg.js";
18
18
  import {
19
19
  CloudRunner
20
- } from "./index-56xwsgyn.js";
20
+ } from "./index-rrt9pnb4.js";
21
21
 
22
22
  // pkgs/@akanjs/cli/cloud/cloud.script.ts
23
23
  import { Logger } from "akanjs/common";
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  runner,
4
4
  script
5
- } from "./index-58cyna2s.js";
5
+ } from "./index-b68zfsvz.js";
6
6
  import {
7
7
  ModuleExecutor
8
- } from "./index-0n9q1f23.js";
8
+ } from "./index-r8gp8zk3.js";
9
9
  import {
10
10
  sourceFile,
11
11
  moduleSourcePaths,
@@ -13,10 +13,10 @@ import {
13
13
  createPassedPrimitiveReport,
14
14
  bilingualLabelForField,
15
15
  bilingualDescriptionForField
16
- } from "./index-d65fzxvd.js";
16
+ } from "./index-2s2e5qnd.js";
17
17
  import {
18
18
  PageScript
19
- } from "./index-v4hnkqz9.js";
19
+ } from "./index-ss828r32.js";
20
20
  import {
21
21
  pluralizeName
22
22
  } from "./index-nz8prx9g.js";
@@ -22,26 +22,26 @@ import {
22
22
  renderWorkflowApply,
23
23
  renderWorkflowValidation,
24
24
  renderWorkflowRunArtifact
25
- } from "./index-d65fzxvd.js";
25
+ } from "./index-2s2e5qnd.js";
26
26
  import {
27
27
  AkanContextAnalyzer
28
- } from "./index-hzy4pe24.js";
28
+ } from "./index-0pqzrbpr.js";
29
29
  import {
30
30
  CommandContainer,
31
31
  runner
32
- } from "./index-58cyna2s.js";
32
+ } from "./index-b68zfsvz.js";
33
33
  import {
34
34
  ModuleScript
35
- } from "./index-zazvn45w.js";
35
+ } from "./index-genegfnt.js";
36
36
  import {
37
37
  PrimitiveScript
38
- } from "./index-6dt6zft6.js";
38
+ } from "./index-20r2g1t3.js";
39
39
  import {
40
40
  spawnShell
41
- } from "./index-t02g6dpn.js";
41
+ } from "./index-2z30v4k5.js";
42
42
  import {
43
43
  ScalarScript
44
- } from "./index-xfgdmm5d.js";
44
+ } from "./index-2ctqegdm.js";
45
45
 
46
46
  // pkgs/@akanjs/cli/workflow/workflow.runner.ts
47
47
  import { mkdir, readFile, writeFile } from "fs/promises";
@@ -2,13 +2,13 @@
2
2
  import {
3
3
  runner,
4
4
  script
5
- } from "./index-58cyna2s.js";
5
+ } from "./index-b68zfsvz.js";
6
6
  import {
7
7
  FileSys2
8
8
  } from "./index-52w0fvh8.js";
9
9
  import {
10
10
  PkgExecutor
11
- } from "./index-0n9q1f23.js";
11
+ } from "./index-r8gp8zk3.js";
12
12
  import {
13
13
  TypeScriptDependencyScanner2
14
14
  } from "./index-2ahj896a.js";
@@ -4,7 +4,7 @@ import {
4
4
  akanCodePaths2,
5
5
  McpServerConfig,
6
6
  McpSignIn
7
- } from "./index-vxqe24mp.js";
7
+ } from "./index-8ej6r02m.js";
8
8
  import {
9
9
  stripAnsi
10
10
  } from "./index-7md2g9vw.js";
@@ -511,7 +511,7 @@ class AkanToolPack2 {
511
511
  return { name: "akan-tools", factory: async (pi) => await this.#register(pi) };
512
512
  }
513
513
  async names() {
514
- const { ContextRunner } = await import("./context.runner-nfs8ksh3.js");
514
+ const { ContextRunner } = await import("./context.runner-70r2fmty.js");
515
515
  return [
516
516
  ...new ContextRunner().listMcpTools(this.#options.mode).map((tool) => tool.name),
517
517
  AkanToolPack2.verifyToolName
@@ -519,7 +519,7 @@ class AkanToolPack2 {
519
519
  }
520
520
  static verifyToolName = "akan_verify";
521
521
  async#register(pi) {
522
- const { ContextRunner } = await import("./context.runner-nfs8ksh3.js");
522
+ const { ContextRunner } = await import("./context.runner-70r2fmty.js");
523
523
  const runner = new ContextRunner;
524
524
  const guidelineNames = await AkanToolPack2.#guidelineNames();
525
525
  for (const tool of runner.listMcpTools(this.#options.mode, { guidelineNames })) {