@vincemakes/kiso-core 0.1.30 → 0.1.31
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/tools/tool.d.ts +7 -0
- package/package.json +2 -2
package/dist/tools/tool.d.ts
CHANGED
|
@@ -67,6 +67,13 @@ export interface Tool<I = unknown> {
|
|
|
67
67
|
* interrupted attempt blocks. The default is the safe side.
|
|
68
68
|
*/
|
|
69
69
|
readonly idempotent?: boolean;
|
|
70
|
+
/** R-C: ONE line for the system prompt — the tool's role, never the
|
|
71
|
+
* schema (the full description rides the JSON schema the provider
|
|
72
|
+
* transmits anyway — never pay twice). */
|
|
73
|
+
readonly promptSnippet?: string;
|
|
74
|
+
/** R-C: bullets injected into the system prompt only while this tool is
|
|
75
|
+
* ACTIVE (the registry's active set — deduped by the registry). */
|
|
76
|
+
readonly promptGuidelines?: readonly string[];
|
|
70
77
|
readonly execute: (input: I, ctx: ToolContext) => Promise<ToolResult>;
|
|
71
78
|
}
|
|
72
79
|
export declare function defineTool<I = unknown>(tool: Tool<I>): Tool<I>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vincemakes/kiso-core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.31",
|
|
4
4
|
"description": "kiso (foundation) core — protocol, event log, loop, hooks, modes, permissions, compaction, delivery truth. The 2,000-line kernel at the bottom of the kiso framework.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"openai"
|
|
34
34
|
],
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@vincemakes/kiso-evals": "0.1.
|
|
36
|
+
"@vincemakes/kiso-evals": "0.1.32",
|
|
37
37
|
"@types/node": "^26.1.2",
|
|
38
38
|
"typescript": "^5.7.2",
|
|
39
39
|
"vitest": "^3.0.0"
|