@tutti-os/agent-gui 0.0.216 → 0.0.218
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 +6 -0
- package/dist/{agentFileMentionContracts-BeBex-Sf.d.ts → AgentMentionSearchContracts-y1_u9cPi.d.ts} +73 -1
- package/dist/{AgentRichTextReadonly-IPPNAAWG.js → AgentRichTextReadonly-NBYQHR6U.js} +9 -9
- package/dist/agent-conversation/index.js +11 -11
- package/dist/agent-gui.d.ts +16 -3
- package/dist/agent-gui.js +26 -25
- package/dist/agent-message-center/index.js +8 -8
- package/dist/app/renderer/agentactivity.css +93 -69
- package/dist/app/renderer/assets/icons/agent-vinyl-player-chassis.png +0 -0
- package/dist/app/renderer/assets/icons/agent-vinyl-tonearm.png +0 -0
- package/dist/app/renderer/assets/icons/agent-vinyls/claude-vinyl.png +0 -0
- package/dist/app/renderer/assets/icons/agent-vinyls/codex-vinyl.png +0 -0
- package/dist/app/renderer/assets/icons/agent-vinyls/cursor-vinyl.png +0 -0
- package/dist/app/renderer/assets/icons/agent-vinyls/openclaw-vinyl.png +0 -0
- package/dist/app/renderer/assets/icons/agent-vinyls/opencode-vinyl.png +0 -0
- package/dist/app/renderer/assets/icons/agent-vinyls/tutti-vinyl.png +0 -0
- package/dist/app/renderer/assets/icons/agents/agent-colorful.png +0 -0
- package/dist/app/renderer/assets/icons/agents/claude-rounded.png +0 -0
- package/dist/app/renderer/assets/icons/agents/codex-rounded.png +0 -0
- package/dist/app/renderer/assets/icons/agents/cursor-colorful.png +0 -0
- package/dist/app/renderer/assets/icons/agents/cursor-rounded.png +0 -0
- package/dist/app/renderer/assets/icons/agents/gemini-rounded.png +0 -0
- package/dist/app/renderer/assets/icons/agents/manage-agent-tutti.png +0 -0
- package/dist/app/renderer/assets/icons/agents/openclaw-rounded.png +0 -0
- package/dist/app/renderer/assets/icons/agents/opencode-rounded.png +0 -0
- package/dist/app/renderer/assets/icons/agents/provider-rail-claude-code-colorful.png +0 -0
- package/dist/app/renderer/assets/icons/agents/provider-rail-codex-colorful.png +0 -0
- package/dist/app/renderer/assets/icons/agents/provider-rail-opencode-colorful.png +0 -0
- package/dist/app/renderer/assets/icons/agents/provider-rail-tutti.png +0 -0
- package/dist/app/renderer/assets/icons/user-avatar-placeholder.png +0 -0
- package/dist/{chunk-VMPPZO5C.js → chunk-2QF3RBR4.js} +4 -4
- package/dist/{chunk-M6HTOCQK.js → chunk-3X5VDG6T.js} +2 -2
- package/dist/chunk-6GX57XB5.js +135 -0
- package/dist/chunk-6GX57XB5.js.map +1 -0
- package/dist/{chunk-MOCBHFJ2.js → chunk-7V5XYXKB.js} +44 -120
- package/dist/chunk-7V5XYXKB.js.map +1 -0
- package/dist/chunk-BCBB4HOV.js +56 -0
- package/dist/{chunk-DLN33TPF.js → chunk-F6J3LJXK.js} +8 -8
- package/dist/{chunk-UERICUWM.js → chunk-GLVENTN6.js} +2 -2
- package/dist/{chunk-DTP2OMCE.js → chunk-KRITI65C.js} +10 -12
- package/dist/chunk-KRITI65C.js.map +1 -0
- package/dist/{chunk-EZRQMJTX.js → chunk-KZIW5CCW.js} +4 -4
- package/dist/{chunk-QFYOJMEQ.js → chunk-M6WEFXPL.js} +2 -2
- package/dist/chunk-OB7GGK6S.js +44534 -0
- package/dist/chunk-OB7GGK6S.js.map +1 -0
- package/dist/{chunk-G7DS23D4.js → chunk-PPA2OB2H.js} +2 -2
- package/dist/{chunk-YY5WM3OE.js → chunk-PZWBLTYH.js} +242 -81
- package/dist/chunk-PZWBLTYH.js.map +1 -0
- package/dist/chunk-SEHJINGH.js +150 -0
- package/dist/{chunk-4CHBM3G3.js → chunk-SUVMLCED.js} +5 -5
- package/dist/{chunk-B4TM2HYJ.js → chunk-SWO67UWQ.js} +6 -6
- package/dist/{chunk-6A6OVD66.js → chunk-UC2QN7FK.js} +44 -18
- package/dist/chunk-UC2QN7FK.js.map +1 -0
- package/dist/{chunk-Z5UJC4Q3.js → chunk-Z35E22WS.js} +4 -4
- package/dist/{chunk-P2RIZAK5.js → chunk-ZXEICU6J.js} +3 -1
- package/dist/chunk-ZXEICU6J.js.map +1 -0
- package/dist/context-mention-palette/index.d.ts +3 -3
- package/dist/context-mention-palette/index.js +14 -14
- package/dist/dock-icons.js +2 -2
- package/dist/headerLayout-CP4ujEbo.d.ts +14 -0
- package/dist/i18n/index.d.ts +2 -0
- package/dist/i18n/index.js +2 -2
- package/dist/index.d.ts +77 -46
- package/dist/index.js +49 -42
- package/dist/index.js.map +1 -1
- package/dist/layout.d.ts +7 -0
- package/dist/layout.js +9 -0
- package/dist/layout.js.map +1 -0
- package/dist/mention-search.d.ts +6 -73
- package/dist/mention-search.js +10 -10
- package/dist/provider-icons.js +1 -1
- package/dist/workbench/browser-element-context/index.js +2 -2
- package/dist/workbench/contribution.js +9 -8
- package/dist/workbench/index.d.ts +3 -1
- package/dist/workbench/index.js +12 -11
- package/dist/workbench/launch.js +2 -2
- package/dist/workbench/sessionTitle.js +2 -2
- package/dist/workbench/tool-sidebar/index.d.ts +14 -13
- package/dist/workbench/tool-sidebar/index.js +66 -55
- package/dist/workbench/tool-sidebar/index.js.map +1 -1
- package/package.json +22 -15
- package/dist/chunk-6A6OVD66.js.map +0 -1
- package/dist/chunk-AOK22J62.js +0 -56
- package/dist/chunk-DTP2OMCE.js.map +0 -1
- package/dist/chunk-KJA3HHUJ.js +0 -44291
- package/dist/chunk-KJA3HHUJ.js.map +0 -1
- package/dist/chunk-MOCBHFJ2.js.map +0 -1
- package/dist/chunk-P2RIZAK5.js.map +0 -1
- package/dist/chunk-QNE2ZPPV.js +0 -150
- package/dist/chunk-YY5WM3OE.js.map +0 -1
- /package/dist/{AgentRichTextReadonly-IPPNAAWG.js.map → AgentRichTextReadonly-NBYQHR6U.js.map} +0 -0
- /package/dist/{chunk-VMPPZO5C.js.map → chunk-2QF3RBR4.js.map} +0 -0
- /package/dist/{chunk-M6HTOCQK.js.map → chunk-3X5VDG6T.js.map} +0 -0
- /package/dist/{chunk-AOK22J62.js.map → chunk-BCBB4HOV.js.map} +0 -0
- /package/dist/{chunk-DLN33TPF.js.map → chunk-F6J3LJXK.js.map} +0 -0
- /package/dist/{chunk-UERICUWM.js.map → chunk-GLVENTN6.js.map} +0 -0
- /package/dist/{chunk-EZRQMJTX.js.map → chunk-KZIW5CCW.js.map} +0 -0
- /package/dist/{chunk-QFYOJMEQ.js.map → chunk-M6WEFXPL.js.map} +0 -0
- /package/dist/{chunk-G7DS23D4.js.map → chunk-PPA2OB2H.js.map} +0 -0
- /package/dist/{chunk-QNE2ZPPV.js.map → chunk-SEHJINGH.js.map} +0 -0
- /package/dist/{chunk-4CHBM3G3.js.map → chunk-SUVMLCED.js.map} +0 -0
- /package/dist/{chunk-B4TM2HYJ.js.map → chunk-SWO67UWQ.js.map} +0 -0
- /package/dist/{chunk-Z5UJC4Q3.js.map → chunk-Z35E22WS.js.map} +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
agentGuiWorkbenchOpenSessionActivationType,
|
|
3
|
-
agentGuiWorkbenchPrefillPromptActivationType
|
|
4
|
-
} from "./chunk-CBMWHQ7P.js";
|
|
5
1
|
import {
|
|
6
2
|
isAgentGuiWorkbenchProvider,
|
|
7
3
|
normalizeAgentGuiWorkbenchProvider
|
|
8
4
|
} from "./chunk-MGSRWYRN.js";
|
|
5
|
+
import {
|
|
6
|
+
agentGuiWorkbenchOpenSessionActivationType,
|
|
7
|
+
agentGuiWorkbenchPrefillPromptActivationType
|
|
8
|
+
} from "./chunk-CBMWHQ7P.js";
|
|
9
9
|
|
|
10
10
|
// workbench/launch.ts
|
|
11
11
|
var agentGuiWorkbenchTypeId = "agent-gui";
|
|
@@ -179,4 +179,4 @@ export {
|
|
|
179
179
|
createAgentGuiWorkbenchLaunchDescriptor,
|
|
180
180
|
resolveAgentGuiWorkbenchLaunchDockEntryId
|
|
181
181
|
};
|
|
182
|
-
//# sourceMappingURL=chunk-
|
|
182
|
+
//# sourceMappingURL=chunk-SUVMLCED.js.map
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
resolveAgentMentionFileThumbnailUrl,
|
|
3
3
|
resolveAgentMentionFileVisualKind
|
|
4
4
|
} from "./chunk-3V5OCA2M.js";
|
|
5
|
-
import {
|
|
6
|
-
AGENT_PASTED_TEXT_BLOCK_KIND
|
|
7
|
-
} from "./chunk-FGLQZ6I4.js";
|
|
8
5
|
import {
|
|
9
6
|
managedAgentRoundedIconUrl
|
|
10
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-3X5VDG6T.js";
|
|
11
8
|
import {
|
|
12
9
|
translate,
|
|
13
10
|
useTranslation
|
|
14
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-GLVENTN6.js";
|
|
12
|
+
import {
|
|
13
|
+
AGENT_PASTED_TEXT_BLOCK_KIND
|
|
14
|
+
} from "./chunk-FGLQZ6I4.js";
|
|
15
15
|
import {
|
|
16
16
|
getAgentCustomMentionKind
|
|
17
17
|
} from "./chunk-D2JUDUYY.js";
|
|
@@ -1838,4 +1838,4 @@ export {
|
|
|
1838
1838
|
exitAgentFileMentionSuggestion,
|
|
1839
1839
|
createAgentFileMentionExtension
|
|
1840
1840
|
};
|
|
1841
|
-
//# sourceMappingURL=chunk-
|
|
1841
|
+
//# sourceMappingURL=chunk-SWO67UWQ.js.map
|
|
@@ -2,33 +2,33 @@ import {
|
|
|
2
2
|
changedFilesForSession,
|
|
3
3
|
workspaceAgentSessionMessageAliases
|
|
4
4
|
} from "./chunk-VMPA46ET.js";
|
|
5
|
+
import {
|
|
6
|
+
resolveWorkspaceAgentSessionSortTimeUnixMs
|
|
7
|
+
} from "./chunk-YMXYBG7U.js";
|
|
5
8
|
import {
|
|
6
9
|
isWorkspaceAgentSyntheticControlMessage
|
|
7
10
|
} from "./chunk-XJ34OIEQ.js";
|
|
8
11
|
import {
|
|
9
12
|
normalizeAgentSessionMentionTitle,
|
|
10
13
|
resolveAgentSessionMentionIconUrl
|
|
11
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-SWO67UWQ.js";
|
|
12
15
|
import {
|
|
13
16
|
resolveAgentMentionFileThumbnailUrl
|
|
14
17
|
} from "./chunk-3V5OCA2M.js";
|
|
15
|
-
import {
|
|
16
|
-
AGENT_CONTEXT_MENTION_PROVIDER_IDS
|
|
17
|
-
} from "./chunk-RMQREVJY.js";
|
|
18
|
-
import {
|
|
19
|
-
resolveWorkspaceAgentSessionSortTimeUnixMs
|
|
20
|
-
} from "./chunk-YMXYBG7U.js";
|
|
21
18
|
import {
|
|
22
19
|
getOptionalAgentHostApi,
|
|
23
20
|
workspaceAgentProviderLabel
|
|
24
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-M6WEFXPL.js";
|
|
25
22
|
import {
|
|
26
23
|
translate,
|
|
27
24
|
translateInUiLanguage
|
|
28
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-GLVENTN6.js";
|
|
29
26
|
import {
|
|
30
27
|
normalizeAgentTitleText
|
|
31
28
|
} from "./chunk-MIJXEELH.js";
|
|
29
|
+
import {
|
|
30
|
+
AGENT_CONTEXT_MENTION_PROVIDER_IDS
|
|
31
|
+
} from "./chunk-RMQREVJY.js";
|
|
32
32
|
|
|
33
33
|
// agent-gui/agentGuiNode/AgentMentionLabels.ts
|
|
34
34
|
function agentMentionGroupLabel(groupId) {
|
|
@@ -2479,9 +2479,6 @@ var AgentMentionDirectoryRequestLifecycle = class {
|
|
|
2479
2479
|
}
|
|
2480
2480
|
};
|
|
2481
2481
|
|
|
2482
|
-
// agent-gui/agentGuiNode/AgentMentionSearchController.ts
|
|
2483
|
-
import { referenceProvenanceFilterCacheKey as referenceProvenanceFilterCacheKey2 } from "@tutti-os/workspace-file-reference/core";
|
|
2484
|
-
|
|
2485
2482
|
// agent-gui/agentGuiNode/agentMentionWorkspaceFilesPresentation.ts
|
|
2486
2483
|
function presentWorkspaceFileDirectoryMentionItems(input) {
|
|
2487
2484
|
return [createWorkspaceFileFolderBackItem(input.browsePath), ...input.items];
|
|
@@ -2506,10 +2503,39 @@ function parentWorkspaceFileDirectoryPath(path) {
|
|
|
2506
2503
|
return normalized.slice(0, index);
|
|
2507
2504
|
}
|
|
2508
2505
|
|
|
2506
|
+
// agent-gui/agentGuiNode/AgentMentionProvenanceFilterState.ts
|
|
2507
|
+
import { referenceProvenanceFilterCacheKey as referenceProvenanceFilterCacheKey2 } from "@tutti-os/workspace-file-reference/core";
|
|
2508
|
+
var EMPTY_PROVENANCE_FILTERS = {
|
|
2509
|
+
session: null,
|
|
2510
|
+
file: null,
|
|
2511
|
+
issue: null,
|
|
2512
|
+
agent: null,
|
|
2513
|
+
app: null
|
|
2514
|
+
};
|
|
2515
|
+
var AgentMentionProvenanceFilterState = class {
|
|
2516
|
+
filters = EMPTY_PROVENANCE_FILTERS;
|
|
2517
|
+
replace(filters, activeFilter) {
|
|
2518
|
+
const previous = this.value(activeFilter);
|
|
2519
|
+
this.filters = filters;
|
|
2520
|
+
const value = this.value(activeFilter);
|
|
2521
|
+
return {
|
|
2522
|
+
changed: provenanceFilterKey(previous) !== provenanceFilterKey(value),
|
|
2523
|
+
value
|
|
2524
|
+
};
|
|
2525
|
+
}
|
|
2526
|
+
value(filter) {
|
|
2527
|
+
return this.filters[filter];
|
|
2528
|
+
}
|
|
2529
|
+
};
|
|
2530
|
+
function provenanceFilterKey(filter) {
|
|
2531
|
+
return filter ? referenceProvenanceFilterCacheKey2(filter) : "disabled";
|
|
2532
|
+
}
|
|
2533
|
+
|
|
2509
2534
|
// agent-gui/agentGuiNode/AgentMentionSearchController.ts
|
|
2510
2535
|
var AgentMentionSearchController = class extends AgentMentionSearchControllerBase {
|
|
2511
2536
|
issueLoadMoreRequests = /* @__PURE__ */ new Map();
|
|
2512
2537
|
directoryRequestLifecycle = new AgentMentionDirectoryRequestLifecycle();
|
|
2538
|
+
provenanceFilters = new AgentMentionProvenanceFilterState();
|
|
2513
2539
|
setProvenanceCatalog(catalog) {
|
|
2514
2540
|
if (this.currentProvenanceCatalog === catalog) return;
|
|
2515
2541
|
this.currentProvenanceCatalog = catalog;
|
|
@@ -2521,12 +2547,11 @@ var AgentMentionSearchController = class extends AgentMentionSearchControllerBas
|
|
|
2521
2547
|
groups: this.groupsFromRawGroups()
|
|
2522
2548
|
});
|
|
2523
2549
|
}
|
|
2524
|
-
|
|
2525
|
-
const
|
|
2526
|
-
|
|
2527
|
-
if (previousKey === nextKey) return;
|
|
2550
|
+
setProvenanceFilters(filters) {
|
|
2551
|
+
const next = this.provenanceFilters.replace(filters, this.currentFilter);
|
|
2552
|
+
if (!next.changed) return;
|
|
2528
2553
|
this.cancelPendingPreload();
|
|
2529
|
-
this.currentProvenanceFilter =
|
|
2554
|
+
this.currentProvenanceFilter = next.value;
|
|
2530
2555
|
this.updateQuery({
|
|
2531
2556
|
workspaceId: this.activeWorkspaceId,
|
|
2532
2557
|
currentUserId: this.currentUserId,
|
|
@@ -2606,6 +2631,7 @@ var AgentMentionSearchController = class extends AgentMentionSearchControllerBas
|
|
|
2606
2631
|
return;
|
|
2607
2632
|
}
|
|
2608
2633
|
this.currentFilter = filter;
|
|
2634
|
+
this.currentProvenanceFilter = this.provenanceFilters.value(filter);
|
|
2609
2635
|
this.clearTimer();
|
|
2610
2636
|
this.abortActiveRequest();
|
|
2611
2637
|
this.directoryRequestLifecycle.cancel();
|
|
@@ -3184,4 +3210,4 @@ export {
|
|
|
3184
3210
|
AgentMentionSearchController,
|
|
3185
3211
|
preloadAgentMentionBrowse
|
|
3186
3212
|
};
|
|
3187
|
-
//# sourceMappingURL=chunk-
|
|
3213
|
+
//# sourceMappingURL=chunk-UC2QN7FK.js.map
|