{"_id":"@channek/style-card","name":"@channek/style-card","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@channek/style-card","version":"0.1.0","type":"module","description":"Channek 风格卡：创作系统描述符的加载与解析（零 fs·端口注入）","license":"Apache-2.0","author":{"name":"Links","email":"archeruuu@gmail.com"},"homepage":"https://github.com/garveyhu/Channek","repository":{"type":"git","url":"git+https://github.com/garveyhu/Channek.git","directory":"shared/style-card"},"keywords":["channek","style-card","workspace"],"sideEffects":false,"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"dependencies":{"zod":"^3.24.0","@channek/project-format":"0.1.0"},"devDependencies":{"vitest":"^4.0.18"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc -b","typecheck":"tsc -b --pretty false","lint":"eslint src --max-warnings=0","test":"vitest run --exclude '**/dist/**'"},"_id":"@channek/style-card@0.1.0","bugs":{"url":"https://github.com/garveyhu/Channek/issues"},"_integrity":"sha512-bJAUwCT0n9tDY9S4QZadQjFcjNMXdubPoAnMXKwnWOI8YrXt1BovA0lmpgzbi9+OfPMKDw3n2x25SRwXlSzBQw==","_resolved":"/private/var/folders/mt/f7hdrv356dg2hv99xjpvmjrh0000gn/T/2b26d5f3f3b5ac48a0d07fbb1b26e982/channek-style-card-0.1.0.tgz","_from":"file:channek-style-card-0.1.0.tgz","_nodeVersion":"23.11.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-bJAUwCT0n9tDY9S4QZadQjFcjNMXdubPoAnMXKwnWOI8YrXt1BovA0lmpgzbi9+OfPMKDw3n2x25SRwXlSzBQw==","shasum":"c876ef6cf1886abfb397f443e80fd4697c5b6845","tarball":"https://registry.npmjs.org/@channek/style-card/-/style-card-0.1.0.tgz","fileCount":223,"unpackedSize":2827129,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIFEo6ZHnVhJ8lJ12fY0FYWHMnytZyzrhN7LSeZJAg+QhAiBCrfQkvJMTuTAxDcS165YNxBSBXEND8tiyaGdB0/Dmew=="}]},"_npmUser":{"name":"channek","email":"h96599021@gmail.com"},"directories":{},"maintainers":[{"name":"channek","email":"h96599021@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/style-card_0.1.0_1786271607016_0.37287822602682774"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-09T10:33:26.866Z","0.1.0":"2026-08-09T10:33:27.260Z","modified":"2026-08-09T10:33:27.463Z"},"maintainers":[{"name":"channek","email":"h96599021@gmail.com"}],"description":"Channek 风格卡：创作系统描述符的加载与解析（零 fs·端口注入）","homepage":"https://github.com/garveyhu/Channek","keywords":["channek","style-card","workspace"],"repository":{"type":"git","url":"git+https://github.com/garveyhu/Channek.git","directory":"shared/style-card"},"author":{"name":"Links","email":"archeruuu@gmail.com"},"bugs":{"url":"https://github.com/garveyhu/Channek/issues"},"license":"Apache-2.0","readme":"# @channek/style-card\n\n**风格卡加载系统**（纯逻辑）：`card.json` schema + registry（装/列/切）+ loader/service。\n\n- **纯逻辑·零 fs**：文件/zip/watch 经依赖倒置的 `CardFileSystem` 端口注入（实现落 `backend/media`），渲染进程经 `@channek/ipc-contract` 通道拿数据——守进程边界 + 自包含。\n- 风格卡是**纯数据**：忽略旧 `_plugin/` 可执行代码；`secretsNeeded` 只声明不含密钥值。\n- channel-1 兼容：`channel.json → card.json` 映射（无 card.json 时现场映射）。\n\n完整设计见 [`docs/design/05-style-card-and-workspace.md`](../../docs/design/05-style-card-and-workspace.md)。\n\n> 骨架占位·实现随 P1 展开。\n","readmeFilename":"README.md","_rev":"1-96117ba7119f2835aefd07564549ae95"}