@akanjs/cli 3.2.0-rc.24 → 3.2.0-rc.25

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,2 +1,2 @@
1
- dcbcd94203ef4c5c9ad76f291cfe7eb19ce55485ab0d278f65cb2ef180b0563f
2
- 57fb187c-e934-47af-b251-de7eb0dfce25
1
+ cc4e0ee215b44b9b980969600a6379ab65deb0de1714c03bbc98ba438c2eb138
2
+ 3ec45b84-0f2f-4470-b1ac-26bc61e7a42c
@@ -86,7 +86,7 @@ var workspaceTargets = ({ public: target }) => ({
86
86
  });
87
87
  var migrationTargets = ({ public: target }) => ({
88
88
  migrate: target({
89
- desc: "List, plan, apply, verify or roll back the app's data migrations in script/migration",
89
+ desc: "List, plan, apply, verify or roll back the app's data migrations in script/migration, or list and prune the indexes it no longer declares",
90
90
  stdio: true,
91
91
  usageExitCode: 2,
92
92
  onFailure: async (error, { usage, given }) => {
@@ -94,7 +94,10 @@ var migrationTargets = ({ public: target }) => ({
94
94
  return;
95
95
  await MigrationCommand.print(MigrationCommand.failure(null, migrationFailureOf(error, usage)), true);
96
96
  }
97
- }).with(App).arg("action", String, { desc: "list, plan, apply, verify or rollback", default: "list" }).arg("target", String, { desc: "migration id; for rollback, an apply's run id too", nullable: true }).option("param", String, { desc: "a param the migration declares, as name=value", multiple: true }).option("expect", String, { desc: "the plan hash an apply must still match", nullable: true }).option("items", Number, { desc: "how many planned decisions to print", nullable: true }).option("actor", String, { desc: "who runs it, as the ledger records", nullable: true }).option("json", Boolean, { desc: "print the result as one JSON line", default: false }).exec(async function(app, action, target, param, expect, items, actor, json) {
97
+ }).with(App).arg("action", String, {
98
+ desc: "list, plan, apply, verify, rollback, indexes or prune-indexes",
99
+ default: "list"
100
+ }).arg("target", String, { desc: "migration id; for rollback, an apply's run id too", nullable: true }).option("param", String, { desc: "a param the migration declares, as name=value", multiple: true }).option("expect", String, { desc: "the plan hash an apply must still match", nullable: true }).option("items", Number, { desc: "how many planned decisions to print", nullable: true }).option("actor", String, { desc: "who runs it, as the ledger records", nullable: true }).option("json", Boolean, { desc: "print the result as one JSON line", default: false }).exec(async function(app, action, target, param, expect, items, actor, json) {
98
101
  await this.applicationScript.migrate(app, [
99
102
  action,
100
103
  ...target ? [target] : [],
@@ -65,7 +65,9 @@ pages declaring one name never clash, and a registry kept outside the surface re
65
65
  `panelClassName="[&_[data-slot=agent-running]]:bg-accent"` restyles one without leaning on the markup. A modal,
66
66
  menu or popconfirm opened from inside the floating panel, `header` included, stacks above the panel, while
67
67
  one the page opens stays under it. While the turn waits on an approval, card or question, a scrim the panel
68
- opened sinks under the panel so the answer stays reachable, and it comes back once answered. `chrome={false}` drops the header bar whole, for an `inline` chat inside a
68
+ opened sinks under the panel so the answer stays reachable, and it comes back once answered. A question
69
+ arriving leaves focus in an overlay the person is typing in, and Escape in the composer closes a modal the panel
70
+ or a card opened through the modal's own close, `confirmClose` included, before it closes the panel. `chrome={false}` drops the header bar whole, for an `inline` chat inside a
69
71
  panel the app already titles, and `defaultDraft` opens the composer with text in it without sending it. A panel driven by a
70
72
  controlled `open` with **no** `onOpenChange` draws no close button at all rather than an inert one. Then the
71
73
  slots: `AgentLauncher`, `AgentSteps`, `AgentBubble`, `AgentComposer`, `AgentApproval`,
@@ -124,6 +124,10 @@ body shape — this is the full contract behind them. Before changing route beha
124
124
  `property`, and a canonical / manifest / icon link, and keeps the rest — so a page states only what it changes.
125
125
  - A canonical link and `og:url` each name one URL, so a page carries them only from its own `.head()`, never from a
126
126
  layout's.
127
+ - A level that writes `og:image` or `twitter:image` drops the `og:image:*` / `twitter:image:*` tags it inherits, and a
128
+ `<meta name="theme-color">` a `.head()` writes replaces the root `.viewport({ themeColor })`'s. Only `.head()`
129
+ merges: a `<title>` or `<meta>` written inside a component renders beside the merged head, so a second `<title>`
130
+ can reach the document.
127
131
  - **A not-found or error view titles itself**: the `<title>` and `<meta>` at the top of what a layout's `.notFound()`
128
132
  / `.error()` returns replace the layouts' head, and the page's own head is dropped. Under a `.loading()` the head is
129
133
  already out, so they stay in the view.
@@ -630,10 +630,11 @@ serving without a key. Everything else is behind the ops channel.
630
630
  get 30 a minute per process; every refusal is the same 401 and spends none of them, and an address refused 10
631
631
  times in a minute gets 429 until it passes. A malformed key, or the machine token's own key
632
632
  (`AKAN_MACHINE_PUBLIC_KEY`), logs an error and leaves the app serving with the channel off.
633
- - **A migrate job runs for the token's `sub`**, which the run records as its actor: apply and rollback refuse a
634
- token without one, and a body naming `actor` is refused. Each option reaches the command as `--name=value`. One
635
- job runs at a time per process (409 meanwhile); the run's own lease keeps two hosts on one database apart. Jobs
636
- live in memory, so after a restart read the outcome from `list`. Polls count toward the 30 a minute.
633
+ - **A migrate job runs for the token's `sub`**, which the run records as its actor: apply, rollback and prune-indexes
634
+ refuse a token without one, and a body naming `actor` is refused. Each option reaches the command as
635
+ `--name=value`. One job runs at a time per process (409 meanwhile); the run's own lease keeps two hosts on one
636
+ database apart. Jobs live in memory, so after a restart read the outcome from `list`. Polls count toward the 30 a
637
+ minute.
637
638
  - **The app holds no storage credential.** It PUTs to the presigned URLs it was handed (`application/octet-stream`,
638
639
  the manifest `application/json`), plain http only to loopback. The manifest landing is the commit marker.
639
640
  - **Snapshots cover the SQLite modes only.** `single` copies the main file and, with `includeSolid`, the Solid file;
package/index.js CHANGED
@@ -30,7 +30,7 @@ var commandModules = {
30
30
  workspace: async () => (await import("./workspace.command-y4rznvhx.js")).WorkspaceCommand,
31
31
  agent: async () => (await import("./agent.command-p75jvgrd.js")).AgentCommand,
32
32
  code: async () => (await import("./code.command-mh7dh1st.js")).CodeCommand,
33
- application: async () => (await import("./application.command-ta2knqxm.js")).ApplicationCommand,
33
+ application: async () => (await import("./application.command-2gj106xf.js")).ApplicationCommand,
34
34
  library: async () => (await import("./library.command-x219mhcx.js")).LibraryCommand,
35
35
  localRegistry: async () => (await import("./localRegistry.command-4p17wa9t.js")).LocalRegistryCommand,
36
36
  package: async () => (await import("./package.command-c6df2hxx.js")).PackageCommand,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akanjs/cli",
3
- "version": "3.2.0-rc.24",
3
+ "version": "3.2.0-rc.25",
4
4
  "sourceType": "module",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -39,7 +39,7 @@
39
39
  "@earendil-works/pi-tui": "1.3.0",
40
40
  "@inquirer/prompts": "^8.7.3",
41
41
  "@tailwindcss/node": "^4.3.3",
42
- "akanjs": "3.2.0-rc.24",
42
+ "akanjs": "3.2.0-rc.25",
43
43
  "chalk": "^6.0.1",
44
44
  "commander": "^15.0.0",
45
45
  "dayjs": "^1.11.23",