@d3ara1n/pi-model-roles 0.2.0 → 0.2.1

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.
Files changed (2) hide show
  1. package/package.json +2 -1
  2. package/src/defaults.ts +4 -4
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@d3ara1n/pi-model-roles",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
+ "type": "module",
4
5
  "description": "Model role configuration library for pi extensions — defines named model roles and resolves them to Model instances",
5
6
  "main": "src/index.ts",
6
7
  "types": "src/types.ts",
package/src/defaults.ts CHANGED
@@ -13,22 +13,22 @@ import type { RoleConfig } from "./types.ts";
13
13
  export const BUILTIN_DEFAULT_ROLES: Record<string, RoleConfig> = {
14
14
  default: {
15
15
  model: null,
16
- description: "常规开发任务:编写新功能、修改现有代码、代码审查、添加测试、一般性调试、文件级别的修改",
16
+ description: "General development tasks: writing new features, modifying existing code, code review, adding tests, routine debugging, file-level changes",
17
17
  thinking: "medium",
18
18
  },
19
19
  heavy: {
20
20
  model: null,
21
- description: "需要深度思考的任务:跨文件重构、架构设计、复杂 bug 调试、性能优化、安全分析、数据库 schema 变更、涉及多个模块的迁移",
21
+ description: "Tasks requiring deep thinking: cross-file refactoring, architecture design, complex bug debugging, performance optimization, security analysis, database schema changes, multi-module migrations",
22
22
  thinking: "high",
23
23
  },
24
24
  fast: {
25
25
  model: null,
26
- description: "简单确定性的任务:一行修改、格式调整、简单问答、文档查阅、git 操作、确认类回复",
26
+ description: "Simple deterministic tasks: one-line edits, formatting tweaks, simple Q&A, doc lookups, git operations, confirmation replies",
27
27
  thinking: "low",
28
28
  },
29
29
  utility: {
30
30
  model: null,
31
- description: "轻量辅助:模型路由、commit 生成、标题摘要等(hidden",
31
+ description: "Lightweight utilities: model routing, commit generation, title/summary, etc. (hidden)",
32
32
  thinking: "off",
33
33
  hidden: true,
34
34
  },