Commit Graph
2 Commits
Author SHA1 Message Date
ranxianglei 1b49f01f76 fix(prompts): teach the canonical string form in compress call examples
Two model-facing texts still demoed the retired raw-array shape for
compress content (schema accepts ONE string only; strict hosts reject
the array):

- tierActionHint (kernel/src/compress.ts): tier distillation/
  condensation offer — appended to the 'range already compressed'
  receipt, exactly where a weak model is most likely to copy it
- armed-breaker format reminder (src/stream.ts): taught 'content'
  must be a non-empty array of {startId,endId,summary} objects

Both now mirror the compress tool schema and the nudge example
(content: "b1-b5 optional topic\nsummary markdown..."); PLUGIN.md's
/__bili/plugin/tool example shows the string form with a note that a
JSON-encoded array inside that same string is still accepted.

Tests: regression-bili-470 pins the new wording; issue4812 gains a
negative assert against the old array phrasing. Kernel 1565/1565,
host typecheck green.
2026-11-12 21:51:20 +08:00
ranxianglei 05bb1dc948 docs: centralize 14 root docs under docs/ with hub index + redirect stubs (owner request 2026-11-08) 2026-11-08 13:33:45 +08:00