context
64
ctx:discord/blah/tpmjs/64Source document
full texttpmjs-64
text/plain3 KB
doc:agent/tpmjs-64/0384f620-5a17-4af3-8584-498171e473be[2026-02-17 17:42] ajaxdavis: ``` Written to PANDOC_TOOL_IDEAS.md. It covers 5 approaches: 1. Pandoc HTTP microservice on Railway - deploy pandoc in Docker, tool calls it via fetch 2. Pandoc WASM - in-process via npm, fully portable but unproven maturity 3. JS libraries for common conversions - unified/mammoth/etc., covers the 80% case with zero infra 4. Sandbox-first - use shellExec to run real pandoc in sandbox 5. Unsandbox integration - leverage your existing Unsandbox keys for cloud sandbox execution The recommended approach is a tiered strategy: ship a JS-native @tpmjs/tools-pandoc package immediately for common format pairs (markdown, html, docx, csv), then add a Railway pandoc service later for exotic formats (PDF, EPUB) that JS can't handle natively. The tool auto-detects which backend to use based on whether PANDOC_SERVICE_URL is set. ``` [2026-02-17 18:42] ajaxdavis: (files: image.png) [2026-02-17 22:54] foxhop.: (files: Screenshot_from_2026-02-17_17-53-52.png) [2026-02-17 22:54] foxhop.: "there's a tool for that" [2026-02-18 00:39] omega [bot]: **Agent Chat Debugging Improvements** Fixed a nasty silent failure in agent chat streams. When an agent's tool had an invalid schema (like an array missing `items`), the AI SDK would silently swallow the provider error and surface only a generic "No output generated" — with zero debug info. **What changed:** - Switched from `textStream` to `fullStream` to catch actual provider errors (401s, schema validation, rate limits etc.) that were being silently dropped - Added `debug`, `warning`, and `stream_error` SSE events with full error details (status codes, response bodies, provider info) - Errors now saved to DB so they show up in the JSON conversation export - Expandable error details panel in the chat UI with stream config info **Root cause found:** The `createResponse` tool in the OpenRouter collection had an array schema missing `items` — OpenAI rejects that. Fixed in the DB. Before: "No output generated" 🤷 After: "Invalid schema for function 'tpmjs-tools-openrouter-createResponse': array schema missing items" 🎯 [2026-02-18 03:48] ajaxdavis: - create a skill or whatever to add auto monitoring and runtime error fixing with claude in github github actions [2026-02-18 14:51] foxhop.: * a tool to accept a chat log to create a novella of 23 pages or so. [2026-02-20 18:50] salvador_james: https://x.com/mattzcarey/status/2024847630811980277?s=46 [2026-02-23 05:54] lisamegawatts: Is tpmjs down? Seeing 0 tools [2026-02-23 06:01] ajaxdavis: weird im seeing tools [2026-02-23 06:01] ajaxdavis: https://tpmjs.com/api/tools [2026-02-23 06:07] lisamegawatts: ah the boxes at the top say 0 [2026-02-23 06:17] lisamegawatts: (shared from mobile)
Facts in this context
Grouped by subject. Each subject links to its full article.
Recommended Strategy14 factsex:recommended-strategy
| formatType | exotic formats |
| hasName | tiered strategy |
| involvesAction | add a Railway pandoc service later |
| involvesAction | ship a JS-native @tpmjs/tools-pandoc package immediately |
| rdf:type | Strategy |
| recommendedBy | Ajaxdavis |
| targetsFormatPairs | html |
| targetsFormatPairs | EPUB |
| targetsFormatPairs | |
| targetsFormatPairs | csv |
| targetsFormatPairs | docx |
| targetsFormatPairs | markdown |
| usesToolBackend | JS-native |
| usesToolBackend | Railway pandoc service |