Skip to content

feat: add generic structured output example schema#4

Merged
dutifulbob merged 1 commit into
mainfrom
feat/generic-example-schema
May 19, 2026
Merged

feat: add generic structured output example schema#4
dutifulbob merged 1 commit into
mainfrom
feat/generic-example-schema

Conversation

@dutifulbob

Copy link
Copy Markdown
Member

Summary

Adds a context-agnostic example schema for localagent structured output.
The schema is generic binary classification, so localagent can show a concrete schema without baking in clawd, Scoop, or local-model workflow assumptions.

What Changed

  • Added examples/schemas/binary-classifier.schema.json.
  • Included examples/** in npm package files.
  • Updated README and structured-output docs to use the generic example.
  • Added a test that loads and checks the example schema shape.

Testing

  • npm run check
  • Live localagent smoke using examples/schemas/binary-classifier.schema.json and jq assertion passed.

Risks

Low. The structured-output runtime is unchanged; this only adds a generic example artifact and docs.

@dutifulbob

Copy link
Copy Markdown
Member Author

Final report:

  • Added examples/schemas/binary-classifier.schema.json as a context-agnostic structured-output example.
  • Updated README/docs to reference the generic example.
  • Included examples/** in package files.
  • Added a test that loads and verifies the example schema.

Validation:

  • npm run check passed locally.
  • Live localagent smoke with the generic schema passed.
  • GitHub Actions ci / test passed.

@dutifulbob dutifulbob merged commit 5a9f276 into main May 19, 2026
1 check passed
@dutifulbob dutifulbob deleted the feat/generic-example-schema branch May 19, 2026 06:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant