diff --git a/VERSION b/VERSION index eca6a4a..6b9f278 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.22.8 +0.22.9 diff --git a/extensions/builtin/js-sandbox/manifest.json b/extensions/builtin/js-sandbox/manifest.json index 40b518b..b01b539 100644 --- a/extensions/builtin/js-sandbox/manifest.json +++ b/extensions/builtin/js-sandbox/manifest.json @@ -9,6 +9,7 @@ "tools": [ { "name": "js_eval", + "display_name": "JavaScript Eval", "description": "Execute JavaScript code in a secure browser sandbox. Use this to: verify calculations, run algorithms, transform data, test code snippets, parse/format strings, or any computation. Console output (log/warn/error) is captured. The last expression's value is returned as the result. Has no network access, no DOM access, no access to the parent page. Timeout: 10 seconds.", "parameters": { "type": "object", diff --git a/extensions/builtin/regex-tester/manifest.json b/extensions/builtin/regex-tester/manifest.json index d4eea82..24259a3 100644 --- a/extensions/builtin/regex-tester/manifest.json +++ b/extensions/builtin/regex-tester/manifest.json @@ -9,6 +9,7 @@ "tools": [ { "name": "regex_test", + "display_name": "Regex Tester", "description": "Test a regular expression against one or more input strings. Returns match details including captured groups, indices, and whether each string matched. Use this to verify regex patterns instead of guessing.", "parameters": { "type": "object", diff --git a/server/handlers/completion.go b/server/handlers/completion.go index 82bfc78..7e0ada8 100644 --- a/server/handlers/completion.go +++ b/server/handlers/completion.go @@ -670,6 +670,7 @@ func (h *CompletionHandler) ListTools(c *gin.Context) { var manifest struct { Tools []struct { Name string `json:"name"` + DisplayName string `json:"display_name"` Description string `json:"description"` } `json:"tools"` } @@ -677,8 +678,13 @@ func (h *CompletionHandler) ListTools(c *gin.Context) { continue } for _, t := range manifest.Tools { + displayName := t.DisplayName + if displayName == "" { + displayName = t.Name + } result = append(result, toolInfo{ Name: t.Name, + DisplayName: displayName, Description: t.Description, Category: "browser", }) diff --git a/server/pages/templates/base.html b/server/pages/templates/base.html index a49c45d..8b6697f 100644 --- a/server/pages/templates/base.html +++ b/server/pages/templates/base.html @@ -7,7 +7,15 @@ {{block "title" .}}Chat Switchboard{{end}} - + {{/* Decomposed from monolithic styles.css (v0.22.9) */}} + + + + + + + + {{if eq .Surface "chat"}}{{template "css-chat" .}}{{end}} {{if eq .Surface "editor"}}{{template "css-editor" .}}{{end}}