[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71V8NX6JM9719CJM1R07JNF":3,"skill-same:01M71V8NX6JM9719CJM1R07JNF":69},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":25,"linkOnly":26,"markdownContent":27,"markdownBody":28,"frontMatter":29,"refName":31,"commitSha":32,"skillDirectory":33,"forksCount":34,"repositoryHtmlUrl":35,"repositoryHomepageUrl":36,"ownerHtmlUrl":37,"ownerBlogUrl":38,"ownerDescription":39,"updatedAt":40,"install":41,"resources":54},"01M71V8NX6JM9719CJM1R07JNF","update",null,"Update assistant-ui and AI SDK to latest versions. Detects current versions, identifies breaking changes, and executes migrations.","AkaraChen\u002Fangel-engine","AkaraChen","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F85140972?v=4","01M6E197RY34TPAFK03227R387","01M71V2QPZM89DQ8R1AB7021P4",19,"MIT","https:\u002F\u002Fgithub.com\u002FAkaraChen\u002Fangel-engine\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fupdate\u002FSKILL.md",[],[5,18,19,20,21,22,23,24],"assistant","sdk","ui","ai sdk","migrations","latest","changes","2026-11-10 13:02:02",false,"---\nname: update\ndescription: Update assistant-ui and AI SDK to latest versions. Detects current versions, identifies breaking changes, and executes migrations.\nversion: 0.0.1\nlicense: MIT\n---\n\n# assistant-ui Update\n\n**Always verifies against npm ground truth and GitHub commits.**\n\n## References\n\n- [.\u002Freferences\u002Fai-sdk-v6.md](.\u002Freferences\u002Fai-sdk-v6.md) -- AI SDK v4\u002Fv5 → v6 migration (complete guide)\n- [.\u002Freferences\u002Fassistant-ui.md](.\u002Freferences\u002Fassistant-ui.md) -- assistant-ui version migrations\n- [.\u002Freferences\u002Fbreaking-changes.md](.\u002Freferences\u002Fbreaking-changes.md) -- Quick reference table\n\n## Phase 1: Detect Versions\n\n### Get Ground Truth\n\n```bash\n# Installed versions\nnpm ls @assistant-ui\u002Freact @assistant-ui\u002Freact-ai-sdk ai @ai-sdk\u002Freact 2>\u002Fdev\u002Fnull\n\n# Latest from npm\nnpm view @assistant-ui\u002Freact version\nnpm view @assistant-ui\u002Freact-ai-sdk version\nnpm view ai version\n```\n\n### Version Analysis\n\n| Package | Check For |\n|---------|-----------|\n| `ai` | \u003C 6.0.0 → needs AI SDK v6 migration |\n| `@assistant-ui\u002Freact` | \u003C 0.12.0 → needs unified state API migration |\n| `@assistant-ui\u002Freact` | \u003C 0.11.0 → needs runtime migration |\n| `@assistant-ui\u002Freact` | \u003C 0.10.0 → needs ESM migration |\n| `@assistant-ui\u002Freact` | \u003C 0.8.0 → needs UI split migration |\n| `@assistant-ui\u002Freact-ai-sdk` | \u003C 1.0.0 → needs AI SDK v6 first |\n\n## Phase 2: Route to Migration\n\n```\nAI SDK \u003C 6.0.0?\n├─ Yes → See .\u002Freferences\u002Fai-sdk-v6.md\n└─ No\n   └─ assistant-ui outdated?\n      ├─ Yes → See .\u002Freferences\u002Fassistant-ui.md\n      └─ No → Already up to date\n```\n\n### Migration Order\n\n1. **AI SDK first** (if \u003C 6.0.0) - Required for @assistant-ui\u002Freact-ai-sdk >= 1.0\n2. **assistant-ui second** - Apply breaking changes for version jump\n3. **Verify** - Type check, build, test\n\n## Phase 3: Execute\n\n### Update Packages\n\n```bash\n# pnpm\npnpm add @assistant-ui\u002Freact@latest @assistant-ui\u002Freact-ai-sdk@latest ai@latest @ai-sdk\u002Freact@latest\n\n# npm\nnpm install @assistant-ui\u002Freact@latest @assistant-ui\u002Freact-ai-sdk@latest ai@latest @ai-sdk\u002Freact@latest\n```\n\n### Apply Migrations\n\nBased on version jump, apply relevant migrations from references.\n\n### Verify\n\n```bash\nnpx tsc --noEmit  # Type check\npnpm build        # Build check\n```\n\n## Troubleshooting\n\n**\"Peer dependency conflict\"**\n- Update all packages together\n- Check version compatibility in [.\u002Freferences\u002Fbreaking-changes.md](.\u002Freferences\u002Fbreaking-changes.md)\n\n**Type errors after upgrade**\n- Consult breaking changes reference\n- Check specific migration guide\n\n**Runtime errors**\n- Verify API patterns match new version\n- Check for renamed\u002Fmoved APIs\n","# assistant-ui Update\n\n**Always verifies against npm ground truth and GitHub commits.**\n\n## References\n\n- [.\u002Freferences\u002Fai-sdk-v6.md](.\u002Freferences\u002Fai-sdk-v6.md) -- AI SDK v4\u002Fv5 → v6 migration (complete guide)\n- [.\u002Freferences\u002Fassistant-ui.md](.\u002Freferences\u002Fassistant-ui.md) -- assistant-ui version migrations\n- [.\u002Freferences\u002Fbreaking-changes.md](.\u002Freferences\u002Fbreaking-changes.md) -- Quick reference table\n\n## Phase 1: Detect Versions\n\n### Get Ground Truth\n\n```bash\n# Installed versions\nnpm ls @assistant-ui\u002Freact @assistant-ui\u002Freact-ai-sdk ai @ai-sdk\u002Freact 2>\u002Fdev\u002Fnull\n\n# Latest from npm\nnpm view @assistant-ui\u002Freact version\nnpm view @assistant-ui\u002Freact-ai-sdk version\nnpm view ai version\n```\n\n### Version Analysis\n\n| Package | Check For |\n|---------|-----------|\n| `ai` | \u003C 6.0.0 → needs AI SDK v6 migration |\n| `@assistant-ui\u002Freact` | \u003C 0.12.0 → needs unified state API migration |\n| `@assistant-ui\u002Freact` | \u003C 0.11.0 → needs runtime migration |\n| `@assistant-ui\u002Freact` | \u003C 0.10.0 → needs ESM migration |\n| `@assistant-ui\u002Freact` | \u003C 0.8.0 → needs UI split migration |\n| `@assistant-ui\u002Freact-ai-sdk` | \u003C 1.0.0 → needs AI SDK v6 first |\n\n## Phase 2: Route to Migration\n\n```\nAI SDK \u003C 6.0.0?\n├─ Yes → See .\u002Freferences\u002Fai-sdk-v6.md\n└─ No\n   └─ assistant-ui outdated?\n      ├─ Yes → See .\u002Freferences\u002Fassistant-ui.md\n      └─ No → Already up to date\n```\n\n### Migration Order\n\n1. **AI SDK first** (if \u003C 6.0.0) - Required for @assistant-ui\u002Freact-ai-sdk >= 1.0\n2. **assistant-ui second** - Apply breaking changes for version jump\n3. **Verify** - Type check, build, test\n\n## Phase 3: Execute\n\n### Update Packages\n\n```bash\n# pnpm\npnpm add @assistant-ui\u002Freact@latest @assistant-ui\u002Freact-ai-sdk@latest ai@latest @ai-sdk\u002Freact@latest\n\n# npm\nnpm install @assistant-ui\u002Freact@latest @assistant-ui\u002Freact-ai-sdk@latest ai@latest @ai-sdk\u002Freact@latest\n```\n\n### Apply Migrations\n\nBased on version jump, apply relevant migrations from references.\n\n### Verify\n\n```bash\nnpx tsc --noEmit  # Type check\npnpm build        # Build check\n```\n\n## Troubleshooting\n\n**\"Peer dependency conflict\"**\n- Update all packages together\n- Check version compatibility in [.\u002Freferences\u002Fbreaking-changes.md](.\u002Freferences\u002Fbreaking-changes.md)\n\n**Type errors after upgrade**\n- Consult breaking changes reference\n- Check specific migration guide\n\n**Runtime errors**\n- Verify API patterns match new version\n- Check for renamed\u002Fmoved APIs\n",{"name":5,"license":14,"version":30,"description":7},"0.0.1","master","48a57981043dbb2c534a27f410715a205f50bcfb",".claude\u002Fskills\u002Fupdate",2,"https:\u002F\u002Fgithub.com\u002FAkaraChen\u002Fangel-engine","https:\u002F\u002Fangel-engine.vercel.app\u002F","https:\u002F\u002Fgithub.com\u002FAkaraChen","https:\u002F\u002Fakr.moe","button painter, string concatenator, log alchemist.\r\n\r\nNo slop, no lag.","2026-09-09 08:58:26",{"source":8,"skillName":5,"commands":42,"prompt":52,"zipAvailable":53},[43,46,49],{"tool":44,"command":45},"npx","npx skills add AkaraChen\u002Fangel-engine --skill update",{"tool":47,"command":48},"bunx","bunx skills add AkaraChen\u002Fangel-engine --skill update",{"tool":50,"command":51},"pnpm","pnpm dlx skills add AkaraChen\u002Fangel-engine --skill update","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAkaraChen\u002Fangel-engine\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fupdate\u002FSKILL.md",true,[55,61,65],{"path":56,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":59,"sourceHtmlUrl":60},"references\u002Fai-sdk-v6.md","REFERENCE","参考文档",48044,"https:\u002F\u002Fgithub.com\u002FAkaraChen\u002Fangel-engine\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fupdate\u002Freferences\u002Fai-sdk-v6.md",{"path":62,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":63,"sourceHtmlUrl":64},"references\u002Fassistant-ui.md",8723,"https:\u002F\u002Fgithub.com\u002FAkaraChen\u002Fangel-engine\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fupdate\u002Freferences\u002Fassistant-ui.md",{"path":66,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":67,"sourceHtmlUrl":68},"references\u002Fbreaking-changes.md",3573,"https:\u002F\u002Fgithub.com\u002FAkaraChen\u002Fangel-engine\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fupdate\u002Freferences\u002Fbreaking-changes.md",[70,97,113,126,142,155],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":81,"publishedAt":25},"01M71V8GA53EWDYMKDCE95JN9M","tools","Guide for tool registration and tool UI in assistant-ui. Use when implementing LLM tools, tool call rendering, or human-in-the-loop patterns.","https:\u002F\u002Fgithub.com\u002FAkaraChen\u002Fangel-engine\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ftools\u002FSKILL.md",[76],{"categoryNo":77,"categoryName":78,"taxonomyType":79,"taxonomyTypeDesc":80},"01JBSEEDCAT000000000000010","后端与接口","SCENARIO","使用场景",[82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,20,18],"Tools","use","when","for","implementing","rendering","human","llm tools","call","patterns","registration","guide","tool","loop","human-in-the-loop",{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":25},"01M71V8EK5HG1TY1JSJA9ZG6RA","thread-list","Guide for multi-thread management in assistant-ui. Use when implementing thread lists, switching threads, or managing conversation history.","https:\u002F\u002Fgithub.com\u002FAkaraChen\u002Fangel-engine\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fthread-list\u002FSKILL.md",[],[104,105,106,107,85,108,109,83,93,110,111,20,18,112,84,86],"thread","thread list","list","multi","switching","conversation","management","history","threads",{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":25},"01M71V8CQ30TTQP2KHPYCGCR3R","streaming","Guide for assistant-stream package and streaming protocols. Use when implementing streaming backends, custom protocols, or debugging stream issues.","https:\u002F\u002Fgithub.com\u002FAkaraChen\u002Fangel-engine\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fstreaming\u002FSKILL.md",[],[115,84,120,121,85,86,83,93,122,123,124,18,125],"custom","stream","protocols","issues","debugging","package",{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":25},"01M71V86CFGGT33XS5FCVAYPVG","setup","Setup and configure assistant-ui in a project. Use when installing packages, configuring runtimes, setting up chat UI, or troubleshooting setup issues.","https:\u002F\u002Fgithub.com\u002FAkaraChen\u002Fangel-engine\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fsetup\u002FSKILL.md",[],[128,83,133,84,134,135,136,137,138,139,140,20,123,141,18],"setting","chat ui","runtimes","project","chat","up","troubleshooting","configure","packages",{"skillNo":143,"name":144,"nameZh":6,"description":145,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":146,"categories":147,"keywords":148,"publishedAt":25},"01M71V84DGS3SN4VJ829MHNBB8","runtime","Guide for assistant-ui runtime system and state management. Use when working with runtimes, accessing state, or managing thread\u002Fmessage data.","https:\u002F\u002Fgithub.com\u002FAkaraChen\u002Fangel-engine\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fruntime\u002FSKILL.md",[],[144,18,135,149,83,93,110,150,151,20,152,153,154,84,104,85],"message","system","data","state","state management","with",{"skillNo":156,"name":157,"nameZh":6,"description":158,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":159,"categories":160,"keywords":161,"publishedAt":25},"01M71V82YXWTCQS0M06D2HK4C4","primitives","Guide for assistant-ui UI primitives - ThreadPrimitive, ComposerPrimitive, MessagePrimitive. Use when customizing chat UI components.","https:\u002F\u002Fgithub.com\u002FAkaraChen\u002Fangel-engine\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fprimitives\u002FSKILL.md",[],[157,84,85,134,162,137,83,93,20,163,18],"ui components","components"]