@eigenpal/cli 0.4.10 → 0.4.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +32 -0
- package/dist/cli.js +28789 -27650
- package/dist/skill/SKILL.md +1 -1
- package/dist/skill/examples/hello-world/workflow.yaml +4 -2
- package/dist/skill/reference/cli/agent.md +803 -1
- package/dist/skill/reference/cli/init.md +2 -2
- package/dist/skill/reference/step-types.md +7 -18
- package/dist/skill/reference/workflow-yaml.md +6 -4
- package/dist/templates/blank/workflow.yaml +4 -2
- package/package.json +1 -1
package/dist/skill/SKILL.md
CHANGED
|
@@ -118,7 +118,7 @@ fall back to `workflow execution run` against the server.
|
|
|
118
118
|
|
|
119
119
|
```bash
|
|
120
120
|
eigenpal workflow step exec transform.script \
|
|
121
|
-
--config-json '{"
|
|
121
|
+
--config-json '{"function":"function script(items) { return items.reduce((s,i)=>s+i.v,0); }"}' \
|
|
122
122
|
--inputs items=@items.json
|
|
123
123
|
# 3
|
|
124
124
|
```
|
|
@@ -15,8 +15,10 @@ steps:
|
|
|
15
15
|
with:
|
|
16
16
|
inputs:
|
|
17
17
|
text: '{{ input.text }}'
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
function: |
|
|
19
|
+
function script(text) {
|
|
20
|
+
return { length: text.length, original: text };
|
|
21
|
+
}
|
|
20
22
|
outputSchema:
|
|
21
23
|
type: object
|
|
22
24
|
properties:
|