@tutti-os/agent-gui 0.0.131 → 0.0.133

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 (54) hide show
  1. package/README.md +5 -2
  2. package/dist/agent-conversation/index.d.ts +4 -6
  3. package/dist/agent-conversation/index.js +3 -3
  4. package/dist/agent-env/index.d.ts +10 -27
  5. package/dist/agent-env/index.js +14 -290
  6. package/dist/agent-env/index.js.map +1 -1
  7. package/dist/agent-gui.d.ts +1090 -20
  8. package/dist/agent-gui.js +7 -7
  9. package/dist/agent-message-center/index.d.ts +42 -7
  10. package/dist/agent-message-center/index.js +2 -2
  11. package/dist/{agentConversationVM-BD0-gg6C.d.ts → agentConversationVM-DWEy7jzx.d.ts} +41 -2
  12. package/dist/{agentGuiNodeTypes-5TL1hyCN.d.ts → agentGuiNodeTypes-B57MfwVo.d.ts} +5 -22
  13. package/dist/agents.d.ts +1 -1
  14. package/dist/agents.js +1 -1
  15. package/dist/app/renderer/agentactivity.css +1 -0
  16. package/dist/app/renderer/assets/icons/@-lined.svg +1 -8
  17. package/dist/{chunk-2RSNLVOX.js → chunk-A6NSHCRP.js} +204 -47
  18. package/dist/chunk-A6NSHCRP.js.map +1 -0
  19. package/dist/chunk-FM42UN2J.js +462 -0
  20. package/dist/chunk-FM42UN2J.js.map +1 -0
  21. package/dist/{chunk-PQJXWXTS.js → chunk-GBBNYGL7.js} +2 -2
  22. package/dist/{chunk-GCQYN7BR.js → chunk-HCRROERX.js} +2 -2
  23. package/dist/{chunk-WVWSFGBU.js → chunk-IZ626FDO.js} +563 -444
  24. package/dist/chunk-IZ626FDO.js.map +1 -0
  25. package/dist/{chunk-YWHGCKMT.js → chunk-N62NVPHT.js} +7 -7
  26. package/dist/chunk-N62NVPHT.js.map +1 -0
  27. package/dist/{chunk-T2NICA5D.js → chunk-VS5BRBY6.js} +4 -1
  28. package/dist/chunk-VS5BRBY6.js.map +1 -0
  29. package/dist/{contribution-yc4CGJmy.d.ts → contribution-BbW-kkpi.d.ts} +52 -1
  30. package/dist/custom-mention.d.ts +4 -2
  31. package/dist/i18n/index.d.ts +11 -6
  32. package/dist/index.d.ts +7982 -33
  33. package/dist/index.js +7 -7
  34. package/dist/runtime-Dwf44VKc.d.ts +7 -0
  35. package/dist/{types-BicfRVrV.d.ts → types-BeAVr4of.d.ts} +3 -5
  36. package/dist/workbench/contribution.d.ts +1 -2
  37. package/dist/workbench/contribution.js +2 -2
  38. package/dist/workbench/index.d.ts +1 -2
  39. package/dist/workbench/index.js +2 -2
  40. package/dist/workspace-agent-generated-files.d.ts +12 -1
  41. package/package.json +15 -15
  42. package/dist/AgentGUI-DxypmD7b.d.ts +0 -1080
  43. package/dist/agentPlanPromptDispatch-C7cCMjve.d.ts +0 -37
  44. package/dist/chunk-2RSNLVOX.js.map +0 -1
  45. package/dist/chunk-T2NICA5D.js.map +0 -1
  46. package/dist/chunk-VMQNG2KI.js +0 -178
  47. package/dist/chunk-VMQNG2KI.js.map +0 -1
  48. package/dist/chunk-WVWSFGBU.js.map +0 -1
  49. package/dist/chunk-YWHGCKMT.js.map +0 -1
  50. package/dist/pastedTextKinds-D-XuInaS.d.ts +0 -4
  51. package/dist/runtime-BBNdWgDU.d.ts +0 -10
  52. package/dist/workspaceAgentActivityListTypes-DZfS_HgG.d.ts +0 -48
  53. /package/dist/{chunk-PQJXWXTS.js.map → chunk-GBBNYGL7.js.map} +0 -0
  54. /package/dist/{chunk-GCQYN7BR.js.map → chunk-HCRROERX.js.map} +0 -0
