feat(llm): sys.module_source + entry prompt / meta offline paths
Expose entry source via sys.module_source; ask/stream fall back to prompt_body of the entry document. Add meta-binding and entry-prompt golds. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
88dc6d5a54
commit
81a14f9b38
8 files changed
+117
-13
No files matched your search
@@ -52,6 +52,12 @@ Lookup one metadata key; missing → None.
|
||||
|
||||
*> host_meta_get key=`key`*
|
||||
|
||||
## module_source
|
||||
|
||||
Entry `.mq.md` source text (for document-as-prompt). Empty string if unset.
|
||||
|
||||
*> host_module_source*
|
||||
|
||||
## exit
|
||||
+ `code`
|
||||
|
||||
|
||||
@@ -52,6 +52,12 @@ description: 中文系统包装(加载环境 可选 路径=)
|
||||
|
||||
*> host_meta_get key=`键`*
|
||||
|
||||
## 模块源码
|
||||
|
||||
入口 `.mq.md` 全文(供 document-as-prompt)。未设置时为空文本。
|
||||
|
||||
*> host_module_source*
|
||||
|
||||
## 退出
|
||||
+ `码`
|
||||
|
||||
|
||||
Reference in new issue
Block a user