@xenosystem/agent-conversation 0.1.181 → 0.1.183

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 (53) hide show
  1. package/dist/components/agent/AgentView.d.ts.map +1 -1
  2. package/dist/components/agent/AgentView.js +45 -9
  3. package/dist/components/agent/AgentView.js.map +1 -1
  4. package/dist/components/agent/SideChatPanel.d.ts +12 -0
  5. package/dist/components/agent/SideChatPanel.d.ts.map +1 -0
  6. package/dist/components/agent/SideChatPanel.js +37 -0
  7. package/dist/components/agent/SideChatPanel.js.map +1 -0
  8. package/dist/components/agent/composer/Composer.d.ts +1 -1
  9. package/dist/components/agent/composer/Composer.d.ts.map +1 -1
  10. package/dist/components/agent/composer/Composer.js +1 -0
  11. package/dist/components/agent/composer/Composer.js.map +1 -1
  12. package/dist/components/agent/composer/DictationControl.d.ts +6 -0
  13. package/dist/components/agent/composer/DictationControl.d.ts.map +1 -0
  14. package/dist/components/agent/composer/DictationControl.js +157 -0
  15. package/dist/components/agent/composer/DictationControl.js.map +1 -0
  16. package/dist/components/agent/composer/dictationRecorder.d.ts +8 -0
  17. package/dist/components/agent/composer/dictationRecorder.d.ts.map +1 -0
  18. package/dist/components/agent/composer/dictationRecorder.js +72 -0
  19. package/dist/components/agent/composer/dictationRecorder.js.map +1 -0
  20. package/dist/components/agent/transcript/stepModel.d.ts +0 -13
  21. package/dist/components/agent/transcript/stepModel.d.ts.map +1 -1
  22. package/dist/components/agent/transcript/stepModel.js +16 -2
  23. package/dist/components/agent/transcript/stepModel.js.map +1 -1
  24. package/dist/components/agent/workbenchPanelTabs.d.ts +1 -1
  25. package/dist/components/agent/workbenchPanelTabs.d.ts.map +1 -1
  26. package/dist/components/agent/workbenchPanelTabs.js +1 -0
  27. package/dist/components/agent/workbenchPanelTabs.js.map +1 -1
  28. package/dist/index.d.ts +1 -1
  29. package/dist/index.d.ts.map +1 -1
  30. package/dist/index.js +1 -1
  31. package/dist/index.js.map +1 -1
  32. package/dist/platformApiTypes.d.ts +62 -0
  33. package/dist/platformApiTypes.d.ts.map +1 -1
  34. package/dist/platformBridge.d.ts +1 -0
  35. package/dist/platformBridge.d.ts.map +1 -1
  36. package/dist/platformBridge.js.map +1 -1
  37. package/dist/remoteHostName.d.ts +5 -0
  38. package/dist/remoteHostName.d.ts.map +1 -0
  39. package/dist/remoteHostName.js +10 -0
  40. package/dist/remoteHostName.js.map +1 -0
  41. package/dist/stores/agentChatStore.d.ts +9 -0
  42. package/dist/stores/agentChatStore.d.ts.map +1 -1
  43. package/dist/stores/agentChatStore.js +31 -1
  44. package/dist/stores/agentChatStore.js.map +1 -1
  45. package/dist/stores/sideChatStore.d.ts +32 -0
  46. package/dist/stores/sideChatStore.d.ts.map +1 -0
  47. package/dist/stores/sideChatStore.js +64 -0
  48. package/dist/stores/sideChatStore.js.map +1 -0
  49. package/dist/stores/xenoChatStore.d.ts.map +1 -1
  50. package/dist/stores/xenoChatStore.js +7 -9
  51. package/dist/stores/xenoChatStore.js.map +1 -1
  52. package/package.json +7 -6
  53. package/src/composer.css +15 -0
