@collegium/sdk 0.0.1-beta.12 → 0.0.1-beta.13
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/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { c as ToolTurnScope, d as defineConfig, i as defineTool, n as ToolContext, o as ToolApprovalPayload, s as ToolDisclosure, t as PluginTool, u as Register } from "./tool-
|
|
1
|
+
import { c as ToolTurnScope, d as defineConfig, i as defineTool, n as ToolContext, o as ToolApprovalPayload, s as ToolDisclosure, t as PluginTool, u as Register } from "./tool-CZZZNBSg.js";
|
|
2
2
|
export { type PluginTool, type Register, type ToolApprovalPayload, type ToolContext, type ToolDisclosure, type ToolTurnScope, defineConfig, defineTool };
|
package/dist/testing.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as PluginToolFailureError, c as ToolTurnScope, l as PluginConfig, r as ToolContextFor } from "./tool-
|
|
1
|
+
import { a as PluginToolFailureError, c as ToolTurnScope, l as PluginConfig, r as ToolContextFor } from "./tool-CZZZNBSg.js";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/testing.d.ts
|
|
4
4
|
/** `settings` as the declared schema accepts them, so defaults apply as they do at boot; `turn` overrides the four facts */
|
|
@@ -129,7 +129,7 @@ type PluginToolErr = {
|
|
|
129
129
|
/** a committed side effect whose outcome cannot be established; the turn ends stating the ambiguity */
|
|
130
130
|
unresolved(message: string): never;
|
|
131
131
|
};
|
|
132
|
-
/** one tool as a plugin declares it: the framework's tool minus `budgetExempt`, returning plain output */
|
|
132
|
+
/** one tool as a plugin declares it: the framework's tool minus `budgetExempt` and `isAvailableWith`, returning plain output */
|
|
133
133
|
type PluginToolDeclaration<TContext, TParams extends z.ZodType> = {
|
|
134
134
|
/** present ⇒ the tool always gates (§5); renders the payload the approver reads and cannot decline */
|
|
135
135
|
approval?(args: z.infer<TParams>): ToolApprovalPayload;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@collegium/sdk",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.1-beta.
|
|
4
|
+
"version": "0.0.1-beta.13",
|
|
5
5
|
"description": "Write a Collegium plugin: declare a toolset with its tools, settings, storage, and skills.",
|
|
6
6
|
"license": "AGPL-3.0-only",
|
|
7
7
|
"homepage": "https://collegium.sh",
|