@dudousxd/nestjs-agent 1.17.0 → 1.17.1
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/durable/index.cjs +894 -884
- package/dist/durable/index.cjs.map +1 -1
- package/dist/durable/index.js +924 -914
- package/dist/durable/index.js.map +1 -1
- package/dist/index.cjs +10 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -1
- package/dist/index.d.ts +10 -1
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -22,6 +22,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
22
22
|
// src/index.ts
|
|
23
23
|
var index_exports = {};
|
|
24
24
|
__export(index_exports, {
|
|
25
|
+
AGENT_CHAT_QUEUE: () => AGENT_CHAT_QUEUE,
|
|
25
26
|
AGENT_METADATA: () => AGENT_METADATA,
|
|
26
27
|
AGENT_TOOL_BRAND: () => AGENT_TOOL_BRAND,
|
|
27
28
|
AI_TOOL_METADATA: () => AI_TOOL_METADATA,
|
|
@@ -4343,6 +4344,9 @@ var LedgerQuotaProvider = class {
|
|
|
4343
4344
|
}
|
|
4344
4345
|
};
|
|
4345
4346
|
|
|
4347
|
+
// src/queue/chat-queue.token.ts
|
|
4348
|
+
var AGENT_CHAT_QUEUE = /* @__PURE__ */ Symbol.for("@dudousxd/nestjs-agent:chat-queue");
|
|
4349
|
+
|
|
4346
4350
|
// src/runner/inline-agent-runner.ts
|
|
4347
4351
|
var import_nestjs_agent_core25 = require("@dudousxd/nestjs-agent-core");
|
|
4348
4352
|
var import_common22 = require("@nestjs/common");
|
|
@@ -5047,6 +5051,10 @@ function sharedProviders(durable) {
|
|
|
5047
5051
|
// The thread message queue — every surface, since both runners and the durable workflow settle
|
|
5048
5052
|
// into it, and the chat routes enqueue into it.
|
|
5049
5053
|
ChatQueueService,
|
|
5054
|
+
{
|
|
5055
|
+
provide: AGENT_CHAT_QUEUE,
|
|
5056
|
+
useExisting: ChatQueueService
|
|
5057
|
+
},
|
|
5050
5058
|
InlineAgentRunner,
|
|
5051
5059
|
AgentService,
|
|
5052
5060
|
// Bound ALWAYS (durable or inline) — the console's cross-thread approvals inbox routes decisions
|
|
@@ -5109,6 +5117,7 @@ function exportsFor() {
|
|
|
5109
5117
|
AgentDepsFactory2,
|
|
5110
5118
|
AgentService,
|
|
5111
5119
|
ChatQueueService,
|
|
5120
|
+
AGENT_CHAT_QUEUE,
|
|
5112
5121
|
InlineAgentRunner,
|
|
5113
5122
|
import_nestjs_agent_core27.AGENT_APPROVAL_PORT
|
|
5114
5123
|
];
|
|
@@ -5301,6 +5310,7 @@ __name(requestUserActorResolver, "requestUserActorResolver");
|
|
|
5301
5310
|
__reExport(index_exports, require("@dudousxd/nestjs-agent-core"), module.exports);
|
|
5302
5311
|
// Annotate the CommonJS export names for ESM import in node:
|
|
5303
5312
|
0 && (module.exports = {
|
|
5313
|
+
AGENT_CHAT_QUEUE,
|
|
5304
5314
|
AGENT_METADATA,
|
|
5305
5315
|
AGENT_TOOL_BRAND,
|
|
5306
5316
|
AI_TOOL_METADATA,
|