@yourgpt/copilot-sdk 0.1.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/README.md +61 -0
- package/dist/chunk-2ZCWVAAK.cjs +1915 -0
- package/dist/chunk-2ZCWVAAK.cjs.map +1 -0
- package/dist/chunk-N4OA2J32.js +1844 -0
- package/dist/chunk-N4OA2J32.js.map +1 -0
- package/dist/chunk-QUGTRQSS.js +3100 -0
- package/dist/chunk-QUGTRQSS.js.map +1 -0
- package/dist/chunk-W6KQT7YZ.cjs +3152 -0
- package/dist/chunk-W6KQT7YZ.cjs.map +1 -0
- package/dist/core/index.cjs +288 -0
- package/dist/core/index.cjs.map +1 -0
- package/dist/core/index.d.cts +870 -0
- package/dist/core/index.d.ts +870 -0
- package/dist/core/index.js +3 -0
- package/dist/core/index.js.map +1 -0
- package/dist/react/index.cjs +137 -0
- package/dist/react/index.cjs.map +1 -0
- package/dist/react/index.d.cts +1824 -0
- package/dist/react/index.d.ts +1824 -0
- package/dist/react/index.js +4 -0
- package/dist/react/index.js.map +1 -0
- package/dist/styles.css +48 -0
- package/dist/thread-C2FjuGLb.d.cts +1225 -0
- package/dist/thread-C2FjuGLb.d.ts +1225 -0
- package/dist/ui/index.cjs +4116 -0
- package/dist/ui/index.cjs.map +1 -0
- package/dist/ui/index.d.cts +1143 -0
- package/dist/ui/index.d.ts +1143 -0
- package/dist/ui/index.js +4019 -0
- package/dist/ui/index.js.map +1 -0
- package/package.json +100 -0
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { CLOUD_MAX_FILE_SIZE, DEFAULT_MODELS, DEFAULT_YOURGPT_ENDPOINT, actionToTool, builtinTools, captureCurrentLogs, captureScreenshot, clearConsoleLogs, clearNetworkRequests, consoleLogsTool, createAssistantMessage, createCloudStorage, createConsoleLogsTool, createCustomDetector, createMessage, createNetworkRequestsTool, createSSEStream, createScreenshotTool, createToolCall, createToolMessage, createToolResult, createUserMessage, defaultSystemMessage, defineClientTool, defineServerTool, defineTool, detectIntent, failure, formatLogsForAI, formatRequestsForAI, formatSSE, generateId, generateMessageId, generateSuggestionReason, generateThreadId, generateThreadTitle, generateToolCallId, getAttachmentTypeFromMime, getConsoleErrors, getConsoleLogs, getConsoleWarnings, getDefaultModel, getFailedRequests, getNetworkRequests, getPrimaryTool, hasToolCalls, hasToolSuggestions, isConsoleCaptureActive, isNetworkCaptureActive, isScreenshotSupported, isToolResult, networkRequestsTool, parseSSELine, parseStreamEvent, parseToolCallArgs, processFileToAttachment, resizeScreenshot, screenshotTool, serializeStreamEvent, startConsoleCapture, startNetworkCapture, stopConsoleCapture, stopNetworkCapture, streamSSE, success, tool, toolToAnthropicFormat, toolToOpenAIFormat, zodObjectToInputSchema, zodToJsonSchema } from '../chunk-N4OA2J32.js';
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
3
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkW6KQT7YZ_cjs = require('../chunk-W6KQT7YZ.cjs');
|
|
4
|
+
var chunk2ZCWVAAK_cjs = require('../chunk-2ZCWVAAK.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "AbstractAgentLoop", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunkW6KQT7YZ_cjs.AbstractAgentLoop; }
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "AbstractChat", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () { return chunkW6KQT7YZ_cjs.AbstractChat; }
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(exports, "CopilotProvider", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return chunkW6KQT7YZ_cjs.CopilotProvider; }
|
|
19
|
+
});
|
|
20
|
+
Object.defineProperty(exports, "ReactChat", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () { return chunkW6KQT7YZ_cjs.ReactChat; }
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "ReactChatState", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function () { return chunkW6KQT7YZ_cjs.ReactChatState; }
|
|
27
|
+
});
|
|
28
|
+
Object.defineProperty(exports, "createPermissionStorage", {
|
|
29
|
+
enumerable: true,
|
|
30
|
+
get: function () { return chunkW6KQT7YZ_cjs.createPermissionStorage; }
|
|
31
|
+
});
|
|
32
|
+
Object.defineProperty(exports, "createReactChat", {
|
|
33
|
+
enumerable: true,
|
|
34
|
+
get: function () { return chunkW6KQT7YZ_cjs.createReactChat; }
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(exports, "createReactChatState", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function () { return chunkW6KQT7YZ_cjs.createReactChatState; }
|
|
39
|
+
});
|
|
40
|
+
Object.defineProperty(exports, "createSessionPermissionCache", {
|
|
41
|
+
enumerable: true,
|
|
42
|
+
get: function () { return chunkW6KQT7YZ_cjs.createSessionPermissionCache; }
|
|
43
|
+
});
|
|
44
|
+
Object.defineProperty(exports, "formatKnowledgeResultsForAI", {
|
|
45
|
+
enumerable: true,
|
|
46
|
+
get: function () { return chunkW6KQT7YZ_cjs.formatKnowledgeResultsForAI; }
|
|
47
|
+
});
|
|
48
|
+
Object.defineProperty(exports, "initialAgentLoopState", {
|
|
49
|
+
enumerable: true,
|
|
50
|
+
get: function () { return chunkW6KQT7YZ_cjs.initialAgentLoopState; }
|
|
51
|
+
});
|
|
52
|
+
Object.defineProperty(exports, "searchKnowledgeBase", {
|
|
53
|
+
enumerable: true,
|
|
54
|
+
get: function () { return chunkW6KQT7YZ_cjs.searchKnowledgeBase; }
|
|
55
|
+
});
|
|
56
|
+
Object.defineProperty(exports, "useAIAction", {
|
|
57
|
+
enumerable: true,
|
|
58
|
+
get: function () { return chunkW6KQT7YZ_cjs.useAIAction; }
|
|
59
|
+
});
|
|
60
|
+
Object.defineProperty(exports, "useAIActions", {
|
|
61
|
+
enumerable: true,
|
|
62
|
+
get: function () { return chunkW6KQT7YZ_cjs.useAIActions; }
|
|
63
|
+
});
|
|
64
|
+
Object.defineProperty(exports, "useAIContext", {
|
|
65
|
+
enumerable: true,
|
|
66
|
+
get: function () { return chunkW6KQT7YZ_cjs.useAIContext; }
|
|
67
|
+
});
|
|
68
|
+
Object.defineProperty(exports, "useAIContexts", {
|
|
69
|
+
enumerable: true,
|
|
70
|
+
get: function () { return chunkW6KQT7YZ_cjs.useAIContexts; }
|
|
71
|
+
});
|
|
72
|
+
Object.defineProperty(exports, "useAITools", {
|
|
73
|
+
enumerable: true,
|
|
74
|
+
get: function () { return chunkW6KQT7YZ_cjs.useAITools; }
|
|
75
|
+
});
|
|
76
|
+
Object.defineProperty(exports, "useAgent", {
|
|
77
|
+
enumerable: true,
|
|
78
|
+
get: function () { return chunkW6KQT7YZ_cjs.useAgent; }
|
|
79
|
+
});
|
|
80
|
+
Object.defineProperty(exports, "useCapabilities", {
|
|
81
|
+
enumerable: true,
|
|
82
|
+
get: function () { return chunkW6KQT7YZ_cjs.useCapabilities; }
|
|
83
|
+
});
|
|
84
|
+
Object.defineProperty(exports, "useChat", {
|
|
85
|
+
enumerable: true,
|
|
86
|
+
get: function () { return chunkW6KQT7YZ_cjs.useChat; }
|
|
87
|
+
});
|
|
88
|
+
Object.defineProperty(exports, "useCopilot", {
|
|
89
|
+
enumerable: true,
|
|
90
|
+
get: function () { return chunkW6KQT7YZ_cjs.useCopilot; }
|
|
91
|
+
});
|
|
92
|
+
Object.defineProperty(exports, "useDevLogger", {
|
|
93
|
+
enumerable: true,
|
|
94
|
+
get: function () { return chunkW6KQT7YZ_cjs.useDevLogger; }
|
|
95
|
+
});
|
|
96
|
+
Object.defineProperty(exports, "useFeatureSupport", {
|
|
97
|
+
enumerable: true,
|
|
98
|
+
get: function () { return chunkW6KQT7YZ_cjs.useFeatureSupport; }
|
|
99
|
+
});
|
|
100
|
+
Object.defineProperty(exports, "useKnowledgeBase", {
|
|
101
|
+
enumerable: true,
|
|
102
|
+
get: function () { return chunkW6KQT7YZ_cjs.useKnowledgeBase; }
|
|
103
|
+
});
|
|
104
|
+
Object.defineProperty(exports, "useSuggestions", {
|
|
105
|
+
enumerable: true,
|
|
106
|
+
get: function () { return chunkW6KQT7YZ_cjs.useSuggestions; }
|
|
107
|
+
});
|
|
108
|
+
Object.defineProperty(exports, "useSupportedMediaTypes", {
|
|
109
|
+
enumerable: true,
|
|
110
|
+
get: function () { return chunkW6KQT7YZ_cjs.useSupportedMediaTypes; }
|
|
111
|
+
});
|
|
112
|
+
Object.defineProperty(exports, "useTool", {
|
|
113
|
+
enumerable: true,
|
|
114
|
+
get: function () { return chunkW6KQT7YZ_cjs.useTool; }
|
|
115
|
+
});
|
|
116
|
+
Object.defineProperty(exports, "useToolExecutor", {
|
|
117
|
+
enumerable: true,
|
|
118
|
+
get: function () { return chunkW6KQT7YZ_cjs.useToolExecutor; }
|
|
119
|
+
});
|
|
120
|
+
Object.defineProperty(exports, "useToolWithSchema", {
|
|
121
|
+
enumerable: true,
|
|
122
|
+
get: function () { return chunkW6KQT7YZ_cjs.useToolWithSchema; }
|
|
123
|
+
});
|
|
124
|
+
Object.defineProperty(exports, "useTools", {
|
|
125
|
+
enumerable: true,
|
|
126
|
+
get: function () { return chunkW6KQT7YZ_cjs.useTools; }
|
|
127
|
+
});
|
|
128
|
+
Object.defineProperty(exports, "useToolsWithSchema", {
|
|
129
|
+
enumerable: true,
|
|
130
|
+
get: function () { return chunkW6KQT7YZ_cjs.useToolsWithSchema; }
|
|
131
|
+
});
|
|
132
|
+
Object.defineProperty(exports, "generateSuggestionReason", {
|
|
133
|
+
enumerable: true,
|
|
134
|
+
get: function () { return chunk2ZCWVAAK_cjs.generateSuggestionReason; }
|
|
135
|
+
});
|
|
136
|
+
//# sourceMappingURL=index.cjs.map
|
|
137
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
|