@tutti-os/agent-gui 0.0.90 → 0.0.91

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/README.md CHANGED
@@ -131,6 +131,13 @@ directly. With multiple agents, it shows `All` plus the host-ordered agent rail
131
131
  and empty-home carousel. Hosts may customize the aggregate icon with
132
132
  `allAgentsPresentation.iconUrl`.
133
133
 
134
+ Inside AgentGUI, normalized directory entries use the canonical
135
+ `AgentGUIAgentTarget` / `agentTargets` vocabulary. `provider` is execution
136
+ metadata, not target identity. Rail tiles, the single-agent empty state, and
137
+ the WebGL empty-home carousel all project the same agent-target avatar
138
+ presentation, including the owner badge; renderer-specific DOM and WebGL code
139
+ must not rebuild partial icon-only models.
140
+
134
141
  Use `agentsLoading` for directory hydration and `renderAgentsEmpty` for a
135
142
  host-specific loaded-empty state. Use `renderAgentUnavailableState` or
136
143
  `renderAgentReadinessState` for host-specific availability presentation, and
@@ -4,11 +4,11 @@ import { W as WorkspaceLinkAction } from '../workspaceLinkActions-DS9LWqzI.js';
4
4
  import { A as AgentMessageMarkdownWorkspaceAppIcon } from '../AgentMessageMarkdown-DeYPURtF.js';
5
5
  import { c as AgentConversationVM, W as WorkspaceAgentSessionDetailViewModel } from '../agentConversationVM-CfXN_TQ2.js';
6
6
  export { B as BuildWorkspaceAgentSessionDetailInput, d as buildWorkspaceAgentSessionDetailViewModel } from '../agentConversationVM-CfXN_TQ2.js';
7
- import { e as AgentGUIProviderSkillOption } from '../agentGuiNodeTypes-D4mk1Nr3.js';
7
+ import { e as AgentGUIProviderSkillOption } from '../agentGuiNodeTypes-rGaDqxVR.js';
8
8
  export { W as WorkspaceAgentActivityCard, n as WorkspaceAgentActivitySession, q as WorkspaceAgentActivityTimelineItem } from '../workspaceAgentActivityListViewModel-TXH1VXrk.js';
9
9
  import '@tutti-os/workspace-issue-manager/core';
10
10
  import '@tutti-os/agent-activity-core';
11
- import '../types-BvztUbHf.js';
11
+ import '../types-PLFZ8SBX.js';
12
12
  import '@tutti-os/workspace-user-project/contracts';
13
13
 
14
14
  interface AgentConversationFlowProps {
@@ -6,7 +6,7 @@ import {
6
6
  projectAgentConversationVM,
7
7
  reconcileProjectedAgentConversationVM,
8
8
  useProjectedAgentConversation
9
- } from "../chunk-KTXWPKGP.js";
9
+ } from "../chunk-7QHBFRG5.js";
10
10
  import "../chunk-XQUUELKF.js";
11
11
  import "../chunk-PSLAWU25.js";
12
12
  import "../chunk-KQE5KV2V.js";
@@ -1,5 +1,5 @@
1
1
  import { AgentActivityUsage } from '@tutti-os/agent-activity-core';
2
- import { k as AgentHostAgentSessionCommand, l as AgentHostAgentSessionComposerSettings, n as AgentHostAgentSessionReasoningEffort, o as AgentHostAgentSessionSpeed, m as AgentHostAgentSessionPermissionConfig, p as AgentHostAgentSessionState, g as AgentGUIProvider, s as AgentPromptContentBlock, f as AgentGUINodeData, i as AgentGUIProviderTarget, h as AgentGUIProviderReadinessGate } from './types-BvztUbHf.js';
2
+ import { k as AgentHostAgentSessionCommand, l as AgentHostAgentSessionComposerSettings, n as AgentHostAgentSessionReasoningEffort, o as AgentHostAgentSessionSpeed, m as AgentHostAgentSessionPermissionConfig, p as AgentHostAgentSessionState, h as AgentGUIProvider, s as AgentPromptContentBlock, g as AgentGUINodeData, e as AgentGUIAgentTarget, i as AgentGUIProviderReadinessGate } from './types-PLFZ8SBX.js';
3
3
  import { A as AgentHostBatchUserInfoInput, a as AgentHostBatchUserInfoResult, b as AgentHostDeleteWorkspaceAgentSessionInput, k as AgentHostWorkspaceAgentSessionSummaryInput, j as AgentHostWorkspaceAgentSessionSummary, e as AgentHostWorkspaceAgentListInput, l as AgentHostWorkspaceAgentSnapshot, i as AgentHostWorkspaceAgentSessionMessagesInput, h as AgentHostWorkspaceAgentSessionMessages, p as WorkspaceAgentActivitySyncState } from './workspaceAgentActivityListViewModel-TXH1VXrk.js';
