claude-exporter/tests
tux tucker f125602d12 Fix artifact extraction for create_file MCP tool (v1.10.15)
When Anthropic's `enabled_artifacts_attachments` conversation setting
is false, Claude creates files via the skills-runner `create_file` MCP
tool instead of the legacy `artifacts` tool. The display_content shape
is identical (json_block with language / code / filename), only the
tool_use.name differs. The v1.9.1 strict allowlist was rejecting it,
silently dropping every artifact in those conversations.

Allowlist now accepts both 'artifacts' and 'create_file'. Other skills
tools that happen to share json_block display (view, list_directory,
etc.) stay filtered out by name.

Two regression tests added:
- positive: create_file with markdown json_block extracts correctly
- negative: view tool with similar json_block stays filtered

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-18 22:06:43 -04:00
..
package.json Move test harness to tests/; untrack package-lock.json 2026-05-14 22:56:45 -04:00
utils.test.js Fix artifact extraction for create_file MCP tool (v1.10.15) 2026-05-18 22:06:43 -04:00