@iblai/web-containers 2.4.0 → 2.6.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/dist/cjs/_virtual/index2.js +2 -2
- package/dist/cjs/_virtual/index3.js +2 -2
- package/dist/cjs/components/chat/ai-message-bubble.js +2 -1
- package/dist/cjs/components/chat/ai-message-bubble.js.map +1 -1
- package/dist/cjs/components/chat/chat-host-context.js.map +1 -1
- package/dist/cjs/components/chat/client-ui-tools/definitions.js +187 -0
- package/dist/cjs/components/chat/client-ui-tools/definitions.js.map +1 -0
- package/dist/cjs/components/chat/client-ui-tools/panel-list.js +91 -0
- package/dist/cjs/components/chat/client-ui-tools/panel-list.js.map +1 -0
- package/dist/cjs/components/chat/client-ui-tools/panels.js +242 -0
- package/dist/cjs/components/chat/client-ui-tools/panels.js.map +1 -0
- package/dist/cjs/components/chat/client-ui-tools/runner.js +285 -0
- package/dist/cjs/components/chat/client-ui-tools/runner.js.map +1 -0
- package/dist/cjs/components/chat/client-ui-tools/store.js +119 -0
- package/dist/cjs/components/chat/client-ui-tools/store.js.map +1 -0
- package/dist/cjs/components/chat/client-ui-tools/use-client-ui-tools.js +29 -0
- package/dist/cjs/components/chat/client-ui-tools/use-client-ui-tools.js.map +1 -0
- package/dist/cjs/components/chat/index.js +39 -2
- package/dist/cjs/components/chat/index.js.map +1 -1
- package/dist/cjs/components/ui/chart.js +2 -0
- package/dist/cjs/components/ui/chart.js.map +1 -1
- package/dist/cjs/components/workflows/classifier-panel.js +2 -0
- package/dist/cjs/components/workflows/classifier-panel.js.map +1 -1
- package/dist/cjs/components/workflows/workflow-canvas.js +1 -1
- package/dist/cjs/components/workflows/workflow-canvas.js.map +1 -1
- package/dist/cjs/components/workflows/workflow-definition.js +5 -2
- package/dist/cjs/components/workflows/workflow-definition.js.map +1 -1
- package/dist/cjs/components/workflows/workflow-editor.js +87 -241
- package/dist/cjs/components/workflows/workflow-editor.js.map +1 -1
- package/dist/cjs/components/workflows/workflows-list.js +14 -1
- package/dist/cjs/components/workflows/workflows-list.js.map +1 -1
- package/dist/cjs/hooks/use-extension-client-tools.js +98 -0
- package/dist/cjs/hooks/use-extension-client-tools.js.map +1 -0
- package/dist/cjs/i18n/messages/en.json.js +22 -21
- package/dist/cjs/i18n/messages/en.json.js.map +1 -1
- package/dist/cjs/i18n/messages/es.json.js +22 -21
- package/dist/cjs/i18n/messages/es.json.js.map +1 -1
- package/dist/cjs/i18n/messages/fr.json.js +22 -21
- package/dist/cjs/i18n/messages/fr.json.js.map +1 -1
- package/dist/cjs/i18n/messages/zh.json.js +22 -21
- package/dist/cjs/i18n/messages/zh.json.js.map +1 -1
- package/dist/cjs/next/index.js +16 -0
- package/dist/cjs/next/index.js.map +1 -1
- package/dist/cjs/node_modules/.pnpm/css-mediaquery@0.1.2/node_modules/css-mediaquery/index.js +1 -1
- package/dist/cjs/node_modules/.pnpm/matchmediaquery@0.4.2/node_modules/matchmediaquery/index.js +1 -1
- package/dist/cjs/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js +1 -1
- package/dist/cjs/web-containers/tsconfig.build.tsbuildinfo +1 -1
- package/dist/esm/components/chat/ai-message-bubble.js +2 -1
- package/dist/esm/components/chat/ai-message-bubble.js.map +1 -1
- package/dist/esm/components/chat/chat-host-context.js.map +1 -1
- package/dist/esm/components/chat/client-ui-tools/definitions.js +183 -0
- package/dist/esm/components/chat/client-ui-tools/definitions.js.map +1 -0
- package/dist/esm/components/chat/client-ui-tools/panel-list.js +89 -0
- package/dist/esm/components/chat/client-ui-tools/panel-list.js.map +1 -0
- package/dist/esm/components/chat/client-ui-tools/panels.js +240 -0
- package/dist/esm/components/chat/client-ui-tools/panels.js.map +1 -0
- package/dist/esm/components/chat/client-ui-tools/runner.js +278 -0
- package/dist/esm/components/chat/client-ui-tools/runner.js.map +1 -0
- package/dist/esm/components/chat/client-ui-tools/store.js +113 -0
- package/dist/esm/components/chat/client-ui-tools/store.js.map +1 -0
- package/dist/esm/components/chat/client-ui-tools/use-client-ui-tools.js +27 -0
- package/dist/esm/components/chat/client-ui-tools/use-client-ui-tools.js.map +1 -0
- package/dist/esm/components/chat/index.js +39 -2
- package/dist/esm/components/chat/index.js.map +1 -1
- package/dist/esm/components/ui/chart.js +2 -1
- package/dist/esm/components/ui/chart.js.map +1 -1
- package/dist/esm/components/workflows/classifier-panel.js +2 -0
- package/dist/esm/components/workflows/classifier-panel.js.map +1 -1
- package/dist/esm/components/workflows/workflow-canvas.js +1 -1
- package/dist/esm/components/workflows/workflow-canvas.js.map +1 -1
- package/dist/esm/components/workflows/workflow-definition.js +5 -2
- package/dist/esm/components/workflows/workflow-definition.js.map +1 -1
- package/dist/esm/components/workflows/workflow-editor.js +88 -242
- package/dist/esm/components/workflows/workflow-editor.js.map +1 -1
- package/dist/esm/components/workflows/workflows-list.js +14 -1
- package/dist/esm/components/workflows/workflows-list.js.map +1 -1
- package/dist/esm/hooks/use-extension-client-tools.js +96 -0
- package/dist/esm/hooks/use-extension-client-tools.js.map +1 -0
- package/dist/esm/i18n/messages/en.json.js +22 -22
- package/dist/esm/i18n/messages/es.json.js +22 -22
- package/dist/esm/i18n/messages/fr.json.js +22 -22
- package/dist/esm/i18n/messages/zh.json.js +22 -22
- package/dist/esm/next/index.js +6 -0
- package/dist/esm/next/index.js.map +1 -1
- package/dist/esm/web-containers/tsconfig.build.tsbuildinfo +1 -1
- package/dist/index.d.ts +8 -1
- package/dist/next/index.d.ts +175 -5
- package/dist/package.json +6 -2
- package/package.json +7 -3
package/dist/index.d.ts
CHANGED
|
@@ -5374,7 +5374,9 @@ type ClassifierTryOutcome = {
|
|
|
5374
5374
|
} | {
|
|
5375
5375
|
ok: false;
|
|
5376
5376
|
reason: 'save' | 'invalid' | 'credits' | 'spend-cap' | 'model-unavailable' | 'model-failed' | 'too-long' | 'variables-too-long' | 'not-allowed' | 'other';
|
|
5377
|
-
/**
|
|
5377
|
+
/** The backend's own sentence, shown instead of the reason's copy. */
|
|
5378
|
+
message?: string;
|
|
5379
|
+
/** The backend's lines about what to fix, for 'invalid'. */
|
|
5378
5380
|
errors?: string[];
|
|
5379
5381
|
};
|
|
5380
5382
|
declare function startVariableDefaults(nodes: Array<{
|
|
@@ -5414,6 +5416,11 @@ declare function collectVariableUsages(nodes: Array<{
|
|
|
5414
5416
|
type?: string;
|
|
5415
5417
|
data: NodeConfig;
|
|
5416
5418
|
}>): Record<string, StepReference[]>;
|
|
5419
|
+
/**
|
|
5420
|
+
* @deprecated The workflow backend no longer warns that a Note is not
|
|
5421
|
+
* connected (iblai-dm-pro#3288), and the builder no longer calls this. Kept so
|
|
5422
|
+
* existing imports keep working.
|
|
5423
|
+
*/
|
|
5417
5424
|
declare function withoutNoteConnectivityWarnings(warnings: string[], nodes: Array<{
|
|
5418
5425
|
id: string;
|
|
5419
5426
|
type?: string;
|
package/dist/next/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import React__default, { ComponentType, ReactNode, PointerEvent, MouseEvent, DragEvent, KeyboardEvent } from 'react';
|
|
4
|
-
import { Tenant, ChatMode, Message } from '@iblai/web-utils';
|
|
4
|
+
import { Tenant, ChatMode, Message, ClientToolDefinition, ClientToolCall } from '@iblai/web-utils';
|
|
5
5
|
import { UserApp, Assertion, PathwayEnrollmentPlus, PathwayCompletionResponse, ProgramCompletionResponse, MentorSettings, PromptVisibilityEnum, MentorFacet } from '@iblai/iblai-api';
|
|
6
6
|
import { TranslateFunction } from '@web-containers/i18n';
|
|
7
7
|
import { TranslateFunction as TranslateFunction$1, Locale, Messages } from '@iblai/i18n';
|
|
@@ -4683,6 +4683,16 @@ type ChatProps = {
|
|
|
4683
4683
|
tenantKey: string;
|
|
4684
4684
|
userIsStudent: boolean;
|
|
4685
4685
|
isPublicRoute?: boolean;
|
|
4686
|
+
/**
|
|
4687
|
+
* Origin serving `/v1/chat/tool-results`. Without it the chat offers the
|
|
4688
|
+
* agent no client tools, because their results would have nowhere to go.
|
|
4689
|
+
*/
|
|
4690
|
+
toolResultBaseUrl?: string;
|
|
4691
|
+
/**
|
|
4692
|
+
* The agent's `enable_client_tools`. The backend refuses a turn carrying
|
|
4693
|
+
* tools with it off, so nothing is offered until the host says it is on.
|
|
4694
|
+
*/
|
|
4695
|
+
clientToolsEnabled?: boolean;
|
|
4686
4696
|
/**
|
|
4687
4697
|
* Embedded (iframe widget) presentation. Orthogonal to `mode` (an embedded
|
|
4688
4698
|
* chat can also be advanced). Defaults to the `?embed=true` query param.
|
|
@@ -4720,7 +4730,7 @@ type ChatProps = {
|
|
|
4720
4730
|
* (navigation, paywall, Chrome-extension Browse, Tauri-only composer pills)
|
|
4721
4731
|
* is injected through `config` / `slots`.
|
|
4722
4732
|
*/
|
|
4723
|
-
declare function Chat({ mode, isPreviewMode, hasBorder, isInCanvasView, config, redirectToAuthSpa, redirectToAuthSpaJoinTenant, username, userTenants, visitingTenant, axdToken, mentorId, tenantKey, userIsStudent, isPublicRoute, embed, labels, slots, projectId, showConversationStarters, showExploreMentors, slashSkillsEnabled, slashSkills, slashSkillsLoading, }: ChatProps): react_jsx_runtime.JSX.Element;
|
|
4733
|
+
declare function Chat({ mode, isPreviewMode, hasBorder, isInCanvasView, config, redirectToAuthSpa, redirectToAuthSpaJoinTenant, username, userTenants, visitingTenant, axdToken, mentorId, tenantKey, userIsStudent, isPublicRoute, toolResultBaseUrl, clientToolsEnabled, embed, labels, slots, projectId, showConversationStarters, showExploreMentors, slashSkillsEnabled, slashSkills, slashSkillsLoading, }: ChatProps): react_jsx_runtime.JSX.Element;
|
|
4724
4734
|
|
|
4725
4735
|
type ChatDownloadDialogProps = {
|
|
4726
4736
|
open: boolean;
|
|
@@ -4862,6 +4872,164 @@ declare function useCodePermissionSessions(): Set<string>;
|
|
|
4862
4872
|
*/
|
|
4863
4873
|
declare function resetCodePermissionsForTests(): void;
|
|
4864
4874
|
|
|
4875
|
+
/**
|
|
4876
|
+
* Tools the agent calls to put rich UI in the chat: a chart instead of a table
|
|
4877
|
+
* of numbers in prose, a form instead of asking for six fields one at a time.
|
|
4878
|
+
*
|
|
4879
|
+
* They are client tools like any other — declared on the turn, called by the
|
|
4880
|
+
* agent, run here — but what "running" means is rendering. Most answer as soon
|
|
4881
|
+
* as the panel is on screen; `ui_form` answers when the person submits it,
|
|
4882
|
+
* which is what the contract's long wait is for.
|
|
4883
|
+
*
|
|
4884
|
+
* Names are prefixed `ui_` so they cannot collide with the agent's own tools
|
|
4885
|
+
* or the backend's built-ins (`execute`, `glob`, `read_file`, …).
|
|
4886
|
+
*/
|
|
4887
|
+
declare const CHART_KINDS: readonly ["bar", "stacked-bar", "line", "area", "pie", "donut", "scatter", "radar", "combo", "treemap", "radial", "funnel"];
|
|
4888
|
+
type ChartKind = (typeof CHART_KINDS)[number];
|
|
4889
|
+
declare const FIELD_KINDS: readonly ["text", "textarea", "number", "email", "select", "checkbox", "radio", "date"];
|
|
4890
|
+
type FieldKind = (typeof FIELD_KINDS)[number];
|
|
4891
|
+
declare const UI_TOOL_NAMES: {
|
|
4892
|
+
readonly chart: "ui_chart";
|
|
4893
|
+
readonly diagram: "ui_diagram";
|
|
4894
|
+
readonly table: "ui_table";
|
|
4895
|
+
readonly form: "ui_form";
|
|
4896
|
+
readonly metrics: "ui_metrics";
|
|
4897
|
+
};
|
|
4898
|
+
type UiToolName = (typeof UI_TOOL_NAMES)[keyof typeof UI_TOOL_NAMES];
|
|
4899
|
+
declare const UI_TOOL_DEFINITIONS: ClientToolDefinition[];
|
|
4900
|
+
declare const isUiToolName: (name: string) => name is UiToolName;
|
|
4901
|
+
|
|
4902
|
+
/**
|
|
4903
|
+
* Panels the agent has put in the chat, in arrival order.
|
|
4904
|
+
*
|
|
4905
|
+
* A module store rather than Redux: chat components remount constantly, and a
|
|
4906
|
+
* panel arriving between teardown and re-subscribe would be lost — the same
|
|
4907
|
+
* reasoning as the permission-card store next door.
|
|
4908
|
+
*/
|
|
4909
|
+
/** Where a panel sits among its turn's others. */
|
|
4910
|
+
interface PanelLayout {
|
|
4911
|
+
columns?: number;
|
|
4912
|
+
span?: number;
|
|
4913
|
+
}
|
|
4914
|
+
interface PanelBase {
|
|
4915
|
+
id: string;
|
|
4916
|
+
layout?: PanelLayout;
|
|
4917
|
+
/** The turn that produced it, so ending the turn can clear its panels. */
|
|
4918
|
+
generationId?: string;
|
|
4919
|
+
}
|
|
4920
|
+
interface ChartPanel extends PanelBase {
|
|
4921
|
+
kind: 'chart';
|
|
4922
|
+
chartKind: ChartKind;
|
|
4923
|
+
title?: string;
|
|
4924
|
+
xTitle?: string;
|
|
4925
|
+
yTitle?: string;
|
|
4926
|
+
labels: string[];
|
|
4927
|
+
series: {
|
|
4928
|
+
name: string;
|
|
4929
|
+
data: number[];
|
|
4930
|
+
}[];
|
|
4931
|
+
}
|
|
4932
|
+
interface DiagramPanel extends PanelBase {
|
|
4933
|
+
kind: 'diagram';
|
|
4934
|
+
title?: string;
|
|
4935
|
+
/** Mermaid source, without fences. */
|
|
4936
|
+
source: string;
|
|
4937
|
+
}
|
|
4938
|
+
interface TablePanel extends PanelBase {
|
|
4939
|
+
kind: 'table';
|
|
4940
|
+
title?: string;
|
|
4941
|
+
columns: string[];
|
|
4942
|
+
rows: string[][];
|
|
4943
|
+
}
|
|
4944
|
+
interface MetricsPanel extends PanelBase {
|
|
4945
|
+
kind: 'metrics';
|
|
4946
|
+
title?: string;
|
|
4947
|
+
items: {
|
|
4948
|
+
label: string;
|
|
4949
|
+
value: string;
|
|
4950
|
+
hint?: string;
|
|
4951
|
+
}[];
|
|
4952
|
+
}
|
|
4953
|
+
interface FormField {
|
|
4954
|
+
name: string;
|
|
4955
|
+
label: string;
|
|
4956
|
+
kind: FieldKind;
|
|
4957
|
+
placeholder?: string;
|
|
4958
|
+
required?: boolean;
|
|
4959
|
+
options?: string[];
|
|
4960
|
+
}
|
|
4961
|
+
interface FormPanel extends PanelBase {
|
|
4962
|
+
kind: 'form';
|
|
4963
|
+
title?: string;
|
|
4964
|
+
description?: string;
|
|
4965
|
+
submitLabel?: string;
|
|
4966
|
+
fields: FormField[];
|
|
4967
|
+
/** Settled once; further presses do nothing. */
|
|
4968
|
+
settle: (values: Record<string, string> | null) => void;
|
|
4969
|
+
settled?: boolean;
|
|
4970
|
+
}
|
|
4971
|
+
type ClientUiPanel = ChartPanel | DiagramPanel | TablePanel | MetricsPanel | FormPanel;
|
|
4972
|
+
/**
|
|
4973
|
+
* Drop every panel of a turn. A form still waiting is settled with `null`
|
|
4974
|
+
* first: the agent is no longer listening, and leaving the promise open would
|
|
4975
|
+
* strand the runner.
|
|
4976
|
+
*/
|
|
4977
|
+
declare function dropUiPanels(generationId?: string): void;
|
|
4978
|
+
declare function clearUiPanelsForTests(): void;
|
|
4979
|
+
declare function useClientUiPanels(): ClientUiPanel[];
|
|
4980
|
+
|
|
4981
|
+
declare function runUiTool(call: ClientToolCall): Promise<unknown>;
|
|
4982
|
+
|
|
4983
|
+
declare function ClientUiPanelView({ panel }: {
|
|
4984
|
+
panel: ClientUiPanel;
|
|
4985
|
+
}): react_jsx_runtime.JSX.Element;
|
|
4986
|
+
|
|
4987
|
+
/** The tool calls a message kept, as the chat stores them. */
|
|
4988
|
+
interface PanelToolCall {
|
|
4989
|
+
id: string;
|
|
4990
|
+
name: string;
|
|
4991
|
+
input?: Record<string, unknown>;
|
|
4992
|
+
}
|
|
4993
|
+
/**
|
|
4994
|
+
* The panels one turn put in the chat, under that turn's message.
|
|
4995
|
+
*
|
|
4996
|
+
* Matched on the tool call rather than the turn: a finished turn's messages
|
|
4997
|
+
* are replaced by the server's own, with its ids, so a panel keyed only on
|
|
4998
|
+
* the generation id is orphaned the moment that lands — the chart appears,
|
|
4999
|
+
* then vanishes. The call id travels with the message's `toolCalls`, which
|
|
5000
|
+
* survives the swap, and the generation id stays as the fallback for the
|
|
5001
|
+
* window before the server's copy arrives.
|
|
5002
|
+
*
|
|
5003
|
+
* A panel the live store no longer holds — anything drawn before a reload —
|
|
5004
|
+
* is rebuilt from the call's own arguments, so a transcript keeps its charts.
|
|
5005
|
+
*/
|
|
5006
|
+
declare function ClientUiPanels({ generationId, toolCalls, }: {
|
|
5007
|
+
generationId: string;
|
|
5008
|
+
toolCalls?: PanelToolCall[];
|
|
5009
|
+
}): react_jsx_runtime.JSX.Element | null;
|
|
5010
|
+
|
|
5011
|
+
/**
|
|
5012
|
+
* The agent's rich-UI tools, combined with whatever else this surface can run.
|
|
5013
|
+
*
|
|
5014
|
+
* UI tools work anywhere the chat renders — browser, desktop, embed — so they
|
|
5015
|
+
* need no extension. The extension's browser tools are merged in when present,
|
|
5016
|
+
* and a call is routed by name.
|
|
5017
|
+
*
|
|
5018
|
+
* Nothing is offered unless the agent permits client tools. The backend
|
|
5019
|
+
* refuses a turn that carries them with the flag off, so offering them to an
|
|
5020
|
+
* agent that has not enabled them would break every message rather than
|
|
5021
|
+
* degrade quietly.
|
|
5022
|
+
*/
|
|
5023
|
+
declare function useClientUiTools(extension: {
|
|
5024
|
+
clientTools: ClientToolDefinition[];
|
|
5025
|
+
runClientTool: (call: ClientToolCall) => Promise<unknown>;
|
|
5026
|
+
},
|
|
5027
|
+
/** The agent's `enable_client_tools`, read by the host. */
|
|
5028
|
+
allowed: boolean): {
|
|
5029
|
+
clientTools: ClientToolDefinition[];
|
|
5030
|
+
runClientTool: (call: ClientToolCall) => Promise<unknown>;
|
|
5031
|
+
};
|
|
5032
|
+
|
|
4865
5033
|
type PermissionMode = 'manual' | 'auto';
|
|
4866
5034
|
declare const PERMISSION_MODES: readonly PermissionMode[];
|
|
4867
5035
|
declare const PERMISSION_MODE_ICONS: Record<PermissionMode, LucideIcon>;
|
|
@@ -5037,7 +5205,9 @@ type ClassifierTryOutcome = {
|
|
|
5037
5205
|
} | {
|
|
5038
5206
|
ok: false;
|
|
5039
5207
|
reason: 'save' | 'invalid' | 'credits' | 'spend-cap' | 'model-unavailable' | 'model-failed' | 'too-long' | 'variables-too-long' | 'not-allowed' | 'other';
|
|
5040
|
-
/**
|
|
5208
|
+
/** The backend's own sentence, shown instead of the reason's copy. */
|
|
5209
|
+
message?: string;
|
|
5210
|
+
/** The backend's lines about what to fix, for 'invalid'. */
|
|
5041
5211
|
errors?: string[];
|
|
5042
5212
|
};
|
|
5043
5213
|
interface StepReference {
|
|
@@ -5558,5 +5728,5 @@ declare const CATALOGS: Record<Locale, Messages>;
|
|
|
5558
5728
|
*/
|
|
5559
5729
|
declare function getCatalog(locale: Locale): Messages;
|
|
5560
5730
|
|
|
5561
|
-
export { AGENT_ACCESS_TAB_LABELS, AGENT_ANALYTICS_TAB_LABELS, AGENT_API_TAB_LABELS, AGENT_DATASETS_TAB_LABELS, AGENT_DISCLAIMERS_TAB_LABELS, AGENT_EMBED_TAB_LABELS, AGENT_EVALUATION_TAB_LABELS, AGENT_GRADER_TAB_LABELS, AGENT_HISTORY_TAB_LABELS, AGENT_HUMAN_SUPPORT_TAB_LABELS, AGENT_LLM_TAB_LABELS, AGENT_LTI_TAB_LABELS, AGENT_MEMORY_TAB_LABELS, AGENT_PICKER_LABELS, AGENT_PRIVACY_TAB_LABELS, AGENT_PROMPTS_TAB_LABELS, AGENT_SAFETY_TAB_LABELS, AGENT_SCREENSHARE_TAB_LABELS, AGENT_SEARCH_LABELS, AGENT_SETTINGS_TAB_LABELS, AGENT_SKILLS_TAB_LABELS, AGENT_TASKS_TAB_LABELS, AGENT_VOICE_TAB_LABELS, AccessibilityFab, AccessibilityProvider, AccessibilityToolbar, Account, AgentAccessTab, AgentAnalyticsTab, AgentApiTab, AgentCard, AgentDatasetsTab, AgentDisclaimersTab, AgentEmbedTab, AgentEmptyState, AgentEvaluationTab, AgentGraderTab, AgentHistoryTab, AgentHumanSupportTab, AgentLLMTab, AgentLtiTab, AgentMemoryTab, AgentPrivacyTab, AgentPromptsTab, AgentSafetyTab, AgentScreenShareTab, AgentSearch, AgentSearchFilters, AgentSearchInput, AgentSettingsProvider, AgentSettingsTab, AgentSkillsTab, AgentSpendCapsTab, AgentTasksTab, AgentVoiceTab, AppSidebar, ApprovalsModeButton, CATALOGS, Chat, ChatDownloadDialog, Markdown as ChatMarkdown, ClientErrorPage, ConversationStarters, CopyButton, CopyMentorModal, CourseBox, CourseContentLayout, CourseContentTabPage, CreateAgentWizardTabStep, CreatePathwayModal, CredentialDetailModal, CredentialMiniBox, DEFAULT_ANALYTICS_HUB_TABS, DRAGGABLE_SNAP_TRANSITION, DeleteMentorModal, EMPTY_PROGRAM_SETTINGS_FORM, EdxIframe, ErrorPage, FloatingAccessibilityButton, GreetingMethod, LLMProviderModal, LocalModelRow, MEMORY_SUB_TABS, McpTab, MediaBox, MentorSelectionGrid, NavBar, NodeConfigPanel, OrganizationTab, PERMISSION_MODES, PERMISSION_MODE_ICONS, PLATFORM_SIDEBAR_FLYOUT_ITEM_COLOR, PLATFORM_SIDEBAR_FLYOUT_TITLE_COLOR, PLATFORM_SIDEBAR_NAV_ACTIVE_BG_OPEN, PLATFORM_SIDEBAR_NAV_MUTED, PRIVACY_AUDIT_LOG_DEFAULT_PAGE_SIZE, PathwayDetailModal, PlatformAccountSheet, PlatformSidebar, PlatformSidebarCollapsedLabelFlyout, PlatformSidebarCollapsedNavFlyout, PlatformSidebarFooter, PlatformSidebarNavDivider, PlatformSidebarNavSection, PlatformSidebarSubNavItem, PrivacyAuditLog, PrivacyAuditLogModal, PrivacyFlagDetail, ProfileInfoCards, ProfileTabs, ProgramDetailModal, ProjectsSidebarDropdown, SPEND_CAPS_SUB_TABS, SidebarInset, SidebarProvider, SidebarTrigger, SpendCapUsage, SsoLogin, StarButton, UserProfileDropdown, UserProfileModal, WebContainersI18nProvider, WorkflowCanvas, WorkflowEditor, WorkflowPreviewChat, WorkflowsList, addPermissionRequest, buildExcelExport, buildTextExport, chatExportFilename, clearImagePreviews, createApprovalModeStore, dropPermissionRequest, formatDateString, getCatalog, getProviderName, imagePreviewsReducer, initializeLocalStorageWithObject, resetCodePermissionsForTests, resolveAgentPickerLabels, resolveAgentSearchLabels, resolveLLMTabLabels, resolveSettingsTabLabels, selectImagePreviews, setChatMarkdownTelemetry, setImagePreview, useAccessibility, useAgentSearch, useAgentSearchWithPagination, useAgentSettings, useAgentStar, useCodePermissionRequests, useCodePermissionSessions, useComposerToolPill, useDraggablePosition, useGetChatDetails, usePlatformSidebarFooterActions, usePlatformSidebarNavCallback, useSidebar, useT, useTimeTracker, useToggleTools, useWebContainersI18n, useWebContainersLocale };
|
|
5562
|
-
export type { AccessTabLabels, AccessibilityContextType, AccessibilityFabProps, AccessibilitySettings, AccessibilityToolbarProps, AcpToolCall, AgentAccessTabProps, AgentAnalyticsTabProps, AgentApiTabProps, AgentCardProps, AgentDatasetsTabProps, AgentDisclaimersTabProps, AgentEmbedTabProps, AgentEmptyStateProps, AgentEvaluationTabProps, AgentGraderTabProps, AgentHistoryTabProps, AgentHumanSupportTabProps, AgentLLMTabProps, AgentLtiTabProps, AgentMemoryTabProps, AgentPickerLabels, AgentPrivacyTabProps, AgentPromptsTabProps, AgentSafetyTabProps, AgentScreenShareTabProps, AgentSearchFiltersLabels, AgentSearchFiltersProps, AgentSearchFiltersState, AgentSearchInputProps, AgentSearchLabels, AgentSearchProps, AgentSearchResult, AgentSearchSection, AgentSettingsContextValue, AgentSettingsTabProps, AgentSkillsTabProps, AgentSpendCapsTabProps, AgentTasksTabProps, AgentVoiceTabProps, AnalyticsHubTab, AnalyticsTabLabels, ApiKey, ApiTabLabels, ApprovalModeStore, ApprovalsModeButtonLabels, ApprovalsModeButtonProps, ChatBrowseBridge, ChatConfig, ChatDownloadDialogProps, ChatEventBus, ChatExportFormat, ChatExportLabels, ChatExportScope, ChatFeatures, ChatLabels, ChatMarkdownComponent, ChatMarkdownTelemetry, ChatProps, ChatSaveFile, ChatSlots, CopyMentorTenant, CourseBoxCourse, CourseBoxProps, CourseContentLayoutProps, CourseContentTab, CourseContentTabPageProps, CreateAgentWizardTabStepProps, CreatePathwayFormData, CreatePathwayModalCourse, CreatePathwayModalProps, CreatePathwayModalResource, CreatedByFilter, CredentialDetailAssertion, CredentialDetailModalProps, CredentialMiniBoxProps, Dataset, DatasetsTabLabels, DeepPartial, DisclaimersTabLabels, DraggableAnchor, DraggableCorner, DraggablePosition, DraggableSide, EdxIframeProps, EmbedTabLabels, EmbedUrlConfig, EvaluationTabLabels, GraderTabLabels, HistoryTabLabels, HumanSupportTabLabels, LLMModelSelection, LLMProvider, LLMProviderModalProps, Provider as LLMProviderType, LLMTabLabels, LocalModelRowLabels, LocalModelRowProps, LocalRowStatus, LtiTabLabels, McpTabProps, MediaBoxProps, MemoryTabLabels, MentorSelectionGridProps, NodeConfigPanelProps, PathwayDetailCourse, PathwayDetailModalProps, PermissionMode, PermissionRequest, PlatformAccountSheetProps, PlatformAccountTab, PlatformSidebarCustomSectionConfig, PlatformSidebarDividerSectionConfig, PlatformSidebarFooterActionId, PlatformSidebarFooterConfig, PlatformSidebarMenu, PlatformSidebarMenuItem, PlatformSidebarMenuSectionConfig, PlatformSidebarNavIcon, PlatformSidebarPrimaryAction, PlatformSidebarProps, PlatformSidebarSectionConfig, PlatformSidebarSectionContext, PrivacyAuditLogModalProps, PrivacyAuditLogProps, PrivacyFlagDetailProps, PrivacyTabLabels, ProfileInfoCardsProps, ProfileInfoSummary, ProfileTabItem, ProfileTabsProps, ProfileTopContent, ProgramDetailCourse, ProgramDetailModalProps, ProgramDetailProgram, ProgramSettingsFormData, ProjectsConfig, ProjectsSidebarDropdownProps, PromptsEditFormValues, PromptsSelectedPrompt, PromptsTabLabels, ReactFlowJsonObject, SafetyEditFormValues, SafetySelectedPrompt, SafetyTabLabels, ScreenShareTabLabels, SettingsTabLabels, SkillsTabLabels, SpendCapUsageProps, SsoProvider, StarButtonProps, SupportTicketsFilter, TaskDisplayStatus, TaskListItem, TaskLog, TasksTabLabels, UploadedFile, UseAgentSearchConfig, UseAgentSearchResult, UseAgentSearchWithPaginationConfig, UseAgentSearchWithPaginationResult, UseAgentStarConfig, UseAgentStarResult, UseDraggablePositionOptions, UseTimeTrackerConfig, UseTimeTrackerReturn, UserMetadata, UserProfileDropdownProps, VisibilityOption, VoiceTabLabels, WebContainersI18nProviderProps, WebContainersI18nValue, WorkflowCanvasProps, WorkflowEditorProps, WorkflowPreviewChatProps, WorkflowsListProps };
|
|
5731
|
+
export { AGENT_ACCESS_TAB_LABELS, AGENT_ANALYTICS_TAB_LABELS, AGENT_API_TAB_LABELS, AGENT_DATASETS_TAB_LABELS, AGENT_DISCLAIMERS_TAB_LABELS, AGENT_EMBED_TAB_LABELS, AGENT_EVALUATION_TAB_LABELS, AGENT_GRADER_TAB_LABELS, AGENT_HISTORY_TAB_LABELS, AGENT_HUMAN_SUPPORT_TAB_LABELS, AGENT_LLM_TAB_LABELS, AGENT_LTI_TAB_LABELS, AGENT_MEMORY_TAB_LABELS, AGENT_PICKER_LABELS, AGENT_PRIVACY_TAB_LABELS, AGENT_PROMPTS_TAB_LABELS, AGENT_SAFETY_TAB_LABELS, AGENT_SCREENSHARE_TAB_LABELS, AGENT_SEARCH_LABELS, AGENT_SETTINGS_TAB_LABELS, AGENT_SKILLS_TAB_LABELS, AGENT_TASKS_TAB_LABELS, AGENT_VOICE_TAB_LABELS, AccessibilityFab, AccessibilityProvider, AccessibilityToolbar, Account, AgentAccessTab, AgentAnalyticsTab, AgentApiTab, AgentCard, AgentDatasetsTab, AgentDisclaimersTab, AgentEmbedTab, AgentEmptyState, AgentEvaluationTab, AgentGraderTab, AgentHistoryTab, AgentHumanSupportTab, AgentLLMTab, AgentLtiTab, AgentMemoryTab, AgentPrivacyTab, AgentPromptsTab, AgentSafetyTab, AgentScreenShareTab, AgentSearch, AgentSearchFilters, AgentSearchInput, AgentSettingsProvider, AgentSettingsTab, AgentSkillsTab, AgentSpendCapsTab, AgentTasksTab, AgentVoiceTab, AppSidebar, ApprovalsModeButton, CATALOGS, Chat, ChatDownloadDialog, Markdown as ChatMarkdown, ClientErrorPage, ClientUiPanelView, ClientUiPanels, ConversationStarters, CopyButton, CopyMentorModal, CourseBox, CourseContentLayout, CourseContentTabPage, CreateAgentWizardTabStep, CreatePathwayModal, CredentialDetailModal, CredentialMiniBox, DEFAULT_ANALYTICS_HUB_TABS, DRAGGABLE_SNAP_TRANSITION, DeleteMentorModal, EMPTY_PROGRAM_SETTINGS_FORM, EdxIframe, ErrorPage, FloatingAccessibilityButton, GreetingMethod, LLMProviderModal, LocalModelRow, MEMORY_SUB_TABS, McpTab, MediaBox, MentorSelectionGrid, NavBar, NodeConfigPanel, OrganizationTab, PERMISSION_MODES, PERMISSION_MODE_ICONS, PLATFORM_SIDEBAR_FLYOUT_ITEM_COLOR, PLATFORM_SIDEBAR_FLYOUT_TITLE_COLOR, PLATFORM_SIDEBAR_NAV_ACTIVE_BG_OPEN, PLATFORM_SIDEBAR_NAV_MUTED, PRIVACY_AUDIT_LOG_DEFAULT_PAGE_SIZE, PathwayDetailModal, PlatformAccountSheet, PlatformSidebar, PlatformSidebarCollapsedLabelFlyout, PlatformSidebarCollapsedNavFlyout, PlatformSidebarFooter, PlatformSidebarNavDivider, PlatformSidebarNavSection, PlatformSidebarSubNavItem, PrivacyAuditLog, PrivacyAuditLogModal, PrivacyFlagDetail, ProfileInfoCards, ProfileTabs, ProgramDetailModal, ProjectsSidebarDropdown, SPEND_CAPS_SUB_TABS, SidebarInset, SidebarProvider, SidebarTrigger, SpendCapUsage, SsoLogin, StarButton, UI_TOOL_DEFINITIONS, UI_TOOL_NAMES, UserProfileDropdown, UserProfileModal, WebContainersI18nProvider, WorkflowCanvas, WorkflowEditor, WorkflowPreviewChat, WorkflowsList, addPermissionRequest, buildExcelExport, buildTextExport, chatExportFilename, clearImagePreviews, clearUiPanelsForTests, createApprovalModeStore, dropPermissionRequest, dropUiPanels, formatDateString, getCatalog, getProviderName, imagePreviewsReducer, initializeLocalStorageWithObject, isUiToolName, resetCodePermissionsForTests, resolveAgentPickerLabels, resolveAgentSearchLabels, resolveLLMTabLabels, resolveSettingsTabLabels, runUiTool, selectImagePreviews, setChatMarkdownTelemetry, setImagePreview, useAccessibility, useAgentSearch, useAgentSearchWithPagination, useAgentSettings, useAgentStar, useClientUiPanels, useClientUiTools, useCodePermissionRequests, useCodePermissionSessions, useComposerToolPill, useDraggablePosition, useGetChatDetails, usePlatformSidebarFooterActions, usePlatformSidebarNavCallback, useSidebar, useT, useTimeTracker, useToggleTools, useWebContainersI18n, useWebContainersLocale };
|
|
5732
|
+
export type { AccessTabLabels, AccessibilityContextType, AccessibilityFabProps, AccessibilitySettings, AccessibilityToolbarProps, AcpToolCall, AgentAccessTabProps, AgentAnalyticsTabProps, AgentApiTabProps, AgentCardProps, AgentDatasetsTabProps, AgentDisclaimersTabProps, AgentEmbedTabProps, AgentEmptyStateProps, AgentEvaluationTabProps, AgentGraderTabProps, AgentHistoryTabProps, AgentHumanSupportTabProps, AgentLLMTabProps, AgentLtiTabProps, AgentMemoryTabProps, AgentPickerLabels, AgentPrivacyTabProps, AgentPromptsTabProps, AgentSafetyTabProps, AgentScreenShareTabProps, AgentSearchFiltersLabels, AgentSearchFiltersProps, AgentSearchFiltersState, AgentSearchInputProps, AgentSearchLabels, AgentSearchProps, AgentSearchResult, AgentSearchSection, AgentSettingsContextValue, AgentSettingsTabProps, AgentSkillsTabProps, AgentSpendCapsTabProps, AgentTasksTabProps, AgentVoiceTabProps, AnalyticsHubTab, AnalyticsTabLabels, ApiKey, ApiTabLabels, ApprovalModeStore, ApprovalsModeButtonLabels, ApprovalsModeButtonProps, ChatBrowseBridge, ChatConfig, ChatDownloadDialogProps, ChatEventBus, ChatExportFormat, ChatExportLabels, ChatExportScope, ChatFeatures, ChatLabels, ChatMarkdownComponent, ChatMarkdownTelemetry, ChatProps, ChatSaveFile, ChatSlots, ClientUiPanel, CopyMentorTenant, CourseBoxCourse, CourseBoxProps, CourseContentLayoutProps, CourseContentTab, CourseContentTabPageProps, CreateAgentWizardTabStepProps, CreatePathwayFormData, CreatePathwayModalCourse, CreatePathwayModalProps, CreatePathwayModalResource, CreatedByFilter, CredentialDetailAssertion, CredentialDetailModalProps, CredentialMiniBoxProps, Dataset, DatasetsTabLabels, DeepPartial, DisclaimersTabLabels, DraggableAnchor, DraggableCorner, DraggablePosition, DraggableSide, EdxIframeProps, EmbedTabLabels, EmbedUrlConfig, EvaluationTabLabels, FormField, GraderTabLabels, HistoryTabLabels, HumanSupportTabLabels, LLMModelSelection, LLMProvider, LLMProviderModalProps, Provider as LLMProviderType, LLMTabLabels, LocalModelRowLabels, LocalModelRowProps, LocalRowStatus, LtiTabLabels, McpTabProps, MediaBoxProps, MemoryTabLabels, MentorSelectionGridProps, NodeConfigPanelProps, PathwayDetailCourse, PathwayDetailModalProps, PermissionMode, PermissionRequest, PlatformAccountSheetProps, PlatformAccountTab, PlatformSidebarCustomSectionConfig, PlatformSidebarDividerSectionConfig, PlatformSidebarFooterActionId, PlatformSidebarFooterConfig, PlatformSidebarMenu, PlatformSidebarMenuItem, PlatformSidebarMenuSectionConfig, PlatformSidebarNavIcon, PlatformSidebarPrimaryAction, PlatformSidebarProps, PlatformSidebarSectionConfig, PlatformSidebarSectionContext, PrivacyAuditLogModalProps, PrivacyAuditLogProps, PrivacyFlagDetailProps, PrivacyTabLabels, ProfileInfoCardsProps, ProfileInfoSummary, ProfileTabItem, ProfileTabsProps, ProfileTopContent, ProgramDetailCourse, ProgramDetailModalProps, ProgramDetailProgram, ProgramSettingsFormData, ProjectsConfig, ProjectsSidebarDropdownProps, PromptsEditFormValues, PromptsSelectedPrompt, PromptsTabLabels, ReactFlowJsonObject, SafetyEditFormValues, SafetySelectedPrompt, SafetyTabLabels, ScreenShareTabLabels, SettingsTabLabels, SkillsTabLabels, SpendCapUsageProps, SsoProvider, StarButtonProps, SupportTicketsFilter, TaskDisplayStatus, TaskListItem, TaskLog, TasksTabLabels, UiToolName, UploadedFile, UseAgentSearchConfig, UseAgentSearchResult, UseAgentSearchWithPaginationConfig, UseAgentSearchWithPaginationResult, UseAgentStarConfig, UseAgentStarResult, UseDraggablePositionOptions, UseTimeTrackerConfig, UseTimeTrackerReturn, UserMetadata, UserProfileDropdownProps, VisibilityOption, VoiceTabLabels, WebContainersI18nProviderProps, WebContainersI18nValue, WorkflowCanvasProps, WorkflowEditorProps, WorkflowPreviewChatProps, WorkflowsListProps };
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iblai/web-containers",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.5.0",
|
|
4
4
|
"description": "ibl web containers",
|
|
5
5
|
"main": "./dist/cjs/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -199,7 +199,8 @@
|
|
|
199
199
|
"react-redux": "9.2.0",
|
|
200
200
|
"react-remove-scroll": "^2.7.2",
|
|
201
201
|
"react-remove-scroll-bar": "^2.3.8",
|
|
202
|
-
"sonner": "^2.0.0"
|
|
202
|
+
"sonner": "^2.0.0",
|
|
203
|
+
"mermaid": "^12"
|
|
203
204
|
},
|
|
204
205
|
"peerDependenciesMeta": {
|
|
205
206
|
"@livekit/components-react": {
|
|
@@ -213,6 +214,9 @@
|
|
|
213
214
|
},
|
|
214
215
|
"sonner": {
|
|
215
216
|
"optional": true
|
|
217
|
+
},
|
|
218
|
+
"mermaid": {
|
|
219
|
+
"optional": true
|
|
216
220
|
}
|
|
217
221
|
},
|
|
218
222
|
"packageManager": "pnpm@10.11.0",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iblai/web-containers",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.0",
|
|
4
4
|
"description": "ibl web containers",
|
|
5
5
|
"main": "./dist/cjs/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -183,9 +183,10 @@
|
|
|
183
183
|
"react-remove-scroll": "^2.7.2",
|
|
184
184
|
"react-remove-scroll-bar": "^2.3.8",
|
|
185
185
|
"sonner": "^2.0.0",
|
|
186
|
+
"mermaid": "^12",
|
|
186
187
|
"@iblai/agent-ai": "2.15.3",
|
|
187
|
-
"@iblai/data-layer": "2.
|
|
188
|
-
"@iblai/web-utils": "3.
|
|
188
|
+
"@iblai/data-layer": "2.4.0",
|
|
189
|
+
"@iblai/web-utils": "3.2.0"
|
|
189
190
|
},
|
|
190
191
|
"peerDependenciesMeta": {
|
|
191
192
|
"@livekit/components-react": {
|
|
@@ -199,6 +200,9 @@
|
|
|
199
200
|
},
|
|
200
201
|
"sonner": {
|
|
201
202
|
"optional": true
|
|
203
|
+
},
|
|
204
|
+
"mermaid": {
|
|
205
|
+
"optional": true
|
|
202
206
|
}
|
|
203
207
|
},
|
|
204
208
|
"publishConfig": {
|