@botharness/ui 1.2.1 → 1.3.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/THIRD_PARTY_NOTICES.md +31 -1
- package/dist/index.d.mts +2 -0
- package/dist/index.mjs +3 -2
- package/lib/client.js +65270 -41095
- package/lib/client.js.map +1 -1
- package/package.json +7 -2
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -69,7 +69,7 @@ SOFTWARE.
|
|
|
69
69
|
- Package: `lucide` icons (vendored glyph paths; see ADR-0032)
|
|
70
70
|
- License: ISC
|
|
71
71
|
- Source: <https://github.com/lucide-icons/lucide>
|
|
72
|
-
- Used for: Channel sidebar function/settings/check glyphs (`files`, `git-branch`, `messages-square`, `inbox`, `folder-key`, `users`, `settings-2`, `settings`, `monitor`, `globe`, `panels-top-left`, `grip-vertical`, `check`, `eye`, `eye-off`, from `lucide-react@1.46.0`) in `channel-sidebar-icon.tsx`; the `inbox` Activity Center glyph (`InboxIcon` in `src/client/inbox-icon.tsx`) and the `hash` channel glyph (`HashIcon` in `src/client/hash-icon.tsx`, from `lucide-react@1.46.0`)
|
|
72
|
+
- Used for: Channel sidebar function/settings/check glyphs (`files`, `git-branch`, `messages-square`, `inbox`, `folder-key`, `users`, `settings-2`, `settings`, `monitor`, `globe`, `panels-top-left`, `grip-vertical`, `check`, `eye`, `eye-off`, from `lucide-react@1.46.0`) in `channel-sidebar-icon.tsx`; the `inbox` Activity Center glyph (`InboxIcon` in `src/client/inbox-icon.tsx`) and the `hash` channel glyph (`HashIcon` in `src/client/hash-icon.tsx`, from `lucide-react@1.46.0`); the `git-commit-vertical` Memory commit glyph (`GitCommitIcon` in `src/client/git-commit-icon.tsx`, from `lucide-react@1.46.0`)
|
|
73
73
|
|
|
74
74
|
```
|
|
75
75
|
ISC License
|
|
@@ -176,3 +176,33 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
176
176
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
177
177
|
THE SOFTWARE.
|
|
178
178
|
```
|
|
179
|
+
|
|
180
|
+
## html-to-image
|
|
181
|
+
|
|
182
|
+
- Package: `html-to-image` 1.11.13, locally bundled.
|
|
183
|
+
- Source: <https://github.com/bubkoo/html-to-image>
|
|
184
|
+
- Use: renders selected chat messages to a PNG when the Human exports them as an image; nothing is uploaded.
|
|
185
|
+
|
|
186
|
+
```
|
|
187
|
+
MIT License
|
|
188
|
+
|
|
189
|
+
Copyright (c) 2017-2025 W.Y.
|
|
190
|
+
|
|
191
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
192
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
193
|
+
in the Software without restriction, including without limitation the rights
|
|
194
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
195
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
196
|
+
furnished to do so, subject to the following conditions:
|
|
197
|
+
|
|
198
|
+
The above copyright notice and this permission notice shall be included in all
|
|
199
|
+
copies or substantial portions of the Software.
|
|
200
|
+
|
|
201
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
202
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
203
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
204
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
205
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
206
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
207
|
+
SOFTWARE.
|
|
208
|
+
```
|
package/dist/index.d.mts
CHANGED
|
@@ -1361,6 +1361,7 @@ interface BotModeSettings {
|
|
|
1361
1361
|
assignmentConcurrencyLimit?: number;
|
|
1362
1362
|
autoAcceptGroupInvites?: boolean;
|
|
1363
1363
|
developerMode: boolean;
|
|
1364
|
+
showBotSessions?: boolean;
|
|
1364
1365
|
motionPreference: BotModeMotionPreference;
|
|
1365
1366
|
botIcon: BotModeIcon;
|
|
1366
1367
|
sortMode: BotModeSortMode;
|
|
@@ -1373,6 +1374,7 @@ export interface Config {
|
|
|
1373
1374
|
assignmentConcurrencyLimit: Volatile<number>;
|
|
1374
1375
|
autoAcceptGroupInvites: Volatile<boolean>;
|
|
1375
1376
|
developerMode: Volatile<boolean>;
|
|
1377
|
+
showBotSessions: Volatile<boolean>;
|
|
1376
1378
|
botIcon: Volatile<BotModeIcon>;
|
|
1377
1379
|
motionPreference: Volatile<BotModeMotionPreference>;
|
|
1378
1380
|
sortMode: Volatile<BotModeSortMode>;
|
package/dist/index.mjs
CHANGED
|
@@ -905,9 +905,10 @@ const DEFAULT_BOT_MODE_ICON = "mascot";
|
|
|
905
905
|
//#region packages/client/src/index.ts
|
|
906
906
|
const name = "botharness-client";
|
|
907
907
|
const Config = Schema.object({
|
|
908
|
-
assignmentConcurrencyLimit: Schema.number().min(1).max(32).step(1).default(
|
|
908
|
+
assignmentConcurrencyLimit: Schema.number().min(1).max(32).step(1).default(8).volatile(),
|
|
909
909
|
autoAcceptGroupInvites: Schema.boolean().default(true).volatile(),
|
|
910
910
|
developerMode: Schema.boolean().default(false).volatile(),
|
|
911
|
+
showBotSessions: Schema.boolean().default(true).volatile(),
|
|
911
912
|
botIcon: Schema.union([...BOT_MODE_ICONS]).default(DEFAULT_BOT_MODE_ICON).volatile(),
|
|
912
913
|
motionPreference: Schema.union([...BOT_MODE_MOTION_PREFERENCES]).default(DEFAULT_BOT_MODE_MOTION).volatile(),
|
|
913
914
|
sortMode: Schema.union([...BOT_MODE_SORT_MODES]).default(DEFAULT_BOT_MODE_SORT).volatile(),
|
|
@@ -919,7 +920,7 @@ function apply(ctx, config) {
|
|
|
919
920
|
if (core === void 0) return;
|
|
920
921
|
child.effect(() => core.configureGroupInvitations(() => config?.autoAcceptGroupInvites.get() ?? true));
|
|
921
922
|
const configureLimit = core.configureAssignmentConcurrencyLimit;
|
|
922
|
-
if (configureLimit !== void 0) child.effect(() => configureLimit(() => config?.assignmentConcurrencyLimit.get() ??
|
|
923
|
+
if (configureLimit !== void 0) child.effect(() => configureLimit(() => config?.assignmentConcurrencyLimit.get() ?? 8));
|
|
923
924
|
});
|
|
924
925
|
ctx.inject(["settings"], (child) => {
|
|
925
926
|
child.effect(() => child.settings.configure({ auto: false }, ctx.fiber));
|