@code-yeongyu/senpi 2026.7.16-3 → 2026.7.16

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 (38) hide show
  1. package/CHANGELOG.md +0 -29
  2. package/examples/extensions/custom-provider-anthropic/package-lock.json +2 -2
  3. package/examples/extensions/custom-provider-anthropic/package.json +1 -1
  4. package/examples/extensions/custom-provider-gitlab-duo/package.json +1 -1
  5. package/examples/extensions/gondolin/package-lock.json +2 -2
  6. package/examples/extensions/gondolin/package.json +1 -1
  7. package/examples/extensions/sandbox/package-lock.json +2 -2
  8. package/examples/extensions/sandbox/package.json +1 -1
  9. package/examples/extensions/with-deps/package-lock.json +2 -2
  10. package/examples/extensions/with-deps/package.json +1 -1
  11. package/node_modules/@code-yeongyu/senpi-codemode/CHANGELOG.md +0 -16
  12. package/node_modules/@code-yeongyu/senpi-codemode/package.json +3 -3
  13. package/node_modules/@earendil-works/pi-agent-core/package.json +2 -2
  14. package/node_modules/@earendil-works/pi-ai/README.md +1 -1
  15. package/node_modules/@earendil-works/pi-ai/dist/models.generated.d.ts +110 -70
  16. package/node_modules/@earendil-works/pi-ai/dist/models.generated.d.ts.map +1 -1
  17. package/node_modules/@earendil-works/pi-ai/dist/providers/kimi-coding.models.d.ts +0 -26
  18. package/node_modules/@earendil-works/pi-ai/dist/providers/kimi-coding.models.d.ts.map +1 -1
  19. package/node_modules/@earendil-works/pi-ai/dist/providers/kimi-coding.models.js +0 -6
  20. package/node_modules/@earendil-works/pi-ai/dist/providers/kimi-coding.models.js.map +1 -1
  21. package/node_modules/@earendil-works/pi-ai/dist/providers/moonshotai-cn.models.js +3 -3
  22. package/node_modules/@earendil-works/pi-ai/dist/providers/moonshotai-cn.models.js.map +1 -1
  23. package/node_modules/@earendil-works/pi-ai/dist/providers/moonshotai.models.js +3 -3
  24. package/node_modules/@earendil-works/pi-ai/dist/providers/moonshotai.models.js.map +1 -1
  25. package/node_modules/@earendil-works/pi-ai/dist/providers/opencode-go.models.d.ts +0 -44
  26. package/node_modules/@earendil-works/pi-ai/dist/providers/opencode-go.models.d.ts.map +1 -1
  27. package/node_modules/@earendil-works/pi-ai/dist/providers/opencode-go.models.js +0 -36
  28. package/node_modules/@earendil-works/pi-ai/dist/providers/opencode-go.models.js.map +1 -1
  29. package/node_modules/@earendil-works/pi-ai/dist/providers/openrouter.models.js +6 -6
  30. package/node_modules/@earendil-works/pi-ai/dist/providers/openrouter.models.js.map +1 -1
  31. package/node_modules/@earendil-works/pi-ai/dist/providers/xai.models.d.ts +110 -0
  32. package/node_modules/@earendil-works/pi-ai/dist/providers/xai.models.d.ts.map +1 -1
  33. package/node_modules/@earendil-works/pi-ai/dist/providers/xai.models.js +90 -0
  34. package/node_modules/@earendil-works/pi-ai/dist/providers/xai.models.js.map +1 -1
  35. package/node_modules/@earendil-works/pi-ai/package.json +1 -1
  36. package/node_modules/@earendil-works/pi-pty/package.json +1 -1
  37. package/node_modules/@earendil-works/pi-tui/package.json +1 -1
  38. package/package.json +6 -6
