@akanjs/cli 3.0.0-beta.30 → 3.0.0-beta.31

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 (58) hide show
  1. package/.build-stamp +1 -1
  2. package/{CodeAgent-xnfyyz8h.js → CodeAgent-tbdpdjat.js} +2 -2
  3. package/{CodeTui-h66xb1fh.js → CodeTui-my2x5fah.js} +1 -1
  4. package/{agent.command-c4v7kjff.js → agent.command-vz60x05c.js} +5 -5
  5. package/akanCode.js +2 -2
  6. package/{application.command-yzsswrz6.js → application.command-pxqfjrqm.js} +6 -6
  7. package/{applicationBuildRunner-qkt6spd5.js → applicationBuildRunner-shnfyfdy.js} +3 -3
  8. package/buildBatch.proc.js +3 -3
  9. package/{cloud.command-v8h688jc.js → cloud.command-9v9tpgps.js} +9 -9
  10. package/cloud.script-baqdthnz.js +20 -0
  11. package/{code.command-jff3tw7y.js → code.command-13h14j25.js} +6 -6
  12. package/{context.command-y5sevk3c.js → context.command-x1hbasm5.js} +13 -13
  13. package/context.runner-kqbjjea1.js +21 -0
  14. package/{guideline.command-11cndccb.js → guideline.command-vfk11hpj.js} +2 -2
  15. package/guidelines/conventions/conventions.instruction.md +2 -1
  16. package/guidelines/runtimeRule/runtimeRule.instruction.md +3 -0
  17. package/incrementalBuilder.proc.js +2 -2
  18. package/{index-xb7qhxa8.js → index-1skctzbq.js} +1 -1
  19. package/{index-tsb0f8ya.js → index-7yf7rnjg.js} +2 -2
  20. package/{index-hmdq5pqm.js → index-84r80zdx.js} +1 -1
  21. package/{index-qcejqgts.js → index-8psse8dw.js} +5 -5
  22. package/{index-5rp0h6na.js → index-947t6zm4.js} +2 -2
  23. package/{index-6x9p8dpb.js → index-9s5zga3q.js} +1 -1
  24. package/{index-a4s954kq.js → index-arnkqb6f.js} +2 -2
  25. package/{index-hf6f4xnb.js → index-cxafpw23.js} +4 -4
  26. package/{index-8tv7356t.js → index-d5yn19ef.js} +1 -1
  27. package/{index-n3jk2501.js → index-e52z7psd.js} +11 -4
  28. package/{index-376gpdds.js → index-ew8dna9s.js} +2 -2
  29. package/{index-rtwhw4aq.js → index-f50dy7yq.js} +7 -7
  30. package/{index-kb16nzyt.js → index-f8q701fb.js} +20 -14
  31. package/{index-35mmm9ca.js → index-ksq4t16z.js} +1 -1
  32. package/{index-wfwgcnyc.js → index-nhhrjvk1.js} +4 -4
  33. package/{index-mk3b9rk1.js → index-ptshj7y1.js} +3 -3
  34. package/{index-0ncc0mbk.js → index-q9q7x4zj.js} +3 -3
  35. package/{index-se643zvp.js → index-qk9vv9hm.js} +1 -1
  36. package/{index-hqd0h1pb.js → index-rqxa9r98.js} +7 -7
  37. package/{index-bxmejydw.js → index-smbecayj.js} +3 -3
  38. package/{index-tzc1gtrg.js → index-vcdxpmsx.js} +2 -2
  39. package/{index-167c77aq.js → index-ymnqrsxm.js} +4 -4
  40. package/{index-3rh7thcx.js → index-zc90rh75.js} +6 -6
  41. package/{index-gxamdf18.js → index-zvr7wfyg.js} +2 -2
  42. package/index.js +21 -21
  43. package/{library.command-n9kp7yms.js → library.command-m52jqc0s.js} +3 -3
  44. package/{localRegistry.command-jx6kxt2x.js → localRegistry.command-x5vs1z43.js} +8 -8
  45. package/{module.command-q2xjf6cx.js → module.command-ty3k6rwd.js} +5 -5
  46. package/{package.command-q5a3nsw5.js → package.command-hphdh4g4.js} +3 -3
  47. package/package.json +2 -2
  48. package/{page.command-ppenrxjn.js → page.command-5aq8mzvq.js} +3 -3
  49. package/{primitive.command-dvgg8nem.js → primitive.command-adwj84kx.js} +6 -6
  50. package/{quality.command-pz7kg3pc.js → quality.command-y10kea2f.js} +2 -2
  51. package/{repair.command-a6py9xvz.js → repair.command-v7mwqvjh.js} +5 -5
  52. package/{scalar.command-7f3xfpen.js → scalar.command-pg3gneer.js} +4 -4
  53. package/{subspace.command-z7nqs508.js → subspace.command-ejdmvbq7.js} +4 -4
  54. package/{tunnel.command-zy4wbcgt.js → tunnel.command-rz9qf230.js} +2 -2
  55. package/{workflow.command-f142t17s.js → workflow.command-6r809r2z.js} +10 -10
  56. package/{workspace.command-gpk1149x.js → workspace.command-8g3cw7jd.js} +20 -20
  57. package/cloud.script-yct1sk4k.js +0 -20
  58. package/context.runner-90hsmacr.js +0 -21
