aardio 文档

autos.skills.vb6.docs 库模块帮助文档

autos.skills.vb6.docs 成员列表 #

autos.skills.vb6.docs.cacheFile #

Optional writable TOC cache path. Defaults to AppData/aardio/vb6-docs; separate from the compiler installation.

autos.skills.vb6.docs.close() #

Close the lazily created MCP client in this context; the next online call reconnects. Offline resolve never creates a client.

autos.skills.vb6.docs.fetch(url) #

Fetch an HTTPS learn.microsoft.com page as Markdown via microsoft_docs_fetch; returns text or null,error. Requires network.

autos.skills.vb6.docs.loadIndex(refresh=false) #

Returns [{title;url}] or null,error. Default reads memory/user-cache/shipped snapshot offline. true downloads, validates and atomically caches the official TOC; failure preserves the previous index. Rare cache cleanup failure returns a third detail object.

autos.skills.vb6.docs.lookup(title) #

Resolve the best candidate then fetch via Microsoft Learn MCP; returns {title;url;text} or null,error. Use resolve + fetch if the title is ambiguous.

autos.skills.vb6.docs.resolve(query,limit=5) #

Offline English-title ranking (case-insensitive literal words): exact, all words, then fallback. Returns [{score;title;url}] or null,error. Empty query/limit 0 returns []. Review candidates for ambiguous topics.

autos.skills.vb6.docs.samples(query,language="vb") #

microsoft_code_sample_search results with codeSnippet/link/language/description retained. Network required. Raw upstream samples can contain VBA7/VB.NET; check compatibility before use. Failure returns null,error.

autos.skills.vb6.docs.search(query,limit=10) #

microsoft_docs_search, normalized to [{title;url;content}], deduplicated by URL without fragment. Use e.g. Format function VBA, not a VB6.0 suffix. Requires network; returns null,error on failure, not [].

autos.skills.vb6.docs.version #

Official documentation helper version.

Markdown 格式 Autos 技能包提示词(skill.md)