# Contributing / 参与贡献

Thank you for helping improve `dsh-session-import-codex`. Bug reports and focused pull requests are welcome.

感谢你改进 `dsh-session-import-codex`。欢迎提交问题报告和目标明确的 Pull Request。

## Development / 开发

Requirements: Node.js `^22.19` or `>=24`, pnpm 10, and Git.

环境要求：Node.js `^22.19` 或 `>=24`、pnpm 10 和 Git。

```powershell
git clone git@github.com:xing01l/session-import-codex.git
Set-Location session-import-codex
pnpm install --frozen-lockfile
pnpm test
pnpm typecheck
pnpm lint
pnpm build
pnpm pack --dry-run
```

Keep changes within the plugin's public Harness extension points. Do not read private Codex storage or write Harness persistence files directly. Update both `README.md` and `README.zh.md` when user-facing behavior or setup changes.

请继续使用 Harness 的公开插件扩展点，不要读取 Codex 私有存储，也不要直接写 Harness 持久化文件。用户可见行为或安装方式变化时，请同步更新 `README.md` 和 `README.zh.md`。

Before opening a pull request, describe the behavior change, validation commands actually run, and any migration risk. Do not include credentials, local conversation history, generated `lib`/`dist` files, or profile data.

提交 Pull Request 前，请说明行为变化、实际执行的验证命令和迁移风险；不要提交凭据、本地对话历史、生成的 `lib`/`dist` 文件或 profile 数据。
