166 lines
4.5 KiB
JSON
166 lines
4.5 KiB
JSON
{
|
|
"summary": [
|
|
{
|
|
"name": "hermes_remote_skills",
|
|
"title": "Hermes Remote Skills Repository",
|
|
"primary": "id",
|
|
"catelog": "entity"
|
|
}
|
|
],
|
|
"fields": [
|
|
{
|
|
"name": "id",
|
|
"title": "Remote Skill ID",
|
|
"type": "str",
|
|
"length": 32,
|
|
"nullable": "no",
|
|
"comments": "Primary key - UUID format"
|
|
},
|
|
{
|
|
"name": "user_id",
|
|
"title": "User ID",
|
|
"type": "str",
|
|
"length": 32,
|
|
"nullable": "no",
|
|
"comments": "User ID for multi-user isolation"
|
|
},
|
|
{
|
|
"name": "name",
|
|
"title": "Skill Name",
|
|
"type": "str",
|
|
"length": 128,
|
|
"nullable": "no",
|
|
"comments": "Skill name"
|
|
},
|
|
{
|
|
"name": "host",
|
|
"title": "SSH Host",
|
|
"type": "str",
|
|
"length": 255,
|
|
"nullable": "no",
|
|
"comments": "SSH host address"
|
|
},
|
|
{
|
|
"name": "port",
|
|
"title": "SSH Port",
|
|
"type": "long",
|
|
"nullable": "yes",
|
|
"default": "22",
|
|
"comments": "SSH port (default: 22)"
|
|
},
|
|
{
|
|
"name": "username",
|
|
"title": "SSH Username",
|
|
"type": "str",
|
|
"length": 64,
|
|
"nullable": "no",
|
|
"comments": "SSH username"
|
|
},
|
|
{
|
|
"name": "remote_path",
|
|
"title": "Remote Path",
|
|
"type": "str",
|
|
"length": 512,
|
|
"nullable": "no",
|
|
"default": "~/.skills",
|
|
"comments": "Remote skills directory path"
|
|
},
|
|
{
|
|
"name": "auth_method",
|
|
"title": "Auth Method",
|
|
"type": "str",
|
|
"length": 20,
|
|
"nullable": "no",
|
|
"default": "key",
|
|
"comments": "Authentication method: 'key' or 'password'"
|
|
},
|
|
{
|
|
"name": "ssh_key_path",
|
|
"title": "SSH Key Path",
|
|
"type": "str",
|
|
"length": 512,
|
|
"nullable": "yes",
|
|
"comments": "Local path to SSH private key file"
|
|
},
|
|
{
|
|
"name": "description",
|
|
"title": "Description",
|
|
"type": "str",
|
|
"length": 512,
|
|
"nullable": "yes",
|
|
"comments": "Skill description"
|
|
},
|
|
{
|
|
"name": "category",
|
|
"title": "Category",
|
|
"type": "str",
|
|
"length": 64,
|
|
"nullable": "yes",
|
|
"comments": "Skill category"
|
|
},
|
|
{
|
|
"name": "version",
|
|
"title": "Version",
|
|
"type": "str",
|
|
"length": 32,
|
|
"nullable": "yes",
|
|
"default": "1.0.0",
|
|
"comments": "Skill version"
|
|
},
|
|
{
|
|
"name": "enabled",
|
|
"title": "Enabled",
|
|
"type": "char",
|
|
"length": 1,
|
|
"nullable": "no",
|
|
"default": "Y",
|
|
"comments": "Whether the remote skill is enabled (Y/N)"
|
|
},
|
|
{
|
|
"name": "last_deployed",
|
|
"title": "Last Deployed",
|
|
"type": "timestamp",
|
|
"nullable": "yes",
|
|
"comments": "Timestamp of last successful deployment"
|
|
},
|
|
{
|
|
"name": "last_executed",
|
|
"title": "Last Executed",
|
|
"type": "timestamp",
|
|
"nullable": "yes",
|
|
"comments": "Timestamp of last execution"
|
|
},
|
|
{
|
|
"name": "created_at",
|
|
"title": "Created Timestamp",
|
|
"type": "timestamp",
|
|
"nullable": "no",
|
|
"comments": "Creation timestamp"
|
|
},
|
|
{
|
|
"name": "updated_at",
|
|
"title": "Updated Timestamp",
|
|
"type": "timestamp",
|
|
"nullable": "no",
|
|
"comments": "Last update timestamp"
|
|
}
|
|
],
|
|
"indexes": [
|
|
{
|
|
"name": "idx_hermes_remote_skills_user_id",
|
|
"idxtype": "index",
|
|
"idxfields": ["user_id"]
|
|
},
|
|
{
|
|
"name": "idx_hermes_remote_skills_name",
|
|
"idxtype": "unique",
|
|
"idxfields": ["user_id", "name"]
|
|
},
|
|
{
|
|
"name": "idx_hermes_remote_skills_host",
|
|
"idxtype": "index",
|
|
"idxfields": ["user_id", "host", "username"]
|
|
}
|
|
],
|
|
"codes": []
|
|
} |