@tutti-os/agent-gui 0.0.215 → 0.0.217
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 +9 -5
- package/dist/{agentFileMentionContracts-BeBex-Sf.d.ts → AgentMentionSearchContracts-y1_u9cPi.d.ts} +73 -1
- package/dist/{AgentRichTextReadonly-56TZAJ47.js → AgentRichTextReadonly-WZHUIARR.js} +7 -7
- package/dist/agent-conversation/index.d.ts +0 -2
- package/dist/agent-conversation/index.js +9 -9
- package/dist/agent-gui.d.ts +14 -8
- package/dist/agent-gui.js +23 -22
- package/dist/agent-message-center/index.d.ts +1 -2
- package/dist/agent-message-center/index.js +6 -6
- package/dist/app/renderer/agentactivity.css +93 -93
- package/dist/{chunk-KVFBUOKZ.js → chunk-2QF3RBR4.js} +4 -4
- package/dist/{chunk-XERDRMSF.js → chunk-44OCOBJS.js} +9 -11
- package/dist/chunk-44OCOBJS.js.map +1 -0
- package/dist/chunk-6GX57XB5.js +135 -0
- package/dist/chunk-6GX57XB5.js.map +1 -0
- package/dist/{chunk-AQ7CRDGX.js → chunk-FS7EMOVD.js} +8 -14
- package/dist/chunk-FS7EMOVD.js.map +1 -0
- package/dist/{chunk-ISC67YBJ.js → chunk-G2KRK7Z5.js} +44 -18
- package/dist/chunk-G2KRK7Z5.js.map +1 -0
- package/dist/{chunk-YTU6IUO2.js → chunk-GDLM6FLK.js} +123 -184
- package/dist/chunk-GDLM6FLK.js.map +1 -0
- package/dist/{chunk-BYHNJQYH.js → chunk-GLVENTN6.js} +2 -2
- package/dist/{chunk-2HYADTQP.js → chunk-JQOQETPN.js} +5 -5
- package/dist/{chunk-YBIT37P5.js → chunk-M6WEFXPL.js} +2 -2
- package/dist/{chunk-AD2RTSMS.js → chunk-N2M4B3G3.js} +2 -2
- package/dist/{chunk-MWAUXAD2.js → chunk-NXQGAXIE.js} +8 -8
- package/dist/{chunk-GUD5NOHO.js → chunk-O4QFGCLU.js} +44 -189
- package/dist/chunk-O4QFGCLU.js.map +1 -0
- package/dist/{chunk-KNSLQO52.js → chunk-PPAV2TB4.js} +7 -13
- package/dist/chunk-PPAV2TB4.js.map +1 -0
- package/dist/{chunk-4CHBM3G3.js → chunk-SUVMLCED.js} +5 -5
- package/dist/{chunk-JOUEYIV3.js → chunk-TKECUCUW.js} +863 -946
- package/dist/chunk-TKECUCUW.js.map +1 -0
- package/dist/{chunk-QVLEP54U.js → chunk-ZXEICU6J.js} +5 -3
- 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 +12 -12
- package/dist/{contribution-DfeuQHH6.d.ts → contribution-D4lcOjSU.d.ts} +2 -14
- package/dist/headerLayout-CP4ujEbo.d.ts +14 -0
- package/dist/i18n/index.d.ts +4 -2
- package/dist/i18n/index.js +2 -2
- package/dist/index.d.ts +77 -53
- package/dist/index.js +46 -39
- 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 +8 -8
- package/dist/workbench/browser-element-context/index.js +2 -2
- package/dist/workbench/contribution.d.ts +1 -1
- package/dist/workbench/contribution.js +7 -8
- package/dist/workbench/index.d.ts +5 -3
- package/dist/workbench/index.js +10 -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 +23 -16
- package/dist/chunk-AQ7CRDGX.js.map +0 -1
- package/dist/chunk-GUD5NOHO.js.map +0 -1
- package/dist/chunk-ISC67YBJ.js.map +0 -1
- package/dist/chunk-JOUEYIV3.js.map +0 -1
- package/dist/chunk-KNSLQO52.js.map +0 -1
- package/dist/chunk-QVLEP54U.js.map +0 -1
- package/dist/chunk-XERDRMSF.js.map +0 -1
- package/dist/chunk-YTU6IUO2.js.map +0 -1
- /package/dist/{AgentRichTextReadonly-56TZAJ47.js.map → AgentRichTextReadonly-WZHUIARR.js.map} +0 -0
- /package/dist/{chunk-KVFBUOKZ.js.map → chunk-2QF3RBR4.js.map} +0 -0
- /package/dist/{chunk-BYHNJQYH.js.map → chunk-GLVENTN6.js.map} +0 -0
- /package/dist/{chunk-2HYADTQP.js.map → chunk-JQOQETPN.js.map} +0 -0
- /package/dist/{chunk-YBIT37P5.js.map → chunk-M6WEFXPL.js.map} +0 -0
- /package/dist/{chunk-AD2RTSMS.js.map → chunk-N2M4B3G3.js.map} +0 -0
- /package/dist/{chunk-MWAUXAD2.js.map → chunk-NXQGAXIE.js.map} +0 -0
- /package/dist/{chunk-4CHBM3G3.js.map → chunk-SUVMLCED.js.map} +0 -0
package/README.md
CHANGED
|
@@ -144,6 +144,12 @@ package renders fixed-size circular loading slots. In the `ready` state, each
|
|
|
144
144
|
participant requires a non-empty `name`; `avatarUrl` is optional and the shared
|
|
145
145
|
UI System `Avatar` falls back to the name's initial.
|
|
146
146
|
|
|
147
|
+
Participant headers are turn-scoped. Agent GUI renders at most one header for
|
|
148
|
+
each speaker in a presentation turn, even when thinking, tool progress, or
|
|
149
|
+
turn-work disclosure splits that turn into multiple message rows. A completed
|
|
150
|
+
collapsed turn anchors the Agent header to visible reply content instead of the
|
|
151
|
+
hidden work section.
|
|
152
|
+
|
|
147
153
|
The host owns identity lookup and lifecycle. Agent GUI owns placement, sizing,
|
|
148
154
|
loading treatment, image fallback, and left/right message alignment. The
|
|
149
155
|
contract is presentation-only and must not be copied into canonical Session,
|
|
@@ -188,11 +194,9 @@ pnpm check:agent-activity-runtime-boundaries
|
|
|
188
194
|
`hostCapabilities`, `hostActions`, and `renderSlots`. Extend the owning object;
|
|
189
195
|
do not restore flat compatibility props.
|
|
190
196
|
|
|
191
|
-
Workbench hosts
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
revision, and render-context construction; hosts continue to own their Agent
|
|
195
|
-
directory, product-specific Dock grouping, and preview body renderer.
|
|
197
|
+
Workbench hosts capture Dock and minimize previews from the mounted AgentGUI
|
|
198
|
+
node. AgentGUI does not expose a second-tree preview renderer or preview-mode
|
|
199
|
+
contract.
|
|
196
200
|
|
|
197
201
|
## Reference Provenance Filtering
|
|
198
202
|
|
package/dist/{agentFileMentionContracts-BeBex-Sf.d.ts → AgentMentionSearchContracts-y1_u9cPi.d.ts}
RENAMED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
import { AgentContextMentionProvider } from './context-mention-provider.js';
|
|
2
|
+
import { MentionPaletteGroup, MentionPaletteState } from '@tutti-os/ui-rich-text/at-panel';
|
|
3
|
+
|
|
4
|
+
type RuntimeDiagnosticsDetailValue = string | number | boolean | null;
|
|
5
|
+
|
|
1
6
|
type AgentFileMentionKind = "file" | "directory" | "unknown";
|
|
2
7
|
type AgentMentionFileNavigationAction = "agent-generated-folder" | "agent-generated-folder-back" | "workspace-folder" | "workspace-folder-back";
|
|
3
8
|
type AgentMentionScope = "my_sessions" | "collab_sessions";
|
|
@@ -118,4 +123,71 @@ interface AgentMentionCustomItem {
|
|
|
118
123
|
}
|
|
119
124
|
type AgentContextMentionItem = AgentMentionFileItem | AgentMentionAgentTargetItem | AgentMentionSessionItem | AgentMentionWorkspaceAppItem | AgentMentionWorkspaceReferenceItem | AgentMentionWorkspaceAppFactoryItem | AgentMentionWorkspaceIssueItem | AgentMentionCustomItem;
|
|
120
125
|
|
|
121
|
-
|
|
126
|
+
type AgentMentionProviderDiagnosticStatus = "success" | "timeout" | "error" | "missing";
|
|
127
|
+
interface AgentMentionProviderQueryDiagnostic {
|
|
128
|
+
durationMs: number;
|
|
129
|
+
errorKind?: string;
|
|
130
|
+
providerId: string;
|
|
131
|
+
resultCount: number;
|
|
132
|
+
status: AgentMentionProviderDiagnosticStatus;
|
|
133
|
+
}
|
|
134
|
+
interface AgentMentionSearchDiagnosticLog {
|
|
135
|
+
debounceMs: number;
|
|
136
|
+
durationMs: number;
|
|
137
|
+
errorKind?: string;
|
|
138
|
+
event: "agent_gui.mention_search";
|
|
139
|
+
filter: AgentMentionFilterId;
|
|
140
|
+
groupCount: number;
|
|
141
|
+
itemCount: number;
|
|
142
|
+
mode: "browse" | "results";
|
|
143
|
+
providerResults: AgentMentionProviderQueryDiagnostic[];
|
|
144
|
+
providerTimeoutMs: number;
|
|
145
|
+
queryLength: number;
|
|
146
|
+
requestId: number;
|
|
147
|
+
status: "ready" | "error";
|
|
148
|
+
workspaceId: string;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
type AgentMentionFilterId = "session" | "file" | "issue" | "agent" | "app";
|
|
152
|
+
type AgentMentionStaticGroupId = "apps" | "agents" | "files" | "opened_files" | "agent_generated_files" | "my_sessions" | "collab_sessions" | "issues";
|
|
153
|
+
type AgentMentionIssueTopicGroupId = `issue-topic:${string}`;
|
|
154
|
+
type AgentMentionProvenanceGroupId = `agent:${string}`;
|
|
155
|
+
type AgentMentionMemberGroupId = `member:${string}`;
|
|
156
|
+
type AgentMentionGroupId = AgentMentionStaticGroupId | AgentMentionIssueTopicGroupId | AgentMentionProvenanceGroupId | AgentMentionMemberGroupId;
|
|
157
|
+
type AgentMentionRawGroupId = Exclude<AgentMentionStaticGroupId, "files" | "my_sessions" | "collab_sessions"> | "sessions";
|
|
158
|
+
type AgentMentionRawGroups = Record<AgentMentionRawGroupId, AgentContextMentionItem[]>;
|
|
159
|
+
type AgentMentionTotalCounts = Partial<Record<AgentMentionGroupId, number>>;
|
|
160
|
+
interface AgentMentionIssueTopicGroup {
|
|
161
|
+
id: `issue-topic:${string}`;
|
|
162
|
+
providerGroupId: string;
|
|
163
|
+
label: string;
|
|
164
|
+
items: AgentContextMentionItem[];
|
|
165
|
+
totalCount: number;
|
|
166
|
+
nextPageToken: string | null;
|
|
167
|
+
loadMoreStatus: "idle" | "loading" | "error";
|
|
168
|
+
loadMoreError: string | null;
|
|
169
|
+
}
|
|
170
|
+
interface AgentMentionBrowseCategory {
|
|
171
|
+
id: AgentMentionFilterId;
|
|
172
|
+
label: string;
|
|
173
|
+
}
|
|
174
|
+
type AgentMentionGroup = MentionPaletteGroup<AgentContextMentionItem>;
|
|
175
|
+
type AgentMentionSearchState = MentionPaletteState<AgentContextMentionItem>;
|
|
176
|
+
interface AgentMentionSearchControllerOptions {
|
|
177
|
+
contextMentionProviders?: readonly AgentContextMentionProvider[];
|
|
178
|
+
debounceMs?: number;
|
|
179
|
+
fileLimit?: number;
|
|
180
|
+
issueLimit?: number;
|
|
181
|
+
browseCacheTtlMs?: number;
|
|
182
|
+
providerTimeoutMs?: number;
|
|
183
|
+
diagnosticInfoLogger?: (payload: AgentMentionSearchDiagnosticLog) => void;
|
|
184
|
+
diagnosticNow?: () => number;
|
|
185
|
+
diagnosticSlowThresholdMs?: number;
|
|
186
|
+
}
|
|
187
|
+
type AgentMentionSearchListener = (state: AgentMentionSearchState) => void;
|
|
188
|
+
interface AgentMentionLifecycleDiagnosticLog {
|
|
189
|
+
event: "browse.open" | "browse.preload" | "browse.cache" | "browse.fetch.start" | "browse.fetch.dedupe" | "browse.fetch.success" | "browse.fetch.error" | "browse.apply.skipped";
|
|
190
|
+
details: Record<string, RuntimeDiagnosticsDetailValue>;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
export type { AgentContextMentionItem as A, RuntimeDiagnosticsDetailValue as R, AgentMentionBrowseCategory as a, AgentMentionFilterId as b, AgentMentionGroup as c, AgentMentionGroupId as d, AgentMentionIssueTopicGroup as e, AgentMentionLifecycleDiagnosticLog as f, AgentMentionProviderQueryDiagnostic as g, AgentMentionRawGroups as h, AgentMentionSearchControllerOptions as i, AgentMentionSearchDiagnosticLog as j, AgentMentionSearchListener as k, AgentMentionSearchState as l, AgentMentionTotalCounts as m };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentRichTextReadonly
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-2HYADTQP.js";
|
|
5
|
-
import "./chunk-3V5OCA2M.js";
|
|
6
|
-
import "./chunk-FGLQZ6I4.js";
|
|
3
|
+
} from "./chunk-NXQGAXIE.js";
|
|
7
4
|
import "./chunk-LQMIEH4C.js";
|
|
5
|
+
import "./chunk-JQOQETPN.js";
|
|
6
|
+
import "./chunk-3V5OCA2M.js";
|
|
8
7
|
import "./chunk-M6HTOCQK.js";
|
|
9
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-GLVENTN6.js";
|
|
10
9
|
import "./chunk-5BJYO6X3.js";
|
|
11
10
|
import "./chunk-AFUVWWQY.js";
|
|
12
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-ZXEICU6J.js";
|
|
12
|
+
import "./chunk-FGLQZ6I4.js";
|
|
13
13
|
import "./chunk-D2JUDUYY.js";
|
|
14
14
|
import "./chunk-QNE2ZPPV.js";
|
|
15
15
|
import "./chunk-O433KXLK.js";
|
|
16
16
|
export {
|
|
17
17
|
AgentRichTextReadonly
|
|
18
18
|
};
|
|
19
|
-
//# sourceMappingURL=AgentRichTextReadonly-
|
|
19
|
+
//# sourceMappingURL=AgentRichTextReadonly-WZHUIARR.js.map
|
|
@@ -41,7 +41,6 @@ interface AgentTranscriptViewProps {
|
|
|
41
41
|
onAuthLogin?: (provider?: string | null) => void;
|
|
42
42
|
availableSkills?: readonly AgentGUIProviderSkillOption[];
|
|
43
43
|
workspaceAppIcons?: readonly AgentMessageMarkdownWorkspaceAppIcon[];
|
|
44
|
-
previewMode?: boolean;
|
|
45
44
|
showRawTimelineJson?: boolean;
|
|
46
45
|
participantPresentation?: AgentConversationParticipantPresentation;
|
|
47
46
|
labels: {
|
|
@@ -68,7 +67,6 @@ interface AgentConversationFlowProps {
|
|
|
68
67
|
onAuthLogin?: (provider?: string | null) => void;
|
|
69
68
|
availableSkills?: readonly AgentGUIProviderSkillOption[];
|
|
70
69
|
workspaceAppIcons?: readonly AgentMessageMarkdownWorkspaceAppIcon[];
|
|
71
|
-
previewMode?: boolean;
|
|
72
70
|
showRawTimelineJson?: boolean;
|
|
73
71
|
participantPresentation?: AgentConversationParticipantPresentation;
|
|
74
72
|
labels: {
|
|
@@ -7,26 +7,26 @@ import {
|
|
|
7
7
|
reconcileProjectedAgentConversationVM,
|
|
8
8
|
serializeAgentConversationForClipboard,
|
|
9
9
|
useProjectedAgentConversation
|
|
10
|
-
} from "../chunk-
|
|
11
|
-
import "../chunk-
|
|
10
|
+
} from "../chunk-GDLM6FLK.js";
|
|
11
|
+
import "../chunk-NXQGAXIE.js";
|
|
12
|
+
import "../chunk-PPAV2TB4.js";
|
|
13
|
+
import "../chunk-LQMIEH4C.js";
|
|
12
14
|
import "../chunk-N4HLBSMJ.js";
|
|
13
15
|
import "../chunk-XJ34OIEQ.js";
|
|
14
|
-
import "../chunk-
|
|
16
|
+
import "../chunk-JQOQETPN.js";
|
|
15
17
|
import "../chunk-JDVP33S5.js";
|
|
16
18
|
import "../chunk-3V5OCA2M.js";
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-KNSLQO52.js";
|
|
19
|
-
import "../chunk-LQMIEH4C.js";
|
|
20
|
-
import "../chunk-YBIT37P5.js";
|
|
19
|
+
import "../chunk-M6WEFXPL.js";
|
|
21
20
|
import "../chunk-M6HTOCQK.js";
|
|
22
21
|
import "../chunk-F5UR6EJG.js";
|
|
23
22
|
import {
|
|
24
23
|
translate
|
|
25
|
-
} from "../chunk-
|
|
24
|
+
} from "../chunk-GLVENTN6.js";
|
|
26
25
|
import "../chunk-5BJYO6X3.js";
|
|
27
26
|
import "../chunk-AFUVWWQY.js";
|
|
28
|
-
import "../chunk-QVLEP54U.js";
|
|
29
27
|
import "../chunk-MIJXEELH.js";
|
|
28
|
+
import "../chunk-ZXEICU6J.js";
|
|
29
|
+
import "../chunk-FGLQZ6I4.js";
|
|
30
30
|
import "../chunk-D2JUDUYY.js";
|
|
31
31
|
import "../chunk-QNE2ZPPV.js";
|
|
32
32
|
import "../chunk-O433KXLK.js";
|
package/dist/agent-gui.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { l as AgentHostAgentSessionComposerSettings, p as AgentHostUnactivateAge
|
|
|
6
6
|
import { A as AgentComposerDraft, i as AgentSessionCommand, d as AgentGUIProviderSkillOption, b as AgentGUIComposerSettingsVM, e as AgentGUIQueueStatus, f as AgentGUIQueuedPromptVM, h as AgentMessageMarkdownWorkspaceAppIcon, j as AgentSlashCommandCapability, c as AgentGUINodeViewModel, a as AgentComposerDraftFile, k as AgentUsageQuota, g as AgentHostInputApi } from './agentGuiNodeTypes-DW7T--Y8.js';
|
|
7
7
|
import { WorkspaceFileReference, ReferenceLocateTarget, WorkspaceFileReferenceAdapter, ReferenceProvenanceCatalog } from '@tutti-os/workspace-file-reference/contracts';
|
|
8
8
|
export { ReferenceProvenanceCatalog as AgentGUIReferenceProvenanceFilterCatalog } from '@tutti-os/workspace-file-reference/contracts';
|
|
9
|
-
import { A as AgentContextMentionItem } from './
|
|
9
|
+
import { A as AgentContextMentionItem, b as AgentMentionFilterId } from './AgentMentionSearchContracts-y1_u9cPi.js';
|
|
10
10
|
import { A as AgentGuiI18nLocale } from './runtime-Dwf44VKc.js';
|
|
11
11
|
import { WorkspaceFileEntry } from '@tutti-os/workspace-file-manager/services';
|
|
12
12
|
import { ReferenceSourceAggregator } from '@tutti-os/workspace-file-reference/core';
|
|
@@ -18,6 +18,10 @@ import { WorkspaceUserProject } from '@tutti-os/workspace-user-project/contracts
|
|
|
18
18
|
import { ReferenceProvenanceFilterSnapshot, ReferenceProvenanceFilterController } from '@tutti-os/workspace-file-reference/react';
|
|
19
19
|
import { RichTextMentionService } from '@tutti-os/ui-rich-text/service';
|
|
20
20
|
import './planImplementationPresentation-BxVOLt6A.js';
|
|
21
|
+
import './context-mention-provider.js';
|
|
22
|
+
import '@tutti-os/ui-rich-text/types';
|
|
23
|
+
import '@tutti-os/workspace-external-core/contracts';
|
|
24
|
+
import '@tutti-os/ui-rich-text/at-panel';
|
|
21
25
|
import '@tutti-os/workspace-issue-manager/core';
|
|
22
26
|
|
|
23
27
|
declare const APP_UPDATE_POLICIES: readonly ["off", "prompt", "auto"];
|
|
@@ -612,6 +616,9 @@ interface AgentComposerReferenceProvenanceFilter {
|
|
|
612
616
|
snapshot: ReferenceProvenanceFilterSnapshot;
|
|
613
617
|
controller: Pick<ReferenceProvenanceFilterController, "reset" | "toggle" | "toggleAll">;
|
|
614
618
|
}
|
|
619
|
+
interface AgentComposerReferenceProvenanceFilters {
|
|
620
|
+
byFilter: Record<AgentMentionFilterId, AgentComposerReferenceProvenanceFilter>;
|
|
621
|
+
}
|
|
615
622
|
interface AgentComposerSubmitOptions {
|
|
616
623
|
requiredSettingsPatch?: AgentActivitySubmitSettingsPatch;
|
|
617
624
|
capabilityRefs?: readonly AgentComposerCapabilityReference[];
|
|
@@ -682,7 +689,6 @@ interface AgentComposerProps {
|
|
|
682
689
|
projectMissingProbeEnabled?: boolean;
|
|
683
690
|
uiLanguage?: UiLanguage;
|
|
684
691
|
isActive?: boolean;
|
|
685
|
-
previewMode?: boolean;
|
|
686
692
|
workspaceReferencePickerOpen?: boolean;
|
|
687
693
|
promptImagesSupported?: boolean;
|
|
688
694
|
canGoalControl?: boolean;
|
|
@@ -957,7 +963,7 @@ interface AgentComposerProps {
|
|
|
957
963
|
path: string;
|
|
958
964
|
} | null>;
|
|
959
965
|
onRequestGitBranches?: AgentComposerGitBranchLoader | null;
|
|
960
|
-
|
|
966
|
+
referenceProvenanceFilters?: AgentComposerReferenceProvenanceFilters | null;
|
|
961
967
|
}
|
|
962
968
|
type AgentComposerCapabilitySettingsTarget = Exclude<AgentSlashCommandCapability["capability"], "tutti">;
|
|
963
969
|
interface AgentComposerCapabilityMenuState {
|
|
@@ -1450,13 +1456,12 @@ interface AgentGUINodeFrameLayout {
|
|
|
1450
1456
|
/** Host-projected presentation visibility. Independent from node focus. */
|
|
1451
1457
|
isVisible?: boolean;
|
|
1452
1458
|
embedded?: boolean;
|
|
1453
|
-
previewMode?: boolean;
|
|
1454
1459
|
/**
|
|
1455
|
-
*
|
|
1456
|
-
*
|
|
1457
|
-
*
|
|
1460
|
+
* Standalone windows preserve the middle conversation width and collapse
|
|
1461
|
+
* the conversation Rail before it can be compressed. Other surfaces retain
|
|
1462
|
+
* the default responsive policy.
|
|
1458
1463
|
*/
|
|
1459
|
-
|
|
1464
|
+
conversationRailAutoCollapseMode?: "preserve-middle-content";
|
|
1460
1465
|
}
|
|
1461
1466
|
type AgentGUISessionActionRequest = AgentGuiWorkbenchSessionActionRequest;
|
|
1462
1467
|
interface AgentGUINodeRuntimeRequests {
|
|
@@ -1536,6 +1541,7 @@ interface AgentGUINodeHostActions {
|
|
|
1536
1541
|
onConversationRailLayoutChange?: (layout: AgentGUIConversationRailLayout) => void;
|
|
1537
1542
|
}
|
|
1538
1543
|
interface AgentGUINodeRenderSlots {
|
|
1544
|
+
projectDirectoryPickerHeaderActions?: ReferenceSourcePickerProps["renderHeaderActions"];
|
|
1539
1545
|
providerRailEmpty?: AgentGUIAgentsEmptyRenderer;
|
|
1540
1546
|
providerUnavailableState?: AgentGUIProviderUnavailableStateRenderer;
|
|
1541
1547
|
sidebarFooter?: (ctx: AgentGUISidebarFooterContext) => ReactNode;
|
package/dist/agent-gui.js
CHANGED
|
@@ -1,45 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentGUI
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TKECUCUW.js";
|
|
4
4
|
import "./chunk-LB4AGT7B.js";
|
|
5
5
|
import "./chunk-A4WCTHWS.js";
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-O4QFGCLU.js";
|
|
7
|
+
import "./chunk-2QF3RBR4.js";
|
|
8
8
|
import "./chunk-KDN6SLJM.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-CBMWHQ7P.js";
|
|
9
|
+
import "./chunk-SUVMLCED.js";
|
|
11
10
|
import "./chunk-MGSRWYRN.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-CBMWHQ7P.js";
|
|
12
|
+
import "./chunk-FS7EMOVD.js";
|
|
13
|
+
import "./chunk-EVQ4JY3N.js";
|
|
14
|
+
import "./chunk-GDLM6FLK.js";
|
|
15
|
+
import "./chunk-NXQGAXIE.js";
|
|
16
|
+
import "./chunk-PPAV2TB4.js";
|
|
17
|
+
import "./chunk-LQMIEH4C.js";
|
|
18
|
+
import "./chunk-FMTWYOHM.js";
|
|
14
19
|
import "./chunk-N4HLBSMJ.js";
|
|
15
20
|
import "./chunk-UP3ZDYTN.js";
|
|
16
21
|
import "./chunk-GUFEHWUX.js";
|
|
17
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-44OCOBJS.js";
|
|
23
|
+
import "./chunk-N2M4B3G3.js";
|
|
18
24
|
import "./chunk-3MVSOLX3.js";
|
|
19
25
|
import "./chunk-G7DS23D4.js";
|
|
20
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-6GX57XB5.js";
|
|
27
|
+
import "./chunk-G2KRK7Z5.js";
|
|
21
28
|
import "./chunk-VMPA46ET.js";
|
|
29
|
+
import "./chunk-YMXYBG7U.js";
|
|
22
30
|
import "./chunk-XJ34OIEQ.js";
|
|
23
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-JQOQETPN.js";
|
|
24
32
|
import "./chunk-JDVP33S5.js";
|
|
25
33
|
import "./chunk-3V5OCA2M.js";
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-FGLQZ6I4.js";
|
|
28
|
-
import "./chunk-AQ7CRDGX.js";
|
|
29
|
-
import "./chunk-EVQ4JY3N.js";
|
|
30
|
-
import "./chunk-KNSLQO52.js";
|
|
31
|
-
import "./chunk-LQMIEH4C.js";
|
|
32
|
-
import "./chunk-FMTWYOHM.js";
|
|
33
|
-
import "./chunk-AD2RTSMS.js";
|
|
34
|
-
import "./chunk-YMXYBG7U.js";
|
|
35
|
-
import "./chunk-YBIT37P5.js";
|
|
34
|
+
import "./chunk-M6WEFXPL.js";
|
|
36
35
|
import "./chunk-M6HTOCQK.js";
|
|
37
36
|
import "./chunk-F5UR6EJG.js";
|
|
38
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-GLVENTN6.js";
|
|
39
38
|
import "./chunk-5BJYO6X3.js";
|
|
40
39
|
import "./chunk-AFUVWWQY.js";
|
|
41
|
-
import "./chunk-QVLEP54U.js";
|
|
42
40
|
import "./chunk-MIJXEELH.js";
|
|
41
|
+
import "./chunk-ZXEICU6J.js";
|
|
42
|
+
import "./chunk-RMQREVJY.js";
|
|
43
|
+
import "./chunk-FGLQZ6I4.js";
|
|
43
44
|
import "./chunk-D2JUDUYY.js";
|
|
44
45
|
import "./chunk-QNE2ZPPV.js";
|
|
45
46
|
import "./chunk-O433KXLK.js";
|
|
@@ -370,7 +370,6 @@ interface AgentInteractivePromptSurfaceProps {
|
|
|
370
370
|
variant?: AgentInteractivePromptVariant;
|
|
371
371
|
edgeGlow?: boolean;
|
|
372
372
|
keyboardShortcuts?: boolean;
|
|
373
|
-
previewMode?: boolean;
|
|
374
373
|
isSubmitting: boolean;
|
|
375
374
|
onSubmit: (input: {
|
|
376
375
|
requestId: string;
|
|
@@ -402,7 +401,7 @@ interface AgentInteractivePromptSurfaceProps {
|
|
|
402
401
|
planImplementationSkip: string;
|
|
403
402
|
};
|
|
404
403
|
}
|
|
405
|
-
declare function AgentInteractivePromptSurface({ prompt, variant, edgeGlow, embedded, keyboardShortcuts,
|
|
404
|
+
declare function AgentInteractivePromptSurface({ prompt, variant, edgeGlow, embedded, keyboardShortcuts, isSubmitting, onSubmit, labels }: AgentInteractivePromptSurfaceProps & {
|
|
406
405
|
embedded?: boolean;
|
|
407
406
|
}): JSX.Element | null;
|
|
408
407
|
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
isPromptRequestIdTitle,
|
|
9
9
|
latestPlanTurnId,
|
|
10
10
|
planImplementationPromptFromPlanTurn
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-FS7EMOVD.js";
|
|
12
12
|
import {
|
|
13
13
|
useEngineSelector
|
|
14
14
|
} from "../chunk-EVQ4JY3N.js";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
isExitPlanSwitchModeInput,
|
|
22
22
|
normalizeAgentApprovalPurpose,
|
|
23
23
|
normalizeAskUserQuestions
|
|
24
|
-
} from "../chunk-
|
|
24
|
+
} from "../chunk-PPAV2TB4.js";
|
|
25
25
|
import {
|
|
26
26
|
cn
|
|
27
27
|
} from "../chunk-LQMIEH4C.js";
|
|
@@ -29,13 +29,13 @@ import "../chunk-FMTWYOHM.js";
|
|
|
29
29
|
import {
|
|
30
30
|
userAvatarPlaceholderUrl,
|
|
31
31
|
workspaceAgentActivityStatusLabel
|
|
32
|
-
} from "../chunk-
|
|
32
|
+
} from "../chunk-N2M4B3G3.js";
|
|
33
33
|
import {
|
|
34
34
|
resolveWorkspaceAgentSessionSortTimeUnixMs
|
|
35
35
|
} from "../chunk-YMXYBG7U.js";
|
|
36
36
|
import {
|
|
37
37
|
workspaceAgentProviderLabel
|
|
38
|
-
} from "../chunk-
|
|
38
|
+
} from "../chunk-M6WEFXPL.js";
|
|
39
39
|
import {
|
|
40
40
|
managedAgentRoundedIconUrl
|
|
41
41
|
} from "../chunk-M6HTOCQK.js";
|
|
@@ -44,13 +44,13 @@ import {
|
|
|
44
44
|
AgentGuiI18nProvider,
|
|
45
45
|
getActiveUiLanguage,
|
|
46
46
|
useTranslation
|
|
47
|
-
} from "../chunk-
|
|
47
|
+
} from "../chunk-GLVENTN6.js";
|
|
48
48
|
import "../chunk-5BJYO6X3.js";
|
|
49
49
|
import "../chunk-AFUVWWQY.js";
|
|
50
|
-
import "../chunk-QVLEP54U.js";
|
|
51
50
|
import {
|
|
52
51
|
normalizeAgentTitleText
|
|
53
52
|
} from "../chunk-MIJXEELH.js";
|
|
53
|
+
import "../chunk-ZXEICU6J.js";
|
|
54
54
|
import "../chunk-D2JUDUYY.js";
|
|
55
55
|
import "../chunk-QNE2ZPPV.js";
|
|
56
56
|
import "../chunk-O433KXLK.js";
|