← Tough Tongue AICONTENT HISTORY

Update to Tough Tongue AI

Snapshot Oct 24, 2026 · 12:57 UTC · version 2.0.1

Collection source: downloaded plugin package.

WHAT CHANGED

First saved snapshot

No earlier snapshot is available to establish a change.

Save Tough Tongue AI and check future changes in Following.

Up to 3 plugins free · no card required.

Compare saved observations

Download comparison JSON
Full technical diff · 0 changed fields
Full snapshot data
{
  "description": "Creates and maintains Agent Desktop apps for Tough Tongue AI voice agents: small React packages (README.md, code, an editable data or control file, and spec.json) that the agent opens and drives beside a live session, such as a board, checklist, scorecard, or presentation deck. Finds, creates, writes, verifies, and previews apps with ttai:list_resources, ttai:create_filebase, ttai:write_filebase, ttai:get_resource, and ttai:create_token, declares the app's `controls` so the voice agent knows how to operate it, then attaches it to a Scenario's agent_desktop tool with ttai:update_scenario. Use when the user says \"build an app my voice agent can edit\", \"make a board the agent updates during the call\", \"a deck the agent presents\", \"attach this app to my scenario\", or \"preview my app\". Not for designing the Scenario's conversation (ttai-agent) or analyzing sessions (ttai-session-analyst).",
  "included_files": [
    {
      "relative_path": "agents/openai.yaml",
      "size_in_bytes": 464
    },
    {
      "relative_path": "references/app-structure.md",
      "size_in_bytes": 5898
    }
  ],
  "name": "ttai-agent-apps",
  "skill_md_contents": "---\nname: ttai-agent-apps\ndescription: >-\n  Creates and maintains Agent Desktop apps for Tough Tongue AI voice agents:\n  small React packages (README.md, code, an editable data or control file,\n  and spec.json) that the agent opens and drives beside a live session, such as a\n  board, checklist, scorecard, or presentation deck. Finds, creates, writes,\n  verifies, and previews apps with ttai:list_resources, ttai:create_filebase,\n  ttai:write_filebase, ttai:get_resource, and ttai:create_token, declares the app's `controls` so\n  the voice agent knows how to operate it, then attaches it to a Scenario's\n  agent_desktop tool with ttai:update_scenario. Use when the user says\n  \"build an app my voice agent can edit\", \"make a board the agent updates\n  during the call\", \"a deck the agent presents\", \"attach this app to my\n  scenario\", or \"preview my app\". Not for designing the Scenario's\n  conversation (ttai-agent) or analyzing sessions (ttai-session-analyst).\nwhen_to_use: >-\n  Also when the user asks to change what an existing app shows or how the\n  agent operates it.\n---\n\n# Tough Tongue AI Agent Apps\n\nDesign → create → write files → verify → preview → attach. An app is a file\npackage rendered next to a live voice session; the voice agent operates it by\nrewriting one small **data** or **control** file, following the `controls` the\napp declares.\n\n## Contents\n\n- Prerequisites\n- Tool map\n- Workflow\n- Rules\n- Checklist\n- Key Files\n\n## Prerequisites\n\n- Resolve scope first: omit `org_id` for the personal workspace. For an\n  organization, call `ttai:get_workspace_info` and pass the chosen\n  `organizations[].id` as `org_id`; an app created there belongs to it and is\n  visible to its members.\n- Load each tool's input schema before calling; the live `tools/list` wins.\n- Read [references/app-structure.md](references/app-structure.md) before writing\n  any file.\n\n## Tool map\n\n| Intent               | Call                                                            |\n| -------------------- | --------------------------------------------------------------- |\n| Discover             | `ttai:list_resources(type: filebases, filters: {kind: app}, query?)` |\n| Inspect / read files | `ttai:get_resource(type: filebases, id, paths?: [...])` (≤ 20 files) |\n| Create               | `ttai:create_filebase(kind: app, name, title, description?)`     |\n| Write / delete files | `ttai:write_filebase(id, files?, delete?)` — destructive, confirm |\n| Preview link         | `ttai:create_token({type: filebase_view, filebase_id})`          |\n| Attach               | `ttai:update_scenario` (`tools_config.tools.agent_desktop`)     |\n\nVisibility changes, disabling, and deleting an app happen in the web app's\napp editor, not over MCP.\n\n## Workflow\n\n### 1. Design\n\nOne round of questions; skip what is stated: what the app shows, what the voice\nagent changes mid-call (a slide, a status, a list item), and which Scenario\nuses it. Split before writing:\n\n- **Code** — `src/**`, fixed; the agent never edits it.\n- **Data / control** — one small, flat JSON file the agent rewrites whole.\n\n### 2. Create\n\n`ttai:create_filebase` with `kind: app`, `name`, `title`, optional `description`.\n\n- `name`: lowercase letters, digits, and hyphens; 2–64 characters; starts with\n  a letter or digit; unique in the workspace (the call refuses a duplicate).\n  Sessions look apps up by name, and it becomes the live agent's tool prefix\n  (`idea-board` → `idea_board_launch`, `idea_board_write`, …). Never use a\n  built-in name (`canvas`, `deck`, `brainstorm`).\n- Keep the returned `id`; every later call takes it.\n\n### 3. Write files\n\n`ttai:write_filebase` with `id` and `files`: a map of **package-relative** paths\n(`README.md`, `src/App.tsx`, `data/board.json`, `spec.json`) to full contents.\n\n- Each file is replaced whole. Send only the files that change; `delete`\n  removes paths.\n- First write: `README.md` (what the app shows, which file to edit),\n  `src/App.tsx`, the data file, and `spec.json`. The result's `missing` must\n  be empty.\n- `spec.json` is server-kept: every write sets `appName`, `version`, and\n  `files` (the tree) and defaults the rest from the FileBase. Write only\n  `controls`, `instructions`, and `filesystem` (limit `editableGlobs` to the\n  data file; the default is the whole app).\n- `controls`: short lines that tell the live agent how to operate the app.\n  They are added to the Scenario's system prompt for every session that\n  enables the app.\n\n### 4. Verify\n\n`ttai:get_resource(type: filebases, id, paths: [\"spec.json\", ...])` and check:\n`spec.json` parses; the returned tree has `README.md` and every file\n`src/App.tsx` imports;\nevery `filesystem.editableGlobs` pattern matches an existing file; `controls`\nname the exact file and values to write.\n\n### 5. Preview\n\n`ttai:create_token({type: \"filebase_view\", filebase_id: id, valid_for_hours})`\n→ `url` opens the app's FileBase view without signing in, for up to 24 hours (default 1). To\nsee the agent drive it, run a Scenario that attaches it. Request a fresh link\ninstead of reusing one. It carries an access token, so share it only with the\nuser.\n\n### 6. Attach to a Scenario\n\nFetch the Scenario first. `ttai:update_scenario` merges `tools_config.tools` per\ntool, so other tools stay as they are, but it replaces `tool_settings` whole:\ncopy the existing `agent_desktop.tool_settings` keys (such as `mode`) into your\nwrite. Send one `scenario` object:\n\n```json\n{\n  \"scenario\": {\n    \"id\": \"<scenario id>\",\n    \"tools_config\": {\n      \"tools\": {\n        \"agent_desktop\": {\n          \"should_register\": true,\n          \"add_to_system_prompt\": true,\n          \"tool_settings\": { \"apps\": { \"idea-board\": true } }\n        }\n      }\n    }\n  }\n}\n```\n\n`apps` maps the app `name` to `true`; the first key is the app that opens at\nstart. `add_to_system_prompt: true` is what puts the app's `controls` in the\nprompt. `ai_instructions` then only needs the when (which phase shows which\nview), not the how. The app must be enabled and visible to the session's\nparticipant; otherwise the session silently falls back to the default canvas.\n\n### 7. Iterate\n\nContent or control change → `ttai:write_filebase` on that file only. Code change →\nwrite the changed `src/` files, then preview again.\n\n## Rules\n\n- Confirm before `ttai:write_filebase` on an app a Scenario already uses: live\n  sessions pick up the new files on their next app launch.\n- No secrets, tokens, or personal data in app files.\n- The agent's edits during a session stay in that session. Every new session\n  starts from the stored files.\n- Do not invent `spec.json` keys; unknown keys are ignored.\n\n## Checklist\n\n- [ ] `README.md` and `spec.json` written; `missing` empty; tree has every\n      file `src/App.tsx` imports\n- [ ] Data / control file is the only `editableGlobs` target\n- [ ] `controls` name the exact file, its fields, and allowed values\n- [ ] Re-read verified; user has a fresh preview link\n- [ ] `agent_desktop.tool_settings` merged, not replaced;\n      `add_to_system_prompt: true`\n\n## Key Files\n\n- [references/app-structure.md](references/app-structure.md) — package layout,\n  `spec.json`, `controls`, worked example, limits\n"
}

SHA-256 of public snapshot: a7d814c0cf72a1575db9f4ba45e27d202e29a33a2c51910e0f7da978a071af9d