Skip to content

Comments

merge dev into master#308

Merged
Tarquinen merged 9 commits intomasterfrom
dev
Jan 22, 2026
Merged

merge dev into master#308
Tarquinen merged 9 commits intomasterfrom
dev

Conversation

@Tarquinen
Copy link
Collaborator

@Tarquinen Tarquinen commented Jan 22, 2026

  • Change auto generated config file dcp.jsonc to be empty with just schema URL by default
  • Add checks to prevent TypeError: {} is not iterablebugs in webapp / desktop app (still not recommended to use DCP with these clients)
  • Update injection logic to inject user messages following user messages, there should be a prunable tools list on every fetch now
  • Updated prompt wording to match
  • Extract tool shows how many tokens were extracted

Tarquinen and others added 9 commits January 21, 2026 12:53
Simplify default config to only include schema URL
Prevent runtime errors when msg.parts is undefined or not an array
by using Array.isArray() guard before iteration.
- Add createSyntheticUserMessage helper function
- Update injection logic to create user message when appropriate
  instead of skipping injection entirely
- Update prompt wording: 'assistant turn' -> 'turn',
  'assistant message' -> 'synthetic message'
- Make discard tool spec guidance tool-agnostic
…sive-checks

Improve injection logic and add defensive array checks
Add token count display for extractions in both minimal and detailed
notification formats. The extracted token count always appears when
distillation is present, while the full distillation text remains
controlled by the showDistillation config setting.
feat: show extracted token count in prune notifications
@Tarquinen Tarquinen merged commit 8e60483 into master Jan 22, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant