@inkeep/agents-ui-js-cloud 0.0.0-dev-20260604220939 → 0.0.0-dev-20260604224637
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/dist/embed.js +2 -2
- package/dist/types.d.ts +0 -18
- package/package.json +3 -3
package/dist/types.d.ts
CHANGED
|
@@ -2208,24 +2208,6 @@ export declare interface WidgetView {
|
|
|
2208
2208
|
* to coordinate showing/hiding the appropriate view.
|
|
2209
2209
|
*/
|
|
2210
2210
|
onToggleView?: (opts: { view: ModalViewTypes; query?: string; autoSubmit?: boolean }) => void
|
|
2211
|
-
/**
|
|
2212
|
-
* Callback fired when the user selects "Ask AI" — via the Ask AI card or the
|
|
2213
|
-
* Search/Ask AI toggle — on a search-and-chat component.
|
|
2214
|
-
*
|
|
2215
|
-
* When provided, this replaces the default behavior of switching to the
|
|
2216
|
-
* component's internal chat view. The internal chat pane is not shown and no
|
|
2217
|
-
* message is submitted to it; instead the parent handles the Ask AI intent
|
|
2218
|
-
* (for example, closing the modal and opening a separate sidebar chat).
|
|
2219
|
-
*
|
|
2220
|
-
* `query` is the current search input, so the parent can autofill or submit it
|
|
2221
|
-
* in the destination chat.
|
|
2222
|
-
*
|
|
2223
|
-
* `autoSubmit` reflects the user's intent based on how they selected Ask AI:
|
|
2224
|
-
* `true` when they clicked the Ask AI card (a query-specific action), and
|
|
2225
|
-
* `false`/`undefined` when they used the Search/Ask AI toggle (a mode switch).
|
|
2226
|
-
* Honor it to decide between auto-submitting and only filling in the query.
|
|
2227
|
-
*/
|
|
2228
|
-
onSelectAskAI?: (opts: { query?: string; autoSubmit?: boolean }) => void
|
|
2229
2211
|
/**
|
|
2230
2212
|
* The label for the Ask AI button.
|
|
2231
2213
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/agents-ui-js-cloud",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20260604224637",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Inkeep, Inc. Customer License (IICL) v1.1",
|
|
6
6
|
"homepage": "",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"react": "19.0.0",
|
|
39
39
|
"react-dom": "19.0.0",
|
|
40
40
|
"uuid": "^11.1.0",
|
|
41
|
-
"@inkeep/agents-ui-cloud": "0.0.0-dev-
|
|
41
|
+
"@inkeep/agents-ui-cloud": "0.0.0-dev-20260604224637"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@biomejs/biome": "1.9.4",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"vite": "5.4.11",
|
|
57
57
|
"vite-bundle-visualizer": "^1.2.1",
|
|
58
58
|
"vite-plugin-dts": "4.4.0",
|
|
59
|
-
"@inkeep/agents-ui": "0.0.0-dev-
|
|
59
|
+
"@inkeep/agents-ui": "0.0.0-dev-20260604224637"
|
|
60
60
|
},
|
|
61
61
|
"module": "./dist/embed.js",
|
|
62
62
|
"types": "./dist/types.d.ts",
|