@dudousxd/nestjs-agent-opencode 1.1.0 → 2.0.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/durable/index.js
CHANGED
|
@@ -3970,13 +3970,13 @@ __name(openCodeProviders, "openCodeProviders");
|
|
|
3970
3970
|
// src/durable/runner.ts
|
|
3971
3971
|
import { randomUUID as randomUUID2 } from "crypto";
|
|
3972
3972
|
import { AGENT_STORE as AGENT_STORE2 } from "@dudousxd/nestjs-agent-core";
|
|
3973
|
-
import {
|
|
3974
|
-
import { isWorkflowControlFlowSignal as isWorkflowControlFlowSignal2 } from "@dudousxd/nestjs-durable-core";
|
|
3973
|
+
import { WorkflowService } from "@dudousxd/nestjs-durable";
|
|
3974
|
+
import { RunGateway as RunGateway2, isWorkflowControlFlowSignal as isWorkflowControlFlowSignal2 } from "@dudousxd/nestjs-durable-core";
|
|
3975
3975
|
import { Inject as Inject5, Injectable as Injectable4, Logger as Logger4 } from "@nestjs/common";
|
|
3976
3976
|
|
|
3977
3977
|
// src/durable/workflow.ts
|
|
3978
|
-
import {
|
|
3979
|
-
import { SignalTimeoutError, isWorkflowControlFlowSignal } from "@dudousxd/nestjs-durable-core";
|
|
3978
|
+
import { Workflow } from "@dudousxd/nestjs-durable";
|
|
3979
|
+
import { RunGateway, SignalTimeoutError, isWorkflowControlFlowSignal } from "@dudousxd/nestjs-durable-core";
|
|
3980
3980
|
import { Inject as Inject4, Injectable as Injectable3, Optional as Optional2 } from "@nestjs/common";
|
|
3981
3981
|
function _ts_decorate4(decorators, target, key, desc) {
|
|
3982
3982
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -4089,7 +4089,7 @@ OpenCodeRunWorkflow = _ts_decorate4([
|
|
|
4089
4089
|
version: "1"
|
|
4090
4090
|
}),
|
|
4091
4091
|
_ts_param4(1, Optional2()),
|
|
4092
|
-
_ts_param4(1, Inject4(
|
|
4092
|
+
_ts_param4(1, Inject4(RunGateway)),
|
|
4093
4093
|
_ts_metadata4("design:type", Function),
|
|
4094
4094
|
_ts_metadata4("design:paramtypes", [
|
|
4095
4095
|
typeof OpenCodeTurns === "undefined" ? Object : OpenCodeTurns,
|
|
@@ -4222,14 +4222,14 @@ var DurableOpenCodeAgentRunner = class _DurableOpenCodeAgentRunner {
|
|
|
4222
4222
|
};
|
|
4223
4223
|
DurableOpenCodeAgentRunner = _ts_decorate5([
|
|
4224
4224
|
Injectable4(),
|
|
4225
|
-
_ts_param5(1, Inject5(
|
|
4225
|
+
_ts_param5(1, Inject5(RunGateway2)),
|
|
4226
4226
|
_ts_param5(3, Inject5(OPENCODE_OPTIONS)),
|
|
4227
4227
|
_ts_param5(4, Inject5(OPENCODE_HOST)),
|
|
4228
4228
|
_ts_param5(5, Inject5(AGENT_STORE2)),
|
|
4229
4229
|
_ts_metadata5("design:type", Function),
|
|
4230
4230
|
_ts_metadata5("design:paramtypes", [
|
|
4231
4231
|
typeof WorkflowService === "undefined" ? Object : WorkflowService,
|
|
4232
|
-
typeof
|
|
4232
|
+
typeof RunGateway2 === "undefined" ? Object : RunGateway2,
|
|
4233
4233
|
typeof OpenCodeTurns === "undefined" ? Object : OpenCodeTurns,
|
|
4234
4234
|
typeof OpenCodeEngineSettings === "undefined" ? Object : OpenCodeEngineSettings,
|
|
4235
4235
|
typeof OpenCodeHost === "undefined" ? Object : OpenCodeHost,
|