@botharness/core 1.5.1 → 1.5.2

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/CHANGELOG.md CHANGED
@@ -6,7 +6,31 @@ Unreleased entries arrive as [change fragments](changes/README.md) and are folde
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
- No changes since 1.5.1 yet.
9
+ No changes since 1.5.2 yet.
10
+
11
+ ## [1.5.2] - 2026-10-25
12
+
13
+ Tobs enables native desktop window zoom by default and improves Computer runtime reuse and setup recovery on Windows and macOS.
14
+
15
+ Mobile entries describe independently versioned app changes; this npm release does not publish or qualify Android/iOS binaries.
16
+
17
+ ### Documentation
18
+
19
+ - Updated installation guides to the verified Tobs 1.5.1 packages and clarified the new `tobs` command and retained `deepseekbot` compatibility entry ([#2751](https://github.com/BotHarness/DeepSeekBot/issues/2751)).
20
+
21
+ ### Fixed
22
+
23
+ - Fixed macOS Computer setup in the DSH desktop app treating capture-runtime archives as virtual folders, so verified installations can be reused instead of downloading again; download progress now clears during verification and installation, and localized setup errors guide users to missing macOS permissions ([#2761](https://github.com/BotHarness/DeepSeekBot/issues/2761)).
24
+
25
+ - Fixed mobile Marketplace Bot imports refused before creation, combined source checking and importing into one action, and removed the continuation footer below Home navigation on iOS and Android ([#2768](https://github.com/BotHarness/DeepSeekBot/issues/2768)).
26
+
27
+ - Fixed Windows Computer setup in the desktop app rejecting verified capture runtimes and exposing ASAR cleanup errors; installed components are reused, completed download progress clears, and setup failures use localized guidance ([#2771](https://github.com/BotHarness/DeepSeekBot/issues/2771)).
28
+
29
+ - Restored the Android section sheet's title and Close, New section, Back and Create actions, so a chat can be added to a newly created section ([#2773](https://github.com/BotHarness/DeepSeekBot/issues/2773)).
30
+
31
+ ### Changed
32
+
33
+ - Native macOS and Windows Desktop loads whole-window zoom with the Tobs Bundle, without a separate setup command; browser zoom and native font preferences remain separate ([#2775](https://github.com/BotHarness/DeepSeekBot/issues/2775)).
10
34
 
11
35
  ## [1.5.1] - 2026-10-25
12
36
 
package/CHANGELOG.zh.md CHANGED
@@ -6,7 +6,31 @@
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
- 1.5.1 之后暂无变更。
9
+ 1.5.2 之后暂无变更。
10
+
11
+ ## [1.5.2] - 2026-10-25
12
+
13
+ Tobs 默认启用原生桌面窗口缩放,并改进 Windows 和 macOS 的 Computer 运行时复用与安装错误恢复。
14
+
15
+ 移动端条目描述独立版本应用的变化;本次 npm 发布不发布或验收 Android/iOS 安装包。
16
+
17
+ ### Documentation
18
+
19
+ - 将安装指南更新为已验证的 Tobs 1.5.1 发布包,说明新的 `tobs` 命令与保留的 `deepseekbot` 兼容入口([#2751](https://github.com/BotHarness/DeepSeekBot/issues/2751))。
20
+
21
+ ### Fixed
22
+
23
+ - 修复 macOS 上 DSH 桌面应用将录屏运行时归档误当成虚拟目录的问题,使已校验的安装可以复用而不再重复下载;进入校验与安装阶段后清除下载进度,并以本地化错误提示引导用户打开缺失的 macOS 权限设置([#2761](https://github.com/BotHarness/DeepSeekBot/issues/2761))。
24
+
25
+ - 修复移动端从市场导入 Bot 在创建前被拒绝的问题,将来源检查与导入合并为一个操作,并移除 iOS 和 Android 首页导航下方的继续创建入口([#2768](https://github.com/BotHarness/DeepSeekBot/issues/2768))。
26
+
27
+ - 修复 Windows 桌面应用拒绝复用已校验的录屏组件并暴露 ASAR 清理错误的问题;安装完成后可复用组件,校验与安装时清除下载进度,并显示本地化错误提示([#2771](https://github.com/BotHarness/DeepSeekBot/issues/2771))。
28
+
29
+ - 修复 Android 分区弹层缺少标题、关闭、新建分区、返回及创建操作的问题,可以创建新分区并将聊天加入其中([#2773](https://github.com/BotHarness/DeepSeekBot/issues/2773))。
30
+
31
+ ### Changed
32
+
33
+ - macOS 和 Windows 原生桌面随 Tobs Bundle 默认加载整窗口缩放,无需额外启用命令;浏览器缩放与原生字体偏好保持独立([#2775](https://github.com/BotHarness/DeepSeekBot/issues/2775))。
10
34
 
11
35
  ## [1.5.1] - 2026-10-25
12
36
 
package/cli/index.mjs CHANGED
@@ -18788,6 +18788,7 @@ async function runChannelCommand(command, rest, input, io, connect) {
18788
18788
  //#endregion
18789
18789
  //#region packages/core/src/bots/cli-browser-computer.ts
18790
18790
  const BROWSER_COMPUTER_OPTIONS = {
18791
+ permission: { type: "string" },
18791
18792
  tab: { type: "string" },
18792
18793
  profile: { type: "string" },
18793
18794
  package: {
@@ -18803,6 +18804,10 @@ const BROWSER_COMPUTER_OPTIONS = {
18803
18804
  probe: { type: "boolean" }
18804
18805
  };
18805
18806
  const BROWSER_COMPUTER_COMMANDS = [
18807
+ {
18808
+ command: "computer-open-permission-settings",
18809
+ description: "open a macOS privacy pane on the Host (--permission accessibility|screen-recording, --confirm)"
18810
+ },
18806
18811
  {
18807
18812
  command: "browser-observation",
18808
18813
  description: "read a Bot's Browser state, tabs and current picture (--out saves the picture)"
@@ -18875,6 +18880,7 @@ const BOT_COMMANDS = [
18875
18880
  ];
18876
18881
  const FILE_COMMANDS = ["computer-upload", "computer-import"];
18877
18882
  const CONFIRMED = [
18883
+ "computer-open-permission-settings",
18878
18884
  "browser-install-packages",
18879
18885
  "computer-install-packages",
18880
18886
  "computer-import"
@@ -18974,7 +18980,8 @@ async function runBrowserComputerCommand(command, rest, values, io, connect) {
18974
18980
  const positionals = BOT_COMMANDS.includes(command) || FILE_COMMANDS.includes(command) ? 1 : 0;
18975
18981
  if (rest.length !== positionals || rest.some((value) => !value.trim())) usage$17(positionals === 0 ? `${command} takes no positional arguments.` : FILE_COMMANDS.includes(command) ? `${command} needs exactly one ${command === "computer-upload" ? "local file" : "archive name"}.` : `${command} needs exactly one bot id.`);
18976
18982
  const target = rest[0]?.trim() ?? "";
18977
- if (CONFIRMED.includes(command) && values.confirm !== true) usage$17(command === "computer-import" ? "computer-import replaces Container Computer data with the archive. Pass --confirm." : `${command} installs system packages on the Host. Pass --confirm.`);
18983
+ if (command === "computer-open-permission-settings" && !["accessibility", "screen-recording"].includes(values.permission ?? "")) usage$17("--permission must be accessibility or screen-recording.");
18984
+ if (CONFIRMED.includes(command) && values.confirm !== true) usage$17(command === "computer-open-permission-settings" ? "Opening the Host system settings requires --confirm." : command === "computer-import" ? "computer-import replaces Container Computer data with the archive. Pass --confirm." : `${command} installs system packages on the Host. Pass --confirm.`);
18978
18985
  if (values.out !== void 0 && !absolute(values.out)) usage$17("--out must be an absolute file path.");
18979
18986
  if (values.dir !== void 0 && !absolute(values.dir)) usage$17("--dir must be an absolute folder.");
18980
18987
  const viewer = values.viewer?.trim() ?? "";
@@ -19135,6 +19142,10 @@ async function runBrowserComputerCommand(command, rest, values, io, connect) {
19135
19142
  authorize: true,
19136
19143
  file: target
19137
19144
  });
19145
+ case "computer-open-permission-settings": return json("/api/computer/open-permission-settings", {
19146
+ authorize: true,
19147
+ permission: values.permission
19148
+ });
19138
19149
  case "computer-open-dir": return json("/api/computer/open-dir", {
19139
19150
  authorize: true,
19140
19151
  ...values.dir === void 0 ? {} : { dir: values.dir }
package/dist/index.mjs CHANGED
@@ -37048,6 +37048,7 @@ async function runBotToolCommand(command, rest, values, io, connect) {
37048
37048
  //#endregion
37049
37049
  //#region packages/core/src/bots/cli-browser-computer.ts
37050
37050
  const BROWSER_COMPUTER_OPTIONS = {
37051
+ permission: { type: "string" },
37051
37052
  tab: { type: "string" },
37052
37053
  profile: { type: "string" },
37053
37054
  package: {
@@ -37063,6 +37064,10 @@ const BROWSER_COMPUTER_OPTIONS = {
37063
37064
  probe: { type: "boolean" }
37064
37065
  };
37065
37066
  const BROWSER_COMPUTER_COMMANDS = [
37067
+ {
37068
+ command: "computer-open-permission-settings",
37069
+ description: "open a macOS privacy pane on the Host (--permission accessibility|screen-recording, --confirm)"
37070
+ },
37066
37071
  {
37067
37072
  command: "browser-observation",
37068
37073
  description: "read a Bot's Browser state, tabs and current picture (--out saves the picture)"
@@ -37135,6 +37140,7 @@ const BOT_COMMANDS = [
37135
37140
  ];
37136
37141
  const FILE_COMMANDS = ["computer-upload", "computer-import"];
37137
37142
  const CONFIRMED = [
37143
+ "computer-open-permission-settings",
37138
37144
  "browser-install-packages",
37139
37145
  "computer-install-packages",
37140
37146
  "computer-import"
@@ -37234,7 +37240,8 @@ async function runBrowserComputerCommand(command, rest, values, io, connect) {
37234
37240
  const positionals = BOT_COMMANDS.includes(command) || FILE_COMMANDS.includes(command) ? 1 : 0;
37235
37241
  if (rest.length !== positionals || rest.some((value) => !value.trim())) usage$16(positionals === 0 ? `${command} takes no positional arguments.` : FILE_COMMANDS.includes(command) ? `${command} needs exactly one ${command === "computer-upload" ? "local file" : "archive name"}.` : `${command} needs exactly one bot id.`);
37236
37242
  const target = rest[0]?.trim() ?? "";
37237
- if (CONFIRMED.includes(command) && values.confirm !== true) usage$16(command === "computer-import" ? "computer-import replaces Container Computer data with the archive. Pass --confirm." : `${command} installs system packages on the Host. Pass --confirm.`);
37243
+ if (command === "computer-open-permission-settings" && !["accessibility", "screen-recording"].includes(values.permission ?? "")) usage$16("--permission must be accessibility or screen-recording.");
37244
+ if (CONFIRMED.includes(command) && values.confirm !== true) usage$16(command === "computer-open-permission-settings" ? "Opening the Host system settings requires --confirm." : command === "computer-import" ? "computer-import replaces Container Computer data with the archive. Pass --confirm." : `${command} installs system packages on the Host. Pass --confirm.`);
37238
37245
  if (values.out !== void 0 && !absolute(values.out)) usage$16("--out must be an absolute file path.");
37239
37246
  if (values.dir !== void 0 && !absolute(values.dir)) usage$16("--dir must be an absolute folder.");
37240
37247
  const viewer = values.viewer?.trim() ?? "";
@@ -37395,6 +37402,10 @@ async function runBrowserComputerCommand(command, rest, values, io, connect) {
37395
37402
  authorize: true,
37396
37403
  file: target
37397
37404
  });
37405
+ case "computer-open-permission-settings": return json("/api/computer/open-permission-settings", {
37406
+ authorize: true,
37407
+ permission: values.permission
37408
+ });
37398
37409
  case "computer-open-dir": return json("/api/computer/open-dir", {
37399
37410
  authorize: true,
37400
37411
  ...values.dir === void 0 ? {} : { dir: values.dir }
@@ -139293,7 +139304,7 @@ function developmentIdentity(moduleUrl) {
139293
139304
  reason: "metadata-invalid"
139294
139305
  };
139295
139306
  const source = {
139296
- "revision": "d2e1723d5bfc27f00463e8e093c28c6a5917a260",
139307
+ "revision": "adbd3df05cece9aca0c86e7cca5ff22ce0e115c8",
139297
139308
  "dirty": false
139298
139309
  };
139299
139310
  return source !== null && /^[a-f0-9]{40}$/u.test(source.revision) && typeof source.dirty === "boolean" ? {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botharness/core",
3
- "version": "1.5.1",
3
+ "version": "1.5.2",
4
4
  "description": "BotHarness core: PersonaBot registry, memory, and state",
5
5
  "files": [
6
6
  "dist",