package/.build-stamp CHANGED
@@ -1 +1 @@
1
- 0e7a5dcd028f8a43952646d4bbd60e5a0917f2ef29d8a7e26e3125a4fe291e06
1
+ 20a0a0fbce8962661a51b98aa93ddc526be88b983214609482888d57271761c6
@@ -1,8 +1,8 @@
1
1
  // @bun
2
2
  import {
3
3
  CodeAgent2
4
- } from "./index-mk3b9rk1.js";
5
- import"./index-8tv7356t.js";
4
+ } from "./index-ptshj7y1.js";
5
+ import"./index-d5yn19ef.js";
6
6
  import"./index-7md2g9vw.js";
7
7
  export {
8
8
  CodeAgent2 as CodeAgent
@@ -4,7 +4,7 @@ import {
4
4
  McpServerConfig,
5
5
  McpTokenStore,
6
6
  McpSignIn
7
- } from "./index-8tv7356t.js";
7
+ } from "./index-d5yn19ef.js";
8
8
  import {
9
9
  CodeTuiLines2,
10
10
  CodeTuiAgents2,
@@ -2,16 +2,16 @@
2
2
  import {
3
3
  Workspace,
4
4
  command
5
- } from "./index-xb7qhxa8.js";
5
+ } from "./index-1skctzbq.js";
6
6
  import"./index-52w0fvh8.js";
7
- import"./index-n3jk2501.js";
7
+ import"./index-e52z7psd.js";
8
8
  import"./index-hj6w4ka1.js";
9
- import"./index-hmdq5pqm.js";
10
- import"./index-tzc1gtrg.js";
9
+ import"./index-84r80zdx.js";
10
+ import"./index-vcdxpmsx.js";
11
11
  import"./index-zzvvc845.js";
12
12
  import {
13
13
  AgentScript
14
- } from "./index-bxmejydw.js";
14
+ } from "./index-smbecayj.js";
15
15
 
16
16
  // pkgs/@akanjs/cli/agent/agent.command.ts
