@code-yeongyu/senpi 2026.7.9-2 → 2026.7.10-2
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 +33 -0
- package/README.md +1 -1
- package/dist/core/extensions/types.d.ts +2 -7
- 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 +1 -6
- package/dist/core/model-registry.d.ts.map +1 -1
- package/dist/core/model-registry.js +17 -6
- package/dist/core/model-registry.js.map +1 -1
- package/dist/core/settings-manager.d.ts +4 -3
- package/dist/core/settings-manager.d.ts.map +1 -1
- package/dist/core/settings-manager.js +2 -1
- 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 +1 -0
- package/dist/modes/interactive/theme/light.json +1 -0
- package/dist/modes/interactive/theme/theme-schema.json +6 -2
- package/dist/modes/interactive/theme/theme.d.ts +3 -2
- package/dist/modes/interactive/theme/theme.d.ts.map +1 -1
- package/dist/modes/interactive/theme/theme.js +11 -4
- package/dist/modes/interactive/theme/theme.js.map +1 -1
- package/docs/custom-provider.md +4 -3
- package/docs/extensions.md +1 -1
- package/docs/models.md +45 -4
- package/docs/rpc.md +2 -2
- package/docs/sdk.md +1 -1
- package/docs/settings.md +2 -2
- package/docs/themes.md +5 -3
- 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 +2 -3
- 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 +4 -2
- 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 +7 -8
- 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 +3 -6
- 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 +5 -1
- 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 +5 -1
- 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 +6 -4
- 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 +4 -3
- 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 +240 -67
- 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 +13 -4
- 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 +62 -5
- 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 +32 -20
- 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 +11 -1
- 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 +6 -4
- 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 +3 -21
- 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 +3 -21
- 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 +11 -1
- 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 +6 -4
- 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 +8 -2
- 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 +5 -4
- 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 +38 -0
- 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 +14 -9
- 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 +52 -21
- 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 +13 -24
- 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 +14 -4
- 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 +9 -7
- 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 +20 -1
- 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 +19 -17
- 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 +12 -2
- 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 +8 -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 +15 -6
- 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 +17 -9
- 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 +7 -8
- package/npm-shrinkwrap.json +0 -3479
|
@@ -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: { "max": "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", "max": "max" },
|
|
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", "max": "max" },
|
|
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", "max": "max" },
|
|
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", "max": "max" },
|
|
359
359
|
input: ["text", "image"],
|
|
360
360
|
cost: {
|
|
361
361
|
input: 10,
|
|
@@ -410,6 +410,7 @@ 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" },
|
|
413
414
|
input: ["text", "image"],
|
|
414
415
|
cost: {
|
|
415
416
|
input: 3,
|
|
@@ -428,6 +429,7 @@ export const OPENROUTER_MODELS = {
|
|
|
428
429
|
baseUrl: "https://openrouter.ai/api/v1",
|
|
429
430
|
compat: { "thinkingFormat": "openrouter", "cacheControlFormat": "anthropic" },
|
|
430
431
|
reasoning: true,
|
|
432
|
+
thinkingLevelMap: { "xhigh": "xhigh", "max": "max" },
|
|
431
433
|
input: ["text", "image"],
|
|
432
434
|
cost: {
|
|
433
435
|
input: 2,
|
|
@@ -788,7 +790,7 @@ export const OPENROUTER_MODELS = {
|
|
|
788
790
|
baseUrl: "https://openrouter.ai/api/v1",
|
|
789
791
|
compat: { "supportsDeveloperRole": false, "thinkingFormat": "openrouter", "requiresReasoningContentOnAssistantMessages": true },
|
|
790
792
|
reasoning: true,
|
|
791
|
-
thinkingLevelMap: { "minimal": null, "low": null, "medium": null, "high": "high", "xhigh": "xhigh" },
|
|
793
|
+
thinkingLevelMap: { "minimal": null, "low": null, "medium": null, "high": "high", "max": null, "xhigh": "xhigh" },
|
|
792
794
|
input: ["text"],
|
|
793
795
|
cost: {
|
|
794
796
|
input: 0.09,
|
|
@@ -807,7 +809,7 @@ export const OPENROUTER_MODELS = {
|
|
|
807
809
|
baseUrl: "https://openrouter.ai/api/v1",
|
|
808
810
|
compat: { "supportsDeveloperRole": false, "thinkingFormat": "openrouter", "requiresReasoningContentOnAssistantMessages": true },
|
|
809
811
|
reasoning: true,
|
|
810
|
-
thinkingLevelMap: { "minimal": null, "low": null, "medium": null, "high": "high", "xhigh": "xhigh" },
|
|
812
|
+
thinkingLevelMap: { "minimal": null, "low": null, "medium": null, "high": "high", "max": null, "xhigh": "xhigh" },
|
|
811
813
|
input: ["text"],
|
|
812
814
|
cost: {
|
|
813
815
|
input: 0.435,
|
|
@@ -2801,7 +2803,7 @@ export const OPENROUTER_MODELS = {
|
|
|
2801
2803
|
baseUrl: "https://openrouter.ai/api/v1",
|
|
2802
2804
|
compat: { "thinkingFormat": "openrouter" },
|
|
2803
2805
|
reasoning: true,
|
|
2804
|
-
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
2806
|
+
thinkingLevelMap: { "xhigh": "xhigh", "max": "max" },
|
|
2805
2807
|
input: ["text", "image"],
|
|
2806
2808
|
cost: {
|
|
2807
2809
|
input: 1,
|
|
@@ -2820,7 +2822,7 @@ export const OPENROUTER_MODELS = {
|
|
|
2820
2822
|
baseUrl: "https://openrouter.ai/api/v1",
|
|
2821
2823
|
compat: { "thinkingFormat": "openrouter" },
|
|
2822
2824
|
reasoning: true,
|
|
2823
|
-
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
2825
|
+
thinkingLevelMap: { "xhigh": "xhigh", "max": "max" },
|
|
2824
2826
|
input: ["text", "image"],
|
|
2825
2827
|
cost: {
|
|
2826
2828
|
input: 1,
|
|
@@ -2839,7 +2841,7 @@ export const OPENROUTER_MODELS = {
|
|
|
2839
2841
|
baseUrl: "https://openrouter.ai/api/v1",
|
|
2840
2842
|
compat: { "thinkingFormat": "openrouter" },
|
|
2841
2843
|
reasoning: true,
|
|
2842
|
-
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
2844
|
+
thinkingLevelMap: { "xhigh": "xhigh", "max": "max" },
|
|
2843
2845
|
input: ["text", "image"],
|
|
2844
2846
|
cost: {
|
|
2845
2847
|
input: 5,
|
|
@@ -2858,7 +2860,7 @@ export const OPENROUTER_MODELS = {
|
|
|
2858
2860
|
baseUrl: "https://openrouter.ai/api/v1",
|
|
2859
2861
|
compat: { "thinkingFormat": "openrouter" },
|
|
2860
2862
|
reasoning: true,
|
|
2861
|
-
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
2863
|
+
thinkingLevelMap: { "xhigh": "xhigh", "max": "max" },
|
|
2862
2864
|
input: ["text", "image"],
|
|
2863
2865
|
cost: {
|
|
2864
2866
|
input: 5,
|
|
@@ -2877,7 +2879,7 @@ export const OPENROUTER_MODELS = {
|
|
|
2877
2879
|
baseUrl: "https://openrouter.ai/api/v1",
|
|
2878
2880
|
compat: { "thinkingFormat": "openrouter" },
|
|
2879
2881
|
reasoning: true,
|
|
2880
|
-
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
2882
|
+
thinkingLevelMap: { "xhigh": "xhigh", "max": "max" },
|
|
2881
2883
|
input: ["text", "image"],
|
|
2882
2884
|
cost: {
|
|
2883
2885
|
input: 2.5,
|
|
@@ -2896,7 +2898,7 @@ export const OPENROUTER_MODELS = {
|
|
|
2896
2898
|
baseUrl: "https://openrouter.ai/api/v1",
|
|
2897
2899
|
compat: { "thinkingFormat": "openrouter" },
|
|
2898
2900
|
reasoning: true,
|
|
2899
|
-
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
2901
|
+
thinkingLevelMap: { "xhigh": "xhigh", "max": "max" },
|
|
2900
2902
|
input: ["text", "image"],
|
|
2901
2903
|
cost: {
|
|
2902
2904
|
input: 2.5,
|
|
@@ -4682,13 +4684,13 @@ export const OPENROUTER_MODELS = {
|
|
|
4682
4684
|
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
4683
4685
|
input: ["text"],
|
|
4684
4686
|
cost: {
|
|
4685
|
-
input: 0.
|
|
4686
|
-
output: 1.
|
|
4687
|
-
cacheRead: 0.
|
|
4687
|
+
input: 0.49,
|
|
4688
|
+
output: 1.54,
|
|
4689
|
+
cacheRead: 0.091,
|
|
4688
4690
|
cacheWrite: 0,
|
|
4689
4691
|
},
|
|
4690
4692
|
contextWindow: 1048576,
|
|
4691
|
-
maxTokens:
|
|
4693
|
+
maxTokens: 128000,
|
|
4692
4694
|
},
|
|
4693
4695
|
"z-ai/glm-5v-turbo": {
|
|
4694
4696
|
id: "z-ai/glm-5v-turbo",
|