feat: inject $schema URL into generated agentcore.json#692
Merged
jesseturner21 merged 5 commits intoaws:mainfrom Mar 27, 2026
Merged
feat: inject $schema URL into generated agentcore.json#692jesseturner21 merged 5 commits intoaws:mainfrom
jesseturner21 merged 5 commits intoaws:mainfrom
Conversation
2fd73d7 to
e263033
Compare
e263033 to
cc37e92
Compare
cc37e92 to
141bd6f
Compare
141bd6f to
b3cdf69
Compare
b3cdf69 to
84b7f2e
Compare
aidandaly24
previously approved these changes
Mar 27, 2026
84b7f2e to
a2c7014
Compare
6fc3dd9 to
f4b0c8a
Compare
jesseturner21
approved these changes
Mar 27, 2026
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.
Description
Follow-up to #661 (JSON Schema generation). Injects a
$schemaURL intoagentcore.jsonso IDEs automatically pick up validation and autocomplete.Three changes:
AgentCoreProjectSpecSchema, so it now accepts the field on read, and it's optional for backwards compatibility with existing projectsSCHEMA_URLconstant inconfig-io.tspointing to the custom domain of the schema.writeProjectSpecinjects$schemavia spread before callingvalidateAndWrite.Also, refactor to avoid duplicating createDefaultProjectSpec in three places.
Notes:
remove allon a project maintains our tags. I think this is an improvement in the case that a user starts from fresh and we still want the tags, but wanted to callout.Remaining Work
Related Issue
Closes #
Documentation PR
N/A
Type of Change
Testing
How have you tested the change?
npm run typechecknpm run lintEnd-to-end tested:
Verified url is live and point to schema on main: https://schema.agentcore.aws.dev/v1/agentcore.json
final-demo.mov
Checklist
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the
terms of your choice.