@akanjs/cli 3.0.0-beta.11 → 3.0.0-beta.13

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 (31) hide show
  1. package/.build-stamp +1 -1
  2. package/{TunnelShare-sbsaggmb.js → TunnelShare-2kwqb1j6.js} +2 -2
  3. package/{abstractCompactor-bqh31fk5.js → abstractCompactor-g04vqcff.js} +2 -2
  4. package/{application.command-pc8mdn3w.js → application.command-8s8ns95d.js} +1 -1
  5. package/{cloud.command-cawrd5nq.js → cloud.command-p5dnhft9.js} +5 -5
  6. package/{cloud.script-1bmptvw0.js → cloud.script-gxpbhras.js} +5 -5
  7. package/{context.command-982b6kdp.js → context.command-wsjt98c1.js} +6 -6
  8. package/{devTui-hmteztv3.js → devTui-myg3pqeg.js} +1 -1
  9. package/{devTuiView-40jvjnyz.js → devTuiView-gz2fbf4v.js} +1 -1
  10. package/{guideline.command-jn0vwszx.js → guideline.command-snqzfyt0.js} +2 -2
  11. package/guidelines/agentRule/agentRule.instruction.md +37 -9
  12. package/{index-yc1keaer.js → index-5tw8t1ts.js} +1 -1
  13. package/{index-bw2marpf.js → index-649svkyt.js} +11 -5
  14. package/{index-8tfmh0v6.js → index-bz10w9t2.js} +3 -3
  15. package/{index-r8bd61d9.js → index-cnzm1wn5.js} +3 -3
  16. package/{index-kbsach1y.js → index-h3g1152j.js} +1 -1
  17. package/{index-ceph7zqj.js → index-j1tajctp.js} +1 -1
  18. package/{index-3pvkjza8.js → index-j7rwsd23.js} +3 -3
  19. package/{index-fr2x3qvv.js → index-kpnp2e10.js} +1 -1
  20. package/{index-ay8wj00x.js → index-t3c045et.js} +4 -4
  21. package/{index-jcekapz4.js → index-wmb05v4q.js} +1 -1
  22. package/index.js +12 -12
  23. package/{localRegistry.command-rx758ajg.js → localRegistry.command-w6w35j4r.js} +4 -4
  24. package/{module.command-c2eve036.js → module.command-8zkq0q9q.js} +3 -3
  25. package/package.json +2 -2
  26. package/{primitive.command-c44f7z1s.js → primitive.command-qm7tybpn.js} +4 -4
  27. package/{scalar.command-xyzerygj.js → scalar.command-a1ewkmab.js} +3 -3
  28. package/{subspace.command-ebfwzypw.js → subspace.command-3w5x13a1.js} +2 -2
  29. package/{tunnel.command-v6a7at16.js → tunnel.command-09n8h4s1.js} +2 -2
  30. package/{workflow.command-t174m6sy.js → workflow.command-y3fct1rq.js} +5 -5
  31. package/{workspace.command-bg3eveth.js → workspace.command-p6td4qad.js} +9 -9
package/.build-stamp CHANGED
@@ -1 +1 @@
1
- 14dcf08e297228b84d390560fb0b666562b61989362641c9027868a93d4c503a
1
+ 00a6059ed52a1c07cac97cd101175f3f591a5679683a8d58f9085ef6dfdfb23d
@@ -1,8 +1,8 @@
1
1
  // @bun
2
2
  import {
3
3
  TunnelShare2
4
- } from "./index-jcekapz4.js";
5
- import"./index-bw2marpf.js";
4
+ } from "./index-wmb05v4q.js";
5
+ import"./index-649svkyt.js";
6
6
  import"./index-q0y2jq9j.js";
7
7
  export {
8
8
  TunnelShare2 as TunnelShare
@@ -1,9 +1,9 @@
1
1
  // @bun
2
2
  import"./index-q0y2jq9j.js";
3
- import"./index-bw2marpf.js";
3
+ import"./index-649svkyt.js";
4
4
  import {
5
5
  AiSession
6
- } from "./index-yc1keaer.js";
6
+ } from "./index-5tw8t1ts.js";
7
7
  import {
8
8
  AbstractDoc
9
9
  } from "./index-meh558jy.js";
@@ -12,7 +12,7 @@ import"./index-5nyznra1.js";
12
12
  import"./index-6wwzs1bc.js";
13
13
  import {
14
14
  ApplicationScript
15
- } from "./index-r8bd61d9.js";
15
+ } from "./index-cnzm1wn5.js";
16
16
  import"./index-1nwxbr2y.js";
