@liberseek/boft-cli-win32-arm64 0.6.3 → 0.6.4

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/README.md CHANGED
@@ -7,7 +7,7 @@ BOFT CLI runs Pi and other external harnesses inside Codex Desktop.
7
7
  ## Install
8
8
 
9
9
  ```bash
10
- npm install -g @liberseek/boft-cli@0.6.3
10
+ npm install -g @liberseek/boft-cli@0.6.4
11
11
  ```
12
12
 
13
13
  Do not install this package directly. npm selects it through the optional dependencies of `@liberseek/boft-cli`.
@@ -1 +1 @@
1
- {"schemaVersion":1,"version":"0.6.3","distribution":"npm","target":"windows-arm64"}
1
+ {"schemaVersion":1,"version":"0.6.4","distribution":"npm","target":"windows-arm64"}
@@ -22559,7 +22559,8 @@ function projectItem(item, outcome, defaultCwd, includeCommandOutput = true, sen
22559
22559
  changes: projectFileChanges(item.changes),
22560
22560
  status: itemStatus(outcome)
22561
22561
  };
22562
- case "subagentDelegation":
22562
+ case "subagentDelegation": {
22563
+ const primary = item.subagents[0];
22563
22564
  return {
22564
22565
  id: item.itemId,
22565
22566
  type: "collabAgentToolCall",
@@ -22568,13 +22569,14 @@ function projectItem(item, outcome, defaultCwd, includeCommandOutput = true, sen
22568
22569
  senderThreadId: senderThreadId ?? "",
22569
22570
  receiverThreadIds: item.subagents.map(({ subagentId }) => subagentId),
22570
22571
  prompt: item.prompt ?? null,
22571
- model: null,
22572
- reasoningEffort: null,
22572
+ model: primary?.model ?? null,
22573
+ reasoningEffort: primary?.reasoningEffort ?? null,
22573
22574
  agentsStates: Object.fromEntries(item.subagents.map(({ subagentId, status, resultSummary }) => [
22574
22575
  subagentId,
22575
22576
  { status: collabAgentStatus(status), message: resultSummary ?? null }
22576
22577
  ]))
22577
22578
  };
22579
+ }
22578
22580
  }
22579
22581
  }
22580
22582
  function reasoningPreviewItemId(itemId) {
@@ -24601,6 +24603,19 @@ function createExternalThreadRecordInput(input) {
24601
24603
  ...input.subagent ? { subagent: input.subagent } : {}
24602
24604
  };
24603
24605
  }
24606
+ function subagentThreadModelFields(record3) {
24607
+ if (!record3.subagent) return {};
24608
+ try {
24609
+ const selection = decodeExternalTransportSelection(record3.harnessId, record3.transportModelId);
24610
+ if (!selection) return {};
24611
+ return {
24612
+ ...selection.model?.id ? { model: selection.model.id } : {},
24613
+ ...selection.thinkingOptionId ? { reasoningEffort: selection.thinkingOptionId } : {}
24614
+ };
24615
+ } catch {
24616
+ return {};
24617
+ }
24618
+ }
24604
24619
  function externalThreadValue(input) {
24605
24620
  const { record: record3 } = input;
24606
24621
  const createdAt = Math.floor(Date.parse(record3.createdAt) / 1e3);
@@ -24647,7 +24662,8 @@ function externalThreadValue(input) {
24647
24662
  isPinned: record3.isPinned,
24648
24663
  agentNickname: record3.subagent ? record3.title || null : null,
24649
24664
  agentRole: record3.subagent?.role ?? null,
24650
- extra: null
24665
+ extra: null,
24666
+ ...subagentThreadModelFields(record3)
24651
24667
  };
24652
24668
  }
24653
24669
 
@@ -31697,6 +31713,8 @@ var AppServerHost = class {
31697
31713
  sessionId: parent.sessionId,
31698
31714
  running: status === "active"
31699
31715
  });
31716
+ if (subagent.model) thread.model = subagent.model;
31717
+ if (subagent.reasoningEffort) thread.reasoningEffort = subagent.reasoningEffort;
31700
31718
  this.#subagentThreadStatuses.set(record3.hostThreadId, status);
31701
31719
  this.#trackRunningSubagent(parent.id, record3.hostThreadId, status);
31702
31720
  await this.#writer.json({