Add @deepseek-ai/dsh-experimental-claude-code-mods, an alpha bridge that loads Claude Code mods (plugin directories whose hooks/hooks.json names a hooks module), runs register(on, options) unchanged, and raises the mod events from harness extension points: session.start on agent/created, prompt.submit and turn.start on agent/pre-step, tool.call around tools/execute, turn.complete on turn/end, session.end on agent/disposed, and command.run from registered commands. The $ mods API is served over composed services (commands, tools, user-questions, fs, subprocess, storage domain, projections); unserved members fail by name. Includes a middleware chain with Claude Code's failure rules and budget clock, a claude-code/testing-style test kit, fixtures from the mods tutorial, full-loop and Loader composition tests, the attribution-only claude-code-mods message source with its persistence record, and the regenerated catalogs.
1.9 KiB
1.9 KiB
description, kind
| description | kind |
|---|---|
| Records a persistence type transition and its compatibility acknowledgement. | persistence-change |
2026-10-02-claude-code-mods-source
English | 中文
Summary
Adds the attribution-only claude-code-mods user-message source kind for context a Claude Code mod adds through prompt.submit and prompts a mod submits through $.prompt.submit.
Table of Contents
Declaration
schemaVersion: 1
id: 2026-10-02-claude-code-mods-source
baseline: false
changes:
- root: "event:agent/inbox/spliced"
previous: "2026-09-21-user-question-reply"
after: "f4654f14522a5b84ae84e2d80959ea596c0684d04ca315bde3705261065a929c"
decision: same-version
- root: "event:developer/message"
previous: "2026-09-21-user-question-reply"
after: "e4b8ca6005c0b20db2b7b9db5f1a46b2d5fb9ff1f6bad61c241512519bce8321"
decision: same-version
- root: "event:session/title-llm-request"
previous: "2026-09-21-user-question-reply"
after: "5163154425bd5e0d6b2617b7d3d9816ee04bd237a030decbbececac66a36c510"
decision: same-version
- root: "event:user/message"
previous: "2026-09-21-user-question-reply"
after: "83e827b9ea6b4d7309bcf7f1f97040f4750d4ddaf5f19bf18e4cde7605c7e628"
decision: same-version
Compatibility
Existing records remain valid. Readers preserve a claude-code-mods sourced message without the producer; no reader validates, replays, or authorizes on the kind, and the message text itself names the mod.
Verification
pnpm exec vitest run packages/experimental/claude-code-mods/tests: 88 tests passed, including the prompt-context and submitted-prompt source assertions in bridge.spec.ts.
Dev Note
None.