17
17
  class AgentCommand extends command("agent", [AgentScript], ({ public: target }) => ({
package/akanCode.js CHANGED
@@ -28,7 +28,7 @@ import {
28
28
  CodeMailbox2,
29
29
  CodeSessionFork2,
30
30
  CodeAgent2
31
- } from "./index-mk3b9rk1.js";
31
+ } from "./index-ptshj7y1.js";
32
32
  import {
33
33
  akanCodeDefaultModel2,
34
34
  akanCodeModel2,
@@ -39,7 +39,7 @@ import {
39
39
  import {
40
40
  SubagentPool2,
41
41
  akanCodePaths2
42
- } from "./index-8tv7356t.js";
42
+ } from "./index-d5yn19ef.js";
43
43
  import"./index-7md2g9vw.js";
44
44
  import {
45
45
  CodeAgentRpcHost2
@@ -6,19 +6,19 @@ import {
6
6
  Exec,
7
7
  Workspace,
8
8
  command
9
- } from "./index-xb7qhxa8.js";
9
+ } from "./index-1skctzbq.js";
10
10
  import"./index-52w0fvh8.js";
11
- import"./index-n3jk2501.js";
11
+ import"./index-e52z7psd.js";
12
12
  import {
13
13
  getMobileTargetChoices
14
- } from "./index-kb16nzyt.js";
14
+ } from "./index-f8q701fb.js";
15
15
  import"./index-48k96p55.js";
16
- import"./index-gxamdf18.js";
16
+ import"./index-zvr7wfyg.js";
17
17
  import {
18
18
  ApplicationScript
19
- } from "./index-3rh7thcx.js";
19
+ } from "./index-zc90rh75.js";
20
20
  import"./index-7md2g9vw.js";
21
- import"./index-35mmm9ca.js";
21
+ import"./index-ksq4t16z.js";
22
22
 
23
23
  // pkgs/@akanjs/cli/application/application.command.ts
24
24
  var mobileTargetOption = {
@@ -1,15 +1,15 @@
1
1
  // @bun
2
2
  import {
3
3
  Spinner
4
- } from "./index-n3jk2501.js";
5
- import"./index-6x9p8dpb.js";
4
+ } from "./index-e52z7psd.js";
5
+ import"./index-9s5zga3q.js";
6
6
  import {
7
7
  AllRoutesBuilder,
8
8
  CsrArtifactBuilder,
9
9
  FontPruner,
10
10
  precompressArtifacts,
11
11
  SsrBaseArtifactBuilder
12
- } from "./index-376gpdds.js";
12
+ } from "./index-ew8dna9s.js";
13
13
  import"./index-52w0fvh8.js";
14
14
  import"./index-n68jx79w.js";
15
15
 
@@ -6,7 +6,7 @@ import {
6
6
  resolveSsrPageEntriesForApp,
7
7
  WorkspaceExecutor,
8
8
  AppExecutor
9
- } from "./index-n3jk2501.js";
9
+ } from "./index-e52z7psd.js";
10
10
  import {
11
11
  computeRouteSeedIndex,
12
12
  saveRouteSeedIndex,
@@ -14,14 +14,14 @@ import {
14
14
  PagesBundleBuilder,
15
15
  CsrDevBundler,
16
16
  SsrDevBundler
17
- } from "./index-6x9p8dpb.js";
17
+ } from "./index-9s5zga3q.js";
18
18
  import"./index-52w0fvh8.js";
19
19
  import {
20
20
  CsrArtifactBuilder,
21
21
  CssCompiler,
22
22
  FontOptimizer,
23
23
  SsrBaseArtifactBuilder
24
- } from "./index-376gpdds.js";
24
+ } from "./index-ew8dna9s.js";
25
25
  import"./index-n68jx79w.js";
26
26
 
27
27
  // pkgs/@akanjs/devkit/incrementalBuilder/buildBatch.proc.ts
@@ -6,22 +6,22 @@ import {
6
6
  import {
7
7
  Workspace,
8
8
  command
9
- } from "./index-xb7qhxa8.js";
10
- import"./index-n3jk2501.js";
9
+ } from "./index-1skctzbq.js";
10
+ import"./index-e52z7psd.js";
11
11
  import {
12
12
  PlatformTestRun
13
- } from "./index-5rp0h6na.js";
13
+ } from "./index-947t6zm4.js";
14
14
  import"./index-48k96p55.js";
