@code-yeongyu/senpi 2026.9.18-3 → 2026.9.18-4
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 +17 -0
- package/dist/bundle/chunks/{app-server-command-SXMDPCO3.js → app-server-command-QUUCVP35.js} +1 -1
- package/dist/bundle/chunks/{chunk-FYFLULRU.js → chunk-6IQ3TBZF.js} +7 -7
- package/dist/bundle/chunks/{chunk-KFIHWCMN.js → chunk-AQS2EBFQ.js} +1 -1
- package/dist/bundle/chunks/chunk-IU5W6HXX.js +8 -0
- package/dist/bundle/chunks/{chunk-2LSXWYT5.js → chunk-SY2KKJ4R.js} +2 -2
- package/dist/bundle/chunks/{cli-main-ACDTRT2W.js → cli-main-AKYQ477G.js} +1 -1
- package/dist/bundle/chunks/{host-command-NU5TYUOI.js → host-command-NXX3ORNL.js} +1 -1
- package/dist/bundle/chunks/{interactive-host-runtime-FAKC3LHA.js → interactive-host-runtime-D45DGSLG.js} +1 -1
- package/dist/bundle/chunks/{interactive-mode-4YCBGS3E.js → interactive-mode-4NDHEOJQ.js} +1 -1
- package/dist/bundle/chunks/{multi-session-host-HBY64KFU.js → multi-session-host-KDJCLOES.js} +1 -1
- package/dist/bundle/chunks/{package-manager-cli-23TYIHVC.js → package-manager-cli-6DF4Q2PW.js} +1 -1
- package/dist/bundle/chunks/{rpc-mode-ARUKMUCA.js → rpc-mode-64CVTMPV.js} +1 -1
- package/dist/bundle/chunks/session-worker.js +59 -59
- package/dist/bundle/cli.js +1 -1
- package/dist/bundle/index.js +1 -1
- package/dist/bundle/rpc-entry.js +1 -1
- package/dist/core/extensions/builtin/prompt-preset/kimi-k2-7.d.ts +1 -1
- package/dist/core/extensions/builtin/prompt-preset/kimi-k2-7.d.ts.map +1 -1
- package/dist/core/extensions/builtin/prompt-preset/kimi-k2-7.js +2 -17
- package/dist/core/extensions/builtin/prompt-preset/kimi-k2-7.js.map +1 -1
- package/dist/core/extensions/builtin/prompt-preset/kimi-k2-8.d.ts +3 -0
- package/dist/core/extensions/builtin/prompt-preset/kimi-k2-8.d.ts.map +1 -0
- package/dist/core/extensions/builtin/prompt-preset/kimi-k2-8.js +5 -0
- package/dist/core/extensions/builtin/prompt-preset/kimi-k2-8.js.map +1 -0
- package/dist/core/extensions/builtin/prompt-preset/kimi-k2-code.d.ts +3 -0
- package/dist/core/extensions/builtin/prompt-preset/kimi-k2-code.d.ts.map +1 -0
- package/dist/core/extensions/builtin/prompt-preset/kimi-k2-code.js +28 -0
- package/dist/core/extensions/builtin/prompt-preset/kimi-k2-code.js.map +1 -0
- package/dist/core/extensions/builtin/prompt-preset/presets.d.ts.map +1 -1
- package/dist/core/extensions/builtin/prompt-preset/presets.js +21 -1
- package/dist/core/extensions/builtin/prompt-preset/presets.js.map +1 -1
- package/dist/core/extensions/builtin/prompt-preset/settings.d.ts +1 -1
- package/dist/core/extensions/builtin/prompt-preset/settings.d.ts.map +1 -1
- package/dist/core/extensions/builtin/prompt-preset/settings.js +1 -0
- package/dist/core/extensions/builtin/prompt-preset/settings.js.map +1 -1
- package/dist/modes/rpc/host-decision.d.ts +1 -1
- package/dist/modes/rpc/host-decision.d.ts.map +1 -1
- package/dist/modes/rpc/host-decision.js +2 -0
- package/dist/modes/rpc/host-decision.js.map +1 -1
- package/dist/modes/rpc/host-ensure.js +8 -1
- package/dist/modes/rpc/host-ensure.js.map +1 -1
- package/dist/modes/rpc/host-probe.d.ts +7 -0
- package/dist/modes/rpc/host-probe.d.ts.map +1 -1
- package/dist/modes/rpc/host-probe.js +15 -4
- package/dist/modes/rpc/host-probe.js.map +1 -1
- package/docs/settings.md +1 -1
- package/node_modules/@code-yeongyu/senpi-codemode/CHANGELOG.md +12 -0
- package/node_modules/@code-yeongyu/senpi-codemode/package.json +4 -4
- package/node_modules/@earendil-works/pi-agent-core/package.json +3 -3
- package/node_modules/@earendil-works/pi-ai/dist/models.generated.d.ts +0 -2
- package/node_modules/@earendil-works/pi-ai/dist/models.generated.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/models.generated.js +0 -2
- package/node_modules/@earendil-works/pi-ai/dist/models.generated.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/all.d.ts +150 -7
- package/node_modules/@earendil-works/pi-ai/dist/providers/all.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/all.js +15 -3
- package/node_modules/@earendil-works/pi-ai/dist/providers/all.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/.manifest.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/openrouter.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/kimi-coding.models.d.ts +142 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/kimi-coding.models.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/kimi-coding.models.js +156 -3
- package/node_modules/@earendil-works/pi-ai/dist/providers/kimi-coding.models.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/package.json +2 -2
- package/node_modules/@earendil-works/pi-pty/package.json +1 -1
- package/node_modules/@earendil-works/pi-telemetry/package.json +1 -1
- package/node_modules/@earendil-works/pi-tui/package.json +1 -1
- package/package.json +7 -7
- package/dist/bundle/chunks/chunk-MA3Z67LK.js +0 -8
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/kimi-coding.json +0 -1
|
@@ -1,4 +1,145 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Kimi's coding-plan catalog, owned by the fork.
|
|
3
|
+
*
|
|
4
|
+
* models.dev described this provider once and no longer does, so a generation run
|
|
5
|
+
* emits neither the shard nor its data file. Written by hand for the same reason
|
|
6
|
+
* `devin.models.ts` is: a provider the fork ships must survive a catalog
|
|
7
|
+
* regeneration that upstream no longer describes.
|
|
8
|
+
*/
|
|
2
9
|
import { type ModelCatalog } from "../model-catalog.ts";
|
|
10
|
+
declare const values: {
|
|
11
|
+
readonly "anthropic-messages": {
|
|
12
|
+
readonly k3: {
|
|
13
|
+
readonly id: "k3";
|
|
14
|
+
readonly name: "Kimi K3";
|
|
15
|
+
readonly api: "anthropic-messages";
|
|
16
|
+
readonly provider: "kimi-coding";
|
|
17
|
+
readonly baseUrl: "https://api.kimi.com/coding";
|
|
18
|
+
readonly compat: {
|
|
19
|
+
readonly allowEmptySignature: true;
|
|
20
|
+
readonly forceAdaptiveThinking: true;
|
|
21
|
+
};
|
|
22
|
+
readonly reasoning: true;
|
|
23
|
+
readonly thinkingLevelMap: {
|
|
24
|
+
readonly off: null;
|
|
25
|
+
readonly minimal: null;
|
|
26
|
+
readonly low: "low";
|
|
27
|
+
readonly medium: null;
|
|
28
|
+
readonly high: "high";
|
|
29
|
+
readonly xhigh: null;
|
|
30
|
+
readonly max: "max";
|
|
31
|
+
};
|
|
32
|
+
readonly input: readonly ["text", "image", "video"];
|
|
33
|
+
readonly cost: {
|
|
34
|
+
readonly input: 3;
|
|
35
|
+
readonly output: 15;
|
|
36
|
+
readonly cacheRead: 0.3;
|
|
37
|
+
readonly cacheWrite: 0;
|
|
38
|
+
};
|
|
39
|
+
readonly contextWindow: 1048576;
|
|
40
|
+
readonly maxTokens: 131072;
|
|
41
|
+
};
|
|
42
|
+
readonly "k3-256k": {
|
|
43
|
+
readonly id: "k3-256k";
|
|
44
|
+
readonly name: "Kimi K3-256K";
|
|
45
|
+
readonly api: "anthropic-messages";
|
|
46
|
+
readonly provider: "kimi-coding";
|
|
47
|
+
readonly baseUrl: "https://api.kimi.com/coding";
|
|
48
|
+
readonly compat: {
|
|
49
|
+
readonly forceAdaptiveThinking: true;
|
|
50
|
+
};
|
|
51
|
+
readonly reasoning: true;
|
|
52
|
+
readonly input: readonly ["text", "image"];
|
|
53
|
+
readonly cost: {
|
|
54
|
+
readonly input: 0;
|
|
55
|
+
readonly output: 0;
|
|
56
|
+
readonly cacheRead: 0;
|
|
57
|
+
readonly cacheWrite: 0;
|
|
58
|
+
};
|
|
59
|
+
readonly contextWindow: 262144;
|
|
60
|
+
readonly maxTokens: 131072;
|
|
61
|
+
readonly thinkingLevelMap: {
|
|
62
|
+
readonly off: null;
|
|
63
|
+
readonly minimal: null;
|
|
64
|
+
readonly low: "low";
|
|
65
|
+
readonly medium: null;
|
|
66
|
+
readonly high: "high";
|
|
67
|
+
readonly xhigh: null;
|
|
68
|
+
readonly max: "max";
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
readonly "kimi-for-coding": {
|
|
72
|
+
readonly id: "kimi-for-coding";
|
|
73
|
+
readonly name: "kimi-for-coding";
|
|
74
|
+
readonly api: "anthropic-messages";
|
|
75
|
+
readonly provider: "kimi-coding";
|
|
76
|
+
readonly baseUrl: "https://api.kimi.com/coding";
|
|
77
|
+
readonly compat: {
|
|
78
|
+
readonly allowEmptySignature: true;
|
|
79
|
+
readonly forceAdaptiveThinking: true;
|
|
80
|
+
};
|
|
81
|
+
readonly reasoning: true;
|
|
82
|
+
readonly input: readonly ["text", "image"];
|
|
83
|
+
readonly cost: {
|
|
84
|
+
readonly input: 0.95;
|
|
85
|
+
readonly output: 4;
|
|
86
|
+
readonly cacheRead: 0.19;
|
|
87
|
+
readonly cacheWrite: 0;
|
|
88
|
+
};
|
|
89
|
+
readonly contextWindow: 1048576;
|
|
90
|
+
readonly maxTokens: 32768;
|
|
91
|
+
readonly thinkingLevelMap: {
|
|
92
|
+
readonly off: null;
|
|
93
|
+
readonly minimal: null;
|
|
94
|
+
readonly low: "low";
|
|
95
|
+
readonly medium: null;
|
|
96
|
+
readonly high: "high";
|
|
97
|
+
readonly xhigh: null;
|
|
98
|
+
readonly max: "max";
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
readonly "kimi-for-coding-highspeed": {
|
|
102
|
+
readonly id: "kimi-for-coding-highspeed";
|
|
103
|
+
readonly name: "Kimi For Coding HighSpeed";
|
|
104
|
+
readonly api: "anthropic-messages";
|
|
105
|
+
readonly provider: "kimi-coding";
|
|
106
|
+
readonly baseUrl: "https://api.kimi.com/coding";
|
|
107
|
+
readonly compat: {
|
|
108
|
+
readonly forceAdaptiveThinking: true;
|
|
109
|
+
};
|
|
110
|
+
readonly reasoning: true;
|
|
111
|
+
readonly input: readonly ["text", "image"];
|
|
112
|
+
readonly cost: {
|
|
113
|
+
readonly input: 1.9;
|
|
114
|
+
readonly output: 8;
|
|
115
|
+
readonly cacheRead: 0.38;
|
|
116
|
+
readonly cacheWrite: 0;
|
|
117
|
+
};
|
|
118
|
+
readonly contextWindow: 262144;
|
|
119
|
+
readonly maxTokens: 32768;
|
|
120
|
+
};
|
|
121
|
+
readonly "kimi-k2-thinking": {
|
|
122
|
+
readonly id: "kimi-k2-thinking";
|
|
123
|
+
readonly name: "Kimi K2 Thinking";
|
|
124
|
+
readonly api: "anthropic-messages";
|
|
125
|
+
readonly provider: "kimi-coding";
|
|
126
|
+
readonly baseUrl: "https://api.kimi.com/coding";
|
|
127
|
+
readonly compat: {
|
|
128
|
+
readonly forceAdaptiveThinking: true;
|
|
129
|
+
};
|
|
130
|
+
readonly reasoning: true;
|
|
131
|
+
readonly input: readonly ["text"];
|
|
132
|
+
readonly cost: {
|
|
133
|
+
readonly input: 0.6;
|
|
134
|
+
readonly output: 2.5;
|
|
135
|
+
readonly cacheRead: 0.15;
|
|
136
|
+
readonly cacheWrite: 0;
|
|
137
|
+
};
|
|
138
|
+
readonly contextWindow: 262144;
|
|
139
|
+
readonly maxTokens: 32768;
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
};
|
|
3
143
|
export declare const KIMI_CODING_MODELS: ModelCatalog<typeof values, "kimi-coding">;
|
|
144
|
+
export {};
|
|
4
145
|
//# sourceMappingURL=kimi-coding.models.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kimi-coding.models.d.ts","sourceRoot":"","sources":["../../src/providers/kimi-coding.models.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"kimi-coding.models.d.ts","sourceRoot":"","sources":["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;yBACb,SAAW,EAAE,IAAI;yBACjB,UAAY,EAAE,CAAC;;qBAEhB,aAAe,EAAE,MAAM;qBACvB,SAAW,EAAE,KAAK;;;CAGX,CAAC;AAEX,eAAO,MAAM,kBAAkB,EAAE,YAAY,CAAC,OAAO,MAAM,EAAE,aAAa,CAGzE,CAAC"}
|
|
@@ -1,6 +1,159 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Kimi's coding-plan catalog, owned by the fork.
|
|
3
|
+
*
|
|
4
|
+
* models.dev described this provider once and no longer does, so a generation run
|
|
5
|
+
* emits neither the shard nor its data file. Written by hand for the same reason
|
|
6
|
+
* `devin.models.ts` is: a provider the fork ships must survive a catalog
|
|
7
|
+
* regeneration that upstream no longer describes.
|
|
8
|
+
*/
|
|
4
9
|
import { flattenModelCatalog } from "../model-catalog.js";
|
|
10
|
+
const values = {
|
|
11
|
+
"anthropic-messages": {
|
|
12
|
+
"k3": {
|
|
13
|
+
"id": "k3",
|
|
14
|
+
"name": "Kimi K3",
|
|
15
|
+
"api": "anthropic-messages",
|
|
16
|
+
"provider": "kimi-coding",
|
|
17
|
+
"baseUrl": "https://api.kimi.com/coding",
|
|
18
|
+
"compat": {
|
|
19
|
+
"allowEmptySignature": true,
|
|
20
|
+
"forceAdaptiveThinking": true
|
|
21
|
+
},
|
|
22
|
+
"reasoning": true,
|
|
23
|
+
"thinkingLevelMap": {
|
|
24
|
+
"off": null,
|
|
25
|
+
"minimal": null,
|
|
26
|
+
"low": "low",
|
|
27
|
+
"medium": null,
|
|
28
|
+
"high": "high",
|
|
29
|
+
"xhigh": null,
|
|
30
|
+
"max": "max"
|
|
31
|
+
},
|
|
32
|
+
"input": [
|
|
33
|
+
"text",
|
|
34
|
+
"image",
|
|
35
|
+
"video"
|
|
36
|
+
],
|
|
37
|
+
"cost": {
|
|
38
|
+
"input": 3,
|
|
39
|
+
"output": 15,
|
|
40
|
+
"cacheRead": 0.3,
|
|
41
|
+
"cacheWrite": 0
|
|
42
|
+
},
|
|
43
|
+
"contextWindow": 1048576,
|
|
44
|
+
"maxTokens": 131072
|
|
45
|
+
},
|
|
46
|
+
"k3-256k": {
|
|
47
|
+
"id": "k3-256k",
|
|
48
|
+
"name": "Kimi K3-256K",
|
|
49
|
+
"api": "anthropic-messages",
|
|
50
|
+
"provider": "kimi-coding",
|
|
51
|
+
"baseUrl": "https://api.kimi.com/coding",
|
|
52
|
+
"compat": {
|
|
53
|
+
"forceAdaptiveThinking": true
|
|
54
|
+
},
|
|
55
|
+
"reasoning": true,
|
|
56
|
+
"input": [
|
|
57
|
+
"text",
|
|
58
|
+
"image"
|
|
59
|
+
],
|
|
60
|
+
"cost": {
|
|
61
|
+
"input": 0,
|
|
62
|
+
"output": 0,
|
|
63
|
+
"cacheRead": 0,
|
|
64
|
+
"cacheWrite": 0
|
|
65
|
+
},
|
|
66
|
+
"contextWindow": 262144,
|
|
67
|
+
"maxTokens": 131072,
|
|
68
|
+
"thinkingLevelMap": {
|
|
69
|
+
"off": null,
|
|
70
|
+
"minimal": null,
|
|
71
|
+
"low": "low",
|
|
72
|
+
"medium": null,
|
|
73
|
+
"high": "high",
|
|
74
|
+
"xhigh": null,
|
|
75
|
+
"max": "max"
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"kimi-for-coding": {
|
|
79
|
+
"id": "kimi-for-coding",
|
|
80
|
+
"name": "kimi-for-coding",
|
|
81
|
+
"api": "anthropic-messages",
|
|
82
|
+
"provider": "kimi-coding",
|
|
83
|
+
"baseUrl": "https://api.kimi.com/coding",
|
|
84
|
+
"compat": {
|
|
85
|
+
"allowEmptySignature": true,
|
|
86
|
+
"forceAdaptiveThinking": true
|
|
87
|
+
},
|
|
88
|
+
"reasoning": true,
|
|
89
|
+
"input": [
|
|
90
|
+
"text",
|
|
91
|
+
"image"
|
|
92
|
+
],
|
|
93
|
+
"cost": {
|
|
94
|
+
"input": 0.95,
|
|
95
|
+
"output": 4,
|
|
96
|
+
"cacheRead": 0.19,
|
|
97
|
+
"cacheWrite": 0
|
|
98
|
+
},
|
|
99
|
+
"contextWindow": 1048576,
|
|
100
|
+
"maxTokens": 32768,
|
|
101
|
+
"thinkingLevelMap": {
|
|
102
|
+
"off": null,
|
|
103
|
+
"minimal": null,
|
|
104
|
+
"low": "low",
|
|
105
|
+
"medium": null,
|
|
106
|
+
"high": "high",
|
|
107
|
+
"xhigh": null,
|
|
108
|
+
"max": "max"
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"kimi-for-coding-highspeed": {
|
|
112
|
+
"id": "kimi-for-coding-highspeed",
|
|
113
|
+
"name": "Kimi For Coding HighSpeed",
|
|
114
|
+
"api": "anthropic-messages",
|
|
115
|
+
"provider": "kimi-coding",
|
|
116
|
+
"baseUrl": "https://api.kimi.com/coding",
|
|
117
|
+
"compat": {
|
|
118
|
+
"forceAdaptiveThinking": true
|
|
119
|
+
},
|
|
120
|
+
"reasoning": true,
|
|
121
|
+
"input": [
|
|
122
|
+
"text",
|
|
123
|
+
"image"
|
|
124
|
+
],
|
|
125
|
+
"cost": {
|
|
126
|
+
"input": 1.9,
|
|
127
|
+
"output": 8,
|
|
128
|
+
"cacheRead": 0.38,
|
|
129
|
+
"cacheWrite": 0
|
|
130
|
+
},
|
|
131
|
+
"contextWindow": 262144,
|
|
132
|
+
"maxTokens": 32768
|
|
133
|
+
},
|
|
134
|
+
"kimi-k2-thinking": {
|
|
135
|
+
"id": "kimi-k2-thinking",
|
|
136
|
+
"name": "Kimi K2 Thinking",
|
|
137
|
+
"api": "anthropic-messages",
|
|
138
|
+
"provider": "kimi-coding",
|
|
139
|
+
"baseUrl": "https://api.kimi.com/coding",
|
|
140
|
+
"compat": {
|
|
141
|
+
"forceAdaptiveThinking": true
|
|
142
|
+
},
|
|
143
|
+
"reasoning": true,
|
|
144
|
+
"input": [
|
|
145
|
+
"text"
|
|
146
|
+
],
|
|
147
|
+
"cost": {
|
|
148
|
+
"input": 0.6,
|
|
149
|
+
"output": 2.5,
|
|
150
|
+
"cacheRead": 0.15,
|
|
151
|
+
"cacheWrite": 0
|
|
152
|
+
},
|
|
153
|
+
"contextWindow": 262144,
|
|
154
|
+
"maxTokens": 32768
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
};
|
|
5
158
|
export const KIMI_CODING_MODELS = flattenModelCatalog("kimi-coding", values);
|
|
6
159
|
//# sourceMappingURL=kimi-coding.models.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kimi-coding.models.js","sourceRoot":"","sources":["../../src/providers/kimi-coding.models.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"kimi-coding.models.js","sourceRoot":"","sources":["../../src/providers/kimi-coding.models.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,mBAAmB,EAAqB,MAAM,qBAAqB,CAAC;AAE7E,MAAM,MAAM,GAAG;IACd,oBAAoB,EAAE;QACrB,IAAI,EAAE;YACL,IAAI,EAAE,IAAI;YACV,MAAM,EAAE,SAAS;YACjB,KAAK,EAAE,oBAAoB;YAC3B,UAAU,EAAE,aAAa;YACzB,SAAS,EAAE,6BAA6B;YACxC,QAAQ,EAAE;gBACT,qBAAqB,EAAE,IAAI;gBAC3B,uBAAuB,EAAE,IAAI;aAC7B;YACD,WAAW,EAAE,IAAI;YACjB,kBAAkB,EAAE;gBACnB,KAAK,EAAE,IAAI;gBACX,SAAS,EAAE,IAAI;gBACf,KAAK,EAAE,KAAK;gBACZ,QAAQ,EAAE,IAAI;gBACd,MAAM,EAAE,MAAM;gBACd,OAAO,EAAE,IAAI;gBACb,KAAK,EAAE,KAAK;aACZ;YACD,OAAO,EAAE;gBACR,MAAM;gBACN,OAAO;gBACP,OAAO;aACP;YACD,MAAM,EAAE;gBACP,OAAO,EAAE,CAAC;gBACV,QAAQ,EAAE,EAAE;gBACZ,WAAW,EAAE,GAAG;gBAChB,YAAY,EAAE,CAAC;aACf;Y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AK,EAAE,KAAK;gBACZ,QAAQ,EAAE,IAAI;gBACd,MAAM,EAAE,MAAM;gBACd,OAAO,EAAE,IAAI;gBACb,KAAK,EAAE,KAAK;aACZ;SACD;QACD,2BAA2B,EAAE;YAC5B,IAAI,EAAE,2BAA2B;YACjC,MAAM,EAAE,2BAA2B;YACnC,KAAK,EAAE,oBAAoB;YAC3B,UAAU,EAAE,aAAa;YACzB,SAAS,EAAE,6BAA6B;YACxC,QAAQ,EAAE;gBACT,uBAAuB,EAAE,IAAI;aAC7B;YACD,WAAW,EAAE,IAAI;YACjB,OAAO,EAAE;gBACR,MAAM;gBACN,OAAO;aACP;YACD,MAAM,EAAE;gBACP,OAAO,EAAE,GAAG;gBACZ,QAAQ,EAAE,CAAC;gBACX,WAAW,EAAE,IAAI;gBACjB,YAAY,EAAE,CAAC;aACf;YACD,eAAe,EAAE,MAAM;YACvB,WAAW,EAAE,KAAK;SAClB;QACD,kBAAkB,EAAE;YACnB,IAAI,EAAE,kBAAkB;YACxB,MAAM,EAAE,kBAAkB;YAC1B,KAAK,EAAE,oBAAoB;YAC3B,UAAU,EAAE,aAAa;YACzB,SAAS,EAAE,6BAA6B;YACxC,QAAQ,EAAE;gBACT,uBAAuB,EAAE,IAAI;aAC7B;YACD,WAAW,EAAE,IAAI;YACjB,OAAO,EAAE;gBACR,MAAM;aACN;YACD,MAAM,EAAE;gBACP,OAAO,EAAE,GAAG;gBACZ,QAAQ,EAAE,GAAG;gBACb,WAAW,EAAE,IAAI;gBACjB,YAAY,EAAE,CAAC;aACf;YACD,eAAe,EAAE,MAAM;YACvB,WAAW,EAAE,KAAK;SAClB;KACD;CACQ,CAAC;AAEX,MAAM,CAAC,MAAM,kBAAkB,GAA+C,mBAAmB,CAChG,aAAa,EACb,MAAM,CACN,CAAC","sourcesContent":["/**\n * Kimi's coding-plan catalog, owned by the fork.\n *\n * models.dev described this provider once and no longer does, so a generation run\n * emits neither the shard nor its data file. Written by hand for the same reason\n * `devin.models.ts` is: a provider the fork ships must survive a catalog\n * regeneration that upstream no longer describes.\n */\n\nimport { flattenModelCatalog, type ModelCatalog } from \"../model-catalog.ts\";\n\nconst values = {\n\t\"anthropic-messages\": {\n\t\t\"k3\": {\n\t\t\t\"id\": \"k3\",\n\t\t\t\"name\": \"Kimi K3\",\n\t\t\t\"api\": \"anthropic-messages\",\n\t\t\t\"provider\": \"kimi-coding\",\n\t\t\t\"baseUrl\": \"https://api.kimi.com/coding\",\n\t\t\t\"compat\": {\n\t\t\t\t\"allowEmptySignature\": true,\n\t\t\t\t\"forceAdaptiveThinking\": true\n\t\t\t},\n\t\t\t\"reasoning\": true,\n\t\t\t\"thinkingLevelMap\": {\n\t\t\t\t\"off\": null,\n\t\t\t\t\"minimal\": null,\n\t\t\t\t\"low\": \"low\",\n\t\t\t\t\"medium\": null,\n\t\t\t\t\"high\": \"high\",\n\t\t\t\t\"xhigh\": null,\n\t\t\t\t\"max\": \"max\"\n\t\t\t},\n\t\t\t\"input\": [\n\t\t\t\t\"text\",\n\t\t\t\t\"image\",\n\t\t\t\t\"video\"\n\t\t\t],\n\t\t\t\"cost\": {\n\t\t\t\t\"input\": 3,\n\t\t\t\t\"output\": 15,\n\t\t\t\t\"cacheRead\": 0.3,\n\t\t\t\t\"cacheWrite\": 0\n\t\t\t},\n\t\t\t\"contextWindow\": 1048576,\n\t\t\t\"maxTokens\": 131072\n\t\t},\n\t\t\"k3-256k\": {\n\t\t\t\"id\": \"k3-256k\",\n\t\t\t\"name\": \"Kimi K3-256K\",\n\t\t\t\"api\": \"anthropic-messages\",\n\t\t\t\"provider\": \"kimi-coding\",\n\t\t\t\"baseUrl\": \"https://api.kimi.com/coding\",\n\t\t\t\"compat\": {\n\t\t\t\t\"forceAdaptiveThinking\": true\n\t\t\t},\n\t\t\t\"reasoning\": true,\n\t\t\t\"input\": [\n\t\t\t\t\"text\",\n\t\t\t\t\"image\"\n\t\t\t],\n\t\t\t\"cost\": {\n\t\t\t\t\"input\": 0,\n\t\t\t\t\"output\": 0,\n\t\t\t\t\"cacheRead\": 0,\n\t\t\t\t\"cacheWrite\": 0\n\t\t\t},\n\t\t\t\"contextWindow\": 262144,\n\t\t\t\"maxTokens\": 131072,\n\t\t\t\"thinkingLevelMap\": {\n\t\t\t\t\"off\": null,\n\t\t\t\t\"minimal\": null,\n\t\t\t\t\"low\": \"low\",\n\t\t\t\t\"medium\": null,\n\t\t\t\t\"high\": \"high\",\n\t\t\t\t\"xhigh\": null,\n\t\t\t\t\"max\": \"max\"\n\t\t\t}\n\t\t},\n\t\t\"kimi-for-coding\": {\n\t\t\t\"id\": \"kimi-for-coding\",\n\t\t\t\"name\": \"kimi-for-coding\",\n\t\t\t\"api\": \"anthropic-messages\",\n\t\t\t\"provider\": \"kimi-coding\",\n\t\t\t\"baseUrl\": \"https://api.kimi.com/coding\",\n\t\t\t\"compat\": {\n\t\t\t\t\"allowEmptySignature\": true,\n\t\t\t\t\"forceAdaptiveThinking\": true\n\t\t\t},\n\t\t\t\"reasoning\": true,\n\t\t\t\"input\": [\n\t\t\t\t\"text\",\n\t\t\t\t\"image\"\n\t\t\t],\n\t\t\t\"cost\": {\n\t\t\t\t\"input\": 0.95,\n\t\t\t\t\"output\": 4,\n\t\t\t\t\"cacheRead\": 0.19,\n\t\t\t\t\"cacheWrite\": 0\n\t\t\t},\n\t\t\t\"contextWindow\": 1048576,\n\t\t\t\"maxTokens\": 32768,\n\t\t\t\"thinkingLevelMap\": {\n\t\t\t\t\"off\": null,\n\t\t\t\t\"minimal\": null,\n\t\t\t\t\"low\": \"low\",\n\t\t\t\t\"medium\": null,\n\t\t\t\t\"high\": \"high\",\n\t\t\t\t\"xhigh\": null,\n\t\t\t\t\"max\": \"max\"\n\t\t\t}\n\t\t},\n\t\t\"kimi-for-coding-highspeed\": {\n\t\t\t\"id\": \"kimi-for-coding-highspeed\",\n\t\t\t\"name\": \"Kimi For Coding HighSpeed\",\n\t\t\t\"api\": \"anthropic-messages\",\n\t\t\t\"provider\": \"kimi-coding\",\n\t\t\t\"baseUrl\": \"https://api.kimi.com/coding\",\n\t\t\t\"compat\": {\n\t\t\t\t\"forceAdaptiveThinking\": true\n\t\t\t},\n\t\t\t\"reasoning\": true,\n\t\t\t\"input\": [\n\t\t\t\t\"text\",\n\t\t\t\t\"image\"\n\t\t\t],\n\t\t\t\"cost\": {\n\t\t\t\t\"input\": 1.9,\n\t\t\t\t\"output\": 8,\n\t\t\t\t\"cacheRead\": 0.38,\n\t\t\t\t\"cacheWrite\": 0\n\t\t\t},\n\t\t\t\"contextWindow\": 262144,\n\t\t\t\"maxTokens\": 32768\n\t\t},\n\t\t\"kimi-k2-thinking\": {\n\t\t\t\"id\": \"kimi-k2-thinking\",\n\t\t\t\"name\": \"Kimi K2 Thinking\",\n\t\t\t\"api\": \"anthropic-messages\",\n\t\t\t\"provider\": \"kimi-coding\",\n\t\t\t\"baseUrl\": \"https://api.kimi.com/coding\",\n\t\t\t\"compat\": {\n\t\t\t\t\"forceAdaptiveThinking\": true\n\t\t\t},\n\t\t\t\"reasoning\": true,\n\t\t\t\"input\": [\n\t\t\t\t\"text\"\n\t\t\t],\n\t\t\t\"cost\": {\n\t\t\t\t\"input\": 0.6,\n\t\t\t\t\"output\": 2.5,\n\t\t\t\t\"cacheRead\": 0.15,\n\t\t\t\t\"cacheWrite\": 0\n\t\t\t},\n\t\t\t\"contextWindow\": 262144,\n\t\t\t\"maxTokens\": 32768\n\t\t}\n\t}\n} as const;\n\nexport const KIMI_CODING_MODELS: ModelCatalog<typeof values, \"kimi-coding\"> = flattenModelCatalog(\n\t\"kimi-coding\",\n\tvalues,\n);\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@earendil-works/pi-ai",
|
|
3
|
-
"version": "2026.9.18-
|
|
3
|
+
"version": "2026.9.18-4",
|
|
4
4
|
"description": "Unified LLM API with automatic model discovery and provider configuration",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"dependencies": {
|
|
85
85
|
"@anthropic-ai/sdk": "0.123.0",
|
|
86
86
|
"@aws-sdk/client-bedrock-runtime": "3.1127.0",
|
|
87
|
-
"@earendil-works/pi-telemetry": "npm:@code-yeongyu/senpi-telemetry@2026.9.18-
|
|
87
|
+
"@earendil-works/pi-telemetry": "npm:@code-yeongyu/senpi-telemetry@2026.9.18-4",
|
|
88
88
|
"@google/genai": "2.21.0",
|
|
89
89
|
"@smithy/node-http-handler": "4.12.1",
|
|
90
90
|
"http-proxy-agent": "9.1.0",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@code-yeongyu/senpi",
|
|
3
|
-
"version": "2026.9.18-
|
|
3
|
+
"version": "2026.9.18-4",
|
|
4
4
|
"description": "Coding agent CLI with read, bash, edit, write tools and session management",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"piConfig": {
|
|
@@ -56,9 +56,9 @@
|
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"@earendil-works/chord": "0.85.1",
|
|
59
|
-
"@earendil-works/pi-agent-core": "npm:@code-yeongyu/senpi-agent-core@2026.9.18-
|
|
60
|
-
"@earendil-works/pi-ai": "npm:@code-yeongyu/senpi-ai@2026.9.18-
|
|
61
|
-
"@earendil-works/pi-tui": "npm:@code-yeongyu/senpi-tui@2026.9.18-
|
|
59
|
+
"@earendil-works/pi-agent-core": "npm:@code-yeongyu/senpi-agent-core@2026.9.18-4",
|
|
60
|
+
"@earendil-works/pi-ai": "npm:@code-yeongyu/senpi-ai@2026.9.18-4",
|
|
61
|
+
"@earendil-works/pi-tui": "npm:@code-yeongyu/senpi-tui@2026.9.18-4",
|
|
62
62
|
"@silvia-odwyer/photon-node": "0.3.4",
|
|
63
63
|
"chalk": "6.0.0",
|
|
64
64
|
"cross-spawn": "7.0.6",
|
|
@@ -80,8 +80,8 @@
|
|
|
80
80
|
"@anthropic-ai/sdk": "0.123.0",
|
|
81
81
|
"@aws-sdk/client-bedrock-runtime": "3.1127.0",
|
|
82
82
|
"@bufbuild/protobuf": "2.14.0",
|
|
83
|
-
"@code-yeongyu/senpi-codemode": "2026.9.18-
|
|
84
|
-
"@earendil-works/pi-pty": "npm:@code-yeongyu/senpi-pty@2026.9.18-
|
|
83
|
+
"@code-yeongyu/senpi-codemode": "2026.9.18-4",
|
|
84
|
+
"@earendil-works/pi-pty": "npm:@code-yeongyu/senpi-pty@2026.9.18-4",
|
|
85
85
|
"@modelcontextprotocol/sdk": "1.30.0",
|
|
86
86
|
"@mozilla/readability": "0.6.0",
|
|
87
87
|
"@opentelemetry/api": "1.9.1",
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
"@aws-sdk/xml-builder": "3.972.40",
|
|
121
121
|
"@aws/lambda-invoke-store": "0.3.0",
|
|
122
122
|
"@babel/runtime": "7.29.2",
|
|
123
|
-
"@earendil-works/pi-telemetry": "npm:@code-yeongyu/senpi-telemetry@2026.9.18-
|
|
123
|
+
"@earendil-works/pi-telemetry": "npm:@code-yeongyu/senpi-telemetry@2026.9.18-4",
|
|
124
124
|
"@google/genai": "2.21.0",
|
|
125
125
|
"@hono/node-server": "2.1.1",
|
|
126
126
|
"@mixmark-io/domino": "2.2.0",
|