@givolt/i3-composer-agent 2.3.0 → 2.3.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/.agents/plugins/marketplace.json +1 -1
- package/.claude/commands/i3-prototype.md +5 -7
- package/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/.codex-plugin/plugin.json +1 -1
- package/.gemini/commands/i3-prototype.toml +5 -7
- package/README.md +12 -7
- package/bin/i3-composer-agent.cjs +33 -2
- package/bin/install.cjs +14 -0
- package/bin/native-migration.cjs +27 -3
- package/commands/i3-prototype.toml +5 -7
- package/docs/codebuddy-setup.md +65 -2
- package/docs/codex-setup.md +4 -0
- package/docs/other-hosts.md +1 -1
- package/docs/ui-prototype-native/MAIN-SESSION-REPORT.md +66 -0
- package/docs/ui-prototype-native/USAGE.md +91 -0
- package/docs/workbuddy-setup.md +4 -0
- package/evals/cases/i3-frontend-ui-engineering.json +16 -0
- package/evals/cases/i3-ui-prototype.json +109 -0
- package/evals/cases/i3-using-agent-skills.json +28 -0
- package/evals/fixtures/i3-ui-prototype/admin-list/assets/reference.css +3 -0
- package/evals/fixtures/i3-ui-prototype/admin-list/assets/reference.js +8 -0
- package/evals/fixtures/i3-ui-prototype/admin-list/capability-definition.json +67 -0
- package/evals/fixtures/i3-ui-prototype/admin-list/index.html +89 -0
- package/evals/fixtures/i3-ui-prototype/admin-list/readme.md +52 -0
- package/evals/fixtures/i3-ui-prototype/admin-list/template.json +8 -0
- package/evals/zh-CN/cases/i3-frontend-ui-engineering.json +17 -0
- package/evals/zh-CN/cases/i3-ui-prototype.json +115 -0
- package/evals/zh-CN/cases/i3-using-agent-skills.json +30 -0
- package/package.json +35 -1
- package/plugin.json +1 -1
- package/scripts/design-provider-discovery-test.js +190 -0
- package/scripts/design-provider-test.js +75 -0
- package/scripts/enterprise-template-test.js +67 -1
- package/scripts/lib/prototype-fixture.cjs +17 -0
- package/scripts/prototype-locations-test.js +58 -0
- package/scripts/ui-prototype-content-test.js +123 -0
- package/scripts/ui-prototype-dependencies-test.js +213 -0
- package/scripts/ui-prototype-devtools-test.js +53 -0
- package/scripts/ui-prototype-native-test.js +504 -0
- package/scripts/ui-prototype-template-test.js +261 -0
- package/scripts/ui-prototype-test.js +10 -0
- package/skills/i3-ui-prototype/SKILL.md +142 -23
- package/skills/i3-ui-prototype/assets/capabilities/management.json +294 -0
- package/skills/i3-ui-prototype/assets/frameworks/vue-antdv-next/acceptance.json +51 -0
- package/skills/i3-ui-prototype/assets/frameworks/vue-antdv-next/component-map.json +13 -0
- package/skills/i3-ui-prototype/assets/frameworks/vue-antdv-next/legacy-starter/index.html +11 -0
- package/skills/i3-ui-prototype/assets/frameworks/vue-antdv-next/legacy-starter/package-lock.json +2298 -0
- package/skills/i3-ui-prototype/assets/frameworks/vue-antdv-next/legacy-starter/package.json +22 -0
- package/skills/i3-ui-prototype/assets/frameworks/vue-antdv-next/legacy-starter/public/prototype-config.json +6 -0
- package/skills/i3-ui-prototype/assets/frameworks/vue-antdv-next/legacy-starter/src/App.vue +136 -0
- package/skills/i3-ui-prototype/assets/frameworks/vue-antdv-next/legacy-starter/src/components/DeviceEditor.vue +111 -0
- package/skills/i3-ui-prototype/assets/frameworks/vue-antdv-next/legacy-starter/src/config.ts +19 -0
- package/skills/i3-ui-prototype/assets/frameworks/vue-antdv-next/legacy-starter/src/content.ts +28 -0
- package/skills/i3-ui-prototype/assets/frameworks/vue-antdv-next/legacy-starter/src/domain/devices.ts +50 -0
- package/skills/i3-ui-prototype/assets/frameworks/vue-antdv-next/legacy-starter/src/domain/theme.ts +25 -0
- package/skills/i3-ui-prototype/assets/frameworks/vue-antdv-next/legacy-starter/src/main.ts +18 -0
- package/skills/i3-ui-prototype/assets/frameworks/vue-antdv-next/legacy-starter/src/style.css +50 -0
- package/skills/i3-ui-prototype/assets/frameworks/vue-antdv-next/legacy-starter/src/useDevices.ts +66 -0
- package/skills/i3-ui-prototype/assets/frameworks/vue-antdv-next/legacy-starter/tests/devices.test.ts +44 -0
- package/skills/i3-ui-prototype/assets/frameworks/vue-antdv-next/legacy-starter/tests/theme.test.ts +26 -0
- package/skills/i3-ui-prototype/assets/frameworks/vue-antdv-next/legacy-starter/tsconfig.json +15 -0
- package/skills/i3-ui-prototype/assets/frameworks/vue-antdv-next/legacy-starter/vite.config.ts +4 -0
- package/skills/i3-ui-prototype/assets/frameworks/vue-antdv-next/profile.json +174 -0
- package/skills/i3-ui-prototype/assets/frameworks/vue-antdv-next/readme.md +61 -0
- package/skills/i3-ui-prototype/assets/frameworks/vue-antdv-next/starter/index.html +11 -0
- package/skills/i3-ui-prototype/assets/frameworks/vue-antdv-next/starter/package-lock.json +2298 -0
- package/skills/i3-ui-prototype/assets/frameworks/vue-antdv-next/starter/package.json +22 -0
- package/skills/i3-ui-prototype/assets/frameworks/vue-antdv-next/starter/public/prototype-config.json +21 -0
- package/skills/i3-ui-prototype/assets/frameworks/vue-antdv-next/starter/src/App.vue +51 -0
- package/skills/i3-ui-prototype/assets/frameworks/vue-antdv-next/starter/src/config.ts +18 -0
- package/skills/i3-ui-prototype/assets/frameworks/vue-antdv-next/starter/src/domain/theme.ts +25 -0
- package/skills/i3-ui-prototype/assets/frameworks/vue-antdv-next/starter/src/main.ts +18 -0
- package/skills/i3-ui-prototype/assets/frameworks/vue-antdv-next/starter/src/style.css +13 -0
- package/skills/i3-ui-prototype/assets/frameworks/vue-antdv-next/starter/tests/theme.test.ts +26 -0
- package/skills/i3-ui-prototype/assets/frameworks/vue-antdv-next/starter/tsconfig.json +15 -0
- package/skills/i3-ui-prototype/assets/frameworks/vue-antdv-next/starter/vite.config.ts +4 -0
- package/skills/i3-ui-prototype/assets/optional-skills/host-targets.json +737 -0
- package/skills/i3-ui-prototype/assets/optional-skills/sources.json +27 -0
- package/skills/i3-ui-prototype/assets/templates/catalog.js +149 -0
- package/skills/i3-ui-prototype/assets/templates/catalog.json +3 -2
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/capability-definition.json +294 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/design-system.md +3 -3
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/index.html +507 -2
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/manifest.json +1 -1
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/offline-build.json +265 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/offline.js +8888 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/template.json +9 -0
- package/skills/i3-ui-prototype/assets/templates/gallery/index.html +6 -6
- package/skills/i3-ui-prototype/assets/templates/index.html +3 -0
- package/skills/i3-ui-prototype/assets/templates/serve-gallery.cjs +7 -0
- package/skills/i3-ui-prototype/references/artifact-contract.md +25 -0
- package/skills/i3-ui-prototype/references/content-template.md +76 -0
- package/skills/i3-ui-prototype/references/enterprise-admin.md +9 -3
- package/skills/i3-ui-prototype/references/entry-contract.md +71 -0
- package/skills/i3-ui-prototype/references/expert-adapter.md +39 -5
- package/skills/i3-ui-prototype/references/framework-contract.md +76 -0
- package/skills/i3-ui-prototype/references/interaction-acceptance.md +165 -0
- package/skills/i3-ui-prototype/references/legacy-native.md +58 -0
- package/skills/i3-ui-prototype/references/optional-skills.md +59 -0
- package/skills/i3-ui-prototype/references/template-adapters.md +1 -1
- package/skills/i3-ui-prototype/references/workflow-contract.md +58 -4
- package/skills/i3-ui-prototype/scripts/adapters/easel-html.cjs +3 -3
- package/skills/i3-ui-prototype/scripts/content-template.cjs +98 -0
- package/skills/i3-ui-prototype/scripts/design-provider-discovery.cjs +128 -0
- package/skills/i3-ui-prototype/scripts/enterprise-template.cjs +30 -14
- package/skills/i3-ui-prototype/scripts/manage-baseline.cjs +1 -1
- package/skills/i3-ui-prototype/scripts/native-browser.cjs +785 -0
- package/skills/i3-ui-prototype/scripts/native-build.cjs +91 -0
- package/skills/i3-ui-prototype/scripts/native-delivery.cjs +91 -0
- package/skills/i3-ui-prototype/scripts/native-devtools.cjs +91 -0
- package/skills/i3-ui-prototype/scripts/native-files.cjs +35 -0
- package/skills/i3-ui-prototype/scripts/native-pilot-lib.cjs +244 -0
- package/skills/i3-ui-prototype/scripts/native-pilot.cjs +34 -0
- package/skills/i3-ui-prototype/scripts/optional-skill-install.cjs +203 -0
- package/skills/i3-ui-prototype/scripts/prototype-dependencies.cjs +81 -0
- package/skills/i3-ui-prototype/scripts/prototype-lib.cjs +50 -26
- package/skills/i3-ui-prototype/scripts/prototype-locations.cjs +65 -0
- package/skills/i3-ui-prototype/scripts/sync-template.cjs +19 -0
- package/skills/i3-ui-prototype/scripts/template-contract.cjs +398 -0
- package/skills/i3-ui-prototype/scripts/validate-result.cjs +117 -0
- package/skills/i3-using-agent-skills/SKILL.md +2 -5
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "ES2022",
|
|
4
|
+
"module": "ESNext",
|
|
5
|
+
"moduleResolution": "Bundler",
|
|
6
|
+
"strict": true,
|
|
7
|
+
"noEmit": true,
|
|
8
|
+
"skipLibCheck": true,
|
|
9
|
+
"lib": ["ES2022", "DOM", "DOM.Iterable"],
|
|
10
|
+
"types": ["vite/client"],
|
|
11
|
+
"allowImportingTsExtensions": true,
|
|
12
|
+
"verbatimModuleSyntax": true
|
|
13
|
+
},
|
|
14
|
+
"include": ["src/**/*.ts", "src/**/*.vue", "vite.config.ts"]
|
|
15
|
+
}
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"id": "vue-antdv-next",
|
|
4
|
+
"version": "1.2.0",
|
|
5
|
+
"runtime": "vue-vite",
|
|
6
|
+
"title": "Vue 3+antDv-next 原生原型",
|
|
7
|
+
"starter": "starter",
|
|
8
|
+
"versions": {
|
|
9
|
+
"vue": "3.5.42",
|
|
10
|
+
"antdv-next": "1.5.3",
|
|
11
|
+
"vite": "7.3.1",
|
|
12
|
+
"typescript": "5.9.3",
|
|
13
|
+
"@vitejs/plugin-vue": "6.0.4",
|
|
14
|
+
"vue-tsc": "3.3.13",
|
|
15
|
+
"npm": "11.12.1"
|
|
16
|
+
},
|
|
17
|
+
"node": ">=22.18.0",
|
|
18
|
+
"lockfile": "package-lock.json",
|
|
19
|
+
"commands": {
|
|
20
|
+
"install": "npm ci --ignore-scripts --no-audit --no-fund",
|
|
21
|
+
"typecheck": "npm run typecheck",
|
|
22
|
+
"test": "npm test",
|
|
23
|
+
"build": "npm run build",
|
|
24
|
+
"preview": "npm run preview"
|
|
25
|
+
},
|
|
26
|
+
"config": {
|
|
27
|
+
"path": "public/prototype-config.json",
|
|
28
|
+
"required": [
|
|
29
|
+
"instanceId",
|
|
30
|
+
"storageNamespace",
|
|
31
|
+
"mockVersion"
|
|
32
|
+
],
|
|
33
|
+
"optional": [
|
|
34
|
+
"title",
|
|
35
|
+
"pagination",
|
|
36
|
+
"theme"
|
|
37
|
+
],
|
|
38
|
+
"candidateEnvironmentVariable": "VITE_CANDIDATE_ID",
|
|
39
|
+
"runtimeMeta": "window.__PROTOTYPE_META__",
|
|
40
|
+
"runtimeMetaIsBuildProof": false
|
|
41
|
+
},
|
|
42
|
+
"nativeComponents": [
|
|
43
|
+
"ConfigProvider",
|
|
44
|
+
"Table",
|
|
45
|
+
"Form",
|
|
46
|
+
"Drawer",
|
|
47
|
+
"Input",
|
|
48
|
+
"Select",
|
|
49
|
+
"Button",
|
|
50
|
+
"Tag",
|
|
51
|
+
"Alert",
|
|
52
|
+
"Empty",
|
|
53
|
+
"Switch"
|
|
54
|
+
],
|
|
55
|
+
"officialKnowledge": {
|
|
56
|
+
"requestedLibraryVersion": "1.5.3",
|
|
57
|
+
"actualPackageVersionInspected": "1.5.3",
|
|
58
|
+
"channel": "exact-package-types-and-source-with-official-cli-explicit-fallback",
|
|
59
|
+
"officialSkillExecuted": false,
|
|
60
|
+
"officialSkillRead": true,
|
|
61
|
+
"hostSkillInvocationVerified": false,
|
|
62
|
+
"officialCliQueriesExecuted": true,
|
|
63
|
+
"cliInstalled": true,
|
|
64
|
+
"cliInstallationScope": "npm-exec-cache-only",
|
|
65
|
+
"cliVersion": "0.0.0-beta.1",
|
|
66
|
+
"cliGlobalInstallation": false,
|
|
67
|
+
"cliAutomaticUpgrade": false,
|
|
68
|
+
"requestedCliKnowledgeVersion": "1.5.3",
|
|
69
|
+
"requestedCliKnowledgeStatus": "not-found",
|
|
70
|
+
"actualCliKnowledgeVersion": "1.5.2",
|
|
71
|
+
"cliFallback": "explicit --ver 1.5.2; not an exact-version result",
|
|
72
|
+
"knowledgeDataSha256": "6f2daafb24253f4d8bb564b4e16c3be81edd431fd99c13e3658762dcac4fef4c",
|
|
73
|
+
"officialSkill": {
|
|
74
|
+
"name": "antdv",
|
|
75
|
+
"repository": "https://github.com/antdv-next/cli",
|
|
76
|
+
"commit": "2b0dc514ee48bc130048724a5c5a0a76ec632aa1",
|
|
77
|
+
"path": "skills/antdv",
|
|
78
|
+
"skillSha256": "07e40bc93a598cdcee0037b2f199422cc046c6dc831a856ffcf85bab7376a19f",
|
|
79
|
+
"completeCopyInstalledInPilotSandbox": true,
|
|
80
|
+
"hostInvocationVerified": false
|
|
81
|
+
},
|
|
82
|
+
"observedQueries": {
|
|
83
|
+
"info": [
|
|
84
|
+
"Drawer",
|
|
85
|
+
"Table",
|
|
86
|
+
"Form"
|
|
87
|
+
],
|
|
88
|
+
"demos": [
|
|
89
|
+
"Drawer/form-in-drawer",
|
|
90
|
+
"Drawer/mask",
|
|
91
|
+
"Table/row-selection",
|
|
92
|
+
"Table/pagination",
|
|
93
|
+
"Form/basic"
|
|
94
|
+
],
|
|
95
|
+
"tokens": [
|
|
96
|
+
"Drawer",
|
|
97
|
+
"Table",
|
|
98
|
+
"Form"
|
|
99
|
+
],
|
|
100
|
+
"semantic": [
|
|
101
|
+
"Drawer"
|
|
102
|
+
],
|
|
103
|
+
"designLanguage": "generic packaged data/design.md; not tied to 1.5.3",
|
|
104
|
+
"lint": "executed but prints Parsed args only; no validation gate"
|
|
105
|
+
},
|
|
106
|
+
"limitations": [
|
|
107
|
+
"info can exit 0 with Error text when requested knowledge is absent; validate output shape and content",
|
|
108
|
+
"unnamed demo listing is not JSON despite --format json; named demo retrieval returns JSON",
|
|
109
|
+
"1.5.2 Drawer mask demo calls blur the default; fixed 1.5.3 package source defaults blur to false"
|
|
110
|
+
],
|
|
111
|
+
"lookupPolicy": "Use read-only fixed-version official skill/query tools. During analyze never install or upgrade. Record requested and actual knowledge separately; check newer APIs and defaults against exact-version package types/source. CLI query execution and host Skill invocation are separate evidence."
|
|
112
|
+
},
|
|
113
|
+
"sources": [
|
|
114
|
+
{
|
|
115
|
+
"kind": "official-skill",
|
|
116
|
+
"url": "https://github.com/antdv-next/cli/blob/2b0dc514ee48bc130048724a5c5a0a76ec632aa1/skills/antdv/SKILL.md",
|
|
117
|
+
"commit": "2b0dc514ee48bc130048724a5c5a0a76ec632aa1",
|
|
118
|
+
"sha256": "07e40bc93a598cdcee0037b2f199422cc046c6dc831a856ffcf85bab7376a19f",
|
|
119
|
+
"mutable": false
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"kind": "official-cli-package",
|
|
123
|
+
"url": "https://registry.npmjs.org/@antdv-next/cli/-/cli-0.0.0-beta.1.tgz",
|
|
124
|
+
"version": "0.0.0-beta.1",
|
|
125
|
+
"integrity": "sha512-yh0sKSYSHCLIsDhIaEnLy7gB3wMPFtAR1z4EXon165WRyeHeB7g3tpEgF1BndgJhJZxqzMcNPcp3eifBEF5veQ==",
|
|
126
|
+
"knowledgeVersion": "1.5.2",
|
|
127
|
+
"knowledgeSha256": "6f2daafb24253f4d8bb564b4e16c3be81edd431fd99c13e3658762dcac4fef4c"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"kind": "official-guide",
|
|
131
|
+
"url": "https://github.com/antdv-next/antdv-next/blob/main/docs/src/pages/docs/vue/for-agents.zh-CN.md",
|
|
132
|
+
"mutable": true
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"kind": "official-docs",
|
|
136
|
+
"url": "https://github.com/antdv-next/antdv-next/blob/main/docs/src/pages/components/drawer/index.zh-CN.md",
|
|
137
|
+
"mutable": true
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"kind": "official-docs",
|
|
141
|
+
"url": "https://github.com/antdv-next/antdv-next/blob/main/docs/src/pages/components/table/index.zh-CN.md",
|
|
142
|
+
"mutable": true
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"kind": "official-docs",
|
|
146
|
+
"url": "https://github.com/antdv-next/antdv-next/blob/main/docs/src/pages/components/form/index.zh-CN.md",
|
|
147
|
+
"mutable": true
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"kind": "published-package",
|
|
151
|
+
"url": "https://registry.npmjs.org/antdv-next/-/antdv-next-1.5.3.tgz",
|
|
152
|
+
"version": "1.5.3",
|
|
153
|
+
"integrity": "sha512-L5t9Kasws1h7hfU7b5DMLUBpE9RxvRJwcfygaLpZqBSH1Lexaon8YIkFffAaky5t2ANORKikchDnXASxldN6zg==",
|
|
154
|
+
"inspected": [
|
|
155
|
+
"dist/drawer/index.d.ts",
|
|
156
|
+
"dist/drawer/index.js",
|
|
157
|
+
"dist/_util/hooks/useMergedMask.js",
|
|
158
|
+
"dist/drawer/style/index.js",
|
|
159
|
+
"dist/table/InternalTable.js",
|
|
160
|
+
"dist/form/interface.d.ts"
|
|
161
|
+
]
|
|
162
|
+
}
|
|
163
|
+
],
|
|
164
|
+
"packageFacts": {
|
|
165
|
+
"maskBlurDefault": false,
|
|
166
|
+
"explicitMask": {
|
|
167
|
+
"enabled": true,
|
|
168
|
+
"blur": true
|
|
169
|
+
},
|
|
170
|
+
"drawerLifetime": "Keep DeviceEditor mounted; set Drawer open=false; native destroyOnHidden removes children after exit; clear record only after afterOpenChange(false).",
|
|
171
|
+
"motionPreference": "ConfigProvider token.motion follows prefers-reduced-motion; CSS fallback reduces remaining transitions."
|
|
172
|
+
},
|
|
173
|
+
"legacyStarter": "legacy-starter"
|
|
174
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# Vue 3+antDv-next 原生工程
|
|
2
|
+
|
|
3
|
+
<!-- i3:zh-guide:start -->
|
|
4
|
+
## 中文使用说明
|
|
5
|
+
|
|
6
|
+
按下文完整工程步骤、检查项与验证条件执行。根据任务选择适用步骤,保留证据、风险和退出条件;正文示例中的英文标签在面向用户输出时译为中文。
|
|
7
|
+
|
|
8
|
+
默认使用简体中文解释、追问及生成报告;用户明确要求其他语言时可切换。原方法正文、引用、阈值和审批条件完整保留。代码标识、路径、命令、工具参数、JSON 键/枚举与原文引用保持原样。
|
|
9
|
+
<!-- i3:zh-guide:end -->
|
|
10
|
+
|
|
11
|
+
`starter/` 是新业务的框架骨架:使用完整企业后台 HTML 作为内容参考,由实际 scope 声明页面和区域;初始业务待实现,不内置设备清单。默认四主题为明亮、暗黑、清新、科技且默认明亮,原生 ConfigProvider 算法与 token 驱动,偏好按实例 storageNamespace 隔离。新业务实现和验收方式见技能 references/content-template.md。
|
|
12
|
+
|
|
13
|
+
`legacy-starter/` 只用于已有设备列表固定合同的兼容生成;20/23 场景的设备专项脚本不能验证新业务。已生成的旧实例源码和固定输入不随 starter 更新。
|
|
14
|
+
|
|
15
|
+
生成配置包含 instanceId、storageNamespace、mockVersion、title、pages 和 theme;不得使用预览配置的共享 namespace 作为交付实例身份。实际构建以 VITE_CANDIDATE_ID 注入候选标识,仍须核对网络实际加载字节。骨架的主题代码通过构建不等于业务组件已经实现。
|
|
16
|
+
|
|
17
|
+
固定依赖及知识来源保存在 profile 和 lockfile;生成 app 需项目依赖与构建服务,HTML 内容模板的双击离线约定不扩展到框架源码。
|
|
18
|
+
|
|
19
|
+
## API 核对
|
|
20
|
+
|
|
21
|
+
依赖版本来自 npm 实际可用包,并由锁文件固定。官方文档用于用法参考,最终行为核对的是已安装 `antdv-next@1.5.3` 的类型与源码:
|
|
22
|
+
|
|
23
|
+
- `DrawerProps` 支持 `open`、`destroyOnHidden` 和 `afterOpenChange`。
|
|
24
|
+
- mask 配置支持 enabled、blur、closable;该包源码中 blur 默认 false。显式 `blur:true` 使用原生 mask 样式,实际 backdrop-filter 为 blur(4px)。
|
|
25
|
+
- 不在父级用 v-if 销毁编辑器;关闭设置 open=false,原生退出完成后销毁内容、清除当前记录并恢复焦点。
|
|
26
|
+
- Table 的 rowSelection、pagination、bodyCell 和 emptyText 使用包内 API。
|
|
27
|
+
- 页码 `itemRender` 返回不可聚焦的 `span`,保留原生外层 `li` 的 button 语义、页码名称与键盘处理。固定 @v-c/pagination 1.1.2 的默认隐藏 `a[tabindex=-1]` 仍会接收鼠标焦点;启用浏览器可访问性观测时可触发隐藏焦点警告。新固定框架快照的 `paginationFocusGuard:true` 在既有分页场景内启用 AX/隐藏焦点回归和独立故障负例,不增加场景数;没有该字段的旧快照沿用原验收输入。
|
|
28
|
+
- Select 的 `id` 指向内部原生 combobox input;可见 `label for` 必须匹配该 id。1.5.3 把普通 aria 属性留在外层时,外层的 `aria-labelledby` 不能代替内部输入的可访问名称。表单通过具名 Form/FormItem 生成关联的 label 和 input id,专项执行器按真实 combobox 名称核对。
|
|
29
|
+
- 组件主题 motion 跟随系统减少动态效果设置。
|
|
30
|
+
|
|
31
|
+
来源和 npm 完整性值见 `profile.json`。实际 API 和默认值以固定 1.5.3 包为准;下述 CLI 回退结果只作交叉参考。
|
|
32
|
+
|
|
33
|
+
## 官方 Skill 与实际查询证据
|
|
34
|
+
|
|
35
|
+
首期已读取官方 `antdv` Skill,并从提交 `2b0dc514ee48bc130048724a5c5a0a76ec632aa1` 完整复制其子树到隔离 CodeBuddy 项目的 `.codebuddy/skills/antdv/`。该修订只有 SKILL.md,SHA-256 为 `07e40bc93a598cdcee0037b2f199422cc046c6dc831a856ffcf85bab7376a19f`。复制与查询由实施工具执行;尚未据此证明 CodeBuddy 模型实际调用该 Skill,profile 的 officialSkillExecuted/hostInvocationVerified 保持 false。
|
|
36
|
+
|
|
37
|
+
使用固定 `@antdv-next/cli@0.0.0-beta.1` 的 npm exec 缓存执行查询,无全局安装、无升级。实际情况:
|
|
38
|
+
|
|
39
|
+
| 查询 | 结果与边界 |
|
|
40
|
+
| --- | --- |
|
|
41
|
+
| info Drawer/Table/Form,--ver 1.5.3 | Error 文本;即使 exit 0 也不是成功 |
|
|
42
|
+
| list,--ver 1.5.3 | 失败,目标知识文件不存在 |
|
|
43
|
+
| 显式 --ver 1.5.2 的三组件 info | 有效 JSON,API 属性与包内 v1.5.2.json 逐项一致 |
|
|
44
|
+
| Drawer 表单/mask、Table 多选/分页、Form basic 命名 demo | 有效 JSON 和示例源码 |
|
|
45
|
+
| 三组件 token、Drawer semantic | 有效 JSON |
|
|
46
|
+
| design.md | 有效 JSON,等于通用 data/design.md,不能标成 1.5.3 专属知识 |
|
|
47
|
+
| lint 指向首期源码 | 只打印 Parsed args,未进行规则检查,不能作为门禁 |
|
|
48
|
+
|
|
49
|
+
该 CLI 缓存的最高具体知识版本是 1.5.2,数据摘要 `6f2daafb24253f4d8bb564b4e16c3be81edd431fd99c13e3658762dcac4fef4c`。这是明确选用的参考回退,不是 1.5.3 查询成功。未指定 demo 名称时,即使 --format json 也返回 JavaScript 检视文本;需要用具体名称取 JSON,不执行或 eval 输出。
|
|
50
|
+
|
|
51
|
+
mask 示例称默认 blur,与实际 1.5.3 包源码的 false 不一致;使用显式 blur:true,继续通过类型、源码和浏览器核对。官方 Skill 中自动全局安装/升级的指令服从本次范围;analyze 不能通过 npm exec 触发缓存补装,只用已核验入口或只读固定资料。
|
|
52
|
+
|
|
53
|
+
维护验收原始输出、命令及摘要记录在首期隔离验证目录的 `official-antdv/`,不混入 starter 或用户实例证据。固定来源及发行完整性值保存在 profile。Skill 安装、CLI 查询、宿主实际 Skill 调用和浏览器效果分别出证据。
|
|
54
|
+
|
|
55
|
+
## 历史设备合同的浏览器入口
|
|
56
|
+
|
|
57
|
+
稳定选择器:`name-filter`、`status-filter`、`query`、`reset-filter`、`selection-count`、`bulk-disable`、`device-table`、`edit-device-1`(按 id 递增)、`editor-content`、`edit-name`、`edit-category`、`edit-status`、`fail-next-save`、`save-device`、`cancel-edit`、`save-error`、`success-notice`。
|
|
58
|
+
|
|
59
|
+
演示工具先展开“演示状态与数据”:`show-loading`、`show-empty`、`show-error`、`restore-list`、`retry-list`、`reset-data`。`.app-shell[data-editor-lifecycle]` 是诊断状态,不能代替实际动效检查。
|
|
60
|
+
|
|
61
|
+
抽屉根类为 `.prototype-device-editor`;检查实际 `.ant-drawer-mask` 的滤镜、`.ant-drawer-content-wrapper` 的进入退出与内容销毁时间。验收定义见 `acceptance.json`,截图默认关闭动画的工具不能证明动效。
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="zh-CN">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
+
<meta name="color-scheme" content="light">
|
|
7
|
+
<link rel="icon" href="data:,">
|
|
8
|
+
<title>业务原型</title>
|
|
9
|
+
</head>
|
|
10
|
+
<body><div id="app"></div><script type="module" src="/src/main.ts"></script></body>
|
|
11
|
+
</html>
|