@tutti-os/agent-gui 0.0.140 → 0.0.142

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.
Files changed (29) hide show
  1. package/dist/{AgentRichTextReadonly-ITYHQCN5.js → AgentRichTextReadonly-QIQCYZAG.js} +3 -3
  2. package/dist/agent-conversation/index.js +3 -3
  3. package/dist/agent-gui.d.ts +0 -5
  4. package/dist/agent-gui.js +7 -7
  5. package/dist/app/renderer/agentactivity.css +9 -1
  6. package/dist/{chunk-XUFVBZUT.js → chunk-4V3QEPKX.js} +3 -3
  7. package/dist/{chunk-OXCHXPBD.js → chunk-5ZZMG4ZB.js} +2 -2
  8. package/dist/{chunk-MMEHSIWJ.js → chunk-LIQWMDME.js} +2 -2
  9. package/dist/{chunk-AVXN6UMO.js → chunk-N2NZASIS.js} +2 -2
  10. package/dist/{chunk-WUMJJOK6.js → chunk-O764HQNF.js} +6 -3
  11. package/dist/chunk-O764HQNF.js.map +1 -0
  12. package/dist/{chunk-ORPU3AJK.js → chunk-QRBQ6OHG.js} +513 -446
  13. package/dist/chunk-QRBQ6OHG.js.map +1 -0
  14. package/dist/{chunk-WM63XUAL.js → chunk-TJW5NWWH.js} +2 -2
  15. package/dist/context-mention-palette/index.js +3 -3
  16. package/dist/index.d.ts +31 -33
  17. package/dist/index.js +7 -7
  18. package/dist/mention-search.js +2 -2
  19. package/dist/workbench/contribution.js +1 -1
  20. package/dist/workbench/index.js +1 -1
  21. package/package.json +13 -13
  22. package/dist/chunk-ORPU3AJK.js.map +0 -1
  23. package/dist/chunk-WUMJJOK6.js.map +0 -1
  24. /package/dist/{AgentRichTextReadonly-ITYHQCN5.js.map → AgentRichTextReadonly-QIQCYZAG.js.map} +0 -0
  25. /package/dist/{chunk-XUFVBZUT.js.map → chunk-4V3QEPKX.js.map} +0 -0
  26. /package/dist/{chunk-OXCHXPBD.js.map → chunk-5ZZMG4ZB.js.map} +0 -0
  27. /package/dist/{chunk-MMEHSIWJ.js.map → chunk-LIQWMDME.js.map} +0 -0
  28. /package/dist/{chunk-AVXN6UMO.js.map → chunk-N2NZASIS.js.map} +0 -0
  29. /package/dist/{chunk-WM63XUAL.js.map → chunk-TJW5NWWH.js.map} +0 -0
@@ -5,7 +5,7 @@ import {
5
5
  agentMentionFilterLabel,
6
6
  agentMentionGroupLabel,
7
7
  mentionGroupExpandCount
8
- } from "./chunk-OXCHXPBD.js";
8
+ } from "./chunk-5ZZMG4ZB.js";
9
9
  import {
10
10
  resolveAgentMentionFileThumbnailUrl,
11
11
  resolveAgentMentionFileVisualKind
@@ -517,4 +517,4 @@ export {
517
517
  AgentFileMentionPalette,
518
518
  AgentContextMentionPalette
519
519
  };
520
- //# sourceMappingURL=chunk-WM63XUAL.js.map
520
+ //# sourceMappingURL=chunk-TJW5NWWH.js.map
@@ -3,14 +3,14 @@ import {
3
3
  AgentFileMentionPalette,
4
4
  flattenAgentMentionPaletteEntries,
5
5
  groupStartKeys
6
- } from "../chunk-WM63XUAL.js";
6
+ } from "../chunk-TJW5NWWH.js";
7
7
  import {
8
8
  AgentMentionSearchController
9
- } from "../chunk-OXCHXPBD.js";
9
+ } from "../chunk-5ZZMG4ZB.js";
10
10
  import "../chunk-VMPA46ET.js";
11
11
  import "../chunk-XJ34OIEQ.js";
12
12
  import "../chunk-JDVP33S5.js";
13
- import "../chunk-WUMJJOK6.js";
13
+ import "../chunk-O764HQNF.js";
14
14
  import "../chunk-5QPOMKMQ.js";
