@iblai/iblai-js 1.11.3 → 1.11.4
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.
|
@@ -32986,7 +32986,7 @@ const subsetToRegexCache = new WeakMap();
|
|
|
32986
32986
|
* @param {CoreWithFormatOptions} options
|
|
32987
32987
|
* @returns {string}
|
|
32988
32988
|
*/
|
|
32989
|
-
function core$
|
|
32989
|
+
function core$1(value, options) {
|
|
32990
32990
|
value = value.replace(
|
|
32991
32991
|
options.subset
|
|
32992
32992
|
? charactersToExpressionCached(options.subset)
|
|
@@ -33635,7 +33635,7 @@ function formatSmart(code, next, options) {
|
|
|
33635
33635
|
* Encoded value.
|
|
33636
33636
|
*/
|
|
33637
33637
|
function stringifyEntities(value, options) {
|
|
33638
|
-
return core$
|
|
33638
|
+
return core$1(value, Object.assign({format: formatSmart}, options))
|
|
33639
33639
|
}
|
|
33640
33640
|
|
|
33641
33641
|
/**
|
|
@@ -170692,7 +170692,7 @@ Refractor.prototype = Prism;
|
|
|
170692
170692
|
var refract = new Refractor();
|
|
170693
170693
|
|
|
170694
170694
|
// Expose.
|
|
170695
|
-
var core
|
|
170695
|
+
var core = refract;
|
|
170696
170696
|
|
|
170697
170697
|
// Create.
|
|
170698
170698
|
refract.highlight = highlight;
|
|
@@ -194461,7 +194461,7 @@ function requireZig () {
|
|
|
194461
194461
|
return zig_1;
|
|
194462
194462
|
}
|
|
194463
194463
|
|
|
194464
|
-
var refractor = core
|
|
194464
|
+
var refractor = core;
|
|
194465
194465
|
|
|
194466
194466
|
var refractor_1 = refractor;
|
|
194467
194467
|
|
|
@@ -201791,8 +201791,8 @@ const TAURI_COMMANDS = {
|
|
|
201791
201791
|
*/
|
|
201792
201792
|
const getTauriAPIs = async () => {
|
|
201793
201793
|
try {
|
|
201794
|
-
const { invoke } = await
|
|
201795
|
-
const { listen } = await
|
|
201794
|
+
const { invoke } = await import('@tauri-apps/api/core');
|
|
201795
|
+
const { listen } = await import('@tauri-apps/api/event');
|
|
201796
201796
|
return { invoke, listen };
|
|
201797
201797
|
}
|
|
201798
201798
|
catch (error) {
|
|
@@ -219330,152 +219330,6 @@ function AgentTasksTab({ PaginationComponent = DefaultTasksPagination, labels: l
|
|
|
219330
219330
|
}, selectedLog: selectedLog, labels: labels }))] }));
|
|
219331
219331
|
}
|
|
219332
219332
|
|
|
219333
|
-
/******************************************************************************
|
|
219334
|
-
Copyright (c) Microsoft Corporation.
|
|
219335
|
-
|
|
219336
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
219337
|
-
purpose with or without fee is hereby granted.
|
|
219338
|
-
|
|
219339
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
219340
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
219341
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
219342
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
219343
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
219344
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
219345
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
219346
|
-
***************************************************************************** */
|
|
219347
|
-
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
|
|
219348
|
-
|
|
219349
|
-
|
|
219350
|
-
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
219351
|
-
var e = new Error(message);
|
|
219352
|
-
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
219353
|
-
};
|
|
219354
|
-
|
|
219355
|
-
/**
|
|
219356
|
-
* Stores the callback in a known location, and returns an identifier that can be passed to the backend.
|
|
219357
|
-
* The backend uses the identifier to `eval()` the callback.
|
|
219358
|
-
*
|
|
219359
|
-
* @return An unique identifier associated with the callback function.
|
|
219360
|
-
*
|
|
219361
|
-
* @since 1.0.0
|
|
219362
|
-
*/
|
|
219363
|
-
function transformCallback(
|
|
219364
|
-
// TODO: Make this not optional in v3
|
|
219365
|
-
callback, once = false) {
|
|
219366
|
-
return window.__TAURI_INTERNALS__.transformCallback(callback, once);
|
|
219367
|
-
}
|
|
219368
|
-
/**
|
|
219369
|
-
* Sends a message to the backend.
|
|
219370
|
-
* @example
|
|
219371
|
-
* ```typescript
|
|
219372
|
-
* import { invoke } from '@tauri-apps/api/core';
|
|
219373
|
-
* await invoke('login', { user: 'tauri', password: 'poiwe3h4r5ip3yrhtew9ty' });
|
|
219374
|
-
* ```
|
|
219375
|
-
*
|
|
219376
|
-
* @param cmd The command name.
|
|
219377
|
-
* @param args The optional arguments to pass to the command.
|
|
219378
|
-
* @param options The request options.
|
|
219379
|
-
* @return A promise resolving or rejecting to the backend response.
|
|
219380
|
-
*
|
|
219381
|
-
* @since 1.0.0
|
|
219382
|
-
*/
|
|
219383
|
-
async function invoke(cmd, args = {}, options) {
|
|
219384
|
-
return window.__TAURI_INTERNALS__.invoke(cmd, args, options);
|
|
219385
|
-
}
|
|
219386
|
-
|
|
219387
|
-
var core = /*#__PURE__*/Object.freeze({
|
|
219388
|
-
__proto__: null,
|
|
219389
|
-
invoke: invoke,
|
|
219390
|
-
transformCallback: transformCallback
|
|
219391
|
-
});
|
|
219392
|
-
|
|
219393
|
-
// Copyright 2019-2024 Tauri Programme within The Commons Conservancy
|
|
219394
|
-
// SPDX-License-Identifier: Apache-2.0
|
|
219395
|
-
// SPDX-License-Identifier: MIT
|
|
219396
|
-
/**
|
|
219397
|
-
* The event system allows you to emit events to the backend and listen to events from it.
|
|
219398
|
-
*
|
|
219399
|
-
* This package is also accessible with `window.__TAURI__.event` when [`app.withGlobalTauri`](https://v2.tauri.app/reference/config/#withglobaltauri) in `tauri.conf.json` is set to `true`.
|
|
219400
|
-
* @module
|
|
219401
|
-
*/
|
|
219402
|
-
/**
|
|
219403
|
-
* @since 1.1.0
|
|
219404
|
-
*/
|
|
219405
|
-
var TauriEvent;
|
|
219406
|
-
(function (TauriEvent) {
|
|
219407
|
-
TauriEvent["WINDOW_RESIZED"] = "tauri://resize";
|
|
219408
|
-
TauriEvent["WINDOW_MOVED"] = "tauri://move";
|
|
219409
|
-
TauriEvent["WINDOW_CLOSE_REQUESTED"] = "tauri://close-requested";
|
|
219410
|
-
TauriEvent["WINDOW_DESTROYED"] = "tauri://destroyed";
|
|
219411
|
-
TauriEvent["WINDOW_FOCUS"] = "tauri://focus";
|
|
219412
|
-
TauriEvent["WINDOW_BLUR"] = "tauri://blur";
|
|
219413
|
-
TauriEvent["WINDOW_SCALE_FACTOR_CHANGED"] = "tauri://scale-change";
|
|
219414
|
-
TauriEvent["WINDOW_THEME_CHANGED"] = "tauri://theme-changed";
|
|
219415
|
-
TauriEvent["WINDOW_CREATED"] = "tauri://window-created";
|
|
219416
|
-
TauriEvent["WEBVIEW_CREATED"] = "tauri://webview-created";
|
|
219417
|
-
TauriEvent["DRAG_ENTER"] = "tauri://drag-enter";
|
|
219418
|
-
TauriEvent["DRAG_OVER"] = "tauri://drag-over";
|
|
219419
|
-
TauriEvent["DRAG_DROP"] = "tauri://drag-drop";
|
|
219420
|
-
TauriEvent["DRAG_LEAVE"] = "tauri://drag-leave";
|
|
219421
|
-
})(TauriEvent || (TauriEvent = {}));
|
|
219422
|
-
/**
|
|
219423
|
-
* Unregister the event listener associated with the given name and id.
|
|
219424
|
-
*
|
|
219425
|
-
* @ignore
|
|
219426
|
-
* @param event The event name
|
|
219427
|
-
* @param eventId Event identifier
|
|
219428
|
-
* @returns
|
|
219429
|
-
*/
|
|
219430
|
-
async function _unlisten(event, eventId) {
|
|
219431
|
-
window.__TAURI_EVENT_PLUGIN_INTERNALS__.unregisterListener(event, eventId);
|
|
219432
|
-
await invoke('plugin:event|unlisten', {
|
|
219433
|
-
event,
|
|
219434
|
-
eventId
|
|
219435
|
-
});
|
|
219436
|
-
}
|
|
219437
|
-
/**
|
|
219438
|
-
* Listen to an emitted event to any {@link EventTarget|target}.
|
|
219439
|
-
*
|
|
219440
|
-
* @example
|
|
219441
|
-
* ```typescript
|
|
219442
|
-
* import { listen } from '@tauri-apps/api/event';
|
|
219443
|
-
* const unlisten = await listen<string>('error', (event) => {
|
|
219444
|
-
* console.log(`Got error, payload: ${event.payload}`);
|
|
219445
|
-
* });
|
|
219446
|
-
*
|
|
219447
|
-
* // you need to call unlisten if your handler goes out of scope e.g. the component is unmounted
|
|
219448
|
-
* unlisten();
|
|
219449
|
-
* ```
|
|
219450
|
-
*
|
|
219451
|
-
* @param event Event name. Must include only alphanumeric characters, `-`, `/`, `:` and `_`.
|
|
219452
|
-
* @param handler Event handler callback.
|
|
219453
|
-
* @param options Event listening options.
|
|
219454
|
-
* @returns A promise resolving to a function to unlisten to the event.
|
|
219455
|
-
* Note that removing the listener is required if your listener goes out of scope e.g. the component is unmounted.
|
|
219456
|
-
*
|
|
219457
|
-
* @since 1.0.0
|
|
219458
|
-
*/
|
|
219459
|
-
async function listen(event, handler, options) {
|
|
219460
|
-
var _a;
|
|
219461
|
-
const target = typeof (options === null || options === void 0 ? void 0 : options.target) === 'string'
|
|
219462
|
-
? { kind: 'AnyLabel', label: options.target }
|
|
219463
|
-
: ((_a = options === null || options === void 0 ? void 0 : options.target) !== null && _a !== void 0 ? _a : { kind: 'Any' });
|
|
219464
|
-
return invoke('plugin:event|listen', {
|
|
219465
|
-
event,
|
|
219466
|
-
target,
|
|
219467
|
-
handler: transformCallback(handler)
|
|
219468
|
-
}).then((eventId) => {
|
|
219469
|
-
return async () => _unlisten(event, eventId);
|
|
219470
|
-
});
|
|
219471
|
-
}
|
|
219472
|
-
|
|
219473
|
-
var event = /*#__PURE__*/Object.freeze({
|
|
219474
|
-
__proto__: null,
|
|
219475
|
-
get TauriEvent () { return TauriEvent; },
|
|
219476
|
-
listen: listen
|
|
219477
|
-
});
|
|
219478
|
-
|
|
219479
219333
|
function EditMemoryModal({ open, onOpenChange, editContent, editCategory, onContentChange, onCategoryChange, onSave, onCancel, categories, isSaving, }) {
|
|
219480
219334
|
return (jsx(Dialog, { open: open, onOpenChange: onOpenChange, children: jsxs(DialogContent, { className: "mx-4 max-w-2xl sm:mx-auto", children: [jsx(DialogHeader, { children: jsx(DialogTitle, { className: "text-gray-700", children: "Edit Memory" }) }), jsxs("div", { className: "mt-4 space-y-4", children: [jsxs("div", { children: [jsx("label", { className: "text-sm font-medium text-gray-600", children: "Category" }), jsxs(Select$1, { value: editCategory, onValueChange: onCategoryChange, children: [jsx(SelectTrigger, { className: "mt-1", children: jsx(SelectValue, { placeholder: "Select a memory category" }) }), jsx(SelectContent, { children: categories
|
|
219481
219335
|
.filter((cat) => cat !== 'All')
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iblai/iblai-js",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.4",
|
|
4
4
|
"description": "Unified JavaScript SDK for IBL.ai — re-exports data-layer, web-containers, and web-utils under a single package",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -61,10 +61,10 @@
|
|
|
61
61
|
"axios": "1.13.6",
|
|
62
62
|
"dotenv": "16.6.1",
|
|
63
63
|
"winston": "3.19.0",
|
|
64
|
+
"@iblai/mcp": "1.4.14",
|
|
64
65
|
"@iblai/data-layer": "1.5.10",
|
|
65
|
-
"@iblai/
|
|
66
|
-
"@iblai/web-
|
|
67
|
-
"@iblai/web-utils": "1.7.0"
|
|
66
|
+
"@iblai/web-containers": "1.7.4",
|
|
67
|
+
"@iblai/web-utils": "1.7.1"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|
|
70
70
|
"@radix-ui/react-dialog": "^1.1.7",
|