@fungi.computer/oyster 0.19.28 → 0.19.29
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 +3 -3
- package/dist/host-page.js +2 -2
- package/dist/standalone/install-apps-cli.js +1 -1
- package/docs/api/README.md +10 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -60,8 +60,8 @@ MCP and deployment.
|
|
|
60
60
|
|
|
61
61
|
## What you get
|
|
62
62
|
|
|
63
|
-
Deploying Oyster and running `npx oyster install-apps` installs
|
|
64
|
-
lives in its own repository under
|
|
63
|
+
Deploying Oyster and running `npx @fungi.computer/oyster install-apps` installs
|
|
64
|
+
seven Apps. Each lives in its own repository under
|
|
65
65
|
[github.com/fungi-computer](https://github.com/fungi-computer), and each
|
|
66
66
|
installed App is also a template your agents can fork and rebuild.
|
|
67
67
|
|
|
@@ -120,7 +120,7 @@ printf '%s' "$(cat .oyster-owner)" | npx wrangler secret put OYSTER_OWNER_KEY
|
|
|
120
120
|
openssl rand -base64 32 | tr '+/' '-_' | tr -d '=\n' |
|
|
121
121
|
npx wrangler secret put OYSTER_CREDENTIAL_KEY
|
|
122
122
|
export OYSTER_OWNER_KEY=$(cat .oyster-owner)
|
|
123
|
-
npx oyster install-apps
|
|
123
|
+
npx @fungi.computer/oyster install-apps
|
|
124
124
|
```
|
|
125
125
|
|
|
126
126
|
Your workers.dev subdomain is on the Workers & Pages overview in the Cloudflare
|
package/dist/host-page.js
CHANGED
|
@@ -211,9 +211,9 @@ function pageContent(options, url) {
|
|
|
211
211
|
state === "empty" ||
|
|
212
212
|
state === "desktop-missing") {
|
|
213
213
|
if (options.reset)
|
|
214
|
-
content.push(h("p", { className: "detail" }, "This update reset your installed Apps. Reinstall them with npx oyster install-apps."));
|
|
214
|
+
content.push(h("p", { className: "detail" }, "This update reset your installed Apps. Reinstall them with npx @fungi.computer/oyster install-apps."));
|
|
215
215
|
if (state === "empty")
|
|
216
|
-
content.push(h("p", { className: "detail" }, "Install Apps with ", h("code", null, "npx oyster install-apps"), ". Follow the quickstart for your local or hosted Oyster."));
|
|
216
|
+
content.push(h("p", { className: "detail" }, "Install Apps with ", h("code", null, "npx @fungi.computer/oyster install-apps"), ". Follow the quickstart for your local or hosted Oyster."));
|
|
217
217
|
if ((options.apps?.length ?? 0) > 0)
|
|
218
218
|
content.push(h("div", { className: "app-grid" }, ...(options.apps ?? []).map((app) => h(Card, { key: app.id, variant: "interactive" }, h(CardHeader, null, h(CardTitle, null, h("a", { href: url(`/apps/${encodeURIComponent(app.id)}/`) }, app.name))), app.accessHref
|
|
219
219
|
? h(CardContent, null, h("a", { href: url(app.accessHref) }, "App access"))
|
|
@@ -20,7 +20,7 @@ import { defaultStarterBuildConcurrency, installStandaloneAppSet, } from "./app-
|
|
|
20
20
|
/** The starter Apps' public source repositories. */
|
|
21
21
|
const defaultRepositories = "https://github.com/fungi-computer";
|
|
22
22
|
const usage = "Usage: oyster install-apps [--repositories <base URL>] [--ref <ref>] [--from <checkout>] [--concurrency 1-3] [--timings <file>]";
|
|
23
|
-
const urlSource = "OYSTER_URL is the address of your deployed Oyster Worker, such as https://oyster.<your-subdomain>.workers.dev. You set it when you deploy.
|
|
23
|
+
const urlSource = "OYSTER_URL is the address of your deployed Oyster Worker, such as https://oyster.<your-subdomain>.workers.dev. You set it when you deploy. For a local trial, run `oyster try`; it sets up its Computer and starter Apps.";
|
|
24
24
|
const keySource = "OYSTER_OWNER_KEY is the owner key you chose for that Oyster: export OYSTER_OWNER_KEY=$(openssl rand -hex 24), then store it with `wrangler secret put OYSTER_OWNER_KEY`.";
|
|
25
25
|
const helpText = `${usage}
|
|
26
26
|
|
package/docs/api/README.md
CHANGED
|
@@ -138,17 +138,19 @@ Fungi release on the
|
|
|
138
138
|
[package versions page](https://docs.fungi.computer/reference/packages/), and
|
|
139
139
|
follow [Upgrade Oyster](https://docs.fungi.computer/guides/run-your-own-oyster/)
|
|
140
140
|
with the package manager and store that installed the project. Redeploy with the
|
|
141
|
-
same `npx wrangler deploy` command, then run
|
|
142
|
-
|
|
143
|
-
store the error
|
|
141
|
+
same `npx wrangler deploy` command, then run
|
|
142
|
+
`npx @fungi.computer/oyster install-apps`. If pnpm stops with
|
|
143
|
+
`ERR_PNPM_UNEXPECTED_STORE`, rerun with `--store-dir` set to the store the error
|
|
144
|
+
names.
|
|
144
145
|
|
|
145
146
|
Two older upgrades reset data rather than convert it. From before 0.7.0, the
|
|
146
147
|
installed Apps are cleared once: Oyster Home asks you to reinstall them with
|
|
147
|
-
`npx oyster install-apps`, which restores the Apps and their App
|
|
148
|
-
each App's own backend database starts empty. Agents, Sessions,
|
|
149
|
-
are kept. From 0.2 or earlier, Oyster answers every request with
|
|
150
|
-
`store_from_older_oyster`; deploy under new resource names or tear the
|
|
151
|
-
down first. The changelog entry for each release says when it resets
|
|
148
|
+
`npx @fungi.computer/oyster install-apps`, which restores the Apps and their App
|
|
149
|
+
settings, while each App's own backend database starts empty. Agents, Sessions,
|
|
150
|
+
files and keys are kept. From 0.2 or earlier, Oyster answers every request with
|
|
151
|
+
`409` and `store_from_older_oyster`; deploy under new resource names or tear the
|
|
152
|
+
old one down first. The changelog entry for each release says when it resets
|
|
153
|
+
data.
|
|
152
154
|
|
|
153
155
|
### Run on celld
|
|
154
156
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fungi.computer/oyster",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.29",
|
|
4
4
|
"author": "Levi <levi@technomancy.dev>",
|
|
5
5
|
"description": "Run your own Apps on Cloudflare Workers or celld: installable App Releases, each with its own Durable Object, SQLite database and declared bindings",
|
|
6
6
|
"type": "module",
|