Commit e517200
Chore: version and other metadata changes (#6)
* feat: add streaming server and GitHub toolset
Add production-ready infrastructure for Bond agents:
## Server Module (bond.server)
- SSE and WebSocket streaming endpoints
- Session management with history
- CORS support and configuration
- Health check endpoint
## GitHub Toolset (bond.tools.github)
- 6 tools: get_repo, list_files, read_file, search_code, get_commits, get_pr
- GitHubAdapter with rate limit handling
- GitHubProtocol for backend flexibility
## Composite Dependencies (BondToolDeps)
- Single deps object for multiple toolsets
- Lazy adapter initialization
- Supports GitHub + GitHunter together
## Documentation
- guides/streaming-server.md - SSE/WebSocket integration
- guides/github.md - GitHub toolset usage
## Tests
- 36 new tests for server and GitHub modules
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* docs(ui): add bond.server integration instructions
- Option 1: Using bond.server with wrapper endpoint for UI
- Option 2: Custom SSE endpoint (simpler)
- SSE event format reference
- Future roadmap for full session-based integration
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* feat(ui): add input component
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* feat(ui): add dialog component
* feat(ui): add useBondServer hook for bond.server integration
* feat(ui): add ConnectDialog component
* feat(ui): add ChatInput component
* feat(ui): integrate bond.server with connect dialog and chat input
* test: add simple test server for UI integration
* docs: add bond-server ui integration plan
* fix(ui): resolve race condition in server connection flow
* fix: update test server CORS and add UI debugging logs
* fix: add localhost:5175 to CORS origins for test server
* fix(ui): normalize tool_delta events and add debug logging
* fix(ui): handle non-streaming complete event as text response
* fix(ui): ensure non-streaming complete event is handled for all messages
* feat(test): add list_files tool to test server
* fix(test): correct BondAgent initialization in test server
* fix(ui): re-index blocks to ensure unique IDs across conversation turns
* feat(server): add GitHub toolset and fix streaming tool visualization
- Add GitHub toolset to test server with BondToolDeps
- Fix SSE streaming race condition by using synchronous queue operations
- Fix tool event emission from PydanticAI message history
- Add justfile for easy demo setup (just demo, just demo-stop, etc.)
- Fix useBondServer complete event handling order
- Add rate limit handling instructions to agent
- Reduce max_retries to prevent rate limit loops
The tool visualization now works correctly - tool blocks show
arguments and results similar to the demo mode.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* chore: update pre-commit to auto-fix instead of just check
- ruff format: now auto-formats instead of --check
- ruff lint: now uses --fix to auto-fix fixable issues
- mypy: unchanged (cannot auto-fix type errors)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* docs: add missing server and GitHub API reference docs
Fix mkdocs --strict warnings:
- Create docs/api/server.md for server module API reference
- Add GitHub Toolset section to docs/api/tools.md
- Add Server to mkdocs.yml navigation
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* chore: config changes
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>1 parent d075a27 commit e517200
3 files changed
Lines changed: 16 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments