feat: initial commit for Paralax creative engineering system
This commit is contained in:
14
.agents/schemas/component-frontmatter.schema.json
Normal file
14
.agents/schemas/component-frontmatter.schema.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://ag-kit.local/schemas/component-frontmatter.schema.json",
|
||||
"title": "AG Kit Component Frontmatter Contract",
|
||||
"description": "Documentation schema for component identity and SemVer metadata.",
|
||||
"type": "object",
|
||||
"required": ["name", "version"],
|
||||
"properties": {
|
||||
"name": {"type": "string", "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"},
|
||||
"version": {"type": "string", "pattern": "^[0-9]+\\.[0-9]+\\.[0-9]+(?:-[0-9A-Za-z.-]+)?(?:\\+[0-9A-Za-z.-]+)?$"},
|
||||
"description": {"type": "string"}
|
||||
},
|
||||
"additionalProperties": true
|
||||
}
|
||||
17
.agents/schemas/manifest-lock.schema.json
Normal file
17
.agents/schemas/manifest-lock.schema.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://ag-kit.local/schemas/manifest-lock.schema.json",
|
||||
"title": "AG Kit Component Lock",
|
||||
"type": "object",
|
||||
"required": ["schemaVersion", "kitVersion", "manifestSha256", "components"],
|
||||
"properties": {
|
||||
"schemaVersion": {"const": "1.0.0"},
|
||||
"kitVersion": {"type": "string"},
|
||||
"manifestSha256": {"type": "string", "pattern": "^[0-9a-f]{64}$"},
|
||||
"components": {
|
||||
"type": "object",
|
||||
"additionalProperties": {"type": "string", "pattern": "^[0-9a-f]{64}$"}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
81
.agents/schemas/manifest.schema.json
Normal file
81
.agents/schemas/manifest.schema.json
Normal file
@@ -0,0 +1,81 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://ag-kit.local/schemas/manifest.schema.json",
|
||||
"title": "AG Kit Component Manifest",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"schemaVersion",
|
||||
"kitVersion",
|
||||
"contracts",
|
||||
"agents",
|
||||
"skills",
|
||||
"workflows",
|
||||
"rules"
|
||||
],
|
||||
"properties": {
|
||||
"schemaVersion": {
|
||||
"type": "string",
|
||||
"pattern": "^[0-9]+\\.[0-9]+\\.[0-9]+$"
|
||||
},
|
||||
"kitVersion": {
|
||||
"type": "string",
|
||||
"pattern": "^[0-9]{4}\\.[0-9]+\\.[0-9]+$"
|
||||
},
|
||||
"contracts": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"support": {
|
||||
"type": "object"
|
||||
},
|
||||
"runtimes": {
|
||||
"type": "object"
|
||||
},
|
||||
"agents": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"$ref": "#/$defs/component"
|
||||
}
|
||||
},
|
||||
"skills": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"$ref": "#/$defs/component"
|
||||
}
|
||||
},
|
||||
"workflows": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"$ref": "#/$defs/component"
|
||||
}
|
||||
},
|
||||
"rules": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"$ref": "#/$defs/component"
|
||||
}
|
||||
}
|
||||
},
|
||||
"$defs": {
|
||||
"component": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"path",
|
||||
"version"
|
||||
],
|
||||
"properties": {
|
||||
"path": {
|
||||
"type": "string"
|
||||
},
|
||||
"version": {
|
||||
"type": "string",
|
||||
"pattern": "^[0-9]+\\.[0-9]+\\.[0-9]+(?:-[0-9A-Za-z.-]+)?(?:\\+[0-9A-Za-z.-]+)?$"
|
||||
}
|
||||
},
|
||||
"additionalProperties": true
|
||||
}
|
||||
},
|
||||
"additionalProperties": true
|
||||
}
|
||||
13
.agents/schemas/memory.schema.json
Normal file
13
.agents/schemas/memory.schema.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://ag-kit.local/schemas/memory.schema.json",
|
||||
"title": "AG Kit Memory Topic",
|
||||
"type": "object",
|
||||
"required": ["type", "created", "updated"],
|
||||
"properties": {
|
||||
"type": {"enum": ["user", "feedback", "project", "reference"]},
|
||||
"created": {"type": "string", "format": "date"},
|
||||
"updated": {"type": "string", "format": "date"}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
Reference in New Issue
Block a user