diff --git a/tools/trap-sandbox/package-lock.json b/tools/trap-sandbox/package-lock.json index 53a7ea8..6311f28 100644 --- a/tools/trap-sandbox/package-lock.json +++ b/tools/trap-sandbox/package-lock.json @@ -1,12 +1,12 @@ { "name": "trap-sandbox", - "version": "0.2.0", + "version": "0.2.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "trap-sandbox", - "version": "0.2.0", + "version": "0.2.1", "dependencies": { "@fastify/websocket": "^11", "@opencode-ai/sdk": "^1.17.4", diff --git a/tools/trap-sandbox/package.json b/tools/trap-sandbox/package.json index 9ecd10a..47f70bd 100644 --- a/tools/trap-sandbox/package.json +++ b/tools/trap-sandbox/package.json @@ -1,6 +1,6 @@ { "name": "trap-sandbox", - "version": "0.2.0", + "version": "0.2.1", "private": true, "type": "module", "engines": { diff --git a/tools/trap-sandbox/src/modules/mcp/tools.ts b/tools/trap-sandbox/src/modules/mcp/tools.ts index 188fbf1..96302fa 100644 --- a/tools/trap-sandbox/src/modules/mcp/tools.ts +++ b/tools/trap-sandbox/src/modules/mcp/tools.ts @@ -24,22 +24,23 @@ type JsonRpcRequest = { params?: unknown; }; -const SERVER_VERSION = "0.2.0"; +const SERVER_VERSION = "0.2.1"; const TOOLS = [ { name: "probe-computers", - description: "Probe all connected TrapOS computers; lists each computer's traposId.", + description: "List connected TrapOS computers and ping each one. Use the returned traposId with the other tools.", inputSchema: { type: "object", properties: {}, additionalProperties: false }, }, { name: "exec-lua", - description: "Execute Lua code on a connected TrapOS computer.", + description: + "Execute an inline Lua snippet on a connected TrapOS computer. Use for short probes; use run-file for existing programs.", inputSchema: { type: "object", properties: { traposId: { type: "string", description: 'Target traposId (":