From daee30dad344d05394daae3beb69fc435da54950 Mon Sep 17 00:00:00 2001 From: "everywhere.z" Date: Thu, 14 May 2026 19:13:39 +0800 Subject: [PATCH] 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 --- ...itional-spring-configuration-metadata.json | 33 +++++++++++++++++++ ...itional-spring-configuration-metadata.json | 33 +++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/liteflow-spring-boot-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/liteflow-spring-boot-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 6a795cd19..ae381a302 100644 --- a/liteflow-spring-boot-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/liteflow-spring-boot-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -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", + "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", + "description": "Credentials for Anthropic-compatible platforms, keyed by user-defined platform name.", + "sourceType": "com.yomahub.liteflow.property.agent.AgentConfig" } ] } \ No newline at end of file diff --git a/liteflow-spring-boot4-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/liteflow-spring-boot4-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 27434e637..fe9306b8d 100644 --- a/liteflow-spring-boot4-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/liteflow-spring-boot4-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -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", + "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", + "description": "Credentials for Anthropic-compatible platforms, keyed by user-defined platform name.", + "sourceType": "com.yomahub.liteflow.property.agent.AgentConfig" } ] } \ No newline at end of file