15
- import"./index-kb16nzyt.js";
16
- import"./index-gxamdf18.js";
17
- import"./index-3rh7thcx.js";
15
+ import"./index-f8q701fb.js";
16
+ import"./index-zvr7wfyg.js";
17
+ import"./index-zc90rh75.js";
18
18
  import"./index-7md2g9vw.js";
19
19
  import"./index-2ahj896a.js";
20
- import"./index-a4s954kq.js";
20
+ import"./index-arnkqb6f.js";
21
21
  import {
22
22
  CloudScript2
23
- } from "./index-qcejqgts.js";
24
- import"./index-35mmm9ca.js";
23
+ } from "./index-8psse8dw.js";
24
+ import"./index-ksq4t16z.js";
25
25
 
26
26
  // pkgs/@akanjs/cli/cloud/cloud.command.ts
27
27
  var localRegistryUrl = () => process.env.AKAN_NPM_REGISTRY ?? "http://127.0.0.1:4873";
@@ -0,0 +1,20 @@
1
+ // @bun
2
+ import {
3
+ CloudScript2
4
+ } from "./index-8psse8dw.js";
5
+ import"./index-947t6zm4.js";
6
+ import"./index-arnkqb6f.js";
7
+ import"./index-zc90rh75.js";
8
+ import"./index-ksq4t16z.js";
9
+ import"./index-zvr7wfyg.js";
10
+ import"./index-f8q701fb.js";
11
+ import"./index-94s080qm.js";
12
+ import"./index-1skctzbq.js";
13
+ import"./index-7md2g9vw.js";
14
+ import"./index-48k96p55.js";
15
+ import"./index-e52z7psd.js";
16
+ import"./index-2ahj896a.js";
17
+ import"./index-52w0fvh8.js";
18
+ export {
19
+ CloudScript2 as CloudScript
20
+ };
@@ -4,9 +4,9 @@ import {
4
4
  runner,
5
5
  script,
6
6
  command
7
- } from "./index-xb7qhxa8.js";
7
+ } from "./index-1skctzbq.js";
8
8
  import"./index-52w0fvh8.js";
