guideai-app 0.5.4-3 → 0.5.4-8
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 +41 -0
- package/dist/GuideAI.js +1 -1
- package/dist/buddy/buddyPropTools.d.ts +188 -0
- package/dist/buddy/buddyStore.d.ts +88 -0
- package/dist/buddy/buddyTools.d.ts +6 -0
- package/dist/buddy/types.d.ts +56 -0
- package/dist/components/Microphone.d.ts +8 -2
- package/dist/components/SessionRatingPopup.d.ts +1 -1
- package/dist/components/TranscriptBox.d.ts +5 -0
- package/dist/components/TranscriptMessages.d.ts +8 -1
- package/dist/components/TranscriptNextStepBar.d.ts +34 -0
- package/dist/devtools/learn/learnWebRTCInit.d.ts +20 -0
- package/dist/devtools/silentMessages/silentMessageDebug.d.ts +86 -0
- package/dist/devtools/silentMessages/useSilentMessageDebug.d.ts +18 -0
- package/dist/devtools/transcriptDevtoolsMenuProps.d.ts +5 -0
- package/dist/devtools/transcriptMoreMenu/ThemePresetSwatch.d.ts +8 -0
- package/dist/devtools/transcriptMoreMenu/TranscriptDeveloperToolsMenuItems.d.ts +5 -1
- package/dist/devtools/useGuideDevtoolsIntegration.d.ts +6 -1
- package/dist/devtools/workflowTester/workflowSimulationFinishRun.d.ts +4 -0
- package/dist/devtools/workflowTester/workflowSimulationTypes.d.ts +2 -0
- package/dist/hooks/useConversationSession.d.ts +2 -0
- package/dist/hooks/useHiddenRealtimeSteers.d.ts +3 -1
- package/dist/hooks/useLauncherTabDrag.d.ts +23 -0
- package/dist/hooks/useSessionRating.d.ts +2 -6
- package/dist/hooks/useWebRTC.d.ts +6 -0
- package/dist/hooks/useWorkflowTesterOverlay.d.ts +4 -11
- package/dist/index.d.ts +1 -1
- package/dist/lib/workspaceEmbedIcons.d.ts +0 -1
- package/dist/playwrightBuddyHarness.d.ts +12 -0
- package/dist/playwrightBuddyHarness.js +1766 -0
- package/dist/playwrightSimulationHarness.js +1 -1
- package/dist/playwrightToolHarness.d.ts +6 -2
- package/dist/playwrightToolHarness.js +1 -1
- package/dist/sessionRatingPrompts.d.ts +0 -2
- package/dist/staticContext/collectContext.d.ts +24 -13
- package/dist/staticContext/collectors/domSignals.d.ts +29 -0
- package/dist/staticContext/collectors/jqueryUi.d.ts +7 -0
- package/dist/staticContext/collectors/visibility.d.ts +6 -0
- package/dist/staticContext/hostPageFrameworkProbe.d.ts +21 -0
- package/dist/staticContext/index.d.ts +3 -2
- package/dist/staticContext/types.d.ts +112 -4
- package/dist/staticContext/useStaticContext.d.ts +5 -2
- package/dist/styles/GuideAI.styles.d.ts +5 -1
- package/dist/styles/guideAIStylesTabLauncher.d.ts +7 -0
- package/dist/themes/presetThemes.d.ts +0 -1
- package/dist/types/GuideAI.types.d.ts +21 -1
- package/dist/utils/api.d.ts +36 -0
- package/dist/utils/conversationManager.d.ts +7 -11
- package/dist/utils/dataChannel.d.ts +7 -0
- package/dist/utils/dataChannelHelpers.d.ts +24 -14
- package/dist/utils/guideaiMirroredStorageKeys.d.ts +2 -0
- package/dist/utils/localStorageHelper.d.ts +9 -14
- package/dist/utils/localStorageThrottle.d.ts +6 -0
- package/dist/utils/messageStorage.d.ts +20 -0
- package/dist/utils/parseWorkspaceSlugList.d.ts +2 -1
- package/dist/utils/resolveCatalogWorkspaceSlug.d.ts +11 -0
- package/dist/utils/sessionStorageJson.d.ts +3 -0
- package/dist/utils/tools/clickElement.d.ts +6 -0
- package/dist/utils/tools/cursorStyles.d.ts +17 -0
- package/dist/utils/tools/elementInteractions.d.ts +35 -1
- package/dist/utils/tools/elementToBestInteractionSelector.d.ts +0 -2
- package/dist/utils/tools/fillField.d.ts +1 -1
- package/dist/utils/tools/hover.d.ts +6 -0
- package/dist/utils/tools/selectWorkspace.d.ts +45 -0
- package/dist/utils/tools/toolRegistry.d.ts +5 -1
- package/dist/utils/tools/workspaceToolBridge.d.ts +22 -0
- package/dist/utils/webrtcConnection.d.ts +2 -0
- package/dist/utils/widgetWorkspaces.d.ts +0 -2
- package/dist/utils/workflowProgressSync.d.ts +65 -0
- package/dist/utils/workflowSteer.d.ts +10 -0
- package/dist/utils/workspaceCatalog.d.ts +8 -2
- package/dist/visualContext/screenshotEncoding.d.ts +37 -0
- package/dist/visualContext/useVisualContext.d.ts +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -45,6 +45,7 @@ function App() {
|
|
|
45
45
|
| `React` | `React` | Yes | React instance from your application |
|
|
46
46
|
| `ReactDOM` | `ReactDOM` | Yes | ReactDOM instance from your application |
|
|
47
47
|
| `position` | `object` | No | CSS positioning for the component (see below) |
|
|
48
|
+
| `launcher` | `object` | No | Launcher presentation: floating mic circle (default) or a draggable side tab (see below) |
|
|
48
49
|
| `environment` | `string` | No | API environment: `'production'` (default), `'development'`, or `'local'` |
|
|
49
50
|
| `transcript` | `object` | No | Transcript panel configuration (see below) |
|
|
50
51
|
| `input` | `object` | No | Text/voice input configuration (see below) |
|
|
@@ -187,6 +188,46 @@ position?: {
|
|
|
187
188
|
/>
|
|
188
189
|
```
|
|
189
190
|
|
|
191
|
+
## Launcher Object
|
|
192
|
+
|
|
193
|
+
The `launcher` prop selects how the idle Guide AI control is presented:
|
|
194
|
+
|
|
195
|
+
```typescript
|
|
196
|
+
launcher?: {
|
|
197
|
+
variant?: 'mic' | 'tab'; // 'mic' (default): floating circle. 'tab': edge-docked side tab.
|
|
198
|
+
side?: 'left' | 'right'; // Tab variant only — screen edge to dock to (default: 'right')
|
|
199
|
+
}
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
The tab behaves exactly like the mic circle (click to start/end a conversation, same status
|
|
203
|
+
colors and idle prompt animations), but it sits flush against the screen edge and can be
|
|
204
|
+
**dragged up and down** that edge. The dragged offset is persisted in `localStorage` per
|
|
205
|
+
conversation key, so the tab stays where the user left it. With `variant: 'tab'`, the CSS
|
|
206
|
+
placement properties of `position` are ignored (`position.zIndex` still applies), and the
|
|
207
|
+
transcript defaults to opening on the same side as the tab.
|
|
208
|
+
|
|
209
|
+
**Right-edge tab:**
|
|
210
|
+
|
|
211
|
+
```jsx
|
|
212
|
+
<GuideAI
|
|
213
|
+
authKey="your-access-key"
|
|
214
|
+
React={React}
|
|
215
|
+
ReactDOM={ReactDOM}
|
|
216
|
+
launcher={{ variant: 'tab' }}
|
|
217
|
+
/>
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
**Left-edge tab:**
|
|
221
|
+
|
|
222
|
+
```jsx
|
|
223
|
+
<GuideAI
|
|
224
|
+
authKey="your-access-key"
|
|
225
|
+
React={React}
|
|
226
|
+
ReactDOM={ReactDOM}
|
|
227
|
+
launcher={{ variant: 'tab', side: 'left' }}
|
|
228
|
+
/>
|
|
229
|
+
```
|
|
230
|
+
|
|
190
231
|
## Transcript Object
|
|
191
232
|
|
|
192
233
|
The `transcript` prop controls the conversation transcript panel:
|