3455
result: {
3456
success: e.data.success,
3457
>
pastTenseMessage: getPastTenseMessage(tracked.toolName, displayName, tracked.parameters, e.data.success, e.data.success ? toolOutput : undefined),
copilotAgentSession.ts
3458
>
content: content.length > 0 ? content : undefined,
3459
>
error: e.data.error,
3460
>
},
3461
>
_meta: tracked.meta ? toToolCallMeta(tracked.meta) : undefined,
3462
>
}, parentToolCallId);
3463
>
if (retireNonPtyShellTracking) {
3464
// Preserve the terminal result in chat state before removing its
3465
// now-redundant live output resource from the host.