@akanjs/cli 3.0.0-beta.21 → 3.0.0-beta.22

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.
package/.build-stamp CHANGED
@@ -1 +1 @@
1
- a76a878d714d11a7e39b4b55f9406589931081c9da279901808cfe0e6c1c624b
1
+ 08c3bcbe3929872aa6553969f446ac5addc06b6cafef84d442ba7c0d845c099f
@@ -1,8 +1,8 @@
1
1
  // @bun
2
2
  import {
3
3
  CodeAgent2
4
- } from "./index-v5eayqqw.js";
5
- import"./index-d0arnrm8.js";
4
+ } from "./index-aaz7n8s2.js";
5
+ import"./index-hb8sgepf.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-d0arnrm8.js";
7
+ } from "./index-hb8sgepf.js";
8
8
  import {
9
9
  CodeTuiLines2,
10
10
  CodeTuiAgents2,
package/akanCode.js CHANGED
@@ -28,7 +28,7 @@ import {
28
28
  CodeMailbox2,
29
29
  CodeSessionFork2,
30
30
  CodeAgent2
31
- } from "./index-v5eayqqw.js";
31
+ } from "./index-aaz7n8s2.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-d0arnrm8.js";
42
+ } from "./index-hb8sgepf.js";
43
43
  import"./index-7md2g9vw.js";
44
44
  import {
45
45
  CodeAgentRpcHost2
@@ -11,12 +11,12 @@ import"./index-5b6tavv3.js";
11
11
  import"./index-ga6hygxr.js";
12
12
  import {
13
13
  getMobileTargetChoices
14
- } from "./index-hr5n7t4x.js";
14
+ } from "./index-ys6f0bvh.js";
15
15
  import"./index-khpfpcsd.js";
16
16
  import"./index-1db2cw0y.js";
17
17
  import {
18
18
  ApplicationScript
19
- } from "./index-z50k041j.js";
19
+ } from "./index-m79y8b2h.js";
20
20
  import"./index-7md2g9vw.js";
21
21
  import"./index-q44jbw48.js";
22
22
 
@@ -13,14 +13,14 @@ import {
13
13
  } from "./index-yjkte9aj.js";
14
14
  import"./index-khpfpcsd.js";
15
15
  import"./index-1db2cw0y.js";
16
- import"./index-z50k041j.js";
17
- import"./index-hr5n7t4x.js";
16
+ import"./index-m79y8b2h.js";
17
+ import"./index-ys6f0bvh.js";
18
18
  import"./index-7md2g9vw.js";
19
19
  import"./index-3t7g9e4r.js";
20
20
  import"./index-mgfx3mfs.js";
21
21
  import {
22
22
  CloudScript2
23
- } from "./index-8kb5p54p.js";
23
+ } from "./index-sz0myv9k.js";
24
24
  import"./index-q44jbw48.js";
25
25
 
26
26
  // pkgs/@akanjs/cli/cloud/cloud.command.ts
@@ -1,13 +1,13 @@
1
1
  // @bun
2
2
  import {
3
3
  CloudScript2
4
- } from "./index-8kb5p54p.js";
4
+ } from "./index-sz0myv9k.js";
5
5
  import"./index-yjkte9aj.js";
6
6
  import"./index-mgfx3mfs.js";
7
- import"./index-z50k041j.js";
7
+ import"./index-m79y8b2h.js";
8
8
  import"./index-q44jbw48.js";
9
9
  import"./index-1db2cw0y.js";
10
- import"./index-hr5n7t4x.js";
10
+ import"./index-ys6f0bvh.js";
11
11
  import"./index-22d57v4c.js";
12
12
  import"./index-rmcw8yc8.js";
13
13
  import"./index-7md2g9vw.js";
@@ -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-q2m47rqp.js"),
22
+ import("./CodeAgent-0dh9fzzg.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-q2m47rqp.js"),
38
- import("./CodeTui-pdqhc3sn.js")
37
+ import("./CodeAgent-0dh9fzzg.js"),
38
+ import("./CodeTui-drwdvwg9.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-q2m47rqp.js");
63
+ const { CodeAgent } = await import("./CodeAgent-0dh9fzzg.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));
@@ -8,8 +8,8 @@ import"./index-ga6hygxr.js";
8
8
  import"./index-hj6w4ka1.js";
9
9
  import"./index-yy4s1j72.js";
10
10
  import"./index-9629w7ns.js";
11
- import"./index-dg97qp24.js";
12
- import"./index-hr5n7t4x.js";
11
+ import"./index-vj1cwwy5.js";
12
+ import"./index-ys6f0bvh.js";
13
13
  import"./index-0bq14vr1.js";
14
14
  import"./index-ya5qbmyg.js";
15
15
  import"./index-rnt66vym.js";
@@ -19,7 +19,7 @@ import"./index-pp54p5zk.js";
19
19
  import"./index-m0ms3n1c.js";
20
20
  import {
21
21
  ContextScript
22
- } from "./index-7cqjvraf.js";
22
+ } from "./index-2gh9sndr.js";
23
23
 
