Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions MANIFEST_VALIDATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function validateManifest(manifest: any): { valid: boolean; errors: any[] } {
### Core Manifest Structure

**Required Fields:**
- [ ] `$schema`: Schema URL (use `https://unpkg.com/aura-protocol@1.0.4/dist/aura-v1.0.schema.json` or bundled schema)
- [ ] `$schema`: Schema URL (use `https://unpkg.com/aura-protocol@1.0.5/dist/aura-v1.0.schema.json` or bundled schema)
- [ ] `protocol`: Must be `"AURA"`
- [ ] `version`: Must be `"1.0"`
- [ ] `site`: Site information object
Expand Down Expand Up @@ -108,7 +108,7 @@ Each capability must have:
**Solution:**
```json
{
"$schema": "https://unpkg.com/aura-protocol@1.0.4/dist/aura-v1.0.schema.json",
"$schema": "https://unpkg.com/aura-protocol@1.0.5/dist/aura-v1.0.schema.json",
"protocol": "AURA",
"version": "1.0"
}
Expand Down Expand Up @@ -360,4 +360,4 @@ function checkVersionCompatibility(manifest: AuraManifest): boolean {

---

Proper manifest validation ensures your AURA implementation works reliably with AI agents and follows protocol standards. Use these tools and techniques to catch errors early and maintain quality across deployments.
Proper manifest validation ensures your AURA implementation works reliably with AI agents and follows protocol standards. Use these tools and techniques to catch errors early and maintain quality across deployments.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ Minimal example:

```json
{
"$schema": "https://unpkg.com/aura-protocol@1.0.4/dist/aura-v1.0.schema.json",
"$schema": "https://unpkg.com/aura-protocol@1.0.5/dist/aura-v1.0.schema.json",
"protocol": "AURA",
"version": "1.0",
"site": {
Expand All @@ -193,7 +193,7 @@ A more complete example with a capability:

```json
{
"$schema": "https://unpkg.com/aura-protocol@1.0.4/dist/aura-v1.0.schema.json",
"$schema": "https://unpkg.com/aura-protocol@1.0.5/dist/aura-v1.0.schema.json",
"protocol": "AURA",
"version": "1.0",
"site": {
Expand Down Expand Up @@ -295,7 +295,7 @@ Note: `aura-validate` currently validates local files only. Download remote mani
The `aura-protocol` package ships:

- TypeScript types for `AuraManifest`, `Resource`, `Capability`, `HttpAction`, and `AuraState`.
- JSON Schema bundled at `dist/aura-v1.0.schema.json`. For editor tooling, reference the versioned CDN URL: `https://unpkg.com/aura-protocol@1.0.4/dist/aura-v1.0.schema.json`.
- JSON Schema bundled at `dist/aura-v1.0.schema.json`. For editor tooling, reference the versioned CDN URL: `https://unpkg.com/aura-protocol@1.0.5/dist/aura-v1.0.schema.json`.
- `aura-validate` CLI to validate local manifest files and cross-check resource/capability references.

Installation:
Expand Down
6 changes: 3 additions & 3 deletions packages/aura-protocol/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { AuraManifest, AuraCapability, AuraState } from 'aura-protocol';

// Use the TypeScript interfaces for type safety
const manifest: AuraManifest = {
$schema: 'https://unpkg.com/aura-protocol@1.0.4/dist/aura-v1.0.schema.json',
$schema: 'https://unpkg.com/aura-protocol@1.0.5/dist/aura-v1.0.schema.json',
protocol: 'AURA',
version: '1.0',
site: {
Expand Down Expand Up @@ -172,7 +172,7 @@ const validate = ajv.compile(schema);

// Validate manifest
const manifest: AuraManifest = {
$schema: 'https://unpkg.com/aura-protocol@1.0.4/dist/aura-v1.0.schema.json',
$schema: 'https://unpkg.com/aura-protocol@1.0.5/dist/aura-v1.0.schema.json',
protocol: 'AURA',
version: '1.0',
site: { name: 'Example', url: 'https://example.com' },
Expand Down Expand Up @@ -248,4 +248,4 @@ pnpm test -- --grep "schema"

## License

MIT
MIT
2 changes: 1 addition & 1 deletion packages/aura-protocol/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aura-protocol",
"version": "1.0.4",
"version": "1.0.5",
"description": "Core TypeScript definitions and JSON Schema for the AURA protocol - making websites machine-readable for AI agents",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/aura-protocol/src/cli/aura-validate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const main = defineCommand({
},
url: {
type: 'string',
description: 'Validate manifest from URL',
description: '(Disabled) Validate manifest from URL',
alias: 'u',
},
schema: {
Expand Down
4 changes: 2 additions & 2 deletions packages/reference-server/public/.well-known/aura.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://unpkg.com/aura-protocol@1.0.4/dist/aura-v1.0.schema.json",
"$schema": "https://unpkg.com/aura-protocol@1.0.5/dist/aura-v1.0.schema.json",
"id": "https://aura-lighthouse.example.com/.well-known/aura.json",
"protocol": "AURA",
"version": "1.0",
Expand Down Expand Up @@ -353,4 +353,4 @@
},
"authHint": "cookie"
}
}
}