@tutti-os/agent-gui 0.0.187 → 0.0.189

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.
@@ -1,8 +1,8 @@
1
1
  import * as react from 'react';
2
2
  import { ReactNode, JSX } from 'react';
3
- import { c as AgentConversationVM, g as WorkspaceLinkAction, f as WorkspaceAgentSessionDetailViewModel } from '../agentConversationVM-DWEy7jzx.js';
4
- export { B as BuildWorkspaceAgentSessionDetailInput, W as WorkspaceAgentActivityCard, e as WorkspaceAgentActivityTimelineItem, h as buildWorkspaceAgentSessionDetailViewModel } from '../agentConversationVM-DWEy7jzx.js';
5
- import { d as AgentGUIProviderSkillOption, h as AgentMessageMarkdownWorkspaceAppIcon } from '../agentGuiNodeTypes-CbBAccKv.js';
3
+ import { c as AgentConversationVM, g as WorkspaceLinkAction, f as WorkspaceAgentSessionDetailViewModel } from '../agentConversationVM-CYXZSrh9.js';
4
+ export { B as BuildWorkspaceAgentSessionDetailInput, W as WorkspaceAgentActivityCard, e as WorkspaceAgentActivityTimelineItem, h as buildWorkspaceAgentSessionDetailViewModel } from '../agentConversationVM-CYXZSrh9.js';
5
+ import { d as AgentGUIProviderSkillOption, h as AgentMessageMarkdownWorkspaceAppIcon } from '../agentGuiNodeTypes-DAT3XJON.js';
6
6
  import { AgentActivityMessage } from '@tutti-os/agent-activity-core';
7
7
  import '@tutti-os/workspace-issue-manager/core';
8
8
  import '../types-CWFDZVkv.js';
@@ -7,7 +7,7 @@ import {
7
7
  reconcileProjectedAgentConversationVM,
8
8
  serializeAgentConversationForClipboard,
9
9
  useProjectedAgentConversation
10
- } from "../chunk-62JB3KCN.js";
10
+ } from "../chunk-BVA5SVOD.js";
11
11
  import "../chunk-LLIM2OX6.js";
12
12
  import "../chunk-THBCAUBR.js";
13
13
  import "../chunk-XJ34OIEQ.js";
@@ -3,14 +3,14 @@ import { ReactNode } from 'react';
3
3
  import { I18nRuntime } from '@tutti-os/ui-i18n-runtime';
4
4
  import { AgentActivityGoalControlInput, AgentActivityGoalControlResult, AgentActivityCreateSessionInput, AgentActivitySession, AgentActivityDeleteSessionInput, AgentActivityDeleteSessionResult, AgentActivitySendInput, AgentActivitySessionSettings, AgentActivityInitialGoalControl, AgentActivityActivateSessionResult, AgentActivitySnapshot, AgentSessionEngine, AgentActivityMessageOrder, AgentActivityMessagePage, AgentActivitySendInputResult, AgentActivityRenameSessionInput, AgentActivitySubmitInteractiveInput, AgentActivitySubmitInteractiveResult, AgentActivitySnapshotListener, AgentActivitySubmitSettingsPatch } from '@tutti-os/agent-activity-core';
5
5
  import { k as AgentHostAgentSessionComposerSettings, o as AgentHostUnactivateAgentSessionResult, b as AgentGUIAgentTarget, f as AgentGUIProvider, p as AgentPromptContentBlock, e as AgentGUINodeData, P as Point, g as AgentGUIProviderRailAllPresentation, h as AgentGUIProviderRailMode, i as AgentGUIProviderReadinessGate, d as AgentGUIHomeSuggestionId, N as NodeFrame, a as AgentGUIAgentDirectorySnapshot, c as AgentGUIAllAgentsPresentation } from './types-CWFDZVkv.js';
