@code-yeongyu/senpi 2026.7.10-2 → 2026.7.10
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 +0 -21
- package/README.md +1 -1
- package/dist/core/extensions/types.d.ts +7 -2
- package/dist/core/extensions/types.d.ts.map +1 -1
- package/dist/core/extensions/types.js.map +1 -1
- package/dist/core/model-registry.d.ts +6 -1
- package/dist/core/model-registry.d.ts.map +1 -1
- package/dist/core/model-registry.js +6 -17
- package/dist/core/model-registry.js.map +1 -1
- package/dist/core/settings-manager.d.ts +3 -4
- package/dist/core/settings-manager.d.ts.map +1 -1
- package/dist/core/settings-manager.js +1 -2
- package/dist/core/settings-manager.js.map +1 -1
- package/dist/modes/interactive/components/settings-selector.js +1 -1
- package/dist/modes/interactive/components/settings-selector.js.map +1 -1
- package/dist/modes/interactive/components/thinking-selector.js +1 -1
- package/dist/modes/interactive/components/thinking-selector.js.map +1 -1
- package/dist/modes/interactive/theme/dark.json +0 -1
- package/dist/modes/interactive/theme/light.json +0 -1
- package/dist/modes/interactive/theme/theme-schema.json +2 -6
- package/dist/modes/interactive/theme/theme.d.ts +2 -3
- package/dist/modes/interactive/theme/theme.d.ts.map +1 -1
- package/dist/modes/interactive/theme/theme.js +4 -11
- package/dist/modes/interactive/theme/theme.js.map +1 -1
- package/docs/custom-provider.md +3 -4
- package/docs/extensions.md +1 -1
- package/docs/models.md +4 -45
- package/docs/rpc.md +2 -2
- package/docs/sdk.md +1 -1
- package/docs/settings.md +2 -2
- package/docs/themes.md +3 -5
- package/docs/tui.md +1 -1
- package/docs/usage.md +1 -1
- package/examples/extensions/custom-provider-anthropic/package-lock.json +2 -2
- package/examples/extensions/custom-provider-anthropic/package.json +1 -1
- package/examples/extensions/custom-provider-gitlab-duo/package.json +1 -1
- package/examples/extensions/gondolin/package-lock.json +2 -2
- package/examples/extensions/gondolin/package.json +1 -1
- package/examples/extensions/sandbox/package-lock.json +2 -2
- package/examples/extensions/sandbox/package.json +1 -1
- package/examples/extensions/with-deps/package-lock.json +2 -2
- package/examples/extensions/with-deps/package.json +1 -1
- package/node_modules/@code-yeongyu/senpi-codemode/package.json +3 -3
- package/node_modules/@earendil-works/pi-agent-core/README.md +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/types.d.ts +3 -2
- package/node_modules/@earendil-works/pi-agent-core/dist/types.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/types.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/package.json +2 -2
- package/node_modules/@earendil-works/pi-ai/README.md +2 -4
- package/node_modules/@earendil-works/pi-ai/dist/api/anthropic-messages.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/anthropic-messages.js +8 -7
- package/node_modules/@earendil-works/pi-ai/dist/api/anthropic-messages.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/azure-openai-responses.d.ts +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/azure-openai-responses.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/azure-openai-responses.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/bedrock-converse-stream.js +6 -3
- package/node_modules/@earendil-works/pi-ai/dist/api/bedrock-converse-stream.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-codex-responses.d.ts +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-codex-responses.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-codex-responses.js +1 -5
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-codex-responses.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-completions.d.ts +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-completions.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-completions.js +1 -5
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-completions.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses-shared.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses-shared.js +4 -6
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses-shared.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses.d.ts +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/transform-messages.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/transform-messages.js +3 -4
- package/node_modules/@earendil-works/pi-ai/dist/api/transform-messages.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/models.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/models.generated.d.ts +66 -239
- package/node_modules/@earendil-works/pi-ai/dist/models.generated.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/models.js +4 -13
- package/node_modules/@earendil-works/pi-ai/dist/models.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/amazon-bedrock.models.d.ts +5 -62
- package/node_modules/@earendil-works/pi-ai/dist/providers/amazon-bedrock.models.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/amazon-bedrock.models.js +20 -32
- package/node_modules/@earendil-works/pi-ai/dist/providers/amazon-bedrock.models.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/anthropic.models.d.ts +1 -11
- package/node_modules/@earendil-works/pi-ai/dist/providers/anthropic.models.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/anthropic.models.js +4 -6
- package/node_modules/@earendil-works/pi-ai/dist/providers/anthropic.models.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/azure-openai-responses.models.d.ts +21 -3
- package/node_modules/@earendil-works/pi-ai/dist/providers/azure-openai-responses.models.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/azure-openai-responses.models.js +21 -3
- package/node_modules/@earendil-works/pi-ai/dist/providers/azure-openai-responses.models.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare-ai-gateway.models.d.ts +1 -11
- package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare-ai-gateway.models.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare-ai-gateway.models.js +4 -6
- package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare-ai-gateway.models.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/deepseek.models.d.ts +2 -2
- package/node_modules/@earendil-works/pi-ai/dist/providers/deepseek.models.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/deepseek.models.js +2 -2
- package/node_modules/@earendil-works/pi-ai/dist/providers/deepseek.models.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/fireworks.models.d.ts +2 -2
- package/node_modules/@earendil-works/pi-ai/dist/providers/fireworks.models.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/fireworks.models.js +2 -2
- package/node_modules/@earendil-works/pi-ai/dist/providers/fireworks.models.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/github-copilot.models.d.ts +2 -8
- package/node_modules/@earendil-works/pi-ai/dist/providers/github-copilot.models.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/github-copilot.models.js +4 -5
- package/node_modules/@earendil-works/pi-ai/dist/providers/github-copilot.models.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-codex.models.d.ts +0 -38
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-codex.models.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-codex.models.js +9 -14
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-codex.models.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai.models.d.ts +21 -52
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai.models.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai.models.js +24 -13
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai.models.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/opencode-go.models.d.ts +3 -3
- package/node_modules/@earendil-works/pi-ai/dist/providers/opencode-go.models.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/opencode-go.models.js +3 -3
- package/node_modules/@earendil-works/pi-ai/dist/providers/opencode-go.models.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/opencode.models.d.ts +4 -14
- package/node_modules/@earendil-works/pi-ai/dist/providers/opencode.models.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/opencode.models.js +7 -9
- package/node_modules/@earendil-works/pi-ai/dist/providers/opencode.models.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/openrouter.models.d.ts +1 -20
- package/node_modules/@earendil-works/pi-ai/dist/providers/openrouter.models.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/openrouter.models.js +17 -19
- package/node_modules/@earendil-works/pi-ai/dist/providers/openrouter.models.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/vercel-ai-gateway.models.d.ts +1 -11
- package/node_modules/@earendil-works/pi-ai/dist/providers/vercel-ai-gateway.models.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/vercel-ai-gateway.models.js +4 -6
- package/node_modules/@earendil-works/pi-ai/dist/providers/vercel-ai-gateway.models.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/zai-coding-cn.models.d.ts +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/zai-coding-cn.models.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/zai-coding-cn.models.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/zai-coding-cn.models.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/zai.models.d.ts +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/zai.models.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/zai.models.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/zai.models.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/types.d.ts +6 -15
- package/node_modules/@earendil-works/pi-ai/dist/types.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/types.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/estimate.d.ts +3 -3
- package/node_modules/@earendil-works/pi-ai/dist/utils/estimate.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/estimate.js +9 -17
- package/node_modules/@earendil-works/pi-ai/dist/utils/estimate.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/package.json +1 -1
- package/node_modules/@earendil-works/pi-pty/package.json +1 -1
- package/node_modules/@earendil-works/pi-tui/package.json +1 -1
- package/package.json +6 -6
|
@@ -279,7 +279,7 @@ export const OPENROUTER_MODELS = {
|
|
|
279
279
|
baseUrl: "https://openrouter.ai/api/v1",
|
|
280
280
|
compat: { "thinkingFormat": "openrouter", "cacheControlFormat": "anthropic" },
|
|
281
281
|
reasoning: true,
|
|
282
|
-
thinkingLevelMap: { "
|
|
282
|
+
thinkingLevelMap: { "xhigh": "max" },
|
|
283
283
|
input: ["text", "image"],
|
|
284
284
|
cost: {
|
|
285
285
|
input: 5,
|
|
@@ -298,7 +298,7 @@ export const OPENROUTER_MODELS = {
|
|
|
298
298
|
baseUrl: "https://openrouter.ai/api/v1",
|
|
299
299
|
compat: { "thinkingFormat": "openrouter", "cacheControlFormat": "anthropic" },
|
|
300
300
|
reasoning: true,
|
|
301
|
-
thinkingLevelMap: { "xhigh": "xhigh"
|
|
301
|
+
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
302
302
|
input: ["text", "image"],
|
|
303
303
|
cost: {
|
|
304
304
|
input: 5,
|
|
@@ -317,7 +317,7 @@ export const OPENROUTER_MODELS = {
|
|
|
317
317
|
baseUrl: "https://openrouter.ai/api/v1",
|
|
318
318
|
compat: { "thinkingFormat": "openrouter", "cacheControlFormat": "anthropic" },
|
|
319
319
|
reasoning: true,
|
|
320
|
-
thinkingLevelMap: { "xhigh": "xhigh"
|
|
320
|
+
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
321
321
|
input: ["text", "image"],
|
|
322
322
|
cost: {
|
|
323
323
|
input: 30,
|
|
@@ -336,7 +336,7 @@ export const OPENROUTER_MODELS = {
|
|
|
336
336
|
baseUrl: "https://openrouter.ai/api/v1",
|
|
337
337
|
compat: { "thinkingFormat": "openrouter", "cacheControlFormat": "anthropic" },
|
|
338
338
|
reasoning: true,
|
|
339
|
-
thinkingLevelMap: { "xhigh": "xhigh"
|
|
339
|
+
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
340
340
|
input: ["text", "image"],
|
|
341
341
|
cost: {
|
|
342
342
|
input: 5,
|
|
@@ -355,7 +355,7 @@ export const OPENROUTER_MODELS = {
|
|
|
355
355
|
baseUrl: "https://openrouter.ai/api/v1",
|
|
356
356
|
compat: { "thinkingFormat": "openrouter", "cacheControlFormat": "anthropic" },
|
|
357
357
|
reasoning: true,
|
|
358
|
-
thinkingLevelMap: { "xhigh": "xhigh"
|
|
358
|
+
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
359
359
|
input: ["text", "image"],
|
|
360
360
|
cost: {
|
|
361
361
|
input: 10,
|
|
@@ -410,7 +410,6 @@ export const OPENROUTER_MODELS = {
|
|
|
410
410
|
baseUrl: "https://openrouter.ai/api/v1",
|
|
411
411
|
compat: { "thinkingFormat": "openrouter", "cacheControlFormat": "anthropic" },
|
|
412
412
|
reasoning: true,
|
|
413
|
-
thinkingLevelMap: { "max": "max" },
|
|
414
413
|
input: ["text", "image"],
|
|
415
414
|
cost: {
|
|
416
415
|
input: 3,
|
|
@@ -429,7 +428,6 @@ export const OPENROUTER_MODELS = {
|
|
|
429
428
|
baseUrl: "https://openrouter.ai/api/v1",
|
|
430
429
|
compat: { "thinkingFormat": "openrouter", "cacheControlFormat": "anthropic" },
|
|
431
430
|
reasoning: true,
|
|
432
|
-
thinkingLevelMap: { "xhigh": "xhigh", "max": "max" },
|
|
433
431
|
input: ["text", "image"],
|
|
434
432
|
cost: {
|
|
435
433
|
input: 2,
|
|
@@ -790,7 +788,7 @@ export const OPENROUTER_MODELS = {
|
|
|
790
788
|
baseUrl: "https://openrouter.ai/api/v1",
|
|
791
789
|
compat: { "supportsDeveloperRole": false, "thinkingFormat": "openrouter", "requiresReasoningContentOnAssistantMessages": true },
|
|
792
790
|
reasoning: true,
|
|
793
|
-
thinkingLevelMap: { "minimal": null, "low": null, "medium": null, "high": "high", "
|
|
791
|
+
thinkingLevelMap: { "minimal": null, "low": null, "medium": null, "high": "high", "xhigh": "xhigh" },
|
|
794
792
|
input: ["text"],
|
|
795
793
|
cost: {
|
|
796
794
|
input: 0.09,
|
|
@@ -809,7 +807,7 @@ export const OPENROUTER_MODELS = {
|
|
|
809
807
|
baseUrl: "https://openrouter.ai/api/v1",
|
|
810
808
|
compat: { "supportsDeveloperRole": false, "thinkingFormat": "openrouter", "requiresReasoningContentOnAssistantMessages": true },
|
|
811
809
|
reasoning: true,
|
|
812
|
-
thinkingLevelMap: { "minimal": null, "low": null, "medium": null, "high": "high", "
|
|
810
|
+
thinkingLevelMap: { "minimal": null, "low": null, "medium": null, "high": "high", "xhigh": "xhigh" },
|
|
813
811
|
input: ["text"],
|
|
814
812
|
cost: {
|
|
815
813
|
input: 0.435,
|
|
@@ -2803,7 +2801,7 @@ export const OPENROUTER_MODELS = {
|
|
|
2803
2801
|
baseUrl: "https://openrouter.ai/api/v1",
|
|
2804
2802
|
compat: { "thinkingFormat": "openrouter" },
|
|
2805
2803
|
reasoning: true,
|
|
2806
|
-
thinkingLevelMap: { "xhigh": "xhigh"
|
|
2804
|
+
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
2807
2805
|
input: ["text", "image"],
|
|
2808
2806
|
cost: {
|
|
2809
2807
|
input: 1,
|
|
@@ -2822,7 +2820,7 @@ export const OPENROUTER_MODELS = {
|
|
|
2822
2820
|
baseUrl: "https://openrouter.ai/api/v1",
|
|
2823
2821
|
compat: { "thinkingFormat": "openrouter" },
|
|
2824
2822
|
reasoning: true,
|
|
2825
|
-
thinkingLevelMap: { "xhigh": "xhigh"
|
|
2823
|
+
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
2826
2824
|
input: ["text", "image"],
|
|
2827
2825
|
cost: {
|
|
2828
2826
|
input: 1,
|
|
@@ -2841,7 +2839,7 @@ export const OPENROUTER_MODELS = {
|
|
|
2841
2839
|
baseUrl: "https://openrouter.ai/api/v1",
|
|
2842
2840
|
compat: { "thinkingFormat": "openrouter" },
|
|
2843
2841
|
reasoning: true,
|
|
2844
|
-
thinkingLevelMap: { "xhigh": "xhigh"
|
|
2842
|
+
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
2845
2843
|
input: ["text", "image"],
|
|
2846
2844
|
cost: {
|
|
2847
2845
|
input: 5,
|
|
@@ -2860,7 +2858,7 @@ export const OPENROUTER_MODELS = {
|
|
|
2860
2858
|
baseUrl: "https://openrouter.ai/api/v1",
|
|
2861
2859
|
compat: { "thinkingFormat": "openrouter" },
|
|
2862
2860
|
reasoning: true,
|
|
2863
|
-
thinkingLevelMap: { "xhigh": "xhigh"
|
|
2861
|
+
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
2864
2862
|
input: ["text", "image"],
|
|
2865
2863
|
cost: {
|
|
2866
2864
|
input: 5,
|
|
@@ -2879,7 +2877,7 @@ export const OPENROUTER_MODELS = {
|
|
|
2879
2877
|
baseUrl: "https://openrouter.ai/api/v1",
|
|
2880
2878
|
compat: { "thinkingFormat": "openrouter" },
|
|
2881
2879
|
reasoning: true,
|
|
2882
|
-
thinkingLevelMap: { "xhigh": "xhigh"
|
|
2880
|
+
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
2883
2881
|
input: ["text", "image"],
|
|
2884
2882
|
cost: {
|
|
2885
2883
|
input: 2.5,
|
|
@@ -2898,7 +2896,7 @@ export const OPENROUTER_MODELS = {
|
|
|
2898
2896
|
baseUrl: "https://openrouter.ai/api/v1",
|
|
2899
2897
|
compat: { "thinkingFormat": "openrouter" },
|
|
2900
2898
|
reasoning: true,
|
|
2901
|
-
thinkingLevelMap: { "xhigh": "xhigh"
|
|
2899
|
+
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
2902
2900
|
input: ["text", "image"],
|
|
2903
2901
|
cost: {
|
|
2904
2902
|
input: 2.5,
|
|
@@ -4684,13 +4682,13 @@ export const OPENROUTER_MODELS = {
|
|
|
4684
4682
|
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
4685
4683
|
input: ["text"],
|
|
4686
4684
|
cost: {
|
|
4687
|
-
input: 0.
|
|
4688
|
-
output: 1.
|
|
4689
|
-
cacheRead: 0.
|
|
4685
|
+
input: 0.532,
|
|
4686
|
+
output: 1.672,
|
|
4687
|
+
cacheRead: 0.0988,
|
|
4690
4688
|
cacheWrite: 0,
|
|
4691
4689
|
},
|
|
4692
4690
|
contextWindow: 1048576,
|
|
4693
|
-
maxTokens:
|
|
4691
|
+
maxTokens: 131072,
|
|
4694
4692
|
},
|
|
4695
4693
|
"z-ai/glm-5v-turbo": {
|
|
4696
4694
|
id: "z-ai/glm-5v-turbo",
|