24
24
  // pkgs/@akanjs/cli/context/context.command.ts
25
25
  class ContextCommand extends command("context", [ContextScript], ({ public: target }) => ({
@@ -1,14 +1,14 @@
1
1
  // @bun
2
2
  import {
3
3
  ContextRunner2
4
- } from "./index-dg97qp24.js";
4
+ } from "./index-vj1cwwy5.js";
5
5
  import"./index-m0ms3n1c.js";
6
6
  import"./index-pp54p5zk.js";
7
7
  import"./index-wp43xrjv.js";
8
8
  import"./index-ya5qbmyg.js";
9
9
  import"./index-tgjy8xf3.js";
10
10
  import"./index-rnt66vym.js";
11
- import"./index-hr5n7t4x.js";
11
+ import"./index-ys6f0bvh.js";
12
12
  import"./index-9629w7ns.js";
13
13
  import"./index-yy4s1j72.js";
14
14
  import"./index-0bq14vr1.js";
@@ -10,7 +10,7 @@ import {
10
10
  } from "./index-rmcw8yc8.js";
11
11
  import {
12
12
  ContextRunner2
13
- } from "./index-dg97qp24.js";
13
+ } from "./index-vj1cwwy5.js";
14
14
 
15
15
  // pkgs/@akanjs/cli/context/context.script.ts
16
16
  import { Logger } from "akanjs/common";
@@ -4,7 +4,7 @@ import {
4
4
  akanCodePaths2,
5
5
  McpServerConfig,
6
6
  McpSignIn
7
- } from "./index-d0arnrm8.js";
7
+ } from "./index-hb8sgepf.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-yvyw5g2d.js");
514
+ const { ContextRunner } = await import("./context.runner-ehjs419v.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-yvyw5g2d.js");
522
+ const { ContextRunner } = await import("./context.runner-ehjs419v.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 })) {
@@ -116,7 +116,7 @@ class SubagentPool2 {
116
116
  }
117
117
  }
118
118
  async#run(id, kind, prompt, signal) {
119
- const { CodeAgent } = await import("./CodeAgent-q2m47rqp.js");
119
+ const { CodeAgent } = await import("./CodeAgent-0dh9fzzg.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({
@@ -49,7 +49,7 @@ import {
49
49
  import {
50
50
  resolveMobileTargets,
51
51
  NativeApp
52
- } from "./index-hr5n7t4x.js";
52
+ } from "./index-ys6f0bvh.js";
53
53
  import {
54
54
  stripAnsi
55
55
  } from "./index-7md2g9vw.js";
@@ -11,7 +11,7 @@ import {
11
11
  } from "./index-ga6hygxr.js";
12
12
  import {
13
13
  ApplicationScript
14
- } from "./index-z50k041j.js";
14
+ } from "./index-m79y8b2h.js";
15
15
  import {
16
16
  PackageScript
17
17
  } from "./index-mgfx3mfs.js";
@@ -25,7 +25,7 @@ import {
25
25
  getMobileTargets,
26
26
  NativeApp,
27
27
  isPlaceholderAppId
28
- } from "./index-hr5n7t4x.js";
28
+ } from "./index-ys6f0bvh.js";
29
29
  import {
30
30
  Prompter2
31
31
  } from "./index-0bq14vr1.js";
@@ -146,7 +146,13 @@ class NativeConfig {
146
146
  photoUsageDescription: "$(PRODUCT_NAME) requires access to the photo library to take photos."
147
147
  }
148
148
  },