17
17
  import"./index-hwkygn9s.js";
18
18
  import"./index-ys7dvdb3.js";
@@ -2,23 +2,23 @@
2
2
  import"./index-q0y2jq9j.js";
3
3
  import {
4
4
  GlobalConfig
5
- } from "./index-bw2marpf.js";
5
+ } from "./index-649svkyt.js";
6
6
  import {
7
7
  Workspace,
8
8
  command
9
9
  } from "./index-b3ae16mg.js";
10
10
  import"./index-5nyznra1.js";
11
11
  import"./index-6wwzs1bc.js";
12
- import"./index-yc1keaer.js";
13
- import"./index-r8bd61d9.js";
12
+ import"./index-5tw8t1ts.js";
13
+ import"./index-cnzm1wn5.js";
14
14
  import"./index-1nwxbr2y.js";
15
15
  import"./index-hwkygn9s.js";
16
16
  import"./index-kcxmv48c.js";
17
17
  import"./index-t8gvwcrx.js";
18
- import"./index-8tfmh0v6.js";
18
+ import"./index-bz10w9t2.js";
19
19
  import {
20
20
  CloudScript2
21
- } from "./index-ay8wj00x.js";
21
+ } from "./index-t3c045et.js";
22
22
  import"./index-ys7dvdb3.js";
23
23
 
24
24
  // pkgs/@akanjs/cli/cloud/cloud.command.ts
@@ -1,14 +1,14 @@
1
1
  // @bun
2
2
  import {
3
3
  CloudScript2
4
- } from "./index-ay8wj00x.js";
5
- import"./index-8tfmh0v6.js";
6
- import"./index-r8bd61d9.js";
4
+ } from "./index-t3c045et.js";
5
+ import"./index-bz10w9t2.js";
6
+ import"./index-cnzm1wn5.js";
7
7
  import"./index-ys7dvdb3.js";
8
8
  import"./index-1nwxbr2y.js";
9
9
  import"./index-t8gvwcrx.js";
10
- import"./index-yc1keaer.js";
11
- import"./index-bw2marpf.js";
10
+ import"./index-5tw8t1ts.js";
11
+ import"./index-649svkyt.js";
12
12
  import"./index-b3ae16mg.js";
13
13
  import"./index-hwkygn9s.js";
14
14
  import"./index-5nyznra1.js";
@@ -11,17 +11,17 @@ import"./index-jwjaf9fy.js";
11
11
  import"./index-15r9a10e.js";
12
12
  import {
13
13
  ContextScript
14
- } from "./index-3pvkjza8.js";
14
+ } from "./index-j7rwsd23.js";
15
15
  import"./index-7f4dsf9v.js";
16
16
  import"./index-h7yw2z9n.js";
17
17
  import"./index-em4swemt.js";
18
18
  import"./index-8pkvrcv1.js";
19
- import"./index-bw2marpf.js";
20
- import"./index-yc1keaer.js";
21
- import"./index-fr2x3qvv.js";
19
+ import"./index-649svkyt.js";
20
+ import"./index-5tw8t1ts.js";
21
+ import"./index-kpnp2e10.js";
22
22
  import"./index-sh88vtye.js";
23
- import"./index-kbsach1y.js";
24
- import"./index-ceph7zqj.js";
23
+ import"./index-h3g1152j.js";
24
+ import"./index-j1tajctp.js";
25
25
 
26
26
  // pkgs/@akanjs/cli/context/context.command.ts
