keyshot-mcp 0.11.0 → 0.12.0

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/CHANGELOG.md CHANGED
@@ -4,6 +4,22 @@ All notable changes to KeyShot MCP are documented in this file.
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [0.12.0] - 2026-09-01
8
+
9
+ ### Added
10
+
11
+ - Structured bug and feature request forms, a pull request checklist, support
12
+ guidance, code ownership, and a bilingual community code of conduct.
13
+ - Weekly Dependabot updates for npm and monthly updates for GitHub Actions.
14
+ - CodeQL analysis for JavaScript and TypeScript changes and a weekly scheduled scan.
15
+
16
+ ### Changed
17
+
18
+ - Contribution guidance now describes the complete validation suite, real KeyShot
19
+ testing expectations, compatibility rules, and confidential-asset restrictions.
20
+ - Security guidance now links directly to GitHub private vulnerability reporting.
21
+ - Release validation now checks that required community health files remain present.
22
+
7
23
  ## [0.11.0] - 2026-08-12
8
24
 
9
25
  ### Added
@@ -39,6 +55,7 @@ All notable changes to KeyShot MCP are documented in this file.
39
55
 
40
56
  - Documented that scene metadata and preview images may be sent by an MCP client to its configured model provider.
41
57
 
42
- [Unreleased]: https://github.com/truman-t3/keyshot-mcp/compare/v0.11.0...HEAD
58
+ [Unreleased]: https://github.com/truman-t3/keyshot-mcp/compare/v0.12.0...HEAD
59
+ [0.12.0]: https://github.com/truman-t3/keyshot-mcp/compare/v0.11.0...v0.12.0
43
60
  [0.11.0]: https://github.com/truman-t3/keyshot-mcp/compare/v0.10.0...v0.11.0
44
61
  [0.10.0]: https://github.com/truman-t3/keyshot-mcp/compare/v0.9.1...v0.10.0
@@ -0,0 +1,28 @@
1
+ # Community Code of Conduct / 社区行为准则
2
+
3
+ ## Our standards
4
+
5
+ KeyShot MCP welcomes designers, developers, testers, technical artists, and
6
+ documentation contributors. Participate respectfully, discuss the work rather than
7
+ the person, accept constructive feedback, and make room for different experience
8
+ levels and languages.
9
+
10
+ Harassment, discrimination, threats, deliberate disruption, and publication of
11
+ another person's private or confidential information are not accepted. Never upload
12
+ customer assets, private scenes, license data, credentials, or unpublished renders
13
+ without clear authorization from their owner.
14
+
15
+ Maintainers may edit or remove content, close interactions, or restrict participation
16
+ when behavior puts people, projects, or confidential work at risk. Serious platform
17
+ abuse can also be reported through GitHub's reporting tools.
18
+
19
+ ## 中文说明
20
+
21
+ KeyShot MCP 欢迎设计师、开发者、测试人员、技术美术和文档贡献者参与。请尊重
22
+ 他人,只讨论工作本身,接受建设性反馈,并尊重不同经验水平和语言背景。
23
+
24
+ 社区不接受骚扰、歧视、威胁、蓄意干扰或公开他人隐私和保密信息。未经所有者明确
25
+ 授权,不得上传客户资产、私人场景、许可证信息、账号凭据或未公开渲染图。
26
+
27
+ 当行为危害参与者、项目或保密工作时,维护者可以编辑或删除内容、结束讨论或限制
28
+ 参与。严重的平台滥用行为也可以通过 GitHub 的举报工具报告。
package/CONTRIBUTING.md CHANGED
@@ -2,44 +2,93 @@
2
2
 
3
3
  ## English
4
4
 
5
- Contributions are welcome.
5
+ Contributions are welcome from designers, developers, technical artists, and
6
+ testers. Useful contributions include:
6
7
 
7
- Useful areas:
8
+ - Testing a clean installation or another KeyShot release.
9
+ - Reproducing a workflow problem with generated or non-confidential assets.
10
+ - Improving designer-facing instructions and MCP client examples.
11
+ - Adding focused wrappers for documented KeyShot `lux` APIs.
12
+ - Improving tests, diagnostics, security, or release reliability.
8
13
 
