ghostykit 0.9.0 → 0.10.0
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/README.md +2 -0
- package/dist/chunks/{chunk-VFCROLFF.js → chunk-6PYYF4XU.js} +14 -823
- package/dist/chunks/chunk-AQBQ3QZH.js +852 -0
- package/dist/plugins/index.js +2 -1
- package/dist/react/index.js +35 -33
- package/dist/split/index.d.ts +45 -0
- package/dist/split/index.js +131 -6
- package/dist/split.css +34 -1
- package/dist/styles.css +6 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -276,6 +276,8 @@ const split = usePilotoSplit({ widthKey: "app:agent-width", onOpenChange: setSid
|
|
|
276
276
|
```
|
|
277
277
|
|
|
278
278
|
`useStickyPanelHeight(variant === "panel")` keeps the panel's composer in view while the page scrolls.
|
|
279
|
+
`<PilotoLauncher split={split} label="Talk to Ghosty" avatarSrc=… className="fixed bottom-6 right-6" />` is the open button (spring in/out, hidden while open).
|
|
280
|
+
`<PilotoPanel variant title avatar onClose onNewConversation>` is the standard shell (header with name, «New conversation» and close; sticky to the window). `useConversationKey(key)` gives `[key, rotate]` for the visible conversation: build your `threadId` with it — old threads are kept on the server, just hidden. `usePilotoSplit` also does ⌘/Ctrl+I to toggle and Esc to close (`shortcut`, `escapeToClose`).
|
|
279
281
|
Colors: `--gk-split-handle`, `--gk-split-accent`, `--gk-split-sheet-bg`, `--gk-split-overlay`.
|
|
280
282
|
|
|
281
283
|
## Accessibility
|