@inkeep/agents-ui-js 0.0.0-dev-20260604220939 → 0.0.0-dev-20260604224102
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/types.d.ts +0 -18
- package/package.json +2 -2
package/dist/types.d.ts
CHANGED
|
@@ -2072,24 +2072,6 @@ export declare interface WidgetView {
|
|
|
2072
2072
|
* to coordinate showing/hiding the appropriate view.
|
|
2073
2073
|
*/
|
|
2074
2074
|
onToggleView?: (opts: { view: ModalViewTypes; query?: string; autoSubmit?: boolean }) => void
|
|
2075
|
-
/**
|
|
2076
|
-
* Callback fired when the user selects "Ask AI" — via the Ask AI card or the
|
|
2077
|
-
* Search/Ask AI toggle — on a search-and-chat component.
|
|
2078
|
-
*
|
|
2079
|
-
* When provided, this replaces the default behavior of switching to the
|
|
2080
|
-
* component's internal chat view. The internal chat pane is not shown and no
|
|
2081
|
-
* message is submitted to it; instead the parent handles the Ask AI intent
|
|
2082
|
-
* (for example, closing the modal and opening a separate sidebar chat).
|
|
2083
|
-
*
|
|
2084
|
-
* `query` is the current search input, so the parent can autofill or submit it
|
|
2085
|
-
* in the destination chat.
|
|
2086
|
-
*
|
|
2087
|
-
* `autoSubmit` reflects the user's intent based on how they selected Ask AI:
|
|
2088
|
-
* `true` when they clicked the Ask AI card (a query-specific action), and
|
|
2089
|
-
* `false`/`undefined` when they used the Search/Ask AI toggle (a mode switch).
|
|
2090
|
-
* Honor it to decide between auto-submitting and only filling in the query.
|
|
2091
|
-
*/
|
|
2092
|
-
onSelectAskAI?: (opts: { query?: string; autoSubmit?: boolean }) => void
|
|
2093
2075
|
/**
|
|
2094
2076
|
* The label for the Ask AI button.
|
|
2095
2077
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/agents-ui-js",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20260604224102",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Inkeep, Inc. Customer License (IICL) v1.1",
|
|
6
6
|
"homepage": "",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"vite": "5.4.11",
|
|
56
56
|
"vite-bundle-visualizer": "^1.2.1",
|
|
57
57
|
"vite-plugin-dts": "4.4.0",
|
|
58
|
-
"@inkeep/agents-ui": "0.0.0-dev-
|
|
58
|
+
"@inkeep/agents-ui": "0.0.0-dev-20260604224102"
|
|
59
59
|
},
|
|
60
60
|
"module": "./dist/embed.js",
|
|
61
61
|
"types": "./dist/types.d.ts",
|