@yourgpt/copilot-sdk 1.3.0 → 1.4.1
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-N2SMQKRK.js → chunk-7JQ5GJSK.js} +5 -3
- package/dist/chunk-7JQ5GJSK.js.map +1 -0
- package/dist/{chunk-MTFU6EHR.cjs → chunk-I623CRO4.cjs} +2 -2
- package/dist/{chunk-MTFU6EHR.cjs.map → chunk-I623CRO4.cjs.map} +1 -1
- package/dist/{chunk-3427BQ4M.cjs → chunk-KRZXN5KV.cjs} +29 -27
- package/dist/chunk-KRZXN5KV.cjs.map +1 -0
- package/dist/{chunk-CVD3X4MN.js → chunk-T6W2Y3D6.js} +2 -2
- package/dist/{chunk-CVD3X4MN.js.map → chunk-T6W2Y3D6.js.map} +1 -1
- package/dist/core/index.cjs +76 -76
- package/dist/core/index.d.cts +9 -0
- package/dist/core/index.d.ts +9 -0
- package/dist/core/index.js +1 -1
- package/dist/react/index.cjs +42 -42
- package/dist/react/index.d.cts +5 -3
- package/dist/react/index.d.ts +5 -3
- package/dist/react/index.js +2 -2
- package/dist/ui/index.cjs +632 -320
- package/dist/ui/index.cjs.map +1 -1
- package/dist/ui/index.d.cts +214 -4
- package/dist/ui/index.d.ts +214 -4
- package/dist/ui/index.js +584 -274
- package/dist/ui/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-3427BQ4M.cjs.map +0 -1
- package/dist/chunk-N2SMQKRK.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ThreadManager, isConsoleCaptureActive, startConsoleCapture, isNetworkCaptureActive, startNetworkCapture, stopConsoleCapture, stopNetworkCapture, isScreenshotSupported, captureScreenshot, getConsoleLogs, getNetworkRequests, clearConsoleLogs, clearNetworkRequests, formatLogsForAI, formatRequestsForAI, detectIntent, streamSSE, zodObjectToInputSchema } from './chunk-
|
|
1
|
+
import { ThreadManager, isConsoleCaptureActive, startConsoleCapture, isNetworkCaptureActive, startNetworkCapture, stopConsoleCapture, stopNetworkCapture, isScreenshotSupported, captureScreenshot, getConsoleLogs, getNetworkRequests, clearConsoleLogs, clearNetworkRequests, formatLogsForAI, formatRequestsForAI, detectIntent, streamSSE, zodObjectToInputSchema } from './chunk-T6W2Y3D6.js';
|
|
2
2
|
import { createContext, useContext, useCallback, useEffect, useState, useRef, useSyncExternalStore, useMemo } from 'react';
|
|
3
3
|
import { jsx } from 'react/jsx-runtime';
|
|
4
4
|
import * as z from 'zod';
|
|
@@ -1772,6 +1772,7 @@ function CopilotProvider({
|
|
|
1772
1772
|
onMessagesChange,
|
|
1773
1773
|
onError,
|
|
1774
1774
|
streaming,
|
|
1775
|
+
headers,
|
|
1775
1776
|
debug = false,
|
|
1776
1777
|
maxIterations,
|
|
1777
1778
|
maxIterationsMessage
|
|
@@ -1810,6 +1811,7 @@ function CopilotProvider({
|
|
|
1810
1811
|
threadId,
|
|
1811
1812
|
initialMessages: uiInitialMessages,
|
|
1812
1813
|
streaming,
|
|
1814
|
+
headers,
|
|
1813
1815
|
debug,
|
|
1814
1816
|
maxIterations,
|
|
1815
1817
|
maxIterationsMessage
|
|
@@ -3741,5 +3743,5 @@ function useChat(config) {
|
|
|
3741
3743
|
}
|
|
3742
3744
|
|
|
3743
3745
|
export { AbstractAgentLoop, AbstractChat, CopilotProvider, ReactChat, ReactChatState, ReactThreadManager, ReactThreadManagerState, createPermissionStorage, createReactChat, createReactChatState, createReactThreadManager, createReactThreadManagerState, createSessionPermissionCache, formatKnowledgeResultsForAI, initialAgentLoopState, searchKnowledgeBase, useAIAction, useAIActions, useAIContext, useAIContexts, useAITools, useAgent, useCapabilities, useChat, useCopilot, useDevLogger, useFeatureSupport, useKnowledgeBase, useSuggestions, useSupportedMediaTypes, useThreadManager, useTool, useToolExecutor, useToolWithSchema, useTools, useToolsWithSchema };
|
|
3744
|
-
//# sourceMappingURL=chunk-
|
|
3745
|
-
//# sourceMappingURL=chunk-
|
|
3746
|
+
//# sourceMappingURL=chunk-7JQ5GJSK.js.map
|
|
3747
|
+
//# sourceMappingURL=chunk-7JQ5GJSK.js.map
|