Base未来技能来源(Source)
Java-friendly base for implementing a SkillSource: every engine method is a suspend returning a Result, and this base final-overrides each to await a CompletableFuture from the Java subclass, mapping a completed future to Result.success and any failure to a Result.failure of SkillSourceException. Return each future promptly and do any blocking work inside it. Complete the future exceptionally with a SkillSourceException to report a skill error whose message reaches the LLM.