9
- import"./index-n3jk2501.js";
9
+ import"./index-e52z7psd.js";
10
10
  import {
11
11
  akanCodeDefaultModel2,
12
12
  CodeAgentStreamPrinter2
@@ -19,7 +19,7 @@ class CodeRunner extends runner("code") {
19
19
  async serve(options, listen) {
20
20
  await import("./consoleToStderr-h5bryj94.js");
21
21
  const [{ CodeAgent }, { CodeAgentRpcHost }, { CodeAgentRpcListener }] = await Promise.all([
22
- import("./CodeAgent-xnfyyz8h.js"),
22
+ import("./CodeAgent-tbdpdjat.js"),
23
23
  import("./CodeAgentRpcHost-p7h6n2hp.js"),
24
24
  import("./CodeAgentRpcListener-7p7z5dd7.js")
25
25
  ]);
@@ -34,8 +34,8 @@ class CodeRunner extends runner("code") {
34
34
  }
35
35
  async tui(options, seed) {
36
36
  const [{ CodeAgent }, { CodeTui }] = await Promise.all([
37
- import("./CodeAgent-xnfyyz8h.js"),
38
- import("./CodeTui-h66xb1fh.js")
37
+ import("./CodeAgent-tbdpdjat.js"),
38
+ import("./CodeTui-my2x5fah.js")
39
39
  ]);
40
40
  const agentOptions = await CodeRunner.#agentOptions(options, false);
41
41
  let resume = options.resume;
@@ -60,7 +60,7 @@ class CodeRunner extends runner("code") {
60
60
  }
61
61
  }
62
62
  async run(prompt, options) {
63
- const { CodeAgent } = await import("./CodeAgent-xnfyyz8h.js");
63
+ const { CodeAgent } = await import("./CodeAgent-tbdpdjat.js");
64
64
  const agent = await CodeAgent.create(await CodeRunner.#agentOptions(options, false));
65
65
  const printer = new CodeAgentStreamPrinter2({ json: options.json, thinking: options.thinking });
66
66
  agent.on((event) => printer.print(event));
@@ -2,24 +2,24 @@
2
2
  import {
3
3
  Workspace,
4
4
  command
5
- } from "./index-xb7qhxa8.js";
5
+ } from "./index-1skctzbq.js";
6
6
  import"./index-52w0fvh8.js";
7
- import"./index-n3jk2501.js";
7
+ import"./index-e52z7psd.js";
8
8
  import"./index-hj6w4ka1.js";
9
- import"./index-hmdq5pqm.js";
10
- import"./index-tzc1gtrg.js";
11
- import"./index-hqd0h1pb.js";
12
- import"./index-kb16nzyt.js";
9
+ import"./index-84r80zdx.js";
10
+ import"./index-vcdxpmsx.js";
11
+ import"./index-rqxa9r98.js";
12
+ import"./index-f8q701fb.js";
13
13
  import"./index-zzvvc845.js";
14
- import"./index-0ncc0mbk.js";
15
- import"./index-se643zvp.js";
16
- import"./index-wfwgcnyc.js";
17
- import"./index-hf6f4xnb.js";
18
- import"./index-tsb0f8ya.js";
19
- import"./index-rtwhw4aq.js";
14
+ import"./index-q9q7x4zj.js";
15
+ import"./index-qk9vv9hm.js";
16
+ import"./index-nhhrjvk1.js";
17
+ import"./index-cxafpw23.js";
18
+ import"./index-7yf7rnjg.js";
19
+ import"./index-f50dy7yq.js";
20
20
  import {
21
21
  ContextScript
22
- } from "./index-167c77aq.js";
22
+ } from "./index-ymnqrsxm.js";
23
23
 
24
24
  // pkgs/@akanjs/cli/context/context.command.ts
25
25
  class ContextCommand extends command("context", [ContextScript], ({ public: target }) => ({
@@ -0,0 +1,21 @@
1
+ // @bun
2
+ import {
3
+ ContextRunner2
4
+ } from "./index-rqxa9r98.js";
5
+ import"./index-f50dy7yq.js";
6
+ import"./index-7yf7rnjg.js";
7
+ import"./index-cxafpw23.js";
8
+ import"./index-q9q7x4zj.js";
9
+ import"./index-nhhrjvk1.js";
10
+ import"./index-qk9vv9hm.js";
11
+ import"./index-f8q701fb.js";
12
+ import"./index-vcdxpmsx.js";
13
+ import"./index-84r80zdx.js";
14
+ import"./index-zzvvc845.js";
15
+ import"./index-1skctzbq.js";
16
+ import"./index-e52z7psd.js";
17
+ import"./index-hj6w4ka1.js";
18
+ import"./index-52w0fvh8.js";
19
+ export {
20
+ ContextRunner2 as ContextRunner
21
+ };
@@ -2,9 +2,9 @@
2
2
  import {
3
3
  script,
4
4
  command
5
- } from "./index-xb7qhxa8.js";
5
+ } from "./index-1skctzbq.js";
6
6
  import"./index-52w0fvh8.js";
7
- import"./index-n3jk2501.js";
7
+ import"./index-e52z7psd.js";
8
8
  import {
9
9
  Prompter2
10
10
  } from "./index-zzvvc845.js";
@@ -352,7 +352,8 @@ Full contract: `get_guideline` with `runtimeRule`, or `akan guideline show runti
352
352
  declares the steps its own runtime needs and every mounting app inherits them.
353
353
  - **Native apps are the `native` section** — iOS, Android and a desktop app (macOS, Windows, Linux), each shipping
354
354
  the CSR bundle on the native runtime. Shared fields (`appName`, `appId`, `version`, `indexPath`, `permissions`,
355
- `plugins`, `deepLinks`, `updates`, …) sit beside one section per platform: `ios`, `android`, `desktop`. Without
355
+ `plugins`, `deepLinks`, `updates`, …) sit beside one section per platform: `ios`, `android`, `desktop`, and a
356
+ platform section's own `indexPath` wins on that platform (`desktop: { indexPath: "/" }`). Without
356
357
  `targets` the app has one target, `default`, and an app with no basePaths leaves `basePath` out; a target takes
357
358
  the same shape and overrides the section field by field — objects merge key by key, a list or any other value
358
359
  replaces the section's. `akan start-ios` / `start-android` / `start-desktop` run a dev build that loads its pages
@@ -228,6 +228,9 @@ const config: AppConfig = {
228
228
  },
229
229
  ```
230
230
 
231
+ - **A platform section may name its own `indexPath`**, which wins on that platform: `indexPath: "/mobile"` with
232
+ `desktop: { indexPath: "/" }` opens the phones on `/mobile` and the desktop app on `/`, from one target, so no
233
+ command needs `--target`. It moves the dev build's first page and the `indexPath` its bundle carries alike.
231
234
  - **`basePath` is the client a target opens.** An app with no basePaths leaves it out. Without `targets`, the one
232
235
  target opens the basePath named like the app when there is one; in an app with basePaths, a target that names
233
236
  none is a template, and `--target <basePath>` builds that client from it.
@@ -8,7 +8,7 @@ import {
8
8
  CodegenLock,
9
9
  WorkspaceExecutor,
10
10
  AppExecutor
11
- } from "./index-n3jk2501.js";
11
+ } from "./index-e52z7psd.js";
12
12
  import"./index-52w0fvh8.js";
13
13
  import {
14
14
  GraphClientEntryDiscovery,
@@ -20,7 +20,7 @@ import {
20
20
  DevChangePlanner,
21
21
  DevGeneratedIndexSync,
22
22
  SsrDevBundler
23
- } from "./index-6x9p8dpb.js";
23
+ } from "./index-9s5zga3q.js";
24
24
  import {
25
25
  prepareDevWatchBatch
26
26
  } from "./index-a5vmm6x4.js";
@@ -10,7 +10,7 @@ import {
10
10
  LibExecutor,
11
11
  PkgExecutor,
12
12
  ModuleExecutor
13
- } from "./index-n3jk2501.js";
13
+ } from "./index-e52z7psd.js";
14
14
 
15
15
  // pkgs/@akanjs/devkit/commandDecorators/camelToKebabCase.ts
16
16
  var camelToKebabCase = (str) => str.replace(/([A-Z])/g, "-$1").toLowerCase();
@@ -2,12 +2,12 @@
2
2
  import {
3
3
  runner,
4
4
  script
5
- } from "./index-xb7qhxa8.js";
5
+ } from "./index-1skctzbq.js";
6
6
  import {
7
7
  generatedFilesForSync,
8
8
  createPassedPrimitiveReport,
9
9
  scalarChangedFiles
10
- } from "./index-hmdq5pqm.js";
10
+ } from "./index-84r80zdx.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-n3jk2501.js";
5
+ } from "./index-e52z7psd.js";
6
6
 
