@evolvingmachines/sdk 0.0.48 → 0.0.50
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/dist/index.cjs +54 -54
- package/dist/index.d.cts +7 -5
- package/dist/index.d.ts +7 -5
- package/dist/index.js +54 -54
- package/package.json +4 -4
package/dist/index.d.cts
CHANGED
|
@@ -2790,13 +2790,13 @@ interface AgentRegistryEntry {
|
|
|
2790
2790
|
};
|
|
2791
2791
|
/**
|
|
2792
2792
|
* TOML provider-based spend tracking for CLIs that read custom_headers from a
|
|
2793
|
-
* provider entry in config.toml (e.g., Kimi).
|
|
2793
|
+
* provider entry in config.toml (e.g., Kimi Code).
|
|
2794
2794
|
* The SDK writes a provider+model entry with custom_headers before each run.
|
|
2795
|
-
* Source-verified: Kimi reads custom_headers from
|
|
2796
|
-
* in ~/.kimi/config.toml
|
|
2795
|
+
* Source-verified: Kimi Code reads custom_headers from
|
|
2796
|
+
* providers[name].custom_headers in ~/.kimi-code/config.toml.
|
|
2797
2797
|
*/
|
|
2798
2798
|
spendTrackingTomlProvider?: {
|
|
2799
|
-
/** Config file path (e.g., "~/.kimi/config.toml") */
|
|
2799
|
+
/** Config file path (e.g., "~/.kimi-code/config.toml") */
|
|
2800
2800
|
configPath: string;
|
|
2801
2801
|
/** Provider name in config (e.g., "evolve-gateway") */
|
|
2802
2802
|
providerName: string;
|
|
@@ -2808,6 +2808,8 @@ interface AgentRegistryEntry {
|
|
|
2808
2808
|
/** Additional directories to include in checkpoint tar (beyond mcpConfig.settingsDir).
|
|
2809
2809
|
* Used for agents like OpenCode that spread state across XDG directories. */
|
|
2810
2810
|
checkpointDirs?: string[];
|
|
2811
|
+
/** Additional relative paths to exclude from checkpoint tar. */
|
|
2812
|
+
checkpointExcludes?: string[];
|
|
2811
2813
|
}
|
|
2812
2814
|
/**
|
|
2813
2815
|
* Registry of all supported agents.
|
|
@@ -2847,7 +2849,7 @@ declare function getMcpSettingsDir(agentType: AgentType): string;
|
|
|
2847
2849
|
* - Claude: { type: "http"|"sse"|"stdio", url: "..." }
|
|
2848
2850
|
* - Gemini: { url: "...", type: "http"|"sse" } | { command: "..." }
|
|
2849
2851
|
* - Qwen: { httpUrl: "..." } | { url: "..." } | { command: "..." }
|
|
2850
|
-
* - Kimi:
|
|
2852
|
+
* - Kimi Code: { url: "...", transport?: "http"|"sse" } | { command: "...", transport: "stdio" }
|
|
2851
2853
|
*/
|
|
2852
2854
|
|
|
2853
2855
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -2790,13 +2790,13 @@ interface AgentRegistryEntry {
|
|
|
2790
2790
|
};
|
|
2791
2791
|
/**
|
|
2792
2792
|
* TOML provider-based spend tracking for CLIs that read custom_headers from a
|
|
2793
|
-
* provider entry in config.toml (e.g., Kimi).
|
|
2793
|
+
* provider entry in config.toml (e.g., Kimi Code).
|
|
2794
2794
|
* The SDK writes a provider+model entry with custom_headers before each run.
|
|
2795
|
-
* Source-verified: Kimi reads custom_headers from
|
|
2796
|
-
* in ~/.kimi/config.toml
|
|
2795
|
+
* Source-verified: Kimi Code reads custom_headers from
|
|
2796
|
+
* providers[name].custom_headers in ~/.kimi-code/config.toml.
|
|
2797
2797
|
*/
|
|
2798
2798
|
spendTrackingTomlProvider?: {
|
|
2799
|
-
/** Config file path (e.g., "~/.kimi/config.toml") */
|
|
2799
|
+
/** Config file path (e.g., "~/.kimi-code/config.toml") */
|
|
2800
2800
|
configPath: string;
|
|
2801
2801
|
/** Provider name in config (e.g., "evolve-gateway") */
|
|
2802
2802
|
providerName: string;
|
|
@@ -2808,6 +2808,8 @@ interface AgentRegistryEntry {
|
|
|
2808
2808
|
/** Additional directories to include in checkpoint tar (beyond mcpConfig.settingsDir).
|
|
2809
2809
|
* Used for agents like OpenCode that spread state across XDG directories. */
|
|
2810
2810
|
checkpointDirs?: string[];
|
|
2811
|
+
/** Additional relative paths to exclude from checkpoint tar. */
|
|
2812
|
+
checkpointExcludes?: string[];
|
|
2811
2813
|
}
|
|
2812
2814
|
/**
|
|
2813
2815
|
* Registry of all supported agents.
|
|
@@ -2847,7 +2849,7 @@ declare function getMcpSettingsDir(agentType: AgentType): string;
|
|
|
2847
2849
|
* - Claude: { type: "http"|"sse"|"stdio", url: "..." }
|
|
2848
2850
|
* - Gemini: { url: "...", type: "http"|"sse" } | { command: "..." }
|
|
2849
2851
|
* - Qwen: { httpUrl: "..." } | { url: "..." } | { command: "..." }
|
|
2850
|
-
* - Kimi:
|
|
2852
|
+
* - Kimi Code: { url: "...", transport?: "http"|"sse" } | { command: "...", transport: "stdio" }
|
|
2851
2853
|
*/
|
|
2852
2854
|
|
|
2853
2855
|
/**
|