d75547b36d
新增 skill-pack-manifest 脚本统一计算并校验内置 AGC Skill 内容摘要,--write 模式自动递增清单版本并同步 SHA-256。 新增 check-skill-pack 只读门禁与 Node 回归测试,无参数默认只读,只有单个 --write 才进入写入模式。 AGC typecheck 与 release build 接入 Skill 清单指纹校验,内容漂移时直接列出 Skill 与实际摘要阻断构建。 修正 agc-client-projection 清单指纹并升级 Skill pack 版本到 2026-08-26.3。 升级 AGC 标准版到 0.1.10,同步 package、Cargo、Tauri 与 npm 工作区锁文件。 首页空输入占位符锚定到编辑区,避免整页滚动后占位文本脱离输入框。 更新 AGC 实施计划中 Skill 指纹同步与只读门禁说明。
52 lines
1.9 KiB
JSON
52 lines
1.9 KiB
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
"productName": "Genarrative AI Game Creator",
|
|
"version": "0.1.10",
|
|
"identifier": "world.genarrative.ai-game-creator",
|
|
"build": {
|
|
"beforeDevCommand": "npm --prefix ../.. run agc:serve",
|
|
"beforeBuildCommand": "npm --prefix ../.. run ai-game-creator-shell:typecheck && npm --prefix ../.. exec vite -- build --config vite.config.ts",
|
|
"devUrl": "http://127.0.0.1:3080/",
|
|
"frontendDist": "../dist"
|
|
},
|
|
"app": {
|
|
"withGlobalTauri": true,
|
|
"windows": [
|
|
{
|
|
"label": "client",
|
|
"title": "陶泥儿",
|
|
"url": "index.html",
|
|
"width": 1280,
|
|
"height": 800,
|
|
"decorations": false,
|
|
"minWidth": 1280,
|
|
"minHeight": 720
|
|
}
|
|
],
|
|
"security": {
|
|
"csp": "default-src 'self' customprotocol: asset:; img-src 'self' asset: data: blob:; media-src 'self' asset: data: blob:; connect-src 'self' http://127.0.0.1:* ws://127.0.0.1:*; script-src 'self'; style-src 'self' 'unsafe-inline'; frame-src 'self' http://127.0.0.1:*",
|
|
"devCsp": "default-src 'self' customprotocol: asset: http://127.0.0.1:*; img-src 'self' asset: http://127.0.0.1:* data: blob:; media-src 'self' asset: http://127.0.0.1:* data: blob:; connect-src 'self' http://127.0.0.1:* ws://127.0.0.1:*; script-src 'self'; style-src 'self' 'unsafe-inline'; frame-src 'self' http://127.0.0.1:*"
|
|
}
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"targets": "all",
|
|
"linux": {
|
|
"deb": {
|
|
"depends": ["bubblewrap"]
|
|
},
|
|
"rpm": {
|
|
"depends": ["bubblewrap"]
|
|
}
|
|
},
|
|
"icon": [
|
|
"../../desktop-shell/src-tauri/icons/32x32.png",
|
|
"../../desktop-shell/src-tauri/icons/128x128.png",
|
|
"../../desktop-shell/src-tauri/icons/128x128@2x.png",
|
|
"../../desktop-shell/src-tauri/icons/icon.icns",
|
|
"../../desktop-shell/src-tauri/icons/icon.ico",
|
|
"../../desktop-shell/src-tauri/icons/icon.png"
|
|
]
|
|
}
|
|
}
|