15
15
  import {
16
16
  AGENT_CONTEXT_MENTION_PROVIDER_IDS
package/dist/index.d.ts CHANGED
@@ -12,11 +12,11 @@ import { WorkspaceFileEntry } from '@tutti-os/workspace-file-manager/services';
12
12
  import { ReferenceSourceAggregator } from '@tutti-os/workspace-file-reference/core';
13
13
  import { WorkspaceIssueMentionMode } from '@tutti-os/workspace-issue-manager/core';
14
14
  import { WorkspaceUserProjectI18nRuntime } from '@tutti-os/workspace-user-project/i18n';
15
- import { RichTextTriggerProvider, RichTextTriggerQueryInput } from '@tutti-os/ui-rich-text/types';
16
- import { TuttiExternalAtProviderId } from '@tutti-os/workspace-external-core/contracts';
17
15
  import { WorkspaceUserProjectSelectChangeAction } from '@tutti-os/workspace-user-project/ui';
18
16
  import { ReferenceProvenanceFilterSnapshot, ReferenceProvenanceFilterController } from '@tutti-os/workspace-file-reference/react';
19
17
  import { RichTextMentionService } from '@tutti-os/ui-rich-text/service';
18
+ import { RichTextTriggerProvider, RichTextTriggerQueryInput } from '@tutti-os/ui-rich-text/types';
19
+ import { TuttiExternalAtProviderId } from '@tutti-os/workspace-external-core/contracts';
20
20
 
21
21
  interface AgentCustomMentionIdentity {
22
22
  entityId: string;
@@ -1837,35 +1837,6 @@ interface CreateAgentSessionHandoffPromptInput {
1837
1837
  */
1838
1838
  declare function createAgentSessionHandoffPrompt(input: CreateAgentSessionHandoffPromptInput): string;
1839
1839
 
1840
- declare const AGENT_CONTEXT_MENTION_PROVIDER_IDS: {
1841
- readonly agentGeneratedFile: "agent-generated-file";
1842
- readonly agentSession: "agent-session";
1843
- readonly agentTarget: "agent-target";
1844
- readonly file: "file";
1845
- readonly workspaceApp: "workspace-app";
1846
- readonly workspaceIssue: "workspace-issue";
1847
- };
1848
- type AgentContextMentionProviderId = TuttiExternalAtProviderId;
1849
- type AgentContextMentionQueryInput = RichTextTriggerQueryInput & {
1850
- trigger: "@";
1851
- };
1852
- interface AgentContextMentionDirectoryDescriptor {
1853
- /** Canonical provider-owned directory path used for child queries. */
1854
- path: string;
1855
- /** Number of direct children when the provider can determine it. */
1856
- childCount?: number | null;
1857
- }
1858
- type AgentContextMentionDirectoryQueryInput = AgentContextMentionQueryInput & {
1859
- directoryPath: string;
1860
- };
1861
- type AgentContextMentionProvider<TItem = any> = Omit<RichTextTriggerProvider<TItem>, "trigger"> & {
1862
- trigger: "@";
1863
- /** Optional hierarchy contract for file providers. */
1864
- getItemDirectory?(item: TItem): AgentContextMentionDirectoryDescriptor | null | undefined;
1865
- /** Lists the direct children of one directory without overloading keyword search. */
1866
- queryDirectory?(input: AgentContextMentionDirectoryQueryInput): Promise<readonly TItem[]> | readonly TItem[];
1867
- };
1868
-
1869
1840
  type AgentGUIResolvedProvider = AgentGUIProvider | "unknown";
1870
1841
  type AgentGUIConversationTitleFallback = "untitled-conversation" | null;
1871
1842
  type AgentGUIConversationTitleLeadingMentionKind = "agent" | "app" | "file" | "session" | "task";
@@ -2525,7 +2496,6 @@ interface AgentComposerProps {
2525
2496
  path: string;
2526
2497
  } | null>;
2527
2498
  onRequestGitBranches?: AgentComposerGitBranchLoader | null;
2528
- contextMentionProviders?: readonly AgentContextMentionProvider[];
2529
2499
  referenceProvenanceFilter?: AgentComposerReferenceProvenanceFilter | null;
2530
2500
  }
2531
2501
  type AgentComposerCapabilitySettingsTarget = AgentSlashCommandCapability["capability"];
@@ -2754,7 +2724,6 @@ interface AgentGUINodeHostCapabilities {
2754
2724
  providerReadinessGates?: Partial<Record<AgentGUIProvider, AgentGUIProviderReadinessGate | null>> | null;
2755
2725
  defaultAgentTargetId?: string | null;
2756
2726
  providerAuthAccountLabels?: Partial<Record<string, string>>;
2757
- contextMentionProviders?: readonly AgentContextMentionProvider[];
2758
2727
  mentionService?: RichTextMentionService;
2759
2728
  workspaceAppIcons?: readonly AgentMessageMarkdownWorkspaceAppIcon[];
2760
2729
  disabledHomeSuggestions?: readonly AgentGUIHomeSuggestionId[];
@@ -8106,6 +8075,35 @@ declare function resolveAgentGUIExpandedWindowFrame(input: AgentGUIExpandedWindo
8106
8075
  };
8107
8076
  };
8108
8077
 
8078
+ declare const AGENT_CONTEXT_MENTION_PROVIDER_IDS: {
8079
+ readonly agentGeneratedFile: "agent-generated-file";
8080
+ readonly agentSession: "agent-session";
8081
+ readonly agentTarget: "agent-target";
8082
+ readonly file: "file";
8083
+ readonly workspaceApp: "workspace-app";
8084
+ readonly workspaceIssue: "workspace-issue";
8085
+ };
8086
+ type AgentContextMentionProviderId = TuttiExternalAtProviderId;
8087
+ type AgentContextMentionQueryInput = RichTextTriggerQueryInput & {
8088
+ trigger: "@";
8089
+ };
8090
+ interface AgentContextMentionDirectoryDescriptor {
8091
+ /** Canonical provider-owned directory path used for child queries. */
8092
+ path: string;
8093
+ /** Number of direct children when the provider can determine it. */
8094
+ childCount?: number | null;
8095
+ }
8096
+ type AgentContextMentionDirectoryQueryInput = AgentContextMentionQueryInput & {
8097
+ directoryPath: string;
8098
+ };
8099
+ type AgentContextMentionProvider<TItem = any> = Omit<RichTextTriggerProvider<TItem>, "trigger"> & {
8100
+ trigger: "@";
8101
+ /** Optional hierarchy contract for file providers. */
8102
+ getItemDirectory?(item: TItem): AgentContextMentionDirectoryDescriptor | null | undefined;
8103
+ /** Lists the direct children of one directory without overloading keyword search. */
8104
+ queryDirectory?(input: AgentContextMentionDirectoryQueryInput): Promise<readonly TItem[]> | readonly TItem[];
8105
+ };
8106
+
8109
8107
  type AgentMentionFilterId = "session" | "file" | "issue" | "agent" | "app";
8110
8108
 
8111
8109
  declare function preloadAgentMentionBrowse(input: {
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  localAgentGUIAgentTargetId,
8
8
  normalizeAgentGUIAgentTargets,
9
9
  resolveAgentGUIAgentTarget
10
- } from "./chunk-ORPU3AJK.js";
10
+ } from "./chunk-QRBQ6OHG.js";
11
11
  import "./chunk-A4WCTHWS.js";
12
12
  import {
13
13
  AGENT_GUI_DETAIL_MIN_WIDTH_PX,
@@ -15,17 +15,17 @@ import {
15
15
  AGENT_GUI_STANDALONE_AUTO_COLLAPSE_WIDTH_PX,
16
16
  resolveAgentGUIExpandedWindowFrame,
17
17
  shouldAutoCollapseAgentGUIConversationRail
18
- } from "./chunk-MMEHSIWJ.js";
18
+ } from "./chunk-LIQWMDME.js";
19
19
  import "./chunk-TUWQV2MC.js";
20
20
  import "./chunk-MHOYBRCY.js";
21
21
  import "./chunk-Q2WMHYIB.js";
22
22
  import "./chunk-5HIF53K5.js";
23
23
  import "./chunk-R2ZADXRB.js";
24
- import "./chunk-XUFVBZUT.js";
25
- import "./chunk-AVXN6UMO.js";
24
+ import "./chunk-4V3QEPKX.js";
25
+ import "./chunk-N2NZASIS.js";
26
26
  import "./chunk-FM42UN2J.js";
27
27
  import "./chunk-UP3ZDYTN.js";
28
- import "./chunk-WM63XUAL.js";
28
+ import "./chunk-TJW5NWWH.js";
29
29
  import {
30
30
  agentGUIAgentIsReady,
31
31
  normalizeAgentGUIAgents,
@@ -37,13 +37,13 @@ import {
37
37
  } from "./chunk-DXT4W2SU.js";
38
38
  import {
39
39
  preloadAgentMentionBrowse
40
- } from "./chunk-OXCHXPBD.js";
40
+ } from "./chunk-5ZZMG4ZB.js";
41
41
  import "./chunk-VMPA46ET.js";
42
42
  import "./chunk-XJ34OIEQ.js";
43
43
  import "./chunk-JDVP33S5.js";
44
44
  import {
45
45
  createAgentSessionHandoffPrompt
46
- } from "./chunk-WUMJJOK6.js";
46
+ } from "./chunk-O764HQNF.js";
47
47
  import "./chunk-5QPOMKMQ.js";
48
48
  import {
49
49
  AGENT_CONTEXT_MENTION_PROVIDER_IDS
@@ -3,11 +3,11 @@ import {
3
3
  MAX_BROWSE_CACHE_ENTRIES,
4
4
  preloadAgentMentionBrowse,
5
5
  resetAgentMentionSearchBrowseCacheForTests
6
- } from "./chunk-OXCHXPBD.js";
6
+ } from "./chunk-5ZZMG4ZB.js";
7
7
  import "./chunk-VMPA46ET.js";
8
8
  import "./chunk-XJ34OIEQ.js";
9
9
  import "./chunk-JDVP33S5.js";
10
- import "./chunk-WUMJJOK6.js";
10
+ import "./chunk-O764HQNF.js";
11
11
  import "./chunk-5QPOMKMQ.js";
12
12
  import "./chunk-RMQREVJY.js";
13
13
  import "./chunk-FGLQZ6I4.js";
@@ -17,7 +17,7 @@ import {
17
17
  resolveAgentGuiUnifiedDockLaunchPayload,
18
18
  resolveAgentGuiWorkbenchContributionCopy,
19
19
  resolveAgentGuiWorkbenchDefaultLaunchFrame
20
- } from "../chunk-MMEHSIWJ.js";
20
+ } from "../chunk-LIQWMDME.js";
21
21
  import "../chunk-TUWQV2MC.js";
