typebulb 0.11.3 → 0.11.5
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/README.md +4 -0
- package/dist/agents/claude/client.js +99 -99
- package/dist/agents/claude/styles.css +37 -0
- package/dist/index.js +55 -55
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -257,6 +257,10 @@ The agent viewer turns that block into a live, sandboxed app, with a *breakout
|
|
|
257
257
|
.wrap { margin: 0 auto; padding: 24px 16px; } /* not: margin: 24px auto */
|
|
258
258
|
```
|
|
259
259
|
|
|
260
|
+
**Fixing a broken embed?** Re-emit it under the *same* `name:` — the viewer folds the old version into a stub and keeps your fix as the live one. (A rename is treated as a new bulb.)
|
|
261
|
+
|
|
262
|
+
**A broken embed reads back.** Emit it and move on; embeds usually just work. If the user says one broke, the viewer has already forwarded its compile/runtime error to `typebulb logs claude`, name-tagged (`[embed <name>]`) — pull it from there and fix, instead of asking the user to copy-paste.
|
|
263
|
+
|
|
260
264
|
## Tips for Agents
|
|
261
265
|
|
|
262
266
|
- **`config.json` `description`** is the bulb's SEO meta description — keep it to one or two plain sentences (~150–160 chars), or it gets truncated.
|