@tutti-os/agent-gui 0.0.211 → 0.0.213
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -11
- package/dist/{AgentRichTextReadonly-GEGDM5UJ.js → AgentRichTextReadonly-TASIMIK4.js} +5 -5
- package/dist/agent-conversation/index.d.ts +1 -1
- package/dist/agent-conversation/index.js +9 -9
- package/dist/agent-conversation/interactive-answer.d.ts +34 -0
- package/dist/agent-conversation/interactive-answer.js +11 -0
- package/dist/agent-conversation/interactive-answer.js.map +1 -0
- package/dist/agent-env/index.d.ts +1 -8
- package/dist/agent-env/index.js +1 -1
- package/dist/agent-gui.d.ts +21 -48
- package/dist/agent-gui.js +17 -16
- package/dist/agent-message-center/index.js +8 -7
- package/dist/agent-message-center/index.js.map +1 -1
- package/dist/{agentFileMentionContracts-B0yQizXB.d.ts → agentFileMentionContracts-BeBex-Sf.d.ts} +5 -0
- package/dist/{agentGuiNodeTypes-DTeerTzS.d.ts → agentGuiNodeTypes-BMcpfKTn.d.ts} +5 -1
- package/dist/app/renderer/agentactivity.css +45 -30
- package/dist/{chunk-7CJEFNHW.js → chunk-2HYADTQP.js} +7 -2
- package/dist/chunk-2HYADTQP.js.map +1 -0
- package/dist/{chunk-4VXUWPPZ.js → chunk-7SSORDQY.js} +18 -32
- package/dist/chunk-7SSORDQY.js.map +1 -0
- package/dist/{chunk-3MMKYY6R.js → chunk-AD2RTSMS.js} +2 -2
- package/dist/{chunk-X2LSVRRX.js → chunk-BYHNJQYH.js} +2 -2
- package/dist/{chunk-SXZJ3MDI.js → chunk-FEUU4YMY.js} +31 -32
- package/dist/chunk-FEUU4YMY.js.map +1 -0
- package/dist/chunk-FMTWYOHM.js +25 -0
- package/dist/chunk-FMTWYOHM.js.map +1 -0
- package/dist/{chunk-CVGUT36H.js → chunk-G2QO6HPB.js} +2 -2
- package/dist/{chunk-PLAOIDNY.js → chunk-ISC67YBJ.js} +171 -36
- package/dist/chunk-ISC67YBJ.js.map +1 -0
- package/dist/{chunk-U5NVLMW2.js → chunk-L4E2Y52A.js} +2 -2
- package/dist/{chunk-Z23HCYYR.js → chunk-LQKLBDBK.js} +3 -3
- package/dist/{chunk-JZ6KUUDY.js → chunk-N4HLBSMJ.js} +2 -32
- package/dist/chunk-N4HLBSMJ.js.map +1 -0
- package/dist/{chunk-Y2VQMPUR.js → chunk-QVLEP54U.js} +4 -56
- package/dist/chunk-QVLEP54U.js.map +1 -0
- package/dist/{chunk-AT4DII34.js → chunk-RLFO3NJV.js} +1692 -2046
- package/dist/chunk-RLFO3NJV.js.map +1 -0
- package/dist/{chunk-KY2IYJXK.js → chunk-XERDRMSF.js} +11 -5
- package/dist/chunk-XERDRMSF.js.map +1 -0
- package/dist/{chunk-HH5EWBH2.js → chunk-YBIT37P5.js} +2 -2
- package/dist/{chunk-P4LVBSFC.js → chunk-ZNHMWCO4.js} +8 -8
- package/dist/context-mention-palette/index.d.ts +1 -1
- package/dist/context-mention-palette/index.js +8 -8
- package/dist/i18n/index.d.ts +3 -55
- package/dist/i18n/index.js +2 -2
- package/dist/index.d.ts +46 -624
- package/dist/index.js +18 -25
- package/dist/index.js.map +1 -1
- package/dist/mention-search.d.ts +2 -2
- package/dist/mention-search.js +6 -6
- package/dist/workbench/contribution.js +3 -3
- package/dist/workbench/index.js +6 -6
- package/dist/workbench/sessionTitle.js +2 -2
- package/package.json +22 -15
- package/dist/app/renderer/assets/commercial/registration-credits-bg.png +0 -0
- package/dist/chunk-4VXUWPPZ.js.map +0 -1
- package/dist/chunk-7CJEFNHW.js.map +0 -1
- package/dist/chunk-AT4DII34.js.map +0 -1
- package/dist/chunk-JZ6KUUDY.js.map +0 -1
- package/dist/chunk-KY2IYJXK.js.map +0 -1
- package/dist/chunk-PLAOIDNY.js.map +0 -1
- package/dist/chunk-SXZJ3MDI.js.map +0 -1
- package/dist/chunk-Y2VQMPUR.js.map +0 -1
- /package/dist/{AgentRichTextReadonly-GEGDM5UJ.js.map → AgentRichTextReadonly-TASIMIK4.js.map} +0 -0
- /package/dist/{chunk-3MMKYY6R.js.map → chunk-AD2RTSMS.js.map} +0 -0
- /package/dist/{chunk-X2LSVRRX.js.map → chunk-BYHNJQYH.js.map} +0 -0
- /package/dist/{chunk-CVGUT36H.js.map → chunk-G2QO6HPB.js.map} +0 -0
- /package/dist/{chunk-U5NVLMW2.js.map → chunk-L4E2Y52A.js.map} +0 -0
- /package/dist/{chunk-Z23HCYYR.js.map → chunk-LQKLBDBK.js.map} +0 -0
- /package/dist/{chunk-HH5EWBH2.js.map → chunk-YBIT37P5.js.map} +0 -0
- /package/dist/{chunk-P4LVBSFC.js.map → chunk-ZNHMWCO4.js.map} +0 -0
package/README.md
CHANGED
|
@@ -3,17 +3,25 @@
|
|
|
3
3
|
AgentGUI renders workspace agent sessions, timelines, approvals, and composer
|
|
4
4
|
UI. It is a UI package, not a host transport or business-core package.
|
|
5
5
|
|
|
6
|
-
##
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
6
|
+
## Product Error Presentation
|
|
7
|
+
|
|
8
|
+
AgentGUI does not own Account or Commerce UI. Product hosts render those
|
|
9
|
+
surfaces through `@tutti-os/commerce` and its `./react` entrypoint.
|
|
10
|
+
|
|
11
|
+
Hosts may pass `hostCapabilities.visibleErrorPresentationOverrides` to
|
|
12
|
+
customize structured product errors such as `insufficient_credits`. The
|
|
13
|
+
override contains only localized copy and an optional sanitized external
|
|
14
|
+
action; it does not expose membership state, credentials, or Commerce response
|
|
15
|
+
objects to AgentGUI. Raw provider error details remain available to diagnostics
|
|
16
|
+
but are not rendered in the product error card. Environment, authentication,
|
|
17
|
+
network, and runtime errors are not overridable and remain AgentGUI policy.
|
|
18
|
+
|
|
19
|
+
This is an intentional public API break. The former `accountMenuState`,
|
|
20
|
+
`commercePresentation`, `AgentGUIAccountMenu*`, and
|
|
21
|
+
`AgentGUIAccountRewardToast` surfaces were removed instead of being retained as
|
|
22
|
+
silent no-ops. Hosts must render account chrome through
|
|
23
|
+
`@tutti-os/commerce/react` and translate Commerce policy into
|
|
24
|
+
`visibleErrorPresentationOverrides`.
|
|
17
25
|
|
|
18
26
|
Before changing AgentGUI, AgentGuiNode, or the agent conversation module, read
|
|
19
27
|
[AgentGuiNode Architecture and Troubleshooting](../../../docs/architecture/agent-gui-node.md).
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentRichTextReadonly
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-G2QO6HPB.js";
|
|
4
|
+
import "./chunk-2HYADTQP.js";
|
|
5
5
|
import "./chunk-3V5OCA2M.js";
|
|
6
6
|
import "./chunk-FGLQZ6I4.js";
|
|
7
7
|
import "./chunk-ZVYUTXQJ.js";
|
|
8
8
|
import "./chunk-M6HTOCQK.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-BYHNJQYH.js";
|
|
10
10
|
import "./chunk-5BJYO6X3.js";
|
|
11
11
|
import "./chunk-AFUVWWQY.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-QVLEP54U.js";
|
|
13
13
|
import "./chunk-D2JUDUYY.js";
|
|
14
14
|
import "./chunk-QNE2ZPPV.js";
|
|
15
15
|
import "./chunk-O433KXLK.js";
|
|
16
16
|
export {
|
|
17
17
|
AgentRichTextReadonly
|
|
18
18
|
};
|
|
19
|
-
//# sourceMappingURL=AgentRichTextReadonly-
|
|
19
|
+
//# sourceMappingURL=AgentRichTextReadonly-TASIMIK4.js.map
|
|
@@ -2,7 +2,7 @@ import * as react from 'react';
|
|
|
2
2
|
import { ReactNode, Ref, JSX } from 'react';
|
|
3
3
|
import { c as AgentConversationVM, g as WorkspaceLinkAction, f as WorkspaceAgentSessionDetailViewModel } from '../workspaceLinkActions-COfr61YO.js';
|
|
4
4
|
export { B as BuildWorkspaceAgentSessionDetailInput, W as WorkspaceAgentActivityCard, e as WorkspaceAgentActivityTimelineItem, h as buildWorkspaceAgentSessionDetailViewModel } from '../workspaceLinkActions-COfr61YO.js';
|
|
5
|
-
import { d as AgentGUIProviderSkillOption, h as AgentMessageMarkdownWorkspaceAppIcon } from '../agentGuiNodeTypes-
|
|
5
|
+
import { d as AgentGUIProviderSkillOption, h as AgentMessageMarkdownWorkspaceAppIcon } from '../agentGuiNodeTypes-BMcpfKTn.js';
|
|
6
6
|
import { AgentActivityMessage } from '@tutti-os/agent-activity-core';
|
|
7
7
|
import '@tutti-os/workspace-issue-manager/core';
|
|
8
8
|
import '../types-CHAMK2g7.js';
|
|
@@ -7,25 +7,25 @@ import {
|
|
|
7
7
|
reconcileProjectedAgentConversationVM,
|
|
8
8
|
serializeAgentConversationForClipboard,
|
|
9
9
|
useProjectedAgentConversation
|
|
10
|
-
} from "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
10
|
+
} from "../chunk-FEUU4YMY.js";
|
|
11
|
+
import "../chunk-G2QO6HPB.js";
|
|
12
|
+
import "../chunk-N4HLBSMJ.js";
|
|
13
13
|
import "../chunk-XJ34OIEQ.js";
|
|
14
|
+
import "../chunk-2HYADTQP.js";
|
|
14
15
|
import "../chunk-JDVP33S5.js";
|
|
15
|
-
import "../chunk-7CJEFNHW.js";
|
|
16
16
|
import "../chunk-3V5OCA2M.js";
|
|
17
17
|
import "../chunk-FGLQZ6I4.js";
|
|
18
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-LQKLBDBK.js";
|
|
19
19
|
import "../chunk-ZVYUTXQJ.js";
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-F5UR6EJG.js";
|
|
20
|
+
import "../chunk-YBIT37P5.js";
|
|
22
21
|
import "../chunk-M6HTOCQK.js";
|
|
22
|
+
import "../chunk-F5UR6EJG.js";
|
|
23
23
|
import {
|
|
24
24
|
translate
|
|
25
|
-
} from "../chunk-
|
|
25
|
+
} from "../chunk-BYHNJQYH.js";
|
|
26
26
|
import "../chunk-5BJYO6X3.js";
|
|
27
27
|
import "../chunk-AFUVWWQY.js";
|
|
28
|
-
import "../chunk-
|
|
28
|
+
import "../chunk-QVLEP54U.js";
|
|
29
29
|
import "../chunk-MIJXEELH.js";
|
|
30
30
|
import "../chunk-D2JUDUYY.js";
|
|
31
31
|
import "../chunk-QNE2ZPPV.js";
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Wire contract for the answer submitted back to an interactive `ask-user`
|
|
3
|
+
* prompt. This payload crosses the renderer → daemon boundary (it rides
|
|
4
|
+
* `submitInteractive({ action: "submit", payload })`), so its shape is a
|
|
5
|
+
* cross-language contract, not an internal detail.
|
|
6
|
+
*
|
|
7
|
+
* Consumers that MUST stay in sync with this shape:
|
|
8
|
+
* - daemon (Go) standard ACP adapter — forwards `answersByQuestionId` verbatim.
|
|
9
|
+
* - daemon (Go) codex app-server adapter — `appServerUserInputAnswers` reshapes
|
|
10
|
+
* `answersByQuestionId` into codex's `requestUserInput` response.
|
|
11
|
+
*
|
|
12
|
+
* Field semantics:
|
|
13
|
+
* - `answersByQuestionId` is the canonical, machine-readable answer: question id
|
|
14
|
+
* → the chosen option label(s) / free text. This is what providers consume.
|
|
15
|
+
* - `answers` is a flat, human-readable display list (one entry per answered
|
|
16
|
+
* question, multi-select joined). Never the source of truth for routing.
|
|
17
|
+
*
|
|
18
|
+
* Always build this with {@link buildAskUserAnswerPayload} so producers can't
|
|
19
|
+
* drift on field names or which field is authoritative.
|
|
20
|
+
*/
|
|
21
|
+
interface InteractiveAnswerPayload {
|
|
22
|
+
answers: string[];
|
|
23
|
+
answersByQuestionId: Record<string, string | string[]>;
|
|
24
|
+
}
|
|
25
|
+
declare function readOwnAnswer<T>(values: Record<string, T>, questionID: string, fallback: T): T;
|
|
26
|
+
declare function writeOwnAnswer<T>(values: Record<string, T>, questionID: string, value: T): void;
|
|
27
|
+
/**
|
|
28
|
+
* Builds the canonical interactive answer payload from the per-question answers.
|
|
29
|
+
* `answers` is derived from `answersByQuestionId` (multi-select values joined)
|
|
30
|
+
* so the two fields can never disagree.
|
|
31
|
+
*/
|
|
32
|
+
declare function buildAskUserAnswerPayload(answersByQuestionId: Record<string, string | string[]>): InteractiveAnswerPayload;
|
|
33
|
+
|
|
34
|
+
export { type InteractiveAnswerPayload, buildAskUserAnswerPayload, readOwnAnswer, writeOwnAnswer };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -15,13 +15,6 @@ declare function AgentEnvPanelActionProvider({ children, openPanel }: {
|
|
|
15
15
|
/** Host-injected command; AgentGUI never owns the panel workflow state. */
|
|
16
16
|
declare function useOpenAgentEnvPanel(): OpenAgentEnvPanelAction | null;
|
|
17
17
|
|
|
18
|
-
type AgentGUIMembershipAccessState = "free" | "active" | "inactive" | "unknown";
|
|
19
|
-
|
|
20
|
-
interface AgentGUICommercePresentation {
|
|
21
|
-
membershipAccess?: AgentGUIMembershipAccessState;
|
|
22
|
-
planUrl?: string | null;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
18
|
/**
|
|
26
19
|
* Run-failure codes actually emitted by the daemon runtime classifier
|
|
27
20
|
* (packages/agent/daemon/runtime/visible_error.go `visibleFailureCode`). These
|
|
@@ -53,7 +46,7 @@ interface AgentErrorPresentation {
|
|
|
53
46
|
* outside the known vocabulary so the caller renders its plain generic card with
|
|
54
47
|
* no call-to-action.
|
|
55
48
|
*/
|
|
56
|
-
declare function resolveAgentErrorPresentation(code: string | null | undefined
|
|
49
|
+
declare function resolveAgentErrorPresentation(code: string | null | undefined): AgentErrorPresentation | null;
|
|
57
50
|
/**
|
|
58
51
|
* Some providers (notably Claude Code) report an environment failure — e.g. a
|
|
59
52
|
* dropped login (401) — as a plain failed assistant message rather than a
|
package/dist/agent-env/index.js
CHANGED
package/dist/agent-gui.d.ts
CHANGED
|
@@ -3,10 +3,10 @@ import { ReactNode } from 'react';
|
|
|
3
3
|
import { I18nRuntime } from '@tutti-os/ui-i18n-runtime';
|
|
4
4
|
import { AgentActivityGoalControlInput, AgentActivityGoalControlResult, AgentActivityCreateSessionInput, AgentActivitySession, AgentActivityDeleteSessionInput, AgentActivityDeleteSessionResult, AgentActivitySendInput, AgentActivityRailPlacement, AgentActivitySessionSettings, AgentActivityActivateSessionResult, AgentActivityUpdateTuttiModeActivationInput, AgentActivityUpdateTuttiModeActivationResult, AgentActivitySnapshot, AgentSessionEngine, AgentActivityMessageOrder, AgentActivityMessagePage, AgentActivitySendInputResult, AgentActivityRenameSessionInput, AgentActivitySetCollaborationAdoptionInput, AgentActivityCollaborationRun, AgentActivitySubmitInteractiveInput, AgentActivitySubmitInteractiveResult, AgentActivitySnapshotListener, AgentActivitySubmitSettingsPatch } from '@tutti-os/agent-activity-core';
|
|
5
5
|
import { l as AgentHostAgentSessionComposerSettings, p as AgentHostUnactivateAgentSessionResult, b as AgentGUIAgentTarget, f as AgentGUIProvider, q as AgentPromptContentBlock, e as AgentGUINodeData, P as Point, g as AgentGUIProviderRailAllPresentation, h as AgentGUIProviderRailMode, i as AgentGUIProviderReadinessGate, j as AgentGUITargetConnectionSource, d as AgentGUIHomeSuggestionId, N as NodeFrame, a as AgentGUIAgentDirectorySnapshot, c as AgentGUIAllAgentsPresentation } from './types-CHAMK2g7.js';
|
|
6
|
-
import { A as AgentComposerDraft, i as AgentSessionCommand, d as AgentGUIProviderSkillOption, b as AgentGUIComposerSettingsVM, e as AgentGUIQueueStatus, f as AgentGUIQueuedPromptVM, h as AgentMessageMarkdownWorkspaceAppIcon, j as AgentSlashCommandCapability, c as AgentGUINodeViewModel, a as AgentComposerDraftFile, k as AgentUsageQuota, g as AgentHostInputApi } from './agentGuiNodeTypes-
|
|
6
|
+
import { A as AgentComposerDraft, i as AgentSessionCommand, d as AgentGUIProviderSkillOption, b as AgentGUIComposerSettingsVM, e as AgentGUIQueueStatus, f as AgentGUIQueuedPromptVM, h as AgentMessageMarkdownWorkspaceAppIcon, j as AgentSlashCommandCapability, c as AgentGUINodeViewModel, a as AgentComposerDraftFile, k as AgentUsageQuota, g as AgentHostInputApi } from './agentGuiNodeTypes-BMcpfKTn.js';
|
|
7
7
|
import { WorkspaceFileReference, ReferenceLocateTarget, WorkspaceFileReferenceAdapter, ReferenceProvenanceCatalog } from '@tutti-os/workspace-file-reference/contracts';
|
|
8
8
|
export { ReferenceProvenanceCatalog as AgentGUIReferenceProvenanceFilterCatalog } from '@tutti-os/workspace-file-reference/contracts';
|
|
9
|
-
import { A as AgentContextMentionItem } from './agentFileMentionContracts-
|
|
9
|
+
import { A as AgentContextMentionItem } from './agentFileMentionContracts-BeBex-Sf.js';
|
|
10
10
|
import { A as AgentGuiI18nLocale } from './runtime-Dwf44VKc.js';
|
|
11
11
|
import { WorkspaceFileEntry } from '@tutti-os/workspace-file-manager/services';
|
|
12
12
|
import { ReferenceSourceAggregator } from '@tutti-os/workspace-file-reference/core';
|
|
@@ -473,44 +473,6 @@ interface AgentGuiWorkbenchSessionActionRequest {
|
|
|
473
473
|
sequence: number;
|
|
474
474
|
}
|
|
475
475
|
|
|
476
|
-
type AgentGUIMembershipAccessState = "free" | "active" | "inactive" | "unknown";
|
|
477
|
-
interface AgentGUIAccountMenuState {
|
|
478
|
-
user: {
|
|
479
|
-
userId: string;
|
|
480
|
-
name?: string | null;
|
|
481
|
-
email?: string | null;
|
|
482
|
-
avatar?: string | null;
|
|
483
|
-
} | null;
|
|
484
|
-
membershipLabel: string;
|
|
485
|
-
/**
|
|
486
|
-
* Normalized by the Commerce domain. Hosts must not infer access from
|
|
487
|
-
* provider-specific tier/status strings.
|
|
488
|
-
*/
|
|
489
|
-
membershipAccess?: AgentGUIMembershipAccessState;
|
|
490
|
-
creditsLabel: string | null;
|
|
491
|
-
loading: boolean;
|
|
492
|
-
error: string | null;
|
|
493
|
-
partialError?: boolean;
|
|
494
|
-
registrationCreditsToast?: {
|
|
495
|
-
id: string;
|
|
496
|
-
creditsLabel: string;
|
|
497
|
-
visible: boolean;
|
|
498
|
-
autoDismissMs?: number;
|
|
499
|
-
onDismiss(): void;
|
|
500
|
-
} | null;
|
|
501
|
-
links: {
|
|
502
|
-
planUrl: string;
|
|
503
|
-
usageUrl: string;
|
|
504
|
-
settingsUrl: string;
|
|
505
|
-
};
|
|
506
|
-
onOpenChange(open: boolean): void;
|
|
507
|
-
onLogin(): void;
|
|
508
|
-
onLogout?(): void;
|
|
509
|
-
onSettings?(): void;
|
|
510
|
-
onCopyUserId?(): void | Promise<void>;
|
|
511
|
-
onOpenExternal(url: string): void;
|
|
512
|
-
}
|
|
513
|
-
|
|
514
476
|
type AgentExternalPromptEntryResolution = {
|
|
515
477
|
disposition: "reference";
|
|
516
478
|
reference: WorkspaceFileReference;
|
|
@@ -795,8 +757,6 @@ interface AgentComposerProps {
|
|
|
795
757
|
tuttiBudgetAgentCountCost: string;
|
|
796
758
|
tuttiBudgetAgentCountBalance: string;
|
|
797
759
|
tuttiBudgetAgentCountPowerful: string;
|
|
798
|
-
tuttiBudgetConfirm: string;
|
|
799
|
-
tuttiBudgetCancel: string;
|
|
800
760
|
planModeDescription?: string;
|
|
801
761
|
planModeOnLabel: string;
|
|
802
762
|
planModeOffLabel: string;
|
|
@@ -1061,10 +1021,21 @@ interface OpenAgentEnvPanelInput {
|
|
|
1061
1021
|
focus?: AgentEnvPanelFocus | null;
|
|
1062
1022
|
}
|
|
1063
1023
|
|
|
1064
|
-
interface
|
|
1065
|
-
|
|
1066
|
-
|
|
1024
|
+
interface AgentVisibleErrorOverride {
|
|
1025
|
+
message: string;
|
|
1026
|
+
/** Provider ids for which this product-owned override is valid. */
|
|
1027
|
+
providers: readonly string[];
|
|
1028
|
+
action?: {
|
|
1029
|
+
label: string;
|
|
1030
|
+
url: string;
|
|
1031
|
+
} | null;
|
|
1067
1032
|
}
|
|
1033
|
+
/**
|
|
1034
|
+
* Product-owned structured errors whose copy may be supplied by a Host.
|
|
1035
|
+
* Environment/runtime errors remain canonical AgentGUI policy.
|
|
1036
|
+
*/
|
|
1037
|
+
type AgentVisibleErrorOverrideCode = "insufficient_credits";
|
|
1038
|
+
type AgentVisibleErrorOverrides = Partial<Record<AgentVisibleErrorOverrideCode, AgentVisibleErrorOverride>>;
|
|
1068
1039
|
|
|
1069
1040
|
type TuttiModePlanWorkflowStatus = "pending_review" | "in_progress" | "accepted" | "rejected" | "completed" | "failed" | "canceled";
|
|
1070
1041
|
type TuttiModePlanCheckpointKind = "configuration_review" | "task_review";
|
|
@@ -1514,9 +1485,11 @@ interface AgentGUINodeHostCapabilities {
|
|
|
1514
1485
|
* preventing this host from mutating device-owned capability settings.
|
|
1515
1486
|
*/
|
|
1516
1487
|
capabilityControlsReadOnly?: boolean;
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1488
|
+
/**
|
|
1489
|
+
* Host-owned product copy and external action for structured run errors.
|
|
1490
|
+
* AgentGUI owns the generic card; product domains own product semantics.
|
|
1491
|
+
*/
|
|
1492
|
+
visibleErrorPresentationOverrides?: AgentVisibleErrorOverrides | null;
|
|
1520
1493
|
agentTargets?: readonly AgentGUIAgentTarget[];
|
|
1521
1494
|
agentTargetsLoading?: boolean;
|
|
1522
1495
|
/** Launch-only targets for active-conversation handoff. */
|
package/dist/agent-gui.js
CHANGED
|
@@ -1,43 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentGUI
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RLFO3NJV.js";
|
|
4
4
|
import "./chunk-LB4AGT7B.js";
|
|
5
5
|
import "./chunk-A4WCTHWS.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-ZNHMWCO4.js";
|
|
7
|
+
import "./chunk-L4E2Y52A.js";
|
|
7
8
|
import "./chunk-KDN6SLJM.js";
|
|
8
9
|
import "./chunk-4CHBM3G3.js";
|
|
9
10
|
import "./chunk-CBMWHQ7P.js";
|
|
10
11
|
import "./chunk-MGSRWYRN.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-JZ6KUUDY.js";
|
|
12
|
+
import "./chunk-FEUU4YMY.js";
|
|
13
|
+
import "./chunk-G2QO6HPB.js";
|
|
14
|
+
import "./chunk-N4HLBSMJ.js";
|
|
15
15
|
import "./chunk-UP3ZDYTN.js";
|
|
16
16
|
import "./chunk-GUFEHWUX.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-XERDRMSF.js";
|
|
18
18
|
import "./chunk-3MVSOLX3.js";
|
|
19
19
|
import "./chunk-G7DS23D4.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-ISC67YBJ.js";
|
|
21
21
|
import "./chunk-VMPA46ET.js";
|
|
22
22
|
import "./chunk-XJ34OIEQ.js";
|
|
23
|
+
import "./chunk-2HYADTQP.js";
|
|
23
24
|
import "./chunk-JDVP33S5.js";
|
|
24
|
-
import "./chunk-7CJEFNHW.js";
|
|
25
25
|
import "./chunk-3V5OCA2M.js";
|
|
26
26
|
import "./chunk-RMQREVJY.js";
|
|
27
27
|
import "./chunk-FGLQZ6I4.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-7SSORDQY.js";
|
|
29
29
|
import "./chunk-EVQ4JY3N.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-LQKLBDBK.js";
|
|
31
31
|
import "./chunk-ZVYUTXQJ.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-FMTWYOHM.js";
|
|
33
|
+
import "./chunk-AD2RTSMS.js";
|
|
33
34
|
import "./chunk-YMXYBG7U.js";
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-F5UR6EJG.js";
|
|
35
|
+
import "./chunk-YBIT37P5.js";
|
|
36
36
|
import "./chunk-M6HTOCQK.js";
|
|
37
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-F5UR6EJG.js";
|
|
38
|
+
import "./chunk-BYHNJQYH.js";
|
|
38
39
|
import "./chunk-5BJYO6X3.js";
|
|
39
40
|
import "./chunk-AFUVWWQY.js";
|
|
40
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-QVLEP54U.js";
|
|
41
42
|
import "./chunk-MIJXEELH.js";
|
|
42
43
|
import "./chunk-D2JUDUYY.js";
|
|
43
44
|
import "./chunk-QNE2ZPPV.js";
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
isPromptRequestIdTitle,
|
|
9
9
|
latestPlanTurnId,
|
|
10
10
|
planImplementationPromptFromPlanTurn
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-7SSORDQY.js";
|
|
12
12
|
import {
|
|
13
13
|
useEngineSelector
|
|
14
14
|
} from "../chunk-EVQ4JY3N.js";
|
|
@@ -21,32 +21,33 @@ import {
|
|
|
21
21
|
isExitPlanSwitchModeInput,
|
|
22
22
|
normalizeAgentApprovalPurpose,
|
|
23
23
|
normalizeAskUserQuestions
|
|
24
|
-
} from "../chunk-
|
|
24
|
+
} from "../chunk-LQKLBDBK.js";
|
|
25
25
|
import {
|
|
26
26
|
cn
|
|
27
27
|
} from "../chunk-ZVYUTXQJ.js";
|
|
28
|
+
import "../chunk-FMTWYOHM.js";
|
|
28
29
|
import {
|
|
29
30
|
userAvatarPlaceholderUrl,
|
|
30
31
|
workspaceAgentActivityStatusLabel
|
|
31
|
-
} from "../chunk-
|
|
32
|
+
} from "../chunk-AD2RTSMS.js";
|
|
32
33
|
import {
|
|
33
34
|
resolveWorkspaceAgentSessionSortTimeUnixMs
|
|
34
35
|
} from "../chunk-YMXYBG7U.js";
|
|
35
36
|
import {
|
|
36
37
|
workspaceAgentProviderLabel
|
|
37
|
-
} from "../chunk-
|
|
38
|
-
import "../chunk-F5UR6EJG.js";
|
|
38
|
+
} from "../chunk-YBIT37P5.js";
|
|
39
39
|
import {
|
|
40
40
|
managedAgentRoundedIconUrl
|
|
41
41
|
} from "../chunk-M6HTOCQK.js";
|
|
42
|
+
import "../chunk-F5UR6EJG.js";
|
|
42
43
|
import {
|
|
43
44
|
AgentGuiI18nProvider,
|
|
44
45
|
getActiveUiLanguage,
|
|
45
46
|
useTranslation
|
|
46
|
-
} from "../chunk-
|
|
47
|
+
} from "../chunk-BYHNJQYH.js";
|
|
47
48
|
import "../chunk-5BJYO6X3.js";
|
|
48
49
|
import "../chunk-AFUVWWQY.js";
|
|
49
|
-
import "../chunk-
|
|
50
|
+
import "../chunk-QVLEP54U.js";
|
|
50
51
|
import {
|
|
51
52
|
normalizeAgentTitleText
|
|
52
53
|
} from "../chunk-MIJXEELH.js";
|