Commit Graph

6 Commits

Author SHA1 Message Date
John Lindquist ff965cc377 fix(skills): remove styled-jsx, regenerate catalog, add investigation-mode skill, build-from-skills templates; bump to 0.9.10 2026-03-09 11:38:08 -06:00
John Lindquist 0d404c0b8b fix(skills): allow plain "provider/model" strings as primary gateway syntax
Plain "provider/model" strings (e.g., model: "openai/gpt-5.4") route
through AI Gateway automatically — the gateway() wrapper is optional and
only needed for providerOptions.gateway (routing, failover, tags). Updated
vercel.md, ai-sdk, and ai-gateway skills to match official Vercel docs.
2026-03-09 11:03:25 -06:00
John Lindquist 5b43dbe07f fix: close plugin gaps found during Linear clone build session
- proxy.ts location: document that --src-dir requires src/proxy.ts not root
- @ai-sdk/react: document as required separate install for useChat hooks
- maxSteps removal: replace with stopWhen/stepCountIs across all docs
- toDataStreamResponse: fix remaining v5 references to toUIMessageStreamResponse
- Neon lazy init: add build-time safe pattern (neon() crashes without DATABASE_URL)
- drizzle-kit: document that it doesn't auto-load .env.local
- Marketplace CLI: document AI agent term-acceptance blocker
- Clerk: add org flow gotchas (redirect loop, missing env vars, proxy location)
2026-03-04 18:56:33 -07:00
John Lindquist 39940f6acb fix: update model IDs to latest and remove PreToolUse hook
- Remove PreToolUse hook entirely (gateway preference belongs in
  SessionStart conventions, not per-write checks)
- Fix model ID format: use dots not dashes (claude-sonnet-4.6,
  claude-opus-4.6, claude-haiku-4.5)
- Update to latest flagship models from AI Gateway catalog:
  OpenAI: gpt-5.2 (was gpt-5-mini), gpt-5.3-codex, gpt-5-nano
  Anthropic: claude-sonnet-4.6, claude-opus-4.6
  Google: gemini-3-flash (was gemini-2.5-flash),
          gemini-3.1-pro-preview (was gemini-2.5-pro)
- Update providers reference table with current model lineup
2026-03-04 12:24:22 -07:00
John Lindquist 4c9cc93665 fix: update generateObject/streamObject to AI SDK v6 Output.object() API
generateObject and streamObject are deprecated in AI SDK v6. Replace all
usage and documentation with generateText/streamText + Output.object().

Also:
- Expand migration tables with CoreMessage, Experimental_Agent deprecations
- Simplify validator to check metadata only (components discovered from dirs)
- Add date to vercel.md header
2026-03-04 11:07:22 -07:00
John Lindquist 2a56636bbe Initial commit: vercel-plugin project setup 2026-03-03 15:13:06 -07:00