Commit Graph

799 Commits

Author SHA1 Message Date
Fodesu db777b98ac fix(agent): stream loop abort, mid-stream retry parity, collector cleanup (#376)
* fix(agent): align stream retry abort and event collection

* fix(agent): cancel stream on loop detect, harden retry and tool events

* fix(agent): drain previous stream before retry

* fix(lint): ctx ci lint

---------

Co-authored-by: 晨苒 <16112591+chen-ran@users.noreply.github.com>
2026-04-18 03:19:58 +08:00
Quincy b534248e19 fix: resolve context switch failure in browser automation (#380)
* fix: resolve context switch failure in browser automation

* feat: update logo and optimize sidebar empty state

---------

Co-authored-by: 晨苒 <16112591+chen-ran@users.noreply.github.com>
2026-04-18 03:07:17 +08:00
Chrys 28d11713db fix: preserve empty skill discovery roots (#384) 2026-04-17 23:17:04 +08:00
Chrys dee82177d3 feat: add bot-level skill paths configuration (#383) 2026-04-17 16:05:00 +08:00
晨苒 7aa6ec6ca9 chore(ci): add release.yml workflow_dispatch 2026-04-16 18:38:02 +08:00
Acbox d3a820b2dc release: v0.7.0 v0.7.0 2026-04-16 18:16:11 +08:00
Acbox 2f5bb97ab4 chore: update logo to web and documentation 2026-04-16 18:14:18 +08:00
晨苒 74f04427af chore(ci): unify release pipeline 2026-04-16 17:58:23 +08:00
Acbox 68b1efa343 docs: update to v0.7 2026-04-16 17:45:56 +08:00
晨苒 fc1ee59dea Revert "release: v0.7.0"
This reverts commit 9e3fae7e9b.
2026-04-16 17:37:59 +08:00
Acbox 9e3fae7e9b release: v0.7.0 2026-04-16 16:50:58 +08:00
Acbox 9f10033f63 feat(agent): include platform self identities in system prompts
Give bots their known per-channel account handles in the system prompt so they can reason about platform-specific self references consistently. Reuse persisted channel self_identity data across chat, discuss, schedule, heartbeat, and subagent prompts.
2026-04-16 16:44:29 +08:00
Acbox e0fc2f514e fix(agent): surface tool calls before input completes
Emit tool-call placeholders as soon as tool input streaming starts so long writes appear immediately in chat. Reuse the same UI tool message when full input arrives to avoid duplicate cards, and keep the hook-required test suite green.
2026-04-16 16:42:07 +08:00
Acbox 1a5b1d6086 fix(web): show send tool calls in chat
Remove the frontend filter that hid send tool blocks delivered to the current conversation so assistant actions remain visible in chat.
2026-04-16 16:39:57 +08:00
Chrys 33e18e7e64 feat(skills): add effective skill resolution and actions (#377)
* feat(skills): add effective skill resolution and actions

* refactor(workspace): normalize skill-related env and prompt

* chore(api): regenerate skills OpenAPI and SDK artifacts

* feat(web): surface effective skill state in console

* test(skills): cover API and runtime effective state

* fix(web): show adopt action for discovered skills

* fix(web): align skill header and show stateful visibility icon

* refactor(web): compact skill metadata on narrow layouts

* fix(web): constrain long skill text in cards

* refactor(skills): narrow default discovery roots

* fix(skills): harden managed skill path validation

* feat: add path in the results of `use_skill`

---------

Co-authored-by: Acbox <acbox0328@gmail.com>
2026-04-16 13:50:39 +08:00
Fodesu 8e1ed3683f feat(agent): relax provider http timeouts (#348) 2026-04-15 00:07:41 +08: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
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