@mgamadeus/ddd-agents 0.14.6 → 0.14.8
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 +10 -1
- package/dist/chat.js +1 -1
- package/dist/chunks/{contract-CIXLnSqL.js → contract-IQHESBXq.js} +12 -3
- package/dist/chunks/contract-IQHESBXq.js.map +1 -0
- package/dist/contract.js +1 -1
- package/dist/files/i18n-keys.json +66 -0
- package/dist/types/entries/voice.d.ts +1 -1
- package/dist/types/voice/AgentVoiceCallBand/agent-voice-call-outcome-title-text-key.d.ts +4 -1
- package/dist/types/voice/admin/agent-voice-admin-format.d.ts +1 -1
- package/dist/types/voice/admin/agent-voice-admin-types.d.ts +1 -1
- package/dist/types/voice/call/agent-voice-call-end-reasons.d.ts +4 -0
- package/dist/types/voice/call/agent-voice-call-store.d.ts +1 -1
- package/dist/voice-admin.js +20 -2
- package/dist/voice-admin.js.map +1 -1
- package/dist/voice.js +6 -0
- package/dist/voice.js.map +1 -1
- package/package.json +1 -1
- package/public-api.json +2 -0
- package/dist/chunks/contract-CIXLnSqL.js.map +0 -1
package/package.json
CHANGED
package/public-api.json
CHANGED
|
@@ -1433,6 +1433,8 @@
|
|
|
1433
1433
|
"AGENT_VOICE_ANSWER_REFUSAL_TEXT_KEYS",
|
|
1434
1434
|
"AGENT_VOICE_CALL_END_REASON_ENDED_BY_AGENT",
|
|
1435
1435
|
"AGENT_VOICE_CALL_END_REASON_LIMIT_REACHED",
|
|
1436
|
+
"AGENT_VOICE_CALL_END_REASON_PROVIDER_CONNECTION_LOST",
|
|
1437
|
+
"AGENT_VOICE_CALL_END_REASON_PROVIDER_STALLED",
|
|
1436
1438
|
"AGENT_VOICE_ERROR_CODE_INVALID_OPEN_ANSWER",
|
|
1437
1439
|
"AGENT_VOICE_RING_MESSAGE_TYPE",
|
|
1438
1440
|
"AgentVoiceAccountRealtimeRingSource",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"contract-CIXLnSqL.js","sources":["../../src/chat/last-wire-message-is-unanswered-user-message.ts","../../src/chat/controller/derive-agent-activity.ts","../../src/chat/controller/changed-messages-request.ts"],"sourcesContent":["import type { ChatMessage } from \"./chat-message\";\n\n/** The phone call's started / ended markers — the call marker chip, structural context, never owed work. */\nexport const PHONE_CALL_LIFECYCLE_SIGNAL_SOURCES: readonly string[] = [\"PHONE_CALL_STARTED\", \"PHONE_CALL_ENDED\"];\n/** The loop dropped a repeat of an already delivered text — bookkeeping behind the agent's answer, never owed work. */\nconst REPEATED_TEXT_SUPPRESSED_SIGNAL_SOURCE = \"REPEATED_TEXT_SUPPRESSED\";\n/** The platform wrote a widget on its own (e.g. a follow-up question under the final text) — a notice, never owed work. */\nconst PLATFORM_WIDGET_EMITTED_SIGNAL_SOURCE = \"PLATFORM_WIDGET_EMITTED\";\n/** The frontend's render report of a message's widgets — context for the next turn, never owed work. */\nconst FRONTEND_WIDGET_RENDER_REPORT_SIGNAL_SOURCE = \"FRONTEND_WIDGET_RENDER_REPORT\";\n/**\n * The SIGNAL rows that owe no work — the backend's `owesWork() === false` on a SIGNAL row, pinned by\n * `signal-source-parity.json` (`_signal-source-parity.spec.ts`).\n */\nexport const SIGNAL_SOURCES_THAT_OWE_NO_WORK: readonly string[] = [\n ...PHONE_CALL_LIFECYCLE_SIGNAL_SOURCES,\n REPEATED_TEXT_SUPPRESSED_SIGNAL_SOURCE,\n PLATFORM_WIDGET_EMITTED_SIGNAL_SOURCE,\n FRONTEND_WIDGET_RENDER_REPORT_SIGNAL_SOURCE,\n];\n\n/**\n * Whether the newest WIRE message is the customer's own, still unanswered — the backend's `hasUnansweredInboundMessage`\n * seen from the frontend, walked the same way: ERROR / CHECKPOINT rows are bookkeeping (never rendered, never an\n * answer); a TOOL_MESSAGE (a tool's own widget to the customer, stored role ASSISTANT) is NOT the agent's answer — a\n * customer question followed only by a tool's status widget stays owed; the phone-call lifecycle chips are structural\n * context, never owed work, and so is the platform's notice that it wrote a widget on its own; any other trailing SIGNAL (a widget click, a memory-conflict clarify) IS owed work, exactly\n * like a user message. Only then does a failed run have something to RETRY — the persisted\n * message is re-driven server-side instead of asking the customer to send it again. A walk that diverges from the\n * backend's shows the error card without the button while the backend would accept the retry — keep the two in step.\n *\n * The slice keeps `messages` ordered by `indexInConversation`; the sort here is belt-and-suspenders for a caller that\n * hands in an unordered page, not a fix for an upstream ordering defect.\n */\nexport const lastWireMessageIsUnansweredUserMessage = (messages: ChatMessage[] | null): boolean => {\n if (!messages?.length) {\n return false;\n }\n const sorted = [...messages].sort((a, b) => (a.indexInConversation ?? 0) - (b.indexInConversation ?? 0));\n for (let position = sorted.length - 1; position >= 0; position--) {\n const message = sorted[position];\n if (\n message.messageType === \"ERROR\" ||\n message.messageType === \"CHECKPOINT\" ||\n message.messageType === \"TOOL_MESSAGE\"\n ) {\n continue;\n }\n if (message.messageType === \"SIGNAL\") {\n if (SIGNAL_SOURCES_THAT_OWE_NO_WORK.includes(message.signalSource ?? \"\")) {\n continue;\n }\n return true;\n }\n return message.authorType === \"USER\";\n }\n return false;\n};\n","import type { ConversationMessageStatus } from \"../../contract/conversation\";\nimport type { ChatMessage } from \"../chat-message\";\nimport { textKey } from \"../../provider/text-key\";\nimport { SIGNAL_SOURCES_THAT_OWE_NO_WORK } from \"../last-wire-message-is-unanswered-user-message\";\n\n/** Mirrors App\\Domain\\AI\\Entities\\Conversations\\Agent\\Tools\\DelegateTool::NAME. */\nconst DELEGATE_TOOL_NAME = \"delegate\";\n\n/** Terminal tool-call statuses — mirrors ToolCall::isResolved (COMPLETED / FAILED / CANCELLED). */\nconst RESOLVED_STATUSES: string[] = [\"COMPLETED\", \"FAILED\", \"CANCELLED\"] satisfies ConversationMessageStatus[];\nconst isResolved = (status?: string | null): boolean => status != null && RESOLVED_STATUSES.includes(status);\n\n/** Terminal child run-states — mirrors AIConversationRunState::TERMINAL (COMPLETED / FAILED / CANCELLED). */\nconst TERMINAL_RUN_STATES: string[] = [\"COMPLETED\", \"FAILED\", \"CANCELLED\"];\n\n/** A sub-agent run still waiting to start or actively working (mirrors DelegationSubAgentRun::STATUS_*). */\nconst UNRESOLVED_RUN_STATUSES: string[] = [\"QUEUED\", \"RUNNING\"];\n\n/**\n * A tool call is EFFECTIVELY resolved when its stored status says so — or, for a `delegate` call, when every\n * expanded child already reached a terminal run state: the children are the truth of a fan-out, the stored\n * status is a mirror that a write race can leave stale (a delegate call left RUNNING kept the whole customer\n * chat \"thinking\" for the rest of a setup). An empty or missing expansion proves nothing and falls back to the status.\n */\n/**\n * Rows that never start or continue a turn: the bookkeeping rows (ERROR, CHECKPOINT) and the SIGNAL rows that owe no\n * work (the frontend's widget render report, the platform's own widget notice, phone call markers, a suppressed\n * repeat). They are stored with role USER and may land after the agent's answer; read as the tail they would keep the\n * \"Working on it…\" line under a finished answer forever.\n */\nconst isRowThatOwesNoWork = (message: ChatMessage): boolean =>\n message.messageType === \"ERROR\" ||\n message.messageType === \"CHECKPOINT\" ||\n (message.messageType === \"SIGNAL\" && SIGNAL_SOURCES_THAT_OWE_NO_WORK.includes(message.signalSource ?? \"\"));\n\nconst isEffectivelyResolved = (message: ChatMessage | undefined): boolean => {\n if (message == null) return false;\n if (isResolved(message.toolCall?.status)) return true;\n if (message.toolCall?.name !== DELEGATE_TOOL_NAME) return false;\n const children = message.delegatedConversations ?? [];\n if (children.length === 0) return false;\n // A partial expansion (page cap) proves nothing: the call declared N tasks, N children must be visible.\n const declaredTasks = (message.toolCall?.arguments as { tasks?: unknown[] } | undefined)?.tasks;\n if (Array.isArray(declaredTasks) && declaredTasks.length > children.length) return false;\n return children.every((child) => TERMINAL_RUN_STATES.includes(child.runState ?? \"\"));\n};\n\n/** How many sub-agents spawned by this message are still working. */\nexport const countOutstandingChildren = (message: ChatMessage): number => {\n const children = message.delegatedConversations ?? [];\n if (children.length > 0) {\n return children.filter((child) => !TERMINAL_RUN_STATES.includes(child.runState ?? \"\")).length;\n }\n if (message.toolCall?.name !== DELEGATE_TOOL_NAME) {\n return 0;\n }\n // A NEW row (one `delegate` call = one sub-agent) carries its own run record instead of\n // `delegatedConversations`; no child expanded, so the record's CURRENT run is the truth of whether it is done.\n const subAgent = message.subAgent;\n if (subAgent != null) {\n const currentRun = (subAgent.runs ?? []).find((run) => run.runNumber === subAgent.currentRunNumber);\n return currentRun != null && UNRESOLVED_RUN_STATUSES.includes(currentRun.status ?? \"\") ? 1 : 0;\n }\n if (isResolved(message.toolCall?.status)) {\n return 0;\n }\n const declaredTasks = (message.toolCall?.arguments as { tasks?: unknown[] } | undefined)?.tasks;\n return Array.isArray(declaredTasks) && declaredTasks.length > 0 ? declaredTasks.length : 1;\n};\n\n/** A tool call whose result is still to come — its progress lives in `toolCall.status`, never in the row's status. */\nexport const hasUnresolvedToolCall = (message: ChatMessage): boolean =>\n message.toolCall != null && !isEffectivelyResolved(message);\n\n/** Whether this message's delegation can still change: a child is still working, or the call is not resolved yet. */\nexport const hasDelegationInFlight = (message: ChatMessage): boolean =>\n countOutstandingChildren(message) > 0 ||\n (message.toolCall?.name === DELEGATE_TOOL_NAME && !isEffectivelyResolved(message));\n\nexport type AgentActivity = {\n /** Whether a turn is in flight — drives the indicator's visibility (ConversationView aiThinking). */\n active: boolean;\n /**\n * Translation source string for \"what the agent is doing right now\" (empty when nothing to show). Rendered through\n * the chat's `Text`, so this is the translatable key with %placeholders% — NOT pre-interpolated. The dynamic values\n * arrive via {@link AgentActivity.replacements} and plural form via {@link AgentActivity.context}.\n */\n label: string;\n /** Dynamic values substituted into the %placeholders% of {@link AgentActivity.label} by <Text>. */\n replacements?: Record<string, string | number>;\n /** Plural selector for <Text> when the label is count-dependent. */\n context?: \"one\" | \"other\";\n /** A non-delegate tool is running → show the ASCII wrench spinner instead of a text label. */\n toolRunning?: boolean;\n};\n\n/**\n * Derive \"what the agent is doing right now\" for the agent activity indicator PURELY from the\n * live conversation data: the message tree (refreshed on each realtime-signal tick / on open) plus the signal's\n * coarse runStatus (\"running\" | \"idle\" | \"failed\" | null). No network. Mirrors the backend truth —\n * AIConversation.runState (IDLE/RUNNING/AWAITING_DELEGATES/…) and per-message status/messageType/toolCall — but reads\n * it off the messages the FE already holds, so the indicator is correct even before the first signal emission.\n */\nexport const deriveAgentActivity = (\n messages: ChatMessage[] | null,\n runStatus: string | null,\n): AgentActivity => {\n if (runStatus === \"failed\") {\n // Failure surfaces via ConversationView's error state, not the activity line.\n return { active: false, label: \"\" };\n }\n\n // An optimistic (just-sent, not yet server-assigned) row carries no index — it belongs at the TAIL, the newest\n // thing in the conversation, never at the front, where `?? 0` would park it ahead of every real message.\n const sorted = [...(messages ?? [])].filter((message) => !isRowThatOwesNoWork(message)).sort(\n (a, b) => (a.indexInConversation ?? Number.POSITIVE_INFINITY) - (b.indexInConversation ?? Number.POSITIVE_INFINITY),\n );\n const lastMessage = sorted[sorted.length - 1];\n\n // The owner just sent — the optimistic bubble, or a saved row still awaiting the first response — starts the face\n // thinking immediately, before the server's \"running\" ping arrives (which can lag the send by about a second);\n // checked before the `idle` short-circuit below, whose `runStatus` can still report the PREVIOUS turn's rest state.\n // A rejected POST resets `aiThinking` itself (conversations-message-post.case.ts), so no separate reset is needed.\n if (lastMessage?.role === \"USER\") {\n return { active: true, label: \"\" };\n }\n\n // Sub-agents still working → the orchestrator is parked on its children (backend runState AWAITING_DELEGATES).\n // Counted per CHILD, not per delegate message: a fan-out (`delegate` with N tasks, or a tool result carrying\n // `delegationTasks`, e.g. a LARGE website edit's page packets) is ONE message with N children. The expanded\n // `delegatedConversations` carry each child's runState; without the expand, a `delegate` call still awaiting its\n // verdict counts its declared tasks, else one.\n const unresolvedDelegateCount = sorted.reduce((count, message) => count + countOutstandingChildren(message), 0);\n\n // The turn is at rest and nothing is outstanding → idle, no indicator.\n if (runStatus === \"idle\" && unresolvedDelegateCount === 0) {\n return { active: false, label: \"\" };\n }\n\n if (unresolvedDelegateCount > 0) {\n return {\n active: true,\n label: textKey(\"Waiting for %count% delegations...\"),\n replacements: { count: unresolvedDelegateCount },\n context: unresolvedDelegateCount === 1 ? \"one\" : \"other\",\n };\n }\n\n // A tool-call that hasn't resolved yet → that tool is running now (a delegate call whose children all finished\n // is resolved in effect, whatever its stored status says).\n if (lastMessage?.messageType === \"TOOL_CALL\" && !isEffectivelyResolved(lastMessage)) {\n return {\n active: true,\n label: textKey(\"Running: %tool%...\"),\n replacements: { tool: lastMessage.toolCall?.name ?? \"Tool\" },\n toolRunning: true,\n };\n }\n\n // The model is producing a turn (signal running) — a trailing owner row was already caught above.\n if (runStatus === \"running\") {\n return { active: true, label: \"\" };\n }\n\n return { active: false, label: \"\" };\n};\n","import type { ChangedMessagesRequest, ConversationMessageStatus } from \"../../contract/conversation\";\nimport type { ChatMessage } from \"../chat-message\";\nimport { hasDelegationInFlight, hasUnresolvedToolCall } from \"./derive-agent-activity\";\n\n/** Row statuses that are not final yet (today only a waiting signal row carries one, PENDING until a turn reads it). */\nconst CHANGING_STATUSES: string[] = [\"PENDING\", \"RUNNING\", \"CANCEL_REQUESTED\"] satisfies ConversationMessageStatus[];\n\nconst canStillChange = (message: ChatMessage): boolean =>\n CHANGING_STATUSES.includes(message.status ?? \"\") || hasUnresolvedToolCall(message) || hasDelegationInFlight(message);\n\n/**\n * What a live update reads, given the loaded messages: every row written since the newest loaded one, plus every\n * message from the lowest one that can still change. \"Written since\" goes by id, not index: ids grow with every write,\n * while an index can be taken below the newest loaded one (a call row persisted after the row its execution emitted)\n * or reused (a re-drive after an admin delete-from). The index start never lies below the newest page (a newest-first\n * page of `pageSize` cannot return older rows anyway), so a row a dead worker left pending cannot pin it. Nothing\n * loaded yet → null: the caller reads the newest page as on open. How the request reaches the wire (the filter string)\n * is the binding's matter (`AgentsConversationClient.getChangedMessages`).\n */\nexport const buildChangedMessagesRequest = (\n messages: ChatMessage[] | null,\n pageSize: number,\n): ChangedMessagesRequest | null => {\n const loaded = (messages ?? []).filter((message) => message.indexInConversation != null);\n if (loaded.length === 0) {\n return null;\n }\n const indexes = (list: ChatMessage[]) => list.map((message) => message.indexInConversation as number);\n const highestIndex = Math.max(...indexes(loaded));\n const changing = loaded.filter(canStillChange);\n const fromIndex = Math.max(\n changing.length > 0 ? Math.min(...indexes(changing)) : highestIndex + 1,\n highestIndex - pageSize + 1,\n );\n const highestKnownId = Math.max(...loaded.map((message) => message.id ?? 0));\n return { highestKnownId, fromIndex, pageSize };\n};\n"],"names":[],"mappings":";;;;AAGO,MAAM,sCAAyD,CAAC,sBAAsB,kBAAkB;AAE/G,MAAM,yCAAyC;AAE/C,MAAM,wCAAwC;AAE9C,MAAM,8CAA8C;AAK7C,MAAM,kCAAqD;AAAA,EAChE,GAAG;AAAA,EACH;AAAA,EACA;AAAA,EACA;AACF;AAeO,MAAM,yCAAyC,CAAC,aAA4C;AACjG,MAAI,CAAC,UAAU,QAAQ;AACrB,WAAO;AAAA,EACT;AACA,QAAM,SAAS,CAAC,GAAG,QAAQ,EAAE,KAAK,CAAC,GAAG,OAAO,EAAE,uBAAuB,MAAM,EAAE,uBAAuB,EAAE;AACvG,WAAS,WAAW,OAAO,SAAS,GAAG,YAAY,GAAG,YAAY;AAChE,UAAM,UAAU,OAAO,QAAQ;AAC/B,QACE,QAAQ,gBAAgB,WACxB,QAAQ,gBAAgB,gBACxB,QAAQ,gBAAgB,gBACxB;AACA;AAAA,IACF;AACA,QAAI,QAAQ,gBAAgB,UAAU;AACpC,UAAI,gCAAgC,SAAS,QAAQ,gBAAgB,EAAE,GAAG;AACxE;AAAA,MACF;AACA,aAAO;AAAA,IACT;AACA,WAAO,QAAQ,eAAe;AAAA,EAChC;AACA,SAAO;AACT;ACnDA,MAAM,qBAAqB;AAG3B,MAAM,oBAA8B,CAAC,aAAa,UAAU,WAAW;AACvE,MAAM,aAAa,CAAC,WAAoC,UAAU,QAAQ,kBAAkB,SAAS,MAAM;AAG3G,MAAM,sBAAgC,CAAC,aAAa,UAAU,WAAW;AAGzE,MAAM,0BAAoC,CAAC,UAAU,SAAS;AAc9D,MAAM,sBAAsB,CAAC,Y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