@yourgpt/copilot-sdk 2.1.8 → 2.5.0
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/{chunk-H3LX6FTP.js → chunk-K2I45RJE.js} +3 -3
- package/dist/{chunk-H3LX6FTP.js.map → chunk-K2I45RJE.js.map} +1 -1
- package/dist/{chunk-ISOMZAYN.js → chunk-SOS25KUI.js} +3 -4
- package/dist/chunk-SOS25KUI.js.map +1 -0
- package/dist/{chunk-JFVTY757.cjs → chunk-UAVYFRVN.cjs} +16 -16
- package/dist/{chunk-JFVTY757.cjs.map → chunk-UAVYFRVN.cjs.map} +1 -1
- package/dist/{chunk-IDAQU3FP.cjs → chunk-UBDBTEK5.cjs} +3 -4
- package/dist/chunk-UBDBTEK5.cjs.map +1 -0
- package/dist/experimental/index.cjs +2 -2
- package/dist/experimental/index.js +1 -1
- package/dist/react/index.cjs +62 -62
- package/dist/react/index.js +2 -2
- package/dist/ui/index.cjs +5 -5
- package/dist/ui/index.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-IDAQU3FP.cjs.map +0 -1
- package/dist/chunk-ISOMZAYN.js.map +0 -1
|
@@ -2290,8 +2290,7 @@ ${this.dynamicContext}`.trim() : this.config.systemPrompt;
|
|
|
2290
2290
|
(tc) => !pendingIds.has(tc?.id ?? "")
|
|
2291
2291
|
))
|
|
2292
2292
|
continue;
|
|
2293
|
-
if (msg.role === "tool" && msg.tool_call_id
|
|
2294
|
-
continue;
|
|
2293
|
+
if (msg.role === "tool" && msg.tool_call_id) continue;
|
|
2295
2294
|
messagesToInsert.push({
|
|
2296
2295
|
id: generateMessageId(),
|
|
2297
2296
|
role: msg.role,
|
|
@@ -5954,5 +5953,5 @@ function useMCPTools(config) {
|
|
|
5954
5953
|
}
|
|
5955
5954
|
|
|
5956
5955
|
export { AbstractAgentLoop, AbstractChat, CopilotProvider, MessageHistoryContext, MessageTree, ReactChatState, SkillProvider, createReactChatState, defaultMessageHistoryConfig, initialAgentLoopState, isCompactionMarker, keepToolPairsAtomic, toDisplayMessage, toLLMMessage, toLLMMessages, useAIContext, useAIContexts, useCopilot, useMCPClient, useMCPTools, useMessageHistory, useMessageHistoryContext, useSkillContext, useTool, useTools };
|
|
5957
|
-
//# sourceMappingURL=chunk-
|
|
5958
|
-
//# sourceMappingURL=chunk-
|
|
5956
|
+
//# sourceMappingURL=chunk-SOS25KUI.js.map
|
|
5957
|
+
//# sourceMappingURL=chunk-SOS25KUI.js.map
|