4
4
  import { A as AgentApprovalItemVM, a as AgentAskUserQuestionVM, b as AgentConversationPromptVM, c as AgentConversationVM, W as WorkspaceAgentSessionDetailViewModel } from './agentConversationVM-CfXN_TQ2.js';
5
5
  import { WorkspaceUserProjectService } from '@tutti-os/workspace-user-project/contracts';
@@ -604,10 +604,10 @@ interface AgentGUINodeViewModel {
604
604
  workspacePath?: string | null;
605
605
  currentUserId?: string | null;
606
606
  data: AgentGUINodeData;
607
- selectedProviderTarget: AgentGUIProviderTarget;
608
- providerTargets: readonly AgentGUIProviderTarget[];
609
- handoffProviderTargets: readonly AgentGUIProviderTarget[];
610
- providerTargetsLoading: boolean;
607
+ selectedAgentTarget: AgentGUIAgentTarget;
608
+ agentTargets: readonly AgentGUIAgentTarget[];
609
+ handoffAgentTargets: readonly AgentGUIAgentTarget[];
610
+ agentTargetsLoading: boolean;
611
611
  conversationFilter: AgentGUIConversationFilter;
612
612
  conversations: AgentGUIConversationSummary[];
613
613
  userProjects: AgentGUIConversationUserProject[];
@@ -8852,6 +8852,9 @@ html[data-theme="light"] [data-message-center-item-id].agent-gui-edge-glow {
8852
8852
  }
8853
8853
 
8854
8854
  .agent-gui-node__provider-rail-avatar {
8855
+ --agent-gui-avatar-badge-offset: -4px;
8856
+ --agent-gui-avatar-badge-size: 16px;
8857
+
8855
8858
  position: relative;
8856
8859
  box-sizing: border-box;
8857
8860
  display: grid;
@@ -8905,23 +8908,34 @@ html[data-theme="light"] [data-message-center-item-id].agent-gui-edge-glow {
8905
8908
  object-fit: contain;
8906
8909
  }
8907
8910
 
8908
- .agent-gui-node__provider-rail-badge {
8911
+ .agent-gui-node__agent-avatar {
8912
+ position: relative;
8913
+ }
8914
+
8915
+ .agent-gui-node__agent-avatar-image {
8916
+ display: block;
8917
+ width: 100%;
8918
+ height: 100%;
8919
+ object-fit: contain;
8920
+ }
8921
+
8922
+ .agent-gui-node__agent-avatar-badge {
8909
8923
  position: absolute;
8910
- right: -4px;
8911
- bottom: -4px;
8924
+ right: var(--agent-gui-avatar-badge-offset, -4px);
8925
+ bottom: var(--agent-gui-avatar-badge-offset, -4px);
8912
8926
  box-sizing: border-box;
8913
8927
  display: grid;
8914
- width: 16px;
8915
- height: 16px;
8928
+ width: var(--agent-gui-avatar-badge-size, 16px);
8929
+ height: var(--agent-gui-avatar-badge-size, 16px);
8916
8930
  place-items: center;
8917
8931
  overflow: hidden;
8918
- border: 1px solid #fff;
8932
+ border: 1px solid var(--background-fronted);
8919
8933
  border-radius: 999px;
8920
- background: #fff;
8934
+ background: var(--background-fronted);
8921
8935
  pointer-events: none;
8922
8936
  }
8923
8937
 
8924
- .agent-gui-node__provider-rail-badge-image {
8938
+ .agent-gui-node__agent-avatar-badge-image {
8925
8939
  width: 100%;
8926
8940
  height: 100%;
8927
8941
  object-fit: cover;
@@ -8984,6 +8998,9 @@ html[data-theme="light"] [data-message-center-item-id].agent-gui-edge-glow {
8984
8998
  }
8985
8999
 
8986
9000
  .agent-gui-node__empty-hero-icon-effect {
9001
+ --agent-gui-avatar-badge-offset: -5px;
9002
+ --agent-gui-avatar-badge-size: 18px;
9003
+
8987
9004
  display: block;
8988
9005
  width: 48px;
8989
9006
  height: 48px;
@@ -15505,4 +15505,4 @@ export {
15505
15505
  AgentConversationFlow,
15506
15506
  useProjectedAgentConversation
15507
15507
  };
15508
- //# sourceMappingURL=chunk-KTXWPKGP.js.map
15508
+ //# sourceMappingURL=chunk-7QHBFRG5.js.map