@qilin-agent/client-ui-settings-session-log 0.0.0-stage → 3.1.3

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 kkutysllb
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,37 @@
1
+ # Bilingual-pair consistency record for README.md (docs/i18n/README.md): per heading
2
+ # section, a hash of its English and Chinese blocks outside code blocks and generated regions.
3
+ # After editing either side, bring the other along and re-record with:
4
+ # pnpm run verify-translation-pairing --write packages/client/ui-settings-session-log/README.md
5
+ /:
6
+ en: 71cee35d4ba9ca79
7
+ zh: c2aec2b4d3d7bd54
8
+ /qilin-client-ui-settings-session-log:
9
+ en: c98151984ea6bcbf
10
+ zh: 2b07e9f561391159
11
+ /qilin-client-ui-settings-session-log/summary:
12
+ en: 39c3846ca9dfd3e4
13
+ zh: 8a745b54482403f8
14
+ /qilin-client-ui-settings-session-log/table-of-contents:
15
+ en: d152484eb41ac6b4
16
+ zh: bda879a892f240f0
17
+ /qilin-client-ui-settings-session-log/use-this-package:
18
+ en: cf7f168744181569
19
+ zh: 1da24a0fb48b9ada
20
+ /qilin-client-ui-settings-session-log/understand-the-implementation:
21
+ en: 573cd565e22a6f6e
22
+ zh: d214978ce1c43a86
23
+ /qilin-client-ui-settings-session-log/further-exploration:
24
+ en: 0f83b5ddf1add8ad
25
+ zh: 6e58c09b4b315638
26
+ /qilin-client-ui-settings-session-log/model-experience:
27
+ en: dd26d7193f9ca4ce
28
+ zh: 954a7085b03beb8a
29
+ /qilin-client-ui-settings-session-log/model-experience/kv-cache-effect:
30
+ en: c8b5628ff5370218
31
+ zh: 5ebb7ff0959a3a69
32
+ /qilin-client-ui-settings-session-log/known-limitations-and-deferred-work:
33
+ en: a77d8093293518fa
34
+ zh: 0098c6b150a6d382
35
+ /qilin-client-ui-settings-session-log/known-limitations-and-deferred-work/dev-note:
36
+ en: 0a1253c6f7b5e8b9
37
+ zh: 9f56528562c7c914
package/README.md CHANGED
@@ -1,3 +1,69 @@
1
- # Temporary Holding Version
1
+ ---
2
+ description: "Control Session-log upload with DeepSeek API requests from General settings."
3
+ kind: "package-reference"
4
+ ---
2
5
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
6
+ # @qilin-agent/client-ui-settings-session-log
7
+
8
+ English | [中文](README.zh.md)
9
+
10
+ ## Summary
11
+
12
+ Use **Upload Session Log when using the official model API** above the version number in **Settings → General** to control Session-log upload with DeepSeek API requests. The switch shows the accepted Host setting and saves each change immediately. It appears only while the Host exposes the upload setting; read-only clients cannot change it.
13
+
14
+ ## Table of Contents
15
+
16
+ - [Use this package](#use-this-package)
17
+ - [Understand the implementation](#understand-the-implementation)
18
+ - [Further Exploration](#further-exploration)
19
+ - [Model Experience](#model-experience)
20
+ - [Known Limitations and Deferred Work](#known-limitations-and-deferred-work)
21
+ - [Dev Note](#dev-note)
22
+
23
+ -----
24
+
25
+ <a id="use-this-package"></a>
26
+ ## Use this package
27
+
28
+ The Web bundle mounts this companion. Its switch edits the Host plugin's `enabled` field through the shared configuration form. A save failure keeps the accepted value and shows a toast that survives closing Settings. See [Session-log upload](../../session/session-log-deepseek/README.md#configuration) for request timing, resumed uploads, and the separate OpenTelemetry setting.
29
+
30
+ -----
31
+
32
+ <a id="understand-the-implementation"></a>
33
+ ## Understand the implementation
34
+
35
+ <details>
36
+ <summary>Implementation details — click to expand</summary>
37
+
38
+ The companion contributes a `settings.general.item` row while `session-log-deepseek` is served and a `shell.overlay` toast for mutation outcomes. The shared form owns persistence and reconnect synchronization; the companion owns only pending-write state and localized notices.
39
+
40
+ </details>
41
+
42
+ -----
43
+
44
+ <a id="further-exploration"></a>
45
+ ## Further Exploration
46
+
47
+ - [Settings forms](../ui-settings/README.md) — accepted Host values and ordered writes.
48
+ - [Session-log upload](../../session/session-log-deepseek/README.md) — request contribution and acceptance tracking.
49
+ - [Web Client](../../../docs/subsystems/web-client.md) — plugin composition and settings placement.
50
+
51
+ <a id="model-experience"></a>
52
+ ## Model Experience
53
+
54
+ None, as this browser preference contributes no model-visible content.
55
+
56
+ #### KV Cache effect
57
+
58
+ None; the setting controls request metadata outside model input.
59
+
60
+ ## Known Limitations and Deferred Work
61
+
62
+ <a id="known-limitations-and-deferred-work"></a>
63
+
64
+ - The row is unavailable when the Host does not expose the `session-log-deepseek` namespace.
65
+
66
+ <a id="dev-note"></a>
67
+ ### Dev Note
68
+
69
+ None.
package/README.zh.md ADDED
@@ -0,0 +1,69 @@
1
+ ---
2
+ description: "在通用设置中控制随 DeepSeek API 请求上传会话日志。"
3
+ kind: "package-reference"
4
+ ---
5
+
6
+ # @qilin-agent/client-ui-settings-session-log
7
+
8
+ [English](README.md) | 中文
9
+
10
+ ## 概述
11
+
12
+ 使用**设置 → 通用**中版本号上方的**在使用官方模型 API 时上传 Session Log**开关控制随 DeepSeek API 请求上传会话日志。开关显示 Host 已接受的设置,并立即保存每次修改。仅当 Host 提供上传设置时显示该项;只读客户端无法修改。
13
+
14
+ ## 目录
15
+
16
+ - [使用本包](#use-this-package)
17
+ - [理解实现](#understand-the-implementation)
18
+ - [进一步探索](#further-exploration)
19
+ - [模型体验](#model-experience)
20
+ - [已知限制与暂缓事项](#known-limitations-and-deferred-work)
21
+ - [开发备注](#dev-note)
22
+
23
+ -----
24
+
25
+ <a id="use-this-package"></a>
26
+ ## 使用本包
27
+
28
+ Web bundle 挂载本配套插件。开关通过共享配置表单修改 Host 插件的 `enabled` 字段。保存失败时保留已接受的值,并显示关闭设置后仍可见的提示。请求生效时机、恢复上传和独立的 OpenTelemetry 设置见[会话日志上传](../../session/session-log-deepseek/README.zh.md#configuration)。
29
+
30
+ -----
31
+
32
+ <a id="understand-the-implementation"></a>
33
+ ## 理解实现
34
+
35
+ <details>
36
+ <summary>实现细节——点击展开</summary>
37
+
38
+ Host 提供 `session-log-deepseek` 时,配套插件贡献一个 `settings.general.item` 行,并通过 `shell.overlay` 提示保存结果。共享表单负责持久化和重连同步;配套插件仅管理待完成写入状态和本地化提示。
39
+
40
+ </details>
41
+
42
+ -----
43
+
44
+ <a id="further-exploration"></a>
45
+ ## 进一步探索
46
+
47
+ - [设置表单](../ui-settings/README.zh.md)——Host 已接受的值与有序写入。
48
+ - [会话日志上传](../../session/session-log-deepseek/README.zh.md)——请求字段与接收进度。
49
+ - [Web 客户端](../../../docs/subsystems/web-client.zh.md)——插件组合与设置位置。
50
+
51
+ <a id="model-experience"></a>
52
+ ## 模型体验
53
+
54
+ 无;此浏览器设置不贡献模型可见内容。
55
+
56
+ #### KV Cache 影响
57
+
58
+ 无;该设置控制模型输入之外的请求元数据。
59
+
60
+ ## 已知限制与暂缓事项
61
+
62
+ <a id="known-limitations-and-deferred-work"></a>
63
+
64
+ - Host 不提供 `session-log-deepseek` 命名空间时,该行不可用。
65
+
66
+ <a id="dev-note"></a>
67
+ ### 开发备注
68
+
69
+ 无。
package/lib/client.js ADDED
@@ -0,0 +1,180 @@
1
+ window.__ModuleLoader__.load({
2
+ id: "@qilin-agent/client-ui-settings-session-log",
3
+ factory: (require) => {
4
+ var module = { exports: {} };
5
+ var exports = module.exports;
6
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
7
+ let _qilin_agent_client_store = require("@qilin-agent/client-store");
8
+ let react_jsx_runtime = require("react/jsx-runtime");
9
+ let _qilin_agent_client_ui_primitives = require("@qilin-agent/client-ui-primitives");
10
+ //#region lib/types/client/upload-preference.js
11
+ /** Ordered preference writes and notices that survive the settings panel. */
12
+ /** Writes the Host setting without publishing an optimistic upload state. */
13
+ var UploadPreference = class {
14
+ form;
15
+ /** Observable mutation outcome. */
16
+ state = (0, _qilin_agent_client_store.createSnapshotStore)({
17
+ busy: false,
18
+ notice: null,
19
+ sequence: 0
20
+ });
21
+ /** @param form - Host-owned configuration form. */
22
+ constructor(form) {
23
+ this.form = form;
24
+ }
25
+ /**
26
+ * Persist enablement; refusal or transport failure leaves the accepted value visible.
27
+ * @param enabled - requested upload state.
28
+ * @returns completion after the write settles.
29
+ */
30
+ async setEnabled(enabled) {
31
+ if (this.state.getSnapshot().busy) return;
32
+ this.state.update((state) => {
33
+ state.busy = true;
34
+ state.notice = null;
35
+ });
36
+ let accepted = false;
37
+ try {
38
+ accepted = await this.form.set("enabled", enabled);
39
+ } catch (_error) {}
40
+ this.state.update((state) => {
41
+ state.busy = false;
42
+ state.notice = accepted ? "saved" : "failed";
43
+ state.sequence++;
44
+ });
45
+ }
46
+ /** Clear the displayed mutation notice. */
47
+ dismiss() {
48
+ this.state.update((state) => {
49
+ state.notice = null;
50
+ });
51
+ }
52
+ };
53
+ //#endregion
54
+ //#region \0qilin-css:/home/runner/work/QiLin/QiLin/packages/client/ui-settings-session-log/src/client/UploadRow.module.css.mjs
55
+ const css = "._5CVv-a_row{border-bottom:.5px solid var(--qilin-alias-border-l2);justify-content:space-between;align-items:center;gap:24px;padding:16px 0;display:flex}._5CVv-a_title{font-size:14px;line-height:20px}._5CVv-a_description{color:var(--qilin-alias-label-secondary);margin-top:4px;font-size:12px;line-height:18px}";
56
+ const tagId = "@qilin-agent/client-ui-settings-session-log/UploadRow.module.css";
57
+ if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId) + "]") === null) {
58
+ const tag = document.createElement("style");
59
+ tag.dataset.plugin = "@qilin-agent/client-ui-settings-session-log";
60
+ tag.dataset.pluginCss = tagId;
61
+ tag.textContent = css;
62
+ document.head.appendChild(tag);
63
+ }
64
+ var UploadRow_module_css_default = {
65
+ "description": "_5CVv-a_description",
66
+ "row": "_5CVv-a_row",
67
+ "title": "_5CVv-a_title"
68
+ };
69
+ //#endregion
70
+ //#region lib/types/client/UploadRow.js
71
+ /** General settings row and persistent shell notice for API log uploads. */
72
+ /**
73
+ * Render the accepted API upload state.
74
+ * @param props - settings hooks, writer and localized copy.
75
+ * @returns the bottom preference row.
76
+ */
77
+ function UploadRow({ useUpload, useMutation, setEnabled, t }) {
78
+ const upload = useUpload((value) => value);
79
+ const busy = useMutation((value) => value.busy);
80
+ return (0, react_jsx_runtime.jsxs)("div", {
81
+ className: UploadRow_module_css_default.row,
82
+ children: [(0, react_jsx_runtime.jsxs)("div", { children: [(0, react_jsx_runtime.jsx)("div", {
83
+ className: UploadRow_module_css_default.title,
84
+ children: t("title")
85
+ }), (0, react_jsx_runtime.jsx)("div", {
86
+ className: UploadRow_module_css_default.description,
87
+ children: t("description")
88
+ })] }), (0, react_jsx_runtime.jsx)(_qilin_agent_client_ui_primitives.Switch, {
89
+ checked: upload.value?.enabled === true,
90
+ label: t("title"),
91
+ disabled: busy || upload.status !== "ready" || !upload.writable,
92
+ onChange: (enabled) => {
93
+ setEnabled(enabled);
94
+ }
95
+ })]
96
+ });
97
+ }
98
+ /**
99
+ * Keep the save outcome visible after settings closes.
100
+ * @param props - mutation hook, dismissal and localized copy.
101
+ * @returns the current toast, or nothing.
102
+ */
103
+ function UploadToast({ useMutation, dismiss, t }) {
104
+ const state = useMutation((value) => value);
105
+ if (state.notice === null) return null;
106
+ return (0, react_jsx_runtime.jsx)(_qilin_agent_client_ui_primitives.Toast, {
107
+ text: t(state.notice),
108
+ onDone: dismiss,
109
+ ...state.notice === "saved" ? { tone: "success" } : {}
110
+ }, state.sequence);
111
+ }
112
+ //#endregion
113
+ //#region lib/types/client/locales.js
114
+ /** Copy for the API Session-log upload preference. */
115
+ const en = {
116
+ title: "Upload Session Log when using the official model API",
117
+ description: "Help improve DeepSeek models and products.",
118
+ saved: "Preference saved",
119
+ failed: "Could not save preference"
120
+ };
121
+ /** Chinese preference copy. */
122
+ const zh = {
123
+ title: "在使用官方模型 API 时上传 Session Log",
124
+ description: "帮助改进 DeepSeek 模型与产品",
125
+ saved: "设置已保存",
126
+ failed: "无法保存设置"
127
+ };
128
+ //#endregion
129
+ //#region lib/types/client/index.js
130
+ /** Services used by the browser companion. */
131
+ const inject = [
132
+ "slots",
133
+ "locale",
134
+ "configForms"
135
+ ];
136
+ /**
137
+ * Register the preference while its Host configuration is available.
138
+ * @param ctx - browser plugin context.
139
+ */
140
+ function apply(ctx) {
141
+ const locale = "settings.sessionLog";
142
+ const namespace = "session-log-deepseek";
143
+ ctx.effect(() => ctx.locale.register(locale, {
144
+ en,
145
+ zh
146
+ }));
147
+ const form = ctx.configForms.get(namespace);
148
+ const preference = new UploadPreference(form);
149
+ const face = () => ({
150
+ hooks: {
151
+ upload: form,
152
+ mutation: preference.state
153
+ },
154
+ setEnabled: (enabled) => preference.setEnabled(enabled),
155
+ dismiss: () => {
156
+ preference.dismiss();
157
+ }
158
+ });
159
+ ctx.effect(() => ctx.configForms.whileServed([namespace], () => ctx.slots.inject("settings.general.item", () => ctx.slots.register({
160
+ name: "settings.general.item",
161
+ id: namespace,
162
+ order: 90,
163
+ locale,
164
+ inject: face
165
+ }, UploadRow))));
166
+ ctx.slots.inject("shell.overlay", () => ctx.slots.register({
167
+ name: "shell.overlay",
168
+ id: "session-log-upload-toast",
169
+ locale,
170
+ inject: face
171
+ }, UploadToast));
172
+ }
173
+ //#endregion
174
+ exports.apply = apply;
175
+ exports.inject = inject;
176
+ return module.exports;
177
+ }
178
+ });
179
+
180
+ //# sourceMappingURL=client.js.map
package/lib/index.js ADDED
@@ -0,0 +1,6 @@
1
+ //#region lib/types/index.js
2
+ /** Browser companion for the Session-log upload preference. */
3
+ /** Mount the browser entry through the Loader. */
4
+ function apply() {}
5
+ //#endregion
6
+ export { apply };
@@ -0,0 +1,28 @@
1
+ import type { ObservableSnapshot } from '@qilin-agent/client-store';
2
+ import type { ConfigFormSnapshot } from '@qilin-agent/client-ui-settings/client';
3
+ import type { InjectFace, PropsLocale, PropsRuntime } from '@qilin-agent/client-ui-slots';
4
+ import type { UploadMutation, UploadSettings } from './upload-preference.ts';
5
+ /** Accepted settings and mutation callbacks supplied by the plugin. */
6
+ export interface UploadInjected {
7
+ hooks: {
8
+ upload: ObservableSnapshot<ConfigFormSnapshot<UploadSettings>>;
9
+ mutation: ObservableSnapshot<UploadMutation>;
10
+ };
11
+ setEnabled(enabled: boolean): Promise<void>;
12
+ dismiss(): void;
13
+ }
14
+ type Face = InjectFace<UploadInjected> & PropsLocale<'settings.sessionLog'>;
15
+ /**
16
+ * Render the accepted API upload state.
17
+ * @param props - settings hooks, writer and localized copy.
18
+ * @returns the bottom preference row.
19
+ */
20
+ export declare function UploadRow({ useUpload, useMutation, setEnabled, t }: PropsRuntime<'settings.general.item'> & Face): import("react").JSX.Element;
21
+ /**
22
+ * Keep the save outcome visible after settings closes.
23
+ * @param props - mutation hook, dismissal and localized copy.
24
+ * @returns the current toast, or nothing.
25
+ */
26
+ export declare function UploadToast({ useMutation, dismiss, t }: PropsRuntime<'shell.overlay'> & Face): import("react").JSX.Element | null;
27
+ export {};
28
+ //# sourceMappingURL=UploadRow.d.ts.map
@@ -0,0 +1,17 @@
1
+ /** General settings companion for the Host Session-log upload configuration. */
2
+ import type { Context } from '@qilin-agent/kylin';
3
+ import { en } from './locales.ts';
4
+ declare module '@qilin-agent/client-ui-slots' {
5
+ interface LocaleNamespaceMap {
6
+ /** API Session-log preference copy. */
7
+ 'settings.sessionLog': keyof typeof en;
8
+ }
9
+ }
10
+ /** Services used by the browser companion. */
11
+ export declare const inject: string[];
12
+ /**
13
+ * Register the preference while its Host configuration is available.
14
+ * @param ctx - browser plugin context.
15
+ */
16
+ export declare function apply(ctx: Context): void;
17
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,10 @@
1
+ /** Copy for the API Session-log upload preference. */
2
+ export declare const en: {
3
+ title: string;
4
+ description: string;
5
+ saved: string;
6
+ failed: string;
7
+ };
8
+ /** Chinese preference copy. */
9
+ export declare const zh: Record<keyof typeof en, string>;
10
+ //# sourceMappingURL=locales.d.ts.map
@@ -0,0 +1,28 @@
1
+ import type { ConfigForm } from '@qilin-agent/client-ui-settings/client';
2
+ /** Fields exposed by the Session-log plugin. */
3
+ export interface UploadSettings {
4
+ enabled: boolean;
5
+ }
6
+ /** Mutation state shared by the preference row and shell notice. */
7
+ export interface UploadMutation {
8
+ busy: boolean;
9
+ notice: 'saved' | 'failed' | null;
10
+ sequence: number;
11
+ }
12
+ /** Writes the Host setting without publishing an optimistic upload state. */
13
+ export declare class UploadPreference {
14
+ private readonly form;
15
+ /** Observable mutation outcome. */
16
+ readonly state: import("@qilin-agent/client-store").SnapshotStore<UploadMutation>;
17
+ /** @param form - Host-owned configuration form. */
18
+ constructor(form: ConfigForm<UploadSettings>);
19
+ /**
20
+ * Persist enablement; refusal or transport failure leaves the accepted value visible.
21
+ * @param enabled - requested upload state.
22
+ * @returns completion after the write settles.
23
+ */
24
+ setEnabled(enabled: boolean): Promise<void>;
25
+ /** Clear the displayed mutation notice. */
26
+ dismiss(): void;
27
+ }
28
+ //# sourceMappingURL=upload-preference.d.ts.map
@@ -0,0 +1,4 @@
1
+ /** Browser companion for the Session-log upload preference. */
2
+ /** Mount the browser entry through the Loader. */
3
+ export declare function apply(): void;
4
+ //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,70 @@
1
1
  {
2
2
  "name": "@qilin-agent/client-ui-settings-session-log",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "description": "General settings control for Session-log upload with DeepSeek API requests",
4
+ "version": "3.1.3",
5
+ "publishConfig": {
6
+ "access": "public"
7
+ },
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/kkutysllb/QiLin.git",
11
+ "directory": "packages/client/ui-settings-session-log"
12
+ },
13
+ "type": "module",
14
+ "main": "lib/index.js",
15
+ "types": "lib/types/index.d.ts",
16
+ "exports": {
17
+ ".": {
18
+ "types": "./lib/types/index.d.ts",
19
+ "default": "./lib/index.js"
20
+ },
21
+ "./client": {
22
+ "types": "./lib/types/client/index.d.ts",
23
+ "default": "./lib/client.js"
24
+ },
25
+ "./src/*": "./src/*",
26
+ "./package.json": "./package.json"
27
+ },
28
+ "license": "MIT",
29
+ "peerDependencies": {
30
+ "@qilin-agent/kylin": "~4.0.3"
31
+ },
32
+ "devDependencies": {
33
+ "@types/react": "~18.3.1",
34
+ "react": "^18.2.0",
35
+ "react-dom": "^18.2.0",
36
+ "@types/react-dom": "~18.3.0",
37
+ "@qilin-agent/kylin": "~4.0.3",
38
+ "@qilin-agent/api-remotes": "3.1.3",
39
+ "@qilin-agent/client-locale": "3.1.3",
40
+ "@qilin-agent/client-test-runtime": "3.1.3",
41
+ "@qilin-agent/client-store": "3.1.3",
42
+ "@qilin-agent/client-ui-primitives": "3.1.3",
43
+ "@qilin-agent/client-ui-renderer": "3.1.3",
44
+ "@qilin-agent/client-ui-settings": "3.1.3",
45
+ "@qilin-agent/client-ui-slots": "3.1.3",
46
+ "@qilin-agent/client-ui-layout": "3.1.3"
47
+ },
48
+ "files": [
49
+ "lib/index.js",
50
+ "lib/client.js",
51
+ "lib/types/**/*.d.ts"
52
+ ],
53
+ "qilin": {
54
+ "client": {
55
+ "inject": [
56
+ "@qilin-agent/client-locale",
57
+ "@qilin-agent/client-ui-settings",
58
+ "@qilin-agent/client-ui-layout"
59
+ ],
60
+ "platform": "web"
61
+ }
62
+ },
63
+ "engines": {
64
+ "node": "^22.19.0 || >=24.0.0"
65
+ },
66
+ "scripts": {
67
+ "bundle": "tsdown",
68
+ "watch": "tsdown --watch"
69
+ }
6
70
  }