6
- import { A as AgentComposerDraft, i as AgentSessionCommand, d as AgentGUIProviderSkillOption, b as AgentGUIComposerSettingsVM, e as AgentGUIQueueStatus, f as AgentGUIQueuedPromptVM, h as AgentMessageMarkdownWorkspaceAppIcon, j as AgentSlashCommandCapability, c as AgentGUINodeViewModel, a as AgentComposerDraftFile, k as AgentUsageQuota, g as AgentHostInputApi } from './agentGuiNodeTypes-CbBAccKv.js';
6
+ import { A as AgentComposerDraft, i as AgentSessionCommand, d as AgentGUIProviderSkillOption, b as AgentGUIComposerSettingsVM, e as AgentGUIQueueStatus, f as AgentGUIQueuedPromptVM, h as AgentMessageMarkdownWorkspaceAppIcon, j as AgentSlashCommandCapability, c as AgentGUINodeViewModel, a as AgentComposerDraftFile, k as AgentUsageQuota, g as AgentHostInputApi } from './agentGuiNodeTypes-DAT3XJON.js';
7
7
  import { WorkspaceFileReference, ReferenceLocateTarget, WorkspaceFileReferenceAdapter, ReferenceProvenanceCatalog } from '@tutti-os/workspace-file-reference/contracts';
8
8
  export { ReferenceProvenanceCatalog as AgentGUIReferenceProvenanceFilterCatalog } from '@tutti-os/workspace-file-reference/contracts';
9
9
  import { A as AgentContextMentionItem } from './agentFileMentionContracts-B0yQizXB.js';
10
10
  import { A as AgentGuiI18nLocale } from './runtime-Dwf44VKc.js';
11
11
  import { WorkspaceFileEntry } from '@tutti-os/workspace-file-manager/services';
12
12
  import { ReferenceSourceAggregator } from '@tutti-os/workspace-file-reference/core';
13
- import { b as AgentConversationPromptVM, g as WorkspaceLinkAction } from './agentConversationVM-DWEy7jzx.js';
13
+ import { b as AgentConversationPromptVM, g as WorkspaceLinkAction } from './agentConversationVM-CYXZSrh9.js';
14
14
  import { WorkspaceUserProjectI18nRuntime } from '@tutti-os/workspace-user-project/i18n';
15
15
  import { WorkspaceUserProjectSelectChangeAction } from '@tutti-os/workspace-user-project/ui';
16
16
  import { WorkspaceUserProject } from '@tutti-os/workspace-user-project/contracts';
package/dist/agent-gui.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AgentGUI
3
- } from "./chunk-43M2GHDA.js";
3
+ } from "./chunk-F5YFT4VB.js";
4
4
  import "./chunk-LB4AGT7B.js";
5
5
  import "./chunk-A4WCTHWS.js";
6
6
  import "./chunk-E5X3DSQZ.js";
@@ -9,7 +9,7 @@ import "./chunk-YSA4MXR5.js";
9
9
  import "./chunk-MHOYBRCY.js";
10
10
  import "./chunk-SZVHT57M.js";
11
11
  import "./chunk-5UTK6FDH.js";
12
- import "./chunk-62JB3KCN.js";
12
+ import "./chunk-BVA5SVOD.js";
13
13
  import "./chunk-LLIM2OX6.js";
14
14
  import "./chunk-THBCAUBR.js";
15
15
  import "./chunk-UP3ZDYTN.js";
@@ -2,7 +2,7 @@ import * as react from 'react';
2
2
  import { JSX, ReactNode, HTMLAttributes } from 'react';
3
3
  import { I18nRuntime } from '@tutti-os/ui-i18n-runtime';
4
4
  import { A as AgentGuiI18nLocale, T as TranslateFn } from '../runtime-Dwf44VKc.js';
5
- import { d as WorkspaceAgentActivityStatus, b as AgentConversationPromptVM, g as WorkspaceLinkAction } from '../agentConversationVM-DWEy7jzx.js';
5
+ import { d as WorkspaceAgentActivityStatus, b as AgentConversationPromptVM, g as WorkspaceLinkAction } from '../agentConversationVM-CYXZSrh9.js';
6
6
  import { AgentActivityNeedsAttentionItem, AgentSessionEngine, WorkspaceAgentConsumerSession, AgentActivitySnapshot, AgentSessionEngineState } from '@tutti-os/agent-activity-core';
7
7
  export { WorkspaceAgentConsumerCounts, WorkspaceAgentConsumerSession, selectWorkspaceAgentConsumerCounts, selectWorkspaceAgentConsumerSession, selectWorkspaceAgentConsumerSessions } from '@tutti-os/agent-activity-core';
8
8
  import '@tutti-os/workspace-issue-manager/core';
