@akanjs/cli 3.1.1-rc.6 → 3.1.1-rc.7

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 (28) hide show
  1. package/.build-stamp +1 -1
  2. package/{CodeAgent-y6ppa10x.js → CodeAgent-3sy7kjgj.js} +2 -2
  3. package/{CodeTui-dy37zz3j.js → CodeTui-rqxarxsn.js} +1 -1
  4. package/{TunnelShare-mnn0jxnp.js → TunnelShare-q38dxrrr.js} +3 -3
  5. package/akanCode.js +2 -2
  6. package/{application.command-fdghyjfj.js → application.command-fm2yn6hj.js} +3 -3
  7. package/{cloud.command-eyxwxnrn.js → cloud.command-ya0evzfq.js} +15 -10
  8. package/{cloud.script-c9f92bev.js → cloud.script-zg43jse2.js} +6 -6
  9. package/{code.command-4kqbrjt9.js → code.command-719k3e9q.js} +4 -4
  10. package/{context.command-h56yvjay.js → context.command-c4t4z1vy.js} +4 -4
  11. package/{context.runner-cf11819z.js → context.runner-qb15sjf8.js} +3 -3
  12. package/{index-ds2tmxgx.js → index-5max10jx.js} +533 -137
  13. package/{index-bksa6cqh.js → index-5phjb48k.js} +3 -3
  14. package/{index-krz4bcg5.js → index-8ap5z1n5.js} +1 -1
  15. package/{index-kr9vpvdn.js → index-8w76g4rm.js} +4 -4
  16. package/{index-44hh6bx2.js → index-hqegmnb5.js} +53 -6
  17. package/{index-jhbkzc8c.js → index-jh72e64b.js} +42 -1
  18. package/{index-12ny6e0x.js → index-pbtzb54h.js} +11 -9
  19. package/{index-jg2xev75.js → index-qd5km521.js} +3 -97
  20. package/{index-zz4vrw85.js → index-vah0fgkr.js} +1 -1
  21. package/{index-e9b3zh22.js → index-xy97mqgq.js} +34 -3
  22. package/{index-secyhsjs.js → index-zrte51fn.js} +1 -1
  23. package/index.js +8 -8
  24. package/{localRegistry.command-bajag7gm.js → localRegistry.command-h924ek5g.js} +5 -5
  25. package/package.json +2 -2
  26. package/{subspace.command-dzpfbc99.js → subspace.command-vem71tr5.js} +3 -3
  27. package/{tunnel.command-cfw6f0vz.js → tunnel.command-vy08ecyp.js} +3 -3
  28. package/{workspace.command-5rc8f0wt.js → workspace.command-fmgycnbr.js} +8 -8
package/.build-stamp CHANGED
@@ -1 +1 @@
1
- 391c408b48e51aeae62b642c223b7629e843c7917e382c56410dbba209e0c3fe
1
+ a5bf31c17cc6b60e36b70c7841c4145edae3bbddd06b8d5ecd3b716788f87acd
@@ -1,8 +1,8 @@
1
1
  // @bun
2
2
  import {
3
3
  CodeAgent2
4
- } from "./index-bksa6cqh.js";
5
- import"./index-krz4bcg5.js";
4
+ } from "./index-5phjb48k.js";
5
+ import"./index-8ap5z1n5.js";
6
6
  import"./index-7md2g9vw.js";
7
7
  export {
8
8
  CodeAgent2 as CodeAgent
@@ -5,7 +5,7 @@ import {
5
5
  McpTokenStore,
6
6
  McpSignIn,
7
7
  AkanCodeCompaction2
8
- } from "./index-krz4bcg5.js";
8
+ } from "./index-8ap5z1n5.js";
9
9
  import {
10
10
  CodeTuiLines2,
11
11
  CodeTuiAgents2,
@@ -1,9 +1,9 @@
1
1
  // @bun
2
2
  import {
3
3
  TunnelShare2
4
- } from "./index-zz4vrw85.js";
5
- import"./index-e9b3zh22.js";
6
- import"./index-ds2tmxgx.js";
4
+ } from "./index-vah0fgkr.js";
5
+ import"./index-xy97mqgq.js";
6
+ import"./index-5max10jx.js";
7
7
  import"./index-m9jj544v.js";
8
8
  import"./index-xb8809yb.js";
9
9
  import"./index-0fz95kxe.js";
