* build: add npm package build script with telemetry injection
Add a new build script that automates the NPM package creation process with proper telemetry key injection. The script:
- Validates required environment variables (TELEMETRY_SERVICE_API_KEY, ERROR_SERVICE_API_KEY)
- Verifies Node.js can access environment variables
- Builds Go CLI binaries for all platforms
- Compiles standalone package with esbuild
- Verifies telemetry keys are properly injected into compiled code
- Provides colored output and detailed error messages
Added npm script `build:npm` to package.json for easy invocation.
This ensures consistent builds with telemetry properly configured for production deployments.
* feat(hostbridge): add telemetry settings support for CLI mode
Add GetTelemetrySettings and SubscribeToTelemetrySettings methods to EnvService to handle telemetry configuration in CLI mode.
- GetTelemetrySettings retrieves telemetry status from POSTHOG_TELEMETRY_ENABLED environment variable
- SubscribeToTelemetrySettings provides a stream for telemetry setting updates, sending initial state and keeping stream open
- In CLI mode, telemetry settings are static and determined by environment variable at startup
This enables proper telemetry control and monitoring in CLI environments.
* WIP npm publish setup
* verbose startup + error if cline core not found
* working npm release
* modifications for linux npm package to work
* remove publish npm workflow for now
* readme & package.json tweaks
* fix old reference to compile-standalone-cli in test workflow
---------
Co-authored-by: Andrei Edell <andrei@nugbase.com>
* starting instance before anything else
* auth wizard from root if no credentials
* removing debug logs
* better design
* moving more things to verbose flag
* ensuring that when a new cline instance is started and there are no others, that it is set as default
* auth wizard should always have an instance at the beginning with ensuredefaultinstance
* setting welcome state to true when user inputs credentials
* normie friendly root command
* control c logic
* prompt to cline root works
* ask question tool streaming
* simplified & unified tool handling and approval messages, and supporting edge case with attempt completion calling terminal command
* CLI auth wizard
Default Cline model, better menu UX, display active provider and model at main menu
Model switcher for BYO providers
Provider switching, UI changes
List configured providers now shows all providers user has configured
Added remove provider feature
Changes to model picker for BYO providers
Model fetch filtering tweaks
Only update model fields for provider when possible
Consolidated provider field mapping
Change to not set provider as active when updating model
Dont set Cline as active provider when setting Cline model
Added model fetching for OpenAI provider (req API key)
Added model fetching for Ollama provider
Added support for model listing from providers.go for models without remote fetch
Moved auth specific code out of manager
Bedrock fields, OpenAI Native BaseURL
More graceful fetch failure
Fixed auth callback issue
* Added model list feature for AWS
AWS - Profile only support in CLI for now, UX changes (WIP
Remove Save and Exit option
Auto enable filtering/search in model lists
Added cancel option for some menus