LC
bbf6893ca7
feat(models): add configurable default fallback chain ( #3200 )
...
* feat(models): add configurable default fallback chain
* fix(lint): resolve linter issues
* fix(models): keep default fallback chain valid
* fix(models): normalize default chain on model writes
* fix(models): harden fallback chain consistency
* fix(models): preserve raw model provider injection
* fix(agent): preserve provider-prefixed model configs
* fix(agent): preserve injected provider contracts
* fix(agent): preserve fallback providers after model switch
* fix(build): update Go to 1.25.13
2026-08-19 17:17:32 +08:00
not-the-author
f3d4555bc9
fix(agent): keep media routing scoped to current turn
2026-06-13 11:38:08 +02:00
lxowalle
2992eccbf0
feat: add request-scoped context policies ( #2914 )
...
* feat: add request-scoped context policies
Add named turn profiles under agents.defaults so callers can opt into
per-request context and tool policies without changing default chat behavior.
Profiles can disable history, system context, skill prompts, or tools, and can
limit skills/tools with allow lists. Wire profile selection through Pico message
payloads, agent turn execution, Web chat selection, and Web visual config.
Reject invalid turn profiles before saving config through Web APIs and document
the new request context policy behavior.
* fix: address turn profile review blockers
* feat: simplify request context policy config
* fix: suppress tool prompt when turn tools are disabled
* fix: enforce turn profile tool restrictions
2026-05-22 10:06:40 +08:00
lxowalle
e7e21df354
fix(agent): honor explicit thinking off ( #2898 )
...
* fix(agent): honor explicit thinking off
* fix(agent): address thinking off lint failures
* Clarify unset thinking level display
* fix ci
2026-05-21 11:07:39 +08:00
lxowalle
b3a7b7ad64
feat: agent self evolution ( #2847 )
...
* feat: add agent self-evolution
* fix ci
* delete unused doc
* fix lint
* fix evolution review issues
2026-05-11 16:13:27 +08:00
afjcjsbx
f3ef7090c5
feat(agent): stop command
2026-05-04 08:41:17 +02:00
Hoshina
795ee362ea
refactor(events): emit agent runtime events directly
...
Remove the legacy EventKind/Event envelope mapping and let agent event emission build pkg/events.Event values directly.
Keep HookMeta as the shared hook metadata shape and preserve legacy observe string aliases by mapping them to runtime event kinds.
Validation: GOCACHE=/tmp/picoclaw-go-cache go test ./pkg/agent; make lint
2026-04-26 16:55:02 +08:00
Hoshina
2e65b1be83
feat(agent): add structured prompt layering
2026-04-24 18:14:28 +08:00
sky5454 and Claude Opus 4.7
329e68e017
refactor(agent): Agent Looper refactor phase2, restructure pipeline and rename loop files to agent ( #2585 )
...
* refactor(agent): introduce interfaces for MessageBus and ChannelManager
Phase 2 of loop.go refactor — dependency inversion using adapter pattern.
- Add interfaces.MessageBus and interfaces.ChannelManager interfaces
- Create adapters/messagebus.go wrapping *bus.MessageBus
- Create adapters/channelmanager.go wrapping *channels.Manager
- Update AgentLoop to use interfaces instead of concrete types
- Update registerSharedTools to accept interfaces.MessageBus
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
* refactor(agent): restructure pipeline and rename loop files
Pipeline refactoring:
- Split pipeline.go (1400 lines) into focused files:
- pipeline_setup.go (~115 lines): SetupTurn method
- pipeline_llm.go (~519 lines): CallLLM method
- pipeline_execute.go (~693 lines): ExecuteTools method
- pipeline_finalize.go (~78 lines): Finalize method
- Pipeline struct and NewPipeline remain in pipeline.go (~39 lines)
Agent file renaming:
- Rename loop_*.go to agent_*.go for consistent naming:
- loop.go -> agent.go, loop_message.go -> agent_message.go, etc.
- Merge turn.go + turn_exec.go into turn_state.go
- Rename loop_turn.go -> turn_coord.go
Documentation:
- Update docs/pipeline-restructuring-plan.md
- Add docs/agent-rename-plan.md
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
* fix(agent): code format fixed
* refactor(agent): code test file added/renamed
* docs(agent): update agent refactor docs
* fix(agent): fix agent hardAbortX
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-04-21 10:55:50 +08:00