package/akanCode.js CHANGED
@@ -28,7 +28,7 @@ import {
28
28
  CodeMailbox2,
29
29
  CodeSessionFork2,
30
30
  CodeAgent2
31
- } from "./index-bksa6cqh.js";
31
+ } from "./index-5phjb48k.js";
32
32
  import {
33
33
  akanCodeDefaultModel2,
34
34
  akanCodeModel2,
@@ -40,7 +40,7 @@ import {
40
40
  SubagentPool2,
41
41
  akanCodePaths2,
42
42
  AkanCodeCompaction2
43
- } from "./index-krz4bcg5.js";
43
+ } from "./index-8ap5z1n5.js";
44
44
  import"./index-7md2g9vw.js";
45
45
  import {
46
46
  CodeAgentRpcHost2
@@ -11,15 +11,15 @@ import {
11
11
  import"./index-52w0fvh8.js";
12
12
  import"./index-wcej7g4z.js";
13
13
  import"./index-5nd1wtkv.js";
14
- import"./index-jg2xev75.js";
14
+ import"./index-5max10jx.js";
15
+ import"./index-qd5km521.js";
15
16
  import"./index-m9jj544v.js";
16
- import"./index-ds2tmxgx.js";
17
17
  import"./index-xb8809yb.js";
18
18
  import"./index-0fz95kxe.js";
19
19
  import"./index-2xcc2ax5.js";
20
20
  import {
21
21
  ApplicationScript
22
- } from "./index-12ny6e0x.js";
22
+ } from "./index-pbtzb54h.js";
23
23
  import"./index-7md2g9vw.js";
24
24
  import {
25
25
  writeOption,
@@ -6,24 +6,24 @@ import {
6
6
  } from "./index-3wypz6xj.js";
7
7
  import"./index-52w0fvh8.js";
8
8
  import"./index-wcej7g4z.js";
9
- import"./index-e9b3zh22.js";
9
+ import"./index-xy97mqgq.js";
10
10
  import {
11
11
  PlatformTestRun
12
- } from "./index-jhbkzc8c.js";
13
- import"./index-jg2xev75.js";
12
+ } from "./index-jh72e64b.js";
13
+ import"./index-5max10jx.js";
14
+ import"./index-qd5km521.js";
14
15
  import"./index-m9jj544v.js";
15
- import"./index-ds2tmxgx.js";
16
16
  import"./index-xb8809yb.js";
17
17
  import"./index-0fz95kxe.js";
18
18
  import"./index-5nd1wtkv.js";
19
19
  import"./index-2xcc2ax5.js";
20
- import"./index-12ny6e0x.js";
20
+ import"./index-pbtzb54h.js";
21
21
  import"./index-7md2g9vw.js";
22
22
  import"./index-tvehn2sp.js";
23
23
  import"./index-42j4a8zq.js";
24
24
  import {
25
25
  CloudScript2
26
- } from "./index-44hh6bx2.js";
26
+ } from "./index-hqegmnb5.js";
27
27
  import {
28
28
  writeOption,
29
29
  oneNativeTargetOption,
@@ -96,10 +96,14 @@ class CloudCommand extends command("cloud", [CloudScript2], ({ public: target })
96
96
  await this.cloudScript.update(workspace, tag, { registryUrl: resolveRegistryUrl(registry) });
97
97
  }),