27
27
  class ContextCommand extends command("context", [ContextScript], ({ public: target }) => ({
@@ -4,7 +4,7 @@ import {
4
4
  plainTextOf,
5
5
  HOST_SOURCE,
6
6
  DevLogBuffer
7
- } from "./index-r8bd61d9.js";
7
+ } from "./index-cnzm1wn5.js";
8
8
  import {
9
9
  writeClipboard
10
10
  } from "./index-p6pbz9n5.js";
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  // pkgs/@akanjs/cli/application/devTuiView.ts
3
3
  var createDevTuiView = async (supervisor) => {
4
- const { DevTui } = await import("./devTui-hmteztv3.js");
4
+ const { DevTui } = await import("./devTui-myg3pqeg.js");
5
5
  return new DevTui(supervisor);
6
6
  };
7
7
  export {
@@ -15,10 +15,10 @@ import {
15
15
  import {
16
16
  Prompter
17
17
  } from "./index-h7yw2z9n.js";
18
- import"./index-bw2marpf.js";
18
+ import"./index-649svkyt.js";
19
19
  import {
20
20
  AiSession
21
- } from "./index-yc1keaer.js";
21
+ } from "./index-5tw8t1ts.js";
22
22
 
23
23
  // pkgs/@akanjs/cli/guideline/guideline.script.ts
24
24
  import { Logger } from "akanjs/common";
@@ -691,27 +691,55 @@ apps and libs never import it directly (`no-import-external-library`) — everyt
691
691
  `<button {...agentAttrs(run)} onClick={run}>`, where `run` is what `st.tool(…).exec(…)` returned. It reads the
692
692
  name off the callable, so there is nothing to keep in sync and no `ref` to thread — and it earns the same E2E
693
693
  selector and accessibility name an `akanjs/ui` control has. Never hand-write `data-akan-*`.
694
- - **Nothing is ever waited on.** The call starts the moment the effect is handed its event; a ring that lands a
694
+ - **A control that shares its handler with its siblings takes a key**: `agentAttrs(switchTab, menu)`, in the same
695
+ vocabulary the call's argument uses. One tool serves a whole tab strip or a whole list, so without it every
696
+ namesake is interchangeable in the DOM and the page can say *what* the agent did but never *where* — which the
697
+ no-guessing rule then turns into drawing nothing. `Tab.Menu` passes its `menu` key; do the same for a row verb
698
+ whose id the call names.
699
+ - **Almost nothing is waited on.** The call starts the moment the effect is handed its event; a ring that lands a
695
700
  frame later costs the turn nothing, and an animation that held a call would make the agent slower for a
696
- decoration. A batch past four calls stops scrolling and keeps ringing — eight scrolls across a page is motion
697
- sickness rather than attribution.
701
+ decoration. A turn past four scrolls stops scrolling and keeps ringing — eight scrolls across a page is motion
702
+ sickness rather than attribution. **The one exception is `navigate`**, whose press has to land before the router
703
+ replaces the tree the link is in; it is capped at 600ms and the call goes either way.
698
704
  - **What it refuses to draw is the point.** A name several rows answer to rings nothing rather than guessing a row,
699
705
  a call an approval or a guard turned back is never drawn at all, a tool no control carries draws nothing, and a
700
706
  backgrounded tab draws nothing. A ring on the wrong element is worse than no ring: it is the screen telling the
701
- user something untrue about what just happened. **`navigate` is in that last class** — the router is not an
702
- element, so it draws nothing. A bar across the top of the page was tried for it and removed: it read as chrome
703
- the page had grown rather than as the agent doing something, which is the opposite of attribution.
707
+ user something untrue about what just happened. **A control the screen is not actually showing is not pointed at
708
+ either, and the pointer goes rather than travelling to it**: `checkVisibility` answers about an element alone, so
709
+ one under a modal's backdrop, inside a drawer that has slid off, or faded to nothing all pass it while being
710
+ invisible, and a pointer sent there lands on a blank patch of overlay. The test is `elementFromPoint` at the
711
+ control's own centre, taken after the reveal has settled. **`navigate` is mostly in that last class** — the router is not
712
+ an element, so it draws nothing. A bar across the top of the page was tried for it and removed: it read as
713
+ chrome the page had grown rather than as the agent doing something, which is the opposite of attribution. What
714
+ it does draw is the **link already on screen that goes where it is going**, when exactly one does and the user
715
+ can already see it: that one is an element, and the pointer presses it before the route moves. Addresses are
716
+ compared as routes (`router.routeOf`), since the locale and base-path segments are on the `<a>` and never on the
717
+ tool argument. An off-screen link is left alone — scrolling to a link and then leaving the page it is on is two
718
+ motions for one act. **Link presence is a drawing condition, never a permission one**: the agent may navigate
719
+ anywhere the user could type, and a zone that must not leave one screen drops `navigate` through `builtins`.
704
720
  - **Turn it off with `visual`** on `Agent.Chat` / `Agent.Zone` — `false` for all of it, `{ cursor: false }` or
705
721
  `{ reveal: false }` for one effect. The pointer is chrome (`data-agent-ui`, `aria-hidden`,
706
722
  `pointer-events: none`), so `readScreen` never reads it back and `highlight` can never aim at it.
707
723
  - **`ToolActivity` is the channel underneath**, a `ToolRunner` host option and an `AgentSession.onActivity`, firing
708
724
  `start` / `end` around the execution alone. It is deliberately not `progress`: that one fires only for a tool
709
725
  that chose to report, and a tool that says nothing about itself is exactly the one whose effect arrives
710
- unexplained.
726
+ unexplained. The `start` may answer a promise, and the call waits for it — the whole of what makes drawing a
727
+ click on a link possible.
728
+ - **`AgentSession.onTurn(running)` is the other half**, and the unit the pointer's life is measured in. A model's
729
+ calls arrive with its own writing between them, seconds each, so a pointer that lived for the length of a *call*
730
+ spent every turn vanishing and coming back. Only the conversation loop reports there — `compact` runs under the
731
+ same internal flag and drives nothing on screen.
711
732
  - **The pointer presses on arrival, never on departure** — a press fired as it leaves is a click on whatever it
712
733
  was still over. It glides only when the hop is far enough to be worth following (a third of a second to cross
713
- fifty pixels reads as lag, not motion), teleports otherwise, and fades once the batch is over. The ring answers
714
- *where* and the pointer answers *who*, which is why they are one default rather than two.
734
+ fifty pixels reads as lag, not motion), and teleports otherwise. It appears at the first control it presses,
735
+ **drifts clear of what it pressed** and waits out the gap between calls there as a spinner — a person clicks and
736
+ takes the hand away, and a spinner left sitting on the button covers the change it just caused — and fades when
737
+ the turn ends; **a turn that
738
+ drove no control draws no pointer at all**, since parking one in a corner for a turn that only answered a
739
+ question claims something that did not happen. While a reveal scrolls, it holds still — as a person's does — and
740
+ carries a chevron pointing the way the view is travelling, because stillness over a sliding page otherwise reads
741
+ as a pointer that has come loose rather than as the one doing the scrolling. The ring answers *where* and the
742
+ pointer answers *who*, which is why they are one default rather than two.
715
743
  - **A form patch fans out over the fields it named.** `fill<Model>Form` is published by the form rather than by any
716
744
  one control, so it rings one control per field in the arguments — resolved through the same
717
745
  `data-akan-state="<model>Form.<field>"` the setter annotates — capped at five. `writeOn<Model>(path, value)`
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  GlobalConfig
4
- } from "./index-bw2marpf.js";
4
+ } from "./index-649svkyt.js";
5
5
  import {
6
6
  Spinner
7
7
  } from "./index-5nyznra1.js";