7
7
  // pkgs/@akanjs/devkit/workflow/utils.ts
8
8
  var jsonText = (value, { trailingNewline = true } = {}) => `${JSON.stringify(value, null, 2)}${trailingNewline ? `
@@ -5,19 +5,19 @@ import {
5
5
  } from "./index-94s080qm.js";
6
6
  import {
7
7
  script
8
- } from "./index-xb7qhxa8.js";
8
+ } from "./index-1skctzbq.js";
9
9
  import {
10
10
  PkgExecutor
11
- } from "./index-n3jk2501.js";
11
+ } from "./index-e52z7psd.js";
12
12
  import {
13
13
  ApplicationScript
14
- } from "./index-3rh7thcx.js";
14
+ } from "./index-zc90rh75.js";
15
15
  import {
16
16
  PackageScript
17
- } from "./index-a4s954kq.js";
17
+ } from "./index-arnkqb6f.js";
18
18
  import {
19
19
  CloudRunner
20
- } from "./index-5rp0h6na.js";
20
+ } from "./index-947t6zm4.js";
21
21
 
22
22
  // pkgs/@akanjs/cli/cloud/cloud.script.ts
23
23
  import { Logger } from "akanjs/common";
@@ -6,11 +6,11 @@ import {
6
6
  } from "./index-94s080qm.js";
