@dudousxd/nestjs-agent-core 0.32.0 → 0.33.0
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/genui/index.d.cts +1 -1
- package/dist/genui/index.d.ts +1 -1
- package/dist/guardrails/index.d.cts +2 -2
- package/dist/guardrails/index.d.ts +2 -2
- package/dist/index.cjs +7 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -1
- package/dist/{processors-BIVqOR1Q.d.ts → processors-C1jir8eB.d.ts} +1 -1
- package/dist/{processors-DQJ5sWw7.d.cts → processors-DvZDW5zS.d.cts} +1 -1
- package/dist/{tool-BhhzEI40.d.cts → tool-CMTuoJ2v.d.cts} +9 -1
- package/dist/{tool-BhhzEI40.d.ts → tool-CMTuoJ2v.d.ts} +9 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as ModelMessage, A as Actor, d as ToolCallRequest } from './tool-
|
|
1
|
+
import { M as ModelMessage, A as Actor, d as ToolCallRequest } from './tool-CMTuoJ2v.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* The two seams that see a turn's traffic to and from the model: an {@link InputProcessor} rewrites
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as ModelMessage, A as Actor, d as ToolCallRequest } from './tool-
|
|
1
|
+
import { M as ModelMessage, A as Actor, d as ToolCallRequest } from './tool-CMTuoJ2v.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* The two seams that see a turn's traffic to and from the model: an {@link InputProcessor} rewrites
|
|
@@ -912,11 +912,19 @@ interface EnqueueMessageInput {
|
|
|
912
912
|
/** `'tail'` (default) runs it after everything already waiting; `'head'` runs it next. */
|
|
913
913
|
at?: 'tail' | 'head';
|
|
914
914
|
}
|
|
915
|
-
/**
|
|
915
|
+
/**
|
|
916
|
+
* What a store may change on a waiting message (`PATCH <base>/queue/:messageId` sets the text and
|
|
917
|
+
* attachments). An omitted key leaves the field as it is.
|
|
918
|
+
*/
|
|
916
919
|
interface QueuedMessagePatch {
|
|
917
920
|
content?: string;
|
|
918
921
|
/** `null` drops every attachment. */
|
|
919
922
|
attachments?: MessageAttachment[] | null;
|
|
923
|
+
/**
|
|
924
|
+
* Mark (or unmark) the message as an interrupt — what `POST <base>/queue/:messageId/interrupt`
|
|
925
|
+
* does to a message that is already waiting, before it cancels the running turn for it.
|
|
926
|
+
*/
|
|
927
|
+
interrupt?: boolean;
|
|
920
928
|
}
|
|
921
929
|
/**
|
|
922
930
|
* A store that can hold a thread's queue of waiting messages, and admit ONE run per thread at a time.
|
|
@@ -912,11 +912,19 @@ interface EnqueueMessageInput {
|
|
|
912
912
|
/** `'tail'` (default) runs it after everything already waiting; `'head'` runs it next. */
|
|
913
913
|
at?: 'tail' | 'head';
|
|
914
914
|
}
|
|
915
|
-
/**
|
|
915
|
+
/**
|
|
916
|
+
* What a store may change on a waiting message (`PATCH <base>/queue/:messageId` sets the text and
|
|
917
|
+
* attachments). An omitted key leaves the field as it is.
|
|
918
|
+
*/
|
|
916
919
|
interface QueuedMessagePatch {
|
|
917
920
|
content?: string;
|
|
918
921
|
/** `null` drops every attachment. */
|
|
919
922
|
attachments?: MessageAttachment[] | null;
|
|
923
|
+
/**
|
|
924
|
+
* Mark (or unmark) the message as an interrupt — what `POST <base>/queue/:messageId/interrupt`
|
|
925
|
+
* does to a message that is already waiting, before it cancels the running turn for it.
|
|
926
|
+
*/
|
|
927
|
+
interrupt?: boolean;
|
|
920
928
|
}
|
|
921
929
|
/**
|
|
922
930
|
* A store that can hold a thread's queue of waiting messages, and admit ONE run per thread at a time.
|