@aigentyc/chat-sdk 0.3.0 → 0.3.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/context7.json +1 -1
- package/dist/{JsonRenderResult-Ftw4AKwb.d.cts → JsonRenderResult-D6ogds0_.d.cts} +8 -1
- package/dist/{JsonRenderResult-Ftw4AKwb.d.ts → JsonRenderResult-D6ogds0_.d.ts} +8 -1
- package/dist/JsonRenderResult-GCNFMZYP.js +6 -0
- package/dist/{JsonRenderResult-ZFJ6VWMS.js.map → JsonRenderResult-GCNFMZYP.js.map} +1 -1
- package/dist/JsonRenderResult-II3IBENS.cjs +15 -0
- package/dist/{JsonRenderResult-GQOYPLVH.cjs.map → JsonRenderResult-II3IBENS.cjs.map} +1 -1
- package/dist/{chunk-PPCGZ5MP.cjs → chunk-5XF7KH6B.cjs} +4 -4
- package/dist/{chunk-PPCGZ5MP.cjs.map → chunk-5XF7KH6B.cjs.map} +1 -1
- package/dist/{chunk-TLGZSXTU.cjs → chunk-7IFBPXT3.cjs} +11 -4
- package/dist/chunk-7IFBPXT3.cjs.map +1 -0
- package/dist/{chunk-PQCGQ32Q.js → chunk-AD6XWKWB.js} +11 -4
- package/dist/chunk-AD6XWKWB.js.map +1 -0
- package/dist/{chunk-J2H6MLQF.cjs → chunk-H7C3AGA2.cjs} +17 -6
- package/dist/chunk-H7C3AGA2.cjs.map +1 -0
- package/dist/{chunk-SWKWHBBN.js → chunk-YG2COKFR.js} +3 -3
- package/dist/{chunk-SWKWHBBN.js.map → chunk-YG2COKFR.js.map} +1 -1
- package/dist/{chunk-RPDJXB3U.js → chunk-ZXP7IYRC.js} +17 -6
- package/dist/chunk-ZXP7IYRC.js.map +1 -0
- package/dist/components.cjs +14 -14
- package/dist/components.js +3 -3
- package/dist/index.cjs +10 -10
- package/dist/index.js +3 -3
- package/dist/json-render.cjs +4 -4
- package/dist/json-render.d.cts +1 -1
- package/dist/json-render.d.ts +1 -1
- package/dist/json-render.js +1 -1
- package/dist/llms-full.txt +1 -1
- package/dist/tools.cjs +6 -6
- package/dist/tools.d.cts +1 -1
- package/dist/tools.d.ts +1 -1
- package/dist/tools.js +2 -2
- package/package.json +1 -1
- package/dist/JsonRenderResult-GQOYPLVH.cjs +0 -15
- package/dist/JsonRenderResult-ZFJ6VWMS.js +0 -6
- package/dist/chunk-J2H6MLQF.cjs.map +0 -1
- package/dist/chunk-PQCGQ32Q.js.map +0 -1
- package/dist/chunk-RPDJXB3U.js.map +0 -1
- package/dist/chunk-TLGZSXTU.cjs.map +0 -1
package/context7.json
CHANGED
|
@@ -12,7 +12,14 @@ interface JsonRenderResultProps {
|
|
|
12
12
|
}>;
|
|
13
13
|
/** API key for authenticated requests (form submissions etc.) */
|
|
14
14
|
apiKey?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Same-origin guard for apiKey injection. `call_api` actions only
|
|
17
|
+
* attach the Bearer token when the target URL starts with this
|
|
18
|
+
* endpoint — prevents the key leaking to third-party URLs referenced
|
|
19
|
+
* in a tool spec (e.g. user-generated specs in data_store tools).
|
|
20
|
+
*/
|
|
21
|
+
apiEndpoint?: string;
|
|
15
22
|
}
|
|
16
|
-
declare function JsonRenderResult({ spec: rawSpec, data, onSendMessage, className, conversationMessages, apiKey, }: JsonRenderResultProps): react_jsx_runtime.JSX.Element;
|
|
23
|
+
declare function JsonRenderResult({ spec: rawSpec, data, onSendMessage, className, conversationMessages, apiKey, apiEndpoint, }: JsonRenderResultProps): react_jsx_runtime.JSX.Element;
|
|
17
24
|
|
|
18
25
|
export { JsonRenderResult as J };
|
|
@@ -12,7 +12,14 @@ interface JsonRenderResultProps {
|
|
|
12
12
|
}>;
|
|
13
13
|
/** API key for authenticated requests (form submissions etc.) */
|
|
14
14
|
apiKey?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Same-origin guard for apiKey injection. `call_api` actions only
|
|
17
|
+
* attach the Bearer token when the target URL starts with this
|
|
18
|
+
* endpoint — prevents the key leaking to third-party URLs referenced
|
|
19
|
+
* in a tool spec (e.g. user-generated specs in data_store tools).
|
|
20
|
+
*/
|
|
21
|
+
apiEndpoint?: string;
|
|
15
22
|
}
|
|
16
|
-
declare function JsonRenderResult({ spec: rawSpec, data, onSendMessage, className, conversationMessages, apiKey, }: JsonRenderResultProps): react_jsx_runtime.JSX.Element;
|
|
23
|
+
declare function JsonRenderResult({ spec: rawSpec, data, onSendMessage, className, conversationMessages, apiKey, apiEndpoint, }: JsonRenderResultProps): react_jsx_runtime.JSX.Element;
|
|
17
24
|
|
|
18
25
|
export { JsonRenderResult as J };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"JsonRenderResult-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"JsonRenderResult-GCNFMZYP.js"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
var chunkH7C3AGA2_cjs = require('./chunk-H7C3AGA2.cjs');
|
|
5
|
+
require('./chunk-Q7T3VAJV.cjs');
|
|
6
|
+
require('./chunk-525KS5HM.cjs');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Object.defineProperty(exports, "JsonRenderResult", {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () { return chunkH7C3AGA2_cjs.JsonRenderResult; }
|
|
13
|
+
});
|
|
14
|
+
//# sourceMappingURL=JsonRenderResult-II3IBENS.cjs.map
|
|
15
|
+
//# sourceMappingURL=JsonRenderResult-II3IBENS.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"JsonRenderResult-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"JsonRenderResult-II3IBENS.cjs"}
|
|
@@ -5,7 +5,7 @@ var chunkNYQSM3EB_cjs = require('./chunk-NYQSM3EB.cjs');
|
|
|
5
5
|
var chunkP3RPAI4F_cjs = require('./chunk-P3RPAI4F.cjs');
|
|
6
6
|
var chunk4WOBNRRB_cjs = require('./chunk-4WOBNRRB.cjs');
|
|
7
7
|
var chunk3MP2EGEJ_cjs = require('./chunk-3MP2EGEJ.cjs');
|
|
8
|
-
var
|
|
8
|
+
var chunk7IFBPXT3_cjs = require('./chunk-7IFBPXT3.cjs');
|
|
9
9
|
var chunkBPV66QNM_cjs = require('./chunk-BPV66QNM.cjs');
|
|
10
10
|
var chunk525KS5HM_cjs = require('./chunk-525KS5HM.cjs');
|
|
11
11
|
var react = require('react');
|
|
@@ -1053,7 +1053,7 @@ function ChatInterface(props) {
|
|
|
1053
1053
|
{
|
|
1054
1054
|
label: `tool "${toolName}"`,
|
|
1055
1055
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1056
|
-
|
|
1056
|
+
chunk7IFBPXT3_cjs.ToolRenderer,
|
|
1057
1057
|
{
|
|
1058
1058
|
toolName,
|
|
1059
1059
|
state: part.state ?? "output-available",
|
|
@@ -1786,5 +1786,5 @@ exports.PreviewEmbedPanel = PreviewEmbedPanel;
|
|
|
1786
1786
|
exports.QuickQuestions = QuickQuestions;
|
|
1787
1787
|
exports.SystemMessage = SystemMessage;
|
|
1788
1788
|
exports.WelcomePage = WelcomePage;
|
|
1789
|
-
//# sourceMappingURL=chunk-
|
|
1790
|
-
//# sourceMappingURL=chunk-
|
|
1789
|
+
//# sourceMappingURL=chunk-5XF7KH6B.cjs.map
|
|
1790
|
+
//# sourceMappingURL=chunk-5XF7KH6B.cjs.map
|