@tutti-os/agent-gui 0.0.12 → 0.0.13
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/agent-conversation/index.d.ts +5 -52
- package/dist/agent-conversation/index.js +4 -3
- package/dist/agent-conversation/index.js.map +1 -1
- package/dist/agent-message-center/index.d.ts +15 -5
- package/dist/agent-message-center/index.js +47 -28
- package/dist/agent-message-center/index.js.map +1 -1
- package/dist/{agentConversationVM-BtHYOTgv.d.ts → agentConversationVM-BVe64P2E.d.ts} +1 -1
- package/dist/app/renderer/agentactivity.css +111 -134
- package/dist/app/renderer/assets/icons/agents/manage-agent-tutti.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-nexight.png +0 -0
- package/dist/chunk-3YZX5EUC.js +1993 -0
- package/dist/chunk-3YZX5EUC.js.map +1 -0
- package/dist/{chunk-QU4F2RSS.js → chunk-ASAZDEQE.js} +7 -7
- package/dist/chunk-ASAZDEQE.js.map +1 -0
- package/dist/{chunk-Y3AQGWJA.js → chunk-FSTZDNRM.js} +43 -3
- package/dist/chunk-FSTZDNRM.js.map +1 -0
- package/dist/{chunk-72YSPOHX.js → chunk-GZHQPPK2.js} +626 -1915
- package/dist/chunk-GZHQPPK2.js.map +1 -0
- package/dist/{chunk-Y5O7BVGU.js → chunk-HSXDSFKB.js} +10 -1123
- package/dist/chunk-HSXDSFKB.js.map +1 -0
- package/dist/{chunk-PKCJR6GC.js → chunk-KEKPOVQD.js} +14 -7
- package/dist/chunk-KEKPOVQD.js.map +1 -0
- package/dist/{chunk-4ASBZ4X7.js → chunk-MTFSQWZ6.js} +2 -2
- package/dist/chunk-MU2LODEV.js +1211 -0
- package/dist/chunk-MU2LODEV.js.map +1 -0
- package/dist/{chunk-R5Q2UDDH.js → chunk-Q75AK47T.js} +2 -2
- package/dist/{chunk-PONEQEJ5.js → chunk-RLPVFX7V.js} +137 -31
- package/dist/chunk-RLPVFX7V.js.map +1 -0
- package/dist/chunk-VDNMTW2E.js +9 -0
- package/dist/chunk-VDNMTW2E.js.map +1 -0
- package/dist/chunk-WME2V26J.js +1124 -0
- package/dist/chunk-WME2V26J.js.map +1 -0
- package/dist/chunk-YXSO4ITT.js +10 -0
- package/dist/chunk-YXSO4ITT.js.map +1 -0
- package/dist/{chunk-3735XYFZ.js → chunk-ZO3SZCIX.js} +54 -3
- package/dist/chunk-ZO3SZCIX.js.map +1 -0
- package/dist/context-mention-palette/index.d.ts +203 -0
- package/dist/context-mention-palette/index.js +30 -0
- package/dist/context-mention-provider.d.ts +51 -0
- package/dist/context-mention-provider.js +7 -0
- package/dist/context-mention-provider.js.map +1 -0
- package/dist/i18n/index.d.ts +42 -2
- package/dist/i18n/index.js +1 -1
- package/dist/index.d.ts +31 -6
- package/dist/index.js +2465 -3690
- package/dist/index.js.map +1 -1
- package/dist/plan-decision-ops.d.ts +2 -2
- package/dist/workbench/contribution.js +5 -5
- package/dist/workbench/index.d.ts +2 -2
- package/dist/workbench/index.js +10 -6
- package/dist/workbench/launch.d.ts +19 -2
- package/dist/workbench/launch.js +7 -2
- package/dist/workbench/types.d.ts +6 -1
- package/dist/workbench/types.js +5 -3
- package/dist/workspace-agent-generated-files.d.ts +1 -1
- package/dist/workspace-agent-generated-files.js +2 -2
- package/dist/{workspaceAgentActivityListViewModel-BLLYGuFO.d.ts → workspaceAgentActivityListViewModel-BK_J3aNX.d.ts} +8 -5
- package/dist/{workspaceLinkActions-Bwa-phu8.d.ts → workspaceLinkActions-BlLN8Pvz.d.ts} +7 -1
- package/package.json +24 -15
- package/dist/agent-rich-text-at-provider.d.ts +0 -49
- package/dist/agent-rich-text-at-provider.js +0 -7
- package/dist/chunk-3735XYFZ.js.map +0 -1
- package/dist/chunk-6AZ2KF6R.js +0 -7
- package/dist/chunk-6AZ2KF6R.js.map +0 -1
- package/dist/chunk-72YSPOHX.js.map +0 -1
- package/dist/chunk-KCC3GNPB.js +0 -13
- package/dist/chunk-KCC3GNPB.js.map +0 -1
- package/dist/chunk-PKCJR6GC.js.map +0 -1
- package/dist/chunk-PONEQEJ5.js.map +0 -1
- package/dist/chunk-QU4F2RSS.js.map +0 -1
- package/dist/chunk-Y3AQGWJA.js.map +0 -1
- package/dist/chunk-Y5O7BVGU.js.map +0 -1
- /package/dist/{chunk-4ASBZ4X7.js.map → chunk-MTFSQWZ6.js.map} +0 -0
- /package/dist/{chunk-R5Q2UDDH.js.map → chunk-Q75AK47T.js.map} +0 -0
- /package/dist/{agent-rich-text-at-provider.js.map → context-mention-palette/index.js.map} +0 -0
package/dist/i18n/index.d.ts
CHANGED
|
@@ -486,6 +486,24 @@ declare const agentGuiI18nResources: {
|
|
|
486
486
|
readonly copyMessage: "Copy message";
|
|
487
487
|
readonly messageCopied: "Copied";
|
|
488
488
|
readonly promptTipsPrefix: "Tips: ";
|
|
489
|
+
readonly reviewPicker: {
|
|
490
|
+
readonly title: "Code review";
|
|
491
|
+
readonly targetLabel: "What to review";
|
|
492
|
+
readonly searchPlaceholder: "Search";
|
|
493
|
+
readonly noResults: "No matches";
|
|
494
|
+
readonly uncommitted: "Uncommitted changes";
|
|
495
|
+
readonly baseBranch: "Compare against a branch";
|
|
496
|
+
readonly commit: "A specific commit";
|
|
497
|
+
readonly custom: "Custom instructions";
|
|
498
|
+
readonly branchLabel: "Base branch";
|
|
499
|
+
readonly branchPlaceholder: "Select a branch";
|
|
500
|
+
readonly branchLoading: "Loading branches…";
|
|
501
|
+
readonly branchEmpty: "No branches found";
|
|
502
|
+
readonly commitPlaceholder: "Commit SHA";
|
|
503
|
+
readonly customPlaceholder: "Describe what to review";
|
|
504
|
+
readonly submit: "Start review";
|
|
505
|
+
readonly cancel: "Cancel";
|
|
506
|
+
};
|
|
489
507
|
readonly promptTips: {
|
|
490
508
|
readonly setWorkspace: {
|
|
491
509
|
readonly label: "Set the workspace";
|
|
@@ -635,7 +653,6 @@ declare const agentGuiI18nResources: {
|
|
|
635
653
|
readonly retryActivation: "Retry";
|
|
636
654
|
readonly continueInNewConversation: "New session";
|
|
637
655
|
readonly processing: "Planning next moves";
|
|
638
|
-
readonly promptImagesCannotQueue: "Images can only be sent when the agent is ready for your next message.";
|
|
639
656
|
readonly promptImagesUnsupported: "This agent does not support image input with the current model.";
|
|
640
657
|
readonly visibleErrorStartFailed: "{{provider}} failed to start";
|
|
641
658
|
readonly visibleErrorRequestFailed: "{{provider}} request failed";
|
|
@@ -706,7 +723,10 @@ declare const agentGuiI18nResources: {
|
|
|
706
723
|
readonly slashCommandPalette: "Slash commands";
|
|
707
724
|
readonly skillPickerPalette: "Skills";
|
|
708
725
|
readonly slashPaletteCommandsGroup: "Commands";
|
|
726
|
+
readonly slashPaletteCapabilitiesGroup: "Capabilities";
|
|
709
727
|
readonly slashPaletteSkillsGroup: "Skills";
|
|
728
|
+
readonly browserUseCapabilityLabel: "Browser";
|
|
729
|
+
readonly browserUseCapabilityDescription: "Let the agent use a browser.";
|
|
710
730
|
readonly fileMentionPalette: "Files";
|
|
711
731
|
readonly fileMentionLoading: "Searching...";
|
|
712
732
|
readonly fileMentionEmpty: "Search workspace files based on your input";
|
|
@@ -2790,6 +2810,24 @@ declare const agentGuiI18nResources: {
|
|
|
2790
2810
|
readonly copyMessage: "复制消息";
|
|
2791
2811
|
readonly messageCopied: "已复制";
|
|
2792
2812
|
readonly promptTipsPrefix: "Tips:";
|
|
2813
|
+
readonly reviewPicker: {
|
|
2814
|
+
readonly title: "代码审查";
|
|
2815
|
+
readonly targetLabel: "审查范围";
|
|
2816
|
+
readonly searchPlaceholder: "搜索";
|
|
2817
|
+
readonly noResults: "无匹配结果";
|
|
2818
|
+
readonly uncommitted: "未提交的更改";
|
|
2819
|
+
readonly baseBranch: "与分支比较";
|
|
2820
|
+
readonly commit: "指定提交";
|
|
2821
|
+
readonly custom: "自定义说明";
|
|
2822
|
+
readonly branchLabel: "基准分支";
|
|
2823
|
+
readonly branchPlaceholder: "选择分支";
|
|
2824
|
+
readonly branchLoading: "正在加载分支…";
|
|
2825
|
+
readonly branchEmpty: "未找到分支";
|
|
2826
|
+
readonly commitPlaceholder: "提交 SHA";
|
|
2827
|
+
readonly customPlaceholder: "描述要审查的内容";
|
|
2828
|
+
readonly submit: "开始审查";
|
|
2829
|
+
readonly cancel: "取消";
|
|
2830
|
+
};
|
|
2793
2831
|
readonly promptTips: {
|
|
2794
2832
|
readonly setWorkspace: {
|
|
2795
2833
|
readonly label: "指定工作区";
|
|
@@ -2939,7 +2977,6 @@ declare const agentGuiI18nResources: {
|
|
|
2939
2977
|
readonly retryActivation: "重试";
|
|
2940
2978
|
readonly continueInNewConversation: "去新会话";
|
|
2941
2979
|
readonly processing: "正在规划下一步";
|
|
2942
|
-
readonly promptImagesCannotQueue: "图片只能在 Agent 准备好接收下一条消息时发送。";
|
|
2943
2980
|
readonly promptImagesUnsupported: "当前模型不支持图片输入。";
|
|
2944
2981
|
readonly visibleErrorStartFailed: "{{provider}} 启动失败";
|
|
2945
2982
|
readonly visibleErrorRequestFailed: "{{provider}} 请求失败";
|
|
@@ -3010,7 +3047,10 @@ declare const agentGuiI18nResources: {
|
|
|
3010
3047
|
readonly slashCommandPalette: "斜杠菜单";
|
|
3011
3048
|
readonly skillPickerPalette: "技能";
|
|
3012
3049
|
readonly slashPaletteCommandsGroup: "命令";
|
|
3050
|
+
readonly slashPaletteCapabilitiesGroup: "能力";
|
|
3013
3051
|
readonly slashPaletteSkillsGroup: "技能";
|
|
3052
|
+
readonly browserUseCapabilityLabel: "浏览器";
|
|
3053
|
+
readonly browserUseCapabilityDescription: "让 Agent 使用浏览器。";
|
|
3014
3054
|
readonly fileMentionPalette: "工作区文件";
|
|
3015
3055
|
readonly fileMentionLoading: "正在搜索工作区...";
|
|
3016
3056
|
readonly fileMentionEmpty: "根据你输入的内容搜索工作区文件";
|
package/dist/i18n/index.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import { AgentActivityNeedsAttentionItem, AgentActivitySnapshot, AgentActivityCancelSessionInput, AgentActivityCancelSessionResult, AgentActivityCreateSessionInput, AgentActivitySession, AgentActivityDeleteSessionInput, AgentActivityDeleteSessionResult, AgentActivitySendInput, AgentActivityMessageOrder, AgentActivityMessagePage, AgentActivitySubmitInteractiveInput, AgentActivitySnapshotListener } from '@tutti-os/agent-activity-core';
|
|
2
2
|
export { AgentActivityAdapter, AgentActivityController, AgentActivityMessage, AgentActivityNeedsAttentionItem, AgentActivitySnapshot, selectNeedsAttentionCount, selectNeedsAttentionItems } from '@tutti-os/agent-activity-core';
|
|
3
|
-
import { m as WorkspaceAgentActivityListViewModel, g as AgentHostWorkspaceAgentSession, f as AgentHostWorkspaceAgentMessage, l as AgentHostWorkspaceAgentSnapshot, B as BuildWorkspaceAgentActivityListOptions, d as AgentHostRuntimeOpenclawGatewayWarmupResult, A as AgentHostBatchUserInfoInput, a as AgentHostBatchUserInfoResult, b as AgentHostDeleteWorkspaceAgentSessionInput, k as AgentHostWorkspaceAgentSessionSummaryInput, j as AgentHostWorkspaceAgentSessionSummary, e as AgentHostWorkspaceAgentListInput, i as AgentHostWorkspaceAgentSessionMessagesInput, h as AgentHostWorkspaceAgentSessionMessages, c as AgentHostManagedAgentsState } from './workspaceAgentActivityListViewModel-
|
|
3
|
+
import { m as WorkspaceAgentActivityListViewModel, g as AgentHostWorkspaceAgentSession, f as AgentHostWorkspaceAgentMessage, l as AgentHostWorkspaceAgentSnapshot, B as BuildWorkspaceAgentActivityListOptions, d as AgentHostRuntimeOpenclawGatewayWarmupResult, A as AgentHostBatchUserInfoInput, a as AgentHostBatchUserInfoResult, b as AgentHostDeleteWorkspaceAgentSessionInput, k as AgentHostWorkspaceAgentSessionSummaryInput, j as AgentHostWorkspaceAgentSessionSummary, e as AgentHostWorkspaceAgentListInput, i as AgentHostWorkspaceAgentSessionMessagesInput, h as AgentHostWorkspaceAgentSessionMessages, c as AgentHostManagedAgentsState } from './workspaceAgentActivityListViewModel-BK_J3aNX.js';
|
|
4
4
|
import { PropsWithChildren, JSX } from 'react';
|
|
5
5
|
import { I18nRuntime } from '@tutti-os/ui-i18n-runtime';
|
|
6
6
|
import { WorkspaceUserProjectService } from '@tutti-os/workspace-user-project/contracts';
|
|
7
7
|
import { WorkspaceFileReferenceAdapter, WorkspaceFileReference } from '@tutti-os/workspace-file-reference/contracts';
|
|
8
|
-
import { W as WorkspaceLinkAction } from './workspaceLinkActions-
|
|
9
|
-
import {
|
|
10
|
-
export {
|
|
8
|
+
import { W as WorkspaceLinkAction } from './workspaceLinkActions-BlLN8Pvz.js';
|
|
9
|
+
import { AgentContextMentionProvider } from './context-mention-provider.js';
|
|
10
|
+
export { AGENT_CONTEXT_MENTION_PROVIDER_IDS, AgentContextMentionProviderId } from './context-mention-provider.js';
|
|
11
11
|
import { A as AgentMessageMarkdownWorkspaceAppIcon } from './AgentMessageMarkdown-DeYPURtF.js';
|
|
12
12
|
import { AgentGuiI18nLocale } from './i18n/index.js';
|
|
13
13
|
export { AgentGuiI18nProvider, agentGuiI18nModule, agentGuiI18nResources } from './i18n/index.js';
|
|
14
14
|
import '@tutti-os/workspace-issue-manager/core';
|
|
15
|
+
import '@tutti-os/ui-rich-text/types';
|
|
16
|
+
import '@tutti-os/workspace-external-core/contracts';
|
|
15
17
|
|
|
16
18
|
type AgentHostAgentSessionProvider = "claude-code" | "codex" | "nexight" | "gemini" | "hermes" | "openclaw";
|
|
17
19
|
type AgentHostAgentSessionPermissionModeSemantic = "ask-before-write" | "accept-edits" | "locked-down" | "auto" | "full-access" | "unconfigurable";
|
|
@@ -33,6 +35,7 @@ interface AgentHostAgentSessionComposerSettings {
|
|
|
33
35
|
reasoningEffort?: AgentHostAgentSessionReasoningEffort | null;
|
|
34
36
|
speed?: AgentHostAgentSessionSpeed | null;
|
|
35
37
|
planMode?: boolean;
|
|
38
|
+
browserUse?: boolean;
|
|
36
39
|
permissionModeId?: string | null;
|
|
37
40
|
}
|
|
38
41
|
interface AgentHostAgentSession {
|
|
@@ -680,12 +683,32 @@ interface WorkspaceDesktopAgentProbesState {
|
|
|
680
683
|
}
|
|
681
684
|
type WorkspaceDesktopAgentProbeDemandChange = (provider: AgentProvider | null, sourceId?: string) => void;
|
|
682
685
|
|
|
686
|
+
interface AgentGUIOpenSessionRequest {
|
|
687
|
+
agentSessionId: string;
|
|
688
|
+
sequence: number;
|
|
689
|
+
}
|
|
690
|
+
interface AgentGUIPrefillPromptRequest {
|
|
691
|
+
draftPrompt: string;
|
|
692
|
+
sequence: number;
|
|
693
|
+
userProjectPath?: string | null;
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
interface AgentComposerGitBranches {
|
|
697
|
+
branches: readonly string[];
|
|
698
|
+
currentBranch?: string | null;
|
|
699
|
+
}
|
|
700
|
+
type AgentComposerGitBranchLoader = (input: {
|
|
701
|
+
agentSessionId?: string | null;
|
|
702
|
+
workingDirectory?: string | null;
|
|
703
|
+
}) => Promise<AgentComposerGitBranches>;
|
|
704
|
+
|
|
683
705
|
interface AgentGUINodeProps {
|
|
684
706
|
nodeId: string;
|
|
685
707
|
workspaceId: string;
|
|
686
708
|
currentUserId?: string | null;
|
|
687
709
|
workspacePath: string;
|
|
688
710
|
workspaceFileReferenceAdapter?: WorkspaceFileReferenceAdapter | null;
|
|
711
|
+
onRequestGitBranches?: AgentComposerGitBranchLoader | null;
|
|
689
712
|
agentSettings: Pick<AgentSettings, "avoidGroupingEdits">;
|
|
690
713
|
title: string;
|
|
691
714
|
state: AgentGUINodeData;
|
|
@@ -705,6 +728,8 @@ interface AgentGUINodeProps {
|
|
|
705
728
|
isMaximized?: boolean;
|
|
706
729
|
isActive: boolean;
|
|
707
730
|
composerFocusRequestSequence?: number | null;
|
|
731
|
+
openSessionRequest?: AgentGUIOpenSessionRequest | null;
|
|
732
|
+
prefillPromptRequest?: AgentGUIPrefillPromptRequest | null;
|
|
708
733
|
showProjectSelector?: boolean;
|
|
709
734
|
isMuted?: boolean;
|
|
710
735
|
onMinimize?: () => void;
|
|
@@ -713,7 +738,7 @@ interface AgentGUINodeProps {
|
|
|
713
738
|
workspaceAgentProbes?: WorkspaceDesktopAgentProbesState | null;
|
|
714
739
|
onAgentProbeDemandChange?: WorkspaceDesktopAgentProbeDemandChange;
|
|
715
740
|
managedAgentsState?: AgentHostManagedAgentsState | null;
|
|
716
|
-
|
|
741
|
+
contextMentionProviders?: readonly AgentContextMentionProvider[];
|
|
717
742
|
workspaceAppIcons?: readonly AgentMessageMarkdownWorkspaceAppIcon[];
|
|
718
743
|
embedded?: boolean;
|
|
719
744
|
previewMode?: boolean;
|
|
@@ -769,4 +794,4 @@ interface AgentActivityHostProviderProps extends PropsWithChildren {
|
|
|
769
794
|
}
|
|
770
795
|
declare function AgentActivityHostProvider({ agentActivityRuntime, agentHostApi, children }: AgentActivityHostProviderProps): JSX.Element;
|
|
771
796
|
|
|
772
|
-
export { AgentActivityHostProvider, type AgentActivityHostProviderProps, type AgentActivityRuntime, type AgentActivityRuntimeListSessionMessagesInput, AgentActivityRuntimeProvider, type AgentActivityRuntimeProviderProps, type AgentActivityRuntimeRetainSessionEventsInput, type AgentActivityRuntimeSetSessionPinnedInput, type AgentActivityRuntimeUpdateSessionSettingsInput, type AgentActivityRuntimeWarmupOpenclawGatewayInput, type AgentActivitySnapshotProjection, AgentGUI, type AgentGUIProps, AgentGuiI18nLocale, type AgentHostApi, type AgentHostInputApi, type AgentHostRuntimeApi, type AgentProbeProvider, type AgentProbeSnapshot, type AgentProviderProbeListInput, type AgentProviderProbeListResult,
|
|
797
|
+
export { AgentActivityHostProvider, type AgentActivityHostProviderProps, type AgentActivityRuntime, type AgentActivityRuntimeListSessionMessagesInput, AgentActivityRuntimeProvider, type AgentActivityRuntimeProviderProps, type AgentActivityRuntimeRetainSessionEventsInput, type AgentActivityRuntimeSetSessionPinnedInput, type AgentActivityRuntimeUpdateSessionSettingsInput, type AgentActivityRuntimeWarmupOpenclawGatewayInput, type AgentActivitySnapshotProjection, AgentContextMentionProvider, AgentGUI, type AgentGUIProps, AgentGuiI18nLocale, type AgentHostApi, type AgentHostInputApi, type AgentHostRuntimeApi, type AgentProbeProvider, type AgentProbeSnapshot, type AgentProviderProbeListInput, type AgentProviderProbeListResult, type AgentUsageQuota, type AgentUsageSnapshot, agentGuiDockIconUrl, agentGuiDockIconUrls, agentHostSnapshotFromAgentActivitySnapshot, buildAgentActivitySnapshotProjection, getAgentActivityRuntime, getOptionalAgentActivityRuntime, projectCoreSessionStatus, resetAgentActivityRuntimeForTests, resolveAgentGUIExpandedWindowFrame, setAgentActivityRuntimeForTests, shouldAutoCollapseAgentGUIConversationRail, useAgentActivityRuntime, useAgentActivitySnapshot, useOptionalAgentActivityRuntime };
|