Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 0 additions & 20 deletions docs/session-persistence-design.md

This file was deleted.

50 changes: 0 additions & 50 deletions docs/tool-execution-toctou.md

This file was deleted.

4 changes: 2 additions & 2 deletions internal/context/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package context
import (
"context"

"neo-code/internal/provider"
providertypes "neo-code/internal/provider/types"
)

// DefaultBuilder preserves the current runtime context-building behavior.
Expand Down Expand Up @@ -59,7 +59,7 @@ func (b *DefaultBuilder) Build(ctx context.Context, input BuildInput) (BuildResu
}

// applyReadTimeContextProjection 负责在 provider 请求前按开关应用只读上下文投影,避免改写原始会话消息。
func applyReadTimeContextProjection(messages []provider.Message, options CompactOptions, policies MicroCompactPolicySource) []provider.Message {
func applyReadTimeContextProjection(messages []providertypes.Message, options CompactOptions, policies MicroCompactPolicySource) []providertypes.Message {
if options.DisableMicroCompact {
return cloneContextMessages(messages)
}
Expand Down
Loading
Loading