@xenosystem/agent-conversation 0.1.196 → 0.1.198

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 (34) hide show
  1. package/dist/components/agent/AgentView.d.ts.map +1 -1
  2. package/dist/components/agent/AgentView.js +10 -5
  3. package/dist/components/agent/AgentView.js.map +1 -1
  4. package/dist/components/agent/composer/Composer.d.ts +32 -0
  5. package/dist/components/agent/composer/Composer.d.ts.map +1 -1
  6. package/dist/components/agent/composer/Composer.js +177 -0
  7. package/dist/components/agent/composer/Composer.js.map +1 -1
  8. package/dist/components/agent/transcript/Transcript.d.ts +2 -0
  9. package/dist/components/agent/transcript/Transcript.d.ts.map +1 -1
  10. package/dist/components/agent/transcript/Transcript.js +10 -1
  11. package/dist/components/agent/transcript/Transcript.js.map +1 -1
  12. package/dist/components/agent/transcript/revealTail.d.ts +31 -0
  13. package/dist/components/agent/transcript/revealTail.d.ts.map +1 -0
  14. package/dist/components/agent/transcript/revealTail.js +45 -0
  15. package/dist/components/agent/transcript/revealTail.js.map +1 -0
  16. package/dist/components/agent/transcript/smoothStream.d.ts +21 -0
  17. package/dist/components/agent/transcript/smoothStream.d.ts.map +1 -0
  18. package/dist/components/agent/transcript/smoothStream.js +94 -0
  19. package/dist/components/agent/transcript/smoothStream.js.map +1 -0
  20. package/dist/composerPlace.d.ts +65 -0
  21. package/dist/composerPlace.d.ts.map +1 -0
  22. package/dist/composerPlace.js +42 -0
  23. package/dist/composerPlace.js.map +1 -0
  24. package/dist/composerRepo.d.ts +56 -0
  25. package/dist/composerRepo.d.ts.map +1 -0
  26. package/dist/composerRepo.js +64 -0
  27. package/dist/composerRepo.js.map +1 -0
  28. package/dist/remoteHostName.d.ts +14 -1
  29. package/dist/remoteHostName.d.ts.map +1 -1
  30. package/dist/remoteHostName.js +34 -2
  31. package/dist/remoteHostName.js.map +1 -1
  32. package/package.json +7 -6
  33. package/src/composer.css +67 -1
  34. package/src/transcript.css +4 -0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jD,sBAAsB,CAAC,EAAE,2BAA2B,CAAA;CACrD,4BAm5BA;AAqHD,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,qBAglN9C"}
