Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
3dca181
feat: add streaming server and GitHub toolset
bordumb Jan 24, 2026
8325bc5
docs(ui): add bond.server integration instructions
bordumb Jan 24, 2026
60716c9
feat(ui): add input component
bordumb Jan 24, 2026
24fda0e
feat(ui): add dialog component
bordumb Jan 24, 2026
ac1326a
feat(ui): add useBondServer hook for bond.server integration
bordumb Jan 24, 2026
0a3ea96
feat(ui): add ConnectDialog component
bordumb Jan 24, 2026
52f4644
feat(ui): add ChatInput component
bordumb Jan 24, 2026
89d5c36
feat(ui): integrate bond.server with connect dialog and chat input
bordumb Jan 24, 2026
b5ff543
test: add simple test server for UI integration
bordumb Jan 24, 2026
84f2213
docs: add bond-server ui integration plan
bordumb Jan 24, 2026
3816c34
fix(ui): resolve race condition in server connection flow
bordumb Jan 24, 2026
d42cdd5
fix: update test server CORS and add UI debugging logs
bordumb Jan 24, 2026
b0263c3
fix: add localhost:5175 to CORS origins for test server
bordumb Jan 24, 2026
e38c962
fix(ui): normalize tool_delta events and add debug logging
bordumb Jan 24, 2026
21b12b2
fix(ui): handle non-streaming complete event as text response
bordumb Jan 24, 2026
f9fd990
fix(ui): ensure non-streaming complete event is handled for all messages
bordumb Jan 24, 2026
fe5372f
feat(test): add list_files tool to test server
bordumb Jan 24, 2026
ef74a8a
fix(test): correct BondAgent initialization in test server
bordumb Jan 24, 2026
7df034c
fix(ui): re-index blocks to ensure unique IDs across conversation turns
bordumb Jan 24, 2026
332bd56
feat(server): add GitHub toolset and fix streaming tool visualization
bordumb Jan 25, 2026
f5c50ab
chore: update pre-commit to auto-fix instead of just check
bordumb Jan 25, 2026
2d08a19
docs: add missing server and GitHub API reference docs
bordumb Jan 25, 2026
ffa7445
chore: config changes
bordumb Jan 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -205,3 +205,6 @@ cython_debug/
marimo/_static/
marimo/_lsp/
__marimo__/

# project
all_code_and_configs.txt
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,25 @@
repos:
- repo: local
hooks:
# Ruff format check (matches CI: uv run ruff format --check src tests)
# Ruff format - auto-fixes formatting issues
- id: ruff-format
name: ruff format
entry: uv run ruff format --check
entry: uv run ruff format
language: system
types: [python]
pass_filenames: false
args: [src, tests]

# Ruff lint (matches CI: uv run ruff check src tests)
# Ruff lint - auto-fixes what it can, fails on unfixable issues
- id: ruff-lint
name: ruff lint
entry: uv run ruff check
entry: uv run ruff check --fix
language: system
types: [python]
pass_filenames: false
args: [src, tests]

# Mypy type check (matches CI: uv run mypy src/bond)
# Mypy type check (cannot auto-fix, but necessary for safety)
- id: mypy
name: mypy
entry: uv run mypy
Expand Down
61 changes: 61 additions & 0 deletions docs/api/server.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Server Module

The Bond server module provides production-ready SSE and WebSocket streaming for any Bond agent.

## Factory Function

::: bond.server.create_bond_server
options:
show_source: false

---

## Configuration

::: bond.server.ServerConfig
options:
show_source: true

---

## Request/Response Types

### AskRequest

::: bond.server.AskRequest
options:
show_source: true

### SessionResponse

::: bond.server.SessionResponse
options:
show_source: true

### HealthResponse

::: bond.server.HealthResponse
options:
show_source: true

---

## Session Management

### Session

::: bond.server.Session
options:
show_source: true

### SessionStatus

::: bond.server.SessionStatus
options:
show_source: true

### SessionManager

::: bond.server.SessionManager
options:
show_source: false
84 changes: 84 additions & 0 deletions docs/api/tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,90 @@ The schema toolset provides database schema lookup capabilities.

---

## GitHub Toolset

The GitHub toolset provides tools to browse and analyze any GitHub repository.

### Protocol

::: bond.tools.github.GitHubProtocol
options:
show_source: true

### Adapter

::: bond.tools.github.GitHubAdapter
options:
show_source: false

### Types

::: bond.tools.github.RepoInfo
options:
show_source: true

::: bond.tools.github.TreeEntry
options:
show_source: true

::: bond.tools.github.FileContent
options:
show_source: true

::: bond.tools.github.CodeSearchResult
options:
show_source: true

::: bond.tools.github.Commit
options:
show_source: true

::: bond.tools.github.CommitAuthor
options:
show_source: true

::: bond.tools.github.PullRequest
options:
show_source: true

::: bond.tools.github.PullRequestUser
options:
show_source: true

### Exceptions

::: bond.tools.github.GitHubError
options:
show_source: true

::: bond.tools.github.RepoNotFoundError
options:
show_source: true

::: bond.tools.github.FileNotFoundError
options:
show_source: true

::: bond.tools.github.PRNotFoundError
options:
show_source: true

::: bond.tools.github.RateLimitedError
options:
show_source: true

::: bond.tools.github.AuthenticationError
options:
show_source: true

### Toolset

::: bond.tools.github.github_toolset
options:
show_source: false

---

## GitHunter Toolset

The GitHunter toolset provides forensic code ownership analysis tools.
Expand Down
Loading