149
- contacts: { permission: "contacts" },
149
+ contacts: {
150
+ permission: "contacts",
151
+ plugins: ["contacts"],
152
+ usageDescriptions: {
153
+ contactsUsageDescription: "$(PRODUCT_NAME) requires access to the contacts to find people you know."
154
+ }
155
+ },
150
156
  location: {
151
157
  permission: "location",
152
158
  plugins: ["geolocation"],
package/index.js CHANGED
@@ -13,18 +13,18 @@ import path from "path";
13
13
 
14
14
  // pkgs/@akanjs/cli/commandModules.ts
15
15
  var commandModules = {
16
- workspace: async () => (await import("./workspace.command-tmdqkrh0.js")).WorkspaceCommand,
16
+ workspace: async () => (await import("./workspace.command-s82wd61q.js")).WorkspaceCommand,
17
17
  agent: async () => (await import("./agent.command-ttn09rx3.js")).AgentCommand,
18
- code: async () => (await import("./code.command-6s8c0k91.js")).CodeCommand,
19
- application: async () => (await import("./application.command-7gweenv7.js")).ApplicationCommand,
18
+ code: async () => (await import("./code.command-1jgk14tc.js")).CodeCommand,
19
+ application: async () => (await import("./application.command-mm5v2gzp.js")).ApplicationCommand,
20
20
  library: async () => (await import("./library.command-ccb1cp92.js")).LibraryCommand,
21
- localRegistry: async () => (await import("./localRegistry.command-ajb9n87j.js")).LocalRegistryCommand,
21
+ localRegistry: async () => (await import("./localRegistry.command-pgbr7vjj.js")).LocalRegistryCommand,
22
22
  package: async () => (await import("./package.command-e6ntvpez.js")).PackageCommand,
23
23
  module: async () => (await import("./module.command-5k6h407d.js")).ModuleCommand,
24
24
  page: async () => (await import("./page.command-v4f90wb8.js")).PageCommand,
25
- context: async () => (await import("./context.command-phmgywt2.js")).ContextCommand,
26
- cloud: async () => (await import("./cloud.command-bhztw7c2.js")).CloudCommand,
27
- subspace: async () => (await import("./subspace.command-ps71ynp6.js")).SubspaceCommand,
25
+ context: async () => (await import("./context.command-4vpjmg22.js")).ContextCommand,
26
+ cloud: async () => (await import("./cloud.command-f1pnvp2a.js")).CloudCommand,
27
+ subspace: async () => (await import("./subspace.command-g2tq9nrn.js")).SubspaceCommand,
28
28
  guideline: async () => (await import("./guideline.command-7jk47fgq.js")).GuidelineCommand,
29
29
  scalar: async () => (await import("./scalar.command-7ezrac2b.js")).ScalarCommand,
30
30
  primitive: async () => (await import("./primitive.command-g6km57q5.js")).PrimitiveCommand,
@@ -13,8 +13,8 @@ import"./index-khpfpcsd.js";
13
13
  import"./index-1db2cw0y.js";
14
14
  import {
15
15
  ApplicationScript
16
- } from "./index-z50k041j.js";
17
- import"./index-hr5n7t4x.js";
16
+ } from "./index-m79y8b2h.js";
17
+ import"./index-ys6f0bvh.js";
18
18
  import"./index-7md2g9vw.js";
19
19
  import"./index-22d57v4c.js";
20
20
  import {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akanjs/cli",
3
- "version": "3.0.0-beta.21",
3
+ "version": "3.0.0-beta.22",
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.0.0-beta.21",
42
+ "akanjs": "3.0.0-beta.22",
43
43
  "chalk": "^5.6.2",
44
44
  "commander": "^14.0.3",
45
45
  "dayjs": "^1.11.20",
@@ -716,7 +716,7 @@ class SubspaceRunner extends runner("subspace") {
716
716
  if (!asked)
717
717
  return { name: subspace.name, workspaceId, host, apps, libs: [], outcome: "cancelled", files: [] };
718
718
  const { libs } = await subspace.slice();
719
- const { CloudScript } = await import("./cloud.script-aabyhgba.js");
719
+ const { CloudScript } = await import("./cloud.script-d61mcf0q.js");
720
720
  const { files } = await CommandContainer.get(CloudScript).uploadEnv(workspace, {
721
721
  host,
722
722
  workspaceId,
@@ -44,8 +44,8 @@ import {
44
44
  } from "./index-1db2cw0y.js";
45
45
  import {
46
46
  ApplicationScript
47
- } from "./index-z50k041j.js";
48
- import"./index-hr5n7t4x.js";
47
+ } from "./index-m79y8b2h.js";
48
+ import"./index-ys6f0bvh.js";
49
49
  import"./index-7md2g9vw.js";
50
50
  import"./index-3t7g9e4r.js";
51
51
  import {
@@ -57,8 +57,8 @@ import {
57
57
  } from "./index-yjkte9aj.js";
58
58
  import {
59
59
  CloudScript2
60
- } from "./index-8kb5p54p.js";
61
- import"./index-dg97qp24.js";
60
+ } from "./index-sz0myv9k.js";
61
+ import"./index-vj1cwwy5.js";
62
62
  import"./index-ya5qbmyg.js";
63
63
  import"./index-rnt66vym.js";
64
64
  import"./index-tgjy8xf3.js";
@@ -67,7 +67,7 @@ import"./index-pp54p5zk.js";
67
67
  import"./index-m0ms3n1c.js";
68
68
  import {
69
69
  ContextScript
70
- } from "./index-7cqjvraf.js";
70
+ } from "./index-2gh9sndr.js";
71
71
  import"./index-q44jbw48.js";
72
72
 
73
73
  // pkgs/@akanjs/cli/workspace/workspace.runner.ts