Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Changelog

## v0.4.0

### Breaking changes

- If you're running agentapi behind a reverse proxy, you'll now likely need to set the `--allowed-hosts` flag. See the [README](./README.md) for more details.

### New features

- Sourcegraph Amp support
- Added a new `--allowed-hosts` flag to the `server` command.

### Fixes

- Updated Codex support after its TUI has been updated in a recent version.
2 changes: 1 addition & 1 deletion chat/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chat",
"version": "0.3.3",
"version": "0.4.0",
"private": true,
"scripts": {
"dev": "next dev --turbopack",
Expand Down
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ var rootCmd = &cobra.Command{
Use: "agentapi",
Short: "AgentAPI CLI",
Long: `AgentAPI - HTTP API for Claude Code, Goose, Aider, Gemini and Codex`,
Version: "0.3.3",
Version: "0.4.0",
}

func Execute() {
Expand Down
2 changes: 1 addition & 1 deletion lib/httpapi/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ func NewServer(ctx context.Context, config ServerConfig) (*Server, error) {
})
router.Use(corsMiddleware.Handler)

humaConfig := huma.DefaultConfig("AgentAPI", "0.3.3")
humaConfig := huma.DefaultConfig("AgentAPI", "0.4.0")
humaConfig.Info.Description = "HTTP API for Claude Code, Goose, and Aider.\n\nhttps://github.com/coder/agentapi"
api := humachi.New(router, humaConfig)
formatMessage := func(message string, userInput string) string {
Expand Down
2 changes: 1 addition & 1 deletion openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@
"info": {
"description": "HTTP API for Claude Code, Goose, and Aider.\n\nhttps://github.com/coder/agentapi",
"title": "AgentAPI",
"version": "0.3.3"
"version": "0.4.0"
},
"openapi": "3.1.0",
"paths": {
Expand Down