Commit Graph

796 Commits

Author SHA1 Message Date
Acbox 9a2f7a4766 feat: add path in the results of use_skill 2026-04-16 13:48:18 +08:00
ChrAlpha 61ccecc7be fix(skills): harden managed skill path validation 2026-04-14 15:14:23 +00:00
ChrAlpha 543c41faf3 Merge origin/main into feat/skills-effective-state 2026-04-14 15:10:21 +00:00
晨苒 38ac907361 chore(docs): update new memoh logo 2026-04-14 22:41:54 +08:00
Quincy 7cc7b959e2 fix: resolve bot styling issue (#375) 2026-04-14 22:31:30 +08:00
Acbox 5382c3cd27 feat(web): add sidebar collapse 2026-04-14 21:58:29 +08:00
Acbox 19d5cd606d chore: update AGENTS.md 2026-04-14 21:56:42 +08:00
Acbox 2a1c4a2e5f fix(providers): github copilot icon 2026-04-14 21:30:46 +08:00
Acbox 27d2b99301 feat: add immediate context compaction API, UI button, and /compact slash command
- Add POST /bots/:bot_id/sessions/:session_id/compact endpoint for
  synchronous context compaction with fallback to chat model when no
  dedicated compaction model is configured
- Add "Compact Now" button to session info panel in the web UI
- Add /compact slash command for triggering compaction from chat
- Regenerate OpenAPI spec and TypeScript SDK
2026-04-14 21:30:05 +08:00
Acbox 6328281fc2 fix: enforce speech/LLM isolation in providers and models
SQL queries (CountProviders, CountModels, ListModels, ListEnabledModels,
ListModelsByProviderID) now exclude speech types. Added IsLLMClientType
guard to prevent cross-domain queries via /models?client_type and
/providers/:id/import-models. Frontend provider forms no longer offer
edge-speech as a client type option.

Also fixed pre-existing SA5011 staticcheck warnings in proxy_test.go
and executor_test.go.
2026-04-14 21:07:27 +08:00
Acbox 84f1d0612a refactor: replace context_token_budget with model context_window for context trimming
The per-bot context_token_budget column was unused (no frontend UI) and
has been removed. Context trimming now derives the budget from the chat
model's context_window setting, which is already configured per model.
2026-04-14 21:04:42 +08:00
晨苒 cb44408277 fix(ci): avoid direct secrets access in tauri workflows 2026-04-14 06:51:06 +08:00
晨苒 4d5f3f9126 release: v0.7.0-beta.4 v0.7.0-beta.4 2026-04-14 06:44:07 +08:00
晨苒 fa48f59d38 fix(docker): docker-compose.yml typo 2026-04-14 06:43:30 +08:00
lijianlin 0c2527453b fix(schedule): use anyOf for nullable max_calls 2026-04-14 06:38:49 +08:00
晨苒 a076b232fc Merge branch 'pr/350' 2026-04-14 06:37:43 +08:00
晨苒 1739a7b671 Merge branch 'main' into pr/350 2026-04-14 06:33:19 +08:00
aki 3509947bc0 Fix dangling tool call history 2026-04-14 06:23:48 +08:00
Fodesu 3945bd913d test(agent): satisfy lint for generate loop tests 2026-04-14 06:23:01 +08:00
Fodesu 33461d7ac1 fix(agent): stop generate loop aborts correctly 2026-04-14 06:23:01 +08:00
Fodesu 59147b255d fix(agent): guard tool loop state against concurrent tool execution 2026-04-14 06:23:01 +08:00
晨苒 1a6d12a137 feat(cli): add bots and docker compose commands 2026-04-14 06:22:00 +08:00
晨苒 d50eeea114 reactor(cli): move memoh cli to tui
1. Split the oversized `cmd/agent` entrypoint into a multi-file package and update dev/build scripts to use the package path instead of compiling `main.go` directly.
2. Add a new `memoh` terminal UI for local bot chat, with Bubble Tea
2026-04-14 06:22:00 +08:00
晨苒 8c9f222783 fix(ui): add acl template tooltip 2026-04-14 05:51:38 +08:00
BBQ 60517bc2a6 feat(acl): add bot security policy presets
Initialize new bots with preset ACL templates and an allow-by-default fallback so common access setups can be selected during bot creation instead of being configured manually afterward.
2026-04-14 05:51:38 +08:00
aki 0e6c8ca451 fix(telegram): dedupe repeated inbound updates 2026-04-14 05:15:45 +08:00
BBQ 447d647aef fix(sqlc): cast optional scalar settings args (#370)
Add explicit scalar casts for optional timezone and context token budget fields so sqlc can parse UpsertBotSettings again. Regenerating sqlc also syncs the stale generated bot/query structs that drifted from the schema.
2026-04-14 04:36:44 +08:00
Acbox 6100b966f8 release: v0.7.0-beta.3 v0.7.0-beta.3 2026-04-14 01:16:06 +08:00
Acbox 7255056f28 feat(icons): add github-copilot icon 2026-04-14 01:13:49 +08:00
ChrAlpha 8cad5f48e7 refactor(skills): narrow default discovery roots 2026-04-13 16:32:57 +00:00
ChrAlpha fa5944f2ce fix(web): constrain long skill text in cards 2026-04-13 16:12:07 +00:00
ChrAlpha 045bd8f84c refactor(web): compact skill metadata on narrow layouts 2026-04-13 15:34:20 +00:00
ChrAlpha 7e8ad10c25 fix(web): align skill header and show stateful visibility icon 2026-04-13 15:31:01 +00:00
ChrAlpha f9ec269a45 fix(web): show adopt action for discovered skills 2026-04-13 15:22:13 +00:00
ChrAlpha 0ecff52484 test(skills): cover API and runtime effective state 2026-04-13 13:48:11 +00:00
ChrAlpha 2345d9a9e6 feat(web): surface effective skill state in console 2026-04-13 13:48:02 +00:00
ChrAlpha 3701f44b39 chore(api): regenerate skills OpenAPI and SDK artifacts 2026-04-13 13:47:54 +00:00
ChrAlpha 4ffc4de8ec refactor(workspace): normalize skill-related env and prompt 2026-04-13 13:47:33 +00:00
ChrAlpha 70ed8b5980 feat(skills): add effective skill resolution and actions 2026-04-13 13:47:21 +00:00
EYHN c4114227e5 feat(agent): add background task execution and notifications (#365) 2026-04-13 20:28:42 +08:00
LiBr df8fbd8859 feat(provider): add github copilot device flow provider (#364) 2026-04-13 19:38:33 +08:00
KasuganoSora a40207ab6d feat: Misskey channel adapter, agent reliability hardening & stream error resilience (#359) 2026-04-13 17:10:50 +08:00
Acbox 26b01cc463 fix(media): failed to store the media to /data/media and add image part 2026-04-13 12:58:08 +08:00
Acbox d46269de89 feat(command): improve slash command UX (#361)
Make slash commands easier to navigate in chat by splitting help into levels, compacting list output, and surfacing current selections for model, search, memory, and browser settings. Also route /status to the active conversation session and add an access inspector so users can understand their current command and ACL context.
2026-04-13 12:37:12 +08:00
Chrys c9c221e35d fix(web): constrain skills editor dialog layout (#363) 2026-04-12 23:30:41 +08:00
晨苒 6b9e69b514 chore(ci): add tauri macOS signing 2026-04-11 23:41:54 +08:00
Acbox 3307b27a80 feat(web): add timezone setup for each bot 2026-04-11 19:39:17 +08:00
Acbox bb6c3c826e chore(ci): update trigger condition for actions 2026-04-11 19:31:48 +08:00
Acbox Liu 7a21fd5f07 feat: ui message (#357) 2026-04-11 13:29:41 +08:00
BBQ f376a2abe3 fix(channel): add wechatoa webhook delivery and proxy config (#356)
Unify webhook handling across channel adapters and add the WeChat Official Account channel so inbound routing and replies work without platform-specific handlers. Add adapter-scoped proxy support and stable config field ordering so restricted network environments can deliver WeChat and Telegram messages reliably.
2026-04-10 21:26:11 +08:00