@exreve/exk 1.0.69 → 1.0.72

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.
@@ -86,7 +86,7 @@ const PROVIDERS = {
86
86
  kimi: {
87
87
  apiKey: '',
88
88
  baseUrl: 'https://api.kimi.com/coding',
89
- models: ['kimi-for-coding'],
89
+ models: ['kimi-k2.6', 'kimi-for-coding'],
90
90
  },
91
91
  };
92
92
  /** Rebuild PROVIDERS from the models array saved in ai-config.json */
@@ -719,6 +719,14 @@ export class AgentSessionManager {
719
719
  resumeSessionId = session.sdkSessionId;
720
720
  }
721
721
  }
722
+ // Enable auto-compaction: trigger when context reaches ~150k (of 200k), keep default target
723
+ if (effectiveSettings) {
724
+ effectiveSettings.autoCompactEnabled = true;
725
+ effectiveSettings.autoCompactWindow = 150000;
726
+ }
727
+ else {
728
+ effectiveSettings = { autoCompactEnabled: true, autoCompactWindow: 150000 };
729
+ }
722
730
  // Build backend config
723
731
  const backendConfig = {
724
732
  cwd: projectPath,
package/dist/cli/index.js CHANGED
@@ -60,7 +60,9 @@ async function fetchAiConfig(authToken) {
60
60
  console.log('[fetchAiConfig] No AI config available for this user');
61
61
  return false;
62
62
  }
63
- await fs.writeFile(AI_CONFIG_FILE, JSON.stringify(data.aiConfig, null, 2));
63
+ // Save aiConfig + models together so agentSession can build provider registry dynamically
64
+ const configPayload = { ...data.aiConfig, models: data.models || [] };
65
+ await fs.writeFile(AI_CONFIG_FILE, JSON.stringify(configPayload, null, 2));
64
66
  console.log('[fetchAiConfig] AI config saved successfully');
65
67
  return true;
66
68
  }
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exreve/exk",
3
- "version": "1.0.69",
3
+ "version": "1.0.72",
4
4
  "description": "exk - Control Claude CLI with voice and programmable interfaces",
5
5
  "type": "module",
6
6
  "bin": {