nanocoder icon indicating copy to clipboard operation
nanocoder copied to clipboard

[Feature] JSON Schema for agents.config.json

Open garyg1 opened this issue 3 months ago • 1 comments

Description

There are typescript definitions here: https://github.com/Nano-Collective/nanocoder/blob/main/source/types/config.ts#L140. Can nanocoder generate and publish a JSON schema from these?

Use Case

Enable IDEs to show the schema when editing agents.config.json.

Any alternative solutions or features you've considered

I generated my own using typescript-json-schema and serve it to myself as a gist.

i.e.

{
    "$schema": "https://gist.githubusercontent.com/garyg1/ca9d004ba9514d565158e80f8ee57286/raw/d6b743c0c1ae959b2396c9e172cb57f3a2f05cb2/agents.config.schema.json",
    "nanocoder": { /* ... */ }
}

Additional Context

Link to the existing documentation: configuration/index.md

  • [x] I have searched existing issues to ensure this is not a duplicate
  • [x] This feature aligns with the project's goals (local-first AI assistance)

garyg1 avatar Aug 26 '26 00:08 garyg1

@garyg1 @akramcodez can you assign this issue to me i want to solve this issue

tusharui avatar Aug 26 '26 14:08 tusharui