@@ -1 +1 @@
1
- {"version":3,"file":"AgentView.d.ts","sourceRoot":"","sources":["../../../src/components/agent/AgentView.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAA4D,MAAM,OAAO,CAAA;AAMhF,OAAO,EAA4P,KAAK,YAAY,EAA2N,MAAM,gCAAgC,CAAA;AAqDrhB,OAAO,KAAK,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAA;AACvH,OAAO,KAAK,EACV,wBAAwB,EAEzB,MAAM,qCAAqC,CAAA;AAC5C,OAAO,KAAK,EAAE,sBAAsB,EAA2B,MAAM,4BAA4B,CAAA;AA0BjG,OAAO,EAA6C,KAAK,wBAAwB,EAAE,MAAM,+CAA+C,CAAA;AAGxI,OAAO,KAAK,EAAE,iBAAiB,EAAkC,MAAM,sCAAsC,CAAA;AAE7G;;;;;;;GAOG;AAC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,gBAAgB,EAChB,gBAAgB,EAChB,gBAAgB,EAChB,uBAAuB,EACvB,gBAAgB,EAChB,sBAAsB,GACvB,EAAE;IACD,KAAK,EAAE,YAAY,EAAE,CAAA;IACrB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,iBAAiB,CAAC,EAAE,cAAc,CAAC,mBAAmB,CAAC,CAAA;IACvD,gBAAgB,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IACzC,gBAAgB,CAAC,EAAE,CAAC,IAAI,EAAE,sBAAsB,KAAK,IAAI,CAAA;IACzD,gBAAgB,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IACzC,gBAAgB,CAAC,EAAE,CAAC,IAAI,EAAE,sBAAsB,KAAK,IAAI,CAAA;IACzD,uBAAuB,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS,EAAE,QAAQ,EAAE,YAAY,KAAK,IAAI,CAAA;IACzF,gBAAgB,CAAC,EAAE,CAAC,OAAO,EAAE,WAAW,KAAK,IAAI,CAAA;IACjD,sBAAsB,CAAC,EAAE,2BAA2B,CAAA;CACrD,4BAm5BA;AAqHD,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,qBA4iN9C"}
@@ -19,6 +19,9 @@ import { AppWindow, ArrowUp, Square, X, Check, Cloud, Monitor, ChevronDown, Chev
19
19
  import ReactMarkdown, { defaultUrlTransform } from 'react-markdown';
20
20
  import remarkGfm from 'remark-gfm';
21
21
  import CodeBlock from '../ui/CodeBlock.js';
22
+ import { useSideChatStore } from '../../stores/sideChatStore.js';
23
+ import { machineName } from '../../remoteHostName.js';
24
+ import { SideChatPanel } from './SideChatPanel.js';
22
25
  import { useAgentChatStore, setupAgentChatListeners, conversationsForSurfaceDocument, projectConversationRuntimeState, resolveConversationWorkspaceBinding, resetAcpContinuationForWorkspaceChange } from '../../stores/agentChatStore.js';
23
26
  import { useAcpAgentStore } from '../../stores/acpAgentStore.js';
24
27
  import { useTabStore } from '../../stores/tabStore.js';
@@ -42,6 +45,7 @@ import { QuestionPanel } from './composer/QuestionPanel.js';
42
45
  import { PermissionPanel } from './composer/PermissionPanel.js';
43
46
  import { deriveStepRow } from './transcript/stepModel.js';
44
47
  import { QueuePanel } from './composer/QueuePanel.js';
48
+ import { DictationControl } from './composer/DictationControl.js';
45
49
  import { deriveWebJobProgressView, webJobStopAvailability, WEB_JOB_STOP_LABEL, WEB_JOB_STOP_TITLE } from './webJobProgressView.js';
46
50
  import { cloudModelName, cloudModelSortScore } from '../../utils/cloudModels.js';
47
51
  import { isSelectableLiveModel } from '../../utils/modelAvailability.js';
@@ -2614,6 +2618,7 @@ export function AgentView(props) {
2614
2618
  }, [conversationId]);
2615
2619
  const updateConversation = useAgentChatStore(s => s.updateConversation);
2616
2620
  const [input, setInput] = useState('');
2621
+ const sideChatOpen = useSideChatStore((state) => !!conversationId && state.openFor === conversationId);
2617
2622
  const [isSelectingConversationWorkspace, setIsSelectingConversationWorkspace] = useState(false);
2618
2623
  const [pendingAttachments, setPendingAttachments] = useState([]);
2619
2624
  const [editingMsgId, setEditingMsgId] = useState(null);
@@ -3587,6 +3592,7 @@ export function AgentView(props) {
3587
3592
  origin: 'skill',
3588
3593
  }));
