harnessed_agent/models/hermes_remote_skills.json
2026-04-17 11:00:42 +08:00

123 lines
3.4 KiB
JSON

{
"summary": [
{
"name": "hermes_remote_skills",
"title": "Remote skills SSH configuration with user isolation",
"primary": "id",
"catelog": "entity"
}
],
"fields": [
{
"name": "id",
"title": "Remote Skill ID",
"type": "str",
"length": 32,
"nullable": "no",
"comments": "Unique remote skill identifier"
},
{
"name": "user_id",
"title": "User ID",
"type": "str",
"length": 32,
"nullable": "no",
"comments": "User who owns this remote skill configuration"
},
{
"name": "host",
"title": "SSH Host",
"type": "str",
"length": 255,
"nullable": "no",
"comments": "SSH server hostname or IP address"
},
{
"name": "port",
"title": "SSH Port",
"type": "long",
"nullable": "no",
"default": "22",
"comments": "SSH server port"
},
{
"name": "username",
"title": "Username",
"type": "str",
"length": 100,
"nullable": "no",
"comments": "SSH username"
},
{
"name": "auth_method",
"title": "Authentication 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": 255,
"nullable": "yes",
"comments": "Path to SSH private key file (for key auth)"
},
{
"name": "description",
"title": "Description",
"type": "text",
"nullable": "yes",
"comments": "Description of the remote host"
},
{
"name": "is_active",
"title": "Is Active",
"type": "short",
"nullable": "no",
"default": "1",
"comments": "Whether configuration is active (1=true, 0=false)"
},
{
"name": "last_connected",
"title": "Last Connected",
"type": "timestamp",
"nullable": "yes",
"comments": "Last successful connection timestamp"
},
{
"name": "created_at",
"title": "Created At",
"type": "timestamp",
"nullable": "no",
"comments": "Creation timestamp"
},
{
"name": "updated_at",
"title": "Updated At",
"type": "timestamp",
"nullable": "no",
"comments": "Last update timestamp"
}
],
"indexes": [
{
"name": "idx_hermes_remote_skills_user",
"idxtype": "index",
"idxfields": ["user_id", "host"]
},
{
"name": "idx_hermes_remote_skills_host",
"idxtype": "unique",
"idxfields": ["user_id", "host", "port", "username"]
},
{
"name": "idx_hermes_remote_skills_active",
"idxtype": "index",
"idxfields": ["is_active"]
}
],
"codes": []
}