@@ -127,7 +127,7 @@ class HttpClient {
127
127
  ...headers
128
128
  }
129
129
  });
130
- return await response.json();
130
+ return await HttpClient.#body(response, url);
131
131
  }
132
132
  async getFile(url, localPath, headers) {
133
133
  const response = await fetch(`${this.baseUrl}${url}`, {
@@ -144,7 +144,13 @@ class HttpClient {
144
144
  body: isFormData ? data : JSON.stringify(data),
145
145
  headers: isFormData ? { ...this.headers, ...headers } : { "Content-Type": "application/json", ...this.headers, ...headers }
146
146
  });
147
- return await response.json();
147
+ return await HttpClient.#body(response, url);
148
+ }
149
+ static async#body(response, url) {
150
+ const text = await response.text();
151
+ if (!response.ok)
152
+ throw new Error(`${response.status} ${response.statusText} from ${url}: ${text.slice(0, 200)}`);
153
+ return JSON.parse(text);
148
154
  }
149
155
  setHeaders(headers) {
150
156
  Object.assign(this.headers, headers);
@@ -217,13 +223,13 @@ class CloudApi {
217
223
  return this.#accessToken;
218
224
  }
219
225
  async requestTunnel(input) {
220
- return await this.#api.post(`/requestTunnel`, input);
226
+ return await this.#api.post(`/tunnel/requestTunnel`, input);
221
227
  }
222
228
  async tunnelListInSelf() {
223
- return await this.#api.get(`/tunnelListInSelf`);
229
+ return await this.#api.get(`/tunnel/tunnelListInSelf`);
224
230
  }
225
231
  async revokeTunnel(code) {
226
- return await this.#api.post(`/revokeTunnel`, { code });
232
+ return await this.#api.post(`/tunnel/revokeTunnel`, { code });
227
233
  }
228
234
  async getRemoteSelf() {
229
235
  try {
@@ -3,20 +3,20 @@ import {
3
3
  getDefaultHostConfig,
4
4
  GlobalConfig,
5
5
  CloudApi
6
- } from "./index-bw2marpf.js";
6
+ } from "./index-649svkyt.js";
7
7
  import {
8
8
  WorkspaceExecutor,
9
9
  AppExecutor
10
10
  } from "./index-5nyznra1.js";
11
11
  import {
12
12
  AiSession
13
- } from "./index-yc1keaer.js";
13
+ } from "./index-5tw8t1ts.js";
14
14
  import {
15
15
  runner
16
16
  } from "./index-b3ae16mg.js";
17
17
  import {
18
18
  openBrowser
19
- } from "./index-r8bd61d9.js";
19
+ } from "./index-cnzm1wn5.js";
20
20
 
