@akanjs/cli 3.1.0-rc.7 → 3.1.0-rc.9

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
- 144fa699cb7d0d19628429f5000739f0b9f5ca1c7c027d87ddd183834c602f96
1
+ a2a890d01234dd4f421612b959b9e37569efe20db61af6c84064a73c754a4cb5
@@ -19,10 +19,10 @@ import"./index-pydbnfez.js";
19
19
  import"./index-d47ypebv.js";
20
20
  import"./index-7md2g9vw.js";
21
21
  import"./index-tvehn2sp.js";
22
- import"./index-6xn2n442.js";
22
+ import"./index-j237xtew.js";
23
23
  import {
24
24
  CloudScript2
25
- } from "./index-h47cf1gg.js";
25
+ } from "./index-bspm21y1.js";
26
26
  import {
27
27
  writeOption,
28
28
  oneNativeTargetOption,
@@ -1,12 +1,12 @@
1
1
  // @bun
2
2
  import {
3
3
  CloudScript2
4
- } from "./index-h47cf1gg.js";
4
+ } from "./index-bspm21y1.js";
5
5
  import"./index-fyq1z6kt.js";
6
6
  import"./index-d47ypebv.js";
7
7
  import"./index-35hc95h5.js";
8
8
  import"./index-pydbnfez.js";
9
- import"./index-6xn2n442.js";
9
+ import"./index-j237xtew.js";
10
10
  import"./index-vk0pa0mn.js";
11
11
  import"./index-cpb3nvma.js";
12
12
  import"./index-g1mbppa9.js";
@@ -20,7 +20,7 @@ import {
20
20
  } from "./index-d47ypebv.js";
21
21
  import {
22
22
  PackageScript
23
- } from "./index-6xn2n442.js";
23
+ } from "./index-j237xtew.js";
24
24
  import {
25
25
  CloudRunner
26
26
  } from "./index-fyq1z6kt.js";
@@ -159,10 +159,10 @@ class PackageRunner extends runner("package") {
159
159
  const packageRuntimeDependencies = {
160
160
  "@akanjs/devkit": [
161
161
  "tailwind-scrollbar",
162
- "@earendil-works/chord",
163
162
  "@earendil-works/pi-agent-core",
164
163
  "@earendil-works/pi-ai",
165
- "@earendil-works/pi-telemetry",
164
+ "@earendil-works/pi-codemode",
165
+ "@earendil-works/pi-mcp",
166
166
  "@earendil-works/pi-tui"
167
167
  ]
168
168
  };
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-5se6spqb.js")).WorkspaceCommand,
16
+ workspace: async () => (await import("./workspace.command-ms84ykse.js")).WorkspaceCommand,
17
17
  agent: async () => (await import("./agent.command-3qxf4xcj.js")).AgentCommand,
18
18
  code: async () => (await import("./code.command-0ad6gw2a.js")).CodeCommand,
19
19
  application: async () => (await import("./application.command-m1kcd7jf.js")).ApplicationCommand,
20
20
  library: async () => (await import("./library.command-erp2f56n.js")).LibraryCommand,
21
- localRegistry: async () => (await import("./localRegistry.command-xxpqgxjw.js")).LocalRegistryCommand,
22
- package: async () => (await import("./package.command-7343f74r.js")).PackageCommand,
21
+ localRegistry: async () => (await import("./localRegistry.command-y176p558.js")).LocalRegistryCommand,
22
+ package: async () => (await import("./package.command-j10r76ax.js")).PackageCommand,
23
23
  module: async () => (await import("./module.command-gs2r615e.js")).ModuleCommand,
24
24
  page: async () => (await import("./page.command-4h4a8pnh.js")).PageCommand,
25
25
  context: async () => (await import("./context.command-0qx447mb.js")).ContextCommand,
26
- cloud: async () => (await import("./cloud.command-3jzym8q7.js")).CloudCommand,
27
- subspace: async () => (await import("./subspace.command-92xkc0s0.js")).SubspaceCommand,
26
+ cloud: async () => (await import("./cloud.command-9cp1t0f5.js")).CloudCommand,
27
+ subspace: async () => (await import("./subspace.command-5c7yasd7.js")).SubspaceCommand,
28
28
  guideline: async () => (await import("./guideline.command-cv5bmrx2.js")).GuidelineCommand,
29
29
  scalar: async () => (await import("./scalar.command-20b8cy0k.js")).ScalarCommand,
30
30
  primitive: async () => (await import("./primitive.command-w6t0asqz.js")).PrimitiveCommand,
@@ -27,7 +27,7 @@ import {
27
27
  import"./index-tvehn2sp.js";
28
28
  import {
29
29
  PackageScript
30
- } from "./index-6xn2n442.js";
30
+ } from "./index-j237xtew.js";
31
31
  import"./index-35hc95h5.js";
32
32
  import"./index-665zp9rs.js";
33
33
 
@@ -9,7 +9,7 @@ import"./index-va06nr10.js";
9
9
  import"./index-tvehn2sp.js";
10
10
  import {
11
11
  PackageScript
12
- } from "./index-6xn2n442.js";
12
+ } from "./index-j237xtew.js";
13
13
 
