Add 7 new actions, workflow orchestration, and shell escaping fixes
- New actions: open_url, switch_app, notifications, pull_file, push_file, keyevent, open_settings
- Workflow system: runWorkflow() for multi-app sub-goal sequences with --workflow CLI flag
- Export runAgent() with {success, stepsUsed} return for workflow integration
- Fix clipboard_set shell escaping (single-quote wrapping matching skills.ts)
- Improve type action escaping for backticks, $, !, ?, brackets, braces
- Move parseJsonResponse to llm-providers.ts and export it
- Update SYSTEM_PROMPT and Zod schema for 22 total actions
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
21
examples/logistics-workflow.json
Normal file
21
examples/logistics-workflow.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"name": "Logistics Agent v2.1",
|
||||
"steps": [
|
||||
{
|
||||
"app": "com.whatsapp",
|
||||
"goal": "Find the latest Bill of Lading image and save it"
|
||||
},
|
||||
{
|
||||
"app": "com.intsig.camscanner",
|
||||
"goal": "Crop and enhance the latest image"
|
||||
},
|
||||
{
|
||||
"app": "com.rtspro.factoring",
|
||||
"goal": "Fill out the invoice submission form",
|
||||
"formData": {
|
||||
"Invoice": "#9921",
|
||||
"Amount": "$4,200.00"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user