@@ -1,4 +1,92 @@
1
1
  export declare const XAI_MODELS: {
2
+ readonly "grok-3": {
3
+ id: string;
4
+ name: string;
5
+ api: "openai-completions";
6
+ provider: string;
7
+ baseUrl: string;
8
+ compat: {
9
+ supportsStore: false;
10
+ supportsDeveloperRole: false;
11
+ supportsReasoningEffort: false;
12
+ };
13
+ reasoning: false;
14
+ input: "text"[];
15
+ cost: {
16
+ input: number;
17
+ output: number;
18
+ cacheRead: number;
19
+ cacheWrite: number;
20
+ };
21
+ contextWindow: number;
22
+ maxTokens: number;
23
+ };
24
+ readonly "grok-3-fast": {
25
+ id: string;
26
+ name: string;
27
+ api: "openai-completions";
28
+ provider: string;
29
+ baseUrl: string;
30
+ compat: {
31
+ supportsStore: false;
32
+ supportsDeveloperRole: false;
33
+ supportsReasoningEffort: false;
34
+ };
35
+ reasoning: false;
36
+ input: "text"[];
37
+ cost: {
38
+ input: number;
39
+ output: number;
40
+ cacheRead: number;
41
+ cacheWrite: number;
42
+ };
43
+ contextWindow: number;
44
+ maxTokens: number;
45
+ };
46
+ readonly "grok-4.20-0309-non-reasoning": {
47
+ id: string;
48
+ name: string;
49
+ api: "openai-completions";
50
+ provider: string;
51
+ baseUrl: string;
52
+ compat: {
53
+ supportsStore: false;
54
+ supportsDeveloperRole: false;
55
+ supportsReasoningEffort: false;
56
+ };
57
+ reasoning: false;
58
+ input: ("image" | "text")[];
59
+ cost: {
60
+ input: number;
61
+ output: number;
62
+ cacheRead: number;
63
+ cacheWrite: number;
64
+ };
65
+ contextWindow: number;
66
+ maxTokens: number;
67
+ };
68
+ readonly "grok-4.20-0309-reasoning": {
69
+ id: string;
70
+ name: string;
71
+ api: "openai-completions";
72
+ provider: string;
73
+ baseUrl: string;
74
+ compat: {
75
+ supportsStore: false;
76
+ supportsDeveloperRole: false;
77
+ supportsReasoningEffort: false;
78
+ };
79
+ reasoning: true;
80
+ input: ("image" | "text")[];
81
+ cost: {
82
+ input: number;
83
+ output: number;
84
+ cacheRead: number;
85
+ cacheWrite: number;
86
+ };
87
+ contextWindow: number;
88
+ maxTokens: number;
89
+ };
2
90
  readonly "grok-4.3": {
3
91
  id: string;
4
92
  name: string;
@@ -67,5 +155,27 @@ export declare const XAI_MODELS: {
67
155
  contextWindow: number;
68
156
  maxTokens: number;
69
157
  };
158
+ readonly "grok-code-fast-1": {
159
+ id: string;
160
+ name: string;
161
+ api: "openai-completions";
162
+ provider: string;
163
+ baseUrl: string;
164
+ compat: {
165
+ supportsStore: false;
166
+ supportsDeveloperRole: false;
167
+ supportsReasoningEffort: false;
168
+ };
169
+ reasoning: false;
170
+ input: "text"[];
171
+ cost: {
172
+ input: number;
173
+ output: number;
174
+ cacheRead: number;
175
+ cacheWrite: number;
176
+ };
177
+ contextWindow: number;
178
+ maxTokens: number;
179
+ };
70
180
  };
71
181
  //# sourceMappingURL=xai.models.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"xai.models.d.ts","sourceRoot":"","sources":["../../src/providers/xai.models.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;YAWpB,KAAK;YACL,MAAM;YACN,SAAS;YACT,UAAU;;;;;;;;;;;;;;;;YAaQ,GAAK;YAAM,OAAS;;;;YAGtC,KAAK;YACL,MAAM;YACN,SAAS;YACT,UAAU;;;;;;;;;;;;;;;;;;;YAeV,KAAK;YACL,MAAM;YACN,SAAS;YACT,UAAU;;;;;CAKH,CAAC"}
1
+ {"version":3,"file":"xai.models.d.ts","sourceRoot":"","sources":["../../src/providers/xai.models.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;YAWpB,KAAK;YACL,MAAM;YACN,SAAS;YACT,UAAU;;;;;;;;;;;;;;;;;;;YAeV,KAAK;YACL,MAAM;YACN,SAAS;YACT,UAAU;;;;;;;;;;;;;;;;;;;YAeV,KAAK;YACL,MAAM;YACN,SAAS;YACT,UAAU;;;;;;;;;;;;;;;;;;;YAeV,KAAK;YACL,MAAM;YACN,SAAS;YACT,UAAU;;;;;;;;;;;;;;;;;;;YAeV,KAAK;YACL,MAAM;YACN,SAAS;YACT,UAAU;;;;;;;;;;;;;;;;YAaQ,GAAK;YAAM,OAAS;;;;YAGtC,KAAK;YACL,MAAM;YACN,SAAS;YACT,UAAU;;;;;;;;;;;;;;;;;;;YAeV,KAAK;YACL,MAAM;YACN,SAAS;YACT,UAAU;;;;;;;;;;;;;;;;;;;YAeV,KAAK;YACL,MAAM;YACN,SAAS;YACT,UAAU;;;;;CAKH,CAAC"}
@@ -1,6 +1,78 @@
1
1
  // This file is auto-generated by scripts/generate-models.ts
2
2
  // Do not edit manually - run 'npm run generate-models' to update
3
3
  export const XAI_MODELS = {
4
+ "grok-3": {
5
+ id: "grok-3",
6
+ name: "Grok 3",
7
+ api: "openai-completions",
8
+ provider: "xai",
9
+ baseUrl: "https://api.x.ai/v1",
10
+ compat: { "supportsStore": false, "supportsDeveloperRole": false, "supportsReasoningEffort": false },
11
+ reasoning: false,
12
+ input: ["text"],
13
+ cost: {
14
+ input: 3,
15
+ output: 15,
16
+ cacheRead: 0.75,
17
+ cacheWrite: 0,
18
+ },
19
+ contextWindow: 131072,
20
+ maxTokens: 8192,
21
+ },
22
+ "grok-3-fast": {
23
+ id: "grok-3-fast",
24
+ name: "Grok 3 Fast",
25
+ api: "openai-completions",
26
+ provider: "xai",
27
+ baseUrl: "https://api.x.ai/v1",
28
+ compat: { "supportsStore": false, "supportsDeveloperRole": false, "supportsReasoningEffort": false },
29
+ reasoning: false,
30
+ input: ["text"],
31
+ cost: {
32
+ input: 5,
33
+ output: 25,
34
+ cacheRead: 1.25,
35
+ cacheWrite: 0,
36
+ },
37
+ contextWindow: 131072,
38
+ maxTokens: 8192,
39
+ },
40
+ "grok-4.20-0309-non-reasoning": {
41
+ id: "grok-4.20-0309-non-reasoning",
42
+ name: "Grok 4.20 (Non-Reasoning)",
43
+ api: "openai-completions",
44
+ provider: "xai",
45
+ baseUrl: "https://api.x.ai/v1",
46
+ compat: { "supportsStore": false, "supportsDeveloperRole": false, "supportsReasoningEffort": false },
47
+ reasoning: false,
48
+ input: ["text", "image"],
49
+ cost: {
50
+ input: 1.25,
51
+ output: 2.5,
52
+ cacheRead: 0.2,
53
+ cacheWrite: 0,
54
+ },
55
+ contextWindow: 1000000,
56
+ maxTokens: 30000,
57
+ },
58
+ "grok-4.20-0309-reasoning": {
59
+ id: "grok-4.20-0309-reasoning",
60
+ name: "Grok 4.20 (Reasoning)",
61
+ api: "openai-completions",
62
+ provider: "xai",
63
+ baseUrl: "https://api.x.ai/v1",
64
+ compat: { "supportsStore": false, "supportsDeveloperRole": false, "supportsReasoningEffort": false },
65
+ reasoning: true,
66
+ input: ["text", "image"],
67
+ cost: {
68
+ input: 1.25,
69
+ output: 2.5,
70
+ cacheRead: 0.2,
71
+ cacheWrite: 0,
72
+ },
73
+ contextWindow: 1000000,
74
+ maxTokens: 30000,
75
+ },
4
76
  "grok-4.3": {
5
77
  id: "grok-4.3",
6
78
  name: "Grok 4.3",
@@ -56,5 +128,23 @@ export const XAI_MODELS = {
56
128
  contextWindow: 256000,
57
129
  maxTokens: 256000,
58
130
  },
131
+ "grok-code-fast-1": {
132
+ id: "grok-code-fast-1",
133
+ name: "Grok Code Fast 1",
134
+ api: "openai-completions",
135
+ provider: "xai",
136
+ baseUrl: "https://api.x.ai/v1",
137
+ compat: { "supportsStore": false, "supportsDeveloperRole": false, "supportsReasoningEffort": false },
138
+ reasoning: false,
139
+ input: ["text"],
140
+ cost: {
141
+ input: 0.2,
142
+ output: 1.5,
143
+ cacheRead: 0.02,
144
+ cacheWrite: 0,
145
+ },
146
+ contextWindow: 32768,
147
+ maxTokens: 8192,
148
+ },
59
149
  };
60
150
  //# sourceMappingURL=xai.models.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"xai.models.js","sourceRoot":"","sources":["../../src/providers/xai.models.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D,iEAAiE;AAIjE,MAAM,CAAC,MAAM,UAAU,GAAG;IACzB,UAAU,EAAE;QACX,EAAE,EAAE,UAAU;QACd,IAAI,EAAE,UAAU;QAChB,GAAG,EAAE,oBAAoB;QACzB,QAAQ,EAAE,KAAK;QACf,OAAO,EAAE,qBAAqB;QAC9B,MAAM,EAAE,EAAC,eAAe,EAAC,KAAK,EAAC,uBAAuB,EAAC,KAAK,EAAC,yBAAyB,EAAC,KAAK,EAAC;QAC7F,SAAS,EAAE,IAAI;QACf,KAAK,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC;QACxB,IAAI,EAAE;YACL,KAAK,EAAE,IAAI;YACX,MAAM,EAAE,GAAG;YACX,SAAS,EAAE,GAAG;YACd,UAAU,EAAE,CAAC;SACb;QACD,aAAa,EAAE,OAAO;QACtB,SAAS,EAAE,KAAK;KACsB;IACvC,UAAU,EAAE;QACX,EAAE,EAAE,UAAU;QACd,IAAI,EAAE,UAAU;QAChB,GAAG,EAAE,kBAAkB;QACvB,QAAQ,EAAE,KAAK;QACf,OAAO,EAAE,qBAAqB;QAC9B,MAAM,EAAE,EAAC,4BAA4B,EAAC,KAAK,EAAC;QAC5C,SAAS,EAAE,IAAI;QACf,gBAAgB,EAAE,EAAC,KAAK,EAAC,IAAI,EAAC,SAAS,EAAC,IAAI,EAAC;QAC7C,KAAK,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC;QACxB,IAAI,EAAE;YACL,KAAK,EAAE,CAAC;YACR,MAAM,EAAE,CAAC;YACT,SAAS,EAAE,GAAG;YACd,UAAU,EAAE,CAAC;SACb;QACD,aAAa,EAAE,MAAM;QACrB,SAAS,EAAE,MAAM;KACmB;IACrC,gBAAgB,EAAE;QACjB,EAAE,EAAE,gBAAgB;QACpB,IAAI,EAAE,gBAAgB;QACtB,GAAG,EAAE,oBAAoB;QACzB,QAAQ,EAAE,KAAK;QACf,OAAO,EAAE,qBAAqB;QAC9B,MAAM,EAAE,EAAC,eAAe,EAAC,KAAK,EAAC,uBAAuB,EAAC,KAAK,EAAC,yBAAyB,EAAC,KAAK,EAAC;QAC7F,SAAS,EAAE,IAAI;QACf,KAAK,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC;QACxB,IAAI,EAAE;YACL,KAAK,EAAE,CAAC;YACR,MAAM,EAAE,CAAC;YACT,SAAS,EAAE,GAAG;YACd,UAAU,EAAE,CAAC;SACb;QACD,aAAa,EAAE,MAAM;QACrB,SAAS,EAAE,MAAM;KACqB;CAC9B,CAAC","sourcesContent":["// This file is auto-generated by scripts/generate-models.ts\n// Do not edit manually - run 'npm run generate-models' to update\n\nimport type { Model } from \"../types.ts\";\n\nexport const XAI_MODELS = {\n\t\"grok-4.3\": {\n\t\tid: \"grok-4.3\",\n\t\tname: \"Grok 4.3\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"xai\",\n\t\tbaseUrl: \"https://api.x.ai/v1\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"supportsReasoningEffort\":false},\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.25,\n\t\t\toutput: 2.5,\n\t\t\tcacheRead: 0.2,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 30000,\n\t} satisfies Model<\"openai-completions\">,\n\t\"grok-4.5\": {\n\t\tid: \"grok-4.5\",\n\t\tname: \"Grok 4.5\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"xai\",\n\t\tbaseUrl: \"https://api.x.ai/v1\",\n\t\tcompat: {\"supportsLongCacheRetention\":false},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null,\"minimal\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 2,\n\t\t\toutput: 6,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 500000,\n\t\tmaxTokens: 500000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"grok-build-0.1\": {\n\t\tid: \"grok-build-0.1\",\n\t\tname: \"Grok Build 0.1\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"xai\",\n\t\tbaseUrl: \"https://api.x.ai/v1\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"supportsReasoningEffort\":false},\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1,\n\t\t\toutput: 2,\n\t\t\tcacheRead: 0.2,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 256000,\n\t\tmaxTokens: 256000,\n\t} satisfies Model<\"openai-completions\">,\n} as const;\n"]}
1
+ {"version":3,"file":"xai.models.js","sourceRoot":"","sources":["../../src/providers/xai.models.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D,iEAAiE;AAIjE,MAAM,CAAC,MAAM,UAAU,GAAG;IACzB,QAAQ,EAAE;QACT,EAAE,EAAE,QAA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,IAAI,EAAE;YACL,KAAK,EAAE,GAAG;YACV,MAAM,EAAE,GAAG;YACX,SAAS,EAAE,IAAI;YACf,UAAU,EAAE,CAAC;SACb;QACD,aAAa,EAAE,KAAK;QACpB,SAAS,EAAE,IAAI;KACuB;CAC9B,CAAC","sourcesContent":["// This file is auto-generated by scripts/generate-models.ts\n// Do not edit manually - run 'npm run generate-models' to update\n\nimport type { Model } from \"../types.ts\";\n\nexport const XAI_MODELS = {\n\t\"grok-3\": {\n\t\tid: \"grok-3\",\n\t\tname: \"Grok 3\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"xai\",\n\t\tbaseUrl: \"https://api.x.ai/v1\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"supportsReasoningEffort\":false},\n\t\treasoning: false,\n\t\tinput: [\"text\"],\n\t\tcost: {\n\t\t\tinput: 3,\n\t\t\toutput: 15,\n\t\t\tcacheRead: 0.75,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 131072,\n\t\tmaxTokens: 8192,\n\t} satisfies Model<\"openai-completions\">,\n\t\"grok-3-fast\": {\n\t\tid: \"grok-3-fast\",\n\t\tname: \"Grok 3 Fast\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"xai\",\n\t\tbaseUrl: \"https://api.x.ai/v1\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"supportsReasoningEffort\":false},\n\t\treasoning: false,\n\t\tinput: [\"text\"],\n\t\tcost: {\n\t\t\tinput: 5,\n\t\t\toutput: 25,\n\t\t\tcacheRead: 1.25,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 131072,\n\t\tmaxTokens: 8192,\n\t} satisfies Model<\"openai-completions\">,\n\t\"grok-4.20-0309-non-reasoning\": {\n\t\tid: \"grok-4.20-0309-non-reasoning\",\n\t\tname: \"Grok 4.20 (Non-Reasoning)\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"xai\",\n\t\tbaseUrl: \"https://api.x.ai/v1\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"supportsReasoningEffort\":false},\n\t\treasoning: false,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.25,\n\t\t\toutput: 2.5,\n\t\t\tcacheRead: 0.2,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 30000,\n\t} satisfies Model<\"openai-completions\">,\n\t\"grok-4.20-0309-reasoning\": {\n\t\tid: \"grok-4.20-0309-reasoning\",\n\t\tname: \"Grok 4.20 (Reasoning)\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"xai\",\n\t\tbaseUrl: \"https://api.x.ai/v1\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"supportsReasoningEffort\":false},\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.25,\n\t\t\toutput: 2.5,\n\t\t\tcacheRead: 0.2,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 30000,\n\t} satisfies Model<\"openai-completions\">,\n\t\"grok-4.3\": {\n\t\tid: \"grok-4.3\",\n\t\tname: \"Grok 4.3\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"xai\",\n\t\tbaseUrl: \"https://api.x.ai/v1\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"supportsReasoningEffort\":false},\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.25,\n\t\t\toutput: 2.5,\n\t\t\tcacheRead: 0.2,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 30000,\n\t} satisfies Model<\"openai-completions\">,\n\t\"grok-4.5\": {\n\t\tid: \"grok-4.5\",\n\t\tname: \"Grok 4.5\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"xai\",\n\t\tbaseUrl: \"https://api.x.ai/v1\",\n\t\tcompat: {\"supportsLongCacheRetention\":false},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null,\"minimal\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 2,\n\t\t\toutput: 6,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 500000,\n\t\tmaxTokens: 500000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"grok-build-0.1\": {\n\t\tid: \"grok-build-0.1\",\n\t\tname: \"Grok Build 0.1\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"xai\",\n\t\tbaseUrl: \"https://api.x.ai/v1\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"supportsReasoningEffort\":false},\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1,\n\t\t\toutput: 2,\n\t\t\tcacheRead: 0.2,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 256000,\n\t\tmaxTokens: 256000,\n\t} satisfies Model<\"openai-completions\">,\n\t\"grok-code-fast-1\": {\n\t\tid: \"grok-code-fast-1\",\n\t\tname: \"Grok Code Fast 1\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"xai\",\n\t\tbaseUrl: \"https://api.x.ai/v1\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"supportsReasoningEffort\":false},\n\t\treasoning: false,\n\t\tinput: [\"text\"],\n\t\tcost: {\n\t\t\tinput: 0.2,\n\t\t\toutput: 1.5,\n\t\t\tcacheRead: 0.02,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 32768,\n\t\tmaxTokens: 8192,\n\t} satisfies Model<\"openai-completions\">,\n} as const;\n"]}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@earendil-works/pi-ai",
3
3
  "private": true,
4
- "version": "2026.7.16-3",
4
+ "version": "2026.7.16",
5
5
  "description": "Unified LLM API with automatic model discovery and provider configuration",
6
6
  "type": "module",
7
7
  "main": "./dist/index.js",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@earendil-works/pi-pty",
3
3
  "private": true,
4
- "version": "2026.7.16-3",
4
+ "version": "2026.7.16",
5
5
  "description": "Typed PTY session loader for Senpi persistent terminals",
6
6
  "type": "module",
7
7
  "main": "./dist/index.js",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@earendil-works/pi-tui",
3
3
  "private": true,
4
- "version": "2026.7.16-3",
4
+ "version": "2026.7.16",
5
5
  "description": "Terminal User Interface library with differential rendering for efficient text-based applications",
6
6
  "type": "module",
7
7
  "main": "dist/index.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@code-yeongyu/senpi",
3
- "version": "2026.7.16-3",
3
+ "version": "2026.7.16",
4
4
  "description": "Coding agent CLI with read, bash, edit, write tools and session management",
5
5
  "type": "module",
6
6
  "piConfig": {
@@ -43,11 +43,11 @@
43
43
  "dependencies": {
44
44
  "@anthropic-ai/sdk": "0.91.1",
45
45
  "@aws-sdk/client-bedrock-runtime": "3.1048.0",
46
- "@code-yeongyu/senpi-codemode": "^2026.7.16-3",
47
- "@earendil-works/pi-agent-core": "^2026.7.16-3",
48
- "@earendil-works/pi-ai": "^2026.7.16-3",
49
- "@earendil-works/pi-pty": "^2026.7.16-3",
50
- "@earendil-works/pi-tui": "^2026.7.16-3",
46
+ "@code-yeongyu/senpi-codemode": "^2026.7.16",
47
+ "@earendil-works/pi-agent-core": "^2026.7.16",
48
+ "@earendil-works/pi-ai": "^2026.7.16",
49
+ "@earendil-works/pi-pty": "^2026.7.16",
50
+ "@earendil-works/pi-tui": "^2026.7.16",
51
51
  "@mistralai/mistralai": "2.2.6",
52
52
  "@modelcontextprotocol/sdk": "1.29.0",
53
53
  "@mozilla/readability": "0.6.0",