@gaia-ai/addon-kimi 0.11.4 → 0.12.0

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.
@@ -1,2 +1,3 @@
1
1
  import type { Preset } from '@gaia-ai/conductor/contract';
2
- export declare const agents: Preset['agents'];
2
+ import { type KimiAgentOptions } from './index.js';
3
+ export declare const agents: Preset<Partial<KimiAgentOptions> | undefined>['agents'];
@@ -1,5 +1,13 @@
1
1
  import kimiAgent from './index.js';
2
- export const agents = (acc, opts) => [
3
- ...acc,
4
- { agent: kimiAgent(opts) },
5
- ];
2
+ export const agents = (acc, opts) => {
3
+ const model = opts?.model;
4
+ return [
5
+ ...acc,
6
+ {
7
+ alias: 'kimi',
8
+ description: 'General coding with the locally configured Kimi model.',
9
+ ...(model !== undefined ? { model } : {}),
10
+ agent: kimiAgent(opts),
11
+ },
12
+ ];
13
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gaia-ai/addon-kimi",
3
- "version": "0.11.4",
3
+ "version": "0.12.0",
4
4
  "description": "GAIA agent plugin for the Kimi Code CLI.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -20,7 +20,7 @@
20
20
  "directory": "gaia-cli/addons/kimi"
21
21
  },
22
22
  "peerDependencies": {
23
- "@gaia-ai/conductor": "^0.11.4",
24
- "@gaia-ai/core": "^0.11.4"
23
+ "@gaia-ai/conductor": "^0.12.0",
24
+ "@gaia-ai/core": "^0.12.0"
25
25
  }
26
26
  }