3589
3594
  const builtIn = [
3595
+ { name: '/btw', description: 'Ask a side question without adding it to the conversation', origin: 'xeno' },
3590
3596
  { name: '/run', description: 'Run a command in the project terminal', origin: 'xeno' },
3591
3597
  { name: '/xeno-clear-view', description: 'Clear conversation history and reset view', origin: 'xeno' },
3592
3598
  { name: '/clear', description: 'Clear conversation history and reset view', origin: 'xeno' },
@@ -3779,6 +3785,11 @@ export function AgentView(props) {
3779
3785
  const onKeyDown = (event) => {
3780
3786
  if (event.repeat || event.altKey)
3781
3787
  return;
3788
+ if ((event.ctrlKey || event.metaKey) && !event.shiftKey && event.key === ';' && conversationId) {
3789
+ event.preventDefault();
3790
+ useSideChatStore.getState().toggle(conversationId);
3791
+ return;
3792
+ }
3782
3793
  if (!(event.ctrlKey || event.metaKey) || !event.shiftKey)
3783
3794
  return;
3784
3795
  if (event.key.toLowerCase() !== 'd')
@@ -3788,7 +3799,7 @@ export function AgentView(props) {
3788
3799
  };
3789
3800
  window.addEventListener('keydown', onKeyDown);
3790
3801
  return () => window.removeEventListener('keydown', onKeyDown);
3791
- }, [toggleDevSession]);
3802
+ }, [conversationId, toggleDevSession]);
3792
3803
  const sessionPanelTab = sessionUi?.panelTab || 'trace';
3793
3804
  const selectedTraceMessageId = sessionUi?.selectedTraceMessageId;
3794
3805
  const tasksCollapsed = !!sessionUi?.tasksCollapsed;
@@ -4030,10 +4041,11 @@ export function AgentView(props) {
4030
4041
  || normalized.includes('econnreset');
4031
4042
  }, []);
