Cline SDK 0.0.68: real provider error messages, getShellArgs deprecated
Provider errors forwarded through the Vercel AI Gateway now surface the actual upstream message instead of a Zod dump, and Windows PowerShell commands travel over UTF-8 stdin. SDK consumers should note getShellArgs() is deprecated in favour of getShellInvocation().
PUBLISHED2026-08-01
OBSERVED2026-08-11
AGE10d
SOURCES1
- Gateway-forwarded provider errors show the real upstream message (e.g. "This model's maximum context length is 40960 tokens..."); opaque object errors no longer render as
[object Object] fetchClineRecommendedModelsreturns display-ready names resolved through the model catalog (including Vercel and OpenRouter id aliases) under one shared timeout budget, so hosts no longer map ids to names- Cline free models resolve their OpenRouter display names; live catalog no longer drops the video input capability
- Windows: PowerShell commands sent over UTF-8 stdin instead of the command line, so non-ASCII survives the active code page and long commands escape the command-line length cap.
getShellInvocation()replaces the now-deprecatedgetShellArgs(); stdin write failure surfaces as a command error instead of hanging - Sessions rooted at
/failed every command becausebasename("/")produced an empty workspace hint that schema validation rejected — fixed - Exported the finish-reason and auth-error helpers used to describe agent errors
COMMUNITY
No curated reactions recorded for this event. Facts and takes are kept in separate layers — community context is added by hand, never blended into the record above.