feat: close stale issues #22 #23 #25 — npm validate, dynamic version, per-engine README#81
Open
sgriffiths wants to merge 1 commit into
Open
feat: close stale issues #22 #23 #25 — npm validate, dynamic version, per-engine README#81sgriffiths wants to merge 1 commit into
sgriffiths wants to merge 1 commit into
Conversation
…sion, per-engine README - npm CLI now reads `--version` from package.json instead of a hard-coded literal (#23 npm side; Python CLI already reads from package metadata). - npm CLI gains `oa validate --spec <path>` mirroring the Python command's required-field check, so Node users have the same pre-flight validation (#25 npm side). - README "Multiple engines" expanded with a runnable block per engine (OpenAI, Anthropic, Grok/xAI, Local, Cortex, Custom) — `intelligence:` YAML + env var + matching `oa run` command (#22). - Bumps both packages to 1.5.2.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #22.
Closes #23.
Closes #25.
Summary
--version: Node CLI now reads version frompackage.jsoninstead of a hard-coded literal, sooa --versioncannot drift from the published release. (Python CLI already reads from package metadata since 1.5.0.)oa validate: Node CLI gainsoa validate --spec <path>, mirroring the Python command's required-field check (open_agent_spec,agent,intelligence,tasks). No model call.intelligence:YAML, the env var to export, and the matchingoa runcommand.Test plan
npx tsc --noEmitcleanruff check oas_cli/ tests/cleanpytest tests/— 442 passed, 5 skippednode ./bin/oa.js --versionprints1.5.2node ./bin/oa.js validate --spec <good>exits 0;validate --spec <bad>exits 1 withVALIDATION_ERRORNotes
.gitignorechange visible ingit statuspredates this branch and is not part of the commit.