@xenosystem/agent-conversation 0.1.203 → 0.1.205
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/dist/components/agent/AgentView.d.ts.map +1 -1
- package/dist/components/agent/AgentView.js +9 -6
- package/dist/components/agent/AgentView.js.map +1 -1
- package/dist/components/agent/nativeTuiComposerInput.d.ts +10 -0
- package/dist/components/agent/nativeTuiComposerInput.d.ts.map +1 -1
- package/dist/components/agent/nativeTuiComposerInput.js +16 -0
- package/dist/components/agent/nativeTuiComposerInput.js.map +1 -1
- package/package.json +6 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AgentView.d.ts","sourceRoot":"","sources":["../../../src/components/agent/AgentView.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAA4D,MAAM,OAAO,CAAA;AAShF,OAAO,EAA4P,KAAK,YAAY,EAA2N,MAAM,gCAAgC,CAAA;AAyDrhB,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;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,iBAAiB,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAM/F;AAED,0GAA0G;AAC1G,wBAAgB,eAAe,CAAC,OAAO,EAAE,iBAAiB,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAG1F;AAQD,UAAU,UAAU;IAClB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,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ACzC,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,qBAulN9C"}
|
|
@@ -62,7 +62,7 @@ import { createConversationRuntimeBinding, reconcileCloudConversationModel, runt
|
|
|
62
62
|
import { extractUserFileCreateRequest, extractUserFileEditRequest, isAbsoluteOrRootedPath } from '../../utils/fileCreateIntent.js';
|
|
63
63
|
import { buildRuntimeAttachedContextPrompt } from '../../utils/agentAttachedContextPrompt.js';
|
|
64
64
|
import { buildWorkspaceSelectionContinuationPrompt } from '../../utils/workspaceSelectionContinuation.js';
|
|
65
|
-
import { isAgentComposerInputLocked } from './nativeTuiComposerInput.js';
|
|
65
|
+
import { isAgentComposerInputLocked, isAgentComposerTypingLocked } from './nativeTuiComposerInput.js';
|
|
66
66
|
import { MessageCopyButton, MessageText } from './MessageText.js';
|
|
67
67
|
/**
|
|
68
68
|
* Who pays for a model, in the words a person reads in the picker.
|
|
@@ -3632,7 +3632,7 @@ export function AgentView(props) {
|
|
|
3632
3632
|
&& !!selectedAcpAgentConfigId
|
|
3633
3633
|
&& !acpRuntimeAgentDetails[selectedAcpAgentConfigId]
|
|
3634
3634
|
&& !acpRuntimeAgentDetailErrors[selectedAcpAgentConfigId];
|
|
3635
|
-
const
|
|
3635
|
+
const composerLockState = {
|
|
3636
3636
|
workspaceUnselected: workspaceBinding.mode === 'unselected',
|
|
3637
3637
|
externalInputLocked: !!props.externalInputLockReason,
|
|
3638
3638
|
nativeTuiWriterAttached: !!props.onSendToNativeTui,
|
|
@@ -3640,7 +3640,10 @@ export function AgentView(props) {
|
|
|
3640
3640
|
acpRuntimeReadinessPending,
|
|
3641
3641
|
nonAcpModelNotReady: runtimeProvider.kind !== 'acp-provider' && !isModelReady,
|
|
3642
3642
|
cloudModelUnavailable,
|
|
3643
|
-
}
|
|
3643
|
+
};
|
|
3644
|
+
// Sending waits for the model; typing does not (see isAgentComposerTypingLocked).
|
|
3645
|
+
const inputLocked = isAgentComposerInputLocked(composerLockState);
|
|
3646
|
+
const typingLocked = isAgentComposerTypingLocked(composerLockState);
|
|
3644
3647
|
const queuedTurnCount = conversation?.pendingTurns?.length ?? 0;
|
|
3645
3648
|
const checkpoints = conversation?.checkpoints || [];
|
|
3646
3649
|
const pendingTurns = conversation?.pendingTurns || [];
|
|
@@ -7991,21 +7994,21 @@ export function AgentView(props) {
|
|
|
7991
7994
|
holds, and the one way to take it back */
|
|
7992
7995
|
_jsxs(_Fragment, { children: [_jsx(CtxSeg, { glyph: "monitor", name: true, title: machineOffer?.available ? 'The agent acts on this computer, inside the apps you grant it' : (machineOffer?.reason || 'This computer is not answering — the agent cannot act on it yet'), children: "This machine" }), _jsx(CtxVr, {}), machineGrant ? (_jsxs(CtxSeg, { glyph: "app-window", dim: true, title: machineGrant.pending ? `${machineGrant.name} — asked for, not yet granted` : `${machineGrant.name} — granted until this ${machineGrant.scope} ends`, children: [machineGrant.name, " \u00B7 this ", machineGrant.scope] })) : (_jsx(CtxSeg, { dim: true, title: "No app is granted yet \u2014 the agent asks for one when it needs it", children: "No app yet" })), _jsx(CtxGrow, {}), machineGrant
|
|
7993
7996
|
? _jsx(CtxAction, { title: machineGrant.pending ? 'Refuse this grant' : 'Take the grant back — the agent stops acting in it now', disabled: machineRevoking, onClick: () => { void revokeMachineGrant(); }, children: machineRevoking ? 'Revoking…' : 'Revoke' })
|
|
7994
|
-
: props.onNavigateConversation && (_jsx(CtxAction, { title: "Start a new conversation", onClick: () => { const id = useAgentChatStore.getState().createConversation(agentId); props.onNavigateConversation?.(id); }, children: "New chat" }))] })) : (_jsxs(_Fragment, { children: [_jsx(CtxSeg, { glyph: "message", name: true, title: conversation?.title || 'New conversation', children: conversation?.title || 'New conversation' }), _jsx(CtxVr, {}), _jsx(CtxSeg, { dim: true, title: "Chat only \u2014 no access to project files", children: "Private workspace" }), _jsx(CtxGrow, {}), contextUsed !== null && _jsx(CtxMeter, { used: contextUsed, title: "How much of the context window this conversation has used" }), props.onNavigateConversation && (_jsx(CtxAction, { title: "Start a new conversation", onClick: () => { const id = useAgentChatStore.getState().createConversation(agentId); props.onNavigateConversation?.(id); }, children: "New chat" }))] })) })] }), _jsxs("div", { ref: boxRef, className: `xa-box${pendingTurns.length > 0 ? ' xa-queued' : ''}${
|
|
7997
|
+
: props.onNavigateConversation && (_jsx(CtxAction, { title: "Start a new conversation", onClick: () => { const id = useAgentChatStore.getState().createConversation(agentId); props.onNavigateConversation?.(id); }, children: "New chat" }))] })) : (_jsxs(_Fragment, { children: [_jsx(CtxSeg, { glyph: "message", name: true, title: conversation?.title || 'New conversation', children: conversation?.title || 'New conversation' }), _jsx(CtxVr, {}), _jsx(CtxSeg, { dim: true, title: "Chat only \u2014 no access to project files", children: "Private workspace" }), _jsx(CtxGrow, {}), contextUsed !== null && _jsx(CtxMeter, { used: contextUsed, title: "How much of the context window this conversation has used" }), props.onNavigateConversation && (_jsx(CtxAction, { title: "Start a new conversation", onClick: () => { const id = useAgentChatStore.getState().createConversation(agentId); props.onNavigateConversation?.(id); }, children: "New chat" }))] })) })] }), _jsxs("div", { ref: boxRef, className: `xa-box${pendingTurns.length > 0 ? ' xa-queued' : ''}${typingLocked ? ' xa-off' : ''}${pendingPermission || pendingQuestion ? ' xa-asking' : ''}`, children: [(pendingPermission || pendingQuestion) && (_jsxs("div", { className: "xa-box-ask", children: [pendingPermission && (() => {
|
|
7995
7998
|
const actions = askActionsFor(pendingPermission.requestId);
|
|
7996
7999
|
const { toolCall, permission, ask } = pendingPermission;
|
|
7997
8000
|
const folder = ask.host?.kind === 'choose-directory';
|
|
7998
8001
|
return (_jsx(PermissionPanel, { ask: ask, canAnswer: folder ? true : actions.canAnswer, onAllow: folder ? () => { void handleChooseDirectorySelect(pendingPermission.requestId, toolCall); } : () => actions.grant(toolCall, permission), onDeny: folder
|
|
7999
8002
|
? () => { void getOptionalAgentPlatformBridge()?.agent?.answerChooseDirectory?.({ requestId: pendingPermission.requestId, chooseDirectoryId: getToolParamString(toolCall.params, 'chooseDirectoryId'), cancelled: true }); }
|
|
8000
8003
|
: () => actions.deny(permission), onAllowAlways: !folder && ask.canAllowAlways ? () => actions.grantAlways(toolCall, permission) : undefined, onDenyAlways: !folder && ask.canDenyAlways ? () => actions.denyAlways(permission) : undefined }));
|
|
8001
|
-
})(), pendingQuestion && (_jsx(QuestionPanel, { ask: pendingQuestion.ask, busy: questionBusy, error: questionError, onAnswer: (answer, selectedOption) => { void answerPendingQuestion(answer, selectedOption); }, onSkip: skipPendingQuestion }))] })), _jsx("input", { ref: fileInputRef, type: "file", accept: "image/*", multiple: true, onChange: (e) => { void handleAttachmentPick(e); }, className: "hidden" }), _jsx(Tiles, { items: pendingAttachments.map((att) => ({ id: att.id, name: att.name, dataUrl: att.dataUrl })), showAll: showAllTiles, onShowAll: () => setShowAllTiles(true), onRemove: (id) => removePendingAttachment(id) }), _jsx("div", { className: `xa-field${effectiveGhostText ? ' xa-ghosting' : ''}`, children: _jsx(GhostTextArea, { ref: textareaRef, rows: 1, value: input, onChange: handleInputChange, onKeyDown: handleKeyDown, disabled:
|
|
8004
|
+
})(), pendingQuestion && (_jsx(QuestionPanel, { ask: pendingQuestion.ask, busy: questionBusy, error: questionError, onAnswer: (answer, selectedOption) => { void answerPendingQuestion(answer, selectedOption); }, onSkip: skipPendingQuestion }))] })), _jsx("input", { ref: fileInputRef, type: "file", accept: "image/*", multiple: true, onChange: (e) => { void handleAttachmentPick(e); }, className: "hidden" }), _jsx(Tiles, { items: pendingAttachments.map((att) => ({ id: att.id, name: att.name, dataUrl: att.dataUrl })), showAll: showAllTiles, onShowAll: () => setShowAllTiles(true), onRemove: (id) => removePendingAttachment(id) }), _jsx("div", { className: `xa-field${effectiveGhostText ? ' xa-ghosting' : ''}`, children: _jsx(GhostTextArea, { ref: textareaRef, rows: 1, value: input, onChange: handleInputChange, onKeyDown: handleKeyDown, disabled: typingLocked, placeholder: effectiveGhostText
|
|
8002
8005
|
? ''
|
|
8003
8006
|
: (isModelReady
|
|
8004
8007
|
// the three prefixes the box answers to, named the way the bench names them
|
|
8005
8008
|
? `Message ${agentName.replace(/\s*powered by .+$/i, '')} — / for commands, @ for files, # for work items`
|
|
8006
8009
|
: (localRuntimeNeedsStart
|
|
8007
8010
|
? 'Start xeno-rt to use this local model'
|
|
8008
|
-
: (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:
|
|
8011
|
+
: (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: typingLocked, onClick: () => fileInputRef.current?.click(), children: _jsx(DockIcon, { name: "plus" }) }), _jsx(DictationControl, { disabled: typingLocked, 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
|
|
8009
8012
|
// who approves what the agent does — asked wherever it can DO something: in a project, or on this machine
|
|
8010
8013
|
, {
|
|
8011
8014
|
// who approves what the agent does — asked wherever it can DO something: in a project, or on this machine
|