21
21
  // pkgs/@akanjs/cli/cloud/cloud.runner.ts
22
22
  import path from "path";
@@ -2052,7 +2052,7 @@ import ora from "ora";
2052
2052
  var loadBuildRunner = async () => (await import("./applicationBuildRunner-4f1wrba0.js")).ApplicationBuildRunner;
2053
2053
  var loadReleasePackager = async () => (await import("./applicationReleasePackager-jkjmy5ee.js")).ApplicationReleasePackager;
2054
2054
  var loadCapacitorApp = async () => (await import("./capacitorApp-hqvsrec4.js")).CapacitorApp;
2055
- var loadAbstractCompactor = async () => (await import("./abstractCompactor-bqh31fk5.js")).AbstractCompactor;
2055
+ var loadAbstractCompactor = async () => (await import("./abstractCompactor-g04vqcff.js")).AbstractCompactor;
2056
2056
  var loadPrompts = async () => await import("@inquirer/prompts");
2057
2057
 
2058
2058
  class ApplicationRunner extends runner("application") {
@@ -3299,7 +3299,7 @@ class ApplicationScript extends script("application", [ApplicationRunner, Librar
3299
3299
  throw new Error("No app selected to start");
3300
3300
  const startedDatabase = dbup ? await this.#prepareSharedDatabase(apps) : false;
3301
3301
  const supervisor = new DevSupervisor({ apps, mode, concurrency, open, write });
3302
- const view = mode === "tui" ? await (await import("./devTuiView-40jvjnyz.js")).createDevTuiView(supervisor) : new DevStreamView(apps.map((app) => app.name));
3302
+ const view = mode === "tui" ? await (await import("./devTuiView-gz2fbf4v.js")).createDevTuiView(supervisor) : new DevStreamView(apps.map((app) => app.name));
3303
3303
  await supervisor.run(view);
3304
3304
  if (startedDatabase)
3305
3305
  await this.#stopDatabase(workspace);
@@ -3420,7 +3420,7 @@ class ApplicationScript extends script("application", [ApplicationRunner, Librar
3420
3420
  #shareOnInterrupt(apps) {
3421
3421
  const shares = [];
3422
3422
  const open = Promise.all(apps.map(async (app) => {
3423
- const { TunnelShare } = await import("./TunnelShare-sbsaggmb.js");
3423
+ const { TunnelShare } = await import("./TunnelShare-2kwqb1j6.js");
3424
3424
  const share = await TunnelShare.open(app, { workspace: app.workspace });
3425
3425
  shares.push(share);
3426
3426
  Logger6.rawLog(`${app.name} is shared at ${share.url}`);
@@ -42,7 +42,7 @@ import {
42
42
  } from "./index-jwjaf9fy.js";
43
43
  import {
44
44
  ModuleScript
45
- } from "./index-fr2x3qvv.js";
45
+ } from "./index-kpnp2e10.js";
46
46
 
47
47
  // pkgs/@akanjs/cli/primitive/primitive.script.ts
48
48
  import { capitalize } from "akanjs/common";
@@ -10,7 +10,7 @@ import {
10
10
  } from "./index-jwjaf9fy.js";
11
11
  import {
12
12
  AiSession
13
- } from "./index-yc1keaer.js";
13
+ } from "./index-5tw8t1ts.js";
14
14
  import {
15
15
  Prompter
16
16
  } from "./index-h7yw2z9n.js";
@@ -39,13 +39,13 @@ import {
39
39
  } from "./index-8pkvrcv1.js";
40
40
  import {
41
41
  ModuleScript
42
- } from "./index-fr2x3qvv.js";
42
+ } from "./index-kpnp2e10.js";
43
43
  import {
44
44
  PrimitiveScript
45
- } from "./index-kbsach1y.js";
45
+ } from "./index-h3g1152j.js";
46
46
  import {
47
47
  ScalarScript
48
- } from "./index-ceph7zqj.js";
48
+ } from "./index-j1tajctp.js";
49
49
  import {
50
50
  getMobileTargets
51
51
  } from "./index-47pj3aee.js";
@@ -7,7 +7,7 @@ import {
7
7
  } from "./index-5nyznra1.js";
8
8
  import {
9
9
  AiSession
10
- } from "./index-yc1keaer.js";
10
+ } from "./index-5tw8t1ts.js";
11
11
  import {
12
12
  runner,
13
13
  script
@@ -2,25 +2,25 @@
2
2
  import {
3
3
  GlobalConfig,
4
4
  CloudApi
5
- } from "./index-bw2marpf.js";
5
+ } from "./index-649svkyt.js";
6
6
  import {
7
7
  PkgExecutor
8
8
  } from "./index-5nyznra1.js";
9
9
  import {
10
10
  AiSession
11
- } from "./index-yc1keaer.js";
11
+ } from "./index-5tw8t1ts.js";
12
12
  import {
13
13
  script
14
14
  } from "./index-b3ae16mg.js";
15
15
  import {
16
16
  ApplicationScript
17
- } from "./index-r8bd61d9.js";
17
+ } from "./index-cnzm1wn5.js";
18
18
  import {
19
19
  PackageScript
20
20
  } from "./index-t8gvwcrx.js";