9
- - Test with more KeyShot versions.
10
- - Improve compatibility with macOS and Linux paths.
11
- - Add examples for Claude Desktop, Codex, and other MCP clients.
12
- - Add more precise wrappers for KeyShot `lux` APIs.
14
+ Start with a GitHub Discussion for usage questions. Open an Issue before a large
15
+ implementation so the workflow, KeyShot API availability, compatibility, and safety
16
+ expectations can be agreed first.
13
17
 
14
- Before opening a pull request:
18
+ ### Development setup
19
+
20
+ Requirements: Node.js 20 or newer, pnpm 10, and Python 3.11 or newer.
15
21
 
16
22
  ```bash
17
- npm install
18
- npm run build
19
- npm run status
23
+ pnpm install --frozen-lockfile
24
+ pnpm run check
25
+ pnpm test
26
+ python -m unittest discover -s tests -p "test_*.py"
27
+ pnpm run format:check
28
+ python -m ruff check scripts tests
29
+ pnpm run docs:tools:check
30
+ node scripts/check-release.mjs
31
+ npm pack --dry-run
20
32
  ```
21
33
 
22
- Do not include proprietary KeyShot scenes, license data, customer assets, or private render outputs in issues or pull requests.
34
+ Run `pnpm run smoke:keyshot` only on a computer with a supported, licensed KeyShot
35
+ installation. Record the KeyShot version and operating system in the pull request.
36
+ CI on Linux validates the MCP and bridge logic; it does not verify KeyShot itself.
37
+
38
+ ### Pull requests
23
39
 
24
- ---
40
+ - Keep changes focused and preserve existing tool names and inputs unless a breaking
41
+ change has been discussed.
42
+ - Update tests, generated tool documentation, README, Skill, and changelog when the
43
+ public interface changes.
44
+ - Use generated or clearly redistributable test assets.
45
+ - Explain real KeyShot validation when behavior depends on the `lux` API.
46
+ - Follow the pull request checklist and wait for CI to pass.
47
+
48
+ Never include proprietary KeyShot scenes, license data, customer assets, credentials,
49
+ private paths, or unpublished renders in Issues, Discussions, commits, or pull requests.
50
+ Report vulnerabilities through GitHub's private security reporting form.
25
51
 
26
52
  ## 中文
27
53
 
28
- 欢迎参与贡献。
54
+ 欢迎设计师、开发者、技术美术和测试人员参与。比较有价值的贡献包括:
55
+
56
+ - 在干净环境或其他 KeyShot 版本上测试安装。
57
+ - 使用项目生成或不保密的素材复现工作流问题。
58
+ - 改进面向设计师的说明和 MCP 客户端示例。
59
+ - 为官方文档公开的 KeyShot `lux` API 增加聚焦的工具封装。
60
+ - 改进测试、诊断、安全和发布可靠性。
29
61
 
30
- 比较有价值的方向:
62
+ 普通使用问题请先在 GitHub Discussions 讨论。准备较大功能前请先创建 Issue,确认
63
+ 工作流、KeyShot API 可用性、兼容范围和安全要求。
31
64
 
32
- - 测试更多 KeyShot 版本。
33
- - 改进 macOS 和 Linux 路径兼容。
34
- - 增加 Claude Desktop、Codex 和其他 MCP 客户端示例。
35
- - 为 KeyShot `lux` API 增加更精确的封装。
65
+ ### 开发环境
36
66
 
37
- 提交修改前建议先运行:
67
+ 需要 Node.js 20 或更高版本、pnpm 10,以及 Python 3.11 或更高版本。
38
68
 
39
69
  ```bash
40
- npm install
41
- npm run build
42
- npm run status
70
+ pnpm install --frozen-lockfile
71
+ pnpm run check
72
+ pnpm test
73
+ python -m unittest discover -s tests -p "test_*.py"
74
+ pnpm run format:check
75
+ python -m ruff check scripts tests
76
+ pnpm run docs:tools:check
77
+ node scripts/check-release.mjs
78
+ npm pack --dry-run
43
79
  ```
44
80
 
