@genspark/cli 1.0.9 → 1.0.10
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/README.md +30 -4
- package/dist/acp-serve.d.ts +14 -0
- package/dist/acp-serve.d.ts.map +1 -0
- package/dist/acp-serve.js +568 -0
- package/dist/acp-serve.js.map +1 -0
- package/dist/client.d.ts +25 -1
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +66 -6
- package/dist/client.js.map +1 -1
- package/dist/index.js +102 -19
- package/dist/index.js.map +1 -1
- package/docs/skills.md +1 -1
- package/package.json +1 -1
- package/skills/gsk-acp-agents/SKILL.md +124 -0
- package/skills/gsk-aidrive/SKILL.md +1 -1
- package/skills/gsk-analyze-media/SKILL.md +1 -1
- package/skills/gsk-audio-generation/SKILL.md +1 -1
- package/skills/gsk-audio-transcribe/SKILL.md +1 -1
- package/skills/gsk-crawler/SKILL.md +1 -1
- package/skills/gsk-create-task/SKILL.md +1 -1
- package/skills/gsk-get-service-url/SKILL.md +1 -1
- package/skills/gsk-image-generation/SKILL.md +1 -1
- package/skills/gsk-image-search/SKILL.md +1 -1
- package/skills/gsk-phone-call/SKILL.md +6 -4
- package/skills/gsk-shared/SKILL.md +18 -0
- package/skills/gsk-stock-price/SKILL.md +1 -1
- package/skills/gsk-summarize-large-document/SKILL.md +1 -1
- package/skills/gsk-understand-images/SKILL.md +1 -1
- package/skills/gsk-video-generation/SKILL.md +1 -1
- package/skills/gsk-web-search/SKILL.md +1 -1
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gsk-acp-agents
|
|
3
|
+
version: 1.0.0
|
|
4
|
+
description: ACP (Agent Client Protocol) agents backed by GSK task. Use these to generate documents, slides, spreadsheets, and more via multi-turn conversation.
|
|
5
|
+
metadata:
|
|
6
|
+
category: general
|
|
7
|
+
requires:
|
|
8
|
+
bins:
|
|
9
|
+
- gsk
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# GSK ACP Agents
|
|
13
|
+
|
|
14
|
+
**PREREQUISITE:** Read `../gsk-shared/SKILL.md` for auth, global flags, and security rules.
|
|
15
|
+
|
|
16
|
+
GSK task agents are available as ACP agents for multi-turn, streaming interaction. Use `sessions_spawn` with `runtime: "acp"` to create documents, presentations, spreadsheets, and more through natural language conversation.
|
|
17
|
+
|
|
18
|
+
## Available Agents
|
|
19
|
+
|
|
20
|
+
| Agent ID | Task Type | Description |
|
|
21
|
+
|----------|-----------|-------------|
|
|
22
|
+
| `gsk-docs` | docs | Create and edit HTML/Markdown documents (reports, articles, papers) |
|
|
23
|
+
| `gsk-slides` | slides | Create presentation slide decks |
|
|
24
|
+
| `gsk-sheets` | sheets | Create spreadsheets with formulas and formatting |
|
|
25
|
+
| `gsk-podcasts` | podcasts | Create audio podcasts with AI characters |
|
|
26
|
+
| `gsk-deep-research` | deep_research | In-depth research and analysis on any topic |
|
|
27
|
+
| `gsk-website` | website | Build professional websites and web pages |
|
|
28
|
+
| `gsk-video-generation` | video_generation | Batch video generation with multi-step pipelines |
|
|
29
|
+
| `gsk-audio-generation` | audio_generation | Batch TTS/audio generation with multi-step pipelines |
|
|
30
|
+
| `gsk-meeting-notes` | meeting_notes | Generate meeting notes and summaries |
|
|
31
|
+
| `gsk-cross-check` | cross_check | Fact-check and verify claims against multiple sources |
|
|
32
|
+
| `gsk-super-agent` | super_agent | General-purpose agent for complex multi-step tasks |
|
|
33
|
+
|
|
34
|
+
## Usage
|
|
35
|
+
|
|
36
|
+
Spawn an ACP agent session via the `sessions_spawn` tool:
|
|
37
|
+
|
|
38
|
+
```
|
|
39
|
+
sessions_spawn(
|
|
40
|
+
task: "Create a quarterly sales report with charts",
|
|
41
|
+
runtime: "acp",
|
|
42
|
+
agentId: "gsk-docs"
|
|
43
|
+
)
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
The agent supports multi-turn conversation — follow up to refine, modify, or extend the output:
|
|
47
|
+
|
|
48
|
+
```
|
|
49
|
+
sessions_spawn(
|
|
50
|
+
task: "Change the color scheme to blue and add a summary section",
|
|
51
|
+
runtime: "acp",
|
|
52
|
+
agentId: "gsk-docs",
|
|
53
|
+
resumeSessionId: "<previous session id>"
|
|
54
|
+
)
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
## Examples
|
|
58
|
+
|
|
59
|
+
```
|
|
60
|
+
# Generate a presentation
|
|
61
|
+
sessions_spawn(task: "Create a 5-slide investor pitch deck for an AI startup", runtime: "acp", agentId: "gsk-slides")
|
|
62
|
+
|
|
63
|
+
# Create a spreadsheet
|
|
64
|
+
sessions_spawn(task: "Build a monthly budget tracker with income, expenses, and savings formulas", runtime: "acp", agentId: "gsk-sheets")
|
|
65
|
+
|
|
66
|
+
# Deep research
|
|
67
|
+
sessions_spawn(task: "Research the current state of fusion energy and summarize key players", runtime: "acp", agentId: "gsk-deep-research")
|
|
68
|
+
|
|
69
|
+
# Fact-check a claim
|
|
70
|
+
sessions_spawn(task: "Verify: 'GPT-4 has 1.8 trillion parameters'", runtime: "acp", agentId: "gsk-cross-check")
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
## Exporting Artifacts
|
|
74
|
+
|
|
75
|
+
After creating a document, slides, or spreadsheet, use `session/export` to download the artifact as a standard file (DOCX, PPTX, XLSX):
|
|
76
|
+
|
|
77
|
+
```
|
|
78
|
+
session/export({ format: "auto" })
|
|
79
|
+
session/export({ format: "docx", outputPath: "/tmp/report.docx" })
|
|
80
|
+
session/export({ format: "pptx", outputPath: "/tmp/deck.pptx" })
|
|
81
|
+
session/export({ format: "xlsx", outputPath: "/tmp/data.xlsx" })
|
|
82
|
+
session/export({ format: "pdf", outputPath: "/tmp/report.pdf" })
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
**Parameters:**
|
|
86
|
+
- `format` — Export format: `auto` (default, picks natural format for task type), `docx`, `pdf`, `pptx`, `xlsx`
|
|
87
|
+
- `outputPath` — Optional local file path. If provided, the file is downloaded and saved locally.
|
|
88
|
+
|
|
89
|
+
**Auto format mapping:**
|
|
90
|
+
| Task Type | Auto Format |
|
|
91
|
+
|-----------|-------------|
|
|
92
|
+
| docs | docx |
|
|
93
|
+
| slides | pptx |
|
|
94
|
+
| sheets | xlsx |
|
|
95
|
+
|
|
96
|
+
**Response:**
|
|
97
|
+
```json
|
|
98
|
+
{
|
|
99
|
+
"download_url": "https://...",
|
|
100
|
+
"file_name": "report.docx",
|
|
101
|
+
"format": "docx",
|
|
102
|
+
"local_path": "/tmp/report.docx",
|
|
103
|
+
"size_bytes": 45678
|
|
104
|
+
}
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
For one-shot (non-ACP) mode, use the `-o` flag: `gsk task docs --prompt "..." -o report.docx`
|
|
108
|
+
|
|
109
|
+
## Features
|
|
110
|
+
|
|
111
|
+
- **Streaming**: Agent responses are streamed token-by-token in real-time
|
|
112
|
+
- **Multi-turn**: Continue refining output across multiple prompts in the same session
|
|
113
|
+
- **Session persistence**: Sessions survive disconnects and can be resumed
|
|
114
|
+
- **Export**: Download artifacts as DOCX/PPTX/XLSX/PDF via `session/export`
|
|
115
|
+
- **Cancellation**: In-progress prompts can be cancelled via `session/cancel`
|
|
116
|
+
|
|
117
|
+
## Configuration
|
|
118
|
+
|
|
119
|
+
ACP agents are pre-configured in `~/.acpx/config.json` on Genspark Claw VMs. Each agent maps to `gsk task <type> --acp`.
|
|
120
|
+
|
|
121
|
+
## See Also
|
|
122
|
+
|
|
123
|
+
- [gsk-shared](../gsk-shared/SKILL.md) — Authentication and global flags
|
|
124
|
+
- [gsk-create-task](../gsk-create-task/SKILL.md) — One-shot task creation (non-ACP)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: gsk-phone-call
|
|
3
3
|
version: 1.0.0
|
|
4
|
-
description:
|
|
4
|
+
description: Make an AI phone call on your behalf. Validates user prerequisites (membership,
|
|
5
5
|
phone setup, credits) and resolves contact information. For business contacts, looks
|
|
6
6
|
up Google Maps place data. For personal contacts, validates and normalizes the phone
|
|
7
7
|
number.
|
|
@@ -10,21 +10,23 @@ metadata:
|
|
|
10
10
|
requires:
|
|
11
11
|
bins:
|
|
12
12
|
- gsk
|
|
13
|
-
cliHelp: gsk
|
|
13
|
+
cliHelp: gsk phone-call --help
|
|
14
14
|
---
|
|
15
15
|
|
|
16
16
|
# gsk-phone-call
|
|
17
17
|
|
|
18
18
|
**PREREQUISITE:** Read `../gsk-shared/SKILL.md` for auth, global flags, and security rules.
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
Make an AI phone call on your behalf. Validates user prerequisites (membership, phone setup, credits) and resolves contact information. For business contacts, looks up Google Maps place data. For personal contacts, validates and normalizes the phone number.
|
|
21
21
|
|
|
22
22
|
## Usage
|
|
23
23
|
|
|
24
24
|
```bash
|
|
25
|
-
gsk
|
|
25
|
+
gsk phone-call [options]
|
|
26
26
|
```
|
|
27
27
|
|
|
28
|
+
**Aliases:** `phone-call`, `call-for-me`
|
|
29
|
+
|
|
28
30
|
## Flags
|
|
29
31
|
|
|
30
32
|
| Flag | Required | Description |
|
|
@@ -66,6 +66,24 @@ gsk img "Enhance this" -i ./photo.png -o ./result.png
|
|
|
66
66
|
|
|
67
67
|
Use `-o` / `--output-file` to save generated results directly to a local file.
|
|
68
68
|
|
|
69
|
+
### Task agent export (`gsk task ... -o`)
|
|
70
|
+
|
|
71
|
+
For task agents (docs, slides, sheets), `-o` triggers an export to standard file formats after the task completes:
|
|
72
|
+
|
|
73
|
+
```bash
|
|
74
|
+
gsk task docs --prompt "Write a project report" -o ./report.docx
|
|
75
|
+
gsk task slides --prompt "Create a pitch deck" -o ./deck.pptx
|
|
76
|
+
gsk task sheets --prompt "Build a budget tracker" -o ./budget.xlsx
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
| Task Type | Default Export Format |
|
|
80
|
+
|-----------|---------------------|
|
|
81
|
+
| docs | DOCX |
|
|
82
|
+
| slides | PPTX |
|
|
83
|
+
| sheets | XLSX |
|
|
84
|
+
|
|
85
|
+
In ACP mode (`--acp`), use `session/export` instead — see [gsk-acp-agents](../gsk-acp-agents/SKILL.md).
|
|
86
|
+
|
|
69
87
|
## Configuration Priority
|
|
70
88
|
|
|
71
89
|
1. **CLI options** (highest)
|