Commit graph

1189 commits

Author SHA1 Message Date
stevef
e7df4e6fe8 Remove Harvest and Monday integrations 2026-04-14 10:13:52 +02:00
stevef
fd4c6711b9 fix: enforce content-first delivery order for WebSocket bridge stability 2026-04-13 22:00:25 +02:00
stevef
9b9796e52f fix: enforce synchronous typing-stop signaling for Monitor UI stability 2026-04-13 21:52:26 +02:00
stevef
6ee2bf02e3 fix: robust parameter mapping for inbound pico messages 2026-04-13 21:34:07 +02:00
stevef
86c81f666f debug: add verbose pico auth logging and trim whitespace 2026-04-13 21:21:59 +02:00
stevef
592508db56 fix: prioritize stable pico token for HDN compatibility 2026-04-13 21:12:10 +02:00
stevef
050083d7ef fix: stabilize pico channel and hdn connection 2026-04-13 21:02:45 +02:00
stevef
98aaed0498 feat(k3s): support env:// credentials and fix stale security config cleanup 2026-04-13 19:54:41 +02:00
stevef
eaee2fb7d7 Diag: add debug logs for API key and URL 2026-04-13 09:42:05 +02:00
stevef
c0d90f2ca8 Fix: strip gemini protocol prefix for OpenAI-compatible endpoint 2026-04-13 09:25:47 +02:00
stevef
841bd0098a chore: address linter issues from PR review 2026-04-04 06:28:09 +02:00
stevef
f53e50c96a Final resolution of all merge conflicts and config cleanup 2026-04-03 22:49:25 +02:00
stevef
d37d6e6871 chore: fixes for userAgent support and host detection after rebase stabilization 2026-04-03 21:40:07 +02:00
stevef
42dfb5bdae chore: final stabilization fixes for security_shield after rebase 2026-04-03 21:40:07 +02:00
stevef
db2349cf4d feat(isolation): further hardening for agent loop and tools 2026-04-03 21:40:07 +02:00
stevef
afebbd3650 fixes 2026-04-03 21:40:07 +02:00
stevef
253412a526 fix(agent): inject media store in isolation and fix config unmarshal panic 2026-04-03 21:40:07 +02:00
stevef
3d621b6401 chore: minor configuration updates 2026-04-03 21:40:07 +02:00
stevef
5ca9b1c349 Remove deprecated /cgat and loop detection endpoints from server and docs 2026-04-03 21:35:55 +02:00
stevef
2a153bff02 Synchronize hardening: added onboard purge, non-interactive mode, and diagnostic startup logs 2026-04-03 21:32:00 +02:00
stevef
7dee43b0dc test: merge filesystem isolation validation into isolation_tools_test.go 2026-04-03 21:32:00 +02:00
stevef
5913149664 fix(agent): ensure isolated agents inherit manually registered tools to prevent test hangs 2026-04-03 21:32:00 +02:00
stevef
1bb3ca49ab made paths relative to workspace for sub-agents 2026-04-03 21:32:00 +02:00
stevef
d4e329f703 made /chat asynchronous 2026-04-03 21:32:00 +02:00
stevef
3c6639517d azure skills whitelisting: fix skills loader, security config, and tests 2026-04-03 21:32:00 +02:00
stevef
8d95449084 added two new providers: NVIDIA and Azure plus Security enhancments to lock down skills if desired and added a configurable chat API 2026-04-03 21:32:00 +02:00
stevef
d8f440b7c5 Stabilize PicoClaw Security Integration and Agent Shield Features
Resolved rebase conflicts, fixed build errors across pkg/tools and pkg/providers, and fully integrated the Agent Shield security suite (Canary, PII, IPIA, Policy, Behavior).