7
7
  import {
8
8
  runner
9
- } from "./index-xb7qhxa8.js";
9
+ } from "./index-1skctzbq.js";
10
10
  import {
11
11
  WorkspaceExecutor,
12
12
  AppExecutor
13
- } from "./index-n3jk2501.js";
13
+ } from "./index-e52z7psd.js";
14
14
  import {
15
15
  openBrowser
16
16
  } from "./index-9dp031by.js";
@@ -9,7 +9,7 @@ import {
9
9
  import {
10
10
  AsyncDefaultExportDetector,
11
11
  resolveSsrPageEntriesForApp
12
- } from "./index-n3jk2501.js";
12
+ } from "./index-e52z7psd.js";
13
13
 
14
14
  // pkgs/@akanjs/devkit/artifact/routeSeedIndex.ts
15
15
  import path from "path";
@@ -2,13 +2,13 @@
2
2
  import {
3
3
  runner,
4
4
  script
5
- } from "./index-xb7qhxa8.js";
5
+ } from "./index-1skctzbq.js";
6
6
  import {
7
7
  FileSys2
8
8
  } from "./index-52w0fvh8.js";
9
9
  import {
10
10
  PkgExecutor
11
- } from "./index-n3jk2501.js";
11
+ } from "./index-e52z7psd.js";
12
12
  import {
13
13
  TypeScriptDependencyScanner2
14
14
  } from "./index-2ahj896a.js";
@@ -1,12 +1,12 @@
1
1
  // @bun
2
2
  import {
3
3
  script
4
- } from "./index-xb7qhxa8.js";
4
+ } from "./index-1skctzbq.js";
5
5
  import {
6
6
  AppExecutor,
7
7
  LibExecutor,
8
8
  ModuleExecutor
9
- } from "./index-n3jk2501.js";
9
+ } from "./index-e52z7psd.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-hmdq5pqm.js";
44
+ } from "./index-84r80zdx.js";
45
45
  import {
46
46
  ModuleScript
47
- } from "./index-wfwgcnyc.js";
47
+ } from "./index-nhhrjvk1.js";
48
48
 
49
49
  // pkgs/@akanjs/cli/primitive/primitive.script.ts
50
50
  import { capitalize, lowerlize } from "akanjs/common";
@@ -116,7 +116,7 @@ class SubagentPool2 {
116
116
  }
117
117
  }
118
118
  async#run(id, kind, prompt, signal) {
119
- const { CodeAgent } = await import("./CodeAgent-xnfyyz8h.js");
119
+ const { CodeAgent } = await import("./CodeAgent-tbdpdjat.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({
@@ -949,9 +949,9 @@ class AkanAppConfig {
949
949
  } = merged;
950
950
  const indexPath = normalizeIndexPath(rawIndexPath);
951
951
  const deepLinks = normalizeDeepLinks(rawDeepLinks);
952
- const { teamId: rawTeamId, ...iosRest } = merged.ios ?? {};
952
+ const { teamId: rawTeamId, ...iosRest } = AkanAppConfig.#platformIndexPath(merged.ios ?? {});
953
953
  const teamId = rawTeamId?.trim();
954
- const { sha256CertFingerprints: rawFingerprints, ...androidRest } = merged.android ?? {};
954
+ const { sha256CertFingerprints: rawFingerprints, ...androidRest } = AkanAppConfig.#platformIndexPath(merged.android ?? {});
955
955
  const fingerprints = normalizeStringList(rawFingerprints);
956
956
  const target = {
957
957
  ...rest,
@@ -961,6 +961,7 @@ class AkanAppConfig {
961
961
  ...deepLinks ? { deepLinks } : {},
962
962
  ...merged.ios ? { ios: { ...iosRest, ...teamId ? { teamId } : {} } } : {},
963
963
  ...merged.android ? { android: { ...androidRest, ...fingerprints ? { sha256CertFingerprints: fingerprints } : {} } } : {},
964
+ ...merged.desktop ? { desktop: AkanAppConfig.#platformIndexPath(merged.desktop) } : {},
964
965
  appName: merged.appName ?? this.app.name,
965
966
  appId: merged.appId ?? appId,
966
967
  version: merged.version ?? version,
@@ -971,6 +972,11 @@ class AkanAppConfig {
971
972
  }));
972
973
  return { appName, appId, ...root.fileName ? { fileName: root.fileName } : {}, version, buildNum, targets };
973
974
  }
975
+ static #platformIndexPath(section) {
976
+ const { indexPath: rawIndexPath, ...rest } = section;
977
+ const indexPath = normalizeIndexPath(rawIndexPath);
978
+ return { ...rest, ...indexPath ? { indexPath } : {} };
979
+ }
974
980
  static #overlay(base, own) {