45
- 请不要在 issue pull request 里上传专有 KeyShot 场景、许可证数据、客户资产或私人渲染结果。
81
+ 只有在本机已安装并合法授权 KeyShot 时才运行 `pnpm run smoke:keyshot`,并在 PR
82
+ 注明操作系统和 KeyShot 版本。Linux CI 只验证 MCP 与 Bridge 逻辑,不代表已经实测
83
+ KeyShot。
84
+
85
+ ### Pull Request
86
+
87
+ - 保持改动聚焦;除非已讨论破坏性变更,否则保留现有工具名称和输入兼容性。
88
+ - 公共接口变化时同步测试、自动生成工具文档、README、Skill 和 Changelog。
89
+ - 只使用项目生成或明确允许再分发的测试素材。
90
+ - 依赖 `lux` 行为的改动需要说明真实 KeyShot 验证结果。
91
+ - 完成 PR 检查项并等待 CI 通过。
92
+
93
+ 不要在 Issue、Discussion、提交或 PR 中包含专有 KeyShot 场景、许可证数据、客户资产、
94
+ 账号凭据、私人路径或未公开渲染图。安全漏洞请通过 GitHub 私密安全报告提交。
package/README.md CHANGED
@@ -71,9 +71,9 @@ The easiest setup is to send this prompt to an agent that can edit your MCP
71
71
  configuration:
72
72
 
73
73
  ```text
74
- Install KeyShot MCP 0.11.0 and configure it in my MCP client.
74
+ Install KeyShot MCP 0.12.0 and configure it in my MCP client.
75
75
 
76
- 1. Use: npx -y keyshot-mcp@0.11.0
76
+ 1. Use: npx -y keyshot-mcp@0.12.0
77
77
  2. Find my local keyshot_headless.exe and set KEYSHOT_HEADLESS_EXE to its full path.
78
78
  3. Keep outputs in the default KeyShot MCP Outputs folder unless I choose another safe folder.
79
79
  4. Keep KEYSHOT_ALLOW_EXTERNAL_OUTPUTS disabled.
@@ -133,7 +133,7 @@ folder, show me a preview, and do not overwrite the original scene.
133
133
 
134
134
  ### Install
135
135
 
136
- The current release is `0.11.0`.
136
+ The current release is `0.12.0`.
137
137
 
138
138
  #### Run with npx
139
139
 
@@ -144,7 +144,7 @@ No global npm installation is required:
144
144
  "mcpServers": {
145
145
  "keyshot": {
146
146
  "command": "npx",
147
- "args": ["-y", "keyshot-mcp@0.11.0"],
147
+ "args": ["-y", "keyshot-mcp@0.12.0"],
148
148
  "env": {
149
149
  "KEYSHOT_HEADLESS_EXE": "C:/Program Files/KeyShot Studio/bin/keyshot_headless.exe"
150
150
  }
@@ -156,7 +156,7 @@ No global npm installation is required:
156
156
  #### Install globally
157
157
 
158
158
  ```bash
159
- npm install -g keyshot-mcp@0.11.0
159
+ npm install -g keyshot-mcp@0.12.0
160
160
  ```
161
161
 
162
162
  ```json
@@ -334,10 +334,14 @@ directory. A representative result is included below:
334
334
  ### Development
335
335
 
336
336
  ```bash
337
- pnpm install
338
- pnpm check
337
+ pnpm install --frozen-lockfile
338
+ pnpm run check
339
339
  pnpm test
340
340
  python -m unittest discover -s tests -p "test_*.py"
341
+ pnpm run format:check
342
+ python -m ruff check scripts tests
343
+ pnpm run docs:tools:check
344
+ node scripts/check-release.mjs
341
345
  npm pack --dry-run
342
346
  ```
343
347
 
@@ -345,6 +349,21 @@ CI runs on Windows and Ubuntu with Node.js 20 and 24. Linux CI validates the MCP
345
349
  server, bridge logic, metadata, and package; it does not claim that KeyShot itself
346
350
  was tested on Linux.
347
351
 
