shiply-cli 0.7.0 → 0.7.1
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/dist/index.js +3 -2
- package/package.json +1 -1
- package/skill/SKILL.md +17 -3
package/dist/index.js
CHANGED
|
@@ -79,6 +79,7 @@ async function main() {
|
|
|
79
79
|
'new-site': { type: 'boolean' },
|
|
80
80
|
project: { type: 'boolean' },
|
|
81
81
|
timeout: { type: 'string' },
|
|
82
|
+
out: { type: 'string', short: 'o' },
|
|
82
83
|
'no-confetti': { type: 'boolean' },
|
|
83
84
|
help: { type: 'boolean', short: 'h' },
|
|
84
85
|
},
|
|
@@ -230,8 +231,8 @@ async function main() {
|
|
|
230
231
|
return;
|
|
231
232
|
case 'get':
|
|
232
233
|
if (!arg)
|
|
233
|
-
throw new Error('usage: shiply drive get <path> [-
|
|
234
|
-
await driveGet(dctx, arg, values.
|
|
234
|
+
throw new Error('usage: shiply drive get <path> [out-file] (omit out-file to print to stdout)');
|
|
235
|
+
await driveGet(dctx, arg, values.out ?? arg2);
|
|
235
236
|
return;
|
|
236
237
|
case 'rm':
|
|
237
238
|
if (!arg)
|
package/package.json
CHANGED
package/skill/SKILL.md
CHANGED
|
@@ -17,9 +17,23 @@ same site** — otherwise you litter subdomains and lose the user's URL.
|
|
|
17
17
|
### 1. MCP (native tools)
|
|
18
18
|
If the `shiply` MCP server is connected (https://shiply.now/mcp), use
|
|
19
19
|
`publish_site`. Every result includes a `toUpdate` field telling you the exact
|
|
20
|
-
call for updates — follow it
|
|
21
|
-
|
|
22
|
-
`
|
|
20
|
+
call for updates — follow it, and a `shareSuggestion` you can relay to the user.
|
|
21
|
+
Other tools: `site_status`, `list_sites`, `get_site`, `set_handle`,
|
|
22
|
+
`duplicate_site`, `set_variable`, `add_domain`/`list_domains`/`check_domain`/
|
|
23
|
+
`remove_domain`, `get_analytics`, `delete_site`.
|
|
24
|
+
|
|
25
|
+
Newer capabilities (use when relevant):
|
|
26
|
+
- `set_site_access` — password / invite-only protect a site (paid).
|
|
27
|
+
- `set_link` — mount another owned **public** site at a path on a host
|
|
28
|
+
(host/docs → target).
|
|
29
|
+
- `set_profile` / `feature_site` — stand up the user's public portfolio at
|
|
30
|
+
<handle>.shiply.now and feature a public site on shiply.now/explore.
|
|
31
|
+
- **Drives** (private cloud storage for files/notes/context): `list_drives`,
|
|
32
|
+
`create_drive`, `drive_put_file` (driveId "default", utf8/base64, ≤2 MB),
|
|
33
|
+
`drive_list_files`, `drive_delete_file`, `publish_from_drive` (snapshot a
|
|
34
|
+
drive into a live site). Great for agent memory and assets you don't want on
|
|
35
|
+
a public site.
|
|
36
|
+
- `export_account` — JSON bundle of the user's data (no secrets).
|
|
23
37
|
|
|
24
38
|
### 2. CLI
|
|
25
39
|
```bash
|