@qilin-agent/client-ui-settings 0.0.0-stage → 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/LICENSE +21 -0
- package/README.i18n.yaml +58 -0
- package/README.md +112 -2
- package/README.zh.md +113 -0
- package/lib/client.js +1545 -0
- package/lib/index.js +20 -0
- package/lib/types/client/config-form-types.d.ts +75 -0
- package/lib/types/client/config-form.d.ts +159 -0
- package/lib/types/client/contract/slots.d.ts +155 -0
- package/lib/types/client/developer-tools.d.ts +22 -0
- package/lib/types/client/index.d.ts +36 -0
- package/lib/types/client/schema.d.ts +72 -0
- package/lib/types/client/settings-mirror.d.ts +118 -0
- package/lib/types/developer-tools-settings.d.ts +16 -0
- package/lib/types/index.d.ts +6 -0
- package/package.json +63 -3
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/** Shared developer-tool preference stored by the Host user-settings document. */
|
|
2
|
+
import z from '@qilin-agent/schemastery';
|
|
3
|
+
/** Namespace for developer UI and HTML preview capabilities. */
|
|
4
|
+
export declare const DEVELOPER_TOOLS_NAMESPACE = "ui-settings";
|
|
5
|
+
/** Persisted developer-tool choice. */
|
|
6
|
+
export interface DeveloperToolsSettings {
|
|
7
|
+
/** Enable diagnostic views, preset selection, change summaries and scripted HTML previews. */
|
|
8
|
+
enabled: boolean;
|
|
9
|
+
}
|
|
10
|
+
/** New installations and missing values enable the full interface. */
|
|
11
|
+
export declare const DeveloperToolsSettingsFields: {
|
|
12
|
+
enabled: z<boolean, boolean, "defined">;
|
|
13
|
+
};
|
|
14
|
+
/** Durable developer-tools schema; also the wire envelope the browser scope validates against. */
|
|
15
|
+
export declare const DeveloperToolsSettingsSchema: z<DeveloperToolsSettings>;
|
|
16
|
+
//# sourceMappingURL=developer-tools-settings.d.ts.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** Host registration for the shared developer-tool preference. */
|
|
2
|
+
import type { Context } from '@qilin-agent/kylin';
|
|
3
|
+
export { DEVELOPER_TOOLS_NAMESPACE, type DeveloperToolsSettings } from './developer-tools-settings.ts';
|
|
4
|
+
/** Register the durable developer-tools section when a provider exists. */
|
|
5
|
+
export declare function apply(ctx: Context): void;
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,66 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qilin-agent/client-ui-settings",
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"description": "Settings domain base plugin: the settings-namespace scope service and the canonical settings slot-type contract",
|
|
4
|
+
"version": "3.1.4",
|
|
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"
|
|
12
|
+
},
|
|
13
|
+
"engines": {
|
|
14
|
+
"node": "^22.19.0 || >=24.0.0"
|
|
15
|
+
},
|
|
16
|
+
"type": "module",
|
|
17
|
+
"main": "lib/index.js",
|
|
18
|
+
"types": "lib/types/index.d.ts",
|
|
19
|
+
"exports": {
|
|
20
|
+
".": {
|
|
21
|
+
"types": "./lib/types/index.d.ts",
|
|
22
|
+
"default": "./lib/index.js"
|
|
23
|
+
},
|
|
24
|
+
"./client": {
|
|
25
|
+
"types": "./lib/types/client/index.d.ts",
|
|
26
|
+
"default": "./lib/client.js"
|
|
27
|
+
},
|
|
28
|
+
"./src/*": "./src/*",
|
|
29
|
+
"./package.json": "./package.json"
|
|
30
|
+
},
|
|
31
|
+
"qilin": {
|
|
32
|
+
"client": {
|
|
33
|
+
"inject": [
|
|
34
|
+
"@qilin-agent/api-remotes"
|
|
35
|
+
],
|
|
36
|
+
"platform": "web"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"license": "MIT",
|
|
40
|
+
"peerDependencies": {
|
|
41
|
+
"@qilin-agent/kylin": "~4.0.3"
|
|
42
|
+
},
|
|
43
|
+
"devDependencies": {
|
|
44
|
+
"@types/react": "~18.3.1",
|
|
45
|
+
"react": "^18.2.0",
|
|
46
|
+
"@qilin-agent/api-remotes": "3.1.4",
|
|
47
|
+
"@qilin-agent/client-store": "3.1.4",
|
|
48
|
+
"@qilin-agent/client-test-runtime": "3.1.4",
|
|
49
|
+
"@qilin-agent/kylin": "~4.0.3",
|
|
50
|
+
"@qilin-agent/client-ui-slots": "3.1.4",
|
|
51
|
+
"@qilin-agent/settings": "3.1.4",
|
|
52
|
+
"@qilin-agent/util-values": "3.1.4"
|
|
53
|
+
},
|
|
54
|
+
"files": [
|
|
55
|
+
"lib/index.js",
|
|
56
|
+
"lib/client.js",
|
|
57
|
+
"lib/types/**/*.d.ts"
|
|
58
|
+
],
|
|
59
|
+
"dependencies": {
|
|
60
|
+
"@qilin-agent/schemastery": "~3.18.3"
|
|
61
|
+
},
|
|
62
|
+
"scripts": {
|
|
63
|
+
"bundle": "tsdown",
|
|
64
|
+
"watch": "tsdown --watch"
|
|
65
|
+
}
|
|
6
66
|
}
|