@clawos-dev/clawd 0.2.737 → 0.2.738
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.cjs
CHANGED
|
@@ -48140,7 +48140,8 @@ function deliverUserText(next, args, deps) {
|
|
|
48140
48140
|
} else {
|
|
48141
48141
|
effects.push({
|
|
48142
48142
|
kind: "write-stdin",
|
|
48143
|
-
payload: deps.encodeStdin(args.text, { sessionId: next.file.sessionId })
|
|
48143
|
+
payload: deps.encodeStdin(args.text, { sessionId: next.file.sessionId }),
|
|
48144
|
+
...userEvent.uuid ? { userMessageId: userEvent.uuid } : {}
|
|
48144
48145
|
});
|
|
48145
48146
|
}
|
|
48146
48147
|
return effects;
|
|
@@ -49595,7 +49596,7 @@ var SessionRunner = class {
|
|
|
49595
49596
|
}
|
|
49596
49597
|
case "write-stdin":
|
|
49597
49598
|
if (this.session) {
|
|
49598
|
-
this.session.startTurn(effect.payload, this.state.file.cloudPendingTurns?.at(-1)?.id);
|
|
49599
|
+
this.session.startTurn(effect.payload, this.state.file.cloudPendingTurns?.at(-1)?.id, void 0, effect.userMessageId);
|
|
49599
49600
|
break;
|
|
49600
49601
|
}
|
|
49601
49602
|
this.hooks.logger?.debug("[RG] write-stdin", {
|
|
@@ -54964,7 +54965,7 @@ function driveCodexThread(opts) {
|
|
|
54964
54965
|
}
|
|
54965
54966
|
})().catch((e) => sink.onError(`codex app-server init failed: ${e.message}`));
|
|
54966
54967
|
const session = {
|
|
54967
|
-
startTurn(text) {
|
|
54968
|
+
startTurn(text, _commandId, _prepared, userMessageId) {
|
|
54968
54969
|
const trace = opts.onTurnTrace?.();
|
|
54969
54970
|
trace?.("native.ready.waiting");
|
|
54970
54971
|
const model = opts.turnModel?.();
|
|
@@ -54982,6 +54983,7 @@ function driveCodexThread(opts) {
|
|
|
54982
54983
|
void client.request("turn/start", {
|
|
54983
54984
|
threadId,
|
|
54984
54985
|
input: turnStartInput(text, opts.imageInput),
|
|
54986
|
+
...userMessageId ? { clientUserMessageId: userMessageId } : {},
|
|
54985
54987
|
// Wire field is effort (v2 already used it before 0.138); unknown reasoningEffort is silently ignored.
|
|
54986
54988
|
...effort ? { effort } : {},
|
|
54987
54989
|
...model ? { model } : {}
|
|
@@ -76235,7 +76237,7 @@ function computeMethodAccess(args) {
|
|
|
76235
76237
|
}
|
|
76236
76238
|
|
|
76237
76239
|
// src/version.ts
|
|
76238
|
-
var version = "0.2.
|
|
76240
|
+
var version = "0.2.738".length > 0 ? "0.2.738" : "dev";
|
|
76239
76241
|
|
|
76240
76242
|
// src/cli-probe/probe.ts
|
|
76241
76243
|
var fs87 = __toESM(require("fs"), 1);
|