package/dist/agent-gui.js CHANGED
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  AgentGUI
3
- } from "./chunk-WVWSFGBU.js";
3
+ } from "./chunk-IZ626FDO.js";
4
4
  import "./chunk-A4WCTHWS.js";
5
- import "./chunk-GCQYN7BR.js";
5
+ import "./chunk-HCRROERX.js";
6
6
  import "./chunk-TUWQV2MC.js";
7
7
  import "./chunk-MHOYBRCY.js";
8
8
  import "./chunk-PVTAFUDS.js";
9
9
  import "./chunk-5HIF53K5.js";
10
10
  import "./chunk-R2ZADXRB.js";
11
- import "./chunk-2RSNLVOX.js";
11
+ import "./chunk-A6NSHCRP.js";
12
12
  import "./chunk-XNE2ROCP.js";
13
- import "./chunk-VMQNG2KI.js";
13
+ import "./chunk-FM42UN2J.js";
14
14
  import "./chunk-UP3ZDYTN.js";
15
15
  import "./chunk-UARZZJJB.js";
16
- import "./chunk-T2NICA5D.js";
16
+ import "./chunk-VS5BRBY6.js";
17
17
  import "./chunk-FGLQZ6I4.js";
18
18
  import "./chunk-DXT4W2SU.js";
19
19
  import "./chunk-J4TTEMRW.js";
@@ -23,9 +23,9 @@ import "./chunk-R7AXDQCA.js";
23
23
  import "./chunk-OBWM2RFE.js";
24
24
  import "./chunk-5QPOMKMQ.js";
25
25
  import "./chunk-RMQREVJY.js";
26
- import "./chunk-PQJXWXTS.js";
26
+ import "./chunk-GBBNYGL7.js";
27
27
  import "./chunk-2RQM7PJN.js";
28
- import "./chunk-YWHGCKMT.js";
28
+ import "./chunk-N62NVPHT.js";
29
29
  import "./chunk-KPMQGPYU.js";
30
30
  import "./chunk-QQRTUHCH.js";
31
31
  import "./chunk-YMXYBG7U.js";
@@ -1,15 +1,18 @@
1
1
  import * as react from 'react';
2
2
  import { JSX, ReactNode, HTMLAttributes } from 'react';
3
3
  import { I18nRuntime } from '@tutti-os/ui-i18n-runtime';
4
- import { A as AgentGuiI18nLocale, T as TranslateFn } from '../runtime-BBNdWgDU.js';
5
- import { b as AgentConversationPromptVM, e as WorkspaceLinkAction } from '../agentConversationVM-BD0-gg6C.js';
6
- import { AgentActivityNeedsAttentionItem, WorkspaceAgentConsumerSession, AgentActivitySnapshot, AgentSessionEngineState } from '@tutti-os/agent-activity-core';
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';
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
- import { a as WorkspaceAgentActivityStatus } from '../workspaceAgentActivityListTypes-DZfS_HgG.js';
9
- export { P as PLAN_IMPLEMENTATION_ACTION_IMPLEMENT, a as PLAN_IMPLEMENTATION_PROMPT, d as dispatchAgentPlanPromptAction, u as useEngineSelector } from '../agentPlanPromptDispatch-C7cCMjve.js';
10
- import { useTranslation } from '../i18n/index.js';
11
8
  import '@tutti-os/workspace-issue-manager/core';
12
9
 
10
+ declare function useTranslation(): {
11
+ i18n: I18nRuntime<string>;
12
+ locale: AgentGuiI18nLocale;
13
+ t: TranslateFn;
14
+ };
15
+
13
16
  type WorkspaceAgentMessageCenterDigestPrimaryKind = "input-required" | "error" | "outcome" | "progress" | "summary";
