@nt-ai-lab/deterministic-agent-workflow-opencode 0.3.7 → 0.4.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.
|
@@ -123,7 +123,10 @@ export function createOpenCodeWorkflowPlugin(config) {
|
|
|
123
123
|
// Session already exists for the default non-router path.
|
|
124
124
|
}
|
|
125
125
|
else {
|
|
126
|
-
|
|
126
|
+
const repository = getRepositoryName(process.cwd());
|
|
127
|
+
if (repository === undefined)
|
|
128
|
+
throw new TypeError('repository must be a non-empty string.');
|
|
129
|
+
engine.startSession(hookInput.sessionID, dbPath, repository);
|
|
127
130
|
}
|
|
128
131
|
}
|
|
129
132
|
else if (engine.hasSessionStarted(hookInput.sessionID)) {
|
package/package.json
CHANGED
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nt-ai-lab/deterministic-agent-workflow-opencode",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/NTCoding/deterministic-agent-workflows.git",
|
|
9
|
+
"directory": "packages/deterministic-agent-workflows-opencode"
|
|
10
|
+
},
|
|
6
11
|
"exports": {
|
|
7
12
|
".": "./dist/index.js"
|
|
8
13
|
},
|
|
@@ -13,9 +18,9 @@
|
|
|
13
18
|
"dependencies": {
|
|
14
19
|
"@opencode-ai/plugin": "^1.4.3",
|
|
15
20
|
"zod": "^3.25.76",
|
|
16
|
-
"@nt-ai-lab/deterministic-agent-workflow-cli": "0.
|
|
17
|
-
"@nt-ai-lab/deterministic-agent-workflow-engine": "0.
|
|
18
|
-
"@nt-ai-lab/deterministic-agent-workflow-event-store": "0.
|
|
21
|
+
"@nt-ai-lab/deterministic-agent-workflow-cli": "0.4.1",
|
|
22
|
+
"@nt-ai-lab/deterministic-agent-workflow-engine": "0.4.1",
|
|
23
|
+
"@nt-ai-lab/deterministic-agent-workflow-event-store": "0.4.1"
|
|
19
24
|
},
|
|
20
25
|
"publishConfig": {
|
|
21
26
|
"access": "public"
|