@qilin-agent/client-ui-agent-opens 3.1.3 → 3.1.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.
package/README.i18n.yaml CHANGED
@@ -5,18 +5,18 @@
5
5
  /:
6
6
  en: 4229f048f4b85bcf
7
7
  zh: 6f3bcf3fa8f84842
8
- /qilin-client-ui-agent-opens:
9
- en: 5e211958f9b9125a
10
- zh: 6e44e7b616852f3b
11
- /qilin-client-ui-agent-opens/summary:
12
- en: ab228b85522273b5
13
- zh: 0799db69741f07c6
14
- /qilin-client-ui-agent-opens/table-of-contents:
8
+ /qilin-agent-client-ui-agent-opens:
9
+ en: a31b09629eb46014
10
+ zh: 6ee9e70800b55597
11
+ /qilin-agent-client-ui-agent-opens/summary:
12
+ en: bb3890ac41712ef3
13
+ zh: 3eceee804cd46e35
14
+ /qilin-agent-client-ui-agent-opens/table-of-contents:
15
15
  en: 8be5c7fe49b63b1f
16
16
  zh: c698cfc8c561a921
17
- /qilin-client-ui-agent-opens/known-limitations-and-deferred-work:
17
+ /qilin-agent-client-ui-agent-opens/known-limitations-and-deferred-work:
18
18
  en: 2284af55257e37c1
19
19
  zh: b2663a37bcd536da
20
- /qilin-client-ui-agent-opens/known-limitations-and-deferred-work/dev-note:
20
+ /qilin-agent-client-ui-agent-opens/known-limitations-and-deferred-work/dev-note:
21
21
  en: e67f633dc6fe7773
22
22
  zh: 4e706f1b2b984e63
package/README.md CHANGED
@@ -9,7 +9,7 @@ English | [中文](README.zh.md)
9
9
 
10
10
  ## Summary
11
11
 
12
- The browser half of `sidebar_open`: it follows `ctx.remote.sidebarOpens.watch` for the Session the user is viewing and opens each request there. A page opens in the built-in browser when `@qilin-agent/client-ui-sidebar-browser` is composed and in a new browser tab otherwise; a file opens through its resource address, because which tab type claims an address is the Sidebar's decision. The plugin keeps no state: a request is delivered once and never replayed.
12
+ The browser half of `sidebar_open`: it follows `ctx.remote.sidebarOpens.watch` for the viewed Session and opens each request there. A page opens in the built-in browser when `@qilin-agent/client-ui-sidebar-browser` is composed and in a new browser tab otherwise; a file opens through its resource address, because the Sidebar decides which tab type claims an address. It keeps no state: a request is delivered once and never replayed.
13
13
 
14
14
  ## Table of Contents
15
15
 
package/README.zh.md CHANGED
@@ -9,7 +9,7 @@ kind: "package-reference"
9
9
 
10
10
  ## 概述
11
11
 
12
- `sidebar_open` 的浏览器半边:跟随当前查看会话的 `ctx.remote.sidebarOpens.watch`,并在该会话的侧栏中打开每个请求。组合了 `@qilin-agent/client-ui-sidebar-browser` 时页面在**内置浏览器**中打开,否则退回新浏览器标签页;文件通过其资源地址打开,因为"哪个 tab 类型认领这个地址"是侧栏的决定。插件不保留状态:请求只投递一次,绝不重放。
12
+ `sidebar_open` 的浏览器半边:跟随所查看会话的 `ctx.remote.sidebarOpens.watch`,并在该会话的侧栏中打开每个请求。组合了 `@qilin-agent/client-ui-sidebar-browser` 时页面在**内置浏览器**中打开,否则退回新浏览器标签页;文件通过其资源地址打开,因为由侧栏决定哪个 tab 类型认领该地址。它不保留状态:请求只投递一次,绝不重放。
13
13
 
14
14
  ## 目录
15
15
 
package/lib/client.js CHANGED
@@ -66,6 +66,7 @@ window.__ModuleLoader__.load({
66
66
  /** Required browser services: the Remote carrier, the Sidebar's tabs, and the viewed Session. */
67
67
  const inject = [
68
68
  "remote",
69
+ "remote.sidebarOpens",
69
70
  "sidebarRight",
70
71
  "sidebarRightTabs",
71
72
  "sessions",
@@ -94,7 +95,9 @@ window.__ModuleLoader__.load({
94
95
  if (controller.signal.aborted) return;
95
96
  openRequested(ctx, sessionId, request);
96
97
  }
97
- } catch {}
98
+ } catch (error) {
99
+ if (!controller.signal.aborted) console.error("[ui-agent-opens] sidebarOpens.watch ended", error);
100
+ }
98
101
  })();
99
102
  };
100
103
  const unsubscribe = current.subscribe(sync);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@qilin-agent/client-ui-agent-opens",
3
3
  "description": "Opens what the model asked to see in the Session's Sidebar",
4
- "version": "3.1.3",
4
+ "version": "3.1.4",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -45,20 +45,20 @@
45
45
  "@qilin-agent/kylin": "~4.0.3"
46
46
  },
47
47
  "devDependencies": {
48
+ "@qilin-agent/api-remotes": "3.1.4",
49
+ "@qilin-agent/api-gateway": "3.1.4",
50
+ "@qilin-agent/client-locale": "3.1.4",
51
+ "@qilin-agent/client-store": "3.1.4",
52
+ "@qilin-agent/client-test-runtime": "3.1.4",
48
53
  "@qilin-agent/kylin": "~4.0.3",
49
- "@qilin-agent/api-gateway": "3.1.3",
50
- "@qilin-agent/client-locale": "3.1.3",
51
- "@qilin-agent/api-remotes": "3.1.3",
52
- "@qilin-agent/client-store": "3.1.3",
53
- "@qilin-agent/client-test-runtime": "3.1.3",
54
- "@qilin-agent/client-ui-renderer": "3.1.3",
55
- "@qilin-agent/client-ui-session": "3.1.3",
56
- "@qilin-agent/client-ui-sidebar-browser": "3.1.3",
57
- "@qilin-agent/client-ui-sidebar-right": "3.1.3",
58
- "@qilin-agent/client-ui-slots": "3.1.3",
59
- "@qilin-agent/util-workspace-path": "3.1.3",
60
- "@qilin-agent/sidebar-opens": "3.1.3",
61
- "@qilin-agent/session": "3.1.3"
54
+ "@qilin-agent/client-ui-renderer": "3.1.4",
55
+ "@qilin-agent/client-ui-sidebar-right": "3.1.4",
56
+ "@qilin-agent/client-ui-slots": "3.1.4",
57
+ "@qilin-agent/client-ui-sidebar-browser": "3.1.4",
58
+ "@qilin-agent/util-workspace-path": "3.1.4",
59
+ "@qilin-agent/sidebar-opens": "3.1.4",
60
+ "@qilin-agent/session": "3.1.4",
61
+ "@qilin-agent/client-ui-session": "3.1.4"
62
62
  },
63
63
  "files": [
64
64
  "lib/index.js",