@memberjunction/ai-agents 6.2.0-edge.4 → 6.2.0-edge.6

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 (161) hide show
  1. package/README.md +154 -7
  2. package/dist/AgentDataPreloader.d.ts +4 -2
  3. package/dist/AgentDataPreloader.d.ts.map +1 -1
  4. package/dist/AgentDataPreloader.js +21 -12
  5. package/dist/AgentDataPreloader.js.map +1 -1
  6. package/dist/AgentRunner.d.ts +61 -6
  7. package/dist/AgentRunner.d.ts.map +1 -1
  8. package/dist/AgentRunner.js +313 -68
  9. package/dist/AgentRunner.js.map +1 -1
  10. package/dist/AgentWakeTriggerService.d.ts +183 -0
  11. package/dist/AgentWakeTriggerService.d.ts.map +1 -0
  12. package/dist/AgentWakeTriggerService.js +478 -0
  13. package/dist/AgentWakeTriggerService.js.map +1 -0
  14. package/dist/ArtifactToolManager.d.ts +12 -3
  15. package/dist/ArtifactToolManager.d.ts.map +1 -1
  16. package/dist/ArtifactToolManager.js +77 -6
  17. package/dist/ArtifactToolManager.js.map +1 -1
  18. package/dist/ClientToolRequestManager.d.ts +11 -1
  19. package/dist/ClientToolRequestManager.d.ts.map +1 -1
  20. package/dist/ClientToolRequestManager.js +19 -6
  21. package/dist/ClientToolRequestManager.js.map +1 -1
  22. package/dist/ConversationToolManager.d.ts +1 -1
  23. package/dist/ConversationToolManager.d.ts.map +1 -1
  24. package/dist/ConversationToolManager.js +10 -4
  25. package/dist/ConversationToolManager.js.map +1 -1
  26. package/dist/MJAIAgentRequestEntityServer.d.ts.map +1 -1
  27. package/dist/MJAIAgentRequestEntityServer.js +20 -0
  28. package/dist/MJAIAgentRequestEntityServer.js.map +1 -1
  29. package/dist/PayloadChangeAnalyzer.d.ts.map +1 -1
  30. package/dist/PayloadChangeAnalyzer.js +53 -30
  31. package/dist/PayloadChangeAnalyzer.js.map +1 -1
  32. package/dist/PayloadManager.d.ts +35 -2
  33. package/dist/PayloadManager.d.ts.map +1 -1
  34. package/dist/PayloadManager.js +250 -149
  35. package/dist/PayloadManager.js.map +1 -1
  36. package/dist/ScratchpadManager.d.ts +18 -0
  37. package/dist/ScratchpadManager.d.ts.map +1 -1
  38. package/dist/ScratchpadManager.js +61 -0
  39. package/dist/ScratchpadManager.js.map +1 -1
  40. package/dist/agent-audience.d.ts +38 -0
  41. package/dist/agent-audience.d.ts.map +1 -0
  42. package/dist/agent-audience.js +99 -0
  43. package/dist/agent-audience.js.map +1 -0
  44. package/dist/agent-context-injector.d.ts +38 -6
  45. package/dist/agent-context-injector.d.ts.map +1 -1
  46. package/dist/agent-context-injector.js +72 -20
  47. package/dist/agent-context-injector.js.map +1 -1
  48. package/dist/agent-memory-context-builder.d.ts +7 -2
  49. package/dist/agent-memory-context-builder.d.ts.map +1 -1
  50. package/dist/agent-memory-context-builder.js +14 -5
  51. package/dist/agent-memory-context-builder.js.map +1 -1
  52. package/dist/agent-pre-execution-rag.d.ts +101 -9
  53. package/dist/agent-pre-execution-rag.d.ts.map +1 -1
  54. package/dist/agent-pre-execution-rag.js +227 -29
  55. package/dist/agent-pre-execution-rag.js.map +1 -1
  56. package/dist/agent-run-watchdog.d.ts +23 -8
  57. package/dist/agent-run-watchdog.d.ts.map +1 -1
  58. package/dist/agent-run-watchdog.js +141 -76
  59. package/dist/agent-run-watchdog.js.map +1 -1
  60. package/dist/agent-types/flow-agent-type.d.ts +15 -0
  61. package/dist/agent-types/flow-agent-type.d.ts.map +1 -1
  62. package/dist/agent-types/flow-agent-type.js +129 -13
  63. package/dist/agent-types/flow-agent-type.js.map +1 -1
  64. package/dist/agent-types/loop-agent-prompt-params.d.ts +6 -2
  65. package/dist/agent-types/loop-agent-prompt-params.d.ts.map +1 -1
  66. package/dist/agent-types/loop-agent-prompt-params.js.map +1 -1
  67. package/dist/agent-types/loop-agent-response-type.d.ts +8 -2
  68. package/dist/agent-types/loop-agent-response-type.d.ts.map +1 -1
  69. package/dist/agent-types/loop-agent-response-type.js.map +1 -1
  70. package/dist/agent-types/loop-agent-type.d.ts +85 -7
  71. package/dist/agent-types/loop-agent-type.d.ts.map +1 -1
  72. package/dist/agent-types/loop-agent-type.js +290 -66
  73. package/dist/agent-types/loop-agent-type.js.map +1 -1
  74. package/dist/base-agent.d.ts +809 -38
  75. package/dist/base-agent.d.ts.map +1 -1
  76. package/dist/base-agent.js +3308 -609
  77. package/dist/base-agent.js.map +1 -1
  78. package/dist/bound-action-params.d.ts +57 -0
  79. package/dist/bound-action-params.d.ts.map +1 -0
  80. package/dist/bound-action-params.js +91 -0
  81. package/dist/bound-action-params.js.map +1 -0
  82. package/dist/index.d.ts +9 -0
  83. package/dist/index.d.ts.map +1 -1
  84. package/dist/index.js +9 -0
  85. package/dist/index.js.map +1 -1
  86. package/dist/memory-cleanup-agent.d.ts.map +1 -1
  87. package/dist/memory-cleanup-agent.js +3 -0
  88. package/dist/memory-cleanup-agent.js.map +1 -1
  89. package/dist/memory-manager-agent.d.ts.map +1 -1
  90. package/dist/memory-manager-agent.js +52 -35
  91. package/dist/memory-manager-agent.js.map +1 -1
  92. package/dist/native-tools/action-param-schema.d.ts +57 -0
  93. package/dist/native-tools/action-param-schema.d.ts.map +1 -0
  94. package/dist/native-tools/action-param-schema.js +238 -0
  95. package/dist/native-tools/action-param-schema.js.map +1 -0
  96. package/dist/native-tools/action-tool-builder.d.ts +5 -4
  97. package/dist/native-tools/action-tool-builder.d.ts.map +1 -1
  98. package/dist/native-tools/action-tool-builder.js +29 -71
  99. package/dist/native-tools/action-tool-builder.js.map +1 -1
  100. package/dist/native-tools/agent-tools.d.ts +64 -0
  101. package/dist/native-tools/agent-tools.d.ts.map +1 -0
  102. package/dist/native-tools/agent-tools.js +23 -0
  103. package/dist/native-tools/agent-tools.js.map +1 -0
  104. package/dist/native-tools/control-tools.d.ts +26 -4
  105. package/dist/native-tools/control-tools.d.ts.map +1 -1
  106. package/dist/native-tools/control-tools.js +114 -42
  107. package/dist/native-tools/control-tools.js.map +1 -1
  108. package/dist/native-tools/framework-tools.d.ts +47 -0
  109. package/dist/native-tools/framework-tools.d.ts.map +1 -0
  110. package/dist/native-tools/framework-tools.js +187 -0
  111. package/dist/native-tools/framework-tools.js.map +1 -0
  112. package/dist/native-tools/json-argument.d.ts +41 -0
  113. package/dist/native-tools/json-argument.d.ts.map +1 -0
  114. package/dist/native-tools/json-argument.js +79 -0
  115. package/dist/native-tools/json-argument.js.map +1 -0
  116. package/dist/native-tools/native-control-config.d.ts +93 -0
  117. package/dist/native-tools/native-control-config.d.ts.map +1 -0
  118. package/dist/native-tools/native-control-config.js +104 -0
  119. package/dist/native-tools/native-control-config.js.map +1 -0
  120. package/dist/native-tools/tool-result-turns.d.ts +41 -8
  121. package/dist/native-tools/tool-result-turns.d.ts.map +1 -1
  122. package/dist/native-tools/tool-result-turns.js +76 -2
  123. package/dist/native-tools/tool-result-turns.js.map +1 -1
  124. package/dist/native-tools/turn-mode.d.ts +8 -0
  125. package/dist/native-tools/turn-mode.d.ts.map +1 -0
  126. package/dist/native-tools/turn-mode.js +14 -0
  127. package/dist/native-tools/turn-mode.js.map +1 -0
  128. package/dist/query-builder-agent.d.ts +33 -5
  129. package/dist/query-builder-agent.d.ts.map +1 -1
  130. package/dist/query-builder-agent.js +137 -30
  131. package/dist/query-builder-agent.js.map +1 -1
  132. package/dist/realtime/bridge-room-transcript-sink.js +1 -0
  133. package/dist/realtime/bridge-room-transcript-sink.js.map +1 -1
  134. package/dist/realtime/bridge-session-transcript-sink.js +1 -0
  135. package/dist/realtime/bridge-session-transcript-sink.js.map +1 -1
  136. package/dist/realtime/realtime-client-session-service.d.ts +5 -4
  137. package/dist/realtime/realtime-client-session-service.d.ts.map +1 -1
  138. package/dist/realtime/realtime-client-session-service.js +42 -30
  139. package/dist/realtime/realtime-client-session-service.js.map +1 -1
  140. package/dist/realtime/realtime-coagent-config.d.ts +8 -1
  141. package/dist/realtime/realtime-coagent-config.d.ts.map +1 -1
  142. package/dist/realtime/realtime-coagent-config.js +17 -1
  143. package/dist/realtime/realtime-coagent-config.js.map +1 -1
  144. package/dist/realtime/realtime-recording-ledger.d.ts +150 -0
  145. package/dist/realtime/realtime-recording-ledger.d.ts.map +1 -0
  146. package/dist/realtime/realtime-recording-ledger.js +206 -0
  147. package/dist/realtime/realtime-recording-ledger.js.map +1 -0
  148. package/dist/realtime/realtime-recording-opus-assembly.d.ts +211 -0
  149. package/dist/realtime/realtime-recording-opus-assembly.d.ts.map +1 -0
  150. package/dist/realtime/realtime-recording-opus-assembly.js +706 -0
  151. package/dist/realtime/realtime-recording-opus-assembly.js.map +1 -0
  152. package/dist/realtime/realtime-recording-store.d.ts +44 -6
  153. package/dist/realtime/realtime-recording-store.d.ts.map +1 -1
  154. package/dist/realtime/realtime-recording-store.js +105 -51
  155. package/dist/realtime/realtime-recording-store.js.map +1 -1
  156. package/dist/realtime/realtime-turn-moderator.d.ts +2 -1
  157. package/dist/realtime/realtime-turn-moderator.d.ts.map +1 -1
  158. package/dist/realtime/realtime-turn-moderator.js +7 -1
  159. package/dist/realtime/realtime-turn-moderator.js.map +1 -1
  160. package/dist/volatile-child-prompt.js +3 -3
  161. package/package.json +21 -19