@@ -1,5 +1,5 @@
1
1
  import { WorkspaceIssueMentionMode } from '@tutti-os/workspace-issue-manager/core';
2
- import { AgentActivityMessageSemantics, AgentActivitySession, AgentActivityTurn } from '@tutti-os/agent-activity-core';
2
+ import { AgentActivityMessageSemantics, AgentActivitySession, AgentActivityGoalControlAction, AgentActivityTurn } from '@tutti-os/agent-activity-core';
3
3
 
4
4
  type WorkspaceLinkActionSource = "agent-markdown" | "agent-file-change" | string;
5
5
  interface OpenWorkspaceFileLinkAction {
@@ -182,6 +182,13 @@ interface WorkspaceAgentSessionDetailThinking {
182
182
  occurredAtUnixMs?: number | null;
183
183
  sourceTimelineItems?: WorkspaceAgentActivityTimelineItem[];
184
184
  }
185
+ interface WorkspaceAgentSessionDetailGoalControl {
186
+ id: string;
187
+ action: AgentActivityGoalControlAction;
188
+ body: string;
189
+ occurredAtUnixMs?: number | null;
190
+ sourceTimelineItems?: WorkspaceAgentActivityTimelineItem[];
191
+ }
185
192
  interface WorkspaceAgentSessionDetailToolCall {
186
193
  id: string;
187
194
  name: string;
@@ -234,6 +241,7 @@ interface WorkspaceAgentSessionDetailViewModel {
234
241
  session: AgentActivitySession;
235
242
  cwd: string;
236
243
  workspaceRoot: string | null;
244
+ goalControls?: WorkspaceAgentSessionDetailGoalControl[];
237
245
  turns: WorkspaceAgentSessionDetailTurn[];
238
246
  sessionTurns?: readonly AgentActivityTurn[];
239
247
  showProcessingIndicator?: boolean;
@@ -305,6 +313,16 @@ interface AgentGeneratedImageRowVM {
305
313
  occurredAtUnixMs: number | null;
306
314
  }
307
315
 
316
+ interface AgentGoalControlRowVM {
317
+ kind: "goal-control";
318
+ id: string;
319
+ turnId: null;
320
+ action: AgentActivityGoalControlAction;
321
+ body: string;
322
+ occurredAtUnixMs: number | null;
323
+ sourceTimelineItems?: WorkspaceAgentActivityTimelineItem[];
324
+ }
325
+
308
326
  type AgentTranscriptPresentationKind = "content" | "specific-progress" | "turn-boundary";
309
327
 
310
328
  interface AgentMessageContentVM {
@@ -532,7 +550,7 @@ interface AgentTurnSummaryRowVM {
532
550
  occurredAtUnixMs: number | null;
533
551
  }
534
552
 
535
- type AgentTranscriptRowVM = AgentGeneratedImageRowVM | AgentMessageRowVM | AgentToolGroupRowVM | AgentTurnSummaryRowVM | AgentProcessingRowVM;
553
+ type AgentTranscriptRowVM = AgentGeneratedImageRowVM | AgentGoalControlRowVM | AgentMessageRowVM | AgentToolGroupRowVM | AgentTurnSummaryRowVM | AgentProcessingRowVM;
536
554
 
537
555
  type AgentConversationPromptVM = AgentApprovalItemVM | {
538
556
  kind: "ask-user";
@@ -1,6 +1,6 @@
1
1
  import { AgentActivitySession, AgentActivitySlashCommandPolicy, AgentActivityUsage, CanonicalAgentSession } from '@tutti-os/agent-activity-core';
2
2
  import { j as AgentHostAgentSessionCommand, k as AgentHostAgentSessionComposerSettings, m as AgentHostAgentSessionReasoningEffort, n as AgentHostAgentSessionSpeed, l as AgentHostAgentSessionPermissionConfig, f as AgentGUIProvider, p as AgentPromptContentBlock, e as AgentGUINodeData, b as AgentGUIAgentTarget, h as AgentGUIProviderRailMode, i as AgentGUIProviderReadinessGate } from './types-CWFDZVkv.js';
3
- import { A as AgentApprovalItemVM, a as AgentAskUserQuestionVM, b as AgentConversationPromptVM, c as AgentConversationVM, f as WorkspaceAgentSessionDetailViewModel } from './agentConversationVM-DWEy7jzx.js';
3
+ import { A as AgentApprovalItemVM, a as AgentAskUserQuestionVM, b as AgentConversationPromptVM, c as AgentConversationVM, f as WorkspaceAgentSessionDetailViewModel } from './agentConversationVM-CYXZSrh9.js';
4
4
  import { WorkspaceUserProjectService } from '@tutti-os/workspace-user-project/contracts';
5
5
 
6
6
  declare const APP_ERROR_CODES: readonly ["common.invalid_input", "common.approved_path_required", "common.unavailable", "common.unexpected", "session.not_found", "control_surface.unauthorized", "workspace.select_directory_failed", "workspace.select_files_failed", "workspace.ensure_directory_failed", "workspace.import_files_failed", "workspace.read_file_failed", "workspace.write_file_failed", "workspace.export_file_failed", "workspace.copy_path_failed", "workspace.host_unsupported", "workspace.runtime_artifact_unavailable", "runtime.guest_agent_lane_unavailable", "workspace.room_full", "workspace.room_delete_forbidden", "workspace.room_delete_not_found", "filesystem.create_directory_failed", "filesystem.read_file_bytes_failed", "filesystem.read_file_text_failed", "filesystem.write_file_text_failed", "filesystem.copy_entry_failed", "filesystem.move_entry_failed", "filesystem.rename_entry_failed", "filesystem.delete_entry_failed", "filesystem.read_directory_failed", "filesystem.stat_failed", "terminal.spawn_failed", "terminal.write_failed", "terminal.resize_failed", "terminal.close_failed", "terminal.attach_failed", "terminal.detach_failed", "terminal.snapshot_failed", "agent.list_models_failed", "agent.launch_failed", "agent.read_last_message_failed", "agent.provider_session_not_found", "agent.resume_session_not_local", "agent.resume_session_resolve_failed", "agent.settings_require_new_session", "task.suggest_title_failed", "persistence.unavailable", "persistence.quota_exceeded", "persistence.payload_too_large", "persistence.io_failed", "persistence.invalid_state", "persistence.invalid_node_id", "update.get_state_failed", "update.configure_failed", "update.check_failed", "update.download_failed", "update.install_failed", "PACKAGE_DOWNLOAD_INTERRUPTED", "PACKAGE_DOWNLOAD_HTTP_STATUS", "PACKAGE_DOWNLOAD_INVALID", "PACKAGE_DOWNLOAD_DISK_ERROR"];
@@ -5283,6 +5283,13 @@ aside.workspace-agents-status-panel
5283
5283
  background: transparent !important;
5284
5284
  color: var(--agent-gui-workbench-header-muted) !important;
5285
5285
  cursor: pointer;
5286
+ /* Header chrome icon buttons must not animate: no hover fade, no
5287
+ press-down motion inherited from the ui-system Button base. */
5288
+ transition: none !important;
5289
+ }
5290
+
5291
+ .agent-gui-workbench-header__icon-button:active {
5292
+ transform: none !important;
5286
5293
  }
5287
5294
 
5288
5295
  .agent-gui-workbench-header[data-agent-gui-standalone-window-header="true"]
@@ -5307,12 +5314,6 @@ aside.workspace-agents-status-panel
5307
5314
 
5308
5315
  .agent-gui-workbench-header__rail-toggle {
5309
5316
  margin-left: auto;
5310
- /* The rail toggle must not animate: no hover fade, no press-down motion. */
5311
- transition: none !important;
5312
- }
5313
-
5314
- .agent-gui-workbench-header__rail-toggle:active {
5315
- transform: none !important;
5316
5317
  }
5317
5318
 
5318
5319
  .agent-gui-workbench-header__detached-window {
@@ -9527,7 +9528,7 @@ html[data-theme="light"] [data-message-center-item-id].agent-gui-edge-glow {
9527
9528
 
9528
9529
  .agent-gui-node__provider-rail-tile:not([data-selected="true"])
9529
9530
  .agent-gui-node__provider-rail-avatar {
9530
- opacity: 0.38;
9531
+ opacity: 1;
9531
9532
  }
9532
9533
 
9533
9534
  /* "Beta" tag straddling the selected icon's stroke: its centerline sits on