@meetopenbot/openbot 1.2.16 → 1.2.17

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.
@@ -18,7 +18,7 @@ export function createAgentOutputBuffer(meta) {
18
18
  content: text,
19
19
  ...(reasoning ? { reasoning } : {}),
20
20
  },
21
- meta,
21
+ meta: { ...meta },
22
22
  };
23
23
  text = '';
24
24
  reasoning = '';
package/dist/runtime.js CHANGED
@@ -140,7 +140,7 @@ export async function* runOpenbotTurn(args, options) {
140
140
  let started = false;
141
141
  for (let i = 0; i < candidates.length; i++) {
142
142
  const candidate = candidates[i];
143
- const output = createAgentOutputBuffer({ agentId: state.agentId, threadId });
143
+ const output = createAgentOutputBuffer({ agentId: state.agentId, threadId, model: candidate });
144
144
  const flushPendingOutput = async () => {
145
145
  const event = output.take();
146
146
  if (event)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meetopenbot/openbot",
3
- "version": "1.2.16",
3
+ "version": "1.2.17",
4
4
  "description": "OpenBot coordinator runtime: ask specialists, route work into Spaces, and track todos.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -25,7 +25,7 @@
25
25
  "@ai-sdk/openai": "^4.0.72",
26
26
  "ai": "^7.0.111",
27
27
  "zod": "^4.3.5",
28
- "@meetopenbot/plugin-sdk": "^1.2.5"
28
+ "@meetopenbot/plugin-sdk": "^1.3.0"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/node": "^20.10.1",