build(starter): expose liteflow.agent.skills config hints

Register liteflow.agent.skills.{enabled,path,strict} and the
openai-compatible / anthropic-compatible credential maps in the
additional-spring-configuration-metadata.json of both Spring Boot
starters so IDEs surface completion and type hints for these keys.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
everywhere.z 2026-05-14 19:13:39 +08:00
parent d72d04475b
commit daee30dad3
2 changed files with 66 additions and 0 deletions

View File

@ -481,6 +481,39 @@
"type": "java.util.Map",
"description": "Extra parameters for DashScope.",
"sourceType": "com.yomahub.liteflow.property.agent.PlatformCredential"
},
{
"name": "liteflow.agent.skills.enabled",
"type": "java.lang.Boolean",
"description": "Whether to enable configuration-driven agent skills.",
"sourceType": "com.yomahub.liteflow.property.agent.SkillsConfig",
"defaultValue": false
},
{
"name": "liteflow.agent.skills.path",
"type": "java.lang.String",
"description": "Skills directory path used to discover SKILL.md repositories.",
"sourceType": "com.yomahub.liteflow.property.agent.SkillsConfig",
"defaultValue": "./skills"
},
{
"name": "liteflow.agent.skills.strict",
"type": "java.lang.Boolean",
"description": "Fail fast when an illegal skill configuration is detected.",
"sourceType": "com.yomahub.liteflow.property.agent.SkillsConfig",
"defaultValue": true
},
{
"name": "liteflow.agent.openai-compatible",
"type": "java.util.Map<java.lang.String,com.yomahub.liteflow.property.agent.PlatformCredential>",
"description": "Credentials for OpenAI-compatible platforms, keyed by user-defined platform name.",
"sourceType": "com.yomahub.liteflow.property.agent.AgentConfig"
},
{
"name": "liteflow.agent.anthropic-compatible",
"type": "java.util.Map<java.lang.String,com.yomahub.liteflow.property.agent.PlatformCredential>",
"description": "Credentials for Anthropic-compatible platforms, keyed by user-defined platform name.",
"sourceType": "com.yomahub.liteflow.property.agent.AgentConfig"
}
]
}

View File

@ -481,6 +481,39 @@
"type": "java.util.Map",
"description": "Extra parameters for DashScope.",
"sourceType": "com.yomahub.liteflow.property.agent.PlatformCredential"
},
{
"name": "liteflow.agent.skills.enabled",
"type": "java.lang.Boolean",
"description": "Whether to enable configuration-driven agent skills.",
"sourceType": "com.yomahub.liteflow.property.agent.SkillsConfig",
"defaultValue": false
},
{
"name": "liteflow.agent.skills.path",
"type": "java.lang.String",
"description": "Skills directory path used to discover SKILL.md repositories.",
"sourceType": "com.yomahub.liteflow.property.agent.SkillsConfig",
"defaultValue": "./skills"
},
{
"name": "liteflow.agent.skills.strict",
"type": "java.lang.Boolean",
"description": "Fail fast when an illegal skill configuration is detected.",
"sourceType": "com.yomahub.liteflow.property.agent.SkillsConfig",
"defaultValue": true
},
{
"name": "liteflow.agent.openai-compatible",
"type": "java.util.Map<java.lang.String,com.yomahub.liteflow.property.agent.PlatformCredential>",
"description": "Credentials for OpenAI-compatible platforms, keyed by user-defined platform name.",
"sourceType": "com.yomahub.liteflow.property.agent.AgentConfig"
},
{
"name": "liteflow.agent.anthropic-compatible",
"type": "java.util.Map<java.lang.String,com.yomahub.liteflow.property.agent.PlatformCredential>",
"description": "Credentials for Anthropic-compatible platforms, keyed by user-defined platform name.",
"sourceType": "com.yomahub.liteflow.property.agent.AgentConfig"
}
]
}