@copilotkit/react-core 2.0.0-rc.47 → 2.0.0-rc.48
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/headless.cjs.map +1 -1
- package/dist/headless.d.cts +3 -1
- package/dist/headless.d.cts.map +1 -1
- package/dist/headless.d.mts +3 -1
- package/dist/headless.d.mts.map +1 -1
- package/dist/headless.mjs.map +1 -1
- package/dist/index.cjs +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -2
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +4 -2
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +3 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +7 -7
package/dist/index.umd.js
CHANGED
|
@@ -1377,7 +1377,7 @@ _radix_ui_react_popover = __toESM(_radix_ui_react_popover);
|
|
|
1377
1377
|
|
|
1378
1378
|
//#endregion
|
|
1379
1379
|
//#region package.json
|
|
1380
|
-
var version$1 = "2.0.0-rc.
|
|
1380
|
+
var version$1 = "2.0.0-rc.48";
|
|
1381
1381
|
|
|
1382
1382
|
//#endregion
|
|
1383
1383
|
//#region src/components/CopilotKitInspector.tsx
|
|
@@ -15724,7 +15724,8 @@ _radix_ui_react_popover = __toESM(_radix_ui_react_popover);
|
|
|
15724
15724
|
*/
|
|
15725
15725
|
function CopilotThreadsDrawer({ agentId, onThreadSelect, onNewThread, onLicensed, licenseUrl, renderRow, label, recentLabel, collapsible, onCollapseChange, limit, "data-testid": dataTestId = "copilot-threads-drawer" }) {
|
|
15726
15726
|
const configuration = useCopilotChatConfiguration();
|
|
15727
|
-
const
|
|
15727
|
+
const copilotkit = (0, react.useContext)(CopilotKitContext)?.copilotkit;
|
|
15728
|
+
const { licensed, licensePending } = (0, _copilotkit_core.ɵresolveThreadsLicense)(useLicenseContext(), copilotkit?.ɵruntimeInfo);
|
|
15728
15729
|
const providerAgentId = useDefaultAgentId();
|
|
15729
15730
|
const resolvedAgentId = (0, _copilotkit_core.ɵresolveAgentId)({
|
|
15730
15731
|
agentId,
|