opencode-copilot-account-switcher 0.14.24 → 0.14.25
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/wechat/bridge.d.ts +1 -0
- package/dist/wechat/bridge.js +1 -1
- package/package.json +1 -1
package/dist/wechat/bridge.d.ts
CHANGED
package/dist/wechat/bridge.js
CHANGED
|
@@ -172,7 +172,7 @@ export function createWechatBridge(input) {
|
|
|
172
172
|
const sessionDigests = await Promise.all(recentSessions.map(async (session) => {
|
|
173
173
|
const [todoResult, messagesResult] = await Promise.allSettled([
|
|
174
174
|
wrapDiagnosticStage({ instanceID: input.instanceID, stage: `session.todo:${session.id}`, onDiagnosticEvent }, () => withTimeout(async () => unwrapSdkReadResult(await input.client.session.todo({ sessionID: session.id }), `session.todo:${session.id}`), liveReadTimeoutMs, `session.todo:${session.id}`)),
|
|
175
|
-
wrapDiagnosticStage({ instanceID: input.instanceID, stage: `session.messages:${session.id}`, onDiagnosticEvent }, () => withTimeout(async () => unwrapSdkReadResult(await input.client.session.messages({ sessionID: session.id }), `session.messages:${session.id}`), liveReadTimeoutMs, `session.messages:${session.id}`)),
|
|
175
|
+
wrapDiagnosticStage({ instanceID: input.instanceID, stage: `session.messages:${session.id}`, onDiagnosticEvent }, () => withTimeout(async () => unwrapSdkReadResult(await input.client.session.messages({ sessionID: session.id, limit: 1 }), `session.messages:${session.id}`), liveReadTimeoutMs, `session.messages:${session.id}`)),
|
|
176
176
|
]);
|
|
177
177
|
const sessionUnavailable = [];
|
|
178
178
|
const todos = todoResult.status === "fulfilled" ? todoResult.value : (sessionUnavailable.push("todo"), []);
|