@tankpkg/sdk 0.0.0-nightly.20260416.ff1c580 → 0.13.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/dist/index.mjs +5 -3
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -4200,10 +4200,12 @@ const ruleIRSchema = object({
|
|
|
4200
4200
|
extensions: extensionBagSchema
|
|
4201
4201
|
}).strict();
|
|
4202
4202
|
const mcpServerConfigSchema = object({
|
|
4203
|
-
command: string().min(1),
|
|
4203
|
+
command: string().min(1).optional(),
|
|
4204
4204
|
args: array(string()).optional(),
|
|
4205
|
-
env: record(string(), string()).optional()
|
|
4206
|
-
|
|
4205
|
+
env: record(string(), string()).optional(),
|
|
4206
|
+
runtime: string().min(1).optional(),
|
|
4207
|
+
entry: string().min(1).optional()
|
|
4208
|
+
}).strict().refine((data) => data.command || data.runtime && data.entry, "MCP config must have either \"command\" or both \"runtime\" and \"entry\"");
|
|
4207
4209
|
const toolIRSchema = object({
|
|
4208
4210
|
kind: literal("tool"),
|
|
4209
4211
|
name: string().min(1, "Tool name must not be empty"),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tankpkg/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0",
|
|
4
4
|
"description": "Official TypeScript SDK for the Tank registry — search, download, install, and audit AI agent skills programmatically",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|