Skip to content

merge dev into main - #606

Merged
Tarquinen merged 24 commits into
masterfrom
dev
Aug 16, 2026
Merged

merge dev into main#606
Tarquinen merged 24 commits into
masterfrom
dev

Conversation

@Tarquinen

Copy link
Copy Markdown
Collaborator

No description provided.

marmitar and others added 24 commits July 6, 2026 01:05
Uses extension defined in [vscode-json-languageservice][vscode-json].
Also works with Zed and probably other editors too.

[vscode-json]: https://github.com/microsoft/vscode-json-languageservice/blob/5d87d160f018533c4eb3b996b54252f900a1e062/src/jsonSchema.ts#L89
idk which do now, tho. Couldn't bother researching
…ndows

`normalizePath` searched for `"\\\\"`, which in source is the two-character
string `\`. A real Windows path contains single separators, so nothing was
replaced and the normalisation was inert on the only platform it exists for.

`protectedFilePatterns` therefore protected a file on POSIX and silently failed
to protect the same file on Windows, at all four `isFilePathProtected` call
sites (protected-content, sweep, deduplication, purge-errors). Patterns that
name a directory or an exact file did nothing; only patterns like `**/*.ts`
appeared to work, because `**` compiles to `.*` and spans backslashes anyway.

Search for the single backslash instead. Separators are converted rather than
stripped, so `*` still compiles to `[^/]*` and does not cross a directory
boundary. Because both the path and the pattern are normalised, a pattern
written with Windows separators now works too.

Adds tests/protected-patterns.test.ts; the module had no test file.
After /dcp-compress, finalizeSession must not treat compress-pending as
active manual mode, which permanently blocked automatic compression.
Bundled internal-agent system prompts in the same API call no longer
cause DCP to skip nudge injection on main sessions.
Remove LLM-generated parameter closing artifacts anchored to the end of
assistant text before persisting or feeding them back into context.

Fixes #555
Remove the legitimately injected <dcp-message-id> suffix before running
DCP_PAIRED_TAG_REGEX so in-text tag mentions cannot pair with it and
truncate message content.

Fixes #556
fix: install compatible OpenTUI dependencies
…uffix

fix: strip trailing mXXXX</parameter> hallucinations
# Conflicts:
#	lib/messages/utils.ts
#	tests/message-priority.test.ts
fix: strip injected message-id suffix before paired tag regex
fix: detect internal agents from primary system prompt only
…ding

fix: reset compress-pending manual mode after compression
…eparator

fix: normalize a single backslash so protectedFilePatterns work on Windows
Github Copilot doesn't charge per (premium) request anymore
feat: allow trailing commas in config schema
@Tarquinen
Tarquinen merged commit 11f6517 into master Aug 16, 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.

5 participants