@gaia-ai/addon-kimi 0.12.0 → 0.13.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.
- package/dist/src/index.d.ts +3 -3
- package/dist/src/index.js +7 -2
- package/package.json +3 -3
package/dist/src/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type AgentFootprint, type AgentPlugin, type GaiaAgent } from '@gaia-ai/conductor/contract';
|
|
1
|
+
import { type AgentFootprint, type AgentPlugin, type AgentRunIdentity, type GaiaAgent } from '@gaia-ai/conductor/contract';
|
|
2
2
|
export interface KimiAgentOptions {
|
|
3
3
|
model?: string;
|
|
4
4
|
}
|
|
@@ -6,8 +6,8 @@ export declare class KimiAgent implements GaiaAgent {
|
|
|
6
6
|
private readonly options;
|
|
7
7
|
readonly id = "kimi";
|
|
8
8
|
constructor(options: KimiAgentOptions);
|
|
9
|
-
launchCommand(prompt: string): string;
|
|
10
|
-
getRunLog(): Promise<string>;
|
|
9
|
+
launchCommand(prompt: string, _run?: AgentRunIdentity): string;
|
|
10
|
+
getRunLog(_worktreePath: string, _run?: AgentRunIdentity): Promise<string>;
|
|
11
11
|
parseFootprint(_log: string): AgentFootprint;
|
|
12
12
|
}
|
|
13
13
|
/** Config-facing factory: `kimiAgent({ model: 'moonshot-v1' })`. */
|
package/dist/src/index.js
CHANGED
|
@@ -6,7 +6,7 @@ export class KimiAgent {
|
|
|
6
6
|
constructor(options) {
|
|
7
7
|
this.options = options;
|
|
8
8
|
}
|
|
9
|
-
launchCommand(prompt) {
|
|
9
|
+
launchCommand(prompt, _run) {
|
|
10
10
|
if (prompt === '') {
|
|
11
11
|
return 'kimi';
|
|
12
12
|
}
|
|
@@ -17,7 +17,12 @@ export class KimiAgent {
|
|
|
17
17
|
parts.push('--output-format', 'text');
|
|
18
18
|
return parts.join(' ');
|
|
19
19
|
}
|
|
20
|
-
|
|
20
|
+
// Unconverted (GAIA-473): this addon has no run-log reader at all yet —
|
|
21
|
+
// getRunLog always returns '' regardless of input, so there is nothing a
|
|
22
|
+
// run identity could select between. The `run` param is accepted only for
|
|
23
|
+
// structural compatibility with the widened `GaiaAgent` interface. No test
|
|
24
|
+
// is added for this method per the ticket (no reader to select from).
|
|
25
|
+
async getRunLog(_worktreePath, _run) {
|
|
21
26
|
return '';
|
|
22
27
|
}
|
|
23
28
|
parseFootprint(_log) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gaia-ai/addon-kimi",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.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.
|
|
24
|
-
"@gaia-ai/core": "^0.
|
|
23
|
+
"@gaia-ai/conductor": "^0.13.0",
|
|
24
|
+
"@gaia-ai/core": "^0.13.0"
|
|
25
25
|
}
|
|
26
26
|
}
|