美電球
8508f80608
Merge pull request #2705 from hehaijunandhenry/main
...
add MQTT channel support
2026-05-08 18:50:08 +08:00
dependabot[bot]
3788e9edad
build(deps): bump i18next from 26.0.8 to 26.0.10 in /web/frontend ( #2809 )
...
Bumps [i18next](https://github.com/i18next/i18next ) from 26.0.8 to 26.0.10.
- [Release notes](https://github.com/i18next/i18next/releases )
- [Changelog](https://github.com/i18next/i18next/blob/master/CHANGELOG.md )
- [Commits](https://github.com/i18next/i18next/compare/v26.0.8...v26.0.10 )
---
updated-dependencies:
- dependency-name: i18next
dependency-version: 26.0.10
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-08 11:15:44 +08:00
dependabot[bot]
c2044e5a2c
build(deps): bump react-i18next from 17.0.4 to 17.0.6 in /web/frontend ( #2808 )
...
Bumps [react-i18next](https://github.com/i18next/react-i18next ) from 17.0.4 to 17.0.6.
- [Changelog](https://github.com/i18next/react-i18next/blob/master/CHANGELOG.md )
- [Commits](https://github.com/i18next/react-i18next/compare/v17.0.4...v17.0.6 )
---
updated-dependencies:
- dependency-name: react-i18next
dependency-version: 17.0.6
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-08 11:08:15 +08:00
dependabot[bot]
7c8cd7c66a
build(deps-dev): bump globals from 17.5.0 to 17.6.0 in /web/frontend ( #2807 )
...
Bumps [globals](https://github.com/sindresorhus/globals ) from 17.5.0 to 17.6.0.
- [Release notes](https://github.com/sindresorhus/globals/releases )
- [Commits](https://github.com/sindresorhus/globals/compare/v17.5.0...v17.6.0 )
---
updated-dependencies:
- dependency-name: globals
dependency-version: 17.6.0
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-08 11:07:46 +08:00
dependabot[bot]
f4338d3aab
build(deps): bump @tabler/icons-react in /web/frontend ( #2806 )
...
Bumps [@tabler/icons-react](https://github.com/tabler/tabler-icons/tree/HEAD/packages/icons-react ) from 3.41.1 to 3.43.0.
- [Release notes](https://github.com/tabler/tabler-icons/releases )
- [Commits](https://github.com/tabler/tabler-icons/commits/v3.43.0/packages/icons-react )
---
updated-dependencies:
- dependency-name: "@tabler/icons-react"
dependency-version: 3.43.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-08 11:07:23 +08:00
dependabot[bot]
b7edd35d13
build(deps): bump shadcn from 4.3.0 to 4.7.0 in /web/frontend ( #2804 )
...
Bumps [shadcn](https://github.com/shadcn-ui/ui/tree/HEAD/packages/shadcn ) from 4.3.0 to 4.7.0.
- [Release notes](https://github.com/shadcn-ui/ui/releases )
- [Changelog](https://github.com/shadcn-ui/ui/blob/main/packages/shadcn/CHANGELOG.md )
- [Commits](https://github.com/shadcn-ui/ui/commits/shadcn@4.7.0/packages/shadcn )
---
updated-dependencies:
- dependency-name: shadcn
dependency-version: 4.7.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-08 10:50:08 +08:00
hehaijunandhenry
e7c0dc821a
Merge remote-tracking branch 'remotes/upstream/main'
2026-05-07 14:39:29 +08:00
LC
81a050555d
feat(provider,web,asr): enhance model management with explicit provider metadata ( #2701 )
...
* feat(provider,web): enhance model management with provider options
* fix(asr): enhance compatibility for ElevenLabs transcription model
* fix(provider,web): align provider availability predicates and add flow gating
* fix(web,asr): preserve legacy elevenlabs transcription configs
* fix(provider,web,asr): normalize elevenlabs configs and gate default chat models
* fix: tighten provider catalog and elevenlabs compatibility
2026-05-06 16:06:49 +08:00
openapphub
4d3070e849
fix(web): 兼容 HTTP 环境复制按钮 ( #2712 )
...
Co-authored-by: openapphub <175949671+openapphub@users.noreply.github.com >
2026-05-06 14:44:36 +08:00
dependabot[bot]
e3a05bd36d
build(deps): bump @tailwindcss/vite from 4.2.2 to 4.2.4 in /web/frontend ( #2734 )
...
Bumps [@tailwindcss/vite](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-vite ) from 4.2.2 to 4.2.4.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases )
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.2.4/packages/@tailwindcss-vite )
---
updated-dependencies:
- dependency-name: "@tailwindcss/vite"
dependency-version: 4.2.4
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-06 14:32:00 +08:00
dependabot[bot]
00742b0196
build(deps): bump @tanstack/react-router in /web/frontend ( #2733 )
...
Bumps [@tanstack/react-router](https://github.com/TanStack/router/tree/HEAD/packages/react-router ) from 1.168.23 to 1.169.2.
- [Release notes](https://github.com/TanStack/router/releases )
- [Changelog](https://github.com/TanStack/router/blob/main/packages/react-router/CHANGELOG.md )
- [Commits](https://github.com/TanStack/router/commits/@tanstack/react-router@1.169.2/packages/react-router )
---
updated-dependencies:
- dependency-name: "@tanstack/react-router"
dependency-version: 1.168.26
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-06 14:17:21 +08:00
dependabot[bot]
0419497c72
build(deps): bump i18next from 26.0.7 to 26.0.8 in /web/frontend ( #2732 )
...
Bumps [i18next](https://github.com/i18next/i18next ) from 26.0.7 to 26.0.8.
- [Release notes](https://github.com/i18next/i18next/releases )
- [Changelog](https://github.com/i18next/i18next/blob/master/CHANGELOG.md )
- [Commits](https://github.com/i18next/i18next/compare/v26.0.7...v26.0.8 )
---
updated-dependencies:
- dependency-name: i18next
dependency-version: 26.0.8
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-06 14:14:08 +08:00
dependabot[bot]
864bfa1cef
build(deps-dev): bump typescript-eslint in /web/frontend ( #2730 )
...
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint ) from 8.59.0 to 8.59.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.59.1/packages/typescript-eslint )
---
updated-dependencies:
- dependency-name: typescript-eslint
dependency-version: 8.59.1
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-06 14:12:19 +08:00
dependabot[bot]
c0bc8a3f9d
build(deps): bump tailwindcss from 4.2.2 to 4.2.4 in /web/frontend ( #2729 )
...
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss ) from 4.2.2 to 4.2.4.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases )
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.2.4/packages/tailwindcss )
---
updated-dependencies:
- dependency-name: tailwindcss
dependency-version: 4.2.4
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-06 14:10:28 +08:00
Diego Fornalha
96621eff21
feat(i18n): add Portuguese (Brazil) locale ( #2037 )
...
* feat(i18n): add Portuguese (Brazil) locale
Add pt-BR as the third supported language in the Web UI, alongside
English and Chinese. The browser language detector will auto-select
PT-BR for Portuguese-speaking users.
Changes:
- Add web/frontend/src/i18n/locales/pt-br.json with full translation
- Register pt-BR resource and dayjs locale in i18n/index.ts
- Add "Português (Brasil)" option to language selector dropdown
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
* chore(i18n): refresh pt-br locale to match current en.json keys
Add 194 new keys (skills marketplace, tour, launcher login/setup, chat
disabled placeholders, web search tools, dashboard password, etc.) and
remove 15 outdated keys so pt-br.json now mirrors en.json (601/601 keys).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-05-06 11:33:39 +08:00
Mauro
828a7cba70
Merge pull request #2681 from afjcjsbx/fix/gemini-mcp-schema-sanitization
...
fix(mcp): sanitize MCP tool schemas for Gemini function calling
2026-05-03 20:25:35 +02:00
hehaijunandhenry
5c0492900e
add MQTT channel support
2026-04-29 18:27:33 +08:00
Guoguo
fc24676924
Add cross-platform serial tool support ( #2673 )
...
* feat(tools): add cross-platform serial hardware tool
* feat(config): wire serial tool into runtime and dashboard
* hardware/serial: tighten validation and error handling
* hardware/serial: improve unix cancellation and timeout polling
* hardware/serial: improve windows I/O handling
* hardware/serial: fix darwin cross-compilation build
* docs(design): summarize hardware support and serial limits
* build: keep go generate on host during cross builds
* onboard: drop unrelated go generate change from serial work
* style(tools): wrap serial lines for golines
2026-04-28 13:10:32 +08:00
SiYue-ZO
2114e1a53f
feat(config): wire serial tool into runtime and dashboard
2026-04-28 12:56:27 +08:00
LC
c44bd6138c
refactor(pico): unify message kind handling of tool_calls and thought ( #2680 )
...
* refactor(pico): unify message kind handling of tool_calls and thought
* fix(pico): add legacy compatibility for thought payload in Send method
Co-authored-by: Copilot <copilot@github.com >
---------
Co-authored-by: Copilot <copilot@github.com >
2026-04-28 10:17:12 +08:00
Mauro
c731ecdc74
Merge branch 'main' into fix/gemini-mcp-schema-sanitization
2026-04-27 21:14:25 +02:00
afjcjsbx
cd7717bc15
feat(tool): tool schema semplification
2026-04-27 21:10:30 +02:00
SiYue-ZO
cbe6a0907c
feat: complete tool and model restart feedback
2026-04-26 22:09:00 +08:00
SiYue-ZO
afc600baed
feat: add config save and restart prompts
2026-04-26 22:09:00 +08:00
lc6464
d6b38c4236
fix(chat): update tool_calls structure and ensure kind is always set
2026-04-26 20:13:13 +08:00
LC
1b9e7e32bd
fix(chat): add \r? for regular expressions
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-04-26 19:59:55 +08:00
lc6464
9d42282672
fix(chat): tolerate animated legacy tool feedback parsing
2026-04-26 01:19:19 +08:00
lc6464
303ff8137d
feat(chat): unify reasoning and tool call visibility
2026-04-26 00:50:18 +08:00
lc6464
6d04d15ce0
fix(tool-feedback): dedupe duplicate content and keep full explanations
2026-04-26 00:40:55 +08:00
lc6464
5cd10b594a
feat(pico): add support for tool_calls in chat messages
2026-04-25 23:43:10 +08:00
SiYue-ZO
d784ec4611
feat: add thought visibility toggle
2026-04-25 17:08:37 +08:00
美電球
41f4d95597
Merge pull request #2657 from lc6464/fix-deepseek-v4-thinking-history
...
fix(reasoning): persist canonical history for DeepSeek and web chat
2026-04-25 15:08:48 +08:00
SiYue-ZO
683ce31f2b
fix: isolate thought bubble collapse state
2026-04-24 23:58:42 +08:00
lc6464
bb0f983708
fix(reasoning): persist canonical history for DeepSeek and web chat
2026-04-24 21:45:41 +08:00
Junghwan
293477b02a
Keep launcher locale changes from mutating shared web-search routing ( #2573 )
...
The launcher wired UI language changes into a process-global backend
switch that changed auto web-search provider selection and the
reported current service for every handler in the same process.
This narrows the fix to the validated leak: remove backend sync from
frontend locale changes, drop the now-unused UI endpoint, and make
auto selection fall back to a stable default when the query itself
does not contain a script hint.
Constraint: Keep the patch small and mergeable without redesigning per-user preference storage
Rejected: Add per-user backend language state | larger scope than the validated bug and unclear maintainer preference
Rejected: Persist preferred language in config | still shares mutable state across clients of the same instance
Confidence: high
Scope-risk: narrow
Reversibility: clean
Directive: If locale-aware provider routing is reintroduced later, scope it to explicit config or request context instead of package-global state
Tested: go test ./web/backend/api ./pkg/tools -count=1; pnpm lint; pnpm build
Not-tested: Full make check; live multi-browser manual launcher run after the backend endpoint removal
2026-04-24 13:45:25 +08:00
dependabot[bot]
47a881b11f
build(deps-dev): bump typescript-eslint in /web/frontend ( #2638 )
...
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint ) from 8.58.2 to 8.59.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.59.0/packages/typescript-eslint )
---
updated-dependencies:
- dependency-name: typescript-eslint
dependency-version: 8.59.0
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-24 12:05:08 +08:00
dependabot[bot]
1dba8e9e91
build(deps-dev): bump vite from 8.0.8 to 8.0.10 in /web/frontend ( #2634 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 8.0.8 to 8.0.10.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v8.0.10/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-version: 8.0.10
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-24 11:59:54 +08:00
dependabot[bot]
ffd22c7fb6
build(deps): bump i18next from 26.0.3 to 26.0.7 in /web/frontend ( #2632 )
...
Bumps [i18next](https://github.com/i18next/i18next ) from 26.0.3 to 26.0.7.
- [Release notes](https://github.com/i18next/i18next/releases )
- [Changelog](https://github.com/i18next/i18next/blob/master/CHANGELOG.md )
- [Commits](https://github.com/i18next/i18next/compare/v26.0.3...v26.0.7 )
---
updated-dependencies:
- dependency-name: i18next
dependency-version: 26.0.7
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-24 11:55:19 +08:00
dependabot[bot]
39d7b3a63e
build(deps): bump react-i18next from 17.0.3 to 17.0.4 in /web/frontend ( #2631 )
...
Bumps [react-i18next](https://github.com/i18next/react-i18next ) from 17.0.3 to 17.0.4.
- [Changelog](https://github.com/i18next/react-i18next/blob/master/CHANGELOG.md )
- [Commits](https://github.com/i18next/react-i18next/compare/v17.0.3...v17.0.4 )
---
updated-dependencies:
- dependency-name: react-i18next
dependency-version: 17.0.4
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-24 11:50:45 +08:00
Mauro
9fc72c1fb3
feat(tool-feedback): add separate message mode for chat feedback ( #2644 )
...
* feat(tool-feedback): add separate message mode for chat feedback
* add parameter in conf
2026-04-24 11:49:41 +08:00
wenjie
cac4f21746
fix(tools): improve web search provider fallback ( #2629 )
...
- centralize web search provider readiness and resolution logic
- fall back when the configured provider is unavailable or invalid
- allow native-search-capable models to use built-in search without the client tool
- simplify the tools page and add direct access to web search settings
- add backend, agent, and integration tests for the new selection behavior
2026-04-23 15:39:16 +08:00
lxowalle
451db2f5d8
Feat(channels): unify animated tool feedback across chat channels and Pico ( #2622 )
...
* feat(channels): unify tool feedback animation across discord telegram and feishu
* fix(tool-feedback): unify fallback and single-message delivery
* fix(channels): finalize tool feedback in place
* fix ci
* feat: improve tool feedback
* fix review blockers in pico token cache and tool feedback
fix(provider): preserve function thought signatures
fix(feishu): recover tool feedback after edit fallback
* * delete dead code
* fix(pico): clean up tool feedback progress state
* fix ci
* fix(web): preserve tool feedback line breaks in chat
* fix(channels): preserve tool feedback progress state
fix(pico): preserve context usage when finalizing tool feedback
chore: record branch review pass
fix: preserve tool feedback finalization state
fix(web): handle pico history update fallback
* fix ci
2026-04-23 10:35:50 +08:00
wenjie
f367a9c010
fix(web): use raw token for Pico media proxy and refresh chat attachment UI ( #2618 )
2026-04-22 15:14:20 +08:00
lxowalle
77b0c43392
refactor: support explicit provider field in model list entries ( #2609 )
...
* refactor: support explicit model list providers
* fix(web): preserve explicit model providers
* fix(web): preserve legacy provider prefixes on model updates
fix(models): normalize explicit provider-prefixed ids
fix(api): preserve legacy model updates across providers
fix(agent): preserve config identity for explicit provider refs
* fix ci
2026-04-22 11:28:47 +08:00
Mauro
3316ee6923
feat(web): download files on frontend ( #2563 )
...
* feat(web): download attachments in frontend
* fix: proxy pico media and force svg downloads
* feat(web): hide ephemeral media refs from persisted session history
2026-04-22 11:28:04 +08:00
wenjie
71c877a67f
refactor(web): switch dashboard auth from tokens to passwords ( #2608 )
...
- replace token-based launcher auth with password-based login and sessions
- migrate legacy launcher_token values into bcrypt-backed password storage
- add one-shot local auto-login bootstrap
- update config UI, i18n strings, docs, and auth-related tests
2026-04-21 18:04:15 +08:00
肆月
a5379d5fff
feat(feishu): Add group chat trigger and random emoji response frontend configuration ( #2607 )
...
- 添加 group_trigger.mention_only 开关配置(群聊仅提及时响应)
- 添加 random_reaction_emoji 数组配置(自定义表情回应列表)
- 更新中英文国际化翻译
2026-04-21 18:01:16 +08:00
Guoguo
6ca7311273
feat(agent): add context usage ring indicator and /context command ( #2537 )
...
Add a context window usage indicator to the web chat UI and a /context
slash command that works across all channels.
Backend:
- Add computeContextUsage() estimating history + system + tool tokens
- Attach ContextUsage to outbound messages via the pico WebSocket protocol
- Add /context command showing context stats as formatted text
- Add EstimateSystemTokens() on ContextBuilder for system prompt estimation
Frontend:
- Add ContextUsageRing component (SVG ring + hover/tap popover)
- Show usage percentage, token counts, and compression threshold
- Hover on desktop (150ms leave delay), tap on mobile
- "View Details" sends /context with 1s cooldown
- i18n support (en/zh) for popover labels
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-04-21 16:30:02 +08:00
wenjie
ba6992234f
feat(web): support list editing for channel array fields ( #2595 )
...
Add reusable channel array list controls and parsing utilities for channel forms.
Normalize channel string-array payloads in the backend, including pasted values,
numeric IDs, hidden characters, duplicates, and empty clears.
Also allow FlexibleStringSlice to unmarshal null values and cover the new behavior
with backend and config tests.
2026-04-21 16:04:28 +08:00
wenjie
dcb4b67e00
fix(web): clean up restored chat transcripts and optimize chat UI ( #2605 )
...
Filter raw tool messages from session history and avoid duplicate summaries for visible message-tool output. Preserve final assistant replies after tool delivery and add coverage for visible transcript counts.
Also refine the chat UI with collapsible reasoning blocks, send shortcut hints, command-style user messages, stable scroll gutters, and updated i18n strings.
2026-04-21 11:52:58 +08:00