21
21
  import {
22
22
  CloudRunner
23
- } from "./index-8tfmh0v6.js";
23
+ } from "./index-bz10w9t2.js";
24
24
 
25
25
  // pkgs/@akanjs/cli/cloud/cloud.script.ts
26
26
  import { Logger } from "akanjs/common";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  GlobalConfig,
4
4
  CloudApi
5
- } from "./index-bw2marpf.js";
5
+ } from "./index-649svkyt.js";
6
6
 
7
7
  // pkgs/@akanjs/cli/tunnel/TunnelShare.ts
8
8
  import { TunnelAgent } from "akanjs/server/tunnel";
package/index.js CHANGED
@@ -14,24 +14,24 @@ import path from "path";
14
14
 
15
15
  // pkgs/@akanjs/cli/commandModules.ts
16
16
  var commandModules = {
17
- workspace: async () => (await import("./workspace.command-bg3eveth.js")).WorkspaceCommand,
17
+ workspace: async () => (await import("./workspace.command-p6td4qad.js")).WorkspaceCommand,
18
18
  agent: async () => (await import("./agent.command-7357vxd8.js")).AgentCommand,
19
- application: async () => (await import("./application.command-pc8mdn3w.js")).ApplicationCommand,
19
+ application: async () => (await import("./application.command-8s8ns95d.js")).ApplicationCommand,
20
20
  library: async () => (await import("./library.command-1f9h2ex6.js")).LibraryCommand,
21
- localRegistry: async () => (await import("./localRegistry.command-rx758ajg.js")).LocalRegistryCommand,
21
+ localRegistry: async () => (await import("./localRegistry.command-w6w35j4r.js")).LocalRegistryCommand,
22
22
  package: async () => (await import("./package.command-y2rh4np7.js")).PackageCommand,
23
- module: async () => (await import("./module.command-c2eve036.js")).ModuleCommand,
23
+ module: async () => (await import("./module.command-8zkq0q9q.js")).ModuleCommand,
24
24
  page: async () => (await import("./page.command-e5h29fyt.js")).PageCommand,
25
- context: async () => (await import("./context.command-982b6kdp.js")).ContextCommand,
26
- cloud: async () => (await import("./cloud.command-cawrd5nq.js")).CloudCommand,
27
- subspace: async () => (await import("./subspace.command-ebfwzypw.js")).SubspaceCommand,
28
- guideline: async () => (await import("./guideline.command-jn0vwszx.js")).GuidelineCommand,
29
- scalar: async () => (await import("./scalar.command-xyzerygj.js")).ScalarCommand,
30
- primitive: async () => (await import("./primitive.command-c44f7z1s.js")).PrimitiveCommand,
25
+ context: async () => (await import("./context.command-wsjt98c1.js")).ContextCommand,
26
+ cloud: async () => (await import("./cloud.command-p5dnhft9.js")).CloudCommand,
27
+ subspace: async () => (await import("./subspace.command-3w5x13a1.js")).SubspaceCommand,
28
+ guideline: async () => (await import("./guideline.command-snqzfyt0.js")).GuidelineCommand,
29
+ scalar: async () => (await import("./scalar.command-a1ewkmab.js")).ScalarCommand,
30
+ primitive: async () => (await import("./primitive.command-qm7tybpn.js")).PrimitiveCommand,
31
31
  quality: async () => (await import("./quality.command-5evdd263.js")).QualityCommand,
32
32
  repair: async () => (await import("./repair.command-c2amvt74.js")).RepairCommand,
33
- workflow: async () => (await import("./workflow.command-t174m6sy.js")).WorkflowCommand,
34
- tunnel: async () => (await import("./tunnel.command-v6a7at16.js")).TunnelCommand
33
+ workflow: async () => (await import("./workflow.command-y3fct1rq.js")).WorkflowCommand,
34
+ tunnel: async () => (await import("./tunnel.command-09n8h4s1.js")).TunnelCommand
35
35
  };
