@klarkxy/dsh-model-hub 0.1.7 → 0.2.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/README.md +9 -12
- package/docs/README.zh-CN.md +9 -12
- package/lib/client.inner.cjs +2093 -1521
- package/lib/client.inner.cjs.map +1 -1
- package/lib/client.js +2093 -1521
- package/lib/index.d.ts +1 -39
- package/lib/index.js +120 -512
- package/lib/index.js.map +1 -1
- package/locale/en.json +2 -2
- package/locale/zh.json +2 -2
- package/package.json +5 -5
package/lib/index.d.ts
CHANGED
|
@@ -4,45 +4,7 @@ import { Context } from "@deepseek-ai/cordis";
|
|
|
4
4
|
declare const name = "@klarkxy/dsh-model-hub";
|
|
5
5
|
declare const inject: readonly ["settings", "webServer", "connection", "systemPrompt"];
|
|
6
6
|
declare const CHANNEL = "/dsh-model-hub";
|
|
7
|
-
declare const Config: Schema<Schemastery.ObjectS<
|
|
8
|
-
selfTestMeta: Schema<NoInfer<Schemastery.ObjectS<NoInfer<{
|
|
9
|
-
provider: Schema<string, string, "defined">;
|
|
10
|
-
model: Schema<string, string, "defined">;
|
|
11
|
-
reasoningEffort: Schema<string, string, "plain">;
|
|
12
|
-
}>>>, NoInfer<Schemastery.ObjectT<NoInfer<{
|
|
13
|
-
provider: Schema<string, string, "defined">;
|
|
14
|
-
model: Schema<string, string, "defined">;
|
|
15
|
-
reasoningEffort: Schema<string, string, "plain">;
|
|
16
|
-
}>>>, "volatile">;
|
|
17
|
-
selfTestRole: Schema<NoInfer<Schemastery.ObjectS<NoInfer<{
|
|
18
|
-
provider: Schema<string, string, "defined">;
|
|
19
|
-
model: Schema<string, string, "defined">;
|
|
20
|
-
reasoningEffort: Schema<string, string, "plain">;
|
|
21
|
-
}>>>, NoInfer<Schemastery.ObjectT<NoInfer<{
|
|
22
|
-
provider: Schema<string, string, "defined">;
|
|
23
|
-
model: Schema<string, string, "defined">;
|
|
24
|
-
reasoningEffort: Schema<string, string, "plain">;
|
|
25
|
-
}>>>, "volatile">;
|
|
26
|
-
}>>, Schemastery.ObjectT<NoInfer<{
|
|
27
|
-
selfTestMeta: Schema<NoInfer<Schemastery.ObjectS<NoInfer<{
|
|
28
|
-
provider: Schema<string, string, "defined">;
|
|
29
|
-
model: Schema<string, string, "defined">;
|
|
30
|
-
reasoningEffort: Schema<string, string, "plain">;
|
|
31
|
-
}>>>, NoInfer<Schemastery.ObjectT<NoInfer<{
|
|
32
|
-
provider: Schema<string, string, "defined">;
|
|
33
|
-
model: Schema<string, string, "defined">;
|
|
34
|
-
reasoningEffort: Schema<string, string, "plain">;
|
|
35
|
-
}>>>, "volatile">;
|
|
36
|
-
selfTestRole: Schema<NoInfer<Schemastery.ObjectS<NoInfer<{
|
|
37
|
-
provider: Schema<string, string, "defined">;
|
|
38
|
-
model: Schema<string, string, "defined">;
|
|
39
|
-
reasoningEffort: Schema<string, string, "plain">;
|
|
40
|
-
}>>>, NoInfer<Schemastery.ObjectT<NoInfer<{
|
|
41
|
-
provider: Schema<string, string, "defined">;
|
|
42
|
-
model: Schema<string, string, "defined">;
|
|
43
|
-
reasoningEffort: Schema<string, string, "plain">;
|
|
44
|
-
}>>>, "volatile">;
|
|
45
|
-
}>>, "plain">;
|
|
7
|
+
declare const Config: Schema<Schemastery.ObjectS<{}>, Schemastery.ObjectT<{}>, "plain">;
|
|
46
8
|
declare function apply(ctx: Context): void;
|
|
47
9
|
//#endregion
|
|
48
10
|
export { CHANNEL, Config, apply, inject, name };
|