* fix: mark premature close as tool call error
* fix: stop streaming if aborted
* fix: throw error not string
* fix: cleanup premature close catching
* fix: only capture premature close if there are tool calls to cancel
* fix: posthog should log either way for premature close
* fix: revert system message change
* Fix: Allow --agent flag without prompt in headless mode
- Modified prompt validation to check for --agent flag presence
- Agent files can provide their own prompts, so no user prompt is required
- Added example usage with --agent flag to error message
- Added test case to verify --agent flag bypasses prompt requirement
Fixes issue where 'cn -p --agent owner/package' incorrectly required a prompt
Generated with [Continue](https://continue.dev)
Co-Authored-By: Continue <noreply@continue.dev>
Co-authored-by: Username <dallin@continue.dev>
* fix: better examples when prompt is not provided
---------
Co-authored-by: Continue Agent <agent@continue.dev>
Co-authored-by: Continue <noreply@continue.dev>
Co-authored-by: Username <dallin@continue.dev>
Co-authored-by: Dallin Romney <dallinromney@gmail.com>
* Add autocomplete gif
* Add edit quickstart gif
* Add chat gif
* Add agent gif
* Fix broken image path
* Change Features to IDE Extensions
* Moved install and quickstart to ext and created redirects
* Move pages in docs.json
* Move examples from overview to extensions
* Remove the Overview and redirect to the index
* Fix Redirect
* Update docs/chat/how-to-use-it.mdx
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
* Redirect model pages to customize
---------
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Add info blocks to documentation explaining when to use secrets. vs inputs. syntax:
- Recommend secrets. as the default for most use cases
- Explain inputs. provides flexibility for reusable blocks
- Reference GitHub Actions pattern for clarity
This addresses user confusion around the two syntaxes and provides clear guidance on when each should be used.
Generated with [Continue](https://continue.dev)
Co-authored-by: Continue Agent <agent@continue.dev>
Co-authored-by: Ting-Wai To <tingwai@continue.dev>
Co-authored-by: Continue <noreply@continue.dev>
* feat: add token usage tracking to OpenAI adapter
- Modified OpenAI adapter to properly handle and emit usage chunks in streaming responses
- Added logic to store usage chunks and emit them at the end of the stream
- Verified Anthropic and Gemini adapters already have complete token usage implementations
- Added comprehensive tests for token usage tracking across all three providers
- All tests passing with provided API keys
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* fix: tests
---------
Co-authored-by: Claude <noreply@anthropic.com>