@tutti-os/agent-gui 0.0.101 → 0.0.102
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-BJ3As1gI.d.ts} +9 -1
- package/dist/agent-gui.d.ts +2 -2
- package/dist/agent-gui.js +3 -3
- package/dist/{chunk-VQOPBBBI.js → chunk-LHKBR77G.js} +43 -19
- package/dist/chunk-LHKBR77G.js.map +1 -0
- package/dist/{chunk-FAE7CXZO.js → chunk-W4RYNKWO.js} +2 -2
- package/dist/{chunk-EUW6VPIK.js → chunk-YYE35EZ5.js} +8 -5
- package/dist/{chunk-EUW6VPIK.js.map → chunk-YYE35EZ5.js.map} +1 -1
- package/dist/context-mention-palette/index.js +2 -2
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/mention-search.js +1 -1
- package/package.json +14 -14
- package/dist/chunk-VQOPBBBI.js.map +0 -1
- /package/dist/{chunk-FAE7CXZO.js.map → chunk-W4RYNKWO.js.map} +0 -0
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
agentMentionFilterLabel,
|
|
6
6
|
agentMentionGroupLabel,
|
|
7
7
|
mentionGroupExpandCount
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-YYE35EZ5.js";
|
|
9
9
|
import {
|
|
10
10
|
resolveAgentMentionFileThumbnailUrl,
|
|
11
11
|
resolveAgentMentionFileVisualKind
|
|
@@ -490,4 +490,4 @@ export {
|
|
|
490
490
|
AgentFileMentionPalette,
|
|
491
491
|
AgentContextMentionPalette
|
|
492
492
|
};
|
|
493
|
-
//# sourceMappingURL=chunk-
|
|
493
|
+
//# sourceMappingURL=chunk-W4RYNKWO.js.map
|
|
@@ -1138,12 +1138,15 @@ async function runAgentMentionProviderQuery(input) {
|
|
|
1138
1138
|
}
|
|
1139
1139
|
|
|
1140
1140
|
// agent-gui/agentGuiNode/AgentMentionSearchIndex.ts
|
|
1141
|
+
import { referenceProvenanceFilterIsActive } from "@tutti-os/workspace-file-reference/core";
|
|
1141
1142
|
async function fetchAgentMentionFilterResult(input) {
|
|
1142
1143
|
const providerDiagnostics = [];
|
|
1143
|
-
const
|
|
1144
|
+
const provenanceFilterActive = referenceProvenanceFilterIsActive(
|
|
1145
|
+
input.provenanceFilter
|
|
1146
|
+
);
|
|
1144
1147
|
switch (input.filter) {
|
|
1145
1148
|
case "file": {
|
|
1146
|
-
const fileQuery =
|
|
1149
|
+
const fileQuery = provenanceFilterActive ? Promise.resolve([]) : input.queryProviderMentionItemsById({
|
|
1147
1150
|
providerId: FILE_PROVIDER_ID,
|
|
1148
1151
|
workspaceId: input.workspaceId,
|
|
1149
1152
|
currentUserId: input.currentUserId,
|
|
@@ -1153,7 +1156,7 @@ async function fetchAgentMentionFilterResult(input) {
|
|
|
1153
1156
|
diagnostics: providerDiagnostics,
|
|
1154
1157
|
provenanceFilter: input.provenanceFilter
|
|
1155
1158
|
});
|
|
1156
|
-
const agentGeneratedFileQuery = input.includeAgentGeneratedFiles ||
|
|
1159
|
+
const agentGeneratedFileQuery = input.includeAgentGeneratedFiles || provenanceFilterActive ? input.queryProviderMentionItemsById({
|
|
1157
1160
|
providerId: AGENT_GENERATED_FILE_PROVIDER_ID,
|
|
1158
1161
|
workspaceId: input.workspaceId,
|
|
1159
1162
|
currentUserId: input.currentUserId,
|
|
@@ -1201,7 +1204,7 @@ async function fetchAgentMentionFilterResult(input) {
|
|
|
1201
1204
|
};
|
|
1202
1205
|
}
|
|
1203
1206
|
case "issue": {
|
|
1204
|
-
const issueItems =
|
|
1207
|
+
const issueItems = provenanceFilterActive ? [] : await input.queryProviderMentionItemsById({
|
|
1205
1208
|
providerId: WORKSPACE_ISSUE_PROVIDER_ID,
|
|
1206
1209
|
workspaceId: input.workspaceId,
|
|
1207
1210
|
currentUserId: input.currentUserId,
|
|
@@ -2152,4 +2155,4 @@ export {
|
|
|
2152
2155
|
AgentMentionSearchController,
|
|
2153
2156
|
preloadAgentMentionBrowse
|
|
2154
2157
|
};
|
|
2155
|
-
//# sourceMappingURL=chunk-
|
|
2158
|
+
//# sourceMappingURL=chunk-YYE35EZ5.js.map
|