14
17
  interface WorkspaceAgentMessageCenterDigestPrimary {
15
18
  kind: WorkspaceAgentMessageCenterDigestPrimaryKind;
@@ -427,6 +430,38 @@ declare function approvalOptionDisplayLabel(option: {
427
430
  feedback?: boolean;
428
431
  }): string;
429
432
 
433
+ declare const PLAN_IMPLEMENTATION_PROMPT = "Implement the plan.";
434
+ declare const PLAN_IMPLEMENTATION_ACTION_IMPLEMENT = "implement";
435
+ declare const PLAN_IMPLEMENTATION_ACTION_FEEDBACK = "feedback";
436
+ declare const PLAN_IMPLEMENTATION_ACTION_SKIP = "skip";
437
+
438
+ type AgentPlanPromptAction = typeof PLAN_IMPLEMENTATION_ACTION_IMPLEMENT | typeof PLAN_IMPLEMENTATION_ACTION_FEEDBACK | typeof PLAN_IMPLEMENTATION_ACTION_SKIP;
439
+ declare function dispatchAgentPlanPromptAction(input: {
440
+ action: AgentPlanPromptAction;
441
+ agentSessionId: string;
442
+ engine: AgentSessionEngine;
443
+ feedbackText?: string;
444
+ nowUnixMs?: () => number;
445
+ requestId: string;
446
+ workspaceId: string;
447
+ }): boolean;
448
+
449
+ /**
450
+ * Structural surface the binding needs from an engine instance. Matches
451
+ * AgentSessionEngine from @tutti-os/agent-activity-core, but stays structural
452
+ * so focused tests and future engine slices can bind without the full engine.
453
+ *
454
+ * Contract: `subscribe` and `getSnapshot` must be stable, this-free function
455
+ * references for the lifetime of the instance (the engine factory returns
456
+ * closures, satisfying this by construction). A fresh `subscribe` identity per
457
+ * render would force useSyncExternalStore to resubscribe on every render.
458
+ */
459
+ interface EngineStateStore<TState> {
460
+ getSnapshot(): TState;
461
+ subscribe(listener: (state: TState) => void): () => void;
462
+ }
463
+ declare function useEngineSelector<TState, TSelected>(engine: EngineStateStore<TState>, selector: (state: TState) => TSelected, isEqual?: (a: TSelected, b: TSelected) => boolean): TSelected;
464
+
430
465
  /**
431
466
  * Canonical Message Center entrypoint. Session/turn/interaction truth comes
432
467
  * directly from the engine. Durable messages are presentation input only:
@@ -454,4 +489,4 @@ interface MessageCenterFilterPreferences {
454
489
  declare function readMessageCenterFilterPreferences(): MessageCenterFilterPreferences;
455
490
  declare function writeMessageCenterFilterPreferences(preferences: MessageCenterFilterPreferences): void;
456
491
 
457
- export { AgentInteractivePromptSurface, AgentVerticalScrollArea, type BuildWorkspaceAgentMessageCenterOptions, type MessageCenterAgentUserStack, type MessageCenterFilterPreferences, type MessageCenterGroup, type MessageCenterGroupBy, MessageCenterGroupHeading, MessageCenterIdentityAvatarMark, MessageCenterIdentityAvatarStack, MessageCenterIdentityLabel, MessageCenterOpenChatButton, type MessageCenterProviderOption, type MessageCenterStatusFilter, type MessageCenterStatusOption, type MessageCenterStatusTone, MessageCenterSummary, type MessageCenterTranslate, type PromptToolDetail, type WorkspaceAgentMessageCenterAgentPresentation, WorkspaceAgentMessageCenterAttentionDeck, type WorkspaceAgentMessageCenterAttentionDeckProps, type WorkspaceAgentMessageCenterAttentionDeckRenderCardInput, WorkspaceAgentMessageCenterCard, type WorkspaceAgentMessageCenterCardProps, type WorkspaceAgentMessageCenterCounts, type WorkspaceAgentMessageCenterDigest, type WorkspaceAgentMessageCenterDigestPrimary, type WorkspaceAgentMessageCenterDigestPrimaryKind, type WorkspaceAgentMessageCenterIdentity, type WorkspaceAgentMessageCenterInteractionTarget, type WorkspaceAgentMessageCenterItem, type WorkspaceAgentMessageCenterModel, WorkspaceAgentMessageCenterPanel, type WorkspaceAgentMessageCenterPanelPresentation, type WorkspaceAgentMessageCenterPanelProps, type WorkspaceAgentMessageCenterPresentation, type WorkspaceAgentMessageCenterPromptStatus, WorkspaceAgentMessageCenterStack, MessageCenterViewMenu as WorkspaceAgentMessageCenterViewMenu, approvalOptionDisplayLabel, buildMessageCenterProviderOptions, buildMessageCenterStatusOptions, buildWorkspaceAgentInteractivePromptLabels, buildWorkspaceAgentMessageCenterModelFromEngine, getPromptToolDetails, groupMessageCenterItems, isInteractiveMessageCenterItem, isPromptRequestIdTitle, isRecentlyCompletedMessageCenterItem, isWaitingMessageCenterItem, itemMatchesViewFilters, managedAgentRoundedIconUrl, messageCenterAgentUserStackId, messageCenterFiltersStorageKey, messageCenterGroupLabel, messageCenterStackPreviewNodes, messageCenterStackPreviewText, messageCenterStackRenderId, messageCenterStackScrollSyncSegment, messageCenterStatusFilterValue, messageCenterStatusTone, messageCenterStatusToneClass, partitionMessageCenterItemsByAgentUser, readMessageCenterFilterPreferences, resolveMessageCenterNotificationAction, selectMessageCenterAttentionDeckItems, selectWorkspaceAgentMessageCenterPresentation, stabilizeWorkspaceAgentMessageCenterModel, statusFilterSummary, userAvatarPlaceholderUrl, workspaceAgentActivityStatusLabel, workspaceAgentMessageCenterPresentationEqual, workspaceAgentMessageCenterPromptStatus, writeMessageCenterFilterPreferences };
492
+ export { AgentInteractivePromptSurface, AgentVerticalScrollArea, type BuildWorkspaceAgentMessageCenterOptions, type MessageCenterAgentUserStack, type MessageCenterFilterPreferences, type MessageCenterGroup, type MessageCenterGroupBy, MessageCenterGroupHeading, MessageCenterIdentityAvatarMark, MessageCenterIdentityAvatarStack, MessageCenterIdentityLabel, MessageCenterOpenChatButton, type MessageCenterProviderOption, type MessageCenterStatusFilter, type MessageCenterStatusOption, type MessageCenterStatusTone, MessageCenterSummary, type MessageCenterTranslate, PLAN_IMPLEMENTATION_ACTION_IMPLEMENT, PLAN_IMPLEMENTATION_PROMPT, type PromptToolDetail, type WorkspaceAgentMessageCenterAgentPresentation, WorkspaceAgentMessageCenterAttentionDeck, type WorkspaceAgentMessageCenterAttentionDeckProps, type WorkspaceAgentMessageCenterAttentionDeckRenderCardInput, WorkspaceAgentMessageCenterCard, type WorkspaceAgentMessageCenterCardProps, type WorkspaceAgentMessageCenterCounts, type WorkspaceAgentMessageCenterDigest, type WorkspaceAgentMessageCenterDigestPrimary, type WorkspaceAgentMessageCenterDigestPrimaryKind, type WorkspaceAgentMessageCenterIdentity, type WorkspaceAgentMessageCenterInteractionTarget, type WorkspaceAgentMessageCenterItem, type WorkspaceAgentMessageCenterModel, WorkspaceAgentMessageCenterPanel, type WorkspaceAgentMessageCenterPanelPresentation, type WorkspaceAgentMessageCenterPanelProps, type WorkspaceAgentMessageCenterPresentation, type WorkspaceAgentMessageCenterPromptStatus, WorkspaceAgentMessageCenterStack, MessageCenterViewMenu as WorkspaceAgentMessageCenterViewMenu, approvalOptionDisplayLabel, buildMessageCenterProviderOptions, buildMessageCenterStatusOptions, buildWorkspaceAgentInteractivePromptLabels, buildWorkspaceAgentMessageCenterModelFromEngine, dispatchAgentPlanPromptAction, getPromptToolDetails, groupMessageCenterItems, isInteractiveMessageCenterItem, isPromptRequestIdTitle, isRecentlyCompletedMessageCenterItem, isWaitingMessageCenterItem, itemMatchesViewFilters, managedAgentRoundedIconUrl, messageCenterAgentUserStackId, messageCenterFiltersStorageKey, messageCenterGroupLabel, messageCenterStackPreviewNodes, messageCenterStackPreviewText, messageCenterStackRenderId, messageCenterStackScrollSyncSegment, messageCenterStatusFilterValue, messageCenterStatusTone, messageCenterStatusToneClass, partitionMessageCenterItemsByAgentUser, readMessageCenterFilterPreferences, resolveMessageCenterNotificationAction, selectMessageCenterAttentionDeckItems, selectWorkspaceAgentMessageCenterPresentation, stabilizeWorkspaceAgentMessageCenterModel, statusFilterSummary, useEngineSelector, userAvatarPlaceholderUrl, workspaceAgentActivityStatusLabel, workspaceAgentMessageCenterPresentationEqual, workspaceAgentMessageCenterPromptStatus, writeMessageCenterFilterPreferences };
@@ -6,7 +6,7 @@ import {
6
6
  dispatchAgentPlanPromptAction,
7
7
  getPromptToolDetails,
8
8
  isPromptRequestIdTitle
9
- } from "../chunk-PQJXWXTS.js";
9
+ } from "../chunk-GBBNYGL7.js";
10
10
  import {
11
11
  useEngineSelector
12
12
  } from "../chunk-2RQM7PJN.js";
@@ -19,7 +19,7 @@ import {
19
19
  isExitPlanSwitchModeInput,
20
20
  normalizeAgentApprovalPurpose,
21
21
  normalizeAskUserQuestions
22
- } from "../chunk-YWHGCKMT.js";
22
+ } from "../chunk-N62NVPHT.js";
23
23
  import {
24
24
  cn
25
25
  } from "../chunk-KPMQGPYU.js";
@@ -1,5 +1,4 @@
1
1
  import { WorkspaceIssueMentionMode } from '@tutti-os/workspace-issue-manager/core';
2
- import { W as WorkspaceAgentActivityCard, T as ToolCallStatusKind } from './workspaceAgentActivityListTypes-DZfS_HgG.js';
3
2
  import { AgentActivityMessageSemantics, AgentActivitySession, AgentActivityTurn } from '@tutti-os/agent-activity-core';
4
3
 
5
4
  type WorkspaceLinkActionSource = "agent-markdown" | "agent-file-change" | string;
@@ -109,6 +108,46 @@ interface WorkspaceAgentActivityTimelineItem {
109
108
  createdAtUnixMs?: number;
110
109
  }
111
110
 
111
+ type ToolCallStatusKind = "working" | "completed" | "failed" | "canceled" | "waiting";
112
+ interface WorkspaceAgentToolCallDisplay {
113
+ id: string;
114
+ name: string;
115
+ status: string | null;
116
+ statusKind: ToolCallStatusKind | null;
117
+ detail?: string;
118
+ }
119
+
120
+ type WorkspaceAgentLatestActivityStatus = "working" | "waiting" | "idle" | "completed" | "canceled" | "failed";
121
+ interface WorkspaceAgentConversationPreviewLine {
122
+ actorName: string;
123
+ summary: string;
124
+ }
125
+
126
+ type WorkspaceAgentActivityStatus = WorkspaceAgentLatestActivityStatus;
127
+ interface WorkspaceAgentChangedFile {
128
+ path: string;
129
+ label: string;
130
+ }
131
+ interface WorkspaceAgentActivityCard {
132
+ id: string;
133
+ sessionId: string;
134
+ userId: string | null;
135
+ userName: string;
136
+ userAvatarUrl?: string;
137
+ agentProvider: string;
138
+ agentName: string;
139
+ title: string;
140
+ status: WorkspaceAgentActivityStatus;
141
+ latestActivitySummary: string;
142
+ /** User prompt + latest agent reply for task/issue execution cards; room status list uses single-line summary only. */
143
+ conversationPreview?: WorkspaceAgentConversationPreviewLine[];
144
+ latestActivityActorName?: string;
145
+ toolCalls?: WorkspaceAgentToolCallDisplay[];
146
+ changedFiles: WorkspaceAgentChangedFile[];
147
+ sortTimeUnixMs: number;
148
+ readTimeUnixMs?: number;
149
+ }
150
+
112
151
  interface WorkspaceAgentSessionDetailMessage {
113
152
  id: string;
114
153
  body: string;
@@ -518,4 +557,4 @@ interface AgentConversationVM {
518
557
  rows: AgentTranscriptRowVM[];
519
558
  }
520
559
 
521
- export { type AgentApprovalItemVM as A, type BuildWorkspaceAgentSessionDetailInput as B, type WorkspaceAgentActivityTimelineItem as W, type AgentAskUserQuestionVM as a, type AgentConversationPromptVM as b, type AgentConversationVM as c, type WorkspaceAgentSessionDetailViewModel as d, type WorkspaceLinkAction as e, buildWorkspaceAgentSessionDetailViewModel as f };
560
+ export { type AgentApprovalItemVM as A, type BuildWorkspaceAgentSessionDetailInput as B, type WorkspaceAgentActivityCard as W, type AgentAskUserQuestionVM as a, type AgentConversationPromptVM as b, type AgentConversationVM as c, type WorkspaceAgentActivityStatus as d, type WorkspaceAgentActivityTimelineItem as e, type WorkspaceAgentSessionDetailViewModel as f, type WorkspaceLinkAction as g, buildWorkspaceAgentSessionDetailViewModel as h };
@@ -1,8 +1,7 @@
1
1
  import { AgentActivitySession, AgentActivitySlashCommandPolicy, AgentActivityUsage, CanonicalAgentSession } from '@tutti-os/agent-activity-core';
2
- import { u as AgentHostAgentSessionCommand, v as AgentHostAgentSessionComposerSettings, x as AgentHostAgentSessionReasoningEffort, y as AgentHostAgentSessionSpeed, w as AgentHostAgentSessionPermissionConfig, o as AgentGUIProvider, B as AgentPromptContentBlock, n as AgentGUINodeData, i as AgentGUIAgentTarget, q as AgentGUIProviderRailMode, r as AgentGUIProviderReadinessGate } from './types-BicfRVrV.js';
3
- import { A as AgentApprovalItemVM, a as AgentAskUserQuestionVM, b as AgentConversationPromptVM, c as AgentConversationVM, d as WorkspaceAgentSessionDetailViewModel } from './agentConversationVM-BD0-gg6C.js';
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-BeAVr4of.js';
3
+ import { A as AgentApprovalItemVM, a as AgentAskUserQuestionVM, b as AgentConversationPromptVM, c as AgentConversationVM, f as WorkspaceAgentSessionDetailViewModel } from './agentConversationVM-DWEy7jzx.js';
4
4
  import { WorkspaceUserProjectService } from '@tutti-os/workspace-user-project/contracts';
5
- import { A as AGENT_PASTED_TEXT_BLOCK_KIND } from './pastedTextKinds-D-XuInaS.js';
6
5
 
7
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"];
8
7
  type AppErrorCode = (typeof APP_ERROR_CODES)[number];
@@ -249,7 +248,6 @@ interface AgentHostInputApi {
249
248
  workspace: AgentHostWorkspaceApi;
250
249
  workspaceAgentProbes?: AgentHostWorkspaceAgentProbesApi;
251
250
  }
252
- type AgentHostApi = AgentHostInputApi;
253
251
  type AgentHostAccountApi = AgentHostRecord & {
254
252
  batchGetUserInfo: (input: AgentHostBatchUserInfoInput) => AgentHostAsyncResult<AgentHostBatchUserInfoResult>;
255
253
  ensureProfiles?: (input: any) => AgentHostAsyncResult<any>;
@@ -318,8 +316,6 @@ type AgentHostAgentTargetSetupApi = AgentHostRecord & {
318
316
  agentTargetId: string;
319
317
  }) => AgentHostAgentTargetSetupWatch;
320
318
  };
