@akanjs/cli 3.0.0-alpha.57 → 3.0.0-alpha.59

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
- 5ed385877dec10031dfbaab1aae02c9019d7cdc3d536cc04ae64386c2d423949
1
+ 2a386b0b70a16d11250c7e4aca6dd3bd50e566cd58d8b1aef0a602fe45395659
@@ -146,7 +146,9 @@ apps and libs never import it directly (`no-import-external-library`) — everyt
146
146
  and it renders nothing. Restoring follows the session's one rule — it lands only while nothing has happened to
147
147
  the conversation yet — so mounting with the zone restores and mounting later saves from there on, with the
148
148
  store never asked for a transcript that would be discarded. `session.setHistory` / `setOnCompact` are the same
149
- thing for a session an app built itself.
149
+ thing for a session an app built itself — and are what a host calls when the store must outlive the view, since
150
+ the component's store lives exactly as long as the component. A zone's own session dies with it either way; one
151
+ the app handed in through `session` does not, and its saving stops when the `Agent.History` unmounts.
150
152
  - **A zone can be handed a session instead of building one**: `<Agent.Zone session={mine} onSession={…}>`. The app
151
153
  then owns it, so unmounting the zone leaves it running — the opposite of a session the zone made, which it
152
154
  aborts. `onSession` fires either way, for a page that wants to send into the conversation from outside it.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akanjs/cli",
3
- "version": "3.0.0-alpha.57",
3
+ "version": "3.0.0-alpha.59",
4
4
  "sourceType": "module",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -34,7 +34,7 @@
34
34
  "@langchain/openai": "^1.4.6",
35
35
  "@tailwindcss/node": "^4.3.0",
36
36
  "@trapezedev/project": "^7.1.4",
37
- "akanjs": "3.0.0-alpha.57",
37
+ "akanjs": "3.0.0-alpha.59",
38
38
  "chalk": "^5.6.2",
39
39
  "commander": "^14.0.3",
40
40
  "dayjs": "^1.11.20",