22
22
  import "../chunk-MHOYBRCY.js";
23
23
  import "../chunk-Q2WMHYIB.js";
@@ -13,7 +13,7 @@ import {
13
13
  resolveAgentGuiUnifiedDockLaunchPayload,
14
14
  resolveAgentGuiWorkbenchContributionCopy,
15
15
  resolveAgentGuiWorkbenchConversationIdentity
16
- } from "../chunk-MMEHSIWJ.js";
16
+ } from "../chunk-LIQWMDME.js";
17
17
  import {
18
18
  agentGuiWorkbenchDockEntryId,
19
19
  agentGuiWorkbenchDockIdentityFromIdentifier,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tutti-os/agent-gui",
3
- "version": "0.0.140",
3
+ "version": "0.0.142",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
@@ -140,18 +140,18 @@
140
140
  "@tiptap/react": "^3.11.1",
141
141
  "@tiptap/starter-kit": "^3.11.1",
142
142
  "@tiptap/suggestion": "^3.11.1",
143
- "@tutti-os/agent-activity-core": "0.0.140",
144
- "@tutti-os/browser-node": "0.0.140",
145
- "@tutti-os/ui-i18n-runtime": "0.0.140",
146
- "@tutti-os/ui-react-hooks": "0.0.140",
147
- "@tutti-os/ui-rich-text": "0.0.140",
148
- "@tutti-os/ui-system": "0.0.140",
149
- "@tutti-os/workbench-surface": "0.0.140",
150
- "@tutti-os/workspace-external-core": "0.0.140",
151
- "@tutti-os/workspace-file-manager": "0.0.140",
152
- "@tutti-os/workspace-file-reference": "0.0.140",
153
- "@tutti-os/workspace-issue-manager": "0.0.140",
154
- "@tutti-os/workspace-user-project": "0.0.140",
143
+ "@tutti-os/agent-activity-core": "0.0.142",
144
+ "@tutti-os/browser-node": "0.0.142",
145
+ "@tutti-os/ui-i18n-runtime": "0.0.142",
146
+ "@tutti-os/ui-react-hooks": "0.0.142",
147
+ "@tutti-os/ui-rich-text": "0.0.142",
148
+ "@tutti-os/ui-system": "0.0.142",
149
+ "@tutti-os/workbench-surface": "0.0.142",
150
+ "@tutti-os/workspace-external-core": "0.0.142",
151
+ "@tutti-os/workspace-file-manager": "0.0.142",
152
+ "@tutti-os/workspace-file-reference": "0.0.142",
153
+ "@tutti-os/workspace-issue-manager": "0.0.142",
154
+ "@tutti-os/workspace-user-project": "0.0.142",
155
155
  "clsx": "^2.1.1",
156
156
  "framer-motion": "^12.40.0",
157
157
  "lodash": "^4.17.21",