14
14
  // pkgs/@akanjs/cli/package/package.command.ts
15
15
  class PackageCommand extends command("package", [PackageScript], ({ public: target }) => ({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akanjs/cli",
3
- "version": "3.1.0-rc.7",
3
+ "version": "3.1.0-rc.9",
4
4
  "sourceType": "module",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -31,15 +31,15 @@
31
31
  "./package.json": "./package.json"
32
32
  },
33
33
  "dependencies": {
34
- "@earendil-works/chord": "0.86.1",
35
- "@earendil-works/pi-agent-core": "0.86.1",
36
- "@earendil-works/pi-ai": "0.86.1",
37
- "@earendil-works/pi-coding-agent": "0.86.1",
38
- "@earendil-works/pi-telemetry": "0.86.1",
39
- "@earendil-works/pi-tui": "0.86.1",
34
+ "@earendil-works/pi-agent-core": "1.3.0",
35
+ "@earendil-works/pi-ai": "1.3.0",
36
+ "@earendil-works/pi-codemode": "1.3.0",
37
+ "@earendil-works/pi-coding-agent": "1.3.0",
38
+ "@earendil-works/pi-mcp": "1.3.0",
39
+ "@earendil-works/pi-tui": "1.3.0",
40
40
  "@inquirer/prompts": "^8.4.3",
41
41
  "@tailwindcss/node": "^4.3.0",
42
- "akanjs": "3.1.0-rc.7",
42
+ "akanjs": "3.1.0-rc.9",
43
43
  "chalk": "^5.6.2",
44
44
  "commander": "^14.0.3",
45
45
  "dayjs": "^1.11.20",
@@ -825,7 +825,7 @@ class SubspaceRunner extends runner("subspace") {
825
825
  if (!asked)
826
826
  return { name: subspace.name, workspaceId, host, apps, libs: [], outcome: "cancelled", files: [] };
827
827
  const { libs } = await subspace.slice();
828
- const { CloudScript } = await import("./cloud.script-r4nskbc6.js");
828
+ const { CloudScript } = await import("./cloud.script-dgstqt1m.js");
829
829
  const { files } = await CommandContainer.get(CloudScript).uploadEnv(workspace, {
830
830
  host,
831
831
  workspaceId,
@@ -20,7 +20,7 @@ interface StartProps {
20
20
  }
21
21
 
22
22
  export const Start = ({ taskId }: StartProps) => (
23
- <button className={jellyButtonRecipe({ variant: "primary", size: "xs" })} onClick={() => st.do.startTask(taskId)}>
23
+ <button type="button" className={jellyButtonRecipe({ variant: "primary", size: "xs" })} onClick={() => st.do.startTask(taskId)}>
24
24
  {usePage().l("task.taskStart")}
25
25
  </button>
26
26
  );
@@ -30,7 +30,7 @@ interface CompleteProps {
30
30
  }
31
31
 
32
32
  export const Complete = ({ taskId }: CompleteProps) => (
33
- <button className={jellyButtonRecipe({ variant: "success", size: "xs" })} onClick={() => st.do.completeTask(taskId)}>
33
+ <button type="button" className={jellyButtonRecipe({ variant: "success", size: "xs" })} onClick={() => st.do.completeTask(taskId)}>
34
34
  {usePage().l("task.taskComplete")}
35
35
  </button>
36
36
  );
@@ -41,7 +41,7 @@ interface RemoveProps {
41
41
 
42
42
  export const Remove = ({ taskId }: RemoveProps) => (
43
43
  <Model.Remove modelId={taskId} slice={fetch.slice.task}>
44
- <button className={jellyButtonRecipe({ variant: "ghost", size: "xs" }, "text-destructive")}>
44
+ <button type="button" className={jellyButtonRecipe({ variant: "ghost", size: "xs" }, "text-destructive")}>
45
45
  {usePage().l("task.taskRemove")}
46
46
  </button>
47
47
  </Model.Remove>
@@ -63,16 +63,16 @@ export const Toolbox = ({ taskId, status }: ToolboxProps) => {
63
63
  <>
64
64
  {status === "todo" && (
65
65
  <li>
66
- <button onClick={() => st.do.startTask(taskId)}>{l("task.taskStart")}</button>
66
+ <button type="button" onClick={() => st.do.startTask(taskId)}>{l("task.taskStart")}</button>
67
67
  </li>
68
68
  )}
69
69
  {status === "inProgress" && (
70
70
  <li>
71
- <button onClick={() => st.do.completeTask(taskId)}>{l("task.taskComplete")}</button>
71
+ <button type="button" onClick={() => st.do.completeTask(taskId)}>{l("task.taskComplete")}</button>
72
72
  </li>
73
73
  )}
74
74
  <li>
75
- <button className="text-destructive" onClick={() => st.do.removeTask(taskId)}>
75
+ <button type="button" className="text-destructive" onClick={() => st.do.removeTask(taskId)}>
76
76
  {l("task.taskRemove")}
77
77
  </button>
78
78
  </li>
@@ -93,7 +93,7 @@ export const Toolbox = ({ taskId, status }: ToolboxProps) => {
93
93
  // New Task Button: Model.NewWrapper — triggers new Task creation form
94
94
  // export const NewTask = () => (
95
95
  // <Model.NewWrapper partial={{}}>
96
- // <button className={jellyButtonRecipe({ variant: "primary", size: "sm" })}>+ New Task</button>
96
+ // <button type="button" className={jellyButtonRecipe({ variant: "primary", size: "sm" })}>+ New Task</button>
97
97
  // </Model.NewWrapper>
98
98
  // );
99
99
  `,
@@ -31,7 +31,7 @@ export const Card = ({ className, init }: CardProps) => {
31
31
  <div className="flex flex-col items-center gap-4 py-16 text-center">
32
32
  <div className="text-foreground/40 text-lg">{l("task.taskNoTasks")}</div>
33
33
  <Link href="/task/new">
34
- <button className={jellyButtonRecipe({ variant: "primary", size: "sm" })}>
34
+ <button type="button" className={jellyButtonRecipe({ variant: "primary", size: "sm" })}>
35
35
  {l("task.taskCreateFirst")}
36
36
  </button>
37
37
  </Link>
@@ -30,7 +30,7 @@ export const QuantityControl = ({
30
30
  }: QuantityControlProps) => {
31
31
  return (
32
32
  <div className={cn("inline-flex items-center gap-1", className)}>
33
- <button
33
+ <button type="button"
34
34
  className={jellyButtonRecipe({ variant: "default", size: "icon" }, "size-7")}
35
35
  disabled={value <= min}
36
36
  onClick={() => onChange(Math.max(min, value - 1))}
@@ -38,7 +38,7 @@ export const QuantityControl = ({
38
38
  −
39
39
  </button>
40
40
  <span className="w-8 text-center font-medium tabular-nums">{value}</span>
41
- <button
41
+ <button type="button"
42
42
  className={jellyButtonRecipe({ variant: "default", size: "icon" }, "size-7")}
43
43
  disabled={value >= max}
44
44
  onClick={() => onChange(Math.min(max, value + 1))}
@@ -24,7 +24,7 @@ export default page()
24
24
  <div className="flex animate-fadeIn items-center gap-4 px-4 pt-4">
25
25
  <div className="font-bold text-lg md:text-4xl">{l("${dict.model}.modelName")}</div>
26
26
  <Model.New
27
- trigger={<button className={buttonRecipe({ size: "sm", variant: "ghost" })}>{l("base.new")}</button>}
27
+ trigger={<button type="button" className={buttonRecipe({ size: "sm", variant: "ghost" })}>{l("base.new")}</button>}
28
28
  slice={fetch.slice.${dict.model}InPublic}
29
29
  renderTitle="id"
30
30
  >
@@ -94,4 +94,4 @@ libs/*/plugin/index.ts
94
94
  libs/*/client.ts
95
95
  libs/*/server.ts
96
96
  libs/*/index.ts
97
- **/tsconfig.tsbuildinfo
97
+ **/tsconfig.tsbuildinfo
@@ -51,14 +51,14 @@ import"./index-cpb3nvma.js";
51
51
  import"./index-tvehn2sp.js";
52
52
  import {
53
53
  PackageScript
54
- } from "./index-6xn2n442.js";
54
+ } from "./index-j237xtew.js";
55
55
  import {
56
56
  getNpmRegistryUrl,
57
57
  getLatestPackageVersion
58
58
  } from "./index-fyq1z6kt.js";
59
59
  import {
60
60
  CloudScript2
61
- } from "./index-h47cf1gg.js";
61
+ } from "./index-bspm21y1.js";
62
62
  import"./index-d72hfmdm.js";
63
63
  import"./index-j4mkhz93.js";
64
64
  import"./index-86jt2a0e.js";