352
+ ### Community and support
353
+
354
+ - Ask installation and usage questions in
355
+ [GitHub Discussions](https://github.com/truman-t3/keyshot-mcp/discussions).
356
+ - Use the structured [Bug report](https://github.com/truman-t3/keyshot-mcp/issues/new?template=bug-report.yml)
357
+ or [Feature request](https://github.com/truman-t3/keyshot-mcp/issues/new?template=feature-request.yml)
358
+ forms for actionable project work.
359
+ - Report vulnerabilities through
360
+ [private vulnerability reporting](https://github.com/truman-t3/keyshot-mcp/security/advisories/new).
361
+ - Read [SUPPORT.md](SUPPORT.md), [CONTRIBUTING.md](CONTRIBUTING.md), and
362
+ [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md) before sharing diagnostics or contributing.
363
+
364
+ Never attach customer scenes, proprietary models, license information, credentials,
365
+ or confidential renders to a public post.
366
+
348
367
  ### Roadmap
349
368
 
350
369
  - Verify additional supported KeyShot releases on real installations.
@@ -390,9 +409,9 @@ KeyShot MCP 在本机处理 KeyShot 文件;但 MCP 客户端可能会把工具
390
409
  最简单的安装方式,是把下面这段话发给能够修改 MCP 配置的 Agent:
391
410
 
392
411
  ```text
393
- 请安装 KeyShot MCP 0.11.0,并配置到我的 MCP 客户端。
412
+ 请安装 KeyShot MCP 0.12.0,并配置到我的 MCP 客户端。
394
413
 
395
- 1. 使用:npx -y keyshot-mcp@0.11.0
414
+ 1. 使用:npx -y keyshot-mcp@0.12.0
396
415
  2. 查找本机 keyshot_headless.exe,并把完整路径设置为 KEYSHOT_HEADLESS_EXE。
397
416
  3. 默认把结果保存在“文档/KeyShot MCP Outputs”,除非我明确选择其他安全目录。
398
417
  4. 保持 KEYSHOT_ALLOW_EXTERNAL_OUTPUTS 关闭。
@@ -445,7 +464,7 @@ KeyShot MCP 在本机处理 KeyShot 文件;但 MCP 客户端可能会把工具
445
464
 
446
465
  ### 安装
447
466
 
448
- 当前正式版本为 `0.11.0`。
467
+ 当前正式版本为 `0.12.0`。
449
468
 
450
469
  #### 使用 npx 免安装运行
451
470
 
@@ -454,7 +473,7 @@ KeyShot MCP 在本机处理 KeyShot 文件;但 MCP 客户端可能会把工具
454
473
  "mcpServers": {
455
474
  "keyshot": {
456
475
  "command": "npx",
457
- "args": ["-y", "keyshot-mcp@0.11.0"],
476
+ "args": ["-y", "keyshot-mcp@0.12.0"],
458
477
  "env": {
459
478
  "KEYSHOT_HEADLESS_EXE": "C:/Program Files/KeyShot Studio/bin/keyshot_headless.exe"
460
479
  }
@@ -466,7 +485,7 @@ KeyShot MCP 在本机处理 KeyShot 文件;但 MCP 客户端可能会把工具
466
485
  #### 全局安装
467
486
 
468
487
  ```bash
469
- npm install -g keyshot-mcp@0.11.0
488
+ npm install -g keyshot-mcp@0.12.0
470
489
  ```
471
490
 
472
491
  ```json
@@ -631,16 +650,31 @@ npm run smoke:keyshot
631
650
  ### 开发与测试
632
651
 
633
652
  ```bash
634
- pnpm install
635
- pnpm check
653
+ pnpm install --frozen-lockfile
654
+ pnpm run check
636
655
  pnpm test
637
656
  python -m unittest discover -s tests -p "test_*.py"
657
+ pnpm run format:check
658
+ python -m ruff check scripts tests
659
+ pnpm run docs:tools:check
660
+ node scripts/check-release.mjs
638
661
  npm pack --dry-run
639
662
  ```
640
663
 
641
664
  CI 在 Windows 和 Ubuntu 上使用 Node.js 20、24。Linux CI 验证 MCP 服务、bridge、
642
665
  元数据和 npm 包,不表示 KeyShot 软件已经在 Linux 上通过实机测试。
643
666
 
667
+ ### 社区与支持
668
+
669
+ - 安装和使用问题请在 [GitHub Discussions](https://github.com/truman-t3/keyshot-mcp/discussions) 提问。
670
+ - 可以复现的问题使用 [Bug 报告](https://github.com/truman-t3/keyshot-mcp/issues/new?template=bug-report.yml),
671
+ 工作流建议使用 [功能建议](https://github.com/truman-t3/keyshot-mcp/issues/new?template=feature-request.yml)。
672
+ - 安全漏洞通过 [私密安全报告](https://github.com/truman-t3/keyshot-mcp/security/advisories/new) 提交。
673
+ - 公开诊断信息或参与贡献前,请阅读 [SUPPORT.md](SUPPORT.md)、
674
+ [CONTRIBUTING.md](CONTRIBUTING.md) 和 [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md)。
675
+
676
+ 不要在公开内容中附加客户场景、专有模型、许可证信息、账号凭据或保密渲染图。
677
+
644
678
  ### 路线图
645
679
 
646
680
  - 在更多受支持的 KeyShot 正式版本上完成实机验证。
package/SECURITY.md CHANGED
@@ -30,8 +30,10 @@ execution.
30
30
 
31
31
  ### Reporting issues
32
32
 
33
- Report vulnerabilities through a private GitHub security advisory before posting
34
- technical details publicly.
33
+ Report vulnerabilities through the repository's
34
+ [private vulnerability form](https://github.com/truman-t3/keyshot-mcp/security/advisories/new)
35
+ before posting technical details publicly. Include the affected version, impact,
36
+ reproduction steps, and a safe proof of concept that contains no private assets.
35
37
 
36
38
  ---
37
39
 
@@ -60,4 +62,7 @@ KeyShot MCP 本身不会上传文件、运行远程服务或收集遥测数据
60
62
 
61
63
  ### 报告安全问题
62
64
 
63
- 请先通过 GitHub 私密安全公告报告漏洞,不要直接公开技术细节。
65
+ 请先通过仓库的
66
+ [私密安全报告入口](https://github.com/truman-t3/keyshot-mcp/security/advisories/new)
67
+ 报告漏洞,不要直接公开技术细节。请说明受影响版本、影响、复现步骤,并确保验证材料
68
+ 不包含私人资产。
package/SUPPORT.md ADDED
@@ -0,0 +1,28 @@
1
+ # Support / 支持
2
+
3
+ ## English
4
+
5
+ Use the channel that matches the request:
6
+
7
+ - Installation and usage questions: [GitHub Discussions](https://github.com/truman-t3/keyshot-mcp/discussions)
8
+ - Reproducible bugs: [Bug report](https://github.com/truman-t3/keyshot-mcp/issues/new?template=bug-report.yml)
9
+ - Workflow proposals: [Feature request](https://github.com/truman-t3/keyshot-mcp/issues/new?template=feature-request.yml)
10
+ - Vulnerabilities: [Private security report](https://github.com/truman-t3/keyshot-mcp/security/advisories/new)
11
+
12
+ Before posting, run `keyshot_status` and remove license credentials, tokens,
13
+ customer names, private paths, scene files, models, and confidential renders.
14
+ Support is provided by the community on a best-effort basis. KeyShot product,
15
+ license, or account support must be requested from KeyShot.
16
+
17
+ ## 中文
18
+
19
+ 请根据问题选择对应入口:
20
+
21
+ - 安装和使用问题:[GitHub Discussions](https://github.com/truman-t3/keyshot-mcp/discussions)
22
+ - 可以复现的 Bug:[Bug 报告](https://github.com/truman-t3/keyshot-mcp/issues/new?template=bug-report.yml)
23
+ - 工作流建议:[功能建议](https://github.com/truman-t3/keyshot-mcp/issues/new?template=feature-request.yml)
24
+ - 安全漏洞:[私密安全报告](https://github.com/truman-t3/keyshot-mcp/security/advisories/new)
25
+
26
+ 提交前请先运行 `keyshot_status`,并删除许可证、Token、客户名称、私人路径、
27
+ 场景文件、模型和保密渲染图。社区维护者会尽力提供支持;KeyShot 软件、许可证
28
+ 或账号问题需要联系 KeyShot 官方支持。
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const VERSION = "0.11.0";
1
+ export const VERSION = "0.12.0";