Fixes workspace hook resolution across multiple VS Code windows
Cline fixes workspace hook resolution across multiple VS Code windows and addresses related issues with cost display, credentials, and MCP servers.
Everything here lands through the SDK bundle, so it applies to windows running that bundle. Fixed Cost estimates are no longer shown for providers billed by a flat-rate subscription (ClinePass, ChatGPT via Codex, and Claude Code). The task header and model pricing rows rendered API-rate dollar figures that read as real charges on top of the subscription, including a flash of them on every chat-view mount while provider listings were loading. Signing back in no longer moves your last-used provider off ClinePass on credential refresh. Hooks now resolve their workspace from the VS Code window instead of shared global state in `~/.cline`.
With a second window open on another project, a workspace's `.clinerules/hooks` scripts were never discovered, and hook cwd and the workspace paths passed to hook scripts resolved against whatever project some other or older Cline instance last recorded. New files are now created with your platform's native line endings. Fixed the codebase search tool crashing on files containing a single enormous line. Credentials embedded in git remote URLs are now redacted from the workspace information sent to the model, which also now carries richer workspace…
- github.comCline v4.1.16primary