@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.
@@ -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)
@@ -23,7 +23,7 @@ AI-Drive file storage and management. Actions: ls, mkdir, rm, move, get_readable
23
23
  gsk drive [options]
24
24
  ```
25
25
 
26
- **Aliases:** `aidrive`, `drive`
26
+ **Aliases:** `drive`
27
27
 
28
28
  ## Flags
29
29
 
@@ -22,7 +22,7 @@ Analyze various types of media content including images, audio, and video.
22
22
  gsk media-analyze [options]
23
23
  ```
24
24
 
25
- **Aliases:** `analyze_media`, `media-analyze`
25
+ **Aliases:** `media-analyze`
26
26
 
27
27
  ## Flags
28
28
 
@@ -22,7 +22,7 @@ Generate audio content including TTS, sound effects, and music.
22
22
  gsk audio [options]
23
23
  ```
24
24
 
25
- **Aliases:** `audio_generation`, `audio`
25
+ **Aliases:** `audio`
26
26
 
27
27
  ## Flags
28
28
 
@@ -22,7 +22,7 @@ Transcribe audio files to text with word-level timestamps.
22
22
  gsk transcribe [options]
23
23
  ```
24
24
 
25
- **Aliases:** `audio_transcribe`, `transcribe`
25
+ **Aliases:** `transcribe`
26
26
 
27
27
  ## Flags
28
28
 
@@ -22,7 +22,7 @@ Crawl and extract content from web pages. Supports HTML, PDF, and documents.
22
22
  gsk crawl [options]
23
23
  ```
24
24
 
25
- **Aliases:** `crawler`, `crawl`
25
+ **Aliases:** `crawl`
26
26
 
27
27
  ## Flags
28
28
 
@@ -24,7 +24,7 @@ Create and execute tasks using specialized AI agents. Supports super_agent, podc
24
24
  gsk task [options]
25
25
  ```
26
26
 
27
- **Aliases:** `create_task`, `task`
27
+ **Aliases:** `task`
28
28
 
29
29
  ## Flags
30
30
 
@@ -23,7 +23,7 @@ Get the public HTTPS URL for a service running on the sandbox. Use this to acces
23
23
  gsk service-url [options]
24
24
  ```
25
25
 
26
- **Aliases:** `get_service_url`, `service-url`
26
+ **Aliases:** `service-url`
27
27
 
28
28
  ## Flags
29
29
 
@@ -22,7 +22,7 @@ Generate images using AI models. Supports text-to-image and image editing.
22
22
  gsk img [options]
23
23
  ```
24
24
 
25
- **Aliases:** `image_generation`, `img`
25
+ **Aliases:** `img`
26
26
 
27
27
  ## Flags
28
28
 
@@ -23,7 +23,7 @@ Search for images on the web. Returns image URLs, titles, and source information
23
23
  gsk img-search [options]
24
24
  ```
25
25
 
26
- **Aliases:** `image_search`, `img-search`
26
+ **Aliases:** `img-search`
27
27
 
28
28
  ## Flags
29
29
 
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: gsk-phone-call
3
3
  version: 1.0.0
4
- description: Create an AI phone call card. Validates user prerequisites (membership,
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 phone_call --help
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
- Create an AI phone call card. 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.
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 phone_call [options]
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)
@@ -22,7 +22,7 @@ Retrieve real-time stock price information for a specific company.
22
22
  gsk stock [options]
23
23
  ```
24
24
 
25
- **Aliases:** `stock_price`, `stock`
25
+ **Aliases:** `stock`
26
26
 
27
27
  ## Flags
28
28
 
@@ -23,7 +23,7 @@ Analyze and answer questions about large documents (PDFs, web pages, Word docs,
23
23
  gsk summarize [options]
24
24
  ```
25
25
 
26
- **Aliases:** `summarize_large_document`, `summarize`
26
+ **Aliases:** `summarize`
27
27
 
28
28
  ## Flags
29
29
 
@@ -23,7 +23,7 @@ Analyze and understand images. Supports multiple images and custom analysis inst
23
23
  gsk analyze [options]
24
24
  ```
25
25
 
26
- **Aliases:** `understand_images`, `analyze`
26
+ **Aliases:** `analyze`
27
27
 
28
28
  ## Flags
29
29
 
@@ -23,7 +23,7 @@ Generate videos using AI models. Supports text-to-video and image-to-video gener
23
23
  gsk video [options]
24
24
  ```
25
25
 
26
- **Aliases:** `video_generation`, `video`
26
+ **Aliases:** `video`
27
27
 
28
28
  ## Flags
29
29
 
@@ -22,7 +22,7 @@ Search the web. Returns search results with titles, snippets, and URLs.
22
22
  gsk search [options]
23
23
  ```
24
24
 
25
- **Aliases:** `web_search`, `search`
25
+ **Aliases:** `search`
26
26
 
27
27
  ## Flags
28
28