Skip to content

fix: replay marker-only slash skill prompts - #1035

Open
kocaemre wants to merge 1 commit into
agentclientprotocol:mainfrom
kocaemre:fix/replay-marker-only-slash-skill
Open

fix: replay marker-only slash skill prompts#1035
kocaemre wants to merge 1 commit into
agentclientprotocol:mainfrom
kocaemre:fix/replay-marker-only-slash-skill

Conversation

@kocaemre

Copy link
Copy Markdown

Summary

  • reconstructs marker-only model-bound slash skill prompts during history replay
  • keeps client/local command metadata hidden when local stdout/stderr is present
  • adds regression coverage for both string and content-array transcript shapes

Closes #998.

Verification

  • npm run test:run -- src/tests/acp-agent.test.ts -t 'stripLocalCommandMetadata'
  • npm run test:run -- src/tests/acp-agent.test.ts
  • npm run build
  • npm run check
  • git diff --check

I also ran npm run test:run. It completed with 965 passing tests, 27 skipped, and the same two root-environment resolve-permission-mode failures seen when running as root: bypassPermissions is intentionally downgraded to default in that environment. The changed replay/metadata tests passed.

Signed-off-by: Emre Koca <1328630750+kocaemre@users.noreply.github.com>
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.

session/load drops marker-only user prompts for model-bound slash skills

1 participant