@clawos-dev/clawd 0.2.621 → 0.2.622

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.
Files changed (2) hide show
  1. package/dist/cli.cjs +7 -2
  2. package/package.json +1 -1
package/dist/cli.cjs CHANGED
@@ -53109,6 +53109,8 @@ function driveCodexThread(opts) {
53109
53109
  })().catch((e) => sink.onError(`codex app-server init failed: ${e.message}`));
53110
53110
  const session = {
53111
53111
  startTurn(text) {
53112
+ const model = opts.turnModel?.();
53113
+ const modelSelected = opts.onTurnModelSelected?.();
53112
53114
  void ready.then(() => {
53113
53115
  if (threadId) {
53114
53116
  const opened = !turnOpen;
@@ -53121,7 +53123,10 @@ function driveCodexThread(opts) {
53121
53123
  threadId,
53122
53124
  input: turnStartInput(text, opts.imageInput),
53123
53125
  // Wire field is effort (v2 already used it before 0.138); unknown reasoningEffort is silently ignored.
53124
- ...effort ? { effort } : {}
53126
+ ...effort ? { effort } : {},
53127
+ ...model ? { model } : {}
53128
+ }).then(() => {
53129
+ if (model) modelSelected?.(model);
53125
53130
  }).catch((e) => {
53126
53131
  if (exited) return;
53127
53132
  sink.pushEvents([
@@ -72590,7 +72595,7 @@ function computeMethodAccess(args) {
72590
72595
  }
72591
72596
 
72592
72597
  // src/version.ts
72593
- var version = "0.2.621".length > 0 ? "0.2.621" : "dev";
72598
+ var version = "0.2.622".length > 0 ? "0.2.622" : "dev";
72594
72599
 
72595
72600
  // src/cli-probe/probe.ts
72596
72601
  var fs84 = __toESM(require("fs"), 1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clawos-dev/clawd",
3
- "version": "0.2.621",
3
+ "version": "0.2.622",
4
4
  "description": "Standalone clawd daemon — Claude Code (and future Codex) session server over WebSocket",
5
5
  "type": "module",
6
6
  "license": "MIT",