@grackle-ai/web-components 0.113.0 → 0.115.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/.rush/temp/{05ec67b10f932bdbe295aab3f4465cf0d26cb485.tar.log → 2cba8bf698d83f55d8c7bde4c1f1ab17c9392271.tar.log} +78 -80
- package/.rush/temp/{05ec67b10f932bdbe295aab3f4465cf0d26cb485.untar.log → 2cba8bf698d83f55d8c7bde4c1f1ab17c9392271.untar.log} +2 -2
- package/.rush/temp/chunked-rush-logs/web-components._phase_build.chunks.jsonl +6 -6
- package/.rush/temp/chunked-rush-logs/web-components._phase_test.chunks.jsonl +25 -23
- package/.rush/temp/{b47d67cd3e2d79d0da7f9aef2eb425725d6d2f61.tar.log → f7dc40a6d2b535279358eddd5c0cd5f4e522416c.tar.log} +2 -2
- package/.rush/temp/{b47d67cd3e2d79d0da7f9aef2eb425725d6d2f61.untar.log → f7dc40a6d2b535279358eddd5c0cd5f4e522416c.untar.log} +2 -2
- package/.rush/temp/operation/_phase_build/all.log +6 -6
- package/.rush/temp/operation/_phase_build/log-chunks.jsonl +6 -6
- package/.rush/temp/operation/_phase_build/state.json +1 -1
- package/.rush/temp/operation/_phase_test/all.log +25 -23
- package/.rush/temp/operation/_phase_test/log-chunks.jsonl +25 -23
- package/.rush/temp/operation/_phase_test/state.json +1 -1
- package/README.md +2 -2
- package/dist/index.css +1 -1
- package/dist/index.js +7577 -7373
- package/package.json +2 -2
- package/rush-logs/web-components._phase_build.cache.log +1 -1
- package/rush-logs/web-components._phase_build.log +6 -6
- package/rush-logs/web-components._phase_test.cache.log +1 -1
- package/rush-logs/web-components._phase_test.log +25 -23
- package/src/components/display/EventRenderer.stories.tsx +44 -0
- package/src/components/display/EventRenderer.tsx +8 -2
- package/src/components/layout/AppNav.stories.tsx +5 -5
- package/src/components/layout/AppNav.tsx +8 -4
- package/src/components/panels/KeyboardShortcutsPanel.stories.tsx +1 -1
- package/src/components/panels/KeyboardShortcutsPanel.tsx +1 -1
- package/src/components/streams/CoordinationList.module.scss +137 -0
- package/src/components/streams/CoordinationList.stories.tsx +95 -0
- package/src/components/streams/CoordinationList.tsx +153 -0
- package/src/components/streams/StreamDetailPanel.module.scss +30 -0
- package/src/components/streams/StreamDetailPanel.stories.tsx +3 -0
- package/src/components/streams/StreamDetailPanel.tsx +58 -24
- package/src/components/streams/index.ts +3 -3
- package/src/hooks/types.ts +9 -2
- package/src/index.ts +4 -4
- package/src/mocks/MockGrackleProvider.tsx +15 -3
- package/src/mocks/mockData.ts +4 -0
- package/src/mocks/mockStreamsData.ts +80 -0
- package/src/utils/navigation.ts +3 -5
- package/src/utils/streamCoordination.test.ts +88 -0
- package/src/utils/streamCoordination.ts +108 -0
- package/temp/build/lint/_eslint-5eVG3S6w.json +32 -20
- package/src/components/streams/StreamList.module.scss +0 -92
- package/src/components/streams/StreamList.stories.tsx +0 -99
- package/src/components/streams/StreamList.tsx +0 -114
package/README.md
CHANGED
|
@@ -34,7 +34,7 @@ Components are grouped by area under `src/components/`:
|
|
|
34
34
|
|----------|----------|
|
|
35
35
|
| **Display primitives** | `Button`, `SplitButton`, `CopyButton`, `Tooltip`, `Breadcrumbs`, `ConfirmDialog`, `Skeleton`, `Spinner`, `SplashScreen`, `FloatingActionBar` |
|
|
36
36
|
| **Event stream** | `EventStream`, `EventRenderer`, `EventHoverRow`, `SessionPicker`, `SessionAttemptSelector` |
|
|
37
|
-
| **MCP Apps widgets** | `widget` events render in a sandboxed iframe via `EventRenderer`/`EventStream` — pass `sandboxProxyUrl`. The host renderer `McpAppWidget` is loaded internally (lazy/code-split) and is **not** a value export; only its prop types (`McpAppWidgetProps`) and `grackleHostStyleVariables` are exported. |
|
|
37
|
+
| **MCP Apps widgets** | `widget` events render in a sandboxed iframe via `EventRenderer`/`EventStream` — pass `sandboxProxyUrl`. `EventRenderer` dispatches on the event's `rendererKind` (v1: `mcp-app-html` → `McpAppWidget`; unknown kinds fall back to the default card), so declarative renderers can be added without changing the contract. The host renderer `McpAppWidget` is loaded internally (lazy/code-split) and is **not** a value export; only its prop types (`McpAppWidgetProps`) and `grackleHostStyleVariables` are exported. |
|
|
38
38
|
| **Tool cards** | `ToolCard`, `FileEditCard`, `FileReadCard`, `ShellCard`, `SearchCard`, `TodoCard`, `MetadataCard`, `AgentToolCard`, `GenericToolCard` |
|
|
39
39
|
| **Layout** | `AppNav`, `Sidebar`, `StatusBar`, `BottomStatusBar` |
|
|
40
40
|
| **Lists** | `TaskList`, `EnvironmentNav`, `FindingsNav` |
|
|
@@ -45,7 +45,7 @@ Components are grouped by area under `src/components/`:
|
|
|
45
45
|
| **Notifications** | `Toast`, `ToastContainer`, `Callout`, `UpdateBanner` |
|
|
46
46
|
| **Workspace & boards** | `WorkspaceBoard`, `WorkspaceFormFields` |
|
|
47
47
|
| **Personas & schedules** | `PersonaManager`, `McpToolSelector`, `ScheduleManager` |
|
|
48
|
-
| **Chat &
|
|
48
|
+
| **Chat & coordination** | `ChatInput`, `CoordinationList`, `StreamDetailPanel` |
|
|
49
49
|
| **Settings** | `SettingsNav` |
|
|
50
50
|
|
|
51
51
|
Alongside the components, the package exports:
|