@ycodium-ai/agent-kimi 0.2.5407 → 0.2.5503
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/README.md +6 -0
- package/dist/index.js +768 -319
- package/package.json +6 -5
package/README.md
CHANGED
|
@@ -22,6 +22,10 @@ customModels } }`; launch arguments (`acp`) and the account-directory variable (
|
|
|
22
22
|
and maintainer CLI verification.
|
|
23
23
|
A selected native mode governs approvals. Without native modes, auto permits MCP dynamic tools
|
|
24
24
|
(ACP kind `other` with an MCP name); questions and plan confirmations remain user input.
|
|
25
|
+
- Turn failures: Kimi 2.7.0 can return ACP `end_turn` after a provider error. The executor checks
|
|
26
|
+
the main agent’s newly appended `turn.prompt` and `turn.ended` records for the same native turn.
|
|
27
|
+
It waits up to one second for a delayed log flush. Missing or inconclusive records leave the ACP
|
|
28
|
+
result in effect. A confirmed quota error carries the provider’s message and the `quota` category.
|
|
25
29
|
- Usage (ADR-0034), per instance, read only when the user asks. The account directory is the
|
|
26
30
|
`homePath` setting, an explicit `KIMI_CODE_HOME` in the instance environment, then the process
|
|
27
31
|
environment, then `~/.kimi-code`:
|
|
@@ -34,6 +38,8 @@ customModels } }`; launch arguments (`acp`) and the account-directory variable (
|
|
|
34
38
|
- Tokens (`src/kimiTokens.ts`): `readTokenUsage` reads the `usage.record` lines of every
|
|
35
39
|
`sessions/*/*/agents/*/wire.jsonl` (the ACP reply carries no usage), deduplicating fork copies, with an
|
|
36
40
|
in-memory byte-offset resume.
|
|
41
|
+
- Terminal session import discovers Kimi Code sessions in the selected working directory.
|
|
42
|
+
Reads main-agent transcripts from the selected Kimi Code account directory. Resume uses the existing ACP session ID.
|
|
37
43
|
- Manifest permission is `{ kind: "executor" }`.
|
|
38
44
|
|
|
39
45
|
Shipped pre-installed as `core.agent-kimi`.
|