@tutti-os/agent-gui 0.0.60 → 0.0.61
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/agent-conversation/index.js +1 -1
- package/dist/{chunk-K3UBSTJ5.js → chunk-3KS22CG2.js} +2 -2
- package/dist/{chunk-MPZ3CW5C.js → chunk-IIVHPXAB.js} +1 -1
- package/dist/chunk-IIVHPXAB.js.map +1 -0
- package/dist/{chunk-WNVIKTJK.js → chunk-JBWFRSFQ.js} +2 -2
- package/dist/{chunk-YZ3POK7G.js → chunk-JLJIAKI3.js} +6 -2
- package/dist/chunk-JLJIAKI3.js.map +1 -0
- package/dist/{chunk-AWIZJQXW.js → chunk-JSIA4K67.js} +4 -4
- package/dist/{chunk-BB2SVMEV.js → chunk-SXML6H77.js} +2 -1
- package/dist/index.d.ts +7 -4
- package/dist/index.js +68 -21
- package/dist/index.js.map +1 -1
- package/dist/workbench/contribution.js +5 -5
- package/dist/workbench/index.js +5 -5
- package/dist/workbench/launch.js +2 -2
- package/dist/workbench/state.js +2 -2
- package/dist/workbench/types.d.ts +1 -0
- package/dist/workbench/types.js +1 -1
- package/package.json +12 -12
- package/dist/chunk-MPZ3CW5C.js.map +0 -1
- package/dist/chunk-YZ3POK7G.js.map +0 -1
- /package/dist/{chunk-K3UBSTJ5.js.map → chunk-3KS22CG2.js.map} +0 -0
- /package/dist/{chunk-WNVIKTJK.js.map → chunk-JBWFRSFQ.js.map} +0 -0
- /package/dist/{chunk-AWIZJQXW.js.map → chunk-JSIA4K67.js.map} +0 -0
- /package/dist/{chunk-BB2SVMEV.js.map → chunk-SXML6H77.js.map} +0 -0
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
projectAgentConversationVM,
|
|
7
7
|
reconcileProjectedAgentConversationVM,
|
|
8
8
|
useProjectedAgentConversation
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-JLJIAKI3.js";
|
|
10
10
|
import "../chunk-B6YDXIZW.js";
|
|
11
11
|
import "../chunk-PSLAWU25.js";
|
|
12
12
|
import "../chunk-2LGUBUEJ.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
agentGuiWorkbenchOpenSessionActivationType,
|
|
3
3
|
agentGuiWorkbenchPrefillPromptActivationType
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-IIVHPXAB.js";
|
|
5
5
|
import {
|
|
6
6
|
isAgentGuiWorkbenchProvider,
|
|
7
7
|
normalizeAgentGuiWorkbenchProvider
|
|
@@ -236,4 +236,4 @@ export {
|
|
|
236
236
|
resolveAgentGuiWorkbenchLaunchDockEntryId,
|
|
237
237
|
shouldReuseAgentGuiWorkbenchDockEntryNode
|
|
238
238
|
};
|
|
239
|
-
//# sourceMappingURL=chunk-
|
|
239
|
+
//# sourceMappingURL=chunk-3KS22CG2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../workbench/types.ts"],"sourcesContent":["import type { AgentGUIProviderTargetRef } from \"../types\";\n\nexport type AgentGuiWorkbenchProvider =\n | \"claude-code\"\n | \"codex\"\n | \"nexight\"\n | \"gemini\"\n | \"hermes\"\n | \"openclaw\";\n\nexport const agentGuiWorkbenchOpenSessionActivationType =\n \"agent-gui:open-session\";\n\nexport const agentGuiWorkbenchPrefillPromptActivationType =\n \"agent-gui:prefill-prompt\";\n\nexport interface AgentGuiWorkbenchPrefillPromptPayload {\n agentTargetId?: string | null;\n autoSubmit?: boolean;\n draftPrompt: string;\n provider?: AgentGuiWorkbenchProvider;\n userProjectPath?: string | null;\n}\n\nexport interface AgentGuiWorkbenchComposerOverrides {\n model?: string | null;\n permissionModeId?: string | null;\n planMode?: boolean;\n reasoningEffort?: string | null;\n speed?: string | null;\n}\n\nexport type AgentGuiWorkbenchComposerOverridesByProvider = Partial<\n Record<AgentGuiWorkbenchProvider, AgentGuiWorkbenchComposerOverrides | null>\n>;\n\nexport type AgentGuiWorkbenchComposerOverridesByAgentTargetId = Record<\n string,\n AgentGuiWorkbenchComposerOverrides | null\n>;\n\nexport interface AgentGuiWorkbenchNodeState {\n agentTargetId?: string | null;\n composerOverrides?: AgentGuiWorkbenchComposerOverrides | null;\n composerOverridesByAgentTargetId?: AgentGuiWorkbenchComposerOverridesByAgentTargetId | null;\n composerOverridesByProvider?: AgentGuiWorkbenchComposerOverridesByProvider | null;\n conversationCount?: number | null;\n conversationRailCollapsed?: boolean | null;\n conversationRailWidthPx?: number | null;\n lastActiveAgentSessionId: string | null;\n /** @deprecated Conversation titles are derived from the active session id. */\n lastActiveConversationTitle?: string | null;\n provider: AgentGuiWorkbenchProvider;\n /** @deprecated Use agentTargetId for selection restore. */\n providerTargetId?: string | null;\n /** @deprecated Provider target refs are resolved from the current target list. */\n providerTargetRef?: AgentGUIProviderTargetRef | null;\n}\n\nexport interface AgentGuiWorkbenchState {\n agentTargetId?: string | null;\n conversationRailCollapsed?: boolean | null;\n conversationRailWidthPx?: number | null;\n lastActiveAgentSessionId: string | null;\n}\n\nexport interface AgentGuiWorkbenchWorkspaceState {\n workspaceId: string;\n}\n"],"mappings":";AAUO,IAAM,6CACX;AAEK,IAAM,+CACX;","names":[]}
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-22L4VWUR.js";
|
|
6
6
|
import {
|
|
7
7
|
agentGUIProviderTargetRefsEqual
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-SXML6H77.js";
|
|
9
9
|
|
|
10
10
|
// workbench/state.ts
|
|
11
11
|
function createDefaultAgentGuiWorkbenchNodeState(provider = "codex") {
|
|
@@ -318,4 +318,4 @@ export {
|
|
|
318
318
|
agentGuiWorkbenchProviderFromInstanceId,
|
|
319
319
|
createAgentGuiWorkbenchNodeStateSource
|
|
320
320
|
};
|
|
321
|
-
//# sourceMappingURL=chunk-
|
|
321
|
+
//# sourceMappingURL=chunk-JBWFRSFQ.js.map
|
|
@@ -14115,6 +14115,7 @@ var AGENT_MESSAGE_LOCATOR_BOTTOM_SAFE_INSET_MAX_PX = 48;
|
|
|
14115
14115
|
var AGENT_MESSAGE_LOCATOR_NATIVE_SMOOTH_MAX_DISTANCE_PX = 720;
|
|
14116
14116
|
var AGENT_MESSAGE_LOCATOR_FAST_SCROLL_SPEED_PX_PER_MS = 8;
|
|
14117
14117
|
var AGENT_MESSAGE_LOCATOR_FAST_SCROLL_MIN_DURATION_MS = 120;
|
|
14118
|
+
var AGENT_MESSAGE_LOCATOR_FAST_SCROLL_MAX_DURATION_MS = 320;
|
|
14118
14119
|
var agentMessageLocatorScrollAnimations = /* @__PURE__ */ new WeakMap();
|
|
14119
14120
|
function transcriptLabelsEqual(previous, next) {
|
|
14120
14121
|
return previous === next || previous.thinkingLabel === next.thinkingLabel && previous.processing === next.processing && previous.turnSummary === next.turnSummary && previous.rawTimelineJson === next.rawTimelineJson && previous.userMessageLocator === next.userMessageLocator && previous.toolCallsLabel === next.toolCallsLabel;
|
|
@@ -14754,7 +14755,10 @@ function animateMessageLocatorScroll(scrollParent, targetScrollTop, distance) {
|
|
|
14754
14755
|
const delta = targetScrollTop - startScrollTop;
|
|
14755
14756
|
const durationMs = Math.max(
|
|
14756
14757
|
AGENT_MESSAGE_LOCATOR_FAST_SCROLL_MIN_DURATION_MS,
|
|
14757
|
-
|
|
14758
|
+
Math.min(
|
|
14759
|
+
AGENT_MESSAGE_LOCATOR_FAST_SCROLL_MAX_DURATION_MS,
|
|
14760
|
+
distance / AGENT_MESSAGE_LOCATOR_FAST_SCROLL_SPEED_PX_PER_MS
|
|
14761
|
+
)
|
|
14758
14762
|
);
|
|
14759
14763
|
const startedAt = performance.now();
|
|
14760
14764
|
const step = (now) => {
|
|
@@ -15049,4 +15053,4 @@ export {
|
|
|
15049
15053
|
AgentConversationFlow,
|
|
15050
15054
|
useProjectedAgentConversation
|
|
15051
15055
|
};
|
|
15052
|
-
//# sourceMappingURL=chunk-
|
|
15056
|
+
//# sourceMappingURL=chunk-JLJIAKI3.js.map
|