Skip to content

Use explicit target_ref actions for chat replies#10

Merged
sleroq merged 6 commits intomasterfrom
feat/target-ref-chat-actions
Mar 7, 2026
Merged

Use explicit target_ref actions for chat replies#10
sleroq merged 6 commits intomasterfrom
feat/target-ref-chat-actions

Conversation

@sleroq
Copy link
Copy Markdown
Owner

@sleroq sleroq commented Mar 7, 2026

Summary

  • replace username/offset-based action targeting with explicit typed actions (reply/react) that use deterministic target_ref values
  • inject a Reply Target Map into the model context and resolve targets server-side from that map to avoid ambiguous history lookups
  • add stable message/user markers in rendered history and keep legacy JSON output recovery for backward compatibility during rollout

Verification

  • deno check --allow-import main.ts
  • deno lint
  • AI_TOKEN="test" deno test -A

@sleroq sleroq merged commit 6b915fd into master Mar 7, 2026
7 checks 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