98
98
  pushUpdate: target({
99
- desc: "Pack an over-the-air update of a phone's web bundle, or take the folder `akan pack-update` wrote, and upload it to the Akan Cloud project, which signs and publishes it. Exits 2 when the pack needs a new store build or the project rejects it, 1 on any other failure"
99
+ desc: "Pack an over-the-air update of a phone's web bundle, or take the folder `akan pack-update` wrote, and upload it to the Akan Cloud project, which signs and publishes it; or upload the desktop release `akan publish-update` signed, as it is. Exits 2 when the pack needs a new store build or the project rejects it, 1 on any other failure"
100
100
  }).with(App).option("platform", String, {
101
- enum: ["ios", "android"],
102
- desc: "the app it updates (with --pack, default: the pack's)",
101
+ enum: ["ios", "android", "desktop", "macos", "windows", "linux"],
102
+ desc: "the app it updates; desktop is this computer's OS (with --pack, default: the pack's)",
103
+ nullable: true
104
+ }).option("arch", String, {
105
+ desc: "desktop: the CPU of the release, arm64 or x64 (default this computer's)",
106
+ enum: ["arm64", "x64"],
103
107
  nullable: true
104
108
  }).option("target", String, {
105
109
  desc: "native target name, a key of native.targets (default: the only one; with --pack, the pack's)",
@@ -116,9 +120,10 @@ class CloudCommand extends command("cloud", [CloudScript2], ({ public: target })
116
120
  flag: "d",
117
121
  desc: "a folder `akan pack-update` wrote, uploaded instead of packing; --platform, --target and --env must match it",
118
122
  nullable: true
119
- }).option("publicEnv", String, publicEnvOption("the update")).with(Workspace).exec(async function(app, platform, target, env, channel, notes, subspace, host, write, allowLocalRelease, pack, publicEnv, workspace) {
123
+ }).option("publicEnv", String, publicEnvOption("the update")).with(Workspace).exec(async function(app, platform, arch, target, env, channel, notes, subspace, host, write, allowLocalRelease, pack, publicEnv, workspace) {
120
124
  await this.cloudScript.pushUpdate(workspace, app, {
121
125
  platform,
126
+ arch,
122
127
  target,
123
128
  env,
124
129
  channel,
@@ -1,15 +1,15 @@
1
1
  // @bun
2
2
  import {
3
3
  CloudScript2
4
- } from "./index-44hh6bx2.js";
5
- import"./index-jhbkzc8c.js";
6
- import"./index-12ny6e0x.js";
4
+ } from "./index-hqegmnb5.js";
5
+ import"./index-jh72e64b.js";
6
+ import"./index-pbtzb54h.js";
7
7
  import"./index-pcwzkdqb.js";
8
8
  import"./index-2xcc2ax5.js";
9
9
  import"./index-42j4a8zq.js";
10
- import"./index-jg2xev75.js";
11
- import"./index-e9b3zh22.js";
12
- import"./index-ds2tmxgx.js";
10
+ import"./index-qd5km521.js";
11
+ import"./index-xy97mqgq.js";
12
+ import"./index-5max10jx.js";
13
13
  import"./index-m9jj544v.js";
14
14
  import"./index-3wypz6xj.js";
15
15
  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-y6ppa10x.js"),
22
+ import("./CodeAgent-3sy7kjgj.js"),
23
23
  import("./CodeAgentRpcHost-9g27hmer.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-y6ppa10x.js"),
38
- import("./CodeTui-dy37zz3j.js")
37
+ import("./CodeAgent-3sy7kjgj.js"),
38
+ import("./CodeTui-rqxarxsn.js")
39
39
  ]);
40
40
  const agentOptions = await CodeRunner.#agentOptions(options, false);
41
41
  let resume = options.resume;
@@ -67,7 +67,7 @@ class CodeRunner extends runner("code") {
67
67
  }
68
68
  }
69
69
  async run(prompt, options) {
70
- const { CodeAgent } = await import("./CodeAgent-y6ppa10x.js");
70
+ const { CodeAgent } = await import("./CodeAgent-3sy7kjgj.js");
71
71
  const agent = await CodeAgent.create(await CodeRunner.#agentOptions(options, false));
72
72
  const printer = new CodeAgentStreamPrinter2({ json: options.json, thinking: options.thinking });
73
73
  agent.on((event) => printer.print(event));
@@ -8,10 +8,10 @@ import"./index-wcej7g4z.js";
8
8
  import"./index-hj6w4ka1.js";
9
9
  import"./index-xjf5j657.js";
10
10
  import"./index-31es1yev.js";
11
- import"./index-kr9vpvdn.js";
12
- import"./index-jg2xev75.js";
11
+ import"./index-8w76g4rm.js";
12
+ import"./index-5max10jx.js";
13
+ import"./index-qd5km521.js";
13
14
  import"./index-m9jj544v.js";
14
- import"./index-ds2tmxgx.js";
15
15
  import"./index-xb8809yb.js";
16
16
  import"./index-0fz95kxe.js";
17
17
  import"./index-zzvvc845.js";
@@ -23,7 +23,7 @@ import"./index-skk9zc1x.js";
23
23
  import"./index-b70zct19.js";
24
24
  import {
25
25
  ContextScript
26
- } from "./index-secyhsjs.js";
26
+ } from "./index-zrte51fn.js";
27
27
 
28
28
  // pkgs/@akanjs/cli/context/context.command.ts
29
29
  class ContextCommand extends command("context", [ContextScript], ({ public: target }) => ({
@@ -1,15 +1,15 @@
1
1
  // @bun
2
2
  import {
3
3
  ContextRunner2
4
- } from "./index-kr9vpvdn.js";
4
+ } from "./index-8w76g4rm.js";
5
5
  import"./index-b70zct19.js";
6
6
  import"./index-skk9zc1x.js";
7
7
  import"./index-74tjjsnc.js";
8
8
  import"./index-j9vyj3dj.js";
9
9
  import"./index-hmt54t45.js";
10
10
  import"./index-905qdgqp.js";
11
- import"./index-jg2xev75.js";
12
- import"./index-ds2tmxgx.js";
11
+ import"./index-qd5km521.js";
12
+ import"./index-5max10jx.js";
13
13
  import"./index-m9jj544v.js";
14
14
  import"./index-31es1yev.js";
15
15
  import"./index-xjf5j657.js";