oh-my-opencode 2.8.2 → 2.8.3
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/cli/index.js +1 -1
- package/dist/hooks/ralph-loop/types.d.ts +1 -0
- package/dist/index.js +2 -1
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -2657,7 +2657,7 @@ var require_napi = __commonJS((exports, module) => {
|
|
|
2657
2657
|
var require_package = __commonJS((exports, module) => {
|
|
2658
2658
|
module.exports = {
|
|
2659
2659
|
name: "oh-my-opencode",
|
|
2660
|
-
version: "2.8.
|
|
2660
|
+
version: "2.8.2",
|
|
2661
2661
|
description: "OpenCode plugin - custom agents (oracle, librarian) and enhanced features",
|
|
2662
2662
|
main: "dist/index.js",
|
|
2663
2663
|
types: "dist/index.d.ts",
|
package/dist/index.js
CHANGED
|
@@ -11263,6 +11263,7 @@ function createRalphLoopHook(ctx, options) {
|
|
|
11263
11263
|
const sessions = new Map;
|
|
11264
11264
|
const config = options?.config;
|
|
11265
11265
|
const stateDir = config?.state_dir;
|
|
11266
|
+
const getTranscriptPath2 = options?.getTranscriptPath ?? getTranscriptPath;
|
|
11266
11267
|
function getSessionState(sessionID) {
|
|
11267
11268
|
let state2 = sessions.get(sessionID);
|
|
11268
11269
|
if (!state2) {
|
|
@@ -11341,7 +11342,7 @@ function createRalphLoopHook(ctx, options) {
|
|
|
11341
11342
|
if (state2.session_id && state2.session_id !== sessionID) {
|
|
11342
11343
|
return;
|
|
11343
11344
|
}
|
|
11344
|
-
const transcriptPath =
|
|
11345
|
+
const transcriptPath = getTranscriptPath2(sessionID);
|
|
11345
11346
|
if (detectCompletionPromise(transcriptPath, state2.completion_promise)) {
|
|
11346
11347
|
log(`[${HOOK_NAME3}] Completion detected!`, {
|
|
11347
11348
|
sessionID,
|