玉澜
f86d10ae63
feat(schema): add --compact mode and update SKILL.md schema guide
- Add --compact flag to schema command (canonical.go)
- Implement stripSchemaPayloadCompact to recursively remove provenance/
debug/redundant fields (runtime_schema.go)
- Strip 27 top-level keys (agent_metadata_source, agent_source_refs,
interface_ref, primary_cli_path, etc.) and 3 per-parameter keys
(interface_description, interface_type, property)
- Add 3 tests covering leaf/overview/product compact modes
- Replace stale SKILL.md schema section with progressive query guide,
compact field reference, and schema-vs-help decision table
- Regenerate schema artifacts (make generate-schema)
Size reduction:
leaf: 9.5KB -> 6.0KB (36%)
--all: 644KB -> 414KB (36%)
2026-07-11 13:41:19 +08:00
..
2026-05-08 16:07:14 +08:00
2026-07-11 11:42:06 +08:00
2026-07-10 17:54:43 +08:00
2026-07-11 13:41:19 +08:00
2026-07-11 10:28:10 +08:00
2026-06-25 11:10:25 +08:00
2026-07-10 17:54:43 +08:00
2026-07-07 19:07:03 +08:00
2026-07-11 12:23:55 +08:00
2026-07-11 11:42:06 +08:00
2026-07-10 21:40:36 +08:00
2026-07-11 01:26:22 +08:00
2026-06-16 14:09:15 +08:00
2026-07-08 11:23:44 +08:00
2026-06-13 21:44:47 +08:00
2026-06-24 21:32:49 +08:00
2026-07-11 10:28:10 +08:00
2026-05-13 10:56:02 +08:00
2026-07-07 20:48:39 +08:00
2026-03-28 20:41:56 +08:00
2026-06-03 19:41:05 +08:00
2026-03-27 17:55:57 +08:00
2026-03-31 15:29:21 +08:00
2026-07-09 21:28:57 +08:00
2026-07-11 10:28:10 +08:00
2026-06-25 12:16:31 +08:00
2026-07-07 19:07:03 +08:00