@opengeni/react 7.4.0-canary.36855269964001 → 7.4.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 +3 -48
- package/dist/artifacts-document.js +2 -3
- package/dist/artifacts-presentation.js +2 -3
- package/dist/artifacts-spreadsheet.js +2 -2
- package/dist/artifacts.d.ts +0 -1
- package/dist/artifacts.js +1402 -505
- package/dist/artifacts.js.map +1 -1
- package/dist/{browser-viewer-R6KK5VKR.js → browser-viewer-2E6R2Y4W.js} +4 -4
- package/dist/{chunk-WUISZ3WU.js → chunk-3E2AITTZ.js} +28 -32
- package/dist/{chunk-WUISZ3WU.js.map → chunk-3E2AITTZ.js.map} +1 -1
- package/dist/{chunk-PWUILT2U.js → chunk-5AZSK6MV.js} +2 -2
- package/dist/{chunk-Y2PRMYLC.js → chunk-DUEBTL3N.js} +3 -4
- package/dist/{chunk-Y2PRMYLC.js.map → chunk-DUEBTL3N.js.map} +1 -1
- package/dist/{chunk-7UAMYXJY.js → chunk-KNDIXZN6.js} +18 -25
- package/dist/{chunk-7UAMYXJY.js.map → chunk-KNDIXZN6.js.map} +1 -1
- package/dist/{chunk-P4G6K2E2.js → chunk-L4OSXQ6H.js} +884 -1119
- package/dist/chunk-L4OSXQ6H.js.map +1 -0
- package/dist/{chunk-LLIH7Q4B.js → chunk-S5JQ4R22.js} +19 -47
- package/dist/chunk-S5JQ4R22.js.map +1 -0
- package/dist/{chunk-A4UJB2MM.js → chunk-SEEVCT36.js} +2 -2
- package/dist/{chunk-UXJCQ5GH.js → chunk-UDD6DLLT.js} +1 -6
- package/dist/chunk-UDD6DLLT.js.map +1 -0
- package/dist/chunk-UGMKPUEM.js +299 -0
- package/dist/chunk-UGMKPUEM.js.map +1 -0
- package/dist/{chunk-ZCZHKJKZ.js → chunk-USXVQACU.js} +3 -3
- package/dist/{chunk-VABBF52G.js → chunk-V2ABIVYJ.js} +6 -70
- package/dist/chunk-V2ABIVYJ.js.map +1 -0
- package/dist/{chunk-TVO6GXR6.js → chunk-X4HIN6TV.js} +162 -71
- package/dist/chunk-X4HIN6TV.js.map +1 -0
- package/dist/{chunk-IIDEIBMC.js → chunk-XEJEOAOV.js} +38 -49
- package/dist/chunk-XEJEOAOV.js.map +1 -0
- package/dist/{chunk-ZKLCPBWN.js → chunk-Y3QTZN2F.js} +5 -5
- package/dist/{chunk-73BUNGLF.js → chunk-YZ3YYMOM.js} +1 -1
- package/dist/components/artifacts/editable-artifact-ui.d.ts +1 -2
- package/dist/components/artifacts/index.d.ts +0 -7
- package/dist/components/browser-select-control.d.ts +1 -3
- package/dist/components/message-timeline.d.ts +1 -18
- package/dist/components/open-geni-links.d.ts +0 -16
- package/dist/components/session-conversation.d.ts +1 -20
- package/dist/composer.js +3 -3
- package/dist/{computer-viewer-DJHPSP2J.js → computer-viewer-WMJE6OA3.js} +3 -3
- package/dist/connect.js +6 -7
- package/dist/connect.js.map +1 -1
- package/dist/hooks/latest-question.d.ts +1 -1
- package/dist/index.d.ts +2 -5
- package/dist/index.js +28 -39
- package/dist/index.js.map +1 -1
- package/dist/interaction.js +4 -4
- package/dist/{latest-question-KGCDK3XX.js → latest-question-QB4EUCW5.js} +3 -3
- package/dist/lib/format.d.ts +0 -3
- package/dist/machines.js +2 -2
- package/dist/{markdown-table-layout-QXSLK4BY.js → markdown-table-layout-PFUEZ2U4.js} +5 -37
- package/dist/markdown-table-layout-PFUEZ2U4.js.map +1 -0
- package/dist/{sandbox-files-4PMXDSDV.js → sandbox-files-PXPIZAFG.js} +2 -2
- package/dist/session-ui.d.ts +2 -5
- package/dist/session-ui.js +13 -23
- package/dist/session-ui.js.map +1 -1
- package/dist/session.js +3 -3
- package/dist/sites.js +289 -4
- package/dist/sites.js.map +1 -1
- package/dist/timeline/types.d.ts +1 -7
- package/dist/{timeline-annotation-selection-DMLMM2TX.js → timeline-annotation-selection-ODLVF4OI.js} +1 -6
- package/dist/timeline-annotation-selection-ODLVF4OI.js.map +1 -0
- package/package.json +3 -7
- package/src/artifacts.ts +0 -37
- package/src/components/artifacts/editable-artifact-ui.tsx +1 -3
- package/src/components/artifacts/editable-artifact-workbench.tsx +2 -5
- package/src/components/artifacts/editable-document.tsx +36 -34
- package/src/components/artifacts/editable-presentation.tsx +16 -21
- package/src/components/artifacts/index.ts +0 -41
- package/src/components/browser-select-control.tsx +1 -4
- package/src/components/browser-viewer.tsx +22 -81
- package/src/components/computer-viewer.tsx +23 -51
- package/src/components/markdown-table-layout.ts +5 -49
- package/src/components/markdown.tsx +2 -5
- package/src/components/message-timeline.tsx +434 -515
- package/src/components/open-geni-links.tsx +0 -24
- package/src/components/session-conversation.tsx +20 -131
- package/src/components/timeline-annotation-selection.tsx +0 -7
- package/src/hooks/use-available-models.ts +1 -1
- package/src/index.ts +0 -9
- package/src/lib/format.ts +0 -13
- package/src/session-ui.ts +0 -9
- package/src/timeline/projection.ts +4 -78
- package/src/timeline/types.ts +0 -7
- package/styles/compiled.css +0 -325
- package/dist/chat-interactive-block-VAGABN7J.js +0 -11
- package/dist/chunk-5CVXZA3Y.js +0 -292
- package/dist/chunk-5CVXZA3Y.js.map +0 -1
- package/dist/chunk-B3V6TG77.js +0 -41
- package/dist/chunk-B3V6TG77.js.map +0 -1
- package/dist/chunk-IIDEIBMC.js.map +0 -1
- package/dist/chunk-LLIH7Q4B.js.map +0 -1
- package/dist/chunk-P4G6K2E2.js.map +0 -1
- package/dist/chunk-RAIQYITC.js +0 -1772
- package/dist/chunk-RAIQYITC.js.map +0 -1
- package/dist/chunk-SCOTPE2I.js +0 -589
- package/dist/chunk-SCOTPE2I.js.map +0 -1
- package/dist/chunk-TVO6GXR6.js.map +0 -1
- package/dist/chunk-UXJCQ5GH.js.map +0 -1
- package/dist/chunk-VABBF52G.js.map +0 -1
- package/dist/chunk-WEHMPOXK.js +0 -39
- package/dist/chunk-WEHMPOXK.js.map +0 -1
- package/dist/chunk-XCHWDJ22.js +0 -107
- package/dist/chunk-XCHWDJ22.js.map +0 -1
- package/dist/components/artifacts/artifact-chrome.d.ts +0 -120
- package/dist/components/artifacts/artifact-sandbox.d.ts +0 -27
- package/dist/components/artifacts/chat-interactive-block.d.ts +0 -29
- package/dist/components/artifacts/deferred-chat-media.d.ts +0 -15
- package/dist/components/artifacts/editable-artifact-view.d.ts +0 -46
- package/dist/components/artifacts/latest-task-runner.d.ts +0 -15
- package/dist/components/artifacts/session-artifact-viewer.d.ts +0 -39
- package/dist/components/artifacts/site-view.d.ts +0 -23
- package/dist/components/timeline-pill-geometry.d.ts +0 -6
- package/dist/components/timeline-pill-placement.d.ts +0 -18
- package/dist/components/usage-limit-notice.d.ts +0 -49
- package/dist/components/usage-member-list.d.ts +0 -91
- package/dist/components/usage-meter.d.ts +0 -73
- package/dist/hooks/use-usage.d.ts +0 -40
- package/dist/markdown-table-layout-QXSLK4BY.js.map +0 -1
- package/dist/sandbox-files-4PMXDSDV.js.map +0 -1
- package/dist/timeline/allowance-exhausted-row.d.ts +0 -24
- package/dist/timeline-annotation-selection-DMLMM2TX.js.map +0 -1
- package/dist/timeline-pill-geometry-2G6EK47V.js +0 -73
- package/dist/timeline-pill-geometry-2G6EK47V.js.map +0 -1
- package/dist/usage/allowance-copy.d.ts +0 -25
- package/dist/usage/summary.d.ts +0 -35
- package/dist/usage.d.ts +0 -13
- package/dist/usage.js +0 -1073
- package/dist/usage.js.map +0 -1
- package/src/components/artifacts/artifact-chrome.tsx +0 -413
- package/src/components/artifacts/artifact-sandbox.tsx +0 -185
- package/src/components/artifacts/chat-interactive-block.tsx +0 -260
- package/src/components/artifacts/deferred-chat-media.tsx +0 -67
- package/src/components/artifacts/editable-artifact-view.tsx +0 -187
- package/src/components/artifacts/latest-task-runner.ts +0 -49
- package/src/components/artifacts/session-artifact-viewer.tsx +0 -376
- package/src/components/artifacts/site-view.tsx +0 -116
- package/src/components/timeline-pill-geometry.ts +0 -112
- package/src/components/timeline-pill-placement.ts +0 -81
- package/src/components/usage-limit-notice.tsx +0 -179
- package/src/components/usage-member-list.tsx +0 -792
- package/src/components/usage-meter.tsx +0 -382
- package/src/hooks/use-usage.ts +0 -100
- package/src/timeline/allowance-exhausted-row.tsx +0 -86
- package/src/usage/allowance-copy.ts +0 -64
- package/src/usage/summary.ts +0 -93
- package/src/usage.ts +0 -50
- /package/dist/{browser-viewer-R6KK5VKR.js.map → browser-viewer-2E6R2Y4W.js.map} +0 -0
- /package/dist/{chunk-PWUILT2U.js.map → chunk-5AZSK6MV.js.map} +0 -0
- /package/dist/{chunk-A4UJB2MM.js.map → chunk-SEEVCT36.js.map} +0 -0
- /package/dist/{chunk-ZCZHKJKZ.js.map → chunk-USXVQACU.js.map} +0 -0
- /package/dist/{chunk-ZKLCPBWN.js.map → chunk-Y3QTZN2F.js.map} +0 -0
- /package/dist/{chunk-73BUNGLF.js.map → chunk-YZ3YYMOM.js.map} +0 -0
- /package/dist/{chat-interactive-block-VAGABN7J.js.map → computer-viewer-WMJE6OA3.js.map} +0 -0
- /package/dist/{latest-question-KGCDK3XX.js.map → latest-question-QB4EUCW5.js.map} +0 -0
- /package/dist/{computer-viewer-DJHPSP2J.js.map → sandbox-files-PXPIZAFG.js.map} +0 -0
|
@@ -3,7 +3,7 @@ import { type ClientOverride } from "../session-context.js";
|
|
|
3
3
|
import { type ChatComposerProps } from "./chat-composer.js";
|
|
4
4
|
import { type HumanInputSurfaceProps } from "./human-input-surface.js";
|
|
5
5
|
import { type MessageTimelineProps } from "./message-timeline.js";
|
|
6
|
-
import { type OpenGeniLinkResolver
|
|
6
|
+
import { type OpenGeniLinkResolver } from "./open-geni-links.js";
|
|
7
7
|
import type { UserMessageDisclosureLabels } from "./user-message-body.js";
|
|
8
8
|
export type SessionConversationProps = ClientOverride & {
|
|
9
9
|
sessionId: string;
|
|
@@ -16,27 +16,8 @@ export type SessionConversationProps = ClientOverride & {
|
|
|
16
16
|
* editable artifacts and Sites stay unavailable until the host resolves them.
|
|
17
17
|
*/
|
|
18
18
|
resolveLink?: OpenGeniLinkResolver | undefined;
|
|
19
|
-
/**
|
|
20
|
-
* Open agent links to editable artifacts and Sites in a host viewer, for
|
|
21
|
-
* example `SessionArtifactViewer` mounted beside the conversation. Asked
|
|
22
|
-
* after `resolveLink`.
|
|
23
|
-
*/
|
|
24
|
-
onOpenArtifact?: ((target: OpenGeniViewerTarget) => void) | undefined;
|
|
25
|
-
/**
|
|
26
|
-
* Inline previews for assistant `opengeni-site` / `opengeni-html` fences.
|
|
27
|
-
* Defaults to the OpenGeni preview (Site reads need the proxy's
|
|
28
|
-
* `artifacts` option); `false` shows the fence as code.
|
|
29
|
-
*/
|
|
30
|
-
renderInteractiveBlock?: MessageTimelineProps["renderInteractiveBlock"] | false;
|
|
31
19
|
/** Product-specific tool-call renderers; defaults to the built-in registry. */
|
|
32
20
|
toolRegistry?: MessageTimelineProps["toolRegistry"];
|
|
33
|
-
/**
|
|
34
|
-
* Replace the "usage limit reached" row for an `allowance_exhausted`
|
|
35
|
-
* refusal, for example to link your own plan or admin page.
|
|
36
|
-
*/
|
|
37
|
-
renderAllowanceExhausted?: MessageTimelineProps["renderAllowanceExhausted"];
|
|
38
|
-
/** Replace the words of the default "usage limit reached" row. */
|
|
39
|
-
allowanceExhaustedLabels?: MessageTimelineProps["allowanceExhaustedLabels"];
|
|
40
21
|
/**
|
|
41
22
|
* File attachments in the composer. Defaults to true; the attach control
|
|
42
23
|
* appears only when the deployment's client config enables file uploads.
|
package/dist/composer.js
CHANGED
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
useChatComposer,
|
|
41
41
|
useChatComposerController,
|
|
42
42
|
useVoiceInput
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-Y3QTZN2F.js";
|
|
44
44
|
import {
|
|
45
45
|
BillingClassMark,
|
|
46
46
|
ModelPolicyPicker,
|
|
@@ -50,13 +50,13 @@ import {
|
|
|
50
50
|
defaultModelPolicyPickerMessages
|
|
51
51
|
} from "./chunk-UINDK6C3.js";
|
|
52
52
|
import "./chunk-K3HQAKQX.js";
|
|
53
|
-
import "./chunk-CHPKSLPN.js";
|
|
54
53
|
import "./chunk-KVERXCFY.js";
|
|
54
|
+
import "./chunk-CHPKSLPN.js";
|
|
55
55
|
import "./chunk-KZ73RL76.js";
|
|
56
56
|
import "./chunk-NEXLLTP4.js";
|
|
57
57
|
import "./chunk-BRM6FVZA.js";
|
|
58
58
|
import "./chunk-VZTQ73XT.js";
|
|
59
|
-
import "./chunk-
|
|
59
|
+
import "./chunk-UDD6DLLT.js";
|
|
60
60
|
import "./chunk-22KP6LR5.js";
|
|
61
61
|
export {
|
|
62
62
|
Actions,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ComputerViewer,
|
|
3
3
|
computerKey
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-XEJEOAOV.js";
|
|
5
5
|
import "./chunk-YSMMDOOE.js";
|
|
6
6
|
import "./chunk-4MDLEHXL.js";
|
|
7
7
|
import "./chunk-5YK2ZDIG.js";
|
|
8
8
|
import "./chunk-KZ73RL76.js";
|
|
9
9
|
import "./chunk-NEXLLTP4.js";
|
|
10
|
-
import "./chunk-JVYQRRC4.js";
|
|
11
10
|
import "./chunk-22KP6LR5.js";
|
|
11
|
+
import "./chunk-JVYQRRC4.js";
|
|
12
12
|
export {
|
|
13
13
|
ComputerViewer,
|
|
14
14
|
computerKey
|
|
15
15
|
};
|
|
16
|
-
//# sourceMappingURL=computer-viewer-
|
|
16
|
+
//# sourceMappingURL=computer-viewer-WMJE6OA3.js.map
|
package/dist/connect.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import "./chunk-IWIDV7SB.js";
|
|
2
1
|
import {
|
|
3
2
|
McpConnectionCard,
|
|
4
3
|
mcpConnectionDiscoveryState,
|
|
@@ -6,17 +5,17 @@ import {
|
|
|
6
5
|
} from "./chunk-45GE35O7.js";
|
|
7
6
|
import {
|
|
8
7
|
Markdown
|
|
9
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-X4HIN6TV.js";
|
|
10
9
|
import "./chunk-GIMRELBW.js";
|
|
11
10
|
import "./chunk-447JLCBU.js";
|
|
12
|
-
import "./chunk-XCHWDJ22.js";
|
|
13
|
-
import {
|
|
14
|
-
copyTextToClipboard
|
|
15
|
-
} from "./chunk-JVYQRRC4.js";
|
|
16
11
|
import "./chunk-BRM6FVZA.js";
|
|
17
12
|
import "./chunk-VZTQ73XT.js";
|
|
18
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-UDD6DLLT.js";
|
|
19
14
|
import "./chunk-22KP6LR5.js";
|
|
15
|
+
import "./chunk-IWIDV7SB.js";
|
|
16
|
+
import {
|
|
17
|
+
copyTextToClipboard
|
|
18
|
+
} from "./chunk-JVYQRRC4.js";
|
|
20
19
|
|
|
21
20
|
// src/capability-catalog-row.tsx
|
|
22
21
|
import { AlertTriangleIcon, CheckIcon, Loader2Icon, PlusIcon } from "lucide-react";
|