36
36
  var commandModuleIds = Object.keys(commandModules);
37
37
 
@@ -12,15 +12,15 @@ import {
12
12
  import"./index-6wwzs1bc.js";
13
13
  import {
14
14
  ApplicationScript
15
- } from "./index-r8bd61d9.js";
15
+ } from "./index-cnzm1wn5.js";
16
16
  import"./index-1nwxbr2y.js";
17
17
  import"./index-hwkygn9s.js";
18
- import"./index-bw2marpf.js";
19
- import"./index-yc1keaer.js";
18
+ import"./index-649svkyt.js";
19
+ import"./index-5tw8t1ts.js";
20
20
  import {
21
21
  getNpmRegistryUrl,
22
22
  CloudRunner
23
- } from "./index-8tfmh0v6.js";
23
+ } from "./index-bz10w9t2.js";
24
24
  import"./index-kcxmv48c.js";
25
25
  import {
26
26
  PackageScript
@@ -10,11 +10,11 @@ import"./index-6wwzs1bc.js";
10
10
  import {
11
11
  renderPrimitiveReport
12
12
  } from "./index-jwjaf9fy.js";
13
- import"./index-bw2marpf.js";
14
- import"./index-yc1keaer.js";
13
+ import"./index-649svkyt.js";
14
+ import"./index-5tw8t1ts.js";
15
15
  import {
16
16
  ModuleScript
17
- } from "./index-fr2x3qvv.js";
17
+ } from "./index-kpnp2e10.js";
18
18
  import"./index-sh88vtye.js";
19
19
  import"./index-h7yw2z9n.js";
20
20
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akanjs/cli",
3
- "version": "3.0.0-beta.11",
3
+ "version": "3.0.0-beta.13",
4
4
  "sourceType": "module",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -33,7 +33,7 @@
33
33
  "@langchain/openai": "^1.4.6",
34
34
  "@tailwindcss/node": "^4.3.0",
35
35
  "@trapezedev/project": "^7.1.4",
36
- "akanjs": "3.0.0-beta.11",
36
+ "akanjs": "3.0.0-beta.13",
37
37
  "chalk": "^5.6.2",
38
38
  "commander": "^14.0.3",
39
39
  "dayjs": "^1.11.20",
@@ -9,14 +9,14 @@ import"./index-6wwzs1bc.js";
9
9
  import {
10
10
  renderPrimitiveReport
11
11
  } from "./index-jwjaf9fy.js";
12
- import"./index-bw2marpf.js";
13
- import"./index-yc1keaer.js";
14
- import"./index-fr2x3qvv.js";
12
+ import"./index-649svkyt.js";
13
+ import"./index-5tw8t1ts.js";
14
+ import"./index-kpnp2e10.js";
15
15
  import"./index-sh88vtye.js";
16
16
  import"./index-h7yw2z9n.js";
17
17
  import {
18
18
  PrimitiveScript
19
- } from "./index-kbsach1y.js";
19
+ } from "./index-h3g1152j.js";
20
20
 
21
21
  // pkgs/@akanjs/cli/primitive/primitive.command.ts
22
22
  import { Logger } from "akanjs/common";
@@ -9,12 +9,12 @@ import"./index-6wwzs1bc.js";
9
9
  import {
10
10
  renderPrimitiveReport
11
11
  } from "./index-jwjaf9fy.js";
12
- import"./index-bw2marpf.js";
13
- import"./index-yc1keaer.js";
12
+ import"./index-649svkyt.js";
13
+ import"./index-5tw8t1ts.js";
14
14
  import"./index-h7yw2z9n.js";
15
15
  import {
16
16
  ScalarScript
17
- } from "./index-ceph7zqj.js";
17
+ } from "./index-j1tajctp.js";
18
18
 
19
19
  // pkgs/@akanjs/cli/scalar/scalar.command.ts
20
20
  import { Logger, lowerlize } from "akanjs/common";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./index-q0y2jq9j.js";