4032
4043
  const refreshLocalRuntimeState = useCallback(async () => {
4033
- if (!getAgentPlatformBridge()?.llm?.localModels)
4044
+ const inference = getAgentPlatformBridge()?.auxiliaryInference ?? getAgentPlatformBridge()?.llm;
4045
+ if (!inference?.localModels)
4034
4046
  return null;
4035
4047
  try {
4036
- const result = await getAgentPlatformBridge().llm.localModels();
4048
+ const result = await inference.localModels();
4037
4049
  setLocalRuntimeState((prev) => {
4038
4050
  if (prev?.available
4039
4051
  && !result.runtime.available
@@ -4268,14 +4280,15 @@ export function AgentView(props) {
4268
4280
  setIsPreparingModel(true);
4269
4281
  setModelWarmupError(null);
4270
4282
  const warm = async () => {
4271
- if (!getAgentPlatformBridge()?.llm?.localWarmup) {
4283
+ const inference = getAgentPlatformBridge()?.auxiliaryInference ?? getAgentPlatformBridge()?.llm;
4284
+ if (!inference?.localWarmup) {
4272
4285
  if (!cancelled) {
4273
4286
  setIsPreparingModel(false);
4274
4287
  setModelWarmupError('Local model warmup bridge unavailable. Restart app.');
4275
4288
  }
4276
4289
  return;
4277
4290
  }
4278
- const res = await getAgentPlatformBridge().llm.localWarmup({ model: actualModelId, timeoutMs: 120000 });
4291
+ const res = await inference.localWarmup({ model: actualModelId, timeoutMs: 120000 });
4279
4292
  if (cancelled)
4280
4293
  return;
4281
4294
  if (res.success) {
@@ -6073,6 +6086,16 @@ export function AgentView(props) {
6073
6086
  const handleSend = async () => {
6074
6087
  clearAllSuggestions();
6075
6088
  const trimmed = input.trim();
6089
+ // Ahead of every lock: a side question is for the moment the agent is busy.
6090
+ if (conversationId && /^\/btw(\s|$)/.test(trimmed)) {
6091
+ const sideChat = useSideChatStore.getState();
6092
+ sideChat.open(conversationId);
6093
+ const question = trimmed.slice(4).trim();
6094
+ if (question)
6095
+ void sideChat.ask({ conversationId, question, model: actualModelId, messages: runtimeProjectedMessages });
6096
+ setInput('');
6097
+ return;
6098
+ }
6076
6099
  const attachmentsToSend = [...pendingAttachments];
6077
6100
  const hasAttachments = attachmentsToSend.length > 0;
6078
6101
  if ((!trimmed && !hasAttachments) || inputLocked)
@@ -6349,6 +6372,19 @@ export function AgentView(props) {
6349
6372
  el.style.height = '160px';
6350
6373
  }
6351
6374
  };
6375
+ /** Dictated words go where the caret is, with a space only where the text needs one. */
6376
+ const insertDictation = useCallback((text) => {
6377
+ const field = textareaRef.current;
6378
+ setInput((current) => {
6379
+ const at = field ? field.selectionStart : current.length;
6380
+ const before = current.slice(0, at);
6381
+ const after = current.slice(field ? field.selectionEnd : current.length);
6382
+ const lead = before && !/\s$/.test(before) ? ' ' : '';
6383
+ const trail = after && !/^\s/.test(after) ? ' ' : '';
6384
+ return `${before}${lead}${text}${trail}${after}`;
6385
+ });
6386
+ field?.focus();
6387
+ }, []);
6352
6388
  const handleInputChange = (e) => {
6353
6389
  setInput(e.target.value);
6354
6390
  if (e.target.value)
@@ -7695,7 +7731,7 @@ export function AgentView(props) {
7695
7731
  // dock's measured height; in a column nothing needs measuring for the thread to end above the box.
7696
7732
  // (No `xeno-app-shell`: that is the product chrome's surface, declared later at equal specificity, and it
7697
7733
  // painted the panel's root in the chrome's ink and background instead of the panel's own.)
7698
- _jsxs("div", { className: "xa-app", children: [sdkConfirmation.confirmation, _jsx("div", { ref: messagesScrollRef, className: `xa-transcript${stepsMode === 'collapsed' ? ' xa-collapsed' : ''}`, "data-transcript": true, style: messageViewportBottomPadding ? { paddingBottom: messageViewportBottomPadding } : undefined, children: conversationHydrating ? (_jsx(ConversationLoadingSkeleton, {})) : (_jsxs("div", { ref: threadRef, className: "xa-thread", "data-stage": true, children: [conversation?.sessionUi?.parentConversationId && props.onNavigateConversation && (_jsx("div", { className: "sticky top-2 z-[21] -mx-1 px-1 pb-2", children: _jsxs("button", { type: "button", onClick: () => props.onNavigateConversation?.(conversation.sessionUi?.parentConversationId || ''), className: "xeno-border-subtle w-full rounded-[6px] border bg-[#111111] px-3 py-2 text-left text-[11px] text-white/48 hover:bg-white/[0.045] hover:text-white/72 transition-colors inline-flex items-center gap-2", children: [_jsx(ChevronLeft, { className: "h-3.5 w-3.5" }), _jsx("span", { children: "Back to parent agent" }), _jsx("span", { className: "ml-auto text-[10px] text-white/22 truncate", children: agentName })] }) })), conversation && devSessionOpen && (_jsx("div", { className: "sticky top-2 z-[20] -mx-1 px-1 pb-2", children: _jsxs("div", { className: "xeno-border-subtle rounded-[6px] border bg-[#111111] px-3 py-2 flex items-center justify-between gap-3", children: [_jsxs("div", { className: "flex items-center gap-3 min-w-0 flex-wrap", children: [_jsx("span", { className: "text-[10px] uppercase tracking-[0.14em] text-white/28", children: "Dev session" }), _jsx("span", { className: `text-[10px] uppercase tracking-[0.14em] ${sessionStatusClassName}`, children: sessionStatusLabel }), _jsxs("span", { className: "text-[10px] text-white/24 tabular-nums", children: [pendingTurns.length, " queued"] }), _jsxs("span", { className: "text-[10px] text-white/24 tabular-nums", children: [checkpoints.length, " checkpoints"] }), _jsxs("span", { className: "text-[10px] text-white/18", children: ["Last active ", new Date(conversation.lastMessageAt).toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' })] })] }), _jsxs("div", { className: "flex items-center gap-1.5 flex-shrink-0", children: [_jsxs("button", { type: "button", onClick: () => { void handleCopyDebugSnapshot('standard'); }, disabled: !conversationId || conversationHydrating, className: "h-7 px-2.5 rounded-[4px] bg-white/[0.05] hover:bg-white/[0.08] text-[10px] text-white/55 hover:text-white/78 transition-colors disabled:opacity-35 inline-flex items-center gap-1.5", title: "Copy a redacted support report", children: [_jsx(Copy, { className: "w-3 h-3" }), "Copy report"] }), _jsx("button", { type: "button", onClick: () => { void handleCopyDebugSnapshot('full'); }, disabled: !conversationId || conversationHydrating, className: "h-7 px-2.5 rounded-[4px] bg-white/[0.05] hover:bg-white/[0.08] text-[10px] text-white/45 hover:text-white/72 transition-colors disabled:opacity-35", title: "Copy the full redacted support report", children: "Full report" }), _jsx("button", { type: "button", onClick: toggleDevSession, className: "h-7 px-2.5 rounded-[4px] bg-white/[0.05] hover:bg-white/[0.08] text-[10px] text-white/35 hover:text-white/70 transition-colors", title: "Hide developer session (Ctrl+Shift+D)", children: "Hide" })] })] }) })), runtimeProjectedMessages.length === 0 && (_jsx("div", { className: "flex-1 flex items-center justify-center pt-[20vh]", children: _jsxs("p", { className: "text-[13px] text-white/20", children: ["Message ", agentName, " to get started"] }) })), runtimeProjectedMessages.map((msg, msgIdx) => {
7734
+ _jsxs("div", { className: "xa-app", style: sideChatOpen ? { paddingRight: 356 } : undefined, children: [sdkConfirmation.confirmation, _jsx("div", { ref: messagesScrollRef, className: `xa-transcript${stepsMode === 'collapsed' ? ' xa-collapsed' : ''}`, "data-transcript": true, style: messageViewportBottomPadding ? { paddingBottom: messageViewportBottomPadding } : undefined, children: conversationHydrating ? (_jsx(ConversationLoadingSkeleton, {})) : (_jsxs("div", { ref: threadRef, className: "xa-thread", "data-stage": true, children: [conversation?.sessionUi?.parentConversationId && props.onNavigateConversation && (_jsx("div", { className: "sticky top-2 z-[21] -mx-1 px-1 pb-2", children: _jsxs("button", { type: "button", onClick: () => props.onNavigateConversation?.(conversation.sessionUi?.parentConversationId || ''), className: "xeno-border-subtle w-full rounded-[6px] border bg-[#111111] px-3 py-2 text-left text-[11px] text-white/48 hover:bg-white/[0.045] hover:text-white/72 transition-colors inline-flex items-center gap-2", children: [_jsx(ChevronLeft, { className: "h-3.5 w-3.5" }), _jsx("span", { children: "Back to parent agent" }), _jsx("span", { className: "ml-auto text-[10px] text-white/22 truncate", children: agentName })] }) })), conversation && devSessionOpen && (_jsx("div", { className: "sticky top-2 z-[20] -mx-1 px-1 pb-2", children: _jsxs("div", { className: "xeno-border-subtle rounded-[6px] border bg-[#111111] px-3 py-2 flex items-center justify-between gap-3", children: [_jsxs("div", { className: "flex items-center gap-3 min-w-0 flex-wrap", children: [_jsx("span", { className: "text-[10px] uppercase tracking-[0.14em] text-white/28", children: "Dev session" }), _jsx("span", { className: `text-[10px] uppercase tracking-[0.14em] ${sessionStatusClassName}`, children: sessionStatusLabel }), _jsxs("span", { className: "text-[10px] text-white/24 tabular-nums", children: [pendingTurns.length, " queued"] }), _jsxs("span", { className: "text-[10px] text-white/24 tabular-nums", children: [checkpoints.length, " checkpoints"] }), _jsxs("span", { className: "text-[10px] text-white/18", children: ["Last active ", new Date(conversation.lastMessageAt).toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' })] })] }), _jsxs("div", { className: "flex items-center gap-1.5 flex-shrink-0", children: [_jsxs("button", { type: "button", onClick: () => { void handleCopyDebugSnapshot('standard'); }, disabled: !conversationId || conversationHydrating, className: "h-7 px-2.5 rounded-[4px] bg-white/[0.05] hover:bg-white/[0.08] text-[10px] text-white/55 hover:text-white/78 transition-colors disabled:opacity-35 inline-flex items-center gap-1.5", title: "Copy a redacted support report", children: [_jsx(Copy, { className: "w-3 h-3" }), "Copy report"] }), _jsx("button", { type: "button", onClick: () => { void handleCopyDebugSnapshot('full'); }, disabled: !conversationId || conversationHydrating, className: "h-7 px-2.5 rounded-[4px] bg-white/[0.05] hover:bg-white/[0.08] text-[10px] text-white/45 hover:text-white/72 transition-colors disabled:opacity-35", title: "Copy the full redacted support report", children: "Full report" }), _jsx("button", { type: "button", onClick: toggleDevSession, className: "h-7 px-2.5 rounded-[4px] bg-white/[0.05] hover:bg-white/[0.08] text-[10px] text-white/35 hover:text-white/70 transition-colors", title: "Hide developer session (Ctrl+Shift+D)", children: "Hide" })] })] }) })), runtimeProjectedMessages.length === 0 && (_jsx("div", { className: "flex-1 flex items-center justify-center pt-[20vh]", children: _jsxs("p", { className: "text-[13px] text-white/20", children: ["Message ", agentName, " to get started"] }) })), runtimeProjectedMessages.map((msg, msgIdx) => {
7699
7735
  const previousMsg = runtimeProjectedMessages[msgIdx - 1];
7700
7736
  // a day boundary in the thread: before the first message, and wherever the day changes
7701
7737
  const dayLabel = relativeDay(msg.timestamp);
@@ -7889,7 +7925,7 @@ export function AgentView(props) {
7889
7925
  : 'The agent works on this computer. Click to move it into a sandbox on XENO’s servers.', onClick: () => { if (isAuthenticatedForCloud)
7890
7926
  setCloudRunEnabled(!cloudRunEnabled); }, disabled: controlsLocked, children: cloudRunEnabled && isAuthenticatedForCloud
7891
7927
  ? (activeCloudRunStatus ? `Hosted sandbox · ${activeCloudRunStatus.status || 'queued'}` : 'Hosted sandbox')
7892
- : 'This machine' }), gitStrip?.branch && (_jsxs(_Fragment, { children: [_jsx(CtxVr, { branch: true }), _jsx(CtxSeg, { glyph: "git-branch", dim: true, branch: true, title: gitStrip.upstream ? `${gitStrip.branch} · tracks ${gitStrip.upstream}` : gitStrip.branch, children: gitStrip.branch })] })), activeMcpList.length > 0 && (_jsxs(_Fragment, { children: [_jsx(CtxVr, {}), activeMcpList.map((mcp) => (_jsx(CtxSeg, { dim: true, title: `${mcp.server}: ${mcp.status}${mcp.error ? ` (${mcp.error})` : ''}`, onClick: () => { void handleExecuteCommandOrPrompt(`/mcp ${mcp.server}`); }, children: mcp.status === 'connected' ? mcp.server : `${mcp.server} · ${mcp.status === 'auth_required' ? 'sign in' : 'down'}` }, mcp.server)))] })), _jsx(CtxGrow, {}), gitStrip && (gitStrip.added > 0 || gitStrip.removed > 0) && _jsx(CtxDiff, { added: gitStrip.added, removed: gitStrip.removed, ...(props.onOpenChanges ? { onClick: props.onOpenChanges } : {}) }), _jsx(CtxSplit, { label: pullRequest ? pullRequestLabel(pullRequest) : 'Create PR', title: pullRequest ? `${pullRequest.title}. Click to open it on GitHub.` : 'Ask the agent to open a pull request for this branch', disabled: !pullRequest && (controlsLocked || inputLocked), onClick: () => {
7928
+ : machineName() }), gitStrip?.branch && (_jsxs(_Fragment, { children: [_jsx(CtxVr, { branch: true }), _jsx(CtxSeg, { glyph: "git-branch", dim: true, branch: true, title: gitStrip.upstream ? `${gitStrip.branch} · tracks ${gitStrip.upstream}` : gitStrip.branch, children: gitStrip.branch })] })), activeMcpList.length > 0 && (_jsxs(_Fragment, { children: [_jsx(CtxVr, {}), activeMcpList.map((mcp) => (_jsx(CtxSeg, { dim: true, title: `${mcp.server}: ${mcp.status}${mcp.error ? ` (${mcp.error})` : ''}`, onClick: () => { void handleExecuteCommandOrPrompt(`/mcp ${mcp.server}`); }, children: mcp.status === 'connected' ? mcp.server : `${mcp.server} · ${mcp.status === 'auth_required' ? 'sign in' : 'down'}` }, mcp.server)))] })), _jsx(CtxGrow, {}), gitStrip && (gitStrip.added > 0 || gitStrip.removed > 0) && _jsx(CtxDiff, { added: gitStrip.added, removed: gitStrip.removed, ...(props.onOpenChanges ? { onClick: props.onOpenChanges } : {}) }), _jsx(CtxSplit, { label: pullRequest ? pullRequestLabel(pullRequest) : 'Create PR', title: pullRequest ? `${pullRequest.title}. Click to open it on GitHub.` : 'Ask the agent to open a pull request for this branch', disabled: !pullRequest && (controlsLocked || inputLocked), onClick: () => {
7893
7929
  if (pullRequest)
7894
7930
  void getAgentPlatformBridge()?.window?.openExternal?.(pullRequest.url);
7895
7931
  else
@@ -7928,7 +7964,7 @@ export function AgentView(props) {
7928
7964
  ? `Message ${agentName.replace(/\s*powered by .+$/i, '')} — / for commands, @ for files, # for work items`
7929
7965
  : (localRuntimeNeedsStart
7930
7966
  ? 'Start xeno-rt to use this local model'
7931
- : (isPreparingModel ? `Loading local model ${localModelName}…` : 'Local model is not ready yet'))), effectiveGhostText: effectiveGhostText, onAcceptGhost: handleAcceptGhost, chrome: "panel", onCaret: syncTyped }) })] }), _jsxs("div", { className: `xa-controls${agentWorking ? ' xa-running' : composerSettled ? '' : ' xa-idle'}`, children: [_jsx("button", { type: "button", className: "xa-ic", "data-tip": "Attach images from this machine", "data-key": "\u2318U", "aria-label": "Attach", disabled: inputLocked, onClick: () => fileInputRef.current?.click(), children: _jsx(DockIcon, { name: "plus" }) }), _jsx(PermChip
7967
+ : (isPreparingModel ? `Loading local model ${localModelName}…` : 'Local model is not ready yet'))), effectiveGhostText: effectiveGhostText, onAcceptGhost: handleAcceptGhost, chrome: "panel", onCaret: syncTyped }) })] }), _jsxs("div", { className: `xa-controls${agentWorking ? ' xa-running' : composerSettled ? '' : ' xa-idle'}`, children: [_jsx("button", { type: "button", className: "xa-ic", "data-tip": "Attach images from this machine", "data-key": "\u2318U", "aria-label": "Attach", disabled: inputLocked, onClick: () => fileInputRef.current?.click(), children: _jsx(DockIcon, { name: "plus" }) }), _jsx(DictationControl, { disabled: inputLocked, onText: insertDictation }), _jsx(PermChip
7932
7968
  // who approves what the agent does — asked wherever it can DO something: in a project, or on this machine
7933
7969
  , {
7934
7970
  // who approves what the agent does — asked wherever it can DO something: in a project, or on this machine
@@ -8027,7 +8063,7 @@ export function AgentView(props) {
8027
8063
  else {
8028
8064
  abort(conversationId || undefined);
8029
8065
  clearAllSuggestions();
8030
- } } })] })] }), _jsx(Tip, { dockRef: dockRef, suspended: !!typedToken || moreOpen || modelListOpen || effortListOpen || acpCliListOpen || acpModelListOpen }), _jsx(TypedMenu, { open: !!typedToken, token: typedToken, sections: typedSections, onTake: takeTyped, onClose: () => setTypedToken(null), boxRef: boxRef, dock: dockEl })] })] }), _jsx(ThreadScrubber, { turns: scrubberTurns, scrollerRef: messagesScrollRef, style: { top: `calc(50% - ${Math.round(toBottom.bottom / 2)}px)` } }), _jsx("button", { type: "button", className: `xa-tobottom${toBottom.show ? ' xa-show' : ''}`, "data-tobottom": true, "aria-label": "Jump to the latest", tabIndex: toBottom.show ? 0 : -1, style: { bottom: toBottom.bottom }, onClick: jumpToLatest, children: _jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "square", "aria-hidden": "true", children: _jsx("path", { d: "M6 9l6 6 6-6" }) }) })] }));
8066
+ } } })] })] }), _jsx(Tip, { dockRef: dockRef, suspended: !!typedToken || moreOpen || modelListOpen || effortListOpen || acpCliListOpen || acpModelListOpen }), _jsx(TypedMenu, { open: !!typedToken, token: typedToken, sections: typedSections, onTake: takeTyped, onClose: () => setTypedToken(null), boxRef: boxRef, dock: dockEl })] })] }), _jsx(ThreadScrubber, { turns: scrubberTurns, scrollerRef: messagesScrollRef, style: { top: `calc(50% - ${Math.round(toBottom.bottom / 2)}px)` } }), _jsx("button", { type: "button", className: `xa-tobottom${toBottom.show ? ' xa-show' : ''}`, "data-tobottom": true, "aria-label": "Jump to the latest", tabIndex: toBottom.show ? 0 : -1, style: { bottom: toBottom.bottom }, onClick: jumpToLatest, children: _jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.4", strokeLinecap: "square", "aria-hidden": "true", children: _jsx("path", { d: "M6 9l6 6 6-6" }) }) }), conversationId && sideChatOpen && _jsx(SideChatPanel, { conversationId: conversationId, model: actualModelId, messages: runtimeProjectedMessages })] }));
8031
8067
  }
8032
8068
  const ACP_MODEL_ID = /^[A-Za-z0-9._:/+-]{1,120}$/;
8033
8069
  /** `@` names a conversation the way the prototype does — its title, slugged. */