- Fix 6 chat-extension manifests: "name" → "title" (was blocking install) - Add "type": "surface" to hello-dashboard, icd-test-runner, sdk-test-runner - Add dormant status to packages schema (SQLite + Postgres) - Installer auto-detects requires: ["chat"] → sets dormant + disabled - Enable endpoint returns 409 for dormant packages - Relax dependency check: pending_review libraries allowed - Admin UI: dormant badge, disabled Enable button, Dormant stat card - 4 new handler tests (143 total passing) - Docker audit: all 16 packages install correctly Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
31 lines
1.3 KiB
JSON
31 lines
1.3 KiB
JSON
{
|
|
"id": "js-sandbox",
|
|
"title": "JavaScript Sandbox",
|
|
"version": "1.0.0",
|
|
"type": "extension",
|
|
"tier": "browser",
|
|
"author": "switchboard",
|
|
"description": "Executes JavaScript in a sandboxed iframe. Allows the LLM to run code, verify calculations, and transform data — no server compute required.",
|
|
"requires": ["chat"],
|
|
"permissions": [],
|
|
"tools": [
|
|
{
|
|
"name": "js_eval",
|
|
"display_name": "JavaScript Eval",
|
|
"description": "Execute JavaScript code in a secure browser sandbox. Use this to: verify calculations, run algorithms, transform data, test code snippets, parse/format strings, or any computation. Console output (log/warn/error) is captured. The last expression's value is returned as the result. Has no network access, no DOM access, no access to the parent page. Timeout: 10 seconds.",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {
|
|
"code": {
|
|
"type": "string",
|
|
"description": "JavaScript code to execute. Use console.log() for output. The value of the last expression is returned automatically."
|
|
}
|
|
},
|
|
"required": ["code"]
|
|
}
|
|
}
|
|
],
|
|
"surfaces": [],
|
|
"settings": {}
|
|
}
|