@xiuper/mpp-core 0.0.2 → 3.0.0-alpha4
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/Kotlin-DateTime-library-kotlinx-datetime.js +1796 -1796
- package/Kotlin-Immutable-Collections-kotlinx-collections-immutable.js +278 -278
- package/Xiuper-mpp-codegraph.js +240 -240
- package/kaml.js +639 -639
- package/koog-agents-agents-core.js +4606 -4606
- package/koog-agents-agents-tools.js +41 -41
- package/koog-agents-agents-utils.js +52 -52
- package/koog-http-client-http-client-core.js +4 -4
- package/koog-http-client-http-client-ktor.js +166 -166
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-anthropic-client.js +906 -906
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-deepseek-client.js +299 -299
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-google-client.js +838 -838
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-ollama-client.js +452 -452
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-openai-client-base.js +1002 -1002
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-openai-client.js +3358 -3358
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-openrouter-client.js +532 -532
- package/koog-prompt-prompt-executor-prompt-executor-clients.js +29 -29
- package/koog-prompt-prompt-executor-prompt-executor-llms.js +25 -25
- package/koog-prompt-prompt-executor-prompt-executor-model.js +4 -4
- package/koog-prompt-prompt-llm.js +120 -120
- package/koog-prompt-prompt-markdown.js +30 -30
- package/koog-prompt-prompt-model.js +1055 -1055
- package/koog-prompt-prompt-structure.js +342 -342
- package/koog-utils.js +10 -10
- package/kotlin-kotlin-stdlib.js +453 -411
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-logging.js +116 -116
- package/kotlin-sdk-kotlin-sdk-client.js +260 -260
- package/kotlin-sdk-kotlin-sdk-core.js +2568 -2568
- package/kotlinx-atomicfu.js +5 -5
- package/kotlinx-coroutines-core.js +532 -654
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring.js +40 -40
- package/kotlinx-io-kotlinx-io-core.js +605 -605
- package/kotlinx-serialization-kotlinx-serialization-core.js +75 -75
- package/kotlinx-serialization-kotlinx-serialization-json.js +95 -95
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/ktor-ktor-client-content-negotiation.js +163 -163
- package/ktor-ktor-client-core.js +2237 -2235
- package/ktor-ktor-client-core.js.map +1 -1
- package/ktor-ktor-events.js +15 -15
- package/ktor-ktor-http-cio.js +725 -725
- package/ktor-ktor-http.js +805 -805
- package/ktor-ktor-io.js +766 -766
- package/ktor-ktor-network.js +285 -285
- package/ktor-ktor-serialization-kotlinx-json.js +1 -1
- package/ktor-ktor-serialization-kotlinx.js +130 -130
- package/ktor-ktor-serialization.js +68 -68
- package/ktor-ktor-server-cio.js +724 -724
- package/ktor-ktor-server-core.js +1793 -1793
- package/ktor-ktor-server-sse.js +125 -125
- package/ktor-ktor-sse.js +40 -40
- package/ktor-ktor-utils.js +690 -690
- package/ktor-ktor-websockets.js +49 -49
- package/markdown.js +1561 -1561
- package/okio-parent-okio.js +368 -368
- package/package.json +1 -1
- package/snakeyaml-engine-kmp.js +2005 -2005
- package/urlencoder-urlencoder-lib.js +43 -43
- package/xiuper-mpp-core.d.ts +45 -7
- package/xiuper-mpp-core.js +22405 -18664
- package/xiuper-mpp-core.js.map +1 -1
- package/autodev-mpp-core.d.ts +0 -1312
- package/autodev-mpp-core.js +0 -86483
- package/autodev-mpp-core.js.map +0 -1
|
@@ -13,38 +13,38 @@
|
|
|
13
13
|
'use strict';
|
|
14
14
|
//region block: imports
|
|
15
15
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.j3;
|
|
16
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
16
|
+
var protoOf = kotlin_kotlin.$_$.ze;
|
|
17
17
|
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.q3;
|
|
18
|
-
var numberToChar = kotlin_kotlin.$_$.
|
|
19
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
18
|
+
var numberToChar = kotlin_kotlin.$_$.ve;
|
|
19
|
+
var initMetadataForObject = kotlin_kotlin.$_$.de;
|
|
20
20
|
var Char__compareTo_impl_ypi4mb = kotlin_kotlin.$_$.k3;
|
|
21
21
|
var Unit_instance = kotlin_kotlin.$_$.h6;
|
|
22
|
-
var get_indices = kotlin_kotlin.$_$.
|
|
22
|
+
var get_indices = kotlin_kotlin.$_$.gh;
|
|
23
23
|
var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.o2;
|
|
24
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
25
|
-
var charSequenceGet = kotlin_kotlin.$_$.
|
|
26
|
-
var getOrNull = kotlin_kotlin.$_$.
|
|
27
|
-
var isLowSurrogate = kotlin_kotlin.$_$.
|
|
28
|
-
var Char = kotlin_kotlin.$_$.
|
|
29
|
-
var isHighSurrogate = kotlin_kotlin.$_$.
|
|
30
|
-
var toCharArray = kotlin_kotlin.$_$.
|
|
31
|
-
var booleanArray = kotlin_kotlin.$_$.
|
|
24
|
+
var charSequenceLength = kotlin_kotlin.$_$.ld;
|
|
25
|
+
var charSequenceGet = kotlin_kotlin.$_$.kd;
|
|
26
|
+
var getOrNull = kotlin_kotlin.$_$.ch;
|
|
27
|
+
var isLowSurrogate = kotlin_kotlin.$_$.mh;
|
|
28
|
+
var Char = kotlin_kotlin.$_$.lk;
|
|
29
|
+
var isHighSurrogate = kotlin_kotlin.$_$.jh;
|
|
30
|
+
var toCharArray = kotlin_kotlin.$_$.gj;
|
|
31
|
+
var booleanArray = kotlin_kotlin.$_$.fd;
|
|
32
32
|
var Char__plus_impl_qi7pgj = kotlin_kotlin.$_$.o3;
|
|
33
33
|
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.o1;
|
|
34
|
-
var charCodeAt = kotlin_kotlin.$_$.
|
|
35
|
-
var decodeToString = kotlin_kotlin.$_$.
|
|
34
|
+
var charCodeAt = kotlin_kotlin.$_$.jd;
|
|
35
|
+
var decodeToString = kotlin_kotlin.$_$.qg;
|
|
36
36
|
var toString = kotlin_kotlin.$_$.r3;
|
|
37
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
37
|
+
var toString_0 = kotlin_kotlin.$_$.df;
|
|
38
38
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.e2;
|
|
39
|
-
var substring = kotlin_kotlin.$_$.
|
|
40
|
-
var toInt = kotlin_kotlin.$_$.
|
|
41
|
-
var toByte = kotlin_kotlin.$_$.
|
|
39
|
+
var substring = kotlin_kotlin.$_$.aj;
|
|
40
|
+
var toInt = kotlin_kotlin.$_$.lj;
|
|
41
|
+
var toByte = kotlin_kotlin.$_$.af;
|
|
42
42
|
var IllegalArgumentException_init_$Create$_0 = kotlin_kotlin.$_$.g2;
|
|
43
|
-
var NumberFormatException = kotlin_kotlin.$_$.
|
|
44
|
-
var charArrayOf = kotlin_kotlin.$_$.
|
|
45
|
-
var concatToString = kotlin_kotlin.$_$.
|
|
46
|
-
var encodeToByteArray = kotlin_kotlin.$_$.
|
|
47
|
-
var contains = kotlin_kotlin.$_$.
|
|
43
|
+
var NumberFormatException = kotlin_kotlin.$_$.zk;
|
|
44
|
+
var charArrayOf = kotlin_kotlin.$_$.hd;
|
|
45
|
+
var concatToString = kotlin_kotlin.$_$.lg;
|
|
46
|
+
var encodeToByteArray = kotlin_kotlin.$_$.ug;
|
|
47
|
+
var contains = kotlin_kotlin.$_$.og;
|
|
48
48
|
//endregion
|
|
49
49
|
//region block: pre-declaration
|
|
50
50
|
initMetadataForObject(Character, 'Character');
|
|
@@ -52,31 +52,31 @@
|
|
|
52
52
|
//endregion
|
|
53
53
|
function Character() {
|
|
54
54
|
Character_instance = this;
|
|
55
|
-
this.
|
|
56
|
-
this.
|
|
57
|
-
this.
|
|
58
|
-
this.
|
|
55
|
+
this.ah3_1 = 1114111;
|
|
56
|
+
this.bh3_1 = 65536;
|
|
57
|
+
this.ch3_1 = -56613888;
|
|
58
|
+
this.dh3_1 = _Char___init__impl__6a9atx(55232);
|
|
59
59
|
}
|
|
60
|
-
protoOf(Character).
|
|
60
|
+
protoOf(Character).eh3 = function (codePoint) {
|
|
61
61
|
return 65536 <= codePoint ? codePoint <= 1114111 : false;
|
|
62
62
|
};
|
|
63
|
-
protoOf(Character).
|
|
63
|
+
protoOf(Character).fh3 = function (highSurrogate, lowSurrogate) {
|
|
64
64
|
// Inline function 'kotlin.code' call
|
|
65
65
|
var tmp = Char__toInt_impl_vasixd(highSurrogate) << 10;
|
|
66
66
|
// Inline function 'kotlin.code' call
|
|
67
67
|
return (tmp + Char__toInt_impl_vasixd(lowSurrogate) | 0) + -56613888 | 0;
|
|
68
68
|
};
|
|
69
|
-
protoOf(Character).
|
|
69
|
+
protoOf(Character).gh3 = function (codePoint) {
|
|
70
70
|
return (codePoint >>> 16 | 0) === 0;
|
|
71
71
|
};
|
|
72
|
-
protoOf(Character).
|
|
72
|
+
protoOf(Character).hh3 = function (codePoint) {
|
|
73
73
|
var tmp = codePoint >>> 10 | 0;
|
|
74
74
|
// Inline function 'kotlin.code' call
|
|
75
75
|
var this_0 = _Char___init__impl__6a9atx(55232);
|
|
76
76
|
var tmp$ret$0 = Char__toInt_impl_vasixd(this_0);
|
|
77
77
|
return numberToChar(tmp + tmp$ret$0 | 0);
|
|
78
78
|
};
|
|
79
|
-
protoOf(Character).
|
|
79
|
+
protoOf(Character).ih3 = function (codePoint) {
|
|
80
80
|
var tmp = codePoint & 1023;
|
|
81
81
|
// Inline function 'kotlin.code' call
|
|
82
82
|
var this_0 = _Char___init__impl__6a9atx(56320);
|
|
@@ -94,14 +94,14 @@
|
|
|
94
94
|
if (Char__compareTo_impl_ypi4mb(_this__u8e3s4, _Char___init__impl__6a9atx(122)) <= 0) {
|
|
95
95
|
// Inline function 'kotlin.code' call
|
|
96
96
|
var tmp$ret$0 = Char__toInt_impl_vasixd(_this__u8e3s4);
|
|
97
|
-
tmp = $this.
|
|
97
|
+
tmp = $this.kh3_1[tmp$ret$0];
|
|
98
98
|
} else {
|
|
99
99
|
tmp = false;
|
|
100
100
|
}
|
|
101
101
|
return tmp;
|
|
102
102
|
}
|
|
103
103
|
function appendEncodedDigit($this, _this__u8e3s4, digit) {
|
|
104
|
-
_this__u8e3s4.a9($this.
|
|
104
|
+
_this__u8e3s4.a9($this.jh3_1[digit & 15]);
|
|
105
105
|
}
|
|
106
106
|
function appendEncodedByte($this, _this__u8e3s4, ch) {
|
|
107
107
|
_this__u8e3s4.z8('%');
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
tmp = isLowSurrogate(nextChar);
|
|
123
123
|
}
|
|
124
124
|
if (tmp === true) {
|
|
125
|
-
return Character_getInstance().
|
|
125
|
+
return Character_getInstance().fh3(firstChar, nextChar);
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
128
|
// Inline function 'kotlin.code' call
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
}
|
|
131
131
|
function UrlEncoderUtil() {
|
|
132
132
|
UrlEncoderUtil_instance = this;
|
|
133
|
-
this.
|
|
133
|
+
this.jh3_1 = toCharArray('0123456789ABCDEF');
|
|
134
134
|
var tmp = this;
|
|
135
135
|
// Inline function 'kotlin.code' call
|
|
136
136
|
var this_0 = _Char___init__impl__6a9atx(122);
|
|
@@ -173,9 +173,9 @@
|
|
|
173
173
|
this_1[Char__toInt_impl_vasixd(c_1)] = true;
|
|
174
174
|
}
|
|
175
175
|
while (inductionVariable_1 <= _Char___init__impl__6a9atx(122));
|
|
176
|
-
tmp.
|
|
176
|
+
tmp.kh3_1 = this_1;
|
|
177
177
|
}
|
|
178
|
-
protoOf(UrlEncoderUtil).
|
|
178
|
+
protoOf(UrlEncoderUtil).lh3 = function (source, plusToSpace) {
|
|
179
179
|
// Inline function 'kotlin.text.isEmpty' call
|
|
180
180
|
if (charSequenceLength(source) === 0) {
|
|
181
181
|
return source;
|
|
@@ -246,7 +246,7 @@
|
|
|
246
246
|
}
|
|
247
247
|
return !started ? source : out.toString();
|
|
248
248
|
};
|
|
249
|
-
protoOf(UrlEncoderUtil).
|
|
249
|
+
protoOf(UrlEncoderUtil).mh3 = function (source, allow, spaceToPlus) {
|
|
250
250
|
// Inline function 'kotlin.text.isEmpty' call
|
|
251
251
|
if (charSequenceLength(source) === 0) {
|
|
252
252
|
return source;
|
|
@@ -275,7 +275,7 @@
|
|
|
275
275
|
appendEncodedByte(this, out, cp);
|
|
276
276
|
}
|
|
277
277
|
i = i + 1 | 0;
|
|
278
|
-
} else if (Character_getInstance().
|
|
278
|
+
} else if (Character_getInstance().gh3(cp)) {
|
|
279
279
|
var indexedObject = encodeToByteArray(toString(ch));
|
|
280
280
|
var inductionVariable = 0;
|
|
281
281
|
var last = indexedObject.length;
|
|
@@ -285,9 +285,9 @@
|
|
|
285
285
|
appendEncodedByte(this, out, b);
|
|
286
286
|
}
|
|
287
287
|
i = i + 1 | 0;
|
|
288
|
-
} else if (Character_getInstance().
|
|
289
|
-
var high = Character_getInstance().
|
|
290
|
-
var low = Character_getInstance().
|
|
288
|
+
} else if (Character_getInstance().eh3(cp)) {
|
|
289
|
+
var high = Character_getInstance().hh3(cp);
|
|
290
|
+
var low = Character_getInstance().ih3(cp);
|
|
291
291
|
// Inline function 'kotlin.charArrayOf' call
|
|
292
292
|
var tmp$ret$1 = charArrayOf([high, low]);
|
|
293
293
|
var indexedObject_0 = encodeToByteArray(concatToString(tmp$ret$1));
|
package/xiuper-mpp-core.d.ts
CHANGED
|
@@ -335,6 +335,15 @@ export declare namespace cc.unitmesh.agent {
|
|
|
335
335
|
namespace JsCodingAgent.$metadata$ {
|
|
336
336
|
const constructor: abstract new () => JsCodingAgent;
|
|
337
337
|
}
|
|
338
|
+
class JsExternalCliAgent {
|
|
339
|
+
constructor(projectPath: string, engine: string, mode?: string, timeoutMs?: number, extraArgs?: Array<string>, renderer?: Nullable<cc.unitmesh.agent.JsCodingAgentRenderer>);
|
|
340
|
+
executeTask(task: cc.unitmesh.agent.JsAgentTask): Promise<cc.unitmesh.agent.JsAgentResult>;
|
|
341
|
+
initializeWorkspace(): Promise<void>;
|
|
342
|
+
}
|
|
343
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
344
|
+
namespace JsExternalCliAgent.$metadata$ {
|
|
345
|
+
const constructor: abstract new () => JsExternalCliAgent;
|
|
346
|
+
}
|
|
338
347
|
}
|
|
339
348
|
export declare namespace cc.unitmesh.agent {
|
|
340
349
|
class JsDocumentTask {
|
|
@@ -551,6 +560,7 @@ export declare namespace cc.unitmesh.agent {
|
|
|
551
560
|
renderLLMResponseStart(): void;
|
|
552
561
|
renderLLMResponseChunk(chunk: string): void;
|
|
553
562
|
renderLLMResponseEnd(): void;
|
|
563
|
+
renderThinkingChunk(chunk: string, isStart: boolean, isEnd: boolean): void;
|
|
554
564
|
renderToolCall(toolName: string, paramsStr: string): void;
|
|
555
565
|
renderToolResult(toolName: string, success: boolean, output: Nullable<string>, fullOutput: Nullable<string>): void;
|
|
556
566
|
renderTaskComplete(executionTimeMs?: number, toolsUsedCount?: number): void;
|
|
@@ -782,7 +792,7 @@ export declare namespace cc.unitmesh.agent.linter {
|
|
|
782
792
|
const constructor: abstract new () => JsLintResult;
|
|
783
793
|
}
|
|
784
794
|
class JsAILinterFactory {
|
|
785
|
-
constructor(projectPath: string, llmService: any/* cc.unitmesh.llm.
|
|
795
|
+
constructor(projectPath: string, llmService: any/* cc.unitmesh.llm.LLMService */);
|
|
786
796
|
createLinter(linterName: string): Nullable<cc.unitmesh.agent.linter.JsAILinter>;
|
|
787
797
|
createAvailableLinters(): Promise<Array<cc.unitmesh.agent.linter.JsAILinter>>;
|
|
788
798
|
createLintersForFiles(filePaths: Array<string>): Promise<Array<cc.unitmesh.agent.linter.JsAILinter>>;
|
|
@@ -841,7 +851,7 @@ export declare namespace cc.unitmesh.agent.subagent {
|
|
|
841
851
|
const constructor: abstract new () => JsAnalysisContext;
|
|
842
852
|
}
|
|
843
853
|
class JsErrorRecoveryAgent {
|
|
844
|
-
constructor(projectPath: string, llmService: any/* cc.unitmesh.llm.
|
|
854
|
+
constructor(projectPath: string, llmService: any/* cc.unitmesh.llm.LLMService */);
|
|
845
855
|
execute(errorContext: cc.unitmesh.agent.subagent.JsErrorContext): Promise<any/* cc.unitmesh.agent.tool.ToolResult.AgentResult */>;
|
|
846
856
|
}
|
|
847
857
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -849,7 +859,7 @@ export declare namespace cc.unitmesh.agent.subagent {
|
|
|
849
859
|
const constructor: abstract new () => JsErrorRecoveryAgent;
|
|
850
860
|
}
|
|
851
861
|
class JsAnalysisAgent {
|
|
852
|
-
constructor(llmService: any/* cc.unitmesh.llm.
|
|
862
|
+
constructor(llmService: any/* cc.unitmesh.llm.LLMService */, contentThreshold?: number);
|
|
853
863
|
execute(context: cc.unitmesh.agent.subagent.JsAnalysisContext): Promise<any/* cc.unitmesh.agent.tool.ToolResult.AgentResult */>;
|
|
854
864
|
needsHandling(content: string): boolean;
|
|
855
865
|
}
|
|
@@ -871,7 +881,7 @@ export declare namespace cc.unitmesh.agent.subagent {
|
|
|
871
881
|
const constructor: abstract new () => JsNanoDSLContext;
|
|
872
882
|
}
|
|
873
883
|
class JsNanoDSLAgent {
|
|
874
|
-
constructor(llmService: any/* cc.unitmesh.llm.
|
|
884
|
+
constructor(llmService: any/* cc.unitmesh.llm.LLMService */, promptTemplate?: Nullable<string>);
|
|
875
885
|
execute(context: cc.unitmesh.agent.subagent.JsNanoDSLContext): Promise<any/* cc.unitmesh.agent.tool.ToolResult.AgentResult */>;
|
|
876
886
|
generate(description: string): Promise<any/* cc.unitmesh.agent.tool.ToolResult.AgentResult */>;
|
|
877
887
|
shouldTrigger(content: string): boolean;
|
|
@@ -894,7 +904,7 @@ export declare namespace cc.unitmesh.agent.subagent {
|
|
|
894
904
|
const constructor: abstract new () => JsChartContext;
|
|
895
905
|
}
|
|
896
906
|
class JsChartAgent {
|
|
897
|
-
constructor(llmService: any/* cc.unitmesh.llm.
|
|
907
|
+
constructor(llmService: any/* cc.unitmesh.llm.LLMService */, promptTemplate?: Nullable<string>);
|
|
898
908
|
execute(context: cc.unitmesh.agent.subagent.JsChartContext): Promise<any/* cc.unitmesh.agent.tool.ToolResult.AgentResult */>;
|
|
899
909
|
generate(description: string): Promise<any/* cc.unitmesh.agent.tool.ToolResult.AgentResult */>;
|
|
900
910
|
shouldTrigger(content: string): boolean;
|
|
@@ -1300,13 +1310,41 @@ export declare namespace cc.unitmesh.llm {
|
|
|
1300
1310
|
const constructor: abstract new () => JsDomainDictService;
|
|
1301
1311
|
}
|
|
1302
1312
|
class JsPromptEnhancer {
|
|
1303
|
-
constructor(llmService: any/* cc.unitmesh.llm.
|
|
1313
|
+
constructor(llmService: any/* cc.unitmesh.llm.LLMService */, fileSystem: any/* cc.unitmesh.devins.filesystem.DefaultFileSystem */, jsDomainDictService: cc.unitmesh.llm.JsDomainDictService);
|
|
1304
1314
|
enhance(userInput: string, language: string): Promise<string>;
|
|
1305
1315
|
}
|
|
1306
1316
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
1307
1317
|
namespace JsPromptEnhancer.$metadata$ {
|
|
1308
1318
|
const constructor: abstract new () => JsPromptEnhancer;
|
|
1309
1319
|
}
|
|
1310
|
-
function createPromptEnhancer(llmService: any/* cc.unitmesh.llm.
|
|
1320
|
+
function createPromptEnhancer(llmService: any/* cc.unitmesh.llm.LLMService */, fileSystem: any/* cc.unitmesh.devins.filesystem.DefaultFileSystem */, jsDomainDictService: cc.unitmesh.llm.JsDomainDictService): cc.unitmesh.llm.JsPromptEnhancer;
|
|
1321
|
+
class JsClaudeSkill {
|
|
1322
|
+
constructor(skillName: string, description: string, template: string, skillPath: string, fullCommandName: string);
|
|
1323
|
+
get skillName(): string;
|
|
1324
|
+
get description(): string;
|
|
1325
|
+
get template(): string;
|
|
1326
|
+
get skillPath(): string;
|
|
1327
|
+
get fullCommandName(): string;
|
|
1328
|
+
copy(skillName?: string, description?: string, template?: string, skillPath?: string, fullCommandName?: string): cc.unitmesh.llm.JsClaudeSkill;
|
|
1329
|
+
toString(): string;
|
|
1330
|
+
hashCode(): number;
|
|
1331
|
+
equals(other: Nullable<any>): boolean;
|
|
1332
|
+
}
|
|
1333
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
1334
|
+
namespace JsClaudeSkill.$metadata$ {
|
|
1335
|
+
const constructor: abstract new () => JsClaudeSkill;
|
|
1336
|
+
}
|
|
1337
|
+
class JsClaudeSkillManager {
|
|
1338
|
+
constructor(projectPath: string);
|
|
1339
|
+
loadSkills(): Promise<Array<cc.unitmesh.llm.JsClaudeSkill>>;
|
|
1340
|
+
getSkills(): Array<cc.unitmesh.llm.JsClaudeSkill>;
|
|
1341
|
+
findSkill(skillName: string): Nullable<cc.unitmesh.llm.JsClaudeSkill>;
|
|
1342
|
+
executeSkill(skillName: string, arguments: string): Promise<string>;
|
|
1343
|
+
hasSkills(): boolean;
|
|
1344
|
+
}
|
|
1345
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
1346
|
+
namespace JsClaudeSkillManager.$metadata$ {
|
|
1347
|
+
const constructor: abstract new () => JsClaudeSkillManager;
|
|
1348
|
+
}
|
|
1311
1349
|
}
|
|
1312
1350
|
export as namespace cc_unitmesh_mpp_core;
|