Ship quantum skill=tools tree with call session and ZH package.
Split ext/quantum into index + modules, add marqdo call --effects/--session/--toget, narrative-ratio checks, and a same-package 量子/ tree so agents can follow a decision path for Bell demos without inventing a second API. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
492790e985
commit
0e389f34ec
65 files changed
+3714
-1036
No files matched your search
@@ -0,0 +1,41 @@
|
||||
---
|
||||
markup: occlusion
|
||||
title: nested ### sub-tool call
|
||||
---
|
||||
|
||||
# main
|
||||
|
||||
*None*
|
||||
|
||||
## outer
|
||||
|
||||
Parent tool. Agents may call this path or the finer nested helper.
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
|------|------|------|
|
||||
| n | number | seed value |
|
||||
|
||||
This paragraph is narration so the unit stays readable. The nested
|
||||
`### helper` is the sub-tool that does the arithmetic. Call path
|
||||
`outer.helper` selects the child without running the parent body.
|
||||
|
||||
### helper
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
|------|------|------|
|
||||
| n | number | value to double |
|
||||
|
||||
Sub-tool under `outer`. Doubles `n` without side effects so default
|
||||
`marqdo call` may run it. Prefer this when only the doubling step is needed.
|
||||
|
||||
| 返回 | 类型 | 说明 |
|
||||
|------|------|------|
|
||||
| | number | two times n |
|
||||
|
||||
*[result](n * 2)*
|
||||
|
||||
| 返回 | 类型 | 说明 |
|
||||
|------|------|------|
|
||||
| | number | parent returns n unchanged |
|
||||
|
||||
*n*
|
||||
Reference in new issue
Block a user