Key stabilization:
- Fixed filesystem tool constructor signatures and tests.
- Re-implemented timing-safe authentication in health/server.go.
- Synchronized gateway and channel manager initialization.
- Cleaned up architecture leakage and deprecated endpoints (/cgat).
- Removed local/sensitive paths from logs and .dockerignore.
2026-04-03 21:23:57 +02:00
stevef
066a6bc727 chore: stabilize build pipeline, fix lints and test panics 2026-04-03 20:55:13 +02:00
Mauro
d8c5183d9a
feat(mcp): store oversized text results as artifacts (#2308)
* feat(mcp): store oversized text results as artifacts

* feat(mcp): fix doc

* fix(mcp): preserve raw MCP payload in text artifacts

* fix(mcp): avoid leaking large text when artifact persistence fails

* chore(mcp): clarify inline text limit and cover artifact edge cases
2026-04-04 01:30:36 +08:00
stevef
6c0f36a44d fix(test): update NewContextBuilder call to match new signature 2026-04-03 15:14:13 +02:00
stevef
47cfd059ca chore: fixes for userAgent support and host detection after rebase stabilization 2026-04-03 15:01:12 +02:00
stevef
7347a27754 chore: final stabilization fixes for security_shield after rebase 2026-04-03 15:01:12 +02:00
stevef
6c277610df feat(isolation): further hardening for agent loop and tools 2026-04-03 15:01:12 +02:00
stevef
f2ffc6cc31 fixes 2026-04-03 15:01:12 +02:00
stevef
8dc92fdedc fix(agent): inject media store in isolation and fix config unmarshal panic 2026-04-03 15:01:12 +02:00
stevef
570be19935 chore: minor configuration updates 2026-04-03 15:01:12 +02:00
stevef
cb717011ba Synchronize hardening: added onboard purge, non-interactive mode, and diagnostic startup logs 2026-04-03 15:01:12 +02:00
stevef
9479c65ebb test: merge filesystem isolation validation into isolation_tools_test.go 2026-04-03 15:01:12 +02:00
stevef
386a93a13c fix(agent): ensure isolated agents inherit manually registered tools to prevent test hangs 2026-04-03 15:01:12 +02:00
stevef
eaf61a1e8a made paths relative to workspace for sub-agents 2026-04-03 15:01:12 +02:00
stevef
54fc66fa27 made /chat asynchronous 2026-04-03 15:01:12 +02:00
stevef
c72f9fe47e azure skills whitelisting: fix skills loader, security config, and tests 2026-04-03 15:01:12 +02:00
stevef
d3c64bcc1e added two new providers: NVIDIA and Azure plus Security enhancments to lock down skills if desired and added a configurable chat API 2026-04-03 15:01:12 +02:00
wenjie
f2a19ab947
feat(web): support image messages in pico chat (#2299) 2026-04-03 14:15:20 +08:00
linhaolin1
b5ce6209fd
feat: add VK channel support (#2276)
* feat: add VK channel support

- Add VK channel implementation using vksdk
- Support text messages and media attachments
- Implement Long Poll API for real-time messaging
- Add group chat support with trigger prefixes
- Add user whitelist (allow_from) configuration
- Add VK channel documentation

Files:
- pkg/channels/vk/: VK channel implementation
- pkg/config/config.go: Add VKConfig structure
- pkg/channels/manager.go: Register VK channel
- pkg/gateway/gateway.go: Import VK channel package
- docs/channels/vk/: Usage documentation

* test: add unit tests for VK channel

- Test channel initialization with various configurations
- Test allow_from whitelist functionality
- Test group trigger configuration
- Test max message length (4000 chars)
- Test message splitting logic
- Test attachment processing

All tests passing ✓

* fix: resolve linting issues in VK channel

- Format VKConfig struct tags to comply with golines
- Remove unused mu sync.Mutex field
- Remove unused stripPrefix method

All tests passing ✓

* style: format VKConfig with golines

- Align struct tags to match project style
- Match formatting with other channel configs (Telegram, etc.)
- Fix golines linting error

* style: fix struct tag formatting in config.go

* docs: update VK channel docs to use secure token storage

* feat(vk): add voice capabilities support

- Implement VoiceCapabilities() method for VK channel
- Add audio_message attachment handling in processAttachments
- Add comprehensive tests for voice capabilities
- Support both ASR (speech-to-text) and TTS (text-to-speech)

* docs: add VK channel to documentation and update voice support

- Add VK channel to README.md and README.zh.md channel lists
- Update VK channel documentation with voice message support
- Document ASR and TTS capabilities for VK channel
- Add voice transcription configuration reference
2026-04-03 10:56:26 +08:00
Mauro
b114dcaeb1
feat(model): llm rate limiting (#2198)
* feat(model): rate limiting

* fix(agent): preserve per-model identity in rate limiting and fallback

* fix test
2026-04-02 19:26:26 +08:00
wenjie
dad5dcc30f
refactor(web): load channel configs without exposing secret values (#2277)
* refactor(web): load channel configs without exposing secret values

- add a dedicated channel config API that returns sanitized config plus
  configured secret metadata
- update channel config pages and forms to use secret presence for
  placeholders, validation, reset, and save behavior
- refresh the channel settings layout and clean up related i18n copy
- add backend tests for the new channel config endpoint

* fix(config): restore missing strings import
2026-04-02 19:09:33 +08:00
Mauro
bae4342af1
Feat/tool read_file by lines (#1981)
* feat(tool): read_file tool by lines

* fix test

* restore old bytes read_file tool

* unified read_file tool

* revert

* fix doc

* fix test

* fix doc

* fix offset

* fix default start_line

* fix line format

* fix bug

* removed legacy test

* enhanced infos

* improvements

* feat(tool): read_file tool by lines
2026-04-02 18:49:08 +08:00
SakoroYou
257aa0ff57
fix(channels): fail fast when all channel startups fail (#2262)
* fix(channels): fail fast when all channel startups fail

* fix(channels): preserve startup errors and cover fail-fast semantics
2026-04-02 14:14:47 +08:00
Cytown
2c446e1e07
feat: add userAgent config for ModelConfig (#2242)
* feat: add userAgent config for ModelConfig

* update docs for ModelConfig.userAgent

* make defaut userAgent to PicoClaw and add test case
2026-04-02 11:44:13 +08:00