@@ -38,8 +38,11 @@ import { commandPreviewText, compactCommandPreview, deriveToolInteractionState,
38
38
  import { deriveToolCallFilePath, humanizeToolName, isToolDisplayNoise, deriveToolCardDisplay, summarizeCommand, parseStructuredCommandContent, formatToolDuration, countTextLines, deriveEditorDiffStats, deriveToolDiffStats, deriveToolCallFileName, deriveFileToolPrimaryText, deriveFileToolActionLabel, buildInlineDiffPreviewLines, mapWorkspaceChoice, deriveTerminalToolOutput, readToolStringParam, isPseudoPermissionDirectory, deriveShellCommandNames, deriveApprovalCardInfo, toolCallLabel, buildSurfaceApprovalRule, canBuildSurfaceApprovalRule, } from './toolCallDerive.js';
39
39
  import { AgentsTray, BackgroundTray, Glyph, TasksTray, TranscriptTurn } from './transcript/Transcript.js';
40
40
  import { CitationChip, parseCitationHref, remarkCitations } from './transcript/citations.js';
41
+ import { rehypeRevealTail } from './transcript/revealTail.js';
42
+ import { requestPlaceMenu, useComposerPlace } from '../../composerPlace.js';
43
+ import { useComposerRepo } from '../../composerRepo.js';
41
44
  import { ThreadScrubber, firstLineOf } from './transcript/ThreadScrubber.js';
42
- import { CtxAction, CtxDiff, CtxGrow, CtxMeter, CtxSeg, CtxSplit, CtxStrip, CtxVr, EffortCells, LaneGroup, ModeSegment, PermChip, ComposerDock, DockIcon, Notice, SendSquare, Tiles, Tip, TurnStatus, TypedMenu, XaMenu, XaMenuSearch, XaRow, postureOf, tokenAt, } from './composer/Composer.js';
45
+ import { CtxAction, CtxDiff, CtxGrow, CtxMeter, CtxSeg, CtxSplit, CtxStrip, CtxVr, EffortCells, LaneGroup, ModeSegment, PermChip, PlaceCard, PlaceChip, RepoChip, ComposerDock, DockIcon, Notice, SendSquare, Tiles, Tip, TurnStatus, TypedMenu, XaMenu, XaMenuSearch, XaRow, postureOf, tokenAt, } from './composer/Composer.js';
43
46
  import { useAskActions } from './transcript/useAskActions.js';
44
47
  import { QuestionPanel } from './composer/QuestionPanel.js';
45
48
  import { PermissionPanel } from './composer/PermissionPanel.js';
@@ -6621,6 +6624,8 @@ export function AgentView(props) {
6621
6624
  const permPosture = postureOf(effectivePermissionProfile);
6622
6625
  const [permOpen, setPermOpen] = useState(false);
6623
6626
  const [laneOpen, setLaneOpen] = useState(false);
6627
+ const composerPlace = useComposerPlace();
6628
+ const composerRepo = useComposerRepo();
6624
6629
  const [moreOpen, setMoreOpen] = useState(false);
6625
6630
  const [branchMoreOpen, setBranchMoreOpen] = useState(false);
6626
6631
  const [documentHistoryOpen, setDocumentHistoryOpen] = useState(false);
@@ -6886,7 +6891,7 @@ export function AgentView(props) {
6886
6891
  const only = nodes.length === 1 ? nodes[0] : null;
6887
6892
  return React.isValidElement(only) && only.type === 'p' ? only.props.children : children;
6888
6893
  };
6889
- const renderAssistantMarkdown = (text, messageFileRefs, sources = []) => (_jsx(_Fragment, { children: _jsx(ReactMarkdown, { remarkPlugins: [remarkGfm, remarkCitations], urlTransform: agentMarkdownUrlTransform, components: {
6894
+ const renderAssistantMarkdown = (text, messageFileRefs, sources = [], fresh = 0) => (_jsx(_Fragment, { children: _jsx(ReactMarkdown, { remarkPlugins: [remarkGfm, remarkCitations], ...(fresh > 0 ? { rehypePlugins: [[rehypeRevealTail, { fresh }]] } : {}), urlTransform: agentMarkdownUrlTransform, components: {
6890
6895
  pre: ({ children }) => _jsx(_Fragment, { children: children }),
6891
6896
  // a quote of one paragraph is one line of quoted words; the extra `<p>` markdown puts
6892
6897
  // inside it is grammar, not structure, and it takes the paragraph's spacing with it
@@ -7763,7 +7768,7 @@ export function AgentView(props) {
7763
7768
  // dock's measured height; in a column nothing needs measuring for the thread to end above the box.
7764
7769
  // (No `xeno-app-shell`: that is the product chrome's surface, declared later at equal specificity, and it
7765
7770
  // painted the panel's root in the chrome's ink and background instead of the panel's own.)
7766
- _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-xs-page 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-xs-page 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) => {
7771
+ _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: [composerPlace && (conversation?.messages.length ?? 0) === 0 && (_jsx("div", { className: "xa-placecard-wrap", children: _jsx(PlaceCard, { picker: composerPlace, onChoose: requestPlaceMenu }) })), 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-xs-page 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-xs-page 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) => {
7767
7772
  const previousMsg = runtimeProjectedMessages[msgIdx - 1];
7768
7773
  // a day boundary in the thread: before the first message, and wherever the day changes
7769
7774
  const dayLabel = relativeDay(msg.timestamp);
@@ -7844,7 +7849,7 @@ export function AgentView(props) {
7844
7849
  if (!branchInfo)
7845
7850
  return null;
7846
7851
  return (_jsxs(_Fragment, { children: [_jsx("span", { className: "xa-vr" }), _jsx("button", { type: "button", className: "xa-b", "aria-label": "Previous branch", onClick: () => switchBranch(conversationId, msg.id, 'prev'), disabled: isBusy, children: _jsx("span", { style: { display: 'inline-flex', transform: 'scaleX(-1)' }, children: _jsx(Glyph, { name: "chevron-right", size: 11 }) }) }), _jsx("span", { className: "xa-t xa-num", children: `${branchInfo.current}/${branchInfo.total}` }), _jsx("button", { type: "button", className: "xa-b", "aria-label": "Next branch", onClick: () => switchBranch(conversationId, msg.id, 'next'), disabled: isBusy, children: _jsx(Glyph, { name: "chevron-right", size: 11 }) })] }));
7847
- })()] })] })) : (_jsx(TranscriptTurn, { msg: msg, stepsMode: stepsMode, actions: transcriptActionsFor(msg, msgIdx), renderMarkdown: (text, context) => renderAssistantMarkdown(text, messageFileRefs, context.sources), faviconUrl: agentFaviconUrl, tasks: tasksForMessage(msg), model: displayMessageModel ?? undefined, latest: msgIdx === runtimeProjectedMessages.length - 1 }))] }, msg.id));
7852
+ })()] })] })) : (_jsx(TranscriptTurn, { msg: msg, stepsMode: stepsMode, actions: transcriptActionsFor(msg, msgIdx), renderMarkdown: (text, context) => renderAssistantMarkdown(text, messageFileRefs, context.sources, context.fresh), faviconUrl: agentFaviconUrl, tasks: tasksForMessage(msg), model: displayMessageModel ?? undefined, latest: msgIdx === runtimeProjectedMessages.length - 1 }))] }, msg.id));
7848
7853
  }), blockedNarrationVisible && (_jsx("div", { className: "flex justify-start", children: _jsx("div", { className: "w-full", children: _jsx(ThinkingIndicator, { mode: "response" }) }) })), blockedPromptVisible && (_jsx("div", { className: "flex justify-start -mt-0.5", children: _jsx("div", { className: "w-full", children: _jsxs("div", { className: "-mx-1.5 rounded-[4px] border border-white/[0.08] bg-white/[0.02] px-3 py-2 flex items-center justify-between gap-3", children: [_jsx("p", { className: "text-[12px] text-white/50 whitespace-nowrap overflow-hidden text-ellipsis flex-1 min-w-0", children: blockedFileActionPrompt.reason === 'capability'
7849
7854
  ? 'Enable file writing for this agent before creating this file?'
7850
7855
  : 'Choose a directory for this conversation before continuing?' }), _jsxs("div", { className: "flex items-center gap-1.5 flex-shrink-0", children: [_jsx("button", { onClick: () => {
@@ -7996,7 +8001,7 @@ export function AgentView(props) {
7996
8001
  ? `Message ${agentName.replace(/\s*powered by .+$/i, '')} — / for commands, @ for files, # for work items`
7997
8002
  : (localRuntimeNeedsStart
7998
8003
  ? 'Start xeno-rt to use this local model'
7999
- : (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
8004
+ : (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 }), composerPlace && _jsx(PlaceChip, { picker: composerPlace, disabled: controlsLocked }), composerRepo && _jsx(RepoChip, { picker: composerRepo, disabled: controlsLocked, folder: workspaceBinding.mode === 'agent' ? workspaceBinding.rootDirectory || null : null, onOpened: (path) => grantConversationDirectory(ensureConversationId(), path) }), _jsx(PermChip
8000
8005
  // who approves what the agent does — asked wherever it can DO something: in a project, or on this machine
8001
8006
  , {
8002
8007
  // who approves what the agent does — asked wherever it can DO something: in a project, or on this machine