@tutti-os/agent-gui 0.0.65 → 0.0.67
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/LICENSE +1 -2
- package/README.md +1 -1
- package/dist/agent-conversation/index.d.ts +2 -2
- package/dist/agent-conversation/index.js +8 -8
- package/dist/agent-message-center/index.js +10 -10
- package/dist/{agentGuiNodeTypes-CCjzXdTe.d.ts → agentGuiNodeTypes-DNXndXhV.d.ts} +3 -1
- package/dist/app/renderer/agentactivity.css +109 -0
- package/dist/app/renderer/assets/icons/agents/tutti-flat-filled.svg +12 -0
- package/dist/{chunk-N4I3TD4G.js → chunk-BX4UBTOI.js} +70 -2
- package/dist/chunk-BX4UBTOI.js.map +1 -0
- package/dist/{chunk-IDTB6OID.js → chunk-CTYXJGSW.js} +50 -12
- package/dist/chunk-CTYXJGSW.js.map +1 -0
- package/dist/{chunk-P5C3ED3V.js → chunk-DP2X4J2D.js} +3 -3
- package/dist/{chunk-LJE2W4EM.js → chunk-DQTBWOIK.js} +27 -4
- package/dist/chunk-DQTBWOIK.js.map +1 -0
- package/dist/chunk-IL2ORY23.js +193 -0
- package/dist/chunk-IL2ORY23.js.map +1 -0
- package/dist/{chunk-XZPAU7FC.js → chunk-JGU2VMDA.js} +3 -3
- package/dist/{chunk-DL6BMEHI.js → chunk-JWWHS34V.js} +3 -3
- package/dist/{chunk-UWBX3DZK.js → chunk-KS4ULVGM.js} +2 -2
- package/dist/{chunk-XLBJHHDX.js → chunk-MA254MXR.js} +51 -7
- package/dist/chunk-MA254MXR.js.map +1 -0
- package/dist/{chunk-TG3ZXLPM.js → chunk-MYD37I32.js} +27 -3
- package/dist/chunk-MYD37I32.js.map +1 -0
- package/dist/{chunk-2IMBPRKV.js → chunk-NCAVJEHI.js} +1 -1
- package/dist/chunk-NCAVJEHI.js.map +1 -0
- package/dist/{chunk-R2NGSPQS.js → chunk-OEJQJP65.js} +3 -1
- package/dist/{chunk-R2NGSPQS.js.map → chunk-OEJQJP65.js.map} +1 -1
- package/dist/{chunk-6OYLLPPN.js → chunk-PFKY5W76.js} +17 -13
- package/dist/chunk-PFKY5W76.js.map +1 -0
- package/dist/{chunk-N7BGNAA2.js → chunk-QZYGCZNQ.js} +7 -9
- package/dist/chunk-QZYGCZNQ.js.map +1 -0
- package/dist/{chunk-CKCUEHBW.js → chunk-RNFP7CUO.js} +9 -8
- package/dist/chunk-RNFP7CUO.js.map +1 -0
- package/dist/{chunk-UI3YDJTC.js → chunk-SKWDZTEV.js} +6 -4
- package/dist/chunk-SKWDZTEV.js.map +1 -0
- package/dist/{chunk-LQHYHF36.js → chunk-UAXKJNM2.js} +14 -7
- package/dist/chunk-UAXKJNM2.js.map +1 -0
- package/dist/{chunk-HKKC2U6J.js → chunk-VIJQ5C33.js} +6 -6
- package/dist/{chunk-HKKC2U6J.js.map → chunk-VIJQ5C33.js.map} +1 -1
- package/dist/{chunk-EIPQGFAE.js → chunk-XBR7D7X2.js} +2 -2
- package/dist/{chunk-R7PSPKBD.js → chunk-YU3XLPLC.js} +2 -6
- package/dist/chunk-YU3XLPLC.js.map +1 -0
- package/dist/{chunk-QULZNKPA.js → chunk-YYAP6IK7.js} +4 -166
- package/dist/chunk-YYAP6IK7.js.map +1 -0
- package/dist/{chunk-W3Q7B3DV.js → chunk-ZABN3POD.js} +6 -2
- package/dist/chunk-ZABN3POD.js.map +1 -0
- package/dist/context-mention-palette/index.js +9 -9
- package/dist/cursor-flat-filled-CL7N3BTZ.svg +3 -0
- package/dist/i18n/index.d.ts +50 -6
- package/dist/i18n/index.js +2 -2
- package/dist/index.d.ts +63 -6
- package/dist/index.js +1654 -1395
- package/dist/index.js.map +1 -1
- package/dist/queued-prompt-runtime.d.ts +22 -3
- package/dist/queued-prompt-runtime.js +1 -1
- package/dist/tutti-flat-filled-K32QBTZE.svg +12 -0
- package/dist/{types-BAPEle8b.d.ts → types-BxOwnK7K.d.ts} +17 -4
- package/dist/workbench/contribution.d.ts +1 -1
- package/dist/workbench/contribution.js +8 -8
- package/dist/workbench/index.d.ts +1 -1
- package/dist/workbench/index.js +11 -11
- package/dist/workbench/launch.d.ts +1 -1
- package/dist/workbench/launch.js +3 -3
- package/dist/workbench/providerCatalog.d.ts +4 -4
- package/dist/workbench/providerCatalog.js +1 -1
- package/dist/workbench/sessionTitle.d.ts +1 -1
- package/dist/workbench/sessionTitle.js +3 -3
- package/dist/workbench/state.d.ts +1 -1
- package/dist/workbench/state.js +3 -3
- package/dist/workbench/types.d.ts +2 -2
- package/dist/workbench/types.js +1 -1
- package/dist/workspace-agent-generated-files.js +4 -4
- package/package.json +12 -12
- package/dist/app/renderer/assets/icons/@-lined-14px.svg +0 -3
- package/dist/app/renderer/assets/icons/agents/manage-agent-claude-code.png +0 -0
- package/dist/app/renderer/assets/icons/agents/manage-agent-codex.png +0 -0
- package/dist/app/renderer/assets/icons/agents/manage-agent-gemini.png +0 -0
- package/dist/app/renderer/assets/icons/agents/manage-agent-hermes.png +0 -0
- package/dist/app/renderer/assets/icons/agents/manage-agent-openclaw.png +0 -0
- package/dist/app/renderer/assets/icons/agents/tutti-doc-rounded.png +0 -0
- package/dist/app/renderer/assets/icons/agents/workspace-dock-agent-claude-code.png +0 -0
- package/dist/app/renderer/assets/icons/agents/workspace-dock-agent-codex.png +0 -0
- package/dist/app/renderer/assets/icons/agents/workspace-dock-agent-gemini.png +0 -0
- package/dist/app/renderer/assets/icons/agents/workspace-dock-agent-nexight.png +0 -0
- package/dist/app/renderer/assets/icons/agents/workspace-dock-agent-openclaw.png +0 -0
- package/dist/app/renderer/assets/icons/arrow-left-filled.svg +0 -1
- package/dist/chunk-2IMBPRKV.js.map +0 -1
- package/dist/chunk-6OYLLPPN.js.map +0 -1
- package/dist/chunk-CKCUEHBW.js.map +0 -1
- package/dist/chunk-IDTB6OID.js.map +0 -1
- package/dist/chunk-LJE2W4EM.js.map +0 -1
- package/dist/chunk-LQHYHF36.js.map +0 -1
- package/dist/chunk-N4I3TD4G.js.map +0 -1
- package/dist/chunk-N7BGNAA2.js.map +0 -1
- package/dist/chunk-QULZNKPA.js.map +0 -1
- package/dist/chunk-R7PSPKBD.js.map +0 -1
- package/dist/chunk-TG3ZXLPM.js.map +0 -1
- package/dist/chunk-TYGL25EL.js +0 -30
- package/dist/chunk-TYGL25EL.js.map +0 -1
- package/dist/chunk-UI3YDJTC.js.map +0 -1
- package/dist/chunk-W3Q7B3DV.js.map +0 -1
- package/dist/chunk-XLBJHHDX.js.map +0 -1
- /package/dist/{chunk-P5C3ED3V.js.map → chunk-DP2X4J2D.js.map} +0 -0
- /package/dist/{chunk-XZPAU7FC.js.map → chunk-JGU2VMDA.js.map} +0 -0
- /package/dist/{chunk-DL6BMEHI.js.map → chunk-JWWHS34V.js.map} +0 -0
- /package/dist/{chunk-UWBX3DZK.js.map → chunk-KS4ULVGM.js.map} +0 -0
- /package/dist/{chunk-EIPQGFAE.js.map → chunk-XBR7D7X2.js.map} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -4,10 +4,10 @@ import { m as WorkspaceAgentActivityListViewModel, g as AgentHostWorkspaceAgentS
|
|
|
4
4
|
import * as react from 'react';
|
|
5
5
|
import { ReactNode, PropsWithChildren, JSX, HTMLAttributes } from 'react';
|
|
6
6
|
import { I18nRuntime } from '@tutti-os/ui-i18n-runtime';
|
|
7
|
-
import {
|
|
8
|
-
export {
|
|
9
|
-
import { k as AgentProbeSnapshot, A as AgentComposerDraft, n as AgentSessionCommand, c as AgentGUIProviderSkillOption, a as AgentGUIComposerSettingsVM, d as AgentGUIQueuedPromptVM, b as AgentGUINodeViewModel, g as AgentHostInputApi } from './agentGuiNodeTypes-
|
|
10
|
-
export { e as AgentHostApi, f as AgentHostApplyWorkspaceGitPatchInput, h as AgentHostRuntimeApi, i as AgentHostSelectFilesInput, j as AgentProbeProvider, l as AgentProviderProbeListInput, m as AgentProviderProbeListResult, o as AgentUsageQuota, p as AgentUsageSnapshot, P as PersistWriteResult, R as ReadWorkspaceAgentReadStateInput, W as WorkspaceAgentReadStateSnapshot, q as WriteWorkspaceAgentReadStateInput } from './agentGuiNodeTypes-
|
|
7
|
+
import { r as AgentProvider, g as AgentGUIProviderTargetRef, j as AgentHostAgentSessionComposerSettings, h as AgentHostActivateAgentSessionResult, p as AgentHostUpdateAgentSessionSettingsResult, n as AgentHostAgentSessionState, o as AgentHostUnactivateAgentSessionResult, A as AgentGUINodeData, a as AgentGUIProvider, f as AgentGUIProviderTarget, q as AgentPromptContentBlock, P as Point, b as AgentGUIProviderRailMode, c as AgentGUIProviderReadinessGate, N as NodeFrame } from './types-BxOwnK7K.js';
|
|
8
|
+
export { d as AgentGUIProviderReadinessGateAction, e as AgentGUIProviderReadinessGateStatus } from './types-BxOwnK7K.js';
|
|
9
|
+
import { k as AgentProbeSnapshot, A as AgentComposerDraft, n as AgentSessionCommand, c as AgentGUIProviderSkillOption, a as AgentGUIComposerSettingsVM, d as AgentGUIQueuedPromptVM, b as AgentGUINodeViewModel, g as AgentHostInputApi } from './agentGuiNodeTypes-DNXndXhV.js';
|
|
10
|
+
export { e as AgentHostApi, f as AgentHostApplyWorkspaceGitPatchInput, h as AgentHostRuntimeApi, i as AgentHostSelectFilesInput, j as AgentProbeProvider, l as AgentProviderProbeListInput, m as AgentProviderProbeListResult, o as AgentUsageQuota, p as AgentUsageSnapshot, P as PersistWriteResult, R as ReadWorkspaceAgentReadStateInput, W as WorkspaceAgentReadStateSnapshot, q as WriteWorkspaceAgentReadStateInput } from './agentGuiNodeTypes-DNXndXhV.js';
|
|
11
11
|
import { WorkspaceFileEntry } from '@tutti-os/workspace-file-manager/services';
|
|
12
12
|
import { WorkspaceFileReference, ReferenceLocateTarget, WorkspaceFileReferenceAdapter } from '@tutti-os/workspace-file-reference/contracts';
|
|
13
13
|
import { ReferenceSourceAggregator } from '@tutti-os/workspace-file-reference/core';
|
|
@@ -382,6 +382,15 @@ interface AgentActivityRuntimePromptAsset {
|
|
|
382
382
|
data: string;
|
|
383
383
|
}
|
|
384
384
|
interface AgentActivityRuntime {
|
|
385
|
+
/**
|
|
386
|
+
* Stable identity of this runtime instance (e.g. a local origin vs a
|
|
387
|
+
* shared/room origin). When present, the conversation-list and session-view
|
|
388
|
+
* stores key their query state, runtime resolution, and subscriptions by this
|
|
389
|
+
* value, so multiple runtimes can coexist for the same workspace without
|
|
390
|
+
* fighting over a single module-global slot. Absent => legacy single-runtime
|
|
391
|
+
* behaviour resolved via the module-global.
|
|
392
|
+
*/
|
|
393
|
+
origin?: string;
|
|
385
394
|
promptContentUploadSupport?: {
|
|
386
395
|
file?: boolean;
|
|
387
396
|
image?: boolean;
|
|
@@ -469,6 +478,37 @@ interface AgentGUIPrefillPromptRequest {
|
|
|
469
478
|
userProjectPath?: string | null;
|
|
470
479
|
}
|
|
471
480
|
|
|
481
|
+
interface AgentGUIAccountMenuState {
|
|
482
|
+
user: {
|
|
483
|
+
userId: string;
|
|
484
|
+
name?: string | null;
|
|
485
|
+
email?: string | null;
|
|
486
|
+
avatar?: string | null;
|
|
487
|
+
} | null;
|
|
488
|
+
membershipLabel: string;
|
|
489
|
+
creditsLabel: string | null;
|
|
490
|
+
loading: boolean;
|
|
491
|
+
error: string | null;
|
|
492
|
+
partialError?: boolean;
|
|
493
|
+
registrationCreditsToast?: {
|
|
494
|
+
id: string;
|
|
495
|
+
creditsLabel: string;
|
|
496
|
+
visible: boolean;
|
|
497
|
+
autoDismissMs?: number;
|
|
498
|
+
onDismiss(): void;
|
|
499
|
+
} | null;
|
|
500
|
+
links: {
|
|
501
|
+
planUrl: string;
|
|
502
|
+
usageUrl: string;
|
|
503
|
+
settingsUrl: string;
|
|
504
|
+
};
|
|
505
|
+
onOpenChange(open: boolean): void;
|
|
506
|
+
onLogin(): void;
|
|
507
|
+
onLogout?(): void;
|
|
508
|
+
onSettings?(): void;
|
|
509
|
+
onOpenExternal(url: string): void;
|
|
510
|
+
}
|
|
511
|
+
|
|
472
512
|
interface AgentSlashCommandCapability {
|
|
473
513
|
aliases?: readonly string[];
|
|
474
514
|
capability: "browserUse" | "computerUse";
|
|
@@ -824,6 +864,13 @@ interface AgentGUISidebarFooterContext {
|
|
|
824
864
|
activeConversation: AgentGUINodeViewModel["activeConversation"];
|
|
825
865
|
}
|
|
826
866
|
type AgentGUISidebarFooterRenderer = (ctx: AgentGUISidebarFooterContext) => ReactNode;
|
|
867
|
+
/**
|
|
868
|
+
* Renders the provider rail body when the rail is in "exact" mode and the
|
|
869
|
+
* host-provided target list is empty (and not loading). Lets the host fully own
|
|
870
|
+
* the empty state (e.g. a "no shared agents" message or a create-agent prompt)
|
|
871
|
+
* instead of the library falling back to the static local catalog.
|
|
872
|
+
*/
|
|
873
|
+
type AgentGUIProviderRailEmptyRenderer = () => ReactNode;
|
|
827
874
|
|
|
828
875
|
interface AgentGUINodeProps {
|
|
829
876
|
nodeId: string;
|
|
@@ -857,8 +904,17 @@ interface AgentGUINodeProps {
|
|
|
857
904
|
capabilityMenuState?: AgentComposerCapabilityMenuState;
|
|
858
905
|
onCapabilitySettingsRequest?: (capability: AgentComposerCapabilitySettingsTarget) => void;
|
|
859
906
|
onAgentProviderLogin?: (provider: AgentProvider) => void;
|
|
907
|
+
accountMenuState?: AgentGUIAccountMenuState | null;
|
|
860
908
|
providerTargets?: readonly AgentGUIProviderTarget[];
|
|
861
909
|
providerTargetsLoading?: boolean;
|
|
910
|
+
/**
|
|
911
|
+
* Controls how the provider rail composes its list. "catalog" (default) adds
|
|
912
|
+
* the static local catalog + placeholders + coming-soon; "exact" renders only
|
|
913
|
+
* the provided targets and shows `renderProviderRailEmpty` when empty.
|
|
914
|
+
*/
|
|
915
|
+
providerRailMode?: AgentGUIProviderRailMode;
|
|
916
|
+
/** Host-owned empty state for the provider rail in "exact" mode. */
|
|
917
|
+
renderProviderRailEmpty?: AgentGUIProviderRailEmptyRenderer;
|
|
862
918
|
renderSidebarFooter?: (ctx: AgentGUISidebarFooterContext) => ReactNode;
|
|
863
919
|
comingSoonProviders?: readonly AgentGUIProvider[];
|
|
864
920
|
providerReadinessGates?: Partial<Record<AgentGUIProvider, AgentGUIProviderReadinessGate | null>> | null;
|
|
@@ -914,7 +970,7 @@ interface AgentGUIProps extends AgentGUINodeProps {
|
|
|
914
970
|
}
|
|
915
971
|
declare const AgentGUI: react.NamedExoticComponent<AgentGUIProps>;
|
|
916
972
|
|
|
917
|
-
declare const agentGUIDefaultTargetProviders: readonly ["codex", "claude-code", "cursor", "
|
|
973
|
+
declare const agentGUIDefaultTargetProviders: readonly ["codex", "claude-code", "cursor", "tutti-agent", "hermes", "openclaw"];
|
|
918
974
|
declare function createLocalAgentGUIProviderTarget(provider: AgentGUIProvider): AgentGUIProviderTarget;
|
|
919
975
|
declare function createSharedAgentGUIProviderTarget(input: {
|
|
920
976
|
provider: AgentGUIProvider;
|
|
@@ -952,6 +1008,7 @@ declare const agentGuiDockIconUrls: {
|
|
|
952
1008
|
readonly hermes: string;
|
|
953
1009
|
readonly nexight: string;
|
|
954
1010
|
readonly openclaw: string;
|
|
1011
|
+
readonly "tutti-agent": string;
|
|
955
1012
|
};
|
|
956
1013
|
|
|
957
1014
|
interface AgentGUIExpandedWindowFrameInput {
|
|
@@ -985,4 +1042,4 @@ interface AgentActivityHostProviderProps extends PropsWithChildren {
|
|
|
985
1042
|
}
|
|
986
1043
|
declare function AgentActivityHostProvider({ agentActivityRuntime, agentHostApi, children }: AgentActivityHostProviderProps): JSX.Element;
|
|
987
1044
|
|
|
988
|
-
export { AgentActivityHostProvider, type AgentActivityHostProviderProps, type AgentActivityRuntime, type AgentActivityRuntimeListSessionMessagesInput, type AgentActivityRuntimePromptContentBlock, AgentActivityRuntimeProvider, type AgentActivityRuntimeProviderProps, type AgentActivityRuntimeRetainSessionEventsInput, type AgentActivityRuntimeSetSessionPinnedInput, type AgentActivityRuntimeUpdateSessionSettingsInput, type AgentActivityRuntimeUploadPromptContentInput, type AgentActivityRuntimeUploadPromptContentResult, type AgentActivityRuntimeWarmupOpenclawGatewayInput, type AgentActivitySnapshotProjection, AgentContextMentionProvider, type AgentCustomMentionChipContext, type AgentCustomMentionIdentity, type AgentCustomMentionKindDefinition, type AgentCustomMentionPresentation, AgentGUI, type AgentGUIProps, AgentGUIProvider, AgentGUIProviderReadinessGate, AgentGUIProviderTarget, AgentGUIProviderTargetRef, type AgentGUISidebarFooterContext, type AgentGUISidebarFooterRenderer, AgentGuiI18nLocale, AgentHostInputApi, AgentProbeSnapshot, AgentQueuedPromptQueueSnapshot, AgentQueuedPromptRuntime, AgentQueuedPromptRuntimeProvider, type AgentQueuedPromptRuntimeProviderProps, agentGUIDefaultTargetProviders, agentGuiDockIconUrl, agentGuiDockIconUrls, agentHostSnapshotFromAgentActivitySnapshot, buildAgentActivitySnapshotProjection, createLocalAgentGUIProviderTarget, createLocalAgentGUIProviderTargets, createSharedAgentGUIProviderTarget, getAgentActivityRuntime, getAgentCustomMentionKind, getOptionalAgentActivityRuntime, localAgentGUIAgentTargetId, localAgentGUIProviderTargetId, normalizeAgentGUIProviderTargets, projectCoreSessionStatus, registerAgentCustomMentionKind, resetAgentActivityRuntimeForTests, resetAgentCustomMentionKindsForTests, resetAgentQueuedPromptRuntimeForTests, resolveAgentGUIExpandedWindowFrame, resolveAgentGUIProviderTarget, setAgentActivityRuntimeForTests, setAgentQueuedPromptRuntimeForTests, shouldAutoCollapseAgentGUIConversationRail, useAgentActivityRuntime, useAgentActivitySnapshot, useAgentQueuedPromptRuntime, useAgentQueuedPromptSessionSnapshot, useOptionalAgentActivityRuntime };
|
|
1045
|
+
export { AgentActivityHostProvider, type AgentActivityHostProviderProps, type AgentActivityRuntime, type AgentActivityRuntimeListSessionMessagesInput, type AgentActivityRuntimePromptContentBlock, AgentActivityRuntimeProvider, type AgentActivityRuntimeProviderProps, type AgentActivityRuntimeRetainSessionEventsInput, type AgentActivityRuntimeSetSessionPinnedInput, type AgentActivityRuntimeUpdateSessionSettingsInput, type AgentActivityRuntimeUploadPromptContentInput, type AgentActivityRuntimeUploadPromptContentResult, type AgentActivityRuntimeWarmupOpenclawGatewayInput, type AgentActivitySnapshotProjection, AgentContextMentionProvider, type AgentCustomMentionChipContext, type AgentCustomMentionIdentity, type AgentCustomMentionKindDefinition, type AgentCustomMentionPresentation, AgentGUI, type AgentGUIAccountMenuState, type AgentGUIProps, AgentGUIProvider, type AgentGUIProviderRailEmptyRenderer, AgentGUIProviderRailMode, AgentGUIProviderReadinessGate, AgentGUIProviderTarget, AgentGUIProviderTargetRef, type AgentGUISidebarFooterContext, type AgentGUISidebarFooterRenderer, AgentGuiI18nLocale, AgentHostInputApi, AgentProbeSnapshot, AgentQueuedPromptQueueSnapshot, AgentQueuedPromptRuntime, AgentQueuedPromptRuntimeProvider, type AgentQueuedPromptRuntimeProviderProps, agentGUIDefaultTargetProviders, agentGuiDockIconUrl, agentGuiDockIconUrls, agentHostSnapshotFromAgentActivitySnapshot, buildAgentActivitySnapshotProjection, createLocalAgentGUIProviderTarget, createLocalAgentGUIProviderTargets, createSharedAgentGUIProviderTarget, getAgentActivityRuntime, getAgentCustomMentionKind, getOptionalAgentActivityRuntime, localAgentGUIAgentTargetId, localAgentGUIProviderTargetId, normalizeAgentGUIProviderTargets, projectCoreSessionStatus, registerAgentCustomMentionKind, resetAgentActivityRuntimeForTests, resetAgentCustomMentionKindsForTests, resetAgentQueuedPromptRuntimeForTests, resolveAgentGUIExpandedWindowFrame, resolveAgentGUIProviderTarget, setAgentActivityRuntimeForTests, setAgentQueuedPromptRuntimeForTests, shouldAutoCollapseAgentGUIConversationRail, useAgentActivityRuntime, useAgentActivitySnapshot, useAgentQueuedPromptRuntime, useAgentQueuedPromptSessionSnapshot, useOptionalAgentActivityRuntime };
|