flypod 0.11.0 → 0.11.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/README.md +17 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -442,21 +442,30 @@ publish something.
|
|
|
442
442
|
|
|
443
443
|
| Tool | What it does |
|
|
444
444
|
|------|--------------|
|
|
445
|
-
| `deploy_site` |
|
|
446
|
-
| `
|
|
447
|
-
| `
|
|
448
|
-
| `
|
|
445
|
+
| `deploy_site`, `update_site`, `rollback_site` | Publish a site, publish a new version, go back to an earlier one |
|
|
446
|
+
| `get_site`, `compare_versions` | A site's URL, expiry and versions; the files that differ between two versions |
|
|
447
|
+
| `duplicate_site` | Copy a temporary site to a new URL |
|
|
448
|
+
| `list_sites`, `rename_site`, `delete_site` | The sites on your account |
|
|
449
|
+
| `keep_site` | Attach a temporary site to your account so it no longer expires |
|
|
450
|
+
| `configure_comments`, `list_comments`, `get_comment_thread` | Turn comments on or off; read threads and the moderation queue |
|
|
451
|
+
| `post_comment`, `reply_to_comment`, `update_comment_thread`, `delete_comment_thread` | Comment, reply, resolve, reopen, approve, reject, delete |
|
|
452
|
+
|
|
453
|
+
That is everything the CLI and the account page can do to a site. Deleting an
|
|
454
|
+
account and changing its password are deliberately not tools.
|
|
449
455
|
|
|
450
456
|
`deploy_site` takes `files` (path → text) and optionally `binary_files` (path →
|
|
451
457
|
base64, for small images), up to 200 files and 4 MB. It returns the URL plus a
|
|
452
|
-
`site_id` and `manage_token`, which the other tools need
|
|
453
|
-
for the conversation, since there is no folder
|
|
458
|
+
`site_id` and `manage_token`, which the other site tools need while the site is
|
|
459
|
+
temporary — the app holds them for the conversation, since there is no folder
|
|
460
|
+
on disk to remember them.
|
|
454
461
|
|
|
455
462
|
A site made this way is temporary, like any deploy without an account. The
|
|
456
463
|
result includes a `keep_url`: a page where the person signs in and presses one
|
|
457
464
|
button to keep the site for good, with no terminal involved. Clients that can
|
|
458
|
-
set a header can
|
|
459
|
-
`--header "Authorization: Bearer $FLYPOD_TOKEN"`.
|
|
465
|
+
set a header can sign the connector in instead:
|
|
466
|
+
`--header "Authorization: Bearer $FLYPOD_TOKEN"`. Signed in, every deploy is
|
|
467
|
+
yours from the start, a site needs only its `site_id`, and the account and
|
|
468
|
+
comment tools work.
|
|
460
469
|
|
|
461
470
|
Every tool call becomes an ordinary API request inside the server, so the
|
|
462
471
|
connector is held to the same rate limit, upload rules and content screening
|
package/package.json
CHANGED