Skip to content

Conversation

@Markeljan
Copy link
Member

@Markeljan Markeljan commented Feb 13, 2025

Updated make-agent validation
OpenAPI spec + Zod schema validation using new package bitte-ai-spec (temporary but live on NPM).
Export new BitteOpenAPISpec type from make-agent
New command make-agent validate [source] (can pass a path to json file or remote url to test spec validation)

Can test here on agent template branch:
BitteProtocol/agent-next-boilerplate#18
image

@Markeljan Markeljan marked this pull request as ready for review February 17, 2025 08:53
@Markeljan Markeljan changed the title mb extension zod schema and validation Updated make-agent validation, migrate validation & tests to bitte-ai-spec package Feb 17, 2025
Copy link
Contributor

@bh2smith bh2smith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Are we creating a monorepo for all these scattered little packages, or just a bunch of scattered repos? I created the agent-sdk in bitteprotocol/core which is all setup for this. Its just waiting for a buddy to join.

Comment on lines -39 to -41
"@apidevtools/swagger-parser": "^10.1.0",
"ajv": "^8.17.1",
"ajv-draft-04": "^1.0.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hooray 🎉

`Attempt ${attempt}/${maxAttempts}: Error detecting port:`,
winError,
`Attempt ${attempt}/${maxAttempts}: Error detecting port.`,
// winError, mute winError to prevent large, unneccesary console output
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would just delete this and put the comment in a comment here.

Suggested change
// winError, mute winError to prevent large, unneccesary console output

@Markeljan Markeljan closed this Jun 3, 2025
@bh2smith bh2smith deleted the advanced-schema-declaration-and-validation branch September 3, 2025 08:17
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.

5 participants