@zhin.js/agent-feature 1.0.11 → 1.0.12
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/lib/definition.d.ts +1 -1
- package/package.json +3 -3
- package/src/definition.ts +1 -1
package/lib/definition.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export interface AgentDefinition {
|
|
|
7
7
|
readonly instructions: string;
|
|
8
8
|
}
|
|
9
9
|
declare module '@zhin.js/plugin-runtime' {
|
|
10
|
-
interface PluginSetupContext<TConfig> {
|
|
10
|
+
interface PluginSetupContext<TConfig = unknown> {
|
|
11
11
|
addAgent(localName: string, markdown: string): void;
|
|
12
12
|
}
|
|
13
13
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zhin.js/agent-feature",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.12",
|
|
4
4
|
"description": "Convention-based Markdown Agent Feature for Zhin Plugin Runtime",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
"src"
|
|
18
18
|
],
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@zhin.js/feature-kit": "1.0.
|
|
21
|
-
"@zhin.js/plugin-runtime": "1.1.
|
|
20
|
+
"@zhin.js/feature-kit": "1.0.12",
|
|
21
|
+
"@zhin.js/plugin-runtime": "1.1.7"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@types/node": "^26.1.2",
|
package/src/definition.ts
CHANGED
|
@@ -12,7 +12,7 @@ export interface AgentDefinition {
|
|
|
12
12
|
declare module '@zhin.js/plugin-runtime' {
|
|
13
13
|
// Type parameter name must match the base PluginSetupContext declaration (TS2428).
|
|
14
14
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
15
|
-
interface PluginSetupContext<TConfig> {
|
|
15
|
+
interface PluginSetupContext<TConfig = unknown> {
|
|
16
16
|
addAgent(localName: string, markdown: string): void;
|
|
17
17
|
}
|
|
18
18
|
}
|