@mapples/types 1.6.0-beta.20261012090938 → 1.6.0-beta.20261014124646
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/CHANGELOG.md +2 -1
- package/dist/live.d.ts +6 -0
- package/dist/live.d.ts.map +1 -1
- package/dist/live.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @mapples/types
|
|
2
2
|
|
|
3
|
-
## 1.6.0-beta.
|
|
3
|
+
## 1.6.0-beta.20261014124646
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
- `@mapples/sid-ast`: a newly added attribute (a binding's `$data`) goes right after the last attribute — no double space, and the space before `/>` stays.
|
|
15
15
|
- `@mapplesorg/canvas`: frame chrome follows the shared header rule (no `Auth`/`Auth` double header); switching an action's type drops the previous type's `staticData` keys (no stale `pageUuid` on a set-variable action).
|
|
16
16
|
|
|
17
|
+
- 04e6583: `LiveHelloFrame.agent`: the live agent-session lease as a v2 `agent` frame, or null when none is live. Editor and CLI sockets only; absent from viewers and from hubs that predate it.
|
|
17
18
|
- 7afa74c: Live hub: the canvas-api WebSocket's wire types (`@mapples/types` live.ts), a `CanvasHost` service so the Creator commits to the droplet with Lambda as the bypass, and chat protocol `mapples-ai/3` — session-scoped, resumable turns with seq-numbered frames, rooms, and the design streams over the socket.
|
|
18
19
|
- b1b8560: Header options now apply to every navigator type, and their default is explicit. A tabs or drawer navigator draws a header of its own, but only a stack's options were mapped — so a navigator nested in a stack always stacked a second header under its parent's with nothing that could turn it off. `resolveNavigatorHeader` and `navigatorHeaderVisible` expose the navigator default (`visible` unset means shown), so an editor can present a plain on/off instead of a tri-state that reads "off" while the header is up; route-level `visible` stays tri-state, because unset there means "inherit the navigator". `NavigationDocument.canvas` carries editor-only canvas preferences, ignored by the runtime the same way `NavigatorNode.canvas` is.
|
|
19
20
|
- 7339399: Designed navigator chrome. A tabs navigator's `TabBarOptions.componentUuid` and a drawer's `DrawerOptions.componentUuid` name a saved component that renders the bar or the drawer content, and `TabBarOptions.native` asks the exported app for expo-router's `NativeTabs`. `@mapples/render` carries the contract (`NavigatorChromeContext`, `useNavigatorChrome`): the navigator's routes as items with a label, an active flag and an icon renderer, plus `select`, `close` and the safe-area insets. Two new `@mapples/components` elements read it — `TabBarItems` (one tab per route, pill, labels, badges' tones) and `DrawerItems` (one row per route) — and show a notice when the component is not a navigator's design yet; `@mapples/components` now peers on `@mapples/render`. `@mapples/navigation` mounts a design through `TabBarHost` / `DrawerContentHost` (React Navigation's `tabBar` / `drawerContent`, reading only their props so an exported app uses them as-is) when `MapplesNavigation` is given the `chrome` map, and keeps `visible: false` working for a custom bar. The Creator canvas draws a designed tab bar on every screen frame with its measured height as the bottom inset, a platform-styled placeholder for a native bar, frames a chrome master on the components surface at the chrome's shape with the navigator's routes flowing in, and labels storyboard sections with their design. `create_navigator_chrome` creates and assigns a starter design; `set_navigator_options` accepts the new fields.
|
package/dist/live.d.ts
CHANGED
|
@@ -43,6 +43,12 @@ export interface LiveHelloFrame {
|
|
|
43
43
|
name?: string | null;
|
|
44
44
|
};
|
|
45
45
|
presence: LiveMember[];
|
|
46
|
+
/**
|
|
47
|
+
* The live agent-session lease as a v2 `agent` frame, or null when none is
|
|
48
|
+
* live. Editor and CLI sockets only; absent from viewers and from hubs
|
|
49
|
+
* that predate it, which clients read as "ask the agent-session route".
|
|
50
|
+
*/
|
|
51
|
+
agent?: LiveAgentFrame | null;
|
|
46
52
|
/** Unix seconds; the socket closes 4408 then (JWT sockets only). */
|
|
47
53
|
exp?: number;
|
|
48
54
|
}
|
package/dist/live.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"live.d.ts","sourceRoot":"","sources":["../src/live.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,8DAA8D;AAC9D,MAAM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,CAAA;CAAE,CAAC;AAEjD,yDAAyD;AACzD,eAAO,MAAM,uBAAuB,OAAO,CAAC;AAC5C,eAAO,MAAM,oBAAoB,OAAO,CAAC;AACzC,eAAO,MAAM,kBAAkB,OAAO,CAAC"}
|
package/dist/live.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"live.js","sourceRoot":"","sources":["../src/live.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;
|
|
1
|
+
{"version":3,"file":"live.js","sourceRoot":"","sources":["../src/live.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AA6IH,yDAAyD;AACzD,MAAM,CAAC,MAAM,uBAAuB,GAAG,IAAI,CAAC;AAC5C,MAAM,CAAC,MAAM,oBAAoB,GAAG,IAAI,CAAC;AACzC,MAAM,CAAC,MAAM,kBAAkB,GAAG,IAAI,CAAC"}
|