@tutti-os/agent-gui 0.0.111 → 0.0.112
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/{AgentGUI-DXwtHJnv.d.ts → AgentGUI-BP3qpvtu.d.ts} +5 -2
- package/dist/{AgentRichTextReadonly-VKMTXBKA.js → AgentRichTextReadonly-2XWSOTX4.js} +5 -5
- package/dist/agent-conversation/index.d.ts +1 -1
- package/dist/agent-conversation/index.js +7 -7
- package/dist/agent-gui.d.ts +2 -2
- package/dist/agent-gui.js +14 -14
- package/dist/agent-message-center/index.js +6 -6
- package/dist/{agentGuiNodeTypes-CR_l4HhU.d.ts → agentGuiNodeTypes-diw3oP7y.d.ts} +2 -0
- package/dist/{chunk-7D7L3JGA.js → chunk-3IYKN4ZT.js} +4 -4
- package/dist/{chunk-HGHNKOR2.js → chunk-44HFASN6.js} +3 -3
- package/dist/{chunk-HWMDMZPV.js → chunk-5L5LHAJ3.js} +29 -5
- package/dist/chunk-5L5LHAJ3.js.map +1 -0
- package/dist/{chunk-CVPI23GJ.js → chunk-7H4T7OZ4.js} +40 -14
- package/dist/chunk-7H4T7OZ4.js.map +1 -0
- package/dist/{chunk-5O3KW33M.js → chunk-C6DI6AJZ.js} +4 -4
- package/dist/{chunk-2JPJLBER.js → chunk-CZIOYBMC.js} +3 -3
- package/dist/chunk-CZIOYBMC.js.map +1 -0
- package/dist/{chunk-QMU5KFPY.js → chunk-FAJIWGIT.js} +2 -2
- package/dist/{chunk-HLSEVZCW.js → chunk-FGWORVFI.js} +2 -2
- package/dist/{chunk-RX6JAGC6.js → chunk-JGPI7CC6.js} +2 -2
- package/dist/chunk-JGPI7CC6.js.map +1 -0
- package/dist/{chunk-3QIE72RQ.js → chunk-P6SRATRQ.js} +2 -2
- package/dist/{chunk-WGUEDMSP.js → chunk-RMTPZVKO.js} +3 -3
- package/dist/{chunk-Z662JCRH.js → chunk-UKCQMTN3.js} +2 -2
- package/dist/{chunk-74ZOQONQ.js → chunk-VMZJPA5L.js} +2 -2
- package/dist/{chunk-HHQTW2VC.js → chunk-VVDJHPV4.js} +5 -5
- package/dist/context-mention-palette/index.js +7 -7
- package/dist/i18n/index.d.ts +2 -2
- package/dist/i18n/index.js +2 -2
- package/dist/index.d.ts +4 -4
- package/dist/index.js +14 -14
- package/dist/mention-search.d.ts +12 -0
- package/dist/mention-search.js +5 -5
- package/dist/workbench/contribution.js +3 -3
- package/dist/workbench/index.js +3 -3
- package/dist/workbench/sessionTitle.js +2 -2
- package/package.json +14 -14
- package/dist/chunk-2JPJLBER.js.map +0 -1
- package/dist/chunk-CVPI23GJ.js.map +0 -1
- package/dist/chunk-HWMDMZPV.js.map +0 -1
- package/dist/chunk-RX6JAGC6.js.map +0 -1
- /package/dist/{AgentRichTextReadonly-VKMTXBKA.js.map → AgentRichTextReadonly-2XWSOTX4.js.map} +0 -0
- /package/dist/{chunk-7D7L3JGA.js.map → chunk-3IYKN4ZT.js.map} +0 -0
- /package/dist/{chunk-HGHNKOR2.js.map → chunk-44HFASN6.js.map} +0 -0
- /package/dist/{chunk-5O3KW33M.js.map → chunk-C6DI6AJZ.js.map} +0 -0
- /package/dist/{chunk-QMU5KFPY.js.map → chunk-FAJIWGIT.js.map} +0 -0
- /package/dist/{chunk-HLSEVZCW.js.map → chunk-FGWORVFI.js.map} +0 -0
- /package/dist/{chunk-3QIE72RQ.js.map → chunk-P6SRATRQ.js.map} +0 -0
- /package/dist/{chunk-WGUEDMSP.js.map → chunk-RMTPZVKO.js.map} +0 -0
- /package/dist/{chunk-Z662JCRH.js.map → chunk-UKCQMTN3.js.map} +0 -0
- /package/dist/{chunk-74ZOQONQ.js.map → chunk-VMZJPA5L.js.map} +0 -0
- /package/dist/{chunk-HHQTW2VC.js.map → chunk-VVDJHPV4.js.map} +0 -0
|
@@ -4,7 +4,7 @@ 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-yF_0mrNS.js';
|
|
6
6
|
import { WorkspaceQueryCache } from './workspace-query-cache.js';
|
|
7
|
-
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 { 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-diw3oP7y.js';
|
|
8
8
|
import { WorkspaceFileReference, ReferenceLocateTarget, WorkspaceFileReferenceAdapter, ReferenceProvenanceCatalog } from '@tutti-os/workspace-file-reference/contracts';
|
|
9
9
|
import { A as AgentContextMentionItem } from './agentFileMentionContracts-DY4Z70CN.js';
|
|
10
10
|
import { WorkspaceFileEntry } from '@tutti-os/workspace-file-manager/services';
|
|
@@ -37,9 +37,10 @@ interface AgentActivityRuntimeListSessionMessagesInput {
|
|
|
37
37
|
}
|
|
38
38
|
interface AgentActivityRuntimeListGeneratedFilesInput {
|
|
39
39
|
agentTargetIds?: readonly string[];
|
|
40
|
+
cursor?: string;
|
|
40
41
|
limit?: number;
|
|
41
42
|
query?: string;
|
|
42
|
-
|
|
43
|
+
sectionKey: string;
|
|
43
44
|
signal?: AbortSignal;
|
|
44
45
|
workspaceId: string;
|
|
45
46
|
}
|
|
@@ -113,6 +114,8 @@ interface AgentActivityRuntimeGeneratedFile {
|
|
|
113
114
|
}
|
|
114
115
|
interface AgentActivityRuntimeGeneratedFileList {
|
|
115
116
|
entries: AgentActivityRuntimeGeneratedFile[];
|
|
117
|
+
hasMore?: boolean;
|
|
118
|
+
nextCursor?: string;
|
|
116
119
|
workspaceId: string;
|
|
117
120
|
}
|
|
118
121
|
interface AgentActivityRuntimeEnsureSessionSynchronizedInput {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentRichTextReadonly
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-FAJIWGIT.js";
|
|
4
|
+
import "./chunk-VMZJPA5L.js";
|
|
5
5
|
import "./chunk-LUGELG5V.js";
|
|
6
6
|
import "./chunk-KPMQGPYU.js";
|
|
7
7
|
import "./chunk-W6TO6K2X.js";
|
|
8
8
|
import "./chunk-PJP5BUU6.js";
|
|
9
9
|
import "./chunk-7KVZPJ3O.js";
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-FGWORVFI.js";
|
|
11
|
+
import "./chunk-CZIOYBMC.js";
|
|
12
12
|
import "./chunk-D2JUDUYY.js";
|
|
13
13
|
import "./chunk-6CUELYIF.js";
|
|
14
14
|
import "./chunk-YNSXUEIR.js";
|
|
15
15
|
export {
|
|
16
16
|
AgentRichTextReadonly
|
|
17
17
|
};
|
|
18
|
-
//# sourceMappingURL=AgentRichTextReadonly-
|
|
18
|
+
//# sourceMappingURL=AgentRichTextReadonly-2XWSOTX4.js.map
|
|
@@ -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-D3Dn2LqN.js';
|
|
4
4
|
export { B as BuildWorkspaceAgentSessionDetailInput, W as WorkspaceAgentActivityTimelineItem, f as buildWorkspaceAgentSessionDetailViewModel } from '../agentConversationVM-D3Dn2LqN.js';
|
|
5
|
-
import { d as AgentGUIProviderSkillOption, l as AgentMessageMarkdownWorkspaceAppIcon } from '../agentGuiNodeTypes-
|
|
5
|
+
import { d as AgentGUIProviderSkillOption, l as AgentMessageMarkdownWorkspaceAppIcon } from '../agentGuiNodeTypes-diw3oP7y.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,17 +6,17 @@ import {
|
|
|
6
6
|
projectAgentConversationVM,
|
|
7
7
|
reconcileProjectedAgentConversationVM,
|
|
8
8
|
useProjectedAgentConversation
|
|
9
|
-
} from "../chunk-
|
|
10
|
-
import "../chunk-
|
|
9
|
+
} from "../chunk-VVDJHPV4.js";
|
|
10
|
+
import "../chunk-FAJIWGIT.js";
|
|
11
11
|
import "../chunk-VMQNG2KI.js";
|
|
12
12
|
import "../chunk-FGLQZ6I4.js";
|
|
13
13
|
import "../chunk-XJ34OIEQ.js";
|
|
14
14
|
import "../chunk-R7AXDQCA.js";
|
|
15
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-VMZJPA5L.js";
|
|
16
16
|
import "../chunk-LUGELG5V.js";
|
|
17
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-RMTPZVKO.js";
|
|
18
18
|
import "../chunk-KPMQGPYU.js";
|
|
19
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-JGPI7CC6.js";
|
|
20
20
|
import "../chunk-F5UR6EJG.js";
|
|
21
21
|
import "../chunk-W6TO6K2X.js";
|
|
22
22
|
import "../chunk-PJP5BUU6.js";
|
|
@@ -24,8 +24,8 @@ import "../chunk-7KVZPJ3O.js";
|
|
|
24
24
|
import "../chunk-MIJXEELH.js";
|
|
25
25
|
import {
|
|
26
26
|
translate
|
|
27
|
-
} from "../chunk-
|
|
28
|
-
import "../chunk-
|
|
27
|
+
} from "../chunk-FGWORVFI.js";
|
|
28
|
+
import "../chunk-CZIOYBMC.js";
|
|
29
29
|
import "../chunk-D2JUDUYY.js";
|
|
30
30
|
import "../chunk-6CUELYIF.js";
|
|
31
31
|
import "../chunk-YNSXUEIR.js";
|
package/dist/agent-gui.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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-BP3qpvtu.js';
|
|
4
|
+
import './agentGuiNodeTypes-diw3oP7y.js';
|
|
5
5
|
export { l as AgentGUIHomeSuggestionId } from './types-yF_0mrNS.js';
|
|
6
6
|
import './runtime-BBNdWgDU.js';
|
|
7
7
|
export { ReferenceProvenanceCatalog as AgentGUIReferenceProvenanceFilterCatalog } from '@tutti-os/workspace-file-reference/contracts';
|
package/dist/agent-gui.js
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentGUI
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7H4T7OZ4.js";
|
|
4
4
|
import "./chunk-A4WCTHWS.js";
|
|
5
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-44HFASN6.js";
|
|
6
6
|
import "./chunk-AY5AFMT2.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-P6SRATRQ.js";
|
|
8
8
|
import "./chunk-JLRPIEIE.js";
|
|
9
9
|
import "./chunk-R2ZADXRB.js";
|
|
10
10
|
import "./chunk-UHBCM6RO.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-VVDJHPV4.js";
|
|
12
|
+
import "./chunk-FAJIWGIT.js";
|
|
13
13
|
import "./chunk-VMQNG2KI.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-3IYKN4ZT.js";
|
|
15
15
|
import "./chunk-7OYHDOGG.js";
|
|
16
16
|
import "./chunk-FGLQZ6I4.js";
|
|
17
17
|
import "./chunk-L2GENUG3.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-5L5LHAJ3.js";
|
|
19
19
|
import "./chunk-USIFGHT3.js";
|
|
20
20
|
import "./chunk-XJ34OIEQ.js";
|
|
21
21
|
import "./chunk-R7AXDQCA.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-VMZJPA5L.js";
|
|
23
23
|
import "./chunk-LUGELG5V.js";
|
|
24
24
|
import "./chunk-JM24HADP.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-C6DI6AJZ.js";
|
|
26
26
|
import "./chunk-2RQM7PJN.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-RMTPZVKO.js";
|
|
28
28
|
import "./chunk-KPMQGPYU.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-UKCQMTN3.js";
|
|
30
30
|
import "./chunk-YMXYBG7U.js";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-JGPI7CC6.js";
|
|
32
32
|
import "./chunk-F5UR6EJG.js";
|
|
33
33
|
import "./chunk-W6TO6K2X.js";
|
|
34
34
|
import "./chunk-PJP5BUU6.js";
|
|
35
35
|
import "./chunk-7KVZPJ3O.js";
|
|
36
36
|
import "./chunk-MIJXEELH.js";
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-FGWORVFI.js";
|
|
38
|
+
import "./chunk-CZIOYBMC.js";
|
|
39
39
|
import "./chunk-D2JUDUYY.js";
|
|
40
40
|
import "./chunk-6CUELYIF.js";
|
|
41
41
|
import "./chunk-YNSXUEIR.js";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
dispatchAgentPlanPromptAction,
|
|
7
7
|
getPromptToolDetails,
|
|
8
8
|
isPromptRequestIdTitle
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-C6DI6AJZ.js";
|
|
10
10
|
import {
|
|
11
11
|
useEngineSelector
|
|
12
12
|
} from "../chunk-2RQM7PJN.js";
|
|
@@ -19,20 +19,20 @@ import {
|
|
|
19
19
|
isExitPlanSwitchModeInput,
|
|
20
20
|
normalizeAgentApprovalPurpose,
|
|
21
21
|
normalizeAskUserQuestions
|
|
22
|
-
} from "../chunk-
|
|
22
|
+
} from "../chunk-RMTPZVKO.js";
|
|
23
23
|
import {
|
|
24
24
|
cn
|
|
25
25
|
} from "../chunk-KPMQGPYU.js";
|
|
26
26
|
import {
|
|
27
27
|
userAvatarPlaceholderUrl,
|
|
28
28
|
workspaceAgentActivityStatusLabel
|
|
29
|
-
} from "../chunk-
|
|
29
|
+
} from "../chunk-UKCQMTN3.js";
|
|
30
30
|
import {
|
|
31
31
|
resolveWorkspaceAgentSessionSortTimeUnixMs
|
|
32
32
|
} from "../chunk-YMXYBG7U.js";
|
|
33
33
|
import {
|
|
34
34
|
workspaceAgentProviderLabel
|
|
35
|
-
} from "../chunk-
|
|
35
|
+
} from "../chunk-JGPI7CC6.js";
|
|
36
36
|
import "../chunk-F5UR6EJG.js";
|
|
37
37
|
import {
|
|
38
38
|
managedAgentRoundedIconUrl
|
|
@@ -46,8 +46,8 @@ import {
|
|
|
46
46
|
AgentGuiI18nProvider,
|
|
47
47
|
getActiveUiLanguage,
|
|
48
48
|
useTranslation
|
|
49
|
-
} from "../chunk-
|
|
50
|
-
import "../chunk-
|
|
49
|
+
} from "../chunk-FGWORVFI.js";
|
|
50
|
+
import "../chunk-CZIOYBMC.js";
|
|
51
51
|
import "../chunk-D2JUDUYY.js";
|
|
52
52
|
import "../chunk-6CUELYIF.js";
|
|
53
53
|
import "../chunk-YNSXUEIR.js";
|
|
@@ -553,6 +553,8 @@ interface AgentGUIComposerSettingsVM {
|
|
|
553
553
|
selectedPermissionModeValue?: string | null;
|
|
554
554
|
permissionConfig?: AgentSessionPermissionConfig | null;
|
|
555
555
|
selectedProjectPath?: string | null;
|
|
556
|
+
/** Persisted rail membership used to scope Agent-generated file mentions. */
|
|
557
|
+
selectedProjectSectionKey?: string | null;
|
|
556
558
|
projectLocked?: boolean;
|
|
557
559
|
projectPathIsRemote?: boolean;
|
|
558
560
|
collapseModelOptionsToLatest?: boolean;
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
agentMentionFilterLabel,
|
|
6
6
|
agentMentionGroupLabel,
|
|
7
7
|
mentionGroupExpandCount
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-5L5LHAJ3.js";
|
|
9
9
|
import {
|
|
10
10
|
resolveAgentMentionFileThumbnailUrl,
|
|
11
11
|
resolveAgentMentionFileVisualKind
|
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
userAvatarPlaceholderUrl,
|
|
15
15
|
workspaceAgentActivityStatusLabel
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-UKCQMTN3.js";
|
|
17
17
|
import {
|
|
18
18
|
managedAgentRoundedIconUrl
|
|
19
19
|
} from "./chunk-W6TO6K2X.js";
|
|
20
20
|
import {
|
|
21
21
|
translate
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-FGWORVFI.js";
|
|
23
23
|
|
|
24
24
|
// agent-gui/agentGuiNode/AgentFileMentionPalette.tsx
|
|
25
25
|
import {
|
|
@@ -516,4 +516,4 @@ export {
|
|
|
516
516
|
AgentFileMentionPalette,
|
|
517
517
|
AgentContextMentionPalette
|
|
518
518
|
};
|
|
519
|
-
//# sourceMappingURL=chunk-
|
|
519
|
+
//# sourceMappingURL=chunk-3IYKN4ZT.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
resolveAgentGUIConversationTitleDisplayPrompt,
|
|
10
10
|
resolveAgentGuiWorkbenchHeaderTitle,
|
|
11
11
|
resolveAgentGuiWorkbenchSessionTitle
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-P6SRATRQ.js";
|
|
13
13
|
import {
|
|
14
14
|
createAgentGuiWorkbenchNodeStateSource,
|
|
15
15
|
migrateLegacyAgentGuiWorkbenchState,
|
|
@@ -276,7 +276,7 @@ function useAgentGuiWorkbenchBodyRenderError(nodeId) {
|
|
|
276
276
|
|
|
277
277
|
// workbench/header.ts
|
|
278
278
|
var LazyAgentRichTextReadonly = lazy(
|
|
279
|
-
() => import("./AgentRichTextReadonly-
|
|
279
|
+
() => import("./AgentRichTextReadonly-2XWSOTX4.js").then((module) => ({
|
|
280
280
|
default: module.AgentRichTextReadonly
|
|
281
281
|
}))
|
|
282
282
|
);
|
|
@@ -1482,4 +1482,4 @@ export {
|
|
|
1482
1482
|
AGENT_GUI_WORKBENCH_OPEN_EXTERNAL_IMPORT_EVENT,
|
|
1483
1483
|
createAgentGuiWorkbenchContribution
|
|
1484
1484
|
};
|
|
1485
|
-
//# sourceMappingURL=chunk-
|
|
1485
|
+
//# sourceMappingURL=chunk-44HFASN6.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-XJ34OIEQ.js";
|
|
8
8
|
import {
|
|
9
9
|
normalizeAgentSessionMentionTitle
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-VMZJPA5L.js";
|
|
11
11
|
import {
|
|
12
12
|
resolveAgentMentionFileThumbnailUrl
|
|
13
13
|
} from "./chunk-LUGELG5V.js";
|
|
@@ -20,14 +20,14 @@ import {
|
|
|
20
20
|
import {
|
|
21
21
|
getOptionalAgentHostApi,
|
|
22
22
|
workspaceAgentProviderLabel
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-JGPI7CC6.js";
|
|
24
24
|
import {
|
|
25
25
|
normalizeAgentTitleText
|
|
26
26
|
} from "./chunk-MIJXEELH.js";
|
|
27
27
|
import {
|
|
28
28
|
translate,
|
|
29
29
|
translateInUiLanguage
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-FGWORVFI.js";
|
|
31
31
|
|
|
32
32
|
// agent-gui/agentGuiNode/AgentMentionLabels.ts
|
|
33
33
|
function agentMentionGroupLabel(groupId) {
|
|
@@ -1313,6 +1313,7 @@ function buildAgentMentionBrowseCacheKey(input) {
|
|
|
1313
1313
|
workspaceId: input.workspaceId,
|
|
1314
1314
|
currentUserId: input.currentUserId,
|
|
1315
1315
|
sessionCwd: input.sessionCwd,
|
|
1316
|
+
sectionKey: input.sectionKey,
|
|
1316
1317
|
filter: input.filter,
|
|
1317
1318
|
fileLimit: input.fileLimit,
|
|
1318
1319
|
issueLimit: input.issueLimit,
|
|
@@ -1528,6 +1529,7 @@ async function fetchAgentMentionFilterResult(input) {
|
|
|
1528
1529
|
query: input.query,
|
|
1529
1530
|
limit: input.fileLimit,
|
|
1530
1531
|
sessionCwd: input.sessionCwd,
|
|
1532
|
+
sectionKey: input.sectionKey,
|
|
1531
1533
|
diagnostics: providerDiagnostics,
|
|
1532
1534
|
provenanceFilter: input.provenanceFilter
|
|
1533
1535
|
}) : Promise.resolve([]);
|
|
@@ -1647,6 +1649,7 @@ async function queryAgentMentionProviderItems(input) {
|
|
|
1647
1649
|
context: {
|
|
1648
1650
|
metadata: {
|
|
1649
1651
|
currentUserId: input.currentUserId,
|
|
1652
|
+
sectionKey: input.sectionKey || void 0,
|
|
1650
1653
|
sessionCwd: input.sessionCwd || void 0,
|
|
1651
1654
|
target: "agent-gui",
|
|
1652
1655
|
workspaceId: input.workspaceId,
|
|
@@ -1674,6 +1677,7 @@ async function queryAgentMentionProviderGroups(input) {
|
|
|
1674
1677
|
context: {
|
|
1675
1678
|
metadata: {
|
|
1676
1679
|
currentUserId: input.currentUserId,
|
|
1680
|
+
sectionKey: input.sectionKey || void 0,
|
|
1677
1681
|
sessionCwd: input.sessionCwd || void 0,
|
|
1678
1682
|
target: "agent-gui",
|
|
1679
1683
|
workspaceId: input.workspaceId,
|
|
@@ -1719,6 +1723,7 @@ async function queryAgentMentionProviderGroupPage(input) {
|
|
|
1719
1723
|
context: {
|
|
1720
1724
|
metadata: {
|
|
1721
1725
|
currentUserId: input.currentUserId,
|
|
1726
|
+
sectionKey: input.sectionKey || void 0,
|
|
1722
1727
|
sessionCwd: input.sessionCwd || void 0,
|
|
1723
1728
|
target: "agent-gui",
|
|
1724
1729
|
workspaceId: input.workspaceId,
|
|
@@ -1835,6 +1840,7 @@ var AgentMentionSearchControllerBase = class {
|
|
|
1835
1840
|
currentFilter = DEFAULT_AGENT_MENTION_FILTER;
|
|
1836
1841
|
currentQuery = "";
|
|
1837
1842
|
currentSessionCwd = "";
|
|
1843
|
+
currentSectionKey = "";
|
|
1838
1844
|
currentProvenanceFilter = null;
|
|
1839
1845
|
currentProvenanceCatalog = null;
|
|
1840
1846
|
currentFileSearchLimit;
|
|
@@ -1880,6 +1886,7 @@ var AgentMentionSearchControllerBase = class {
|
|
|
1880
1886
|
const cacheKey = this.browseCacheKey({
|
|
1881
1887
|
currentUserId: this.currentUserId,
|
|
1882
1888
|
filter,
|
|
1889
|
+
sectionKey: this.currentSectionKey,
|
|
1883
1890
|
sessionCwd: this.currentSessionCwd,
|
|
1884
1891
|
workspaceId: this.activeWorkspaceId
|
|
1885
1892
|
});
|
|
@@ -1923,6 +1930,7 @@ var AgentMentionSearchControllerBase = class {
|
|
|
1923
1930
|
currentUserId: this.currentUserId,
|
|
1924
1931
|
requestId,
|
|
1925
1932
|
filter,
|
|
1933
|
+
sectionKey: this.currentSectionKey,
|
|
1926
1934
|
sessionCwd: this.currentSessionCwd,
|
|
1927
1935
|
abortSignal
|
|
1928
1936
|
});
|
|
@@ -1937,6 +1945,7 @@ var AgentMentionSearchControllerBase = class {
|
|
|
1937
1945
|
currentUserId: input.currentUserId,
|
|
1938
1946
|
query: input.query,
|
|
1939
1947
|
filter: input.filter,
|
|
1948
|
+
sectionKey: input.sectionKey,
|
|
1940
1949
|
sessionCwd: input.sessionCwd,
|
|
1941
1950
|
includeAgentGeneratedFiles: false
|
|
1942
1951
|
},
|
|
@@ -2146,6 +2155,7 @@ var AgentMentionSearchControllerBase = class {
|
|
|
2146
2155
|
currentUserId: input.currentUserId,
|
|
2147
2156
|
query: input.query,
|
|
2148
2157
|
limit: input.limit,
|
|
2158
|
+
sectionKey: input.sectionKey ?? this.currentSectionKey,
|
|
2149
2159
|
sessionCwd: input.sessionCwd ?? this.currentSessionCwd,
|
|
2150
2160
|
abortSignal,
|
|
2151
2161
|
provenanceFilter: input.provenanceFilter
|
|
@@ -2172,6 +2182,7 @@ var AgentMentionSearchControllerBase = class {
|
|
|
2172
2182
|
currentUserId: input.currentUserId,
|
|
2173
2183
|
query: input.query,
|
|
2174
2184
|
limit: input.limit,
|
|
2185
|
+
sectionKey: input.sectionKey ?? this.currentSectionKey,
|
|
2175
2186
|
sessionCwd: input.sessionCwd ?? this.currentSessionCwd,
|
|
2176
2187
|
abortSignal,
|
|
2177
2188
|
provenanceFilter: input.provenanceFilter
|
|
@@ -2361,6 +2372,7 @@ var AgentMentionSearchController = class extends AgentMentionSearchControllerBas
|
|
|
2361
2372
|
workspaceId: this.activeWorkspaceId,
|
|
2362
2373
|
currentUserId: this.currentUserId,
|
|
2363
2374
|
query: this.currentQuery,
|
|
2375
|
+
sectionKey: this.currentSectionKey,
|
|
2364
2376
|
sessionCwd: this.currentSessionCwd
|
|
2365
2377
|
});
|
|
2366
2378
|
}
|
|
@@ -2377,6 +2389,7 @@ var AgentMentionSearchController = class extends AgentMentionSearchControllerBas
|
|
|
2377
2389
|
}
|
|
2378
2390
|
this.activeWorkspaceId = input.workspaceId.trim();
|
|
2379
2391
|
this.currentUserId = input.currentUserId?.trim() ?? "";
|
|
2392
|
+
this.currentSectionKey = input.sectionKey?.trim() ?? "";
|
|
2380
2393
|
this.currentSessionCwd = input.sessionCwd?.trim() ?? "";
|
|
2381
2394
|
this.currentQuery = normalizeQuery(input.query);
|
|
2382
2395
|
this.clearTimer();
|
|
@@ -2421,6 +2434,7 @@ var AgentMentionSearchController = class extends AgentMentionSearchControllerBas
|
|
|
2421
2434
|
requestId,
|
|
2422
2435
|
filter: this.currentFilter,
|
|
2423
2436
|
provenanceFilter: this.currentProvenanceFilter,
|
|
2437
|
+
sectionKey: this.currentSectionKey,
|
|
2424
2438
|
sessionCwd: this.currentSessionCwd,
|
|
2425
2439
|
abortSignal
|
|
2426
2440
|
});
|
|
@@ -2472,6 +2486,7 @@ var AgentMentionSearchController = class extends AgentMentionSearchControllerBas
|
|
|
2472
2486
|
requestId,
|
|
2473
2487
|
filter,
|
|
2474
2488
|
provenanceFilter: this.currentProvenanceFilter,
|
|
2489
|
+
sectionKey: this.currentSectionKey,
|
|
2475
2490
|
sessionCwd: this.currentSessionCwd,
|
|
2476
2491
|
abortSignal
|
|
2477
2492
|
});
|
|
@@ -2486,10 +2501,11 @@ var AgentMentionSearchController = class extends AgentMentionSearchControllerBas
|
|
|
2486
2501
|
}
|
|
2487
2502
|
const filter = input.filter ?? DEFAULT_AGENT_MENTION_FILTER;
|
|
2488
2503
|
const currentUserId = input.currentUserId?.trim() ?? "";
|
|
2504
|
+
const sectionKey = input.sectionKey?.trim() ?? "";
|
|
2489
2505
|
const sessionCwd = input.sessionCwd?.trim() ?? "";
|
|
2490
2506
|
const provenanceFilter = this.currentProvenanceFilter;
|
|
2491
2507
|
const cacheKey = this.browseCacheKey(
|
|
2492
|
-
{ currentUserId, filter, sessionCwd, workspaceId },
|
|
2508
|
+
{ currentUserId, filter, sectionKey, sessionCwd, workspaceId },
|
|
2493
2509
|
provenanceFilter
|
|
2494
2510
|
);
|
|
2495
2511
|
if (this.readBrowseCache(cacheKey).isFresh) {
|
|
@@ -2511,6 +2527,7 @@ var AgentMentionSearchController = class extends AgentMentionSearchControllerBas
|
|
|
2511
2527
|
currentUserId,
|
|
2512
2528
|
filter,
|
|
2513
2529
|
provenanceFilter,
|
|
2530
|
+
sectionKey,
|
|
2514
2531
|
sessionCwd,
|
|
2515
2532
|
workspaceId
|
|
2516
2533
|
});
|
|
@@ -2522,6 +2539,7 @@ var AgentMentionSearchController = class extends AgentMentionSearchControllerBas
|
|
|
2522
2539
|
currentUserId,
|
|
2523
2540
|
filter,
|
|
2524
2541
|
provenanceFilter,
|
|
2542
|
+
sectionKey,
|
|
2525
2543
|
sessionCwd,
|
|
2526
2544
|
workspaceId
|
|
2527
2545
|
} = input;
|
|
@@ -2547,6 +2565,7 @@ var AgentMentionSearchController = class extends AgentMentionSearchControllerBas
|
|
|
2547
2565
|
workspaceId,
|
|
2548
2566
|
currentUserId,
|
|
2549
2567
|
filter,
|
|
2568
|
+
sectionKey,
|
|
2550
2569
|
sessionCwd
|
|
2551
2570
|
},
|
|
2552
2571
|
cacheKey,
|
|
@@ -2672,6 +2691,7 @@ var AgentMentionSearchController = class extends AgentMentionSearchControllerBas
|
|
|
2672
2691
|
requestId,
|
|
2673
2692
|
filter: this.currentFilter,
|
|
2674
2693
|
provenanceFilter: this.currentProvenanceFilter,
|
|
2694
|
+
sectionKey: this.currentSectionKey,
|
|
2675
2695
|
sessionCwd: this.currentSessionCwd,
|
|
2676
2696
|
abortSignal
|
|
2677
2697
|
});
|
|
@@ -2740,6 +2760,7 @@ var AgentMentionSearchController = class extends AgentMentionSearchControllerBas
|
|
|
2740
2760
|
const requestId = this.requestId;
|
|
2741
2761
|
const workspaceId = this.activeWorkspaceId;
|
|
2742
2762
|
const currentUserId = this.currentUserId;
|
|
2763
|
+
const sectionKey = this.currentSectionKey;
|
|
2743
2764
|
const sessionCwd = this.currentSessionCwd;
|
|
2744
2765
|
const provenanceFilter = this.currentProvenanceFilter;
|
|
2745
2766
|
const query = this.currentQuery;
|
|
@@ -2768,6 +2789,7 @@ var AgentMentionSearchController = class extends AgentMentionSearchControllerBas
|
|
|
2768
2789
|
query,
|
|
2769
2790
|
cursor,
|
|
2770
2791
|
pageSize: DEFAULT_MENTION_GROUP_PAGE_SIZE,
|
|
2792
|
+
sectionKey,
|
|
2771
2793
|
sessionCwd,
|
|
2772
2794
|
abortSignal,
|
|
2773
2795
|
provenanceFilter
|
|
@@ -2808,6 +2830,7 @@ var AgentMentionSearchController = class extends AgentMentionSearchControllerBas
|
|
|
2808
2830
|
workspaceId,
|
|
2809
2831
|
currentUserId,
|
|
2810
2832
|
filter,
|
|
2833
|
+
sectionKey,
|
|
2811
2834
|
sessionCwd
|
|
2812
2835
|
},
|
|
2813
2836
|
provenanceFilter
|
|
@@ -2866,6 +2889,7 @@ function preloadAgentMentionBrowse(input) {
|
|
|
2866
2889
|
controller.preloadBrowse({
|
|
2867
2890
|
workspaceId: input.workspaceId,
|
|
2868
2891
|
currentUserId: input.currentUserId,
|
|
2892
|
+
sectionKey: input.sectionKey,
|
|
2869
2893
|
sessionCwd: input.sessionCwd,
|
|
2870
2894
|
filter: input.filter
|
|
2871
2895
|
});
|
|
@@ -2886,4 +2910,4 @@ export {
|
|
|
2886
2910
|
AgentMentionSearchController,
|
|
2887
2911
|
preloadAgentMentionBrowse
|
|
2888
2912
|
};
|
|
2889
|
-
//# sourceMappingURL=chunk-
|
|
2913
|
+
//# sourceMappingURL=chunk-5L5LHAJ3.js.map
|