321
- type AgentProviderProbeListInput = AgentHostListWorkspaceAgentProbesInput;
322
- type AgentProviderProbeListResult = AgentHostWorkspaceAgentProbesResult;
323
319
  interface AgentHostUserProject {
324
320
  id: string;
325
321
  path: string;
@@ -395,21 +391,6 @@ type AgentHostAgentSessionsApi = AgentHostRecord & {
395
391
  unactivate: (input: any) => AgentHostAsyncResult<any>;
396
392
  updateSettings: (input: any) => AgentHostAsyncResult<any>;
397
393
  };
398
- interface AgentHostRuntimeApi {
399
- account?: AgentHostAccountApi;
400
- agentTargetSetup?: AgentHostAgentTargetSetupApi;
401
- clipboard: AgentHostClipboardApi;
402
- debug?: AgentHostDebugApi;
403
- filesystem: AgentHostFilesystemApi;
404
- meta?: AgentHostMetaApi;
405
- onHostEvent?: (listener: (event: any) => void) => AgentHostUnsubscribe;
406
- persistence?: AgentHostPersistenceApi;
407
- runtime?: AgentHostEnvironmentApi;
408
- toast?: AgentHostToastApi;
409
- userProjects?: AgentHostUserProjectsApi;
410
- workspace: AgentHostWorkspaceApi;
411
- workspaceAgentProbes?: AgentHostWorkspaceAgentProbesApi;
412
- }
413
394
 
414
395
  interface AgentMessageMarkdownWorkspaceAppIcon {
415
396
  appId: string;
@@ -503,6 +484,8 @@ interface AgentSlashCommandCapability {
503
484
  }
504
485
  type AgentSlashCommandPolicy = AgentActivitySlashCommandPolicy;
505
486
 
487
+ declare const AGENT_PASTED_TEXT_BLOCK_KIND = "pasted-text";
488
+
506
489
  interface AgentGUISessionChrome {
507
490
  auth: {
508
491
  message: string;
@@ -737,4 +720,4 @@ interface AgentGUINodeViewModel {
737
720
  operations: AgentGUIOperationsViewModel;
738
721
  }
739
722
 
740
- export type { AgentComposerDraft as A, PersistWriteResult as P, ReadWorkspaceAgentReadStateInput as R, WorkspaceAgentReadStateSnapshot as W, AgentComposerDraftFile as a, AgentGUIComposerSettingsVM as b, AgentGUINodeViewModel as c, AgentGUIProviderSkillOption as d, AgentGUIQueueStatus as e, AgentGUIQueuedPromptVM as f, AgentHostAgentTargetAuthenticatedAccount as g, AgentHostAgentTargetSetupSnapshot as h, AgentHostAgentTargetSetupState as i, AgentHostAgentTargetSetupWatch as j, AgentHostApi as k, AgentHostApplyWorkspaceGitPatchInput as l, AgentHostInputApi as m, AgentHostRuntimeApi as n, AgentHostSelectFilesInput as o, AgentHostUserProject as p, AgentMessageMarkdownWorkspaceAppIcon as q, AgentProbeProvider as r, AgentProbeSnapshot as s, AgentProviderProbeListInput as t, AgentProviderProbeListResult as u, AgentSessionCommand as v, AgentSlashCommandCapability as w, AgentUsageQuota as x, AgentUsageSnapshot as y, WriteWorkspaceAgentReadStateInput as z };
723
+ export type { AgentComposerDraft as A, AgentComposerDraftFile as a, AgentGUIComposerSettingsVM as b, AgentGUINodeViewModel as c, AgentGUIProviderSkillOption as d, AgentGUIQueueStatus as e, AgentGUIQueuedPromptVM as f, AgentHostInputApi as g, AgentMessageMarkdownWorkspaceAppIcon as h, AgentProbeSnapshot as i, AgentSessionCommand as j, AgentSlashCommandCapability as k };
package/dist/agents.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as AgentGUIAgent, i as AgentGUIAgentTarget } from './types-BicfRVrV.js';
1
+ import { A as AgentGUIAgent, b as AgentGUIAgentTarget } from './types-BeAVr4of.js';
2
2
 
3
3
  declare function normalizeAgentGUIAgents(agents: readonly AgentGUIAgent[] | null | undefined): AgentGUIAgent[];
4
4
  declare function agentGUIAgentIsReady(agent: AgentGUIAgent): boolean;
package/dist/agents.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  normalizeAgentGUIAgents,
4
4
  projectAgentGUIAgentsToInternalTargets,
5
5
  resolveAgentGUISelectedDirectoryAgent
6
- } from "./chunk-T2NICA5D.js";
6
+ } from "./chunk-VS5BRBY6.js";
7
7
  export {
8
8
  agentGUIAgentIsReady,
9
9
  normalizeAgentGUIAgents,
@@ -9442,6 +9442,7 @@ html[data-theme="light"] [data-message-center-item-id].agent-gui-edge-glow {
9442
9442
  width: 32px;
9443
9443
  height: 32px;
9444
9444
  place-items: center;
9445
+ overflow: visible;
9445
9446
  border: 2px solid transparent;
9446
9447
  border-radius: 8px;
9447
9448
  background: transparent;
@@ -1,10 +1,3 @@
1
1
  <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <g clip-path="url(#clip0_3781_26699)">
3
- <path d="M7.12583 1.58392C9.4722 0.485988 12.1212 0.212404 14.6424 0.807557C17.1635 1.4028 19.4098 2.832 21.0174 4.86322C22.6251 6.8946 23.4998 9.40936 23.4998 11.9999V12.9999C23.4998 14.1934 23.0254 15.3377 22.1815 16.1816C21.3376 17.0255 20.1933 17.4999 18.9998 17.4999C17.8064 17.4999 16.6621 17.0255 15.8182 16.1816C15.7795 16.1429 15.743 16.1023 15.7059 16.0624C14.7282 16.9548 13.4279 17.4999 11.9998 17.4999C8.96235 17.4998 6.49985 15.0374 6.49985 11.9999C6.49988 8.96245 8.96238 6.50002 11.9998 6.49994C12.9893 6.49994 13.9174 6.76231 14.7196 7.21966C14.983 6.78835 15.4575 6.49999 15.9998 6.49994C16.8283 6.49994 17.4998 7.17154 17.4998 7.99994V12.9999C17.4998 13.3977 17.6581 13.7792 17.9393 14.0605C18.2206 14.3418 18.6021 14.4999 18.9998 14.4999C19.3977 14.4999 19.7791 14.3418 20.0604 14.0605C20.3417 13.7792 20.4998 13.3978 20.4998 12.9999V11.9999C20.4998 10.0852 19.8532 8.226 18.6649 6.72455C17.4767 5.22339 15.8163 4.1674 13.953 3.72748C12.0895 3.2876 10.1316 3.48925 8.39731 4.30072C6.66317 5.1122 5.25363 6.48575 4.39731 8.19818C3.54101 9.91079 3.2882 11.8629 3.67954 13.7372C4.07089 15.6115 5.08355 17.2994 6.55356 18.5263C8.02356 19.753 9.86517 20.4472 11.7791 20.497C13.6932 20.5467 15.5677 19.9485 17.0995 18.7997C17.7621 18.3027 18.7029 18.437 19.2 19.0995C19.6971 19.7622 19.5629 20.703 18.9002 21.2001C16.8278 22.7545 14.2907 23.5633 11.701 23.496C9.11146 23.4287 6.62054 22.4888 4.63169 20.829C2.64285 19.1692 1.27252 16.8863 0.743013 14.3505C0.213579 11.8148 0.555339 9.17434 1.71372 6.85736C2.87224 4.54031 4.77948 2.68189 7.12583 1.58392ZM11.9998 9.49994C10.6192 9.50002 9.49988 10.6193 9.49985 11.9999C9.49985 13.3806 10.6192 14.4999 11.9998 14.4999C13.3806 14.4999 14.4998 13.3806 14.4998 11.9999C14.4998 10.6193 13.3805 9.49994 11.9998 9.49994Z" fill="black"/>
4
- </g>
5
- <defs>
6
- <clipPath id="clip0_3781_26699">
7
- <rect width="24" height="24" fill="white"/>
8
- </clipPath>
9
- </defs>
2
+ <path d="M7.33754 2.03697C9.58184 0.986806 12.1154 0.724603 14.527 1.29381C16.9386 1.8631 19.0879 3.23075 20.6257 5.17369C22.1632 7.11667 22.9996 9.52209 22.9997 11.9999V12.9999C22.9997 14.0607 22.5779 15.0778 21.8278 15.828C21.0777 16.5781 20.0605 16.9999 18.9997 16.9999C17.9389 16.9998 16.9216 16.578 16.1715 15.828C16.0122 15.6687 15.8687 15.4966 15.7399 15.3153C14.8239 16.3478 13.4885 16.9999 11.9997 16.9999C9.23839 16.9997 6.99965 14.7612 6.99965 11.9999C6.99973 9.23862 9.23844 7.00005 11.9997 6.99986C13.125 6.99986 14.1641 7.37146 14.9997 7.99888C15.0003 7.44723 15.4479 7.00005 15.9997 6.99986C16.5519 6.99986 16.9996 7.44764 16.9997 7.99986V12.9999C16.9997 13.5302 17.2107 14.0389 17.5856 14.4139C17.9606 14.7889 18.4694 14.9998 18.9997 14.9999C19.5301 14.9999 20.0387 14.7889 20.4137 14.4139C20.7888 14.0389 20.9997 13.5303 20.9997 12.9999V11.9999C20.9996 9.97263 20.3153 8.00459 19.0573 6.4149C17.7991 4.82524 16.0401 3.70686 14.067 3.24107C12.094 2.77546 10.0213 2.98932 8.1852 3.84849C6.34918 4.70773 4.85649 6.1614 3.94984 7.97447C3.04319 9.78779 2.77575 11.8551 3.19008 13.8397C3.6045 15.8241 4.67674 17.6111 6.23305 18.91C7.78948 20.2089 9.73975 20.9442 11.7663 20.9969C13.7928 21.0495 15.7783 20.4163 17.4001 19.2001C17.8418 18.8689 18.4681 18.9587 18.7995 19.4003C19.1307 19.8421 19.0411 20.4683 18.5993 20.7997C16.617 22.2863 14.1905 23.0603 11.7135 22.996C9.23674 22.9314 6.85405 22.0327 4.9518 20.4452C3.04947 18.8574 1.73851 16.6735 1.23206 14.2479C0.72574 11.8225 1.05282 9.29706 2.16078 7.08092C3.26889 4.86469 5.09332 3.08721 7.33754 2.03697ZM11.9997 8.99986C10.343 9.00005 8.99973 10.3432 8.99966 11.9999C8.99966 13.6566 10.343 14.9997 11.9997 14.9999C13.6565 14.9999 14.9997 13.6567 14.9997 11.9999C14.9996 10.3431 13.6565 8.99986 11.9997 8.99986Z" fill="black"/>
10
3
  </svg>