@tutti-os/agent-gui 0.0.170 → 0.0.172
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/{AgentRichTextReadonly-WOIEQ673.js → AgentRichTextReadonly-ZEMFCKVR.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 +53 -16
- package/dist/agent-gui.js +15 -15
- package/dist/agent-message-center/index.d.ts +1 -1
- package/dist/agent-message-center/index.js +7 -7
- package/dist/{agentGuiNodeTypes-CXL3ISqC.d.ts → agentGuiNodeTypes-CLU6X2Hk.d.ts} +1 -1
- package/dist/app/renderer/agentactivity.css +0 -1
- package/dist/{chunk-Y3K2YTLD.js → chunk-3QPFTVLN.js} +4 -4
- package/dist/{chunk-42KTGN4W.js → chunk-5UTK6FDH.js} +2 -2
- package/dist/{chunk-QEOAZW53.js → chunk-7E2JZRSI.js} +2 -2
- package/dist/{chunk-LQ6CK4GS.js → chunk-7VPICMI3.js} +1173 -739
- package/dist/chunk-7VPICMI3.js.map +1 -0
- package/dist/{chunk-OUOVA353.js → chunk-ADZL6MLR.js} +4 -4
- package/dist/{chunk-GMALB4L6.js → chunk-ARJ63FKZ.js} +5 -5
- package/dist/{chunk-EZ6E3LVP.js → chunk-CAZ7NYUE.js} +2 -2
- package/dist/{chunk-KDRU3NBW.js → chunk-EJM3JYAD.js} +4 -4
- package/dist/{chunk-2RQM7PJN.js → chunk-EVQ4JY3N.js} +1 -1
- package/dist/{chunk-2RQM7PJN.js.map → chunk-EVQ4JY3N.js.map} +1 -1
- package/dist/{chunk-7M6STXDS.js → chunk-K57GJTVC.js} +2 -2
- package/dist/{chunk-BHLX4ZFU.js → chunk-OKBVGNH7.js} +2 -2
- package/dist/{chunk-5EHKHIFG.js → chunk-P44BIVG6.js} +3 -3
- package/dist/{chunk-C7RY5XMJ.js → chunk-P5OTILPN.js} +6 -6
- package/dist/{chunk-42W6JENH.js → chunk-UPX5IC2U.js} +2 -2
- package/dist/{chunk-J4RQ2RTM.js → chunk-VGUKS6JR.js} +7 -7
- package/dist/chunk-VGUKS6JR.js.map +1 -0
- package/dist/context-mention-palette/index.js +7 -7
- package/dist/i18n/index.d.ts +4 -4
- package/dist/i18n/index.js +2 -2
- package/dist/index.d.ts +95 -21
- package/dist/index.js +20 -16
- package/dist/index.js.map +1 -1
- package/dist/mention-search.js +5 -5
- package/dist/workbench/browser-element-context/index.js +1 -1
- package/dist/workbench/contribution.js +4 -4
- package/dist/workbench/index.js +4 -4
- package/dist/workbench/sessionTitle.js +2 -2
- package/package.json +13 -13
- package/dist/chunk-J4RQ2RTM.js.map +0 -1
- package/dist/chunk-LQ6CK4GS.js.map +0 -1
- /package/dist/{AgentRichTextReadonly-WOIEQ673.js.map → AgentRichTextReadonly-ZEMFCKVR.js.map} +0 -0
- /package/dist/{chunk-Y3K2YTLD.js.map → chunk-3QPFTVLN.js.map} +0 -0
- /package/dist/{chunk-42KTGN4W.js.map → chunk-5UTK6FDH.js.map} +0 -0
- /package/dist/{chunk-QEOAZW53.js.map → chunk-7E2JZRSI.js.map} +0 -0
- /package/dist/{chunk-OUOVA353.js.map → chunk-ADZL6MLR.js.map} +0 -0
- /package/dist/{chunk-GMALB4L6.js.map → chunk-ARJ63FKZ.js.map} +0 -0
- /package/dist/{chunk-EZ6E3LVP.js.map → chunk-CAZ7NYUE.js.map} +0 -0
- /package/dist/{chunk-KDRU3NBW.js.map → chunk-EJM3JYAD.js.map} +0 -0
- /package/dist/{chunk-7M6STXDS.js.map → chunk-K57GJTVC.js.map} +0 -0
- /package/dist/{chunk-BHLX4ZFU.js.map → chunk-OKBVGNH7.js.map} +0 -0
- /package/dist/{chunk-5EHKHIFG.js.map → chunk-P44BIVG6.js.map} +0 -0
- /package/dist/{chunk-C7RY5XMJ.js.map → chunk-P5OTILPN.js.map} +0 -0
- /package/dist/{chunk-42W6JENH.js.map → chunk-UPX5IC2U.js.map} +0 -0
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
AgentGUIConversation_styles_default,
|
|
3
3
|
MessageSquareMoreIcon,
|
|
4
4
|
extractAgentMcpToolTarget
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-P44BIVG6.js";
|
|
6
6
|
import {
|
|
7
7
|
getOptionalAgentHostApi,
|
|
8
8
|
useOptionalAgentHostApi
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7E2JZRSI.js";
|
|
10
10
|
import {
|
|
11
11
|
fileChangePathsFromChanges
|
|
12
12
|
} from "./chunk-F5UR6EJG.js";
|
|
13
13
|
import {
|
|
14
14
|
translate
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-CAZ7NYUE.js";
|
|
16
16
|
|
|
17
17
|
// shared/agentConversation/planImplementationPresentation.ts
|
|
18
18
|
var PLAN_IMPLEMENTATION_PROMPT = "Implement the plan.";
|
|
@@ -1471,4 +1471,4 @@ export {
|
|
|
1471
1471
|
isPromptRequestIdTitle,
|
|
1472
1472
|
AgentInteractivePromptSurface
|
|
1473
1473
|
};
|
|
1474
|
-
//# sourceMappingURL=chunk-
|
|
1474
|
+
//# sourceMappingURL=chunk-ADZL6MLR.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-K57GJTVC.js";
|
|
11
11
|
import {
|
|
12
12
|
resolveAgentMentionFileThumbnailUrl
|
|
13
13
|
} from "./chunk-5QPOMKMQ.js";
|
|
@@ -20,11 +20,11 @@ import {
|
|
|
20
20
|
import {
|
|
21
21
|
getOptionalAgentHostApi,
|
|
22
22
|
workspaceAgentProviderLabel
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-7E2JZRSI.js";
|
|
24
24
|
import {
|
|
25
25
|
translate,
|
|
26
26
|
translateInUiLanguage
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-CAZ7NYUE.js";
|
|
28
28
|
import {
|
|
29
29
|
normalizeAgentTitleText
|
|
30
30
|
} from "./chunk-MIJXEELH.js";
|
|
@@ -3039,6 +3039,7 @@ function preloadAgentMentionBrowse(input) {
|
|
|
3039
3039
|
|
|
3040
3040
|
export {
|
|
3041
3041
|
buildWorkspaceAgentActivityListViewModel,
|
|
3042
|
+
agentGuiScheduler,
|
|
3042
3043
|
agentMentionGroupLabel,
|
|
3043
3044
|
agentMentionFilterLabel,
|
|
3044
3045
|
agentMentionEmptyGroupLabel,
|
|
@@ -3048,8 +3049,7 @@ export {
|
|
|
3048
3049
|
agentGeneratedMentionItemKey,
|
|
3049
3050
|
MAX_BROWSE_CACHE_ENTRIES,
|
|
3050
3051
|
resetAgentMentionSearchBrowseCacheForTests,
|
|
3051
|
-
agentGuiScheduler,
|
|
3052
3052
|
AgentMentionSearchController,
|
|
3053
3053
|
preloadAgentMentionBrowse
|
|
3054
3054
|
};
|
|
3055
|
-
//# sourceMappingURL=chunk-
|
|
3055
|
+
//# sourceMappingURL=chunk-ARJ63FKZ.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
setCurrentAgentGuiI18nRuntime,
|
|
7
7
|
translate,
|
|
8
8
|
translateInUiLanguage
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VGUKS6JR.js";
|
|
10
10
|
|
|
11
11
|
// i18n/index.ts
|
|
12
12
|
import React, {
|
|
@@ -68,4 +68,4 @@ export {
|
|
|
68
68
|
AgentGuiI18nProvider,
|
|
69
69
|
useTranslation
|
|
70
70
|
};
|
|
71
|
-
//# sourceMappingURL=chunk-
|
|
71
|
+
//# sourceMappingURL=chunk-CAZ7NYUE.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
agentMentionFilterLabel,
|
|
6
6
|
agentMentionGroupLabel,
|
|
7
7
|
mentionGroupExpandCount
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ARJ63FKZ.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-OKBVGNH7.js";
|
|
17
17
|
import {
|
|
18
18
|
managedAgentRoundedIconUrl
|
|
19
19
|
} from "./chunk-ZWLWT3TZ.js";
|
|
20
20
|
import {
|
|
21
21
|
translate
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-CAZ7NYUE.js";
|
|
23
23
|
|
|
24
24
|
// agent-gui/agentGuiNode/AgentFileMentionPalette.tsx
|
|
25
25
|
import {
|
|
@@ -517,4 +517,4 @@ export {
|
|
|
517
517
|
AgentFileMentionPalette,
|
|
518
518
|
AgentContextMentionPalette
|
|
519
519
|
};
|
|
520
|
-
//# sourceMappingURL=chunk-
|
|
520
|
+
//# sourceMappingURL=chunk-EJM3JYAD.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../shared/engine/useEngineSelector.ts"],"sourcesContent":["import { useSyncExternalStoreWithSelector } from \"use-sync-external-store/with-selector.js\";\n\n// Single React binding for workspace session engine subscriptions\n// (docs/architecture/agent-gui-refactor-plan.md, sections 3.5 and 4.1).\n//\n// This is the only file in the package allowed to touch useSyncExternalStore\n// (enforced by tools/scripts/check-agent-gui-degradation.mjs). Components\n// subscribe through useEngineSelector so selector memoization and equality\n// comparison are implemented exactly once, via React's official with-selector\n// shim; hand-rolled subscriptions returning fresh references are the classic\n// infinite re-render trap this file exists to contain.\n\n/**\n * Structural surface the binding needs from an engine instance. Matches\n * AgentSessionEngine from @tutti-os/agent-activity-core, but stays structural\n * so focused tests and future engine slices can bind without the full engine.\n *\n * Contract: `subscribe` and `getSnapshot` must be stable, this-free function\n * references for the lifetime of the instance (the engine factory returns\n * closures, satisfying this by construction). A fresh `subscribe` identity per\n * render would force useSyncExternalStore to resubscribe on every render.\n */\nexport interface EngineStateStore<TState> {\n getSnapshot(): TState;\n subscribe(listener: (
|
|
1
|
+
{"version":3,"sources":["../shared/engine/useEngineSelector.ts"],"sourcesContent":["import { useSyncExternalStoreWithSelector } from \"use-sync-external-store/with-selector.js\";\n\n// Single React binding for workspace session engine subscriptions\n// (docs/architecture/agent-gui-refactor-plan.md, sections 3.5 and 4.1).\n//\n// This is the only file in the package allowed to touch useSyncExternalStore\n// (enforced by tools/scripts/check-agent-gui-degradation.mjs). Components\n// subscribe through useEngineSelector so selector memoization and equality\n// comparison are implemented exactly once, via React's official with-selector\n// shim; hand-rolled subscriptions returning fresh references are the classic\n// infinite re-render trap this file exists to contain.\n\n/**\n * Structural surface the binding needs from an engine instance. Matches\n * AgentSessionEngine from @tutti-os/agent-activity-core, but stays structural\n * so focused tests and future engine slices can bind without the full engine.\n *\n * Contract: `subscribe` and `getSnapshot` must be stable, this-free function\n * references for the lifetime of the instance (the engine factory returns\n * closures, satisfying this by construction). A fresh `subscribe` identity per\n * render would force useSyncExternalStore to resubscribe on every render.\n */\nexport interface EngineStateStore<TState> {\n getSnapshot(): TState;\n subscribe(listener: () => void): () => void;\n}\n\nexport function useEngineSelector<TState, TSelected>(\n engine: EngineStateStore<TState>,\n selector: (state: TState) => TSelected,\n isEqual?: (a: TSelected, b: TSelected) => boolean\n): TSelected {\n return useSyncExternalStoreWithSelector(\n engine.subscribe,\n engine.getSnapshot,\n engine.getSnapshot,\n selector,\n isEqual\n );\n}\n"],"mappings":";AAAA,SAAS,wCAAwC;AA2B1C,SAAS,kBACd,QACA,UACA,SACW;AACX,SAAO;AAAA,IACL,OAAO;AAAA,IACP,OAAO;AAAA,IACP,OAAO;AAAA,IACP;AAAA,IACA;AAAA,EACF;AACF;","names":[]}
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
import {
|
|
12
12
|
translate,
|
|
13
13
|
useTranslation
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-CAZ7NYUE.js";
|
|
15
15
|
import {
|
|
16
16
|
getAgentCustomMentionKind
|
|
17
17
|
} from "./chunk-D2JUDUYY.js";
|
|
@@ -1833,4 +1833,4 @@ export {
|
|
|
1833
1833
|
exitAgentFileMentionSuggestion,
|
|
1834
1834
|
createAgentFileMentionExtension
|
|
1835
1835
|
};
|
|
1836
|
-
//# sourceMappingURL=chunk-
|
|
1836
|
+
//# sourceMappingURL=chunk-K57GJTVC.js.map
|