@trops/dash-core 0.1.318 → 0.1.320
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/electron/index.js +7 -3
- package/dist/electron/index.js.map +1 -1
- package/dist/index.esm.js +37 -43
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -54203,7 +54203,9 @@ function ChatCore(_ref) {
|
|
|
54203
54203
|
_ref$onPublishEvent = _ref.onPublishEvent,
|
|
54204
54204
|
onPublishEvent = _ref$onPublishEvent === void 0 ? null : _ref$onPublishEvent,
|
|
54205
54205
|
_ref$hideToolsBanner = _ref.hideToolsBanner,
|
|
54206
|
-
hideToolsBanner = _ref$hideToolsBanner === void 0 ? false : _ref$hideToolsBanner
|
|
54206
|
+
hideToolsBanner = _ref$hideToolsBanner === void 0 ? false : _ref$hideToolsBanner,
|
|
54207
|
+
_ref$cwd = _ref.cwd,
|
|
54208
|
+
cwd = _ref$cwd === void 0 ? null : _ref$cwd;
|
|
54207
54209
|
var mainApi = window.mainApi;
|
|
54208
54210
|
|
|
54209
54211
|
// Conversation state
|
|
@@ -54512,7 +54514,8 @@ function ChatCore(_ref) {
|
|
|
54512
54514
|
toolServerMap: toolServerMap,
|
|
54513
54515
|
systemPrompt: systemPrompt,
|
|
54514
54516
|
maxToolRounds: parseInt(maxToolRounds, 10) || 10,
|
|
54515
|
-
widgetUuid: uuid || persistKey
|
|
54517
|
+
widgetUuid: uuid || persistKey,
|
|
54518
|
+
cwd: cwd || undefined
|
|
54516
54519
|
});
|
|
54517
54520
|
}, [mainApi, isLoading, messages, servers, enabledTools, apiKey, model, systemPrompt, maxToolRounds, uuid, persistKey, onPublishEvent, backend, isAnthropicBackend]);
|
|
54518
54521
|
|