@@ -10,7 +10,7 @@
10
10
  * @since 2.49.0
11
11
  */
12
12
  import { BaseAgentType } from './base-agent-type.js';
13
- import type { NativeToolBinding } from '../native-tools/control-tools.js';
13
+ import { type NativeToolBinding } from '../native-tools/control-tools.js';
14
14
  import { AIPromptRunResult, BaseAgentNextStep, AIPromptParams, ExecuteAgentParams, AgentConfiguration, AgentAction } from '@memberjunction/ai-core-plus';
15
15
  import { MJAIPromptEntityExtended } from '@memberjunction/ai-core-plus';
16
16
  export declare class LoopAgentType extends BaseAgentType {
@@ -57,6 +57,11 @@ export declare class LoopAgentType extends BaseAgentType {
57
57
  * siblings, all of which have already populated the shared payload/scratchpad/command fields.
58
58
  */
59
59
  private applyTasksStep;
60
+ /**
61
+ * Normalizes legacy v1 flat `agentName` task nodes into the v2 `{ kind: 'Agent', configuration: { agentName } }`
62
+ * shape in place before validation.
63
+ */
64
+ private normalizeLegacyTaskNodes;
60
65
  /**
61
66
  * Decides whether a graph folds to an in-run sub-agent call, and says why when it does not.
62
67
  *
@@ -90,12 +95,71 @@ export declare class LoopAgentType extends BaseAgentType {
90
95
  * documented to do this, measured at roughly one forced call in six, so the loop
91
96
  * has to be able to say "that tool does not exist" rather than appear to hang.
92
97
  */
93
- protected nextStepFromNativeToolCalls(promptResult: AIPromptRunResult, bindings?: ReadonlyMap<string, NativeToolBinding>): BaseAgentNextStep | null;
98
+ protected nextStepFromNativeToolCalls(promptResult: AIPromptRunResult, bindings?: ReadonlyMap<string, NativeToolBinding>, relaxedTurnShapes?: boolean): BaseAgentNextStep | null;
99
+ /**
100
+ * Whether a binding runs on a hybrid turn. Actions and the agent's own tools run in every native
101
+ * mode; control tools — and the framework tools, which are declared as control tools — are
102
+ * stripped from a hybrid request, so a call to one there is a call to an undeclared tool.
103
+ */
104
+ private dispatchableOnHybrid;
105
+ /** What to do instead, after a call to a tool that does not exist on this turn. */
106
+ private unknownToolAdvice;
94
107
  /** Pairs each call with its binding; a control-tool binding counts only under implicit control flow. */
95
108
  private resolveNativeCalls;
96
- /** The turn-reading table of spec §2.1, one row per branch. */
97
- private routeResolvedCalls;
98
- /** `ask_user` ends the run as Chat / AwaitingFeedback; it must travel alone and carry a message. */
109
+ /**
110
+ * The turn-reading table of spec §2.1, with each control call alone on its turn — the default.
111
+ *
112
+ * `ask_user` and `complete_task` must be the only call on their turn, at most one
113
+ * `payload_change_request` is allowed, and acting and delegating cannot share a turn; each of
114
+ * these is a Retry that runs nothing. The agent's own tools ride along with Actions or a
115
+ * delegation, and alone are a turn of their own.
116
+ *
117
+ * @param completeTaskDeclared Whether the agent declares `complete_task`; a text-terminal agent
118
+ * does not, and is told to finish in plain text instead.
119
+ */
120
+ private routeStrict;
121
+ /**
122
+ * The turn-reading table with relaxed turn shapes (`NativeControl.RelaxedTurnShapes`): every
123
+ * call on the turn is honoured where the loop can do so without skipping a check.
124
+ * - Writes — the agent's own tools and `payload_change_request` — run inline, in call order,
125
+ * and are answered one by one. A single payload change keeps the step's own payload channel.
126
+ * - `ask_user` or `complete_task` after writes: the writes run, then the turn asks or completes
127
+ * through the normal Chat or Success validation. A failed write declines it (see BaseAgent).
128
+ * - Actions with a delegation, `ask_user` or `complete_task`: the Actions run, and the other
129
+ * calls are answered as not run — they were made before the Actions' results existed, and
130
+ * running them afterwards would skip the validation a turn's own decision gets.
131
+ *
132
+ * @param completeTaskDeclared Whether the agent declares `complete_task`; a text-terminal agent
133
+ * does not, and is told to finish in plain text instead.
134
+ */
135
+ private routeRelaxed;
136
+ /** The turn's calls by kind; `writes` holds agent-tool and payload calls in the order the model made them. */
137
+ private groupResolvedCalls;
138
+ /**
139
+ * The step for every non-terminal call on the turn, or undefined when there are none.
140
+ *
141
+ * One `payload_change_request` on a turn with no terminal call rides on the step's own payload
142
+ * channel, as it always has. Several — or one beside `ask_user` / `complete_task`, whose step
143
+ * cannot answer it — run with the agent's tools as ordered writes, each answered by its result.
144
+ */
145
+ private workStep;
146
+ /** Whether a step only writes — runs inline in the prompt step, with nothing executed after it. */
147
+ private isWritesOnly;
148
+ /** `ask_user` with the turn's other calls: after writes it asks; beside Actions or delegations it is declined. */
149
+ private withAskUser;
150
+ /** Adds one declined call to a step's list. */
151
+ private withDeclined;
152
+ /** `complete_task` with the turn's other calls — see {@link routeRelaxed} for when it runs. */
153
+ private withCompleteTask;
154
+ /** The turn's write calls, in call order, as the step carries them — or nothing when there are none. */
155
+ private agentToolCallRequests;
156
+ /**
157
+ * Agent-tool calls with no Action or delegation: the loop runs them, answers each call with its
158
+ * result, and goes again. A Retry with no instructions, so nothing but the results is added —
159
+ * the same non-terminal "go again" the payload-only turn uses.
160
+ */
161
+ private agentToolsStep;
162
+ /** `ask_user` ends the run as Chat / AwaitingFeedback; it must carry a message. */
99
163
  private askUserStep;
100
164
  /**
101
165
  * `complete_task` → Success, carrying its payload change — the native twin of the envelope's
@@ -113,8 +177,10 @@ export declare class LoopAgentType extends BaseAgentType {
113
177
  */
114
178
  private looksLikeEnvelopeAttempt;
115
179
  /**
116
- * Reads `complete_task.payloadChangeRequest`: undefined when absent, null when unusable. Models
117
- * occasionally JSON-encode a nested object argument, so a string that parses to one is accepted.
180
+ * Reads `complete_task.payloadChangeRequest`: no change when absent, an error when unusable. The
181
+ * argument is declared as a JSON string (see `BuildCompleteTaskTool`); an object is accepted too,
182
+ * since some providers send one anyway. A string whose layout the model wrote as escape sequences
183
+ * is repaired rather than rejected — see `DecodeJSONArgument`.
118
184
  */
119
185
  private decodePayloadChangeArgument;
120
186
  /** One sub-agent tool → `subAgent`; several → the parallel `subAgents[]` form. */
@@ -126,6 +192,18 @@ export declare class LoopAgentType extends BaseAgentType {
126
192
  * (Pipeline uses it the same way); the instructions are what the loop shows the model.
127
193
  */
128
194
  private payloadOnlyStep;
195
+ /**
196
+ * What the model is told after a tool call the provider rejected — one it could not read, or one
197
+ * to a tool this turn did not offer — with the provider's description of the call, when it gave
198
+ * one, so the model can see what it sent.
199
+ */
200
+ private rejectedToolCallInstructions;
201
+ /**
202
+ * What a model on implicit control flow is told after writing JSON that could not be read. It
203
+ * names `complete_task` only when the agent declares it, and the envelope's step types only
204
+ * when the agent still has an envelope.
205
+ */
206
+ private envelopeAttemptInstructions;
129
207
  DetermineNextStep<P = any, ATS = any>(promptResult: AIPromptRunResult | null, params: ExecuteAgentParams<any, P>, payload: P, agentTypeState: ATS, nativeToolBindings?: ReadonlyMap<string, NativeToolBinding>): Promise<BaseAgentNextStep<P>>;
130
208
  /** Whether the response requests an Actions or Sub-Agent step that carries a valid finishIf. */
131
209
  private isGatedStep;
@@ -1 +1 @@
1
- {"version":3,"file":"loop-agent-type.d.ts","sourceRoot":"","sources":["../../src/agent-types/loop-agent-type.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAIH,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,KAAK,EAA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