@tutti-os/agent-gui 0.0.101 → 0.0.103
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 +31 -0
- package/dist/{AgentGUI-FECh2x1p.d.ts → AgentGUI-D6IQ0F_N.d.ts} +10 -2
- package/dist/agent-conversation/index.d.ts +1 -1
- package/dist/agent-conversation/index.js +7 -7
- package/dist/agent-gui.d.ts +3 -3
- package/dist/agent-gui.js +14 -14
- package/dist/agent-message-center/index.d.ts +1 -1
- package/dist/agent-message-center/index.js +7 -6
- package/dist/agent-message-center/index.js.map +1 -1
- package/dist/{agentGuiNodeTypes-BH3lz6gn.d.ts → agentGuiNodeTypes-8U3q_frv.d.ts} +1 -0
- package/dist/app/renderer/agentactivity.css +11 -0
- package/dist/{chunk-DWUVRWXD.js → chunk-3ZBDWWCV.js} +2 -2
- package/dist/{chunk-KAV2WHTG.js → chunk-5Z4ZXXX4.js} +2 -2
- package/dist/{chunk-UESYITH6.js → chunk-6PMLIVTI.js} +2 -2
- package/dist/{chunk-E5AD46HP.js → chunk-IBFGOAY3.js} +2 -2
- package/dist/{chunk-ZPKPIHMZ.js → chunk-IVY4OL7B.js} +69 -52
- package/dist/chunk-IVY4OL7B.js.map +1 -0
- package/dist/{chunk-VQOPBBBI.js → chunk-L2MTZMVH.js} +239 -152
- package/dist/chunk-L2MTZMVH.js.map +1 -0
- package/dist/{chunk-GCW57WYQ.js → chunk-PCXBTG5X.js} +3 -3
- package/dist/{chunk-4E3QCW6L.js → chunk-RGG5UGJD.js} +3 -1
- package/dist/chunk-RGG5UGJD.js.map +1 -0
- package/dist/{chunk-TDVYZEUI.js → chunk-SGGGE2F3.js} +126 -30
- package/dist/chunk-SGGGE2F3.js.map +1 -0
- package/dist/{chunk-MJOQP2ED.js → chunk-UHOVZI6B.js} +3 -3
- package/dist/{chunk-EUW6VPIK.js → chunk-WXMBD2O7.js} +11 -8
- package/dist/{chunk-EUW6VPIK.js.map → chunk-WXMBD2O7.js.map} +1 -1
- package/dist/{chunk-FAE7CXZO.js → chunk-XZD5KTM4.js} +11 -7
- package/dist/{chunk-FAE7CXZO.js.map → chunk-XZD5KTM4.js.map} +1 -1
- package/dist/{chunk-D7HMQLBO.js → chunk-ZRJS4MOQ.js} +2 -2
- package/dist/context-mention-palette/index.js +8 -8
- package/dist/i18n/index.d.ts +2 -0
- package/dist/i18n/index.js +2 -2
- package/dist/index.d.ts +5 -5
- package/dist/index.js +14 -14
- package/dist/index.js.map +1 -1
- package/dist/mention-search.js +6 -6
- package/dist/workbench/contribution.js +3 -3
- package/dist/workbench/index.js +3 -3
- package/dist/workbench/sessionTitle.js +2 -2
- package/package.json +12 -12
- package/dist/chunk-4E3QCW6L.js.map +0 -1
- package/dist/chunk-TDVYZEUI.js.map +0 -1
- package/dist/chunk-VQOPBBBI.js.map +0 -1
- package/dist/chunk-ZPKPIHMZ.js.map +0 -1
- /package/dist/{chunk-DWUVRWXD.js.map → chunk-3ZBDWWCV.js.map} +0 -0
- /package/dist/{chunk-KAV2WHTG.js.map → chunk-5Z4ZXXX4.js.map} +0 -0
- /package/dist/{chunk-UESYITH6.js.map → chunk-6PMLIVTI.js.map} +0 -0
- /package/dist/{chunk-E5AD46HP.js.map → chunk-IBFGOAY3.js.map} +0 -0
- /package/dist/{chunk-GCW57WYQ.js.map → chunk-PCXBTG5X.js.map} +0 -0
- /package/dist/{chunk-MJOQP2ED.js.map → chunk-UHOVZI6B.js.map} +0 -0
- /package/dist/{chunk-D7HMQLBO.js.map → chunk-ZRJS4MOQ.js.map} +0 -0
package/README.md
CHANGED
|
@@ -98,6 +98,37 @@ pnpm check:agent-activity-runtime-boundaries
|
|
|
98
98
|
`hostCapabilities`, `hostActions`, and `renderSlots`. Extend the owning object;
|
|
99
99
|
do not restore flat compatibility props.
|
|
100
100
|
|
|
101
|
+
## Reference Provenance Filtering
|
|
102
|
+
|
|
103
|
+
Reference provenance filtering is disabled by default. Collaboration hosts can
|
|
104
|
+
opt in by injecting the complete catalog through
|
|
105
|
+
`hostCapabilities.referenceProvenanceFilterCatalog`:
|
|
106
|
+
|
|
107
|
+
```tsx
|
|
108
|
+
<AgentGUI
|
|
109
|
+
{...props}
|
|
110
|
+
hostCapabilities={{
|
|
111
|
+
referenceProvenanceFilterCatalog: {
|
|
112
|
+
enabledDimensions: ["agent", "member"],
|
|
113
|
+
agentOptions: [{ id: "agent-1", label: "Agent 1" }],
|
|
114
|
+
memberOptions: [{ id: "member-1", label: "Member 1" }]
|
|
115
|
+
}
|
|
116
|
+
}}
|
|
117
|
+
/>
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
The catalog is host-owned: option IDs must be durable identities understood by
|
|
121
|
+
the host's injected reference/search providers. Active dimensions are passed
|
|
122
|
+
to those providers as query metadata and must be enforced before pagination.
|
|
123
|
+
Sources that cannot enforce an active dimension must fail closed instead of
|
|
124
|
+
returning unfiltered results.
|
|
125
|
+
|
|
126
|
+
`referenceProvenanceFilterEnabled` remains as the legacy Tutti personal-edition
|
|
127
|
+
switch. When enabled without an explicit catalog, AgentGUI derives only the
|
|
128
|
+
Agent options from the Agent directory and keeps `memberOptions` empty. Omitting
|
|
129
|
+
both properties keeps the filter off. An explicitly supplied catalog (including
|
|
130
|
+
`null`) takes precedence over the legacy switch.
|
|
131
|
+
|
|
101
132
|
## Home Suggestions
|
|
102
133
|
|
|
103
134
|
The five starter entries below the empty new-session composer are enabled by
|
|
@@ -3,8 +3,8 @@ import { PropsWithChildren, JSX, HTMLAttributes, ReactNode } from 'react';
|
|
|
3
3
|
import { I18nRuntime } from '@tutti-os/ui-i18n-runtime';
|
|
4
4
|
import { AgentActivityGoalControlInput, AgentActivityGoalControlResult, AgentActivityCreateSessionInput, AgentActivitySession, AgentActivityDeleteSessionInput, AgentActivityDeleteSessionResult, AgentActivitySendInput, AgentActivitySessionSettings, AgentActivityActivateSessionResult, AgentActivitySnapshot, AgentSessionEngine, AgentActivityMessageOrder, AgentActivityMessagePage, AgentActivitySendInputResult, AgentActivityRenameSessionInput, AgentActivitySubmitInteractiveInput, AgentActivitySubmitInteractiveResult, AgentActivitySnapshotListener, AgentActivitySubmitSettingsPatch } from '@tutti-os/agent-activity-core';
|
|
5
5
|
import { u as AgentHostAgentSessionComposerSettings, y as AgentHostUnactivateAgentSessionResult, h as AgentGUIAgentTarget, n as AgentGUIProvider, z as AgentPromptContentBlock, m as AgentGUINodeData, P as Point, o as AgentGUIProviderRailAllPresentation, p as AgentGUIProviderRailMode, q as AgentGUIProviderReadinessGate, l as AgentGUIHomeSuggestionId, N as NodeFrame, e as AgentGUIAgentDirectorySnapshot, k as AgentGUIAllAgentsPresentation } from './types-CnT8rNUI.js';
|
|
6
|
-
import { A as AgentComposerDraft, q as AgentSessionCommand, d as AgentGUIProviderSkillOption, b as AgentGUIComposerSettingsVM, e as AgentGUIQueueStatus, f as AgentGUIQueuedPromptVM, l as AgentMessageMarkdownWorkspaceAppIcon, r as AgentSlashCommandCapability, c as AgentGUINodeViewModel, n as AgentProbeSnapshot, a as AgentComposerDraftFile, i as AgentHostInputApi } from './agentGuiNodeTypes-
|
|
7
|
-
import { WorkspaceFileReference, ReferenceLocateTarget, WorkspaceFileReferenceAdapter } from '@tutti-os/workspace-file-reference/contracts';
|
|
6
|
+
import { A as AgentComposerDraft, q as AgentSessionCommand, d as AgentGUIProviderSkillOption, b as AgentGUIComposerSettingsVM, e as AgentGUIQueueStatus, f as AgentGUIQueuedPromptVM, l as AgentMessageMarkdownWorkspaceAppIcon, r as AgentSlashCommandCapability, c as AgentGUINodeViewModel, n as AgentProbeSnapshot, a as AgentComposerDraftFile, i as AgentHostInputApi } from './agentGuiNodeTypes-8U3q_frv.js';
|
|
7
|
+
import { WorkspaceFileReference, ReferenceLocateTarget, WorkspaceFileReferenceAdapter, ReferenceProvenanceCatalog } from '@tutti-os/workspace-file-reference/contracts';
|
|
8
8
|
import { A as AgentContextMentionItem } from './agentFileMentionContracts-58IjMU-u.js';
|
|
9
9
|
import { WorkspaceFileEntry } from '@tutti-os/workspace-file-manager/services';
|
|
10
10
|
import { ReferenceSourceAggregator } from '@tutti-os/workspace-file-reference/core';
|
|
@@ -983,6 +983,14 @@ interface AgentGUINodeRuntimeRequests {
|
|
|
983
983
|
onProbeRefreshRequest?: WorkspaceDesktopAgentProbeRefreshRequest;
|
|
984
984
|
}
|
|
985
985
|
interface AgentGUINodeHostCapabilities {
|
|
986
|
+
/**
|
|
987
|
+
* Complete host-owned catalog for reference provenance filtering. Supplying
|
|
988
|
+
* it explicitly opts the host into the dimensions declared by the catalog.
|
|
989
|
+
* Omit it to keep filtering disabled unless the legacy Agent-only flag is
|
|
990
|
+
* enabled.
|
|
991
|
+
*/
|
|
992
|
+
referenceProvenanceFilterCatalog?: ReferenceProvenanceCatalog | null;
|
|
993
|
+
/** Legacy Tutti Agent-only opt-in. Prefer an explicit catalog in new hosts. */
|
|
986
994
|
referenceProvenanceFilterEnabled?: boolean;
|
|
987
995
|
capabilityMenuState?: AgentComposerCapabilityMenuState;
|
|
988
996
|
accountMenuState?: AgentGUIAccountMenuState | null;
|
|
@@ -2,7 +2,7 @@ import * as react from 'react';
|
|
|
2
2
|
import { ReactNode, JSX } from 'react';
|
|
3
3
|
import { c as AgentConversationVM, e as WorkspaceLinkAction, d as WorkspaceAgentSessionDetailViewModel } from '../agentConversationVM-BzHZhwFP.js';
|
|
4
4
|
export { B as BuildWorkspaceAgentSessionDetailInput, W as WorkspaceAgentActivityTimelineItem, f as buildWorkspaceAgentSessionDetailViewModel } from '../agentConversationVM-BzHZhwFP.js';
|
|
5
|
-
import { d as AgentGUIProviderSkillOption, l as AgentMessageMarkdownWorkspaceAppIcon } from '../agentGuiNodeTypes-
|
|
5
|
+
import { d as AgentGUIProviderSkillOption, l as AgentMessageMarkdownWorkspaceAppIcon } from '../agentGuiNodeTypes-8U3q_frv.js';
|
|
6
6
|
export { W as WorkspaceAgentActivityCard } from '../workspaceAgentActivityListTypes-DZfS_HgG.js';
|
|
7
7
|
import '@tutti-os/workspace-issue-manager/core';
|
|
8
8
|
import '@tutti-os/agent-activity-core';
|
|
@@ -6,21 +6,21 @@ import {
|
|
|
6
6
|
projectAgentConversationVM,
|
|
7
7
|
reconcileProjectedAgentConversationVM,
|
|
8
8
|
useProjectedAgentConversation
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-IVY4OL7B.js";
|
|
10
10
|
import "../chunk-7BXWPI4F.js";
|
|
11
11
|
import "../chunk-FGLQZ6I4.js";
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-F5UR6EJG.js";
|
|
12
|
+
import "../chunk-PCXBTG5X.js";
|
|
14
13
|
import "../chunk-LUGELG5V.js";
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-UHOVZI6B.js";
|
|
15
|
+
import "../chunk-6PMLIVTI.js";
|
|
16
|
+
import "../chunk-F5UR6EJG.js";
|
|
17
17
|
import "../chunk-PJP5BUU6.js";
|
|
18
18
|
import "../chunk-H6IQ63DQ.js";
|
|
19
19
|
import "../chunk-MIJXEELH.js";
|
|
20
20
|
import {
|
|
21
21
|
translate
|
|
22
|
-
} from "../chunk-
|
|
23
|
-
import "../chunk-
|
|
22
|
+
} from "../chunk-IBFGOAY3.js";
|
|
23
|
+
import "../chunk-RGG5UGJD.js";
|
|
24
24
|
import "../chunk-5X7YDOC6.js";
|
|
25
25
|
import "../chunk-KJQERFKX.js";
|
|
26
26
|
import "../chunk-UGVI47X6.js";
|
package/dist/agent-gui.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import 'react';
|
|
2
2
|
import '@tutti-os/ui-i18n-runtime';
|
|
3
|
-
export { n as AgentGUI, w as AgentGUIProps } from './AgentGUI-
|
|
4
|
-
import './agentGuiNodeTypes-
|
|
3
|
+
export { n as AgentGUI, w as AgentGUIProps } from './AgentGUI-D6IQ0F_N.js';
|
|
4
|
+
import './agentGuiNodeTypes-8U3q_frv.js';
|
|
5
5
|
export { l as AgentGUIHomeSuggestionId } from './types-CnT8rNUI.js';
|
|
6
6
|
import './runtime-BBNdWgDU.js';
|
|
7
|
+
export { ReferenceProvenanceCatalog as AgentGUIReferenceProvenanceFilterCatalog } from '@tutti-os/workspace-file-reference/contracts';
|
|
7
8
|
import '@tutti-os/agent-activity-core';
|
|
8
|
-
import '@tutti-os/workspace-file-reference/contracts';
|
|
9
9
|
import './agentFileMentionContracts-58IjMU-u.js';
|
|
10
10
|
import '@tutti-os/workspace-file-manager/services';
|
|
11
11
|
import '@tutti-os/workspace-file-reference/core';
|
package/dist/agent-gui.js
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentGUI
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-L2MTZMVH.js";
|
|
4
|
+
import "./chunk-ZRJS4MOQ.js";
|
|
5
|
+
import "./chunk-5Z4ZXXX4.js";
|
|
6
6
|
import "./chunk-4YVKAPKW.js";
|
|
7
7
|
import "./chunk-QY22OBJS.js";
|
|
8
8
|
import "./chunk-L3GMMGRS.js";
|
|
9
9
|
import "./chunk-UHBCM6RO.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-IVY4OL7B.js";
|
|
11
11
|
import "./chunk-7BXWPI4F.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-XZD5KTM4.js";
|
|
13
13
|
import "./chunk-C35SNDVZ.js";
|
|
14
14
|
import "./chunk-FGLQZ6I4.js";
|
|
15
15
|
import "./chunk-4YG7YK7S.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-WXMBD2O7.js";
|
|
17
17
|
import "./chunk-4YCCATI4.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-F5UR6EJG.js";
|
|
18
|
+
import "./chunk-PCXBTG5X.js";
|
|
20
19
|
import "./chunk-LUGELG5V.js";
|
|
21
20
|
import "./chunk-JM24HADP.js";
|
|
22
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-SGGGE2F3.js";
|
|
23
22
|
import "./chunk-2RQM7PJN.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-UHOVZI6B.js";
|
|
24
|
+
import "./chunk-3ZBDWWCV.js";
|
|
26
25
|
import "./chunk-YMXYBG7U.js";
|
|
27
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-6PMLIVTI.js";
|
|
27
|
+
import "./chunk-F5UR6EJG.js";
|
|
28
28
|
import "./chunk-PJP5BUU6.js";
|
|
29
29
|
import "./chunk-H6IQ63DQ.js";
|
|
30
30
|
import "./chunk-MIJXEELH.js";
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-IBFGOAY3.js";
|
|
32
|
+
import "./chunk-RGG5UGJD.js";
|
|
33
33
|
import "./chunk-5X7YDOC6.js";
|
|
34
34
|
import "./chunk-KJQERFKX.js";
|
|
35
35
|
import "./chunk-UGVI47X6.js";
|
|
@@ -403,7 +403,7 @@ declare const userAvatarPlaceholderUrl: string;
|
|
|
403
403
|
declare function workspaceAgentActivityStatusLabel(status: WorkspaceAgentActivityStatus | string, t?: TranslateFn): string;
|
|
404
404
|
|
|
405
405
|
interface PromptToolDetail {
|
|
406
|
-
kind: "command" | "mcp" | "path" | "query";
|
|
406
|
+
kind: "command" | "directory" | "files" | "mcp" | "path" | "query" | "reason";
|
|
407
407
|
value: string;
|
|
408
408
|
meta?: string;
|
|
409
409
|
}
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
dispatchAgentPlanPromptAction,
|
|
7
7
|
getPromptToolDetails,
|
|
8
8
|
isPromptRequestIdTitle
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-SGGGE2F3.js";
|
|
10
10
|
import {
|
|
11
11
|
useEngineSelector
|
|
12
12
|
} from "../chunk-2RQM7PJN.js";
|
|
@@ -19,18 +19,19 @@ import {
|
|
|
19
19
|
extractExitPlanModeOptions,
|
|
20
20
|
isExitPlanSwitchModeInput,
|
|
21
21
|
normalizeAskUserQuestions
|
|
22
|
-
} from "../chunk-
|
|
22
|
+
} from "../chunk-UHOVZI6B.js";
|
|
23
23
|
import {
|
|
24
24
|
userAvatarPlaceholderUrl,
|
|
25
25
|
workspaceAgentActivityStatusLabel
|
|
26
|
-
} from "../chunk-
|
|
26
|
+
} from "../chunk-3ZBDWWCV.js";
|
|
27
27
|
import {
|
|
28
28
|
resolveWorkspaceAgentSessionSortTimeUnixMs
|
|
29
29
|
} from "../chunk-YMXYBG7U.js";
|
|
30
30
|
import {
|
|
31
31
|
managedAgentRoundedIconUrl,
|
|
32
32
|
workspaceAgentProviderLabel
|
|
33
|
-
} from "../chunk-
|
|
33
|
+
} from "../chunk-6PMLIVTI.js";
|
|
34
|
+
import "../chunk-F5UR6EJG.js";
|
|
34
35
|
import "../chunk-PJP5BUU6.js";
|
|
35
36
|
import "../chunk-H6IQ63DQ.js";
|
|
36
37
|
import {
|
|
@@ -40,8 +41,8 @@ import {
|
|
|
40
41
|
AgentGuiI18nProvider,
|
|
41
42
|
getActiveUiLanguage,
|
|
42
43
|
useTranslation
|
|
43
|
-
} from "../chunk-
|
|
44
|
-
import "../chunk-
|
|
44
|
+
} from "../chunk-IBFGOAY3.js";
|
|
45
|
+
import "../chunk-RGG5UGJD.js";
|
|
45
46
|
import "../chunk-5X7YDOC6.js";
|
|
46
47
|
import "../chunk-KJQERFKX.js";
|
|
47
48
|
import "../chunk-UGVI47X6.js";
|