819 Commits

Author SHA1 Message Date
Acbox 7d72f86152 Revert "refactor(agent): move user identity headers to system prompt and sanitize input (#64)"
This reverts commit c9d4ee2a60.
2026-02-18 06:29:25 +08:00
tommy0103 c9d4ee2a60 refactor(agent): move user identity headers to system prompt and sanitize input (#64)
* refactor(agent): move user identity headers to system prompt and sanitize input

- Relocate user-context headers from User Prompt to System Prompt for better instruction adherence.
- Implement soft-sanitization to strip header-like patterns from user input to prevent prompt injection.
- Update resolver logic in Go to support the new prompt structure.

* refactor(agent): move user identity headers to system prompt and sanitize input
- Relocate user-context headers from User Prompt to System Prompt for better instruction adherence.
- Implement soft-sanitization to strip header-like patterns from user input to prevent prompt injection.
- Update resolver logic in Go to support the new prompt structure.

* chore: remove same process in go side

---------

Co-authored-by: Acbox <acbox0328@gmail.com>
2026-02-18 05:36:50 +08:00
ringotypowriter 05905a33da fix(agent): preload image base64 via MCP before model input 2026-02-17 21:50:51 +08:00
Ringo.Typowriter daed9d2d95 fix(models): guard bot memory model type and fallback for memory LLM (#61) 2026-02-17 20:14:44 +08:00
斬風千雪 cd8cb59236 improvement(telegram): add ellipsis and "typing" action in streamed message (#59) 2026-02-17 19:13:55 +08:00
BBQ df7876a30c feat: add media asset system, channel lifecycle refactor, and chat attachments (#54) 2026-02-17 19:06:46 +08:00
斬風千雪 0bdc31311c improvement(mcp): make CNI binary & data path configurable (#55) 2026-02-17 17:57:13 +08:00
Ringo.Typowriter 3aea635e44 fix: skill normalize (#57) 2026-02-17 17:55:07 +08:00
Ringo.Typowriter f9c613b4f9 fix: password placeholder (#53) 2026-02-16 19:48:50 +08:00
Acbox 09d7840a5f docs(blog): add header in README 2026-02-16 18:49:40 +08:00
Acbox Liu 3a2cf708ba docs(blog): Introduction (Feb 2026) (#52)
* docs(blog): add 2026-02-16

* docs(blog): update contents

* docs: add blogs section

* docs(blog): update contents for diff

* docs(blog): add images

---------

Co-authored-by: Ran <16112591+chen-ran@users.noreply.github.com>
2026-02-16 18:38:19 +08:00
BBQ b8a6a85fbb fix(containerd): re-apply CNI network after server restart for running MCP tasks
Server container restart drops cni0 bridge, veth and iptables masquerade
in its network namespace while MCP tasks keep running in containerd.
Reconcile and ensureContainerAndTask now re-run SetupNetwork for already-
running tasks so outbound connectivity is restored.
2026-02-16 16:45:38 +08:00
Acbox b329475359 chore: add release scripts 2026-02-16 15:55:49 +08:00
Acbox a0cf434218 chore: move CONTRIBUTING.md 2026-02-16 15:17:14 +08:00
Acbox dd66a0fb0a chore: add AGENTS.md 2026-02-16 15:12:49 +08:00
BBQ d268483d81 fix(migrations): add 0004 for search_providers table
Add incremental migration for existing databases to create the
search_providers table and bots.search_provider_id column introduced
in the search provider feature.
2026-02-16 02:37:25 +08:00
BBQ 75904022c0 fix(settings): search_provider_id NULL scan failure
The ::text cast on search_providers.id prevented sqlc from inferring
nullability via LEFT JOIN, generating a non-nullable string field that
crashes when the bot has no search provider bound.
2026-02-16 02:11:16 +08:00
Acbox 95b63188b2 refactor(web): merge /settings/user to /settings 2026-02-16 01:30:54 +08:00
Acbox 05f4f08d9c fix(web): render failed when entry bot details twice 2026-02-16 01:26:54 +08:00
Acbox 961ecbb96d feat: search provider 2026-02-16 01:22:15 +08:00
Acbox fc0ac96403 docs: add concepts 2026-02-15 21:45:24 +08:00
Acbox 299e9f2001 docs: update getting-started 2026-02-15 21:33:04 +08:00
Acbox d2646bbfa1 docs: update 2026-02-15 21:20:22 +08:00
Acbox 54fd07f445 refactor: cli 2026-02-15 20:59:44 +08:00
Acbox d97b4cb757 feat: support openai response api 2026-02-15 19:44:22 +08:00
Acbox 38753ef054 refactor: channel tools 2026-02-15 17:48:20 +08:00
Acbox 37360ad8e4 fix: schedule run failed 2026-02-15 16:12:53 +08:00
Acbox c014fd3095 chore: change tool names of schedule 2026-02-15 15:09:03 +08:00
Acbox 4afabe8c2f feat(agent): allow agent use external url in attachment 2026-02-15 14:33:26 +08:00
Acbox 3d575e031e feat: run memory extraction in the background 2026-02-15 14:15:55 +08:00
Acbox 641a5c2d71 docs(fix): README 2026-02-15 14:06:30 +08:00
Yao Siqian 33d6079c99 chore(md): correct web port (#50) 2026-02-15 11:49:53 +08:00
Ran 399c6eb4f1 Merge branch 'pr/46' 2026-02-15 03:49:23 +08:00
Ran 0fffed1d1e fix(web): vite url config error
- golang server support for arm64 arg
2026-02-15 03:45:09 +08:00
Fodesu 6f5ee013e6 fix(models): models id change can not be save (#49) 2026-02-14 23:40:47 +08:00
Ran e6580d7837 fix(deploy): docker health check failure 2026-02-14 22:44:23 +08:00
Ran 5c46d41ebf fix(deploy): vite config lazy load 2026-02-14 22:16:55 +08:00
Acbox f964cbca69 fix (docker): missing web keys in docker config 2026-02-14 20:45:33 +08:00
Acbox 1c85e0106f fix(docker): Dockerfile.web 2026-02-14 20:43:08 +08:00
Acbox 94d1cea488 fix(docker): Dockerfile.agent 2026-02-14 20:39:49 +08:00
Acbox ac8f857e27 feat(agent): put time-now header to the end of system prompt to increase the cache rate 2026-02-14 20:22:18 +08:00
Acbox f967c07e0a fix(web): tsconfig 2026-02-14 19:56:44 +08:00
Acbox b771238576 chore: add required config key 2026-02-14 19:52:31 +08:00
Acbox 82e9f12b7f refactor(web): change old port (7003) and deploy port (80) to port 8082 2026-02-14 19:51:55 +08:00
Ran 7817ec8147 fix(web): channel switch failure
Also add webui memory page
2026-02-14 07:30:21 +08:00
Fodesu 5ffd672605 ci: fix typos version again 2026-02-13 22:21:20 +08:00
Fodesu 2c2a8da01b ci: fix typos version 2026-02-13 22:17:39 +08:00
Fodesu fc42e717a7 chore: fix typos 2026-02-13 22:06:56 +08:00
Fodesu 6bf56d4b6b ci: fix typos failed log 2026-02-13 22:05:23 +08:00
Fodesu 8a8c8eb2e4 ci: add typos ci support 2026-02-13 22:01:01 +08:00