@tutti-os/agent-gui 0.0.171 → 0.0.173
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/{AgentRichTextReadonly-WOIEQ673.js → AgentRichTextReadonly-ZEMFCKVR.js} +5 -5
- package/dist/agent-conversation/index.d.ts +1 -1
- package/dist/agent-conversation/index.js +7 -7
- package/dist/agent-gui.d.ts +54 -16
- package/dist/agent-gui.js +15 -15
- package/dist/agent-message-center/index.d.ts +1 -1
- package/dist/agent-message-center/index.js +7 -7
- package/dist/{agentGuiNodeTypes-CXL3ISqC.d.ts → agentGuiNodeTypes-CLU6X2Hk.d.ts} +1 -1
- package/dist/{chunk-Y3K2YTLD.js → chunk-3QPFTVLN.js} +4 -4
- package/dist/{chunk-42KTGN4W.js → chunk-5UTK6FDH.js} +2 -2
- package/dist/{chunk-OUOVA353.js → chunk-5VUHTRRS.js} +4 -4
- package/dist/{chunk-EZ6E3LVP.js → chunk-CAZ7NYUE.js} +2 -2
- package/dist/{chunk-2RQM7PJN.js → chunk-EVQ4JY3N.js} +1 -1
- package/dist/{chunk-2RQM7PJN.js.map → chunk-EVQ4JY3N.js.map} +1 -1
- package/dist/{chunk-C7RY5XMJ.js → chunk-I27O33CO.js} +6 -6
- package/dist/{chunk-7M6STXDS.js → chunk-K57GJTVC.js} +2 -2
- package/dist/{chunk-GMALB4L6.js → chunk-NNBJT5DD.js} +5 -5
- package/dist/{chunk-BHLX4ZFU.js → chunk-OKBVGNH7.js} +2 -2
- package/dist/{chunk-42W6JENH.js → chunk-UPX5IC2U.js} +2 -2
- package/dist/{chunk-5EHKHIFG.js → chunk-UXSYGLY3.js} +3 -3
- package/dist/{chunk-QEOAZW53.js → chunk-V7V7PU7Z.js} +2 -2
- package/dist/chunk-V7V7PU7Z.js.map +1 -0
- package/dist/{chunk-J4RQ2RTM.js → chunk-VGUKS6JR.js} +7 -7
- package/dist/chunk-VGUKS6JR.js.map +1 -0
- package/dist/{chunk-KDRU3NBW.js → chunk-ZPZD5XTH.js} +4 -4
- package/dist/{chunk-LQ6CK4GS.js → chunk-ZRZVJR3M.js} +1215 -741
- package/dist/chunk-ZRZVJR3M.js.map +1 -0
- package/dist/context-mention-palette/index.js +7 -7
- package/dist/i18n/index.d.ts +4 -4
- package/dist/i18n/index.js +2 -2
- package/dist/index.d.ts +96 -21
- package/dist/index.js +20 -16
- package/dist/index.js.map +1 -1
- package/dist/mention-search.js +5 -5
- package/dist/workbench/browser-element-context/index.js +1 -1
- package/dist/workbench/contribution.js +4 -4
- package/dist/workbench/index.js +4 -4
- package/dist/workbench/sessionTitle.js +2 -2
- package/package.json +15 -15
- package/dist/chunk-J4RQ2RTM.js.map +0 -1
- package/dist/chunk-LQ6CK4GS.js.map +0 -1
- package/dist/chunk-QEOAZW53.js.map +0 -1
- /package/dist/{AgentRichTextReadonly-WOIEQ673.js.map → AgentRichTextReadonly-ZEMFCKVR.js.map} +0 -0
- /package/dist/{chunk-Y3K2YTLD.js.map → chunk-3QPFTVLN.js.map} +0 -0
- /package/dist/{chunk-42KTGN4W.js.map → chunk-5UTK6FDH.js.map} +0 -0
- /package/dist/{chunk-OUOVA353.js.map → chunk-5VUHTRRS.js.map} +0 -0
- /package/dist/{chunk-EZ6E3LVP.js.map → chunk-CAZ7NYUE.js.map} +0 -0
- /package/dist/{chunk-C7RY5XMJ.js.map → chunk-I27O33CO.js.map} +0 -0
- /package/dist/{chunk-7M6STXDS.js.map → chunk-K57GJTVC.js.map} +0 -0
- /package/dist/{chunk-GMALB4L6.js.map → chunk-NNBJT5DD.js.map} +0 -0
- /package/dist/{chunk-BHLX4ZFU.js.map → chunk-OKBVGNH7.js.map} +0 -0
- /package/dist/{chunk-42W6JENH.js.map → chunk-UPX5IC2U.js.map} +0 -0
- /package/dist/{chunk-5EHKHIFG.js.map → chunk-UXSYGLY3.js.map} +0 -0
- /package/dist/{chunk-KDRU3NBW.js.map → chunk-ZPZD5XTH.js.map} +0 -0
|
@@ -3,28 +3,28 @@ import {
|
|
|
3
3
|
AgentFileMentionPalette,
|
|
4
4
|
flattenAgentMentionPaletteEntries,
|
|
5
5
|
groupStartKeys
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-ZPZD5XTH.js";
|
|
7
7
|
import {
|
|
8
8
|
AgentMentionSearchController
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-NNBJT5DD.js";
|
|
10
10
|
import "../chunk-VMPA46ET.js";
|
|
11
11
|
import "../chunk-XJ34OIEQ.js";
|
|
12
12
|
import "../chunk-JDVP33S5.js";
|
|
13
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-K57GJTVC.js";
|
|
14
14
|
import "../chunk-5QPOMKMQ.js";
|
|
15
15
|
import {
|
|
16
16
|
AGENT_CONTEXT_MENTION_PROVIDER_IDS
|
|
17
17
|
} from "../chunk-RMQREVJY.js";
|
|
18
18
|
import "../chunk-FGLQZ6I4.js";
|
|
19
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-OKBVGNH7.js";
|
|
20
20
|
import "../chunk-YMXYBG7U.js";
|
|
21
|
-
import "../chunk-
|
|
21
|
+
import "../chunk-V7V7PU7Z.js";
|
|
22
22
|
import "../chunk-F5UR6EJG.js";
|
|
23
23
|
import "../chunk-ZWLWT3TZ.js";
|
|
24
|
-
import "../chunk-
|
|
24
|
+
import "../chunk-CAZ7NYUE.js";
|
|
25
25
|
import "../chunk-PJP5BUU6.js";
|
|
26
26
|
import "../chunk-AODSTIED.js";
|
|
27
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-VGUKS6JR.js";
|
|
28
28
|
import "../chunk-MIJXEELH.js";
|
|
29
29
|
import "../chunk-D2JUDUYY.js";
|
|
30
30
|
import "../chunk-LCFMJPNA.js";
|
package/dist/i18n/index.d.ts
CHANGED
|
@@ -440,7 +440,6 @@ declare const agentGuiI18nResources: {
|
|
|
440
440
|
readonly selectedCount: "{{count}} selected";
|
|
441
441
|
readonly sourceColumn: "Category";
|
|
442
442
|
readonly title: "Pick workspace references";
|
|
443
|
-
readonly workspaceRootGroup: "Workspace";
|
|
444
443
|
};
|
|
445
444
|
readonly slashCommandCompactLabel: "compact";
|
|
446
445
|
readonly slashCommandContextLabel: "context";
|
|
@@ -1066,8 +1065,9 @@ declare const agentGuiI18nResources: {
|
|
|
1066
1065
|
readonly slashStatusLimitPercentLeft: "{{percent}}% left";
|
|
1067
1066
|
readonly slashStatusLimitReset: "resets {{reset}}";
|
|
1068
1067
|
readonly slashStatusContextValue: "{{percentLeft}}% left ({{usedTokens}} used / {{totalTokens}})";
|
|
1069
|
-
readonly slashStatusContextUnavailable: "
|
|
1068
|
+
readonly slashStatusContextUnavailable: "—";
|
|
1070
1069
|
readonly slashStatusLimitsUnavailable: "Rate limits unavailable from this agent";
|
|
1070
|
+
readonly slashStatusEmptyValue: "—";
|
|
1071
1071
|
readonly slashStatusUsageJustUpdated: "Updated just now";
|
|
1072
1072
|
readonly slashStatusUsageMinutesAgo: "Updated {{count}}m ago";
|
|
1073
1073
|
readonly slashStatusUsageHoursAgo: "Updated {{count}}h ago";
|
|
@@ -3126,7 +3126,6 @@ declare const agentGuiI18nResources: {
|
|
|
3126
3126
|
readonly selectedCount: "已选择 {{count}} 项";
|
|
3127
3127
|
readonly title: "选择工作区引用";
|
|
3128
3128
|
readonly sourceColumn: "分类";
|
|
3129
|
-
readonly workspaceRootGroup: "工作区";
|
|
3130
3129
|
};
|
|
3131
3130
|
readonly slashCommandCompactLabel: "压缩";
|
|
3132
3131
|
readonly slashCommandContextLabel: "上下文";
|
|
@@ -3752,8 +3751,9 @@ declare const agentGuiI18nResources: {
|
|
|
3752
3751
|
readonly slashStatusLimitPercentLeft: "{{percent}}% left";
|
|
3753
3752
|
readonly slashStatusLimitReset: "resets {{reset}}";
|
|
3754
3753
|
readonly slashStatusContextValue: "{{percentLeft}}% 剩余(已用 {{usedTokens}} / {{totalTokens}})";
|
|
3755
|
-
readonly slashStatusContextUnavailable: "
|
|
3754
|
+
readonly slashStatusContextUnavailable: "—";
|
|
3756
3755
|
readonly slashStatusLimitsUnavailable: "当前 Agent 未提供额度限制";
|
|
3756
|
+
readonly slashStatusEmptyValue: "—";
|
|
3757
3757
|
readonly slashStatusUsageJustUpdated: "刚刚更新";
|
|
3758
3758
|
readonly slashStatusUsageMinutesAgo: "{{count}} 分钟前更新";
|
|
3759
3759
|
readonly slashStatusUsageHoursAgo: "{{count}} 小时前更新";
|
package/dist/i18n/index.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -489,6 +489,7 @@ interface AgentActivityRuntimeDeleteSessionsBatchInput {
|
|
|
489
489
|
workspaceId: string;
|
|
490
490
|
}
|
|
491
491
|
interface AgentActivityRuntimeDeleteSessionsBatchResult {
|
|
492
|
+
cleanupFailedSessionIds: string[];
|
|
492
493
|
removedMessages: number;
|
|
493
494
|
removedSessionIds: string[];
|
|
494
495
|
removedSessions: number;
|
|
@@ -2726,7 +2727,6 @@ declare const agentGuiI18nResources: {
|
|
|
2726
2727
|
readonly selectedCount: "{{count}} selected";
|
|
2727
2728
|
readonly sourceColumn: "Category";
|
|
2728
2729
|
readonly title: "Pick workspace references";
|
|
2729
|
-
readonly workspaceRootGroup: "Workspace";
|
|
2730
2730
|
};
|
|
2731
2731
|
readonly slashCommandCompactLabel: "compact";
|
|
2732
2732
|
readonly slashCommandContextLabel: "context";
|
|
@@ -3352,8 +3352,9 @@ declare const agentGuiI18nResources: {
|
|
|
3352
3352
|
readonly slashStatusLimitPercentLeft: "{{percent}}% left";
|
|
3353
3353
|
readonly slashStatusLimitReset: "resets {{reset}}";
|
|
3354
3354
|
readonly slashStatusContextValue: "{{percentLeft}}% left ({{usedTokens}} used / {{totalTokens}})";
|
|
3355
|
-
readonly slashStatusContextUnavailable: "
|
|
3355
|
+
readonly slashStatusContextUnavailable: "—";
|
|
3356
3356
|
readonly slashStatusLimitsUnavailable: "Rate limits unavailable from this agent";
|
|
3357
|
+
readonly slashStatusEmptyValue: "—";
|
|
3357
3358
|
readonly slashStatusUsageJustUpdated: "Updated just now";
|
|
3358
3359
|
readonly slashStatusUsageMinutesAgo: "Updated {{count}}m ago";
|
|
3359
3360
|
readonly slashStatusUsageHoursAgo: "Updated {{count}}h ago";
|
|
@@ -5412,7 +5413,6 @@ declare const agentGuiI18nResources: {
|
|
|
5412
5413
|
readonly selectedCount: "已选择 {{count}} 项";
|
|
5413
5414
|
readonly title: "选择工作区引用";
|
|
5414
5415
|
readonly sourceColumn: "分类";
|
|
5415
|
-
readonly workspaceRootGroup: "工作区";
|
|
5416
5416
|
};
|
|
5417
5417
|
readonly slashCommandCompactLabel: "压缩";
|
|
5418
5418
|
readonly slashCommandContextLabel: "上下文";
|
|
@@ -6038,8 +6038,9 @@ declare const agentGuiI18nResources: {
|
|
|
6038
6038
|
readonly slashStatusLimitPercentLeft: "{{percent}}% left";
|
|
6039
6039
|
readonly slashStatusLimitReset: "resets {{reset}}";
|
|
6040
6040
|
readonly slashStatusContextValue: "{{percentLeft}}% 剩余(已用 {{usedTokens}} / {{totalTokens}})";
|
|
6041
|
-
readonly slashStatusContextUnavailable: "
|
|
6041
|
+
readonly slashStatusContextUnavailable: "—";
|
|
6042
6042
|
readonly slashStatusLimitsUnavailable: "当前 Agent 未提供额度限制";
|
|
6043
|
+
readonly slashStatusEmptyValue: "—";
|
|
6043
6044
|
readonly slashStatusUsageJustUpdated: "刚刚更新";
|
|
6044
6045
|
readonly slashStatusUsageMinutesAgo: "{{count}} 分钟前更新";
|
|
6045
6046
|
readonly slashStatusUsageHoursAgo: "{{count}} 小时前更新";
|
|
@@ -7898,6 +7899,13 @@ interface AgentComposerProps {
|
|
|
7898
7899
|
}) => string;
|
|
7899
7900
|
slashStatusContextUnavailable: string;
|
|
7900
7901
|
slashStatusLimitsUnavailable: string;
|
|
7902
|
+
slashStatusEmptyValue: string;
|
|
7903
|
+
slashStatusUsageJustUpdated: string;
|
|
7904
|
+
slashStatusUsageMinutesAgo: (count: number) => string;
|
|
7905
|
+
slashStatusUsageHoursAgo: (count: number) => string;
|
|
7906
|
+
slashStatusUsageUpdating: string;
|
|
7907
|
+
slashStatusUsageRefreshFailed: string;
|
|
7908
|
+
slashStatusUsageRefreshAria: string;
|
|
7901
7909
|
usageChipLabel: (input: {
|
|
7902
7910
|
percent: number;
|
|
7903
7911
|
}) => string;
|
|
@@ -7984,6 +7992,8 @@ interface AgentComposerProps {
|
|
|
7984
7992
|
capabilityMenuState?: AgentComposerCapabilityMenuState;
|
|
7985
7993
|
onCapabilitySettingsRequest?: (capability: AgentComposerCapabilitySettingsTarget) => void;
|
|
7986
7994
|
onSlashStatusOpen?: () => void;
|
|
7995
|
+
onSlashStatusClose?: () => void;
|
|
7996
|
+
onSlashStatusRefresh?: () => void;
|
|
7987
7997
|
onSubmit: (content: AgentPromptContentBlock[], displayPrompt?: string, options?: AgentComposerSubmitOptions) => void;
|
|
7988
7998
|
onSubmitGuidance?: (content: AgentPromptContentBlock[], displayPrompt?: string) => void;
|
|
7989
7999
|
onSendQueuedPromptNext: (queuedPromptId: string) => void;
|
|
@@ -8042,6 +8052,10 @@ interface AgentComposerSlashStatus {
|
|
|
8042
8052
|
limits?: readonly AgentComposerSlashStatusLimit[];
|
|
8043
8053
|
limitsLoading?: boolean;
|
|
8044
8054
|
limitsUnavailable?: boolean;
|
|
8055
|
+
limitsResolvedEmpty?: boolean;
|
|
8056
|
+
limitsCapturedAtUnixMs?: number | null;
|
|
8057
|
+
refreshFailed?: boolean;
|
|
8058
|
+
isRefreshing?: boolean;
|
|
8045
8059
|
}
|
|
8046
8060
|
interface AgentComposerSlashStatusLimit {
|
|
8047
8061
|
id: string;
|
|
@@ -8107,18 +8121,6 @@ interface DesktopSize {
|
|
|
8107
8121
|
height: number;
|
|
8108
8122
|
bottomInset?: number;
|
|
8109
8123
|
}
|
|
8110
|
-
/** Workspace-scoped agent probes for currently visible Agent GUI windows. */
|
|
8111
|
-
interface WorkspaceDesktopAgentProbesState {
|
|
8112
|
-
snapshot: AgentProbeSnapshot | null;
|
|
8113
|
-
isLoadingAvailability: boolean;
|
|
8114
|
-
isLoadingUsage: boolean;
|
|
8115
|
-
/** True when the most recent usage probe fetch failed (the retained snapshot,
|
|
8116
|
-
* if any, is stale). Lets surfaces show a refresh/retry affordance instead of
|
|
8117
|
-
* silently displaying old numbers. Absent is treated as "no failure". */
|
|
8118
|
-
usageLoadFailed?: boolean;
|
|
8119
|
-
}
|
|
8120
|
-
type WorkspaceDesktopAgentProbeDemandChange = (provider: AgentProvider | null, sourceId?: string) => void;
|
|
8121
|
-
type WorkspaceDesktopAgentProbeRefreshRequest = (provider: AgentProvider, sourceId?: string) => void;
|
|
8122
8124
|
|
|
8123
8125
|
interface AgentGUIComposerDefaults {
|
|
8124
8126
|
model?: string | null;
|
|
@@ -8162,6 +8164,80 @@ interface AgentGUIPrefillPromptRequest {
|
|
|
8162
8164
|
userProjectPath?: string | null;
|
|
8163
8165
|
}
|
|
8164
8166
|
|
|
8167
|
+
type AgentStatusSectionState = "available" | "unavailable" | "error";
|
|
8168
|
+
type AgentStatusRequestReason = "slash-status" | "agent-info" | "agent-config";
|
|
8169
|
+
interface AgentStatusQuery {
|
|
8170
|
+
/** Exact host-owned execution target identity. AgentGUI treats it as opaque. */
|
|
8171
|
+
scopeKey: string;
|
|
8172
|
+
agentSessionId?: string | null;
|
|
8173
|
+
reason: AgentStatusRequestReason;
|
|
8174
|
+
forceRefresh?: boolean;
|
|
8175
|
+
}
|
|
8176
|
+
interface AgentStatusValue {
|
|
8177
|
+
agentSessionId?: string | null;
|
|
8178
|
+
contextWindow?: {
|
|
8179
|
+
usedTokens?: number | null;
|
|
8180
|
+
totalTokens?: number | null;
|
|
8181
|
+
} | null;
|
|
8182
|
+
contextState: AgentStatusSectionState;
|
|
8183
|
+
quotas: readonly AgentUsageQuota[];
|
|
8184
|
+
limitsState: AgentStatusSectionState;
|
|
8185
|
+
limitsCapturedAtUnixMs?: number | null;
|
|
8186
|
+
limitsStale?: boolean;
|
|
8187
|
+
}
|
|
8188
|
+
interface AgentStatusFrame {
|
|
8189
|
+
kind: "snapshot" | "refreshed";
|
|
8190
|
+
value: AgentStatusValue;
|
|
8191
|
+
}
|
|
8192
|
+
interface AgentStatusStreamObserver {
|
|
8193
|
+
onFrame(frame: AgentStatusFrame): void;
|
|
8194
|
+
onError(error: AgentStatusSourceError): void;
|
|
8195
|
+
onComplete(): void;
|
|
8196
|
+
}
|
|
8197
|
+
interface AgentStatusSourceError {
|
|
8198
|
+
/** Structured host error code. Raw provider errors must not cross this port. */
|
|
8199
|
+
code: string;
|
|
8200
|
+
}
|
|
8201
|
+
interface AgentStatusSource {
|
|
8202
|
+
open(query: AgentStatusQuery, observer: AgentStatusStreamObserver): () => void;
|
|
8203
|
+
}
|
|
8204
|
+
type AgentStatusRequestPhase = "idle" | "loading" | "ready" | "error";
|
|
8205
|
+
interface AgentStatusControllerSnapshot {
|
|
8206
|
+
query: AgentStatusQuery | null;
|
|
8207
|
+
value: AgentStatusValue | null;
|
|
8208
|
+
phase: AgentStatusRequestPhase;
|
|
8209
|
+
isRefreshing: boolean;
|
|
8210
|
+
errorCode: string | null;
|
|
8211
|
+
}
|
|
8212
|
+
interface AgentStatusController {
|
|
8213
|
+
getSnapshot(): AgentStatusControllerSnapshot;
|
|
8214
|
+
subscribe(listener: () => void): () => void;
|
|
8215
|
+
open(query: AgentStatusQuery): void;
|
|
8216
|
+
close(): void;
|
|
8217
|
+
invalidate(scopeKey?: string): void;
|
|
8218
|
+
}
|
|
8219
|
+
interface AgentStatusControllerOptions {
|
|
8220
|
+
source: AgentStatusSource;
|
|
8221
|
+
now?: () => number;
|
|
8222
|
+
requestTimeoutMs?: number;
|
|
8223
|
+
retainedSnapshotMs?: number;
|
|
8224
|
+
forcedRefreshDebounceMs?: number;
|
|
8225
|
+
}
|
|
8226
|
+
interface AgentStatusSelectionKey {
|
|
8227
|
+
scopeKey: string;
|
|
8228
|
+
agentSessionId?: string | null;
|
|
8229
|
+
reasons?: readonly AgentStatusRequestReason[];
|
|
8230
|
+
}
|
|
8231
|
+
/** Selects status only for the exact target and caller-visible Session. */
|
|
8232
|
+
declare function selectAgentStatusControllerSnapshot(snapshot: AgentStatusControllerSnapshot, key: AgentStatusSelectionKey): AgentStatusControllerSnapshot;
|
|
8233
|
+
/**
|
|
8234
|
+
* Creates the shared AgentGUI interaction controller for bounded status reads.
|
|
8235
|
+
* The host owns transport, authorization and provider probing. The controller
|
|
8236
|
+
* owns only request visibility, a bounded presentation snapshot, timeout and
|
|
8237
|
+
* stale-response fencing.
|
|
8238
|
+
*/
|
|
8239
|
+
declare function createAgentStatusController(options: AgentStatusControllerOptions): AgentStatusController;
|
|
8240
|
+
|
|
8165
8241
|
interface AgentGUINodeIdentity {
|
|
8166
8242
|
nodeId: string;
|
|
8167
8243
|
workspaceId: string;
|
|
@@ -8215,9 +8291,8 @@ interface AgentGUINodeRuntimeRequests {
|
|
|
8215
8291
|
sessionAction?: AgentGUISessionActionRequest | null;
|
|
8216
8292
|
openSession?: AgentGUIOpenSessionRequest | null;
|
|
8217
8293
|
prefillPrompt?: AgentGUIPrefillPromptRequest | null;
|
|
8218
|
-
|
|
8219
|
-
|
|
8220
|
-
onProbeRefreshRequest?: WorkspaceDesktopAgentProbeRefreshRequest;
|
|
8294
|
+
/** On-demand status capability. Transport and owner resolution stay host-owned. */
|
|
8295
|
+
agentStatusController?: AgentStatusController | null;
|
|
8221
8296
|
}
|
|
8222
8297
|
interface AgentGUINodeHostCapabilities {
|
|
8223
8298
|
/**
|
|
@@ -8469,7 +8544,7 @@ declare function AgentActivityHostProvider({ agentActivityRuntime, agentHostApi,
|
|
|
8469
8544
|
*/
|
|
8470
8545
|
interface EngineStateStore<TState> {
|
|
8471
8546
|
getSnapshot(): TState;
|
|
8472
|
-
subscribe(listener: (
|
|
8547
|
+
subscribe(listener: () => void): () => void;
|
|
8473
8548
|
}
|
|
8474
8549
|
declare function useEngineSelector<TState, TSelected>(engine: EngineStateStore<TState>, selector: (state: TState) => TSelected, isEqual?: (a: TSelected, b: TSelected) => boolean): TSelected;
|
|
8475
8550
|
|
|
@@ -8489,4 +8564,4 @@ declare function dispatchAgentPlanPromptAction(input: {
|
|
|
8489
8564
|
workspaceId: string;
|
|
8490
8565
|
}): boolean;
|
|
8491
8566
|
|
|
8492
|
-
export { AGENT_CONTEXT_MENTION_PROVIDER_IDS, AGENT_GUI_DETAIL_MIN_WIDTH_PX, AGENT_GUI_EXPANDED_TARGET_WIDTH_PX, AGENT_GUI_STANDALONE_AUTO_COLLAPSE_WIDTH_PX, AGENT_PASTED_TEXT_BLOCK_KIND, AGENT_PASTED_TEXT_MENTION_KIND, AgentActivityHostProvider, type AgentActivityHostProviderProps, type AgentActivityRuntime, type AgentActivityRuntimeDeleteSessionsBatchInput, type AgentActivityRuntimeDeleteSessionsBatchResult, type AgentActivityRuntimeListSessionMessagesInput, type AgentActivityRuntimePromptContentBlock, AgentActivityRuntimeProvider, type AgentActivityRuntimeProviderProps, type AgentActivityRuntimeSessionSectionDeletionCandidates, type AgentActivityRuntimeSessionSectionScopeInput, type AgentActivityRuntimeSetSessionPinnedInput, type AgentActivityRuntimeUpdateSessionSettingsInput, type AgentActivityRuntimeUpdateSessionSettingsResult, type AgentActivityRuntimeUploadPromptContentInput, type AgentActivityRuntimeUploadPromptContentResult, type AgentComposerDraftFile, type AgentContextMentionProvider, type AgentContextMentionProviderId, type AgentCustomMentionChipContext, type AgentCustomMentionIdentity, type AgentCustomMentionKindDefinition, type AgentCustomMentionPresentation, type AgentExternalPromptEntryResolution, type AgentExternalPromptEntryResolver, type AgentExternalPromptFilePreparationErrorCode, type AgentExternalPromptFilePreparationResult, type AgentExternalPromptFilePreparer, AgentGUI, type AgentGUIAccountMenuState, type AgentGUIAgent, type AgentGUIAgentAvailability, type AgentGUIAgentAvailabilityAction, type AgentGUIAgentAvailabilityStatus, type AgentGUIAgentDirectoryPort, type AgentGUIAgentDirectorySnapshot, type AgentGUIAgentDirectoryStatus, type AgentGUIAgentOwner, type AgentGUIAgentOwnership, type AgentGUIAgentTarget, type AgentGUIAgentTargetBadge, type AgentGUIAgentTargetRef, type AgentGUIAgentsEmptyRenderer, type AgentGUIAllAgentsPresentation, type AgentGUIComposerAppendRequest, type AgentGUIComposerContentType, type AgentGUIComposerFocusMethod, type AgentGUIConversationRailLayout, type AgentGUIEngagementContext, type AgentGUIEngagementEvent, type AgentGUIEngagementEventSink, type AgentGUIHomeSuggestionId, type AgentGUIProps, type AgentGUIProvider, type AgentGUIProviderRailAllPresentation, type AgentGUIProviderRailMode, type AgentGUIProviderReadinessGate, type AgentGUIProviderReadinessGateAction, type AgentGUIProviderReadinessGateStatus, type AgentGUIProviderUnavailableStateContext, type AgentGUIProviderUnavailableStateRenderer, type AgentGUISidebarFooterContext, type AgentGUISidebarFooterRenderer, type AgentGuiI18nLocale, AgentGuiI18nProvider, AgentHandoffMenu, type AgentHandoffMenuLabels, type AgentHandoffMenuProps, type AgentHostAgentTargetAuthenticatedAccount, type AgentHostAgentTargetSetupSnapshot, type AgentHostAgentTargetSetupState, type AgentHostAgentTargetSetupWatch, type AgentHostApi, type AgentHostApplyWorkspaceGitPatchInput, type AgentHostInputApi, type AgentHostQuickPrompt, type AgentHostQuickPromptSnapshot, type AgentHostQuickPromptsApi, type AgentHostRuntimeApi, type AgentHostSelectFilesInput, type AgentHostUserProject, type AgentPlanPromptAction, type AgentPreparedExternalPromptFile, type AgentProbeProvider, type AgentProbeSnapshot, type AgentProviderProbeListInput, type AgentProviderProbeListResult, type AgentUsageQuota, type AgentUsageSnapshot, type CreateAgentSessionHandoffPromptInput, type CreateAgentSessionMarkdownLinkInput, type EngineStateStore, type PersistWriteResult, type ReadWorkspaceAgentReadStateInput, type WorkspaceAgentReadStateSnapshot, type WriteWorkspaceAgentReadStateInput, agentGUIAgentIsReady, agentGUIDefaultTargetProviders, agentGuiDockIconUrl, agentGuiDockIconUrls, agentGuiI18nModule, agentGuiI18nResources, createAgentSessionHandoffPrompt, createAgentSessionMarkdownLink, createLocalAgentGUIAgentTarget, createLocalAgentGUIAgentTargets, createSharedAgentGUIAgentTarget, dispatchAgentPlanPromptAction, getAgentCustomMentionKind, localAgentGUIAgentTargetId, normalizeAgentGUIAgentTargets, normalizeAgentGUIAgents, preloadAgentMentionBrowse, projectAgentGUIAgentsToTargets, registerAgentCustomMentionKind, resetAgentActivityRuntimeForTests, resetAgentCustomMentionKindsForTests, resolveAgentGUIAgentTarget, resolveAgentGUIExpandedWindowFrame, resolveAgentGUISelectedDirectoryAgent, selectAgentPlanPromptTurn, setAgentActivityRuntimeForTests, shouldAutoCollapseAgentGUIConversationRail, useAgentActivityRuntime, useAgentActivitySnapshot, useEngineSelector, useOptionalAgentActivityRuntime };
|
|
8567
|
+
export { AGENT_CONTEXT_MENTION_PROVIDER_IDS, AGENT_GUI_DETAIL_MIN_WIDTH_PX, AGENT_GUI_EXPANDED_TARGET_WIDTH_PX, AGENT_GUI_STANDALONE_AUTO_COLLAPSE_WIDTH_PX, AGENT_PASTED_TEXT_BLOCK_KIND, AGENT_PASTED_TEXT_MENTION_KIND, AgentActivityHostProvider, type AgentActivityHostProviderProps, type AgentActivityRuntime, type AgentActivityRuntimeDeleteSessionsBatchInput, type AgentActivityRuntimeDeleteSessionsBatchResult, type AgentActivityRuntimeListSessionMessagesInput, type AgentActivityRuntimePromptContentBlock, AgentActivityRuntimeProvider, type AgentActivityRuntimeProviderProps, type AgentActivityRuntimeSessionSectionDeletionCandidates, type AgentActivityRuntimeSessionSectionScopeInput, type AgentActivityRuntimeSetSessionPinnedInput, type AgentActivityRuntimeUpdateSessionSettingsInput, type AgentActivityRuntimeUpdateSessionSettingsResult, type AgentActivityRuntimeUploadPromptContentInput, type AgentActivityRuntimeUploadPromptContentResult, type AgentComposerDraftFile, type AgentContextMentionProvider, type AgentContextMentionProviderId, type AgentCustomMentionChipContext, type AgentCustomMentionIdentity, type AgentCustomMentionKindDefinition, type AgentCustomMentionPresentation, type AgentExternalPromptEntryResolution, type AgentExternalPromptEntryResolver, type AgentExternalPromptFilePreparationErrorCode, type AgentExternalPromptFilePreparationResult, type AgentExternalPromptFilePreparer, AgentGUI, type AgentGUIAccountMenuState, type AgentGUIAgent, type AgentGUIAgentAvailability, type AgentGUIAgentAvailabilityAction, type AgentGUIAgentAvailabilityStatus, type AgentGUIAgentDirectoryPort, type AgentGUIAgentDirectorySnapshot, type AgentGUIAgentDirectoryStatus, type AgentGUIAgentOwner, type AgentGUIAgentOwnership, type AgentGUIAgentTarget, type AgentGUIAgentTargetBadge, type AgentGUIAgentTargetRef, type AgentGUIAgentsEmptyRenderer, type AgentGUIAllAgentsPresentation, type AgentGUIComposerAppendRequest, type AgentGUIComposerContentType, type AgentGUIComposerFocusMethod, type AgentGUIConversationRailLayout, type AgentGUIEngagementContext, type AgentGUIEngagementEvent, type AgentGUIEngagementEventSink, type AgentGUIHomeSuggestionId, type AgentGUIProps, type AgentGUIProvider, type AgentGUIProviderRailAllPresentation, type AgentGUIProviderRailMode, type AgentGUIProviderReadinessGate, type AgentGUIProviderReadinessGateAction, type AgentGUIProviderReadinessGateStatus, type AgentGUIProviderUnavailableStateContext, type AgentGUIProviderUnavailableStateRenderer, type AgentGUISidebarFooterContext, type AgentGUISidebarFooterRenderer, type AgentGuiI18nLocale, AgentGuiI18nProvider, AgentHandoffMenu, type AgentHandoffMenuLabels, type AgentHandoffMenuProps, type AgentHostAgentTargetAuthenticatedAccount, type AgentHostAgentTargetSetupSnapshot, type AgentHostAgentTargetSetupState, type AgentHostAgentTargetSetupWatch, type AgentHostApi, type AgentHostApplyWorkspaceGitPatchInput, type AgentHostInputApi, type AgentHostQuickPrompt, type AgentHostQuickPromptSnapshot, type AgentHostQuickPromptsApi, type AgentHostRuntimeApi, type AgentHostSelectFilesInput, type AgentHostUserProject, type AgentPlanPromptAction, type AgentPreparedExternalPromptFile, type AgentProbeProvider, type AgentProbeSnapshot, type AgentProviderProbeListInput, type AgentProviderProbeListResult, type AgentStatusController, type AgentStatusControllerOptions, type AgentStatusControllerSnapshot, type AgentStatusFrame, type AgentStatusQuery, type AgentStatusRequestPhase, type AgentStatusRequestReason, type AgentStatusSectionState, type AgentStatusSelectionKey, type AgentStatusSource, type AgentStatusSourceError, type AgentStatusStreamObserver, type AgentStatusValue, type AgentUsageQuota, type AgentUsageSnapshot, type CreateAgentSessionHandoffPromptInput, type CreateAgentSessionMarkdownLinkInput, type EngineStateStore, type PersistWriteResult, type ReadWorkspaceAgentReadStateInput, type WorkspaceAgentReadStateSnapshot, type WriteWorkspaceAgentReadStateInput, agentGUIAgentIsReady, agentGUIDefaultTargetProviders, agentGuiDockIconUrl, agentGuiDockIconUrls, agentGuiI18nModule, agentGuiI18nResources, createAgentSessionHandoffPrompt, createAgentSessionMarkdownLink, createAgentStatusController, createLocalAgentGUIAgentTarget, createLocalAgentGUIAgentTargets, createSharedAgentGUIAgentTarget, dispatchAgentPlanPromptAction, getAgentCustomMentionKind, localAgentGUIAgentTargetId, normalizeAgentGUIAgentTargets, normalizeAgentGUIAgents, preloadAgentMentionBrowse, projectAgentGUIAgentsToTargets, registerAgentCustomMentionKind, resetAgentActivityRuntimeForTests, resetAgentCustomMentionKindsForTests, resolveAgentGUIAgentTarget, resolveAgentGUIExpandedWindowFrame, resolveAgentGUISelectedDirectoryAgent, selectAgentPlanPromptTurn, selectAgentStatusControllerSnapshot, setAgentActivityRuntimeForTests, shouldAutoCollapseAgentGUIConversationRail, useAgentActivityRuntime, useAgentActivitySnapshot, useEngineSelector, useOptionalAgentActivityRuntime };
|
package/dist/index.js
CHANGED
|
@@ -2,13 +2,15 @@ import {
|
|
|
2
2
|
AgentGUI,
|
|
3
3
|
AgentHandoffMenu,
|
|
4
4
|
agentGUIDefaultTargetProviders,
|
|
5
|
+
createAgentStatusController,
|
|
5
6
|
createLocalAgentGUIAgentTarget,
|
|
6
7
|
createLocalAgentGUIAgentTargets,
|
|
7
8
|
createSharedAgentGUIAgentTarget,
|
|
8
9
|
localAgentGUIAgentTargetId,
|
|
9
10
|
normalizeAgentGUIAgentTargets,
|
|
10
|
-
resolveAgentGUIAgentTarget
|
|
11
|
-
|
|
11
|
+
resolveAgentGUIAgentTarget,
|
|
12
|
+
selectAgentStatusControllerSnapshot
|
|
13
|
+
} from "./chunk-ZRZVJR3M.js";
|
|
12
14
|
import "./chunk-A4WCTHWS.js";
|
|
13
15
|
import {
|
|
14
16
|
AGENT_GUI_DETAIL_MIN_WIDTH_PX,
|
|
@@ -16,18 +18,18 @@ import {
|
|
|
16
18
|
AGENT_GUI_STANDALONE_AUTO_COLLAPSE_WIDTH_PX,
|
|
17
19
|
resolveAgentGUIExpandedWindowFrame,
|
|
18
20
|
shouldAutoCollapseAgentGUIConversationRail
|
|
19
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-3QPFTVLN.js";
|
|
20
22
|
import "./chunk-6II57C72.js";
|
|
21
23
|
import "./chunk-YSA4MXR5.js";
|
|
22
24
|
import "./chunk-MHOYBRCY.js";
|
|
23
25
|
import "./chunk-SZVHT57M.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-5UTK6FDH.js";
|
|
27
|
+
import "./chunk-I27O33CO.js";
|
|
28
|
+
import "./chunk-UPX5IC2U.js";
|
|
27
29
|
import "./chunk-THBCAUBR.js";
|
|
28
30
|
import "./chunk-UP3ZDYTN.js";
|
|
29
31
|
import "./chunk-GUFEHWUX.js";
|
|
30
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-ZPZD5XTH.js";
|
|
31
33
|
import {
|
|
32
34
|
agentGUIAgentIsReady,
|
|
33
35
|
normalizeAgentGUIAgents,
|
|
@@ -40,14 +42,14 @@ import {
|
|
|
40
42
|
} from "./chunk-PQPNDL4A.js";
|
|
41
43
|
import {
|
|
42
44
|
preloadAgentMentionBrowse
|
|
43
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-NNBJT5DD.js";
|
|
44
46
|
import "./chunk-VMPA46ET.js";
|
|
45
47
|
import "./chunk-XJ34OIEQ.js";
|
|
46
48
|
import "./chunk-JDVP33S5.js";
|
|
47
49
|
import {
|
|
48
50
|
createAgentSessionHandoffPrompt,
|
|
49
51
|
createAgentSessionMarkdownLink
|
|
50
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-K57GJTVC.js";
|
|
51
53
|
import "./chunk-5QPOMKMQ.js";
|
|
52
54
|
import {
|
|
53
55
|
AGENT_CONTEXT_MENTION_PROVIDER_IDS
|
|
@@ -59,13 +61,13 @@ import {
|
|
|
59
61
|
import {
|
|
60
62
|
dispatchAgentPlanPromptAction,
|
|
61
63
|
selectAgentPlanPromptTurn
|
|
62
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-5VUHTRRS.js";
|
|
63
65
|
import {
|
|
64
66
|
useEngineSelector
|
|
65
|
-
} from "./chunk-
|
|
66
|
-
import "./chunk-
|
|
67
|
+
} from "./chunk-EVQ4JY3N.js";
|
|
68
|
+
import "./chunk-UXSYGLY3.js";
|
|
67
69
|
import "./chunk-ZVYUTXQJ.js";
|
|
68
|
-
import "./chunk-
|
|
70
|
+
import "./chunk-OKBVGNH7.js";
|
|
69
71
|
import "./chunk-YMXYBG7U.js";
|
|
70
72
|
import {
|
|
71
73
|
AgentActivityHostProvider,
|
|
@@ -75,17 +77,17 @@ import {
|
|
|
75
77
|
useAgentActivityRuntime,
|
|
76
78
|
useAgentActivitySnapshot,
|
|
77
79
|
useOptionalAgentActivityRuntime
|
|
78
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-V7V7PU7Z.js";
|
|
79
81
|
import "./chunk-F5UR6EJG.js";
|
|
80
82
|
import "./chunk-ZWLWT3TZ.js";
|
|
81
83
|
import {
|
|
82
84
|
AgentGuiI18nProvider,
|
|
83
85
|
agentGuiI18nModule,
|
|
84
86
|
agentGuiI18nResources
|
|
85
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-CAZ7NYUE.js";
|
|
86
88
|
import "./chunk-PJP5BUU6.js";
|
|
87
89
|
import "./chunk-AODSTIED.js";
|
|
88
|
-
import "./chunk-
|
|
90
|
+
import "./chunk-VGUKS6JR.js";
|
|
89
91
|
import "./chunk-MIJXEELH.js";
|
|
90
92
|
import {
|
|
91
93
|
getAgentCustomMentionKind,
|
|
@@ -120,6 +122,7 @@ export {
|
|
|
120
122
|
agentGuiI18nResources,
|
|
121
123
|
createAgentSessionHandoffPrompt,
|
|
122
124
|
createAgentSessionMarkdownLink,
|
|
125
|
+
createAgentStatusController,
|
|
123
126
|
createLocalAgentGUIAgentTarget,
|
|
124
127
|
createLocalAgentGUIAgentTargets,
|
|
125
128
|
createSharedAgentGUIAgentTarget,
|
|
@@ -137,6 +140,7 @@ export {
|
|
|
137
140
|
resolveAgentGUIExpandedWindowFrame,
|
|
138
141
|
resolveAgentGUISelectedDirectoryAgent,
|
|
139
142
|
selectAgentPlanPromptTurn,
|
|
143
|
+
selectAgentStatusControllerSnapshot,
|
|
140
144
|
selectNeedsAttentionCount,
|
|
141
145
|
selectNeedsAttentionItems,
|
|
142
146
|
setAgentActivityRuntimeForTests,
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../index.ts"],"sourcesContent":["export {\n getAgentCustomMentionKind,\n registerAgentCustomMentionKind,\n resetAgentCustomMentionKindsForTests,\n type AgentCustomMentionChipContext,\n type AgentCustomMentionIdentity,\n type AgentCustomMentionKindDefinition,\n type AgentCustomMentionPresentation\n} from \"./shared/agentCustomMentionKinds\";\nexport {\n AGENT_PASTED_TEXT_BLOCK_KIND,\n AGENT_PASTED_TEXT_MENTION_KIND\n} from \"./shared/pastedTextKinds\";\nexport { AgentGUI } from \"./AgentGUI\";\nexport type {\n AgentGUIProps,\n AgentGUIReferenceProvenanceFilterCatalog\n} from \"./AgentGUI\";\nexport type { AgentGUIComposerAppendRequest } from \"./agent-gui/agentGuiNode/controller/useAgentGUIComposerAppendRequest\";\nexport {\n AgentHandoffMenu,\n type AgentHandoffMenuLabels,\n type AgentHandoffMenuProps\n} from \"./agent-gui/agentGuiNode/composer/AgentHandoffMenu\";\nexport {\n createAgentSessionHandoffPrompt,\n createAgentSessionMarkdownLink\n} from \"./agent-gui/agentGuiNode/agentRichText/agentMentionMarkdown\";\nexport type {\n CreateAgentSessionHandoffPromptInput,\n CreateAgentSessionMarkdownLinkInput\n} from \"./agent-gui/agentGuiNode/agentRichText/agentMentionMarkdown\";\nexport type { AgentComposerDraftFile } from \"./agent-gui/agentGuiNode/model/agentGuiNodeTypes\";\nexport type {\n AgentExternalPromptFilePreparationErrorCode,\n AgentExternalPromptFilePreparationResult,\n AgentExternalPromptFilePreparer,\n AgentPreparedExternalPromptFile\n} from \"./agent-gui/agentGuiNode/model/agentExternalPromptFiles\";\nexport type {\n AgentExternalPromptEntryResolution,\n AgentExternalPromptEntryResolver\n} from \"./agent-gui/agentGuiNode/model/agentExternalPromptEntries\";\nexport type { AgentGUIAccountMenuState } from \"./agent-gui/agentGuiNode/accountMenuState\";\nexport type {\n AgentGUIComposerContentType,\n AgentGUIComposerFocusMethod,\n AgentGUIEngagementContext,\n AgentGUIEngagementEvent,\n AgentGUIEngagementEventSink\n} from \"./agent-gui/agentGuiNode/engagement/agentGUIEngagement.types\";\nexport {\n agentGUIAgentIsReady,\n normalizeAgentGUIAgents,\n projectAgentGUIAgentsToTargets,\n resolveAgentGUISelectedDirectoryAgent\n} from \"./agents\";\nexport {\n agentGUIDefaultTargetProviders,\n createLocalAgentGUIAgentTarget,\n createLocalAgentGUIAgentTargets,\n createSharedAgentGUIAgentTarget,\n localAgentGUIAgentTargetId,\n normalizeAgentGUIAgentTargets,\n resolveAgentGUIAgentTarget\n} from \"./agentTargets\";\nexport type {\n AgentGUIAgent,\n AgentGUIAgentDirectoryPort,\n AgentGUIAgentDirectorySnapshot,\n AgentGUIAgentDirectoryStatus,\n AgentGUIAgentAvailability,\n AgentGUIAgentAvailabilityAction,\n AgentGUIAgentAvailabilityStatus,\n AgentGUIAgentOwner,\n AgentGUIAgentOwnership,\n AgentGUIHomeSuggestionId,\n AgentGUIAllAgentsPresentation,\n AgentGUIProvider,\n AgentGUIProviderRailAllPresentation,\n AgentGUIProviderRailMode,\n AgentGUIProviderReadinessGate,\n AgentGUIProviderReadinessGateAction,\n AgentGUIProviderReadinessGateStatus,\n AgentGUIAgentTarget,\n AgentGUIAgentTargetBadge,\n AgentGUIAgentTargetRef\n} from \"./types\";\nexport {\n AgentGuiI18nProvider,\n agentGuiI18nModule,\n agentGuiI18nResources\n} from \"./i18n/index\";\nexport type { AgentGuiI18nLocale } from \"./i18n/index\";\nexport { agentGuiDockIconUrl, agentGuiDockIconUrls } from \"./dockIcons\";\nexport {\n AGENT_GUI_DETAIL_MIN_WIDTH_PX,\n AGENT_GUI_EXPANDED_TARGET_WIDTH_PX,\n AGENT_GUI_STANDALONE_AUTO_COLLAPSE_WIDTH_PX,\n resolveAgentGUIExpandedWindowFrame,\n shouldAutoCollapseAgentGUIConversationRail\n} from \"./agent-gui/agentGuiNode/model/agentGuiRailLayout\";\nexport type {\n AgentGUIAgentsEmptyRenderer,\n AgentGUIConversationRailLayout,\n AgentGUIProviderUnavailableStateContext,\n AgentGUIProviderUnavailableStateRenderer,\n AgentGUISidebarFooterContext,\n AgentGUISidebarFooterRenderer\n} from \"./agent-gui/agentGuiNode/AgentGUINodeView\";\nexport {\n AGENT_CONTEXT_MENTION_PROVIDER_IDS,\n type AgentContextMentionProviderId,\n type AgentContextMentionProvider\n} from \"./agent-gui/agentGuiNode/agentContextMentionProvider\";\nexport { preloadAgentMentionBrowse } from \"./agent-gui/agentGuiNode/AgentMentionSearchController\";\nexport { AgentActivityHostProvider } from \"./agentActivityHost\";\nexport type { AgentActivityHostProviderProps } from \"./agentActivityHost\";\nexport { useEngineSelector } from \"./shared/engine/useEngineSelector\";\nexport type { EngineStateStore } from \"./shared/engine/useEngineSelector\";\nexport {\n dispatchAgentPlanPromptAction,\n selectAgentPlanPromptTurn\n} from \"./shared/agentConversation/agentPlanPromptDispatch\";\nexport type { AgentPlanPromptAction } from \"./shared/agentConversation/agentPlanPromptDispatch\";\nexport {\n AgentActivityRuntimeProvider,\n resetAgentActivityRuntimeForTests,\n setAgentActivityRuntimeForTests,\n useAgentActivitySnapshot,\n useAgentActivityRuntime,\n useOptionalAgentActivityRuntime\n} from \"./agentActivityRuntime\";\nexport type {\n AgentActivityRuntime,\n AgentActivityRuntimeListSessionMessagesInput,\n AgentActivityRuntimeProviderProps,\n AgentActivityRuntimePromptContentBlock,\n AgentActivityRuntimeDeleteSessionsBatchInput,\n AgentActivityRuntimeDeleteSessionsBatchResult,\n AgentActivityRuntimeSessionSectionDeletionCandidates,\n AgentActivityRuntimeSessionSectionScopeInput,\n AgentActivityRuntimeSetSessionPinnedInput,\n AgentActivityRuntimeUploadPromptContentInput,\n AgentActivityRuntimeUploadPromptContentResult,\n AgentActivityRuntimeUpdateSessionSettingsInput,\n AgentActivityRuntimeUpdateSessionSettingsResult\n} from \"./agentActivityRuntime\";\nexport type {\n AgentHostApi,\n AgentHostAgentTargetAuthenticatedAccount,\n AgentHostAgentTargetSetupSnapshot,\n AgentHostAgentTargetSetupState,\n AgentHostAgentTargetSetupWatch,\n AgentHostApplyWorkspaceGitPatchInput,\n AgentHostInputApi,\n AgentHostQuickPrompt,\n AgentHostQuickPromptSnapshot,\n AgentHostQuickPromptsApi,\n AgentHostSelectFilesInput,\n AgentHostRuntimeApi,\n AgentHostUserProject,\n AgentProviderProbeListInput,\n AgentProviderProbeListResult\n} from \"./host/agentHostApi\";\nexport type {\n AgentProbeProvider,\n AgentProbeSnapshot,\n PersistWriteResult,\n ReadWorkspaceAgentReadStateInput,\n AgentUsageQuota,\n AgentUsageSnapshot,\n WorkspaceAgentReadStateSnapshot,\n WriteWorkspaceAgentReadStateInput\n} from \"./shared/contracts/dto\";\nexport {\n selectNeedsAttentionCount,\n selectNeedsAttentionItems\n} from \"@tutti-os/agent-activity-core\";\nexport type {\n AgentActivityAdapter,\n AgentActivityMessage,\n AgentActivityNeedsAttentionItem,\n AgentActivitySnapshot\n} from \"@tutti-os/agent-activity-core\";\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../index.ts"],"sourcesContent":["export {\n getAgentCustomMentionKind,\n registerAgentCustomMentionKind,\n resetAgentCustomMentionKindsForTests,\n type AgentCustomMentionChipContext,\n type AgentCustomMentionIdentity,\n type AgentCustomMentionKindDefinition,\n type AgentCustomMentionPresentation\n} from \"./shared/agentCustomMentionKinds\";\nexport {\n AGENT_PASTED_TEXT_BLOCK_KIND,\n AGENT_PASTED_TEXT_MENTION_KIND\n} from \"./shared/pastedTextKinds\";\nexport { AgentGUI } from \"./AgentGUI\";\nexport type {\n AgentGUIProps,\n AgentGUIReferenceProvenanceFilterCatalog\n} from \"./AgentGUI\";\nexport type { AgentGUIComposerAppendRequest } from \"./agent-gui/agentGuiNode/controller/useAgentGUIComposerAppendRequest\";\nexport {\n createAgentStatusController,\n selectAgentStatusControllerSnapshot,\n type AgentStatusController,\n type AgentStatusControllerOptions,\n type AgentStatusControllerSnapshot,\n type AgentStatusFrame,\n type AgentStatusQuery,\n type AgentStatusRequestPhase,\n type AgentStatusRequestReason,\n type AgentStatusSelectionKey,\n type AgentStatusSectionState,\n type AgentStatusSource,\n type AgentStatusSourceError,\n type AgentStatusStreamObserver,\n type AgentStatusValue\n} from \"./agent-gui/agentGuiNode/controller/AgentStatusController\";\nexport {\n AgentHandoffMenu,\n type AgentHandoffMenuLabels,\n type AgentHandoffMenuProps\n} from \"./agent-gui/agentGuiNode/composer/AgentHandoffMenu\";\nexport {\n createAgentSessionHandoffPrompt,\n createAgentSessionMarkdownLink\n} from \"./agent-gui/agentGuiNode/agentRichText/agentMentionMarkdown\";\nexport type {\n CreateAgentSessionHandoffPromptInput,\n CreateAgentSessionMarkdownLinkInput\n} from \"./agent-gui/agentGuiNode/agentRichText/agentMentionMarkdown\";\nexport type { AgentComposerDraftFile } from \"./agent-gui/agentGuiNode/model/agentGuiNodeTypes\";\nexport type {\n AgentExternalPromptFilePreparationErrorCode,\n AgentExternalPromptFilePreparationResult,\n AgentExternalPromptFilePreparer,\n AgentPreparedExternalPromptFile\n} from \"./agent-gui/agentGuiNode/model/agentExternalPromptFiles\";\nexport type {\n AgentExternalPromptEntryResolution,\n AgentExternalPromptEntryResolver\n} from \"./agent-gui/agentGuiNode/model/agentExternalPromptEntries\";\nexport type { AgentGUIAccountMenuState } from \"./agent-gui/agentGuiNode/accountMenuState\";\nexport type {\n AgentGUIComposerContentType,\n AgentGUIComposerFocusMethod,\n AgentGUIEngagementContext,\n AgentGUIEngagementEvent,\n AgentGUIEngagementEventSink\n} from \"./agent-gui/agentGuiNode/engagement/agentGUIEngagement.types\";\nexport {\n agentGUIAgentIsReady,\n normalizeAgentGUIAgents,\n projectAgentGUIAgentsToTargets,\n resolveAgentGUISelectedDirectoryAgent\n} from \"./agents\";\nexport {\n agentGUIDefaultTargetProviders,\n createLocalAgentGUIAgentTarget,\n createLocalAgentGUIAgentTargets,\n createSharedAgentGUIAgentTarget,\n localAgentGUIAgentTargetId,\n normalizeAgentGUIAgentTargets,\n resolveAgentGUIAgentTarget\n} from \"./agentTargets\";\nexport type {\n AgentGUIAgent,\n AgentGUIAgentDirectoryPort,\n AgentGUIAgentDirectorySnapshot,\n AgentGUIAgentDirectoryStatus,\n AgentGUIAgentAvailability,\n AgentGUIAgentAvailabilityAction,\n AgentGUIAgentAvailabilityStatus,\n AgentGUIAgentOwner,\n AgentGUIAgentOwnership,\n AgentGUIHomeSuggestionId,\n AgentGUIAllAgentsPresentation,\n AgentGUIProvider,\n AgentGUIProviderRailAllPresentation,\n AgentGUIProviderRailMode,\n AgentGUIProviderReadinessGate,\n AgentGUIProviderReadinessGateAction,\n AgentGUIProviderReadinessGateStatus,\n AgentGUIAgentTarget,\n AgentGUIAgentTargetBadge,\n AgentGUIAgentTargetRef\n} from \"./types\";\nexport {\n AgentGuiI18nProvider,\n agentGuiI18nModule,\n agentGuiI18nResources\n} from \"./i18n/index\";\nexport type { AgentGuiI18nLocale } from \"./i18n/index\";\nexport { agentGuiDockIconUrl, agentGuiDockIconUrls } from \"./dockIcons\";\nexport {\n AGENT_GUI_DETAIL_MIN_WIDTH_PX,\n AGENT_GUI_EXPANDED_TARGET_WIDTH_PX,\n AGENT_GUI_STANDALONE_AUTO_COLLAPSE_WIDTH_PX,\n resolveAgentGUIExpandedWindowFrame,\n shouldAutoCollapseAgentGUIConversationRail\n} from \"./agent-gui/agentGuiNode/model/agentGuiRailLayout\";\nexport type {\n AgentGUIAgentsEmptyRenderer,\n AgentGUIConversationRailLayout,\n AgentGUIProviderUnavailableStateContext,\n AgentGUIProviderUnavailableStateRenderer,\n AgentGUISidebarFooterContext,\n AgentGUISidebarFooterRenderer\n} from \"./agent-gui/agentGuiNode/AgentGUINodeView\";\nexport {\n AGENT_CONTEXT_MENTION_PROVIDER_IDS,\n type AgentContextMentionProviderId,\n type AgentContextMentionProvider\n} from \"./agent-gui/agentGuiNode/agentContextMentionProvider\";\nexport { preloadAgentMentionBrowse } from \"./agent-gui/agentGuiNode/AgentMentionSearchController\";\nexport { AgentActivityHostProvider } from \"./agentActivityHost\";\nexport type { AgentActivityHostProviderProps } from \"./agentActivityHost\";\nexport { useEngineSelector } from \"./shared/engine/useEngineSelector\";\nexport type { EngineStateStore } from \"./shared/engine/useEngineSelector\";\nexport {\n dispatchAgentPlanPromptAction,\n selectAgentPlanPromptTurn\n} from \"./shared/agentConversation/agentPlanPromptDispatch\";\nexport type { AgentPlanPromptAction } from \"./shared/agentConversation/agentPlanPromptDispatch\";\nexport {\n AgentActivityRuntimeProvider,\n resetAgentActivityRuntimeForTests,\n setAgentActivityRuntimeForTests,\n useAgentActivitySnapshot,\n useAgentActivityRuntime,\n useOptionalAgentActivityRuntime\n} from \"./agentActivityRuntime\";\nexport type {\n AgentActivityRuntime,\n AgentActivityRuntimeListSessionMessagesInput,\n AgentActivityRuntimeProviderProps,\n AgentActivityRuntimePromptContentBlock,\n AgentActivityRuntimeDeleteSessionsBatchInput,\n AgentActivityRuntimeDeleteSessionsBatchResult,\n AgentActivityRuntimeSessionSectionDeletionCandidates,\n AgentActivityRuntimeSessionSectionScopeInput,\n AgentActivityRuntimeSetSessionPinnedInput,\n AgentActivityRuntimeUploadPromptContentInput,\n AgentActivityRuntimeUploadPromptContentResult,\n AgentActivityRuntimeUpdateSessionSettingsInput,\n AgentActivityRuntimeUpdateSessionSettingsResult\n} from \"./agentActivityRuntime\";\nexport type {\n AgentHostApi,\n AgentHostAgentTargetAuthenticatedAccount,\n AgentHostAgentTargetSetupSnapshot,\n AgentHostAgentTargetSetupState,\n AgentHostAgentTargetSetupWatch,\n AgentHostApplyWorkspaceGitPatchInput,\n AgentHostInputApi,\n AgentHostQuickPrompt,\n AgentHostQuickPromptSnapshot,\n AgentHostQuickPromptsApi,\n AgentHostSelectFilesInput,\n AgentHostRuntimeApi,\n AgentHostUserProject,\n AgentProviderProbeListInput,\n AgentProviderProbeListResult\n} from \"./host/agentHostApi\";\nexport type {\n AgentProbeProvider,\n AgentProbeSnapshot,\n PersistWriteResult,\n ReadWorkspaceAgentReadStateInput,\n AgentUsageQuota,\n AgentUsageSnapshot,\n WorkspaceAgentReadStateSnapshot,\n WriteWorkspaceAgentReadStateInput\n} from \"./shared/contracts/dto\";\nexport {\n selectNeedsAttentionCount,\n selectNeedsAttentionItems\n} from \"@tutti-os/agent-activity-core\";\nexport type {\n AgentActivityAdapter,\n AgentActivityMessage,\n AgentActivityNeedsAttentionItem,\n AgentActivitySnapshot\n} from \"@tutti-os/agent-activity-core\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgMA;AAAA,EACE;AAAA,EACA;AAAA,OACK;","names":[]}
|
package/dist/mention-search.js
CHANGED
|
@@ -3,22 +3,22 @@ import {
|
|
|
3
3
|
MAX_BROWSE_CACHE_ENTRIES,
|
|
4
4
|
preloadAgentMentionBrowse,
|
|
5
5
|
resetAgentMentionSearchBrowseCacheForTests
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-NNBJT5DD.js";
|
|
7
7
|
import "./chunk-VMPA46ET.js";
|
|
8
8
|
import "./chunk-XJ34OIEQ.js";
|
|
9
9
|
import "./chunk-JDVP33S5.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-K57GJTVC.js";
|
|
11
11
|
import "./chunk-5QPOMKMQ.js";
|
|
12
12
|
import "./chunk-RMQREVJY.js";
|
|
13
13
|
import "./chunk-FGLQZ6I4.js";
|
|
14
14
|
import "./chunk-YMXYBG7U.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-V7V7PU7Z.js";
|
|
16
16
|
import "./chunk-F5UR6EJG.js";
|
|
17
17
|
import "./chunk-ZWLWT3TZ.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-CAZ7NYUE.js";
|
|
19
19
|
import "./chunk-PJP5BUU6.js";
|
|
20
20
|
import "./chunk-AODSTIED.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-VGUKS6JR.js";
|
|
22
22
|
import "./chunk-MIJXEELH.js";
|
|
23
23
|
import "./chunk-D2JUDUYY.js";
|
|
24
24
|
import "./chunk-LCFMJPNA.js";
|
|
@@ -18,17 +18,17 @@ import {
|
|
|
18
18
|
resolveAgentGuiUnifiedDockLaunchPayload,
|
|
19
19
|
resolveAgentGuiWorkbenchContributionCopy,
|
|
20
20
|
resolveAgentGuiWorkbenchDefaultLaunchFrame
|
|
21
|
-
} from "../chunk-
|
|
21
|
+
} from "../chunk-3QPFTVLN.js";
|
|
22
22
|
import "../chunk-6II57C72.js";
|
|
23
23
|
import "../chunk-YSA4MXR5.js";
|
|
24
24
|
import "../chunk-MHOYBRCY.js";
|
|
25
25
|
import "../chunk-SZVHT57M.js";
|
|
26
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-5UTK6FDH.js";
|
|
27
27
|
import "../chunk-CX6XXG6R.js";
|
|
28
28
|
import "../chunk-PQPNDL4A.js";
|
|
29
|
-
import "../chunk-
|
|
29
|
+
import "../chunk-EVQ4JY3N.js";
|
|
30
30
|
import "../chunk-AODSTIED.js";
|
|
31
|
-
import "../chunk-
|
|
31
|
+
import "../chunk-VGUKS6JR.js";
|
|
32
32
|
import "../chunk-MIJXEELH.js";
|
|
33
33
|
import "../chunk-LCFMJPNA.js";
|
|
34
34
|
import "../chunk-5CLSJWUN.js";
|
package/dist/workbench/index.js
CHANGED
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
resolveAgentGuiUnifiedDockLaunchPayload,
|
|
15
15
|
resolveAgentGuiWorkbenchContributionCopy,
|
|
16
16
|
resolveAgentGuiWorkbenchConversationIdentity
|
|
17
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-3QPFTVLN.js";
|
|
18
18
|
import {
|
|
19
19
|
areAgentGuiWorkbenchNodeStatesEqual,
|
|
20
20
|
areAgentGuiWorkbenchStatesEqual,
|
|
@@ -56,12 +56,12 @@ import {
|
|
|
56
56
|
import {
|
|
57
57
|
resolveAgentGuiWorkbenchHeaderTitle,
|
|
58
58
|
resolveAgentGuiWorkbenchSessionTitle
|
|
59
|
-
} from "../chunk-
|
|
59
|
+
} from "../chunk-5UTK6FDH.js";
|
|
60
60
|
import "../chunk-CX6XXG6R.js";
|
|
61
61
|
import "../chunk-PQPNDL4A.js";
|
|
62
|
-
import "../chunk-
|
|
62
|
+
import "../chunk-EVQ4JY3N.js";
|
|
63
63
|
import "../chunk-AODSTIED.js";
|
|
64
|
-
import "../chunk-
|
|
64
|
+
import "../chunk-VGUKS6JR.js";
|
|
65
65
|
import "../chunk-MIJXEELH.js";
|
|
66
66
|
import "../chunk-LCFMJPNA.js";
|
|
67
67
|
import "../chunk-5CLSJWUN.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveAgentGuiWorkbenchHeaderTitle,
|
|
3
3
|
resolveAgentGuiWorkbenchSessionTitle
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-5UTK6FDH.js";
|
|
5
|
+
import "../chunk-VGUKS6JR.js";
|
|
6
6
|
import "../chunk-MIJXEELH.js";
|
|
7
7
|
import "../chunk-5CLSJWUN.js";
|
|
8
8
|
export {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tutti-os/agent-gui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.173",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -139,18 +139,18 @@
|
|
|
139
139
|
"dependencies": {
|
|
140
140
|
"@monaco-editor/react": "^4.7.0",
|
|
141
141
|
"@tanstack/react-virtual": "^3.13.12",
|
|
142
|
-
"@tutti-os/agent-activity-core": "0.0.
|
|
143
|
-
"@tutti-os/browser-node": "0.0.
|
|
144
|
-
"@tutti-os/ui-i18n-runtime": "0.0.
|
|
145
|
-
"@tutti-os/ui-react-hooks": "0.0.
|
|
146
|
-
"@tutti-os/ui-rich-text": "0.0.
|
|
147
|
-
"@tutti-os/ui-system": "0.0.
|
|
148
|
-
"@tutti-os/workbench-surface": "0.0.
|
|
149
|
-
"@tutti-os/workspace-external-core": "0.0.
|
|
150
|
-
"@tutti-os/workspace-file-manager": "0.0.
|
|
151
|
-
"@tutti-os/workspace-file-reference": "0.0.
|
|
152
|
-
"@tutti-os/workspace-issue-manager": "0.0.
|
|
153
|
-
"@tutti-os/workspace-user-project": "0.0.
|
|
142
|
+
"@tutti-os/agent-activity-core": "0.0.173",
|
|
143
|
+
"@tutti-os/browser-node": "0.0.173",
|
|
144
|
+
"@tutti-os/ui-i18n-runtime": "0.0.173",
|
|
145
|
+
"@tutti-os/ui-react-hooks": "0.0.173",
|
|
146
|
+
"@tutti-os/ui-rich-text": "0.0.173",
|
|
147
|
+
"@tutti-os/ui-system": "0.0.173",
|
|
148
|
+
"@tutti-os/workbench-surface": "0.0.173",
|
|
149
|
+
"@tutti-os/workspace-external-core": "0.0.173",
|
|
150
|
+
"@tutti-os/workspace-file-manager": "0.0.173",
|
|
151
|
+
"@tutti-os/workspace-file-reference": "0.0.173",
|
|
152
|
+
"@tutti-os/workspace-issue-manager": "0.0.173",
|
|
153
|
+
"@tutti-os/workspace-user-project": "0.0.173",
|
|
154
154
|
"clsx": "^2.1.1",
|
|
155
155
|
"framer-motion": "^12.40.0",
|
|
156
156
|
"lodash": "^4.17.21",
|
|
@@ -184,8 +184,8 @@
|
|
|
184
184
|
"typescript": "^5.8.3",
|
|
185
185
|
"vite": "^6.4.2",
|
|
186
186
|
"vitest": "^4.0.13",
|
|
187
|
-
"@tutti-os/
|
|
188
|
-
"@tutti-os/
|
|
187
|
+
"@tutti-os/client-tuttid-ts": "0.0.0",
|
|
188
|
+
"@tutti-os/config-tsconfig": "0.0.0"
|
|
189
189
|
},
|
|
190
190
|
"peerDependencies": {
|
|
191
191
|
"@tiptap/core": "^3.11.1",
|