@tutti-os/agent-gui 0.0.188 → 0.0.190
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-UZQ5VSGO.js +19 -0
- package/dist/agent-conversation/index.d.ts +4 -4
- package/dist/agent-conversation/index.js +10 -10
- package/dist/agent-gui.d.ts +9 -6
- package/dist/agent-gui.js +21 -21
- package/dist/agent-message-center/index.d.ts +1 -1
- package/dist/agent-message-center/index.js +9 -9
- package/dist/{agentConversationVM-DWEy7jzx.d.ts → agentConversationVM-Bn5s1UMx.d.ts} +58 -3
- package/dist/{agentGuiNodeTypes-CbBAccKv.d.ts → agentGuiNodeTypes-RL1iNmSe.d.ts} +15 -2
- package/dist/agents.d.ts +1 -1
- package/dist/app/renderer/agentactivity.css +5 -4
- package/dist/{chunk-Z5IASLIU.js → chunk-2CZIBPST.js} +4 -4
- package/dist/{chunk-43M2GHDA.js → chunk-2TPRBVDM.js} +2047 -1484
- package/dist/chunk-2TPRBVDM.js.map +1 -0
- package/dist/{chunk-CAZ7NYUE.js → chunk-44IFVKLS.js} +2 -2
- package/dist/{chunk-NCD5I4OB.js → chunk-4ZCSXKK5.js} +3 -3
- package/dist/{chunk-LLIM2OX6.js → chunk-6YRJ4OPB.js} +2 -2
- package/dist/{chunk-VGUKS6JR.js → chunk-AHDJFZAC.js} +123 -11
- package/dist/chunk-AHDJFZAC.js.map +1 -0
- package/dist/{chunk-ZREBC77R.js → chunk-CFWR4C36.js} +2 -2
- package/dist/{chunk-YSA4MXR5.js → chunk-DCZTHKWI.js} +2 -2
- package/dist/{chunk-5CLSJWUN.js → chunk-EWS7OGQK.js} +8 -1
- package/dist/chunk-EWS7OGQK.js.map +1 -0
- package/dist/{chunk-AODSTIED.js → chunk-F2U7LSJN.js} +2 -2
- package/dist/{chunk-U7GYZU6V.js → chunk-FJ4A3A6W.js} +5 -5
- package/dist/{chunk-62JB3KCN.js → chunk-HD2TXBXU.js} +1725 -1196
- package/dist/chunk-HD2TXBXU.js.map +1 -0
- package/dist/{chunk-5UTK6FDH.js → chunk-HH5PLD7L.js} +3 -3
- package/dist/{chunk-ETJFWUCA.js → chunk-HOT2PJ6T.js} +4 -4
- package/dist/{chunk-OKBVGNH7.js → chunk-KE3UYJMW.js} +2 -2
- package/dist/{chunk-6II57C72.js → chunk-ML53N3II.js} +2 -2
- package/dist/{chunk-V3QHMEJZ.js → chunk-QKCSWK7Y.js} +4 -4
- package/dist/{chunk-E5X3DSQZ.js → chunk-RSFK6YRS.js} +9 -9
- package/dist/{chunk-2674YZOF.js → chunk-RWUYIHO3.js} +3 -3
- package/dist/{chunk-SZVHT57M.js → chunk-UCDLFE2I.js} +2 -2
- package/dist/{chunk-KAF6JPGL.js → chunk-V3VPKWVK.js} +3 -3
- package/dist/chunk-V3VPKWVK.js.map +1 -0
- package/dist/context-mention-palette/index.js +10 -10
- package/dist/{contribution-C0MnLVKF.d.ts → contribution-DfeuQHH6.d.ts} +39 -0
- package/dist/conversation-rail-runtime.d.ts +7 -3
- package/dist/dock-icons.js +2 -2
- package/dist/i18n/index.d.ts +90 -14
- package/dist/i18n/index.js +2 -2
- package/dist/index.d.ts +206 -19
- package/dist/index.js +21 -21
- package/dist/mention-search.js +8 -8
- package/dist/provider-identity.js +1 -1
- package/dist/{types-CWFDZVkv.d.ts → types-izfKbJ8v.d.ts} +40 -0
- package/dist/workbench/contribution.d.ts +1 -1
- package/dist/workbench/contribution.js +9 -9
- package/dist/workbench/index.d.ts +2 -2
- package/dist/workbench/index.js +9 -9
- package/dist/workbench/launch.js +3 -3
- package/dist/workbench/providerCatalog.js +2 -2
- package/dist/workbench/sessionTitle.js +3 -3
- package/dist/workbench/state.js +3 -3
- package/package.json +16 -16
- package/dist/AgentRichTextReadonly-OKZPTCIX.js +0 -19
- package/dist/chunk-43M2GHDA.js.map +0 -1
- package/dist/chunk-5CLSJWUN.js.map +0 -1
- package/dist/chunk-62JB3KCN.js.map +0 -1
- package/dist/chunk-KAF6JPGL.js.map +0 -1
- package/dist/chunk-VGUKS6JR.js.map +0 -1
- /package/dist/{AgentRichTextReadonly-OKZPTCIX.js.map → AgentRichTextReadonly-UZQ5VSGO.js.map} +0 -0
- /package/dist/{chunk-Z5IASLIU.js.map → chunk-2CZIBPST.js.map} +0 -0
- /package/dist/{chunk-CAZ7NYUE.js.map → chunk-44IFVKLS.js.map} +0 -0
- /package/dist/{chunk-NCD5I4OB.js.map → chunk-4ZCSXKK5.js.map} +0 -0
- /package/dist/{chunk-LLIM2OX6.js.map → chunk-6YRJ4OPB.js.map} +0 -0
- /package/dist/{chunk-ZREBC77R.js.map → chunk-CFWR4C36.js.map} +0 -0
- /package/dist/{chunk-YSA4MXR5.js.map → chunk-DCZTHKWI.js.map} +0 -0
- /package/dist/{chunk-AODSTIED.js.map → chunk-F2U7LSJN.js.map} +0 -0
- /package/dist/{chunk-U7GYZU6V.js.map → chunk-FJ4A3A6W.js.map} +0 -0
- /package/dist/{chunk-5UTK6FDH.js.map → chunk-HH5PLD7L.js.map} +0 -0
- /package/dist/{chunk-ETJFWUCA.js.map → chunk-HOT2PJ6T.js.map} +0 -0
- /package/dist/{chunk-OKBVGNH7.js.map → chunk-KE3UYJMW.js.map} +0 -0
- /package/dist/{chunk-6II57C72.js.map → chunk-ML53N3II.js.map} +0 -0
- /package/dist/{chunk-V3QHMEJZ.js.map → chunk-QKCSWK7Y.js.map} +0 -0
- /package/dist/{chunk-E5X3DSQZ.js.map → chunk-RSFK6YRS.js.map} +0 -0
- /package/dist/{chunk-2674YZOF.js.map → chunk-RWUYIHO3.js.map} +0 -0
- /package/dist/{chunk-SZVHT57M.js.map → chunk-UCDLFE2I.js.map} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import react__default, { ReactNode, PropsWithChildren, JSX } from 'react';
|
|
|
3
3
|
import * as _tutti_os_ui_i18n_runtime from '@tutti-os/ui-i18n-runtime';
|
|
4
4
|
import { I18nRuntime } from '@tutti-os/ui-i18n-runtime';
|
|
5
5
|
import * as _tutti_os_agent_activity_core from '@tutti-os/agent-activity-core';
|
|
6
|
-
import { AgentActivityGoalControlInput, AgentActivityGoalControlResult, AgentActivityCreateSessionInput, AgentActivitySession, AgentActivityDeleteSessionInput, AgentActivityDeleteSessionResult, AgentActivitySendInput, AgentActivitySessionSettings,
|
|
6
|
+
import { AgentActivityGoalControlInput, AgentActivityGoalControlResult, AgentActivityCreateSessionInput, AgentActivitySession, AgentActivityDeleteSessionInput, AgentActivityDeleteSessionResult, AgentActivitySendInput, AgentActivitySessionSettings, AgentActivityActivateSessionResult, AgentActivitySnapshot, AgentSessionEngine, AgentActivityMessageOrder, AgentActivityMessagePage, AgentActivitySendInputResult, AgentActivityRenameSessionInput, AgentActivitySetCollaborationAdoptionInput, AgentActivityCollaborationRun, AgentActivitySubmitInteractiveInput, AgentActivitySubmitInteractiveResult, AgentActivitySnapshotListener, AgentActivityMessageSemantics, AgentActivityGoalControlAction, AgentActivityTurn, AgentActivitySlashCommandPolicy, AgentActivityUsage, CanonicalAgentSession, AgentActivitySubmitSettingsPatch, AgentSessionEngineState } from '@tutti-os/agent-activity-core';
|
|
7
7
|
export { AgentActivityAdapter, AgentActivityMessage, AgentActivityNeedsAttentionItem, AgentActivitySnapshot, selectNeedsAttentionCount, selectNeedsAttentionItems } from '@tutti-os/agent-activity-core';
|
|
8
8
|
import { WorkspaceUserProjectService, WorkspaceUserProject } from '@tutti-os/workspace-user-project/contracts';
|
|
9
9
|
import { WorkspaceFileReference, ReferenceLocateTarget, WorkspaceFileReferenceAdapter, ReferenceProvenanceCatalog } from '@tutti-os/workspace-file-reference/contracts';
|
|
@@ -91,6 +91,7 @@ interface AgentHostAgentSessionPermissionConfig {
|
|
|
91
91
|
}
|
|
92
92
|
interface AgentHostAgentSessionComposerSettings {
|
|
93
93
|
model?: string | null;
|
|
94
|
+
modelPlanId?: string | null;
|
|
94
95
|
reasoningEffort?: AgentHostAgentSessionReasoningEffort | null;
|
|
95
96
|
speed?: AgentHostAgentSessionSpeed | null;
|
|
96
97
|
planMode?: boolean;
|
|
@@ -410,12 +411,10 @@ interface AgentActivityRuntimeActivateSessionInputBase {
|
|
|
410
411
|
type AgentActivityRuntimeActivateSessionInput = (AgentActivityRuntimeActivateSessionInputBase & {
|
|
411
412
|
agentTargetId: string;
|
|
412
413
|
clientSubmitId: string;
|
|
413
|
-
initialGoalControl?: AgentActivityInitialGoalControl;
|
|
414
414
|
mode: "new";
|
|
415
415
|
}) | (AgentActivityRuntimeActivateSessionInputBase & {
|
|
416
416
|
agentTargetId?: string | null;
|
|
417
417
|
clientSubmitId?: never;
|
|
418
|
-
initialGoalControl?: never;
|
|
419
418
|
mode: "existing";
|
|
420
419
|
});
|
|
421
420
|
interface AgentActivityRuntimeUnactivateSessionInput {
|
|
@@ -563,6 +562,11 @@ interface AgentActivityRuntime {
|
|
|
563
562
|
readSessionAttachment?(input: AgentActivityRuntimeReadSessionAttachmentInput): Promise<AgentActivityRuntimeSessionAttachment>;
|
|
564
563
|
readPromptAsset?(input: AgentActivityRuntimeReadPromptAssetInput): Promise<AgentActivityRuntimePromptAsset>;
|
|
565
564
|
renameSession(input: AgentActivityRenameSessionInput): Promise<AgentActivitySession>;
|
|
565
|
+
/**
|
|
566
|
+
* Record whether a collaboration outcome was adopted.
|
|
567
|
+
* Optional; hosts without support omit it and adoption controls stay hidden.
|
|
568
|
+
*/
|
|
569
|
+
setCollaborationAdoption?(input: AgentActivitySetCollaborationAdoptionInput): Promise<AgentActivityCollaborationRun>;
|
|
566
570
|
setSessionPinned(input: AgentActivityRuntimeSetSessionPinnedInput): Promise<AgentActivitySession>;
|
|
567
571
|
trackSettingsProjectChange?(input: AgentActivityRuntimeTrackSettingsProjectChangeInput): Promise<void>;
|
|
568
572
|
trackDraftComposerSettingsChange?(input: AgentActivityRuntimeTrackDraftComposerSettingsChangeInput): Promise<void>;
|
|
@@ -1057,11 +1061,49 @@ interface AgentGUIAgentAvailability {
|
|
|
1057
1061
|
pendingAction?: AgentGUIAgentAvailabilityAction | null;
|
|
1058
1062
|
}
|
|
1059
1063
|
interface AgentGUIAgentOwner {
|
|
1064
|
+
userId?: string | null;
|
|
1060
1065
|
name?: string | null;
|
|
1061
1066
|
avatarUrl?: string | null;
|
|
1062
1067
|
}
|
|
1063
1068
|
/** Host-authoritative ownership classification for Agent directory entries. */
|
|
1064
1069
|
type AgentGUIAgentOwnership = "self" | "shared";
|
|
1070
|
+
interface AgentGUISharedAgentQuota {
|
|
1071
|
+
unit: "runs" | "tokens";
|
|
1072
|
+
remaining: number;
|
|
1073
|
+
limit?: number;
|
|
1074
|
+
resetAt?: string | null;
|
|
1075
|
+
}
|
|
1076
|
+
interface AgentGUISharedAgentConcurrency {
|
|
1077
|
+
active: number;
|
|
1078
|
+
limit: number;
|
|
1079
|
+
}
|
|
1080
|
+
interface AgentGUISharedAgentCostQuota {
|
|
1081
|
+
currency: string;
|
|
1082
|
+
remainingMicros: number;
|
|
1083
|
+
limitMicros?: number;
|
|
1084
|
+
}
|
|
1085
|
+
interface AgentGUISharedAgentAllowedModel {
|
|
1086
|
+
modelPlanId?: string | null;
|
|
1087
|
+
model: string;
|
|
1088
|
+
}
|
|
1089
|
+
interface AgentGUISharedAgentPolicyPermissions {
|
|
1090
|
+
consult: boolean;
|
|
1091
|
+
review: boolean;
|
|
1092
|
+
delegate: boolean;
|
|
1093
|
+
upgrade: boolean;
|
|
1094
|
+
}
|
|
1095
|
+
/** Credential-free access snapshot supplied by the shared-Agent control plane. */
|
|
1096
|
+
interface AgentGUISharedAgentAccess {
|
|
1097
|
+
grantId: string;
|
|
1098
|
+
ownerUserId: string;
|
|
1099
|
+
ownerOnline: boolean;
|
|
1100
|
+
auditRequired: boolean;
|
|
1101
|
+
quota?: AgentGUISharedAgentQuota | null;
|
|
1102
|
+
concurrency?: AgentGUISharedAgentConcurrency | null;
|
|
1103
|
+
costQuota?: AgentGUISharedAgentCostQuota | null;
|
|
1104
|
+
allowedModels?: readonly AgentGUISharedAgentAllowedModel[] | null;
|
|
1105
|
+
policyPermissions?: AgentGUISharedAgentPolicyPermissions | null;
|
|
1106
|
+
}
|
|
1065
1107
|
/**
|
|
1066
1108
|
* Host-projected entry from the workspace `/agents` directory.
|
|
1067
1109
|
*
|
|
@@ -1081,6 +1123,7 @@ interface AgentGUIAgent {
|
|
|
1081
1123
|
ownerDeviceLabel?: string | null;
|
|
1082
1124
|
owner?: AgentGUIAgentOwner | null;
|
|
1083
1125
|
ownership?: AgentGUIAgentOwnership | null;
|
|
1126
|
+
sharedAccess?: AgentGUISharedAgentAccess | null;
|
|
1084
1127
|
availability: AgentGUIAgentAvailability;
|
|
1085
1128
|
provider: AgentGUIProvider;
|
|
1086
1129
|
setupKind?: "target_runtime" | null;
|
|
@@ -1393,6 +1436,13 @@ interface WorkspaceAgentSessionDetailThinking {
|
|
|
1393
1436
|
occurredAtUnixMs?: number | null;
|
|
1394
1437
|
sourceTimelineItems?: WorkspaceAgentActivityTimelineItem[];
|
|
1395
1438
|
}
|
|
1439
|
+
interface WorkspaceAgentSessionDetailGoalControl {
|
|
1440
|
+
id: string;
|
|
1441
|
+
action: AgentActivityGoalControlAction;
|
|
1442
|
+
body: string;
|
|
1443
|
+
occurredAtUnixMs?: number | null;
|
|
1444
|
+
sourceTimelineItems?: WorkspaceAgentActivityTimelineItem[];
|
|
1445
|
+
}
|
|
1396
1446
|
interface WorkspaceAgentSessionDetailToolCall {
|
|
1397
1447
|
id: string;
|
|
1398
1448
|
name: string;
|
|
@@ -1445,6 +1495,7 @@ interface WorkspaceAgentSessionDetailViewModel {
|
|
|
1445
1495
|
session: AgentActivitySession;
|
|
1446
1496
|
cwd: string;
|
|
1447
1497
|
workspaceRoot: string | null;
|
|
1498
|
+
goalControls?: WorkspaceAgentSessionDetailGoalControl[];
|
|
1448
1499
|
turns: WorkspaceAgentSessionDetailTurn[];
|
|
1449
1500
|
sessionTurns?: readonly AgentActivityTurn[];
|
|
1450
1501
|
showProcessingIndicator?: boolean;
|
|
@@ -1508,8 +1559,53 @@ interface AgentGeneratedImageRowVM {
|
|
|
1508
1559
|
occurredAtUnixMs: number | null;
|
|
1509
1560
|
}
|
|
1510
1561
|
|
|
1562
|
+
interface AgentGoalControlRowVM {
|
|
1563
|
+
kind: "goal-control";
|
|
1564
|
+
id: string;
|
|
1565
|
+
turnId: null;
|
|
1566
|
+
action: AgentActivityGoalControlAction;
|
|
1567
|
+
body: string;
|
|
1568
|
+
occurredAtUnixMs: number | null;
|
|
1569
|
+
sourceTimelineItems?: WorkspaceAgentActivityTimelineItem[];
|
|
1570
|
+
}
|
|
1571
|
+
|
|
1511
1572
|
type AgentTranscriptPresentationKind = "content" | "specific-progress" | "turn-boundary";
|
|
1512
1573
|
|
|
1574
|
+
interface AgentCollaborationUsageVM {
|
|
1575
|
+
inputTokens: number;
|
|
1576
|
+
outputTokens: number;
|
|
1577
|
+
}
|
|
1578
|
+
/**
|
|
1579
|
+
* Typed projection of one durable "collaboration" timeline message (the
|
|
1580
|
+
* daemon projects each collaboration run into the source session transcript
|
|
1581
|
+
* with messageId `collab:<runId>`; status transitions update the same message
|
|
1582
|
+
* in place). Pure data — rendering and adoption actions live in
|
|
1583
|
+
* `AgentCollaborationRow`.
|
|
1584
|
+
*/
|
|
1585
|
+
interface AgentCollaborationVM {
|
|
1586
|
+
kind: "collaboration";
|
|
1587
|
+
runId: string;
|
|
1588
|
+
/** Session identity of the source transcript row, for adoption commands. */
|
|
1589
|
+
workspaceId: string | null;
|
|
1590
|
+
agentSessionId: string | null;
|
|
1591
|
+
mode: "consult" | "fork" | "delegate" | "handoff" | (string & {});
|
|
1592
|
+
status: "running" | "completed" | "failed" | "canceled" | (string & {});
|
|
1593
|
+
triggerSource: "user" | "agent" | "policy" | (string & {});
|
|
1594
|
+
triggerReason: string | null;
|
|
1595
|
+
targetSessionId: string | null;
|
|
1596
|
+
targetAgentTargetId: string | null;
|
|
1597
|
+
modelPlanId: string | null;
|
|
1598
|
+
/** Optional display name when the daemon payload carries it. */
|
|
1599
|
+
modelPlanName: string | null;
|
|
1600
|
+
model: string | null;
|
|
1601
|
+
contextScope: string | null;
|
|
1602
|
+
resultText: string | null;
|
|
1603
|
+
failureReason: string | null;
|
|
1604
|
+
durationMs: number | null;
|
|
1605
|
+
usage: AgentCollaborationUsageVM | null;
|
|
1606
|
+
adoption: "pending" | "adopted" | "rejected" | "not_applicable" | (string & {});
|
|
1607
|
+
}
|
|
1608
|
+
|
|
1513
1609
|
interface AgentMessageContentVM {
|
|
1514
1610
|
kind: "message-content";
|
|
1515
1611
|
id: string;
|
|
@@ -1518,8 +1614,10 @@ interface AgentMessageContentVM {
|
|
|
1518
1614
|
presentationKind: AgentTranscriptPresentationKind;
|
|
1519
1615
|
copyText?: string | null;
|
|
1520
1616
|
statusKind?: ToolCallStatusKind | null;
|
|
1521
|
-
contentKind?: "text" | "image-grid" | "plan";
|
|
1617
|
+
contentKind?: "text" | "image-grid" | "plan" | "collaboration";
|
|
1522
1618
|
isTurnFinalText?: true;
|
|
1619
|
+
/** Typed payload for `contentKind: "collaboration"` rows. */
|
|
1620
|
+
collaboration?: AgentCollaborationVM | null;
|
|
1523
1621
|
images?: AgentMessageImageVM[];
|
|
1524
1622
|
occurredAtUnixMs: number | null;
|
|
1525
1623
|
visibleError?: {
|
|
@@ -1735,7 +1833,7 @@ interface AgentTurnSummaryRowVM {
|
|
|
1735
1833
|
occurredAtUnixMs: number | null;
|
|
1736
1834
|
}
|
|
1737
1835
|
|
|
1738
|
-
type AgentTranscriptRowVM = AgentGeneratedImageRowVM | AgentMessageRowVM | AgentToolGroupRowVM | AgentTurnSummaryRowVM | AgentProcessingRowVM;
|
|
1836
|
+
type AgentTranscriptRowVM = AgentGeneratedImageRowVM | AgentGoalControlRowVM | AgentMessageRowVM | AgentToolGroupRowVM | AgentTurnSummaryRowVM | AgentProcessingRowVM;
|
|
1739
1837
|
|
|
1740
1838
|
type AgentConversationPromptVM = AgentApprovalItemVM | {
|
|
1741
1839
|
kind: "ask-user";
|
|
@@ -2022,6 +2120,12 @@ interface AgentGUIComposerSettingOption {
|
|
|
2022
2120
|
label: string;
|
|
2023
2121
|
description?: string;
|
|
2024
2122
|
supportsImageInput?: boolean;
|
|
2123
|
+
/** Bound plan identity for options aggregated from model access plans. */
|
|
2124
|
+
modelPlanId?: string | null;
|
|
2125
|
+
/** Display name of the plan (or provider) the option originates from. */
|
|
2126
|
+
sourceName?: string;
|
|
2127
|
+
/** When the option takes effect after selection. */
|
|
2128
|
+
effect?: "new_session" | "next_call";
|
|
2025
2129
|
}
|
|
2026
2130
|
interface AgentGUIProviderSkillOption {
|
|
2027
2131
|
name: string;
|
|
@@ -2086,6 +2190,11 @@ type AgentComposerDraftContent = [
|
|
|
2086
2190
|
/** One atomic, unsent composer message. */
|
|
2087
2191
|
type AgentComposerDraft = AgentComposerDraftContent;
|
|
2088
2192
|
type AgentComposerDraftFile = Omit<AgentComposerRegularFileBlock, "type" | "kind">;
|
|
2193
|
+
interface AgentGUIComposerModelPlanVM {
|
|
2194
|
+
id: string;
|
|
2195
|
+
name: string;
|
|
2196
|
+
protocol?: string | null;
|
|
2197
|
+
}
|
|
2089
2198
|
interface AgentGUIComposerSettingsVM {
|
|
2090
2199
|
sessionSettings: AgentSessionComposerSettings | null;
|
|
2091
2200
|
draftSettings: {
|
|
@@ -2128,6 +2237,8 @@ interface AgentGUIComposerSettingsVM {
|
|
|
2128
2237
|
projectLocked?: boolean;
|
|
2129
2238
|
projectPathIsRemote?: boolean;
|
|
2130
2239
|
collapseModelOptionsToLatest?: boolean;
|
|
2240
|
+
modelPlan?: AgentGUIComposerModelPlanVM | null;
|
|
2241
|
+
modelSwitchTakesEffectNextTurn?: boolean;
|
|
2131
2242
|
availableModels: AgentGUIComposerSettingOption[];
|
|
2132
2243
|
availableReasoningEfforts: AgentGUIComposerSettingOption[];
|
|
2133
2244
|
availableSpeeds: AgentGUIComposerSettingOption[];
|
|
@@ -2623,6 +2734,48 @@ declare const agentGuiI18nResources: {
|
|
|
2623
2734
|
readonly workspaceCenterSearchAria: "Open room search";
|
|
2624
2735
|
readonly workspaceCenterSearchTitle: "Search nodes, partitions, and notes in this room";
|
|
2625
2736
|
readonly agentGui: {
|
|
2737
|
+
readonly collaborationModeConsult: "Consult";
|
|
2738
|
+
readonly collaborationModeFork: "Fork";
|
|
2739
|
+
readonly collaborationModeDelegate: "Delegate";
|
|
2740
|
+
readonly collaborationModeHandoff: "Handoff";
|
|
2741
|
+
readonly collaborationTriggerUser: "Manual";
|
|
2742
|
+
readonly collaborationTriggerAgent: "Agent";
|
|
2743
|
+
readonly collaborationTriggerPolicy: "Policy";
|
|
2744
|
+
readonly collaborationStatusRunning: "Running";
|
|
2745
|
+
readonly collaborationStatusCompleted: "Completed";
|
|
2746
|
+
readonly collaborationStatusFailed: "Failed";
|
|
2747
|
+
readonly collaborationStatusCanceled: "Canceled";
|
|
2748
|
+
readonly collaborationPlanLabel: "Plan: {{name}}";
|
|
2749
|
+
readonly collaborationUsageTokens: "Tokens: {{input}} in · {{output}} out";
|
|
2750
|
+
readonly collaborationFailureReason: "Failure: {{reason}}";
|
|
2751
|
+
readonly collaborationResultShow: "Show result";
|
|
2752
|
+
readonly collaborationResultHide: "Hide result";
|
|
2753
|
+
readonly collaborationAdopt: "Adopt";
|
|
2754
|
+
readonly collaborationReject: "Reject";
|
|
2755
|
+
readonly collaborationAdopted: "Adopted";
|
|
2756
|
+
readonly collaborationRejected: "Not adopted";
|
|
2757
|
+
readonly collaborationAdoptionFailed: "Failed to record the adoption decision.";
|
|
2758
|
+
readonly composerModelPlanBadge: "Plan: {{name}}";
|
|
2759
|
+
readonly composerModelSearchPlaceholder: "Search models";
|
|
2760
|
+
readonly composerModelSearchEmpty: "No matching models";
|
|
2761
|
+
readonly composerModelFavoritesGroup: "Favorites";
|
|
2762
|
+
readonly composerModelRecentsGroup: "Recently used";
|
|
2763
|
+
readonly composerModelSwitchNextTurnHint: "Applies from the next request";
|
|
2764
|
+
readonly composerModelFavoriteAdd: "Add to favorites";
|
|
2765
|
+
readonly composerModelFavoriteRemove: "Remove from favorites";
|
|
2766
|
+
readonly consultEntryLabel: "Consult model";
|
|
2767
|
+
readonly consultDialogTitle: "Consult a model";
|
|
2768
|
+
readonly consultPlanLabel: "Plan";
|
|
2769
|
+
readonly consultModelLabel: "Model";
|
|
2770
|
+
readonly consultQuestionLabel: "Question";
|
|
2771
|
+
readonly consultQuestionPlaceholder: "Ask another model for advice...";
|
|
2772
|
+
readonly consultIncludeContextLabel: "Attach the latest assistant reply as context";
|
|
2773
|
+
readonly consultSubmit: "Consult";
|
|
2774
|
+
readonly consultSubmitting: "Consulting...";
|
|
2775
|
+
readonly mentionFilterCollab: "Collaboration";
|
|
2776
|
+
readonly mentionGroupCollabSessions: "Collaboration sessions";
|
|
2777
|
+
readonly mentionEmptyCollabSessions: "No collaboration sessions yet";
|
|
2778
|
+
readonly mentionCollaboratorFallback: "Collaborator";
|
|
2626
2779
|
readonly projectLocked: "Project cannot be changed after the session starts";
|
|
2627
2780
|
readonly projectMissingDescription: "This conversation's working directory no longer exists";
|
|
2628
2781
|
readonly fileMentionEnterFolder: "Enter folder";
|
|
@@ -2640,7 +2793,6 @@ declare const agentGuiI18nResources: {
|
|
|
2640
2793
|
readonly provenanceFilterMembers: "Members";
|
|
2641
2794
|
readonly provenanceFilterReset: "Reset";
|
|
2642
2795
|
readonly mentionFilterSession: "Sessions";
|
|
2643
|
-
readonly mentionFilterCollab: "Collaboration";
|
|
2644
2796
|
readonly mentionFilterIssue: "Tasks";
|
|
2645
2797
|
readonly mentionKindAgent: "Agent";
|
|
2646
2798
|
readonly mentionKindApp: "App";
|
|
@@ -2655,10 +2807,8 @@ declare const agentGuiI18nResources: {
|
|
|
2655
2807
|
readonly mentionGroupApps: "Apps";
|
|
2656
2808
|
readonly mentionGroupAgents: "Agents";
|
|
2657
2809
|
readonly mentionGroupMySessions: "My sessions";
|
|
2658
|
-
readonly mentionGroupCollabSessions: "Collaboration sessions";
|
|
2659
2810
|
readonly mentionGroupIssues: "Tasks";
|
|
2660
2811
|
readonly mentionEmptyMySessions: "No sessions yet";
|
|
2661
|
-
readonly mentionEmptyCollabSessions: "No collaboration sessions yet";
|
|
2662
2812
|
readonly mentionEmptyApps: "No apps yet";
|
|
2663
2813
|
readonly mentionEmptyAgents: "No agents available";
|
|
2664
2814
|
readonly mentionEmptyIssues: "No tasks yet";
|
|
@@ -2685,7 +2835,6 @@ declare const agentGuiI18nResources: {
|
|
|
2685
2835
|
readonly taskContentLabel: "Task content";
|
|
2686
2836
|
readonly taskTitleLabel: "Task title";
|
|
2687
2837
|
};
|
|
2688
|
-
readonly mentionCollaboratorFallback: "Collaborator";
|
|
2689
2838
|
readonly syncPending: "Saved locally, syncing to cloud";
|
|
2690
2839
|
readonly syncSynced: "Synced to cloud";
|
|
2691
2840
|
readonly syncFailed: "Cloud sync failed";
|
|
@@ -2891,9 +3040,6 @@ declare const agentGuiI18nResources: {
|
|
|
2891
3040
|
readonly conversationCopyImagesOmitted: string;
|
|
2892
3041
|
readonly conversationCopyInProgress: string;
|
|
2893
3042
|
readonly sessionActionUnavailable: string;
|
|
2894
|
-
readonly contextCompactionInProgress: "Compacting context";
|
|
2895
|
-
readonly contextCompactionCompleted: "Context compacted.";
|
|
2896
|
-
readonly contextCompactionInterrupted: "Context compaction interrupted.";
|
|
2897
3043
|
readonly turnSummary: "Changed files";
|
|
2898
3044
|
readonly userMessageLocator: "User messages";
|
|
2899
3045
|
readonly turnSummaryFilesChanged: "{{count}} files changed";
|
|
@@ -2952,6 +3098,9 @@ declare const agentGuiI18nResources: {
|
|
|
2952
3098
|
readonly showLessConversations: "Show less";
|
|
2953
3099
|
readonly deleteSession: "Delete session";
|
|
2954
3100
|
readonly pinSession: "Pin session";
|
|
3101
|
+
readonly contextCompactionInProgress: "Compacting context";
|
|
3102
|
+
readonly contextCompactionCompleted: "Context compacted.";
|
|
3103
|
+
readonly contextCompactionInterrupted: "Context compaction interrupted.";
|
|
2955
3104
|
readonly visibleErrorStartFailed: "{{provider}} failed to start";
|
|
2956
3105
|
readonly visibleErrorRequestFailed: "{{provider}} request failed";
|
|
2957
3106
|
readonly visibleErrorAuthRequired: "{{provider}} needs authentication or configuration";
|
|
@@ -5309,6 +5458,48 @@ declare const agentGuiI18nResources: {
|
|
|
5309
5458
|
readonly workspaceCenterSearchAria: "打开房间搜索";
|
|
5310
5459
|
readonly workspaceCenterSearchTitle: "在当前房间搜索节点、分区与便签";
|
|
5311
5460
|
readonly agentGui: {
|
|
5461
|
+
readonly collaborationModeConsult: "咨询";
|
|
5462
|
+
readonly collaborationModeFork: "Fork";
|
|
5463
|
+
readonly collaborationModeDelegate: "委派";
|
|
5464
|
+
readonly collaborationModeHandoff: "Handoff";
|
|
5465
|
+
readonly collaborationTriggerUser: "手动";
|
|
5466
|
+
readonly collaborationTriggerAgent: "Agent";
|
|
5467
|
+
readonly collaborationTriggerPolicy: "策略";
|
|
5468
|
+
readonly collaborationStatusRunning: "进行中";
|
|
5469
|
+
readonly collaborationStatusCompleted: "已完成";
|
|
5470
|
+
readonly collaborationStatusFailed: "失败";
|
|
5471
|
+
readonly collaborationStatusCanceled: "已取消";
|
|
5472
|
+
readonly collaborationPlanLabel: "方案:{{name}}";
|
|
5473
|
+
readonly collaborationUsageTokens: "Tokens:输入 {{input}} · 输出 {{output}}";
|
|
5474
|
+
readonly collaborationFailureReason: "失败原因:{{reason}}";
|
|
5475
|
+
readonly collaborationResultShow: "查看结果";
|
|
5476
|
+
readonly collaborationResultHide: "收起结果";
|
|
5477
|
+
readonly collaborationAdopt: "采纳";
|
|
5478
|
+
readonly collaborationReject: "不采纳";
|
|
5479
|
+
readonly collaborationAdopted: "已采纳";
|
|
5480
|
+
readonly collaborationRejected: "未采纳";
|
|
5481
|
+
readonly collaborationAdoptionFailed: "记录采纳状态失败";
|
|
5482
|
+
readonly composerModelPlanBadge: "方案:{{name}}";
|
|
5483
|
+
readonly composerModelSearchPlaceholder: "搜索模型";
|
|
5484
|
+
readonly composerModelSearchEmpty: "没有匹配的模型";
|
|
5485
|
+
readonly composerModelFavoritesGroup: "收藏";
|
|
5486
|
+
readonly composerModelRecentsGroup: "最近使用";
|
|
5487
|
+
readonly composerModelSwitchNextTurnHint: "下一次调用生效";
|
|
5488
|
+
readonly composerModelFavoriteAdd: "添加到收藏";
|
|
5489
|
+
readonly composerModelFavoriteRemove: "取消收藏";
|
|
5490
|
+
readonly consultEntryLabel: "咨询模型";
|
|
5491
|
+
readonly consultDialogTitle: "咨询模型";
|
|
5492
|
+
readonly consultPlanLabel: "方案";
|
|
5493
|
+
readonly consultModelLabel: "模型";
|
|
5494
|
+
readonly consultQuestionLabel: "问题";
|
|
5495
|
+
readonly consultQuestionPlaceholder: "向其他模型咨询建议…";
|
|
5496
|
+
readonly consultIncludeContextLabel: "附带当前会话最后回复作为上下文";
|
|
5497
|
+
readonly consultSubmit: "发起咨询";
|
|
5498
|
+
readonly consultSubmitting: "咨询中…";
|
|
5499
|
+
readonly mentionFilterCollab: "协作";
|
|
5500
|
+
readonly mentionGroupCollabSessions: "协作会话";
|
|
5501
|
+
readonly mentionEmptyCollabSessions: "暂无协作会话";
|
|
5502
|
+
readonly mentionCollaboratorFallback: "协作者";
|
|
5312
5503
|
readonly projectLocked: "会话开始后项目不可更改";
|
|
5313
5504
|
readonly projectMissingDescription: "此对话的工作目录已不存在";
|
|
5314
5505
|
readonly fileMentionEnterFolder: "进入文件夹";
|
|
@@ -5326,7 +5517,6 @@ declare const agentGuiI18nResources: {
|
|
|
5326
5517
|
readonly provenanceFilterMembers: "成员";
|
|
5327
5518
|
readonly provenanceFilterReset: "重置";
|
|
5328
5519
|
readonly mentionFilterSession: "会话";
|
|
5329
|
-
readonly mentionFilterCollab: "协作";
|
|
5330
5520
|
readonly mentionFilterIssue: "任务";
|
|
5331
5521
|
readonly mentionKindAgent: "智能体";
|
|
5332
5522
|
readonly mentionKindApp: "应用";
|
|
@@ -5341,10 +5531,8 @@ declare const agentGuiI18nResources: {
|
|
|
5341
5531
|
readonly mentionGroupApps: "应用";
|
|
5342
5532
|
readonly mentionGroupAgents: "智能体";
|
|
5343
5533
|
readonly mentionGroupMySessions: "我的会话";
|
|
5344
|
-
readonly mentionGroupCollabSessions: "协作会话";
|
|
5345
5534
|
readonly mentionGroupIssues: "任务";
|
|
5346
5535
|
readonly mentionEmptyMySessions: "暂无会话";
|
|
5347
|
-
readonly mentionEmptyCollabSessions: "暂无协作会话";
|
|
5348
5536
|
readonly mentionEmptyApps: "暂无应用";
|
|
5349
5537
|
readonly mentionEmptyAgents: "暂无可用智能体";
|
|
5350
5538
|
readonly mentionEmptyIssues: "暂无任务";
|
|
@@ -5371,7 +5559,6 @@ declare const agentGuiI18nResources: {
|
|
|
5371
5559
|
readonly taskContentLabel: "任务内容";
|
|
5372
5560
|
readonly taskTitleLabel: "任务标题";
|
|
5373
5561
|
};
|
|
5374
|
-
readonly mentionCollaboratorFallback: "协作者";
|
|
5375
5562
|
readonly syncPending: "已保存到本地,正在同步到云端";
|
|
5376
5563
|
readonly syncSynced: "已同步到云端";
|
|
5377
5564
|
readonly syncFailed: "云端同步失败";
|
|
@@ -5577,9 +5764,6 @@ declare const agentGuiI18nResources: {
|
|
|
5577
5764
|
readonly conversationCopyImagesOmitted: string;
|
|
5578
5765
|
readonly conversationCopyInProgress: string;
|
|
5579
5766
|
readonly sessionActionUnavailable: string;
|
|
5580
|
-
readonly contextCompactionInProgress: "正在压缩上下文";
|
|
5581
|
-
readonly contextCompactionCompleted: "已压缩上下文";
|
|
5582
|
-
readonly contextCompactionInterrupted: "上下文压缩已中断";
|
|
5583
5767
|
readonly turnSummary: "已变更文件";
|
|
5584
5768
|
readonly userMessageLocator: "用户消息";
|
|
5585
5769
|
readonly turnSummaryFilesChanged: "变更了 {{count}} 个文件";
|
|
@@ -5638,6 +5822,9 @@ declare const agentGuiI18nResources: {
|
|
|
5638
5822
|
readonly showLessConversations: "收起";
|
|
5639
5823
|
readonly deleteSession: "删除会话";
|
|
5640
5824
|
readonly pinSession: "置顶会话";
|
|
5825
|
+
readonly contextCompactionInProgress: "正在压缩上下文";
|
|
5826
|
+
readonly contextCompactionCompleted: "已压缩上下文";
|
|
5827
|
+
readonly contextCompactionInterrupted: "上下文压缩已中断";
|
|
5641
5828
|
readonly visibleErrorStartFailed: "{{provider}} 启动失败";
|
|
5642
5829
|
readonly visibleErrorRequestFailed: "{{provider}} 请求失败";
|
|
5643
5830
|
readonly visibleErrorAuthRequired: "{{provider}} 需要认证或配置";
|
package/dist/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
normalizeAgentGUIAgentTargets,
|
|
11
11
|
resolveAgentGUIAgentTarget,
|
|
12
12
|
selectAgentStatusControllerSnapshot
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-2TPRBVDM.js";
|
|
14
14
|
import {
|
|
15
15
|
AGENT_CONVERSATION_RAIL_RUNTIME_METHODS,
|
|
16
16
|
createAgentConversationRailRuntime,
|
|
@@ -23,18 +23,18 @@ import {
|
|
|
23
23
|
AGENT_GUI_STANDALONE_AUTO_COLLAPSE_WIDTH_PX,
|
|
24
24
|
resolveAgentGUIExpandedWindowFrame,
|
|
25
25
|
shouldAutoCollapseAgentGUIConversationRail
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
26
|
+
} from "./chunk-RSFK6YRS.js";
|
|
27
|
+
import "./chunk-ML53N3II.js";
|
|
28
|
+
import "./chunk-DCZTHKWI.js";
|
|
29
29
|
import "./chunk-MHOYBRCY.js";
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-UCDLFE2I.js";
|
|
31
|
+
import "./chunk-HH5PLD7L.js";
|
|
32
|
+
import "./chunk-HD2TXBXU.js";
|
|
33
|
+
import "./chunk-6YRJ4OPB.js";
|
|
34
34
|
import "./chunk-THBCAUBR.js";
|
|
35
35
|
import "./chunk-UP3ZDYTN.js";
|
|
36
36
|
import "./chunk-GUFEHWUX.js";
|
|
37
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-FJ4A3A6W.js";
|
|
38
38
|
import {
|
|
39
39
|
agentGUIAgentIsReady,
|
|
40
40
|
normalizeAgentGUIAgents,
|
|
@@ -44,17 +44,17 @@ import {
|
|
|
44
44
|
import {
|
|
45
45
|
agentGuiDockIconUrl,
|
|
46
46
|
agentGuiDockIconUrls
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-CFWR4C36.js";
|
|
48
48
|
import {
|
|
49
49
|
preloadAgentMentionBrowse
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-HOT2PJ6T.js";
|
|
51
51
|
import "./chunk-VMPA46ET.js";
|
|
52
52
|
import "./chunk-XJ34OIEQ.js";
|
|
53
53
|
import "./chunk-JDVP33S5.js";
|
|
54
54
|
import {
|
|
55
55
|
createAgentSessionHandoffPrompt,
|
|
56
56
|
createAgentSessionMarkdownLink
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-4ZCSXKK5.js";
|
|
58
58
|
import "./chunk-3V5OCA2M.js";
|
|
59
59
|
import {
|
|
60
60
|
AGENT_CONTEXT_MENTION_PROVIDER_IDS
|
|
@@ -66,13 +66,13 @@ import {
|
|
|
66
66
|
import {
|
|
67
67
|
dispatchAgentPlanPromptAction,
|
|
68
68
|
selectAgentPlanPromptTurn
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-QKCSWK7Y.js";
|
|
70
70
|
import {
|
|
71
71
|
useEngineSelector
|
|
72
72
|
} from "./chunk-EVQ4JY3N.js";
|
|
73
|
-
import "./chunk-
|
|
73
|
+
import "./chunk-2CZIBPST.js";
|
|
74
74
|
import "./chunk-ZVYUTXQJ.js";
|
|
75
|
-
import "./chunk-
|
|
75
|
+
import "./chunk-KE3UYJMW.js";
|
|
76
76
|
import "./chunk-YMXYBG7U.js";
|
|
77
77
|
import {
|
|
78
78
|
AgentActivityHostProvider,
|
|
@@ -82,17 +82,17 @@ import {
|
|
|
82
82
|
useAgentActivityRuntime,
|
|
83
83
|
useAgentActivitySnapshot,
|
|
84
84
|
useOptionalAgentActivityRuntime
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-V3VPKWVK.js";
|
|
86
86
|
import "./chunk-F5UR6EJG.js";
|
|
87
|
-
import "./chunk-
|
|
87
|
+
import "./chunk-RWUYIHO3.js";
|
|
88
88
|
import {
|
|
89
89
|
AgentGuiI18nProvider,
|
|
90
90
|
agentGuiI18nModule,
|
|
91
91
|
agentGuiI18nResources
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-44IFVKLS.js";
|
|
93
93
|
import "./chunk-5BJYO6X3.js";
|
|
94
|
-
import "./chunk-
|
|
95
|
-
import "./chunk-
|
|
94
|
+
import "./chunk-F2U7LSJN.js";
|
|
95
|
+
import "./chunk-AHDJFZAC.js";
|
|
96
96
|
import "./chunk-MIJXEELH.js";
|
|
97
97
|
import {
|
|
98
98
|
getAgentCustomMentionKind,
|
|
@@ -100,7 +100,7 @@ import {
|
|
|
100
100
|
resetAgentCustomMentionKindsForTests
|
|
101
101
|
} from "./chunk-D2JUDUYY.js";
|
|
102
102
|
import "./chunk-QNE2ZPPV.js";
|
|
103
|
-
import "./chunk-
|
|
103
|
+
import "./chunk-EWS7OGQK.js";
|
|
104
104
|
|
|
105
105
|
// index.ts
|
|
106
106
|
import {
|
package/dist/mention-search.js
CHANGED
|
@@ -3,26 +3,26 @@ import {
|
|
|
3
3
|
MAX_BROWSE_CACHE_ENTRIES,
|
|
4
4
|
preloadAgentMentionBrowse,
|
|
5
5
|
resetAgentMentionSearchBrowseCacheForTests
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HOT2PJ6T.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-4ZCSXKK5.js";
|
|
11
11
|
import "./chunk-3V5OCA2M.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-V3VPKWVK.js";
|
|
16
16
|
import "./chunk-F5UR6EJG.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-RWUYIHO3.js";
|
|
18
|
+
import "./chunk-44IFVKLS.js";
|
|
19
19
|
import "./chunk-5BJYO6X3.js";
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-F2U7LSJN.js";
|
|
21
|
+
import "./chunk-AHDJFZAC.js";
|
|
22
22
|
import "./chunk-MIJXEELH.js";
|
|
23
23
|
import "./chunk-D2JUDUYY.js";
|
|
24
24
|
import "./chunk-QNE2ZPPV.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-EWS7OGQK.js";
|
|
26
26
|
export {
|
|
27
27
|
AgentMentionSearchController,
|
|
28
28
|
MAX_BROWSE_CACHE_ENTRIES,
|
|
@@ -14,6 +14,7 @@ interface AgentHostAgentSessionPermissionConfig {
|
|
|
14
14
|
}
|
|
15
15
|
interface AgentHostAgentSessionComposerSettings {
|
|
16
16
|
model?: string | null;
|
|
17
|
+
modelPlanId?: string | null;
|
|
17
18
|
reasoningEffort?: AgentHostAgentSessionReasoningEffort | null;
|
|
18
19
|
speed?: AgentHostAgentSessionSpeed | null;
|
|
19
20
|
planMode?: boolean;
|
|
@@ -80,11 +81,49 @@ interface AgentGUIAgentAvailability {
|
|
|
80
81
|
pendingAction?: AgentGUIAgentAvailabilityAction | null;
|
|
81
82
|
}
|
|
82
83
|
interface AgentGUIAgentOwner {
|
|
84
|
+
userId?: string | null;
|
|
83
85
|
name?: string | null;
|
|
84
86
|
avatarUrl?: string | null;
|
|
85
87
|
}
|
|
86
88
|
/** Host-authoritative ownership classification for Agent directory entries. */
|
|
87
89
|
type AgentGUIAgentOwnership = "self" | "shared";
|
|
90
|
+
interface AgentGUISharedAgentQuota {
|
|
91
|
+
unit: "runs" | "tokens";
|
|
92
|
+
remaining: number;
|
|
93
|
+
limit?: number;
|
|
94
|
+
resetAt?: string | null;
|
|
95
|
+
}
|
|
96
|
+
interface AgentGUISharedAgentConcurrency {
|
|
97
|
+
active: number;
|
|
98
|
+
limit: number;
|
|
99
|
+
}
|
|
100
|
+
interface AgentGUISharedAgentCostQuota {
|
|
101
|
+
currency: string;
|
|
102
|
+
remainingMicros: number;
|
|
103
|
+
limitMicros?: number;
|
|
104
|
+
}
|
|
105
|
+
interface AgentGUISharedAgentAllowedModel {
|
|
106
|
+
modelPlanId?: string | null;
|
|
107
|
+
model: string;
|
|
108
|
+
}
|
|
109
|
+
interface AgentGUISharedAgentPolicyPermissions {
|
|
110
|
+
consult: boolean;
|
|
111
|
+
review: boolean;
|
|
112
|
+
delegate: boolean;
|
|
113
|
+
upgrade: boolean;
|
|
114
|
+
}
|
|
115
|
+
/** Credential-free access snapshot supplied by the shared-Agent control plane. */
|
|
116
|
+
interface AgentGUISharedAgentAccess {
|
|
117
|
+
grantId: string;
|
|
118
|
+
ownerUserId: string;
|
|
119
|
+
ownerOnline: boolean;
|
|
120
|
+
auditRequired: boolean;
|
|
121
|
+
quota?: AgentGUISharedAgentQuota | null;
|
|
122
|
+
concurrency?: AgentGUISharedAgentConcurrency | null;
|
|
123
|
+
costQuota?: AgentGUISharedAgentCostQuota | null;
|
|
124
|
+
allowedModels?: readonly AgentGUISharedAgentAllowedModel[] | null;
|
|
125
|
+
policyPermissions?: AgentGUISharedAgentPolicyPermissions | null;
|
|
126
|
+
}
|
|
88
127
|
/**
|
|
89
128
|
* Host-projected entry from the workspace `/agents` directory.
|
|
90
129
|
*
|
|
@@ -104,6 +143,7 @@ interface AgentGUIAgent {
|
|
|
104
143
|
ownerDeviceLabel?: string | null;
|
|
105
144
|
owner?: AgentGUIAgentOwner | null;
|
|
106
145
|
ownership?: AgentGUIAgentOwnership | null;
|
|
146
|
+
sharedAccess?: AgentGUISharedAgentAccess | null;
|
|
107
147
|
availability: AgentGUIAgentAvailability;
|
|
108
148
|
provider: AgentGUIProvider;
|
|
109
149
|
setupKind?: "target_runtime" | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'react';
|
|
2
2
|
import '@tutti-os/agent-activity-core';
|
|
3
3
|
import '@tutti-os/workbench-surface';
|
|
4
|
-
export { A as AGENT_GUI_WORKBENCH_CONVERSATION_RAIL_TOGGLE_EVENT, a as AGENT_GUI_WORKBENCH_NEW_CONVERSATION_EVENT, b as AGENT_GUI_WORKBENCH_OPEN_EXTERNAL_IMPORT_EVENT, c as AGENT_GUI_WORKBENCH_SESSION_ACTION_EVENT, d as AgentGuiWorkbenchContributionCopy, e as AgentGuiWorkbenchContributionCopyOverrides, f as AgentGuiWorkbenchConversationIdentity, g as AgentGuiWorkbenchConversationRailToggleDetail, h as AgentGuiWorkbenchNewConversationDetail, i as AgentGuiWorkbenchProviderAvailability, j as AgentGuiWorkbenchRenderBodyHelpers, k as AgentGuiWorkbenchSessionAction, l as AgentGuiWorkbenchSessionActionDetail, m as AgentGuiWorkbenchSessionActionRequest, n as AgentGuiWorkbenchSessionMenuCopy, B as BuildAgentGuiDockEntriesInput, C as CreateAgentGuiWorkbenchContributionInput, o as agentGuiWorkbenchCompactVisibleAreaRatio, q as agentGuiWorkbenchDefaultCopy, r as agentGuiWorkbenchDefaultNodeFrame, s as agentGuiWorkbenchDefaultUsableHeightRatio, t as agentGuiWorkbenchDefaultUsableWidthRatio, u as agentGuiWorkbenchNewWindowCascadeOffset, v as agentGuiWorkbenchProviderRailWidthPx, w as buildAgentGuiDockEntries, x as createAgentGuiWorkbenchContribution, y as createAgentGuiWorkbenchPreviewContent, z as dispatchAgentGuiWorkbenchSessionAction, D as isAgentGuiWorkbenchSessionAction, E as resolveAgentGuiUnifiedDockLaunchPayload, F as resolveAgentGuiWorkbenchContributionCopy, H as resolveAgentGuiWorkbenchDefaultLaunchFrame } from '../contribution-
|
|
4
|
+
export { A as AGENT_GUI_WORKBENCH_CONVERSATION_RAIL_TOGGLE_EVENT, a as AGENT_GUI_WORKBENCH_NEW_CONVERSATION_EVENT, b as AGENT_GUI_WORKBENCH_OPEN_EXTERNAL_IMPORT_EVENT, c as AGENT_GUI_WORKBENCH_SESSION_ACTION_EVENT, d as AgentGuiWorkbenchContributionCopy, e as AgentGuiWorkbenchContributionCopyOverrides, f as AgentGuiWorkbenchConversationIdentity, g as AgentGuiWorkbenchConversationRailToggleDetail, h as AgentGuiWorkbenchNewConversationDetail, i as AgentGuiWorkbenchProviderAvailability, j as AgentGuiWorkbenchRenderBodyHelpers, k as AgentGuiWorkbenchSessionAction, l as AgentGuiWorkbenchSessionActionDetail, m as AgentGuiWorkbenchSessionActionRequest, n as AgentGuiWorkbenchSessionMenuCopy, B as BuildAgentGuiDockEntriesInput, C as CreateAgentGuiWorkbenchContributionInput, o as agentGuiWorkbenchCompactVisibleAreaRatio, q as agentGuiWorkbenchDefaultCopy, r as agentGuiWorkbenchDefaultNodeFrame, s as agentGuiWorkbenchDefaultUsableHeightRatio, t as agentGuiWorkbenchDefaultUsableWidthRatio, u as agentGuiWorkbenchNewWindowCascadeOffset, v as agentGuiWorkbenchProviderRailWidthPx, w as buildAgentGuiDockEntries, x as createAgentGuiWorkbenchContribution, y as createAgentGuiWorkbenchPreviewContent, z as dispatchAgentGuiWorkbenchSessionAction, D as isAgentGuiWorkbenchSessionAction, E as resolveAgentGuiUnifiedDockLaunchPayload, F as resolveAgentGuiWorkbenchContributionCopy, H as resolveAgentGuiWorkbenchDefaultLaunchFrame } from '../contribution-DfeuQHH6.js';
|
|
5
5
|
import './types.js';
|