v0.10.8: ctx.content collector, canvas invalid_sql classification, OTEL_SERVICE_NAME docs
ctx.content collector, canvas invalid_sql classification, OTEL_SERVICE_NAME docs
Added:
- ctx.content — always-present Context collector for image/audio content blocks. Bytes ride content[] only (prepended after format()), never structuredContent, so media reaches the model without duplicating into the typed output. Mirrors ctx.enrich; getContentBlocks(ctx) asserts collected blocks in tests. (#239)
Changed:
- OTEL_SERVICE_NAME docs corrected — createApp({ name }) seeds it when unset (precedence: env -> createApp name -> package.json name); CreateAppOptions.name JSDoc names the side effect; identity-pair adoption renames service.name once. No behavior change. (#233)
Fixed:
- Canvas SQL gate — SELECT-shaped statements that fail to prepare (bad column/function/expression) now classify as invalid_sql with the DuckDB binder detail in data.binderMessage, instead of mislabeled non_select_statement. (#236)
3635 + 130 + 21 + 130 tests pass; bun run devcheck clean.