@tutti-os/agent-gui 0.0.216 → 0.0.218
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 +6 -0
- package/dist/{agentFileMentionContracts-BeBex-Sf.d.ts → AgentMentionSearchContracts-y1_u9cPi.d.ts} +73 -1
- package/dist/{AgentRichTextReadonly-IPPNAAWG.js → AgentRichTextReadonly-NBYQHR6U.js} +9 -9
- package/dist/agent-conversation/index.js +11 -11
- package/dist/agent-gui.d.ts +16 -3
- package/dist/agent-gui.js +26 -25
- package/dist/agent-message-center/index.js +8 -8
- package/dist/app/renderer/agentactivity.css +93 -69
- package/dist/app/renderer/assets/icons/agent-vinyl-player-chassis.png +0 -0
- package/dist/app/renderer/assets/icons/agent-vinyl-tonearm.png +0 -0
- package/dist/app/renderer/assets/icons/agent-vinyls/claude-vinyl.png +0 -0
- package/dist/app/renderer/assets/icons/agent-vinyls/codex-vinyl.png +0 -0
- package/dist/app/renderer/assets/icons/agent-vinyls/cursor-vinyl.png +0 -0
- package/dist/app/renderer/assets/icons/agent-vinyls/openclaw-vinyl.png +0 -0
- package/dist/app/renderer/assets/icons/agent-vinyls/opencode-vinyl.png +0 -0
- package/dist/app/renderer/assets/icons/agent-vinyls/tutti-vinyl.png +0 -0
- package/dist/app/renderer/assets/icons/agents/agent-colorful.png +0 -0
- package/dist/app/renderer/assets/icons/agents/claude-rounded.png +0 -0
- package/dist/app/renderer/assets/icons/agents/codex-rounded.png +0 -0
- package/dist/app/renderer/assets/icons/agents/cursor-colorful.png +0 -0
- package/dist/app/renderer/assets/icons/agents/cursor-rounded.png +0 -0
- package/dist/app/renderer/assets/icons/agents/gemini-rounded.png +0 -0
- package/dist/app/renderer/assets/icons/agents/manage-agent-tutti.png +0 -0
- package/dist/app/renderer/assets/icons/agents/openclaw-rounded.png +0 -0
- package/dist/app/renderer/assets/icons/agents/opencode-rounded.png +0 -0
- package/dist/app/renderer/assets/icons/agents/provider-rail-claude-code-colorful.png +0 -0
- package/dist/app/renderer/assets/icons/agents/provider-rail-codex-colorful.png +0 -0
- package/dist/app/renderer/assets/icons/agents/provider-rail-opencode-colorful.png +0 -0
- package/dist/app/renderer/assets/icons/agents/provider-rail-tutti.png +0 -0
- package/dist/app/renderer/assets/icons/user-avatar-placeholder.png +0 -0
- package/dist/{chunk-VMPPZO5C.js → chunk-2QF3RBR4.js} +4 -4
- package/dist/{chunk-M6HTOCQK.js → chunk-3X5VDG6T.js} +2 -2
- package/dist/chunk-6GX57XB5.js +135 -0
- package/dist/chunk-6GX57XB5.js.map +1 -0
- package/dist/{chunk-MOCBHFJ2.js → chunk-7V5XYXKB.js} +44 -120
- package/dist/chunk-7V5XYXKB.js.map +1 -0
- package/dist/chunk-BCBB4HOV.js +56 -0
- package/dist/{chunk-DLN33TPF.js → chunk-F6J3LJXK.js} +8 -8
- package/dist/{chunk-UERICUWM.js → chunk-GLVENTN6.js} +2 -2
- package/dist/{chunk-DTP2OMCE.js → chunk-KRITI65C.js} +10 -12
- package/dist/chunk-KRITI65C.js.map +1 -0
- package/dist/{chunk-EZRQMJTX.js → chunk-KZIW5CCW.js} +4 -4
- package/dist/{chunk-QFYOJMEQ.js → chunk-M6WEFXPL.js} +2 -2
- package/dist/chunk-OB7GGK6S.js +44534 -0
- package/dist/chunk-OB7GGK6S.js.map +1 -0
- package/dist/{chunk-G7DS23D4.js → chunk-PPA2OB2H.js} +2 -2
- package/dist/{chunk-YY5WM3OE.js → chunk-PZWBLTYH.js} +242 -81
- package/dist/chunk-PZWBLTYH.js.map +1 -0
- package/dist/chunk-SEHJINGH.js +150 -0
- package/dist/{chunk-4CHBM3G3.js → chunk-SUVMLCED.js} +5 -5
- package/dist/{chunk-B4TM2HYJ.js → chunk-SWO67UWQ.js} +6 -6
- package/dist/{chunk-6A6OVD66.js → chunk-UC2QN7FK.js} +44 -18
- package/dist/chunk-UC2QN7FK.js.map +1 -0
- package/dist/{chunk-Z5UJC4Q3.js → chunk-Z35E22WS.js} +4 -4
- package/dist/{chunk-P2RIZAK5.js → chunk-ZXEICU6J.js} +3 -1
- package/dist/chunk-ZXEICU6J.js.map +1 -0
- package/dist/context-mention-palette/index.d.ts +3 -3
- package/dist/context-mention-palette/index.js +14 -14
- package/dist/dock-icons.js +2 -2
- package/dist/headerLayout-CP4ujEbo.d.ts +14 -0
- package/dist/i18n/index.d.ts +2 -0
- package/dist/i18n/index.js +2 -2
- package/dist/index.d.ts +77 -46
- package/dist/index.js +49 -42
- package/dist/index.js.map +1 -1
- package/dist/layout.d.ts +7 -0
- package/dist/layout.js +9 -0
- package/dist/layout.js.map +1 -0
- package/dist/mention-search.d.ts +6 -73
- package/dist/mention-search.js +10 -10
- package/dist/provider-icons.js +1 -1
- package/dist/workbench/browser-element-context/index.js +2 -2
- package/dist/workbench/contribution.js +9 -8
- package/dist/workbench/index.d.ts +3 -1
- package/dist/workbench/index.js +12 -11
- package/dist/workbench/launch.js +2 -2
- package/dist/workbench/sessionTitle.js +2 -2
- package/dist/workbench/tool-sidebar/index.d.ts +14 -13
- package/dist/workbench/tool-sidebar/index.js +66 -55
- package/dist/workbench/tool-sidebar/index.js.map +1 -1
- package/package.json +22 -15
- package/dist/chunk-6A6OVD66.js.map +0 -1
- package/dist/chunk-AOK22J62.js +0 -56
- package/dist/chunk-DTP2OMCE.js.map +0 -1
- package/dist/chunk-KJA3HHUJ.js +0 -44291
- package/dist/chunk-KJA3HHUJ.js.map +0 -1
- package/dist/chunk-MOCBHFJ2.js.map +0 -1
- package/dist/chunk-P2RIZAK5.js.map +0 -1
- package/dist/chunk-QNE2ZPPV.js +0 -150
- package/dist/chunk-YY5WM3OE.js.map +0 -1
- /package/dist/{AgentRichTextReadonly-IPPNAAWG.js.map → AgentRichTextReadonly-NBYQHR6U.js.map} +0 -0
- /package/dist/{chunk-VMPPZO5C.js.map → chunk-2QF3RBR4.js.map} +0 -0
- /package/dist/{chunk-M6HTOCQK.js.map → chunk-3X5VDG6T.js.map} +0 -0
- /package/dist/{chunk-AOK22J62.js.map → chunk-BCBB4HOV.js.map} +0 -0
- /package/dist/{chunk-DLN33TPF.js.map → chunk-F6J3LJXK.js.map} +0 -0
- /package/dist/{chunk-UERICUWM.js.map → chunk-GLVENTN6.js.map} +0 -0
- /package/dist/{chunk-EZRQMJTX.js.map → chunk-KZIW5CCW.js.map} +0 -0
- /package/dist/{chunk-QFYOJMEQ.js.map → chunk-M6WEFXPL.js.map} +0 -0
- /package/dist/{chunk-G7DS23D4.js.map → chunk-PPA2OB2H.js.map} +0 -0
- /package/dist/{chunk-QNE2ZPPV.js.map → chunk-SEHJINGH.js.map} +0 -0
- /package/dist/{chunk-4CHBM3G3.js.map → chunk-SUVMLCED.js.map} +0 -0
- /package/dist/{chunk-B4TM2HYJ.js.map → chunk-SWO67UWQ.js.map} +0 -0
- /package/dist/{chunk-Z5UJC4Q3.js.map → chunk-Z35E22WS.js.map} +0 -0
package/dist/mention-search.d.ts
CHANGED
|
@@ -1,79 +1,11 @@
|
|
|
1
|
-
import { A as AgentContextMentionItem } from './
|
|
1
|
+
import { g as AgentMentionProviderQueryDiagnostic, h as AgentMentionRawGroups, m as AgentMentionTotalCounts, e as AgentMentionIssueTopicGroup, j as AgentMentionSearchDiagnosticLog, k as AgentMentionSearchListener, d as AgentMentionGroupId, b as AgentMentionFilterId, l as AgentMentionSearchState, i as AgentMentionSearchControllerOptions, f as AgentMentionLifecycleDiagnosticLog, R as RuntimeDiagnosticsDetailValue, A as AgentContextMentionItem, c as AgentMentionGroup } from './AgentMentionSearchContracts-y1_u9cPi.js';
|
|
2
|
+
export { a as AgentMentionBrowseCategory } from './AgentMentionSearchContracts-y1_u9cPi.js';
|
|
2
3
|
import { AgentContextMentionProvider } from './context-mention-provider.js';
|
|
3
|
-
import { MentionPaletteGroup, MentionPaletteState } from '@tutti-os/ui-rich-text/at-panel';
|
|
4
4
|
import { ReferenceProvenanceFilter, ReferenceProvenanceCatalog } from '@tutti-os/workspace-file-reference/contracts';
|
|
5
|
+
import '@tutti-os/ui-rich-text/at-panel';
|
|
5
6
|
import '@tutti-os/ui-rich-text/types';
|
|
6
7
|
import '@tutti-os/workspace-external-core/contracts';
|
|
7
8
|
|
|
8
|
-
type RuntimeDiagnosticsDetailValue = string | number | boolean | null;
|
|
9
|
-
|
|
10
|
-
type AgentMentionProviderDiagnosticStatus = "success" | "timeout" | "error" | "missing";
|
|
11
|
-
interface AgentMentionProviderQueryDiagnostic {
|
|
12
|
-
durationMs: number;
|
|
13
|
-
errorKind?: string;
|
|
14
|
-
providerId: string;
|
|
15
|
-
resultCount: number;
|
|
16
|
-
status: AgentMentionProviderDiagnosticStatus;
|
|
17
|
-
}
|
|
18
|
-
interface AgentMentionSearchDiagnosticLog {
|
|
19
|
-
debounceMs: number;
|
|
20
|
-
durationMs: number;
|
|
21
|
-
errorKind?: string;
|
|
22
|
-
event: "agent_gui.mention_search";
|
|
23
|
-
filter: AgentMentionFilterId;
|
|
24
|
-
groupCount: number;
|
|
25
|
-
itemCount: number;
|
|
26
|
-
mode: "browse" | "results";
|
|
27
|
-
providerResults: AgentMentionProviderQueryDiagnostic[];
|
|
28
|
-
providerTimeoutMs: number;
|
|
29
|
-
queryLength: number;
|
|
30
|
-
requestId: number;
|
|
31
|
-
status: "ready" | "error";
|
|
32
|
-
workspaceId: string;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
type AgentMentionFilterId = "session" | "file" | "issue" | "agent" | "app";
|
|
36
|
-
type AgentMentionStaticGroupId = "apps" | "agents" | "files" | "opened_files" | "agent_generated_files" | "my_sessions" | "collab_sessions" | "issues";
|
|
37
|
-
type AgentMentionIssueTopicGroupId = `issue-topic:${string}`;
|
|
38
|
-
type AgentMentionProvenanceGroupId = `agent:${string}`;
|
|
39
|
-
type AgentMentionMemberGroupId = `member:${string}`;
|
|
40
|
-
type AgentMentionGroupId = AgentMentionStaticGroupId | AgentMentionIssueTopicGroupId | AgentMentionProvenanceGroupId | AgentMentionMemberGroupId;
|
|
41
|
-
type AgentMentionRawGroupId = Exclude<AgentMentionStaticGroupId, "files" | "my_sessions" | "collab_sessions"> | "sessions";
|
|
42
|
-
type AgentMentionRawGroups = Record<AgentMentionRawGroupId, AgentContextMentionItem[]>;
|
|
43
|
-
type AgentMentionTotalCounts = Partial<Record<AgentMentionGroupId, number>>;
|
|
44
|
-
interface AgentMentionIssueTopicGroup {
|
|
45
|
-
id: `issue-topic:${string}`;
|
|
46
|
-
providerGroupId: string;
|
|
47
|
-
label: string;
|
|
48
|
-
items: AgentContextMentionItem[];
|
|
49
|
-
totalCount: number;
|
|
50
|
-
nextPageToken: string | null;
|
|
51
|
-
loadMoreStatus: "idle" | "loading" | "error";
|
|
52
|
-
loadMoreError: string | null;
|
|
53
|
-
}
|
|
54
|
-
interface AgentMentionBrowseCategory {
|
|
55
|
-
id: AgentMentionFilterId;
|
|
56
|
-
label: string;
|
|
57
|
-
}
|
|
58
|
-
type AgentMentionGroup = MentionPaletteGroup<AgentContextMentionItem>;
|
|
59
|
-
type AgentMentionSearchState = MentionPaletteState<AgentContextMentionItem>;
|
|
60
|
-
interface AgentMentionSearchControllerOptions {
|
|
61
|
-
contextMentionProviders?: readonly AgentContextMentionProvider[];
|
|
62
|
-
debounceMs?: number;
|
|
63
|
-
fileLimit?: number;
|
|
64
|
-
issueLimit?: number;
|
|
65
|
-
browseCacheTtlMs?: number;
|
|
66
|
-
providerTimeoutMs?: number;
|
|
67
|
-
diagnosticInfoLogger?: (payload: AgentMentionSearchDiagnosticLog) => void;
|
|
68
|
-
diagnosticNow?: () => number;
|
|
69
|
-
diagnosticSlowThresholdMs?: number;
|
|
70
|
-
}
|
|
71
|
-
type AgentMentionSearchListener = (state: AgentMentionSearchState) => void;
|
|
72
|
-
interface AgentMentionLifecycleDiagnosticLog {
|
|
73
|
-
event: "browse.open" | "browse.preload" | "browse.cache" | "browse.fetch.start" | "browse.fetch.dedupe" | "browse.fetch.success" | "browse.fetch.error" | "browse.apply.skipped";
|
|
74
|
-
details: Record<string, RuntimeDiagnosticsDetailValue>;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
9
|
interface AgentMentionBrowseFetchResult {
|
|
78
10
|
providerDiagnostics: AgentMentionProviderQueryDiagnostic[];
|
|
79
11
|
rawGroups: AgentMentionRawGroups;
|
|
@@ -252,8 +184,9 @@ declare class AgentMentionSearchControllerBase {
|
|
|
252
184
|
declare class AgentMentionSearchController extends AgentMentionSearchControllerBase {
|
|
253
185
|
private readonly issueLoadMoreRequests;
|
|
254
186
|
private readonly directoryRequestLifecycle;
|
|
187
|
+
private readonly provenanceFilters;
|
|
255
188
|
setProvenanceCatalog(catalog: ReferenceProvenanceCatalog | null): void;
|
|
256
|
-
|
|
189
|
+
setProvenanceFilters(filters: Record<AgentMentionFilterId, ReferenceProvenanceFilter | null>): void;
|
|
257
190
|
subscribe(listener: AgentMentionSearchListener): () => void;
|
|
258
191
|
updateQuery(input: {
|
|
259
192
|
workspaceId: string;
|
|
@@ -293,4 +226,4 @@ declare function preloadAgentMentionBrowse(input: {
|
|
|
293
226
|
filter?: AgentMentionFilterId;
|
|
294
227
|
}): void;
|
|
295
228
|
|
|
296
|
-
export {
|
|
229
|
+
export { AgentMentionFilterId, AgentMentionGroup, AgentMentionGroupId, AgentMentionSearchController, AgentMentionSearchState, MAX_BROWSE_CACHE_ENTRIES, preloadAgentMentionBrowse, resetAgentMentionSearchBrowseCacheForTests };
|
package/dist/mention-search.js
CHANGED
|
@@ -3,25 +3,25 @@ import {
|
|
|
3
3
|
MAX_BROWSE_CACHE_ENTRIES,
|
|
4
4
|
preloadAgentMentionBrowse,
|
|
5
5
|
resetAgentMentionSearchBrowseCacheForTests
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-UC2QN7FK.js";
|
|
7
7
|
import "./chunk-VMPA46ET.js";
|
|
8
|
+
import "./chunk-YMXYBG7U.js";
|
|
8
9
|
import "./chunk-XJ34OIEQ.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-SWO67UWQ.js";
|
|
10
11
|
import "./chunk-JDVP33S5.js";
|
|
11
12
|
import "./chunk-3V5OCA2M.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-YMXYBG7U.js";
|
|
15
|
-
import "./chunk-QFYOJMEQ.js";
|
|
16
|
-
import "./chunk-M6HTOCQK.js";
|
|
13
|
+
import "./chunk-M6WEFXPL.js";
|
|
14
|
+
import "./chunk-3X5VDG6T.js";
|
|
17
15
|
import "./chunk-F5UR6EJG.js";
|
|
18
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-GLVENTN6.js";
|
|
19
17
|
import "./chunk-5BJYO6X3.js";
|
|
20
18
|
import "./chunk-AFUVWWQY.js";
|
|
21
|
-
import "./chunk-P2RIZAK5.js";
|
|
22
19
|
import "./chunk-MIJXEELH.js";
|
|
20
|
+
import "./chunk-ZXEICU6J.js";
|
|
21
|
+
import "./chunk-RMQREVJY.js";
|
|
22
|
+
import "./chunk-FGLQZ6I4.js";
|
|
23
23
|
import "./chunk-D2JUDUYY.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-SEHJINGH.js";
|
|
25
25
|
import "./chunk-O433KXLK.js";
|
|
26
26
|
export {
|
|
27
27
|
AgentMentionSearchController,
|
package/dist/provider-icons.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "../../chunk-DLCZJKCA.js";
|
|
2
|
-
import "../../chunk-FGLQZ6I4.js";
|
|
3
1
|
import {
|
|
4
2
|
useEngineSelector
|
|
5
3
|
} from "../../chunk-EVQ4JY3N.js";
|
|
4
|
+
import "../../chunk-DLCZJKCA.js";
|
|
5
|
+
import "../../chunk-FGLQZ6I4.js";
|
|
6
6
|
import {
|
|
7
7
|
registerAgentCustomMentionKind
|
|
8
8
|
} from "../../chunk-D2JUDUYY.js";
|
|
@@ -17,19 +17,20 @@ import {
|
|
|
17
17
|
resolveAgentGuiUnifiedDockLaunchPayload,
|
|
18
18
|
resolveAgentGuiWorkbenchContributionCopy,
|
|
19
19
|
resolveAgentGuiWorkbenchDefaultLaunchFrame
|
|
20
|
-
} from "../chunk-
|
|
21
|
-
import "../chunk-
|
|
20
|
+
} from "../chunk-7V5XYXKB.js";
|
|
21
|
+
import "../chunk-2QF3RBR4.js";
|
|
22
22
|
import "../chunk-KDN6SLJM.js";
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-CBMWHQ7P.js";
|
|
23
|
+
import "../chunk-SUVMLCED.js";
|
|
25
24
|
import "../chunk-MGSRWYRN.js";
|
|
26
|
-
import "../chunk-
|
|
27
|
-
import "../chunk-G7DS23D4.js";
|
|
25
|
+
import "../chunk-CBMWHQ7P.js";
|
|
28
26
|
import "../chunk-EVQ4JY3N.js";
|
|
27
|
+
import "../chunk-3MVSOLX3.js";
|
|
28
|
+
import "../chunk-PPA2OB2H.js";
|
|
29
|
+
import "../chunk-6GX57XB5.js";
|
|
29
30
|
import "../chunk-AFUVWWQY.js";
|
|
30
|
-
import "../chunk-P2RIZAK5.js";
|
|
31
31
|
import "../chunk-MIJXEELH.js";
|
|
32
|
-
import "../chunk-
|
|
32
|
+
import "../chunk-ZXEICU6J.js";
|
|
33
|
+
import "../chunk-SEHJINGH.js";
|
|
33
34
|
import "../chunk-O433KXLK.js";
|
|
34
35
|
export {
|
|
35
36
|
AGENT_GUI_WORKBENCH_CONVERSATION_RAIL_TOGGLE_EVENT,
|
|
@@ -5,6 +5,7 @@ export { AgentGuiWorkbenchLaunchDescriptor, AgentGuiWorkbenchReusePolicy, agentG
|
|
|
5
5
|
export { areAgentGuiWorkbenchNodeStatesEqual, areAgentGuiWorkbenchStatesEqual, createAgentGuiWorkbenchNodeStateSource, createDefaultAgentGuiWorkbenchNodeState, normalizeAgentGuiWorkbenchNodeState, normalizeAgentGuiWorkbenchState, projectAgentGuiWorkbenchState } from './state.js';
|
|
6
6
|
import { ReactNode, HTMLAttributes } from 'react';
|
|
7
7
|
import { WorkbenchDisplayMode, WorkbenchHostNodeHeaderWindowActions } from '@tutti-os/workbench-surface';
|
|
8
|
+
import { a as AgentToolSidebarHeaderLayout } from '../headerLayout-CP4ujEbo.js';
|
|
8
9
|
export { AgentGuiWorkbenchSessionTitleResult, ResolveAgentGuiWorkbenchHeaderTitleInput, ResolveAgentGuiWorkbenchSessionTitleInput, resolveAgentGuiWorkbenchHeaderTitle, resolveAgentGuiWorkbenchSessionTitle } from './sessionTitle.js';
|
|
9
10
|
export { AgentGuiWorkbenchComposerOverrides, AgentGuiWorkbenchNodeState, AgentGuiWorkbenchPrefillPromptPayload, AgentGuiWorkbenchProvider, AgentGuiWorkbenchState, AgentGuiWorkbenchWorkspaceState, agentGuiWorkbenchOpenSessionActivationType, agentGuiWorkbenchPrefillPromptActivationType } from './types.js';
|
|
10
11
|
import '@tutti-os/agent-activity-core';
|
|
@@ -43,6 +44,7 @@ interface AgentGuiWorkbenchHeaderProps extends HTMLAttributes<HTMLElement> {
|
|
|
43
44
|
providerRailWidthPx?: number | null;
|
|
44
45
|
primaryAccessory?: ReactNode;
|
|
45
46
|
secondaryAccessory?: ReactNode;
|
|
47
|
+
toolSidebar?: AgentToolSidebarHeaderLayout | null;
|
|
46
48
|
sessionMenuAdditionalActions?: readonly AgentGuiWorkbenchSessionMenuAdditionalAction[];
|
|
47
49
|
sessionMenuActions?: readonly AgentGuiWorkbenchSessionAction[];
|
|
48
50
|
conversationTitle?: string | null;
|
|
@@ -58,6 +60,6 @@ interface AgentGuiWorkbenchHeaderProps extends HTMLAttributes<HTMLElement> {
|
|
|
58
60
|
title?: string;
|
|
59
61
|
windowActions?: Pick<WorkbenchHostNodeHeaderWindowActions, "close" | "minimize" | "toggleDisplayMode">;
|
|
60
62
|
}
|
|
61
|
-
declare function AgentGuiWorkbenchHeader({ className, copy, agentTitle, defaultActions: _defaultActions, displayMode, isConversationRailAutoCollapsed, isConversationRailCollapsed, conversationRailWidthPx, conversationIconUrl, conversationIconFallbackUrl, hasConversation, providerRailWidthPx, primaryAccessory, secondaryAccessory, sessionMenuAdditionalActions, sessionMenuActions, conversationTitle, conversationTitleDisplayPrompt, nodeId, onCreateConversation, onOpenDetachedWindow, onSessionAction, onToggleConversationRail, showAppTitle, showConversationRailToggle, showWindowControls, title: _title, windowActions, ...headerProps }: AgentGuiWorkbenchHeaderProps): ReactNode;
|
|
63
|
+
declare function AgentGuiWorkbenchHeader({ className, copy, agentTitle, defaultActions: _defaultActions, displayMode, isConversationRailAutoCollapsed, isConversationRailCollapsed, conversationRailWidthPx, conversationIconUrl, conversationIconFallbackUrl, hasConversation, providerRailWidthPx, primaryAccessory, secondaryAccessory, toolSidebar, sessionMenuAdditionalActions, sessionMenuActions, conversationTitle, conversationTitleDisplayPrompt, nodeId, onCreateConversation, onOpenDetachedWindow, onSessionAction, onToggleConversationRail, showAppTitle, showConversationRailToggle, showWindowControls, title: _title, windowActions, ...headerProps }: AgentGuiWorkbenchHeaderProps): ReactNode;
|
|
62
64
|
|
|
63
65
|
export { AgentGuiWorkbenchHeader, type AgentGuiWorkbenchHeaderCopy, type AgentGuiWorkbenchHeaderProps, AgentGuiWorkbenchSessionAction, type AgentGuiWorkbenchSessionMenuAdditionalAction, AgentGuiWorkbenchSessionMenuCopy };
|
package/dist/workbench/index.js
CHANGED
|
@@ -13,11 +13,11 @@ import {
|
|
|
13
13
|
resolveAgentGuiUnifiedDockLaunchPayload,
|
|
14
14
|
resolveAgentGuiWorkbenchContributionCopy,
|
|
15
15
|
resolveAgentGuiWorkbenchConversationIdentity
|
|
16
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-7V5XYXKB.js";
|
|
17
17
|
import {
|
|
18
18
|
resolveAgentGuiWorkbenchHeaderTitle,
|
|
19
19
|
resolveAgentGuiWorkbenchSessionTitle
|
|
20
|
-
} from "../chunk-
|
|
20
|
+
} from "../chunk-2QF3RBR4.js";
|
|
21
21
|
import {
|
|
22
22
|
areAgentGuiWorkbenchNodeStatesEqual,
|
|
23
23
|
areAgentGuiWorkbenchStatesEqual,
|
|
@@ -38,11 +38,7 @@ import {
|
|
|
38
38
|
createAgentGuiWorkbenchLaunchDescriptor,
|
|
39
39
|
createAgentGuiWorkbenchSessionLaunchRequest,
|
|
40
40
|
resolveAgentGuiWorkbenchLaunchDockEntryId
|
|
41
|
-
} from "../chunk-
|
|
42
|
-
import {
|
|
43
|
-
agentGuiWorkbenchOpenSessionActivationType,
|
|
44
|
-
agentGuiWorkbenchPrefillPromptActivationType
|
|
45
|
-
} from "../chunk-CBMWHQ7P.js";
|
|
41
|
+
} from "../chunk-SUVMLCED.js";
|
|
46
42
|
import {
|
|
47
43
|
agentGuiWorkbenchComingSoonProviders,
|
|
48
44
|
agentGuiWorkbenchDefaultDockProviders,
|
|
@@ -56,13 +52,18 @@ import {
|
|
|
56
52
|
normalizeAgentGuiWorkbenchProvider,
|
|
57
53
|
resolveAgentGuiWorkbenchProviderLabel
|
|
58
54
|
} from "../chunk-MGSRWYRN.js";
|
|
59
|
-
import
|
|
60
|
-
|
|
55
|
+
import {
|
|
56
|
+
agentGuiWorkbenchOpenSessionActivationType,
|
|
57
|
+
agentGuiWorkbenchPrefillPromptActivationType
|
|
58
|
+
} from "../chunk-CBMWHQ7P.js";
|
|
61
59
|
import "../chunk-EVQ4JY3N.js";
|
|
60
|
+
import "../chunk-3MVSOLX3.js";
|
|
61
|
+
import "../chunk-PPA2OB2H.js";
|
|
62
|
+
import "../chunk-6GX57XB5.js";
|
|
62
63
|
import "../chunk-AFUVWWQY.js";
|
|
63
|
-
import "../chunk-P2RIZAK5.js";
|
|
64
64
|
import "../chunk-MIJXEELH.js";
|
|
65
|
-
import "../chunk-
|
|
65
|
+
import "../chunk-ZXEICU6J.js";
|
|
66
|
+
import "../chunk-SEHJINGH.js";
|
|
66
67
|
import "../chunk-O433KXLK.js";
|
|
67
68
|
export {
|
|
68
69
|
AGENT_GUI_WORKBENCH_CONVERSATION_RAIL_TOGGLE_EVENT,
|
package/dist/workbench/launch.js
CHANGED
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
createAgentGuiWorkbenchLaunchDescriptor,
|
|
10
10
|
createAgentGuiWorkbenchSessionLaunchRequest,
|
|
11
11
|
resolveAgentGuiWorkbenchLaunchDockEntryId
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-SUVMLCED.js";
|
|
13
|
+
import "../chunk-MGSRWYRN.js";
|
|
13
14
|
import {
|
|
14
15
|
agentGuiWorkbenchPrefillPromptActivationType
|
|
15
16
|
} from "../chunk-CBMWHQ7P.js";
|
|
16
|
-
import "../chunk-MGSRWYRN.js";
|
|
17
17
|
import "../chunk-O433KXLK.js";
|
|
18
18
|
export {
|
|
19
19
|
agentGuiWorkbenchDockEntryId,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveAgentGuiWorkbenchHeaderTitle,
|
|
3
3
|
resolveAgentGuiWorkbenchSessionTitle
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-P2RIZAK5.js";
|
|
4
|
+
} from "../chunk-2QF3RBR4.js";
|
|
6
5
|
import "../chunk-MIJXEELH.js";
|
|
6
|
+
import "../chunk-ZXEICU6J.js";
|
|
7
7
|
import "../chunk-O433KXLK.js";
|
|
8
8
|
export {
|
|
9
9
|
resolveAgentGuiWorkbenchHeaderTitle,
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { A as AgentToolSidebarHeaderContract } from '../../headerLayout-CP4ujEbo.js';
|
|
2
|
+
export { a as AgentToolSidebarHeaderLayout } from '../../headerLayout-CP4ujEbo.js';
|
|
1
3
|
import * as react from 'react';
|
|
2
|
-
import { ReactNode
|
|
4
|
+
import { ReactNode } from 'react';
|
|
3
5
|
import { BrowserNodeAutomationTargetMetadata, BrowserNodeHostApi, BrowserNodeChromeImportPromptAdapter, BrowserNodeSessionMode, BrowserNodeFeature } from '@tutti-os/browser-node';
|
|
4
6
|
import { I18nRuntime } from '@tutti-os/ui-i18n-runtime';
|
|
5
7
|
import { IconProps } from '@tutti-os/ui-system';
|
|
@@ -96,6 +98,11 @@ declare function shouldResizeAgentToolContainer(input: {
|
|
|
96
98
|
} | null;
|
|
97
99
|
requestedWidth: number;
|
|
98
100
|
}): boolean;
|
|
101
|
+
declare function shouldAutoCollapseAgentToolSidebar(input: {
|
|
102
|
+
containerWidth: number;
|
|
103
|
+
mainContentMinWidth: number;
|
|
104
|
+
sidebarWidth: number;
|
|
105
|
+
}): boolean;
|
|
99
106
|
declare function formatAgentToolReminderCount(value: number | null | undefined): string | null;
|
|
100
107
|
|
|
101
108
|
declare const agentToolBrowserDefaultUrl = "https://www.google.com/";
|
|
@@ -143,7 +150,7 @@ type AgentToolSidebarReminderCounts = Partial<Record<AgentToolPanelId, number>>;
|
|
|
143
150
|
declare function AgentToolPanelIcon({ panel, ...iconProps }: IconProps & {
|
|
144
151
|
panel: AgentToolPanelId;
|
|
145
152
|
}): ReactNode;
|
|
146
|
-
declare function AgentToolSidebarToolbar({ activePanel, copy, isExpanded, isOpen, panels, quickActionPanels, reminders, onAddPanel, onOpenPanel, onToggleExpansion, onToggleSidebar }: {
|
|
153
|
+
declare function AgentToolSidebarToolbar({ activePanel, copy, isExpanded, isOpen, panels, quickActionPanels, reminders, showToggleButton, onAddPanel, onOpenPanel, onToggleExpansion, onToggleSidebar }: {
|
|
147
154
|
activePanel: AgentToolPanelId | null;
|
|
148
155
|
copy: AgentToolSidebarCopy;
|
|
149
156
|
isExpanded: boolean;
|
|
@@ -151,6 +158,7 @@ declare function AgentToolSidebarToolbar({ activePanel, copy, isExpanded, isOpen
|
|
|
151
158
|
panels: readonly AgentToolPanelDefinition[];
|
|
152
159
|
quickActionPanels?: readonly AgentToolPanelId[];
|
|
153
160
|
reminders?: AgentToolSidebarReminderCounts;
|
|
161
|
+
showToggleButton?: boolean;
|
|
154
162
|
onAddPanel: (panel: AgentToolPanelId) => void;
|
|
155
163
|
onOpenPanel: (panel: AgentToolPanelId) => void;
|
|
156
164
|
onToggleExpansion: () => void;
|
|
@@ -160,28 +168,20 @@ declare function AgentToolSidebarToolbar({ activePanel, copy, isExpanded, isOpen
|
|
|
160
168
|
interface AgentToolSidebarHandle {
|
|
161
169
|
addPanel(panel: AgentToolPanelId, resourceId?: string): string | null;
|
|
162
170
|
close(): void;
|
|
171
|
+
collapseForContainerConstraint(): void;
|
|
163
172
|
closeTab(tabId: string): void;
|
|
164
173
|
ensurePanel(panel: AgentToolPanelId, resourceId?: string): string | null;
|
|
165
174
|
openPanel(panel: AgentToolPanelId, resourceId?: string): string | null;
|
|
166
175
|
}
|
|
167
|
-
type AgentToolSidebarHeaderDrag = {
|
|
168
|
-
mode?: "native-window";
|
|
169
|
-
} | {
|
|
170
|
-
mode: "host";
|
|
171
|
-
onDoubleClick?: MouseEventHandler<HTMLDivElement>;
|
|
172
|
-
onPointerDown?: PointerEventHandler<HTMLDivElement>;
|
|
173
|
-
};
|
|
174
176
|
interface AgentToolSidebarProps {
|
|
175
177
|
children: ReactNode;
|
|
176
178
|
containerWidth: number;
|
|
177
179
|
copy: AgentToolSidebarCopy;
|
|
178
|
-
|
|
179
|
-
headerPlacement?: "inline" | "external" | "panel";
|
|
180
|
+
header: AgentToolSidebarHeaderContract;
|
|
180
181
|
mainContentMinWidthPx?: number;
|
|
181
182
|
panels: readonly AgentToolPanelDefinition[];
|
|
182
183
|
quickActionPanels?: readonly AgentToolPanelId[];
|
|
183
184
|
reminders?: AgentToolSidebarReminderCounts;
|
|
184
|
-
renderHeader: (toolActions: ReactNode) => ReactNode;
|
|
185
185
|
renderLoading?: (tab: AgentToolTab) => ReactNode;
|
|
186
186
|
renderPanel: (input: {
|
|
187
187
|
active: boolean;
|
|
@@ -190,6 +190,7 @@ interface AgentToolSidebarProps {
|
|
|
190
190
|
}) => ReactNode;
|
|
191
191
|
renderTabIcon?: (tab: AgentToolTab) => ReactNode;
|
|
192
192
|
resolveTabLabel?: (tab: AgentToolTab, defaultLabel: string) => string;
|
|
193
|
+
showToggleButton?: boolean;
|
|
193
194
|
resizeContainerContentWidth(width: number, animate?: boolean): Promise<{
|
|
194
195
|
width: number;
|
|
195
196
|
}>;
|
|
@@ -206,4 +207,4 @@ declare function AgentToolSidebarPicker({ panels, onSelect }: {
|
|
|
206
207
|
onSelect: (panel: AgentToolPanelId) => void;
|
|
207
208
|
}): ReactNode;
|
|
208
209
|
|
|
209
|
-
export { type AgentToolBrowserController, AgentToolBrowserPanel, type AgentToolBrowserPanelProps, type AgentToolPanelDefinition, AgentToolPanelIcon, type AgentToolPanelId, AgentToolSidebar, type AgentToolSidebarAction, type AgentToolSidebarCopy, type AgentToolSidebarHandle,
|
|
210
|
+
export { type AgentToolBrowserController, AgentToolBrowserPanel, type AgentToolBrowserPanelProps, type AgentToolPanelDefinition, AgentToolPanelIcon, type AgentToolPanelId, AgentToolSidebar, type AgentToolSidebarAction, type AgentToolSidebarCopy, type AgentToolSidebarHandle, AgentToolSidebarHeaderContract, AgentToolSidebarPicker, type AgentToolSidebarProps, type AgentToolSidebarReminderCounts, type AgentToolSidebarState, AgentToolSidebarToolbar, type AgentToolTab, agentToolBrowserDefaultUrl, agentToolEmptySidebarWidth, agentToolMainMinWidth, agentToolPanelDefaultWidthById, agentToolPanelIds, agentToolPanelMaxWidthById, agentToolPanelMinWidthById, clampAgentToolPanelWidth, createAgentToolBrowserFeature, createAgentToolSidebarState, filterAgentToolPanels, formatAgentToolReminderCount, isAgentToolPanelId, reduceAgentToolSidebarState, resolveAgentToolPanelExpansionReset, resolveAgentToolPanelExpansionTransfer, resolveAgentToolPanelMaxWidth, resolveAgentToolPanelPreferredWidth, resolveAgentToolSidebarLayoutWidth, resolveAgentToolSidebarWidth, shouldAutoCollapseAgentToolSidebar, shouldResizeAgentToolContainer };
|