975
981
  const merge = (kept, value, top, key) => {
976
982
  if (!AkanAppConfig.#isPlainObject(kept) || !AkanAppConfig.#isPlainObject(value))
@@ -1011,8 +1017,9 @@ class AkanAppConfig {
1011
1017
  "android",
1012
1018
  "desktop"
1013
1019
  ],
1014
- ios: ["teamId", "infoPlist", "entitlements", "privacy", "files"],
1020
+ ios: ["indexPath", "teamId", "infoPlist", "entitlements", "privacy", "files"],
1015
1021
  android: [
1022
+ "indexPath",
1016
1023
  "sha256CertFingerprints",
1017
1024
  "googleServices",
1018
1025
  "push",
@@ -1022,7 +1029,7 @@ class AkanAppConfig {
1022
1029
  "activity",
1023
1030
  "files"
1024
1031
  ],
1025
- desktop: ["server", "recovery", "window", "screenCapture"],
1032
+ desktop: ["indexPath", "server", "recovery", "window", "screenCapture"],
1026
1033
  deepLinks: ["schemes", "domains"]
1027
1034
  };
1028
1035
  static #movedKeys = {
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  resolveSsrPageEntriesForApp
4
- } from "./index-n3jk2501.js";
4
+ } from "./index-e52z7psd.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-6x9p8dpb.js";
19
+ } from "./index-9s5zga3q.js";
20
20
  import {
21
21
  SOURCE_EXTS
22
22
  } from "./index-48k96p55.js";
@@ -22,26 +22,26 @@ import {
22
22
  renderWorkflowApply,
23
23
  renderWorkflowValidation,
24
24
  renderWorkflowRunArtifact
25
- } from "./index-hmdq5pqm.js";
25
+ } from "./index-84r80zdx.js";
26
26
  import {
27
27
  AkanContextAnalyzer
28
- } from "./index-tzc1gtrg.js";
28
+ } from "./index-vcdxpmsx.js";
29
29
  import {
30
30
  CommandContainer,
31
31
  runner
32
- } from "./index-xb7qhxa8.js";
32
+ } from "./index-1skctzbq.js";
33
33
  import {
34
34
  ModuleScript
35
- } from "./index-wfwgcnyc.js";
35
+ } from "./index-nhhrjvk1.js";
36
36
  import {
37
37
  PrimitiveScript
38
- } from "./index-hf6f4xnb.js";
38
+ } from "./index-cxafpw23.js";
39
39
  import {
40
40
  spawnShell
41
- } from "./index-0ncc0mbk.js";
41
+ } from "./index-q9q7x4zj.js";
42
42
  import {
43
43
  ScalarScript
44
- } from "./index-tsb0f8ya.js";
44
+ } from "./index-7yf7rnjg.js";
45
45
 
46
46
  // pkgs/@akanjs/cli/workflow/workflow.runner.ts
47
47
  import { mkdir, readFile, writeFile } from "fs/promises";