5
5
  import {
6
6
  GlobalConfig
7
- } from "./index-bw2marpf.js";
7
+ } from "./index-649svkyt.js";
8
8
  import {
9
9
  Workspace,
10
10
  CommandContainer,
@@ -725,7 +725,7 @@ class SubspaceRunner extends runner("subspace") {
725
725
  if (!asked)
726
726
  return { name: subspace.name, workspaceId, host, apps, libs: [], outcome: "cancelled", files: [] };
727
727
  const { libs } = await subspace.slice();
728
- const { CloudScript } = await import("./cloud.script-1bmptvw0.js");
728
+ const { CloudScript } = await import("./cloud.script-gxpbhras.js");
729
729
  const { files } = await CommandContainer.get(CloudScript).uploadEnv(workspace, {
730
730
  host,
731
731
  workspaceId,
@@ -3,7 +3,7 @@ import"./index-q0y2jq9j.js";
3
3
  import {
4
4
  GlobalConfig,
5
5
  CloudApi
6
- } from "./index-bw2marpf.js";
6
+ } from "./index-649svkyt.js";
7
7
  import {
8
8
  Workspace,
9
9
  runner,
@@ -16,7 +16,7 @@ import {
16
16
  import"./index-6wwzs1bc.js";
17
17
  import {
18
18
  TunnelShare2
19
- } from "./index-jcekapz4.js";
19
+ } from "./index-wmb05v4q.js";
20
20
  import {
21
21
  writeClipboard
22
22
  } from "./index-p6pbz9n5.js";
@@ -10,19 +10,19 @@ import"./index-6wwzs1bc.js";
10
10
  import {
11
11
  createWorkflowStepRegistry
12
12
  } from "./index-jwjaf9fy.js";
13
- import"./index-bw2marpf.js";
14
- import"./index-yc1keaer.js";
13
+ import"./index-649svkyt.js";
14
+ import"./index-5tw8t1ts.js";
15
15
  import {
16
16
  ModuleScript
17
- } from "./index-fr2x3qvv.js";
17
+ } from "./index-kpnp2e10.js";
18
18
  import"./index-sh88vtye.js";
19
19
  import"./index-h7yw2z9n.js";
20
20
  import {
21
21
  PrimitiveScript
22
- } from "./index-kbsach1y.js";
22
+ } from "./index-h3g1152j.js";
23
23
  import {
24
24
  ScalarScript
25
- } from "./index-ceph7zqj.js";
25
+ } from "./index-j1tajctp.js";
26
26
  import"./index-by5gpp8x.js";
27
27
  import"./index-15r9a10e.js";
28
28
  import {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./index-q0y2jq9j.js";
5
5
  import {
6
6
  GlobalConfig
7
- } from "./index-bw2marpf.js";
7
+ } from "./index-649svkyt.js";
8
8
  import {
9
9
  Exec,
10
10
  Workspace,
@@ -40,12 +40,12 @@ import {
40
40
  } from "./index-s3fvrydw.js";
41
41
  import {
42
42
  ApplicationScript
43
- } from "./index-r8bd61d9.js";
43
+ } from "./index-cnzm1wn5.js";
44
44
  import {
45
45
  LibraryScript
46
46
  } from "./index-1nwxbr2y.js";
47
47
  import"./index-hwkygn9s.js";
48
- import"./index-yc1keaer.js";
48
+ import"./index-5tw8t1ts.js";
49
49
  import"./index-kcxmv48c.js";
50
50
  import {
51
51
  PackageScript
@@ -53,20 +53,20 @@ import {
53
53
  import {
54
54
  getNpmRegistryUrl,
55
55
  getLatestPackageVersion
56
- } from "./index-8tfmh0v6.js";
56
+ } from "./index-bz10w9t2.js";
57
57
  import {
58
58
  CloudScript2
59
- } from "./index-ay8wj00x.js";
59
+ } from "./index-t3c045et.js";
60
60
  import {
61
61
  ContextScript
62
- } from "./index-3pvkjza8.js";
62
+ } from "./index-j7rwsd23.js";
63
63
  import"./index-7f4dsf9v.js";
64
64
  import"./index-em4swemt.js";
65
65
  import"./index-8pkvrcv1.js";
66
- import"./index-fr2x3qvv.js";
66
+ import"./index-kpnp2e10.js";
67
67
  import"./index-sh88vtye.js";
68
- import"./index-kbsach1y.js";
69
- import"./index-ceph7zqj.js";
68
+ import"./index-h3g1152j.js";
69
+ import"./index-j1tajctp.js";
70
70
  import"./index-ys7dvdb3.js";
71
71
 
72
72
  // pkgs/@akanjs/cli/workspace/workspace.runner.ts