@fungi.computer/oyster 0.36.0 → 0.37.0
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/boot-host-script.js +1 -1
- package/dist/build/candidate-cli.mjs +45 -15
- package/dist/catalog-frame.js +8 -0
- package/dist/embed-metafiles.js +2 -2
- package/dist/embed-scripts.js +1 -1
- package/dist/hello-app-script.js +1 -1
- package/dist/host.js +1 -1
- package/dist/page-script.js +2 -2
- package/dist/standalone/agent-self.d.ts +19 -0
- package/dist/standalone/agent-self.js +72 -0
- package/dist/standalone/agents.d.ts +2 -2
- package/dist/standalone/agents.js +30 -8
- package/dist/standalone/workflow-host.d.ts +54 -24
- package/dist/standalone/workflow-trigger-host.d.ts +192 -72
- package/dist/standalone/workflows.d.ts +54 -24
- package/docs/api/build-contract.md +27 -27
- package/docs/api/build.md +51 -60
- package/docs/api/host.md +18 -34
- package/package.json +18 -18
package/docs/api/host.md
CHANGED
|
@@ -1930,7 +1930,7 @@ function verifyRelease(
|
|
|
1930
1930
|
roles: readonly ("files" | "dashboard" | "inbox" | "media" | "sessions" | "terminal")[];
|
|
1931
1931
|
storage?: readonly Readonly<...>[];
|
|
1932
1932
|
commands?: readonly Readonly<...>[];
|
|
1933
|
-
gills?: readonly
|
|
1933
|
+
gills?: readonly AppDeclaredGill[];
|
|
1934
1934
|
backend?: Readonly<{
|
|
1935
1935
|
bindings: ...;
|
|
1936
1936
|
sync?: ...;
|
|
@@ -2000,7 +2000,7 @@ function verifyRelease(
|
|
|
2000
2000
|
roles: readonly ("files" | "dashboard" | "inbox" | "media" | "sessions" | "terminal")[];
|
|
2001
2001
|
storage?: readonly Readonly<...>[];
|
|
2002
2002
|
commands?: readonly Readonly<...>[];
|
|
2003
|
-
gills?: readonly
|
|
2003
|
+
gills?: readonly AppDeclaredGill[];
|
|
2004
2004
|
backend?: Readonly<{
|
|
2005
2005
|
bindings: ...;
|
|
2006
2006
|
sync?: ...;
|
|
@@ -2063,7 +2063,7 @@ function verifyRelease(
|
|
|
2063
2063
|
roles: readonly ("files" | "dashboard" | "inbox" | "media" | "sessions" | "terminal")[];
|
|
2064
2064
|
storage?: readonly Readonly<...>[];
|
|
2065
2065
|
commands?: readonly Readonly<...>[];
|
|
2066
|
-
gills?: readonly
|
|
2066
|
+
gills?: readonly AppDeclaredGill[];
|
|
2067
2067
|
backend?: Readonly<{
|
|
2068
2068
|
bindings: ...;
|
|
2069
2069
|
sync?: ...;
|
|
@@ -2165,14 +2165,7 @@ function verifyRelease(
|
|
|
2165
2165
|
sigil?: ... | ...;
|
|
2166
2166
|
projections?: ... | ...;
|
|
2167
2167
|
}>[];
|
|
2168
|
-
gills?: readonly
|
|
2169
|
-
id: string;
|
|
2170
|
-
source: string;
|
|
2171
|
-
title: string;
|
|
2172
|
-
params?: ... | ...;
|
|
2173
|
-
watch?: ... | ...;
|
|
2174
|
-
desktop?: ... | ...;
|
|
2175
|
-
}>[];
|
|
2168
|
+
gills?: readonly AppDeclaredGill[];
|
|
2176
2169
|
backend?: Readonly<{
|
|
2177
2170
|
bindings: readonly Readonly<...>[];
|
|
2178
2171
|
sync?: Readonly<...>;
|
|
@@ -2238,7 +2231,7 @@ standalone HTML.
|
|
|
2238
2231
|
readonly `"git.push"`[]; `icon?`: `string`; `roles`: readonly (`"files"` \|
|
|
2239
2232
|
`"dashboard"` \| `"inbox"` \| `"media"` \| `"sessions"` \| `"terminal"`)[];
|
|
2240
2233
|
`storage?`: readonly `Readonly`\<...\>[]; `commands?`: readonly
|
|
2241
|
-
`Readonly`\<...\>[]; `gills?`: readonly `
|
|
2234
|
+
`Readonly`\<...\>[]; `gills?`: readonly `AppDeclaredGill`[]; `backend?`:
|
|
2242
2235
|
`Readonly`\<\{ `bindings`: ...; `sync?`: ...; \}\>; \}\>; `format`:
|
|
2243
2236
|
`"fungi-app-v1"`; `ui`: \{ `mediaType`: `"text/html; charset=utf-8"` \|
|
|
2244
2237
|
`"application/vnd.fungi.app-assets+json"`; `artifactRef`: `ArtifactRef`;
|
|
@@ -2262,7 +2255,7 @@ readonly `"git.push"`[]; `icon?`: `string`; `roles`: readonly (`"files"` \|
|
|
|
2262
2255
|
`roles`: readonly (`"files"` \| `"dashboard"` \| `"inbox"` \| `"media"` \|
|
|
2263
2256
|
`"sessions"` \| `"terminal"`)[]; `storage?`: readonly `Readonly`\<...\>[];
|
|
2264
2257
|
`commands?`: readonly `Readonly`\<...\>[]; `gills?`: readonly
|
|
2265
|
-
`
|
|
2258
|
+
`AppDeclaredGill`[]; `backend?`: `Readonly`\<\{ `bindings`: ...; `sync?`: ...;
|
|
2266
2259
|
\}\>; \}\>; `format`: `"fungi-app-v1"`; `ui`: \{ `mediaType`:
|
|
2267
2260
|
`"text/html; charset=utf-8"` \| `"application/vnd.fungi.app-assets+json"`;
|
|
2268
2261
|
`artifactRef`: `ArtifactRef`; `digest`: `Sha256Digest`; `version`: `string`;
|
|
@@ -2283,7 +2276,7 @@ readonly `"git.push"`[]; `icon?`: `string`; `roles`: readonly (`"files"` \|
|
|
|
2283
2276
|
`roles`: readonly (`"files"` \| `"dashboard"` \| `"inbox"` \| `"media"` \|
|
|
2284
2277
|
`"sessions"` \| `"terminal"`)[]; `storage?`: readonly `Readonly`\<...\>[];
|
|
2285
2278
|
`commands?`: readonly `Readonly`\<...\>[]; `gills?`: readonly
|
|
2286
|
-
`
|
|
2279
|
+
`AppDeclaredGill`[]; `backend?`: `Readonly`\<\{ `bindings`: ...; `sync?`: ...;
|
|
2287
2280
|
\}\>; \}\>; `format`: `"fungi-app-v1"`; `backend`: \{ `mediaType`:
|
|
2288
2281
|
`"application/vnd.fungi.app-backend+json"`; `artifactRef`: `ArtifactRef`;
|
|
2289
2282
|
`digest`: `Sha256Digest`; `version`: `string`; `byteLength`: `number`; \}; \};
|
|
@@ -2314,15 +2307,14 @@ readonly `"file.open"`[]; `receives?`: readonly `"git.push"`[]; `icon?`:
|
|
|
2314
2307
|
`Readonly`\<\{ `key`: `string`; `scopes`: readonly ...[]; `maxBytes`: `number`;
|
|
2315
2308
|
\}\>[]; `commands?`: readonly `Readonly`\<\{ `id`: `string`; `title`: `string`;
|
|
2316
2309
|
`category`: `string`; `description?`: ... \| ...; `sigil?`: ... \| ...;
|
|
2317
|
-
`projections?`: ... \| ...; \}\>[]; `gills?`: readonly `
|
|
2318
|
-
`
|
|
2319
|
-
`
|
|
2320
|
-
`
|
|
2321
|
-
|
|
2322
|
-
`
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
`artifactRef`: `ArtifactRef`; `digest`: `Sha256Digest`; \}\> \| `null`; \}\>\>
|
|
2310
|
+
`projections?`: ... \| ...; \}\>[]; `gills?`: readonly `AppDeclaredGill`[];
|
|
2311
|
+
`backend?`: `Readonly`\<\{ `bindings`: readonly `Readonly`\<...\>[]; `sync?`:
|
|
2312
|
+
`Readonly`\<...\>; \}\>; \}\> \| `null`; `ui`: \| `Readonly`\<\{ `kind`:
|
|
2313
|
+
`"html"`; `artifactRef`: `ArtifactRef`; `digest`: `Sha256Digest`; \}\> \|
|
|
2314
|
+
`Readonly`\<\{ `kind`: `"assets"`; `build`: \{ `format`: `"fungi-assets-v1"`;
|
|
2315
|
+
`base`: `string`; `assets`: readonly `object`[]; \}; \}\> \| `null`; `backend`:
|
|
2316
|
+
\| `Readonly`\<\{ `artifactRef`: `ArtifactRef`; `digest`: `Sha256Digest`; \}\>
|
|
2317
|
+
\| `null`; \}\>\>
|
|
2326
2318
|
|
|
2327
2319
|
---
|
|
2328
2320
|
|
|
@@ -2394,14 +2386,7 @@ function resolveBackend(store, release): Promise<
|
|
|
2394
2386
|
sigil?: ...;
|
|
2395
2387
|
projections?: ...;
|
|
2396
2388
|
}>[];
|
|
2397
|
-
gills?: readonly
|
|
2398
|
-
id: ...;
|
|
2399
|
-
source: ...;
|
|
2400
|
-
title: ...;
|
|
2401
|
-
params?: ...;
|
|
2402
|
-
watch?: ...;
|
|
2403
|
-
desktop?: ...;
|
|
2404
|
-
}>[];
|
|
2389
|
+
gills?: readonly AppDeclaredGill[];
|
|
2405
2390
|
backend?: Readonly<{
|
|
2406
2391
|
bindings: readonly ...[];
|
|
2407
2392
|
sync?: ... | ...;
|
|
@@ -2444,9 +2429,8 @@ root artifact, then the backend descriptor it names.
|
|
|
2444
2429
|
`Readonly`\<\{ `key`: ...; `scopes`: ...; `maxBytes`: ...; \}\>[]; `commands?`:
|
|
2445
2430
|
readonly `Readonly`\<\{ `id`: ...; `title`: ...; `category`: ...;
|
|
2446
2431
|
`description?`: ...; `sigil?`: ...; `projections?`: ...; \}\>[]; `gills?`:
|
|
2447
|
-
readonly `
|
|
2448
|
-
`
|
|
2449
|
-
readonly ...[]; `sync?`: ... \| ...; \}\>; \}\> \| `null`; \}\> \| `null`\>
|
|
2432
|
+
readonly `AppDeclaredGill`[]; `backend?`: `Readonly`\<\{ `bindings`: readonly
|
|
2433
|
+
...[]; `sync?`: ... \| ...; \}\>; \}\> \| `null`; \}\> \| `null`\>
|
|
2450
2434
|
|
|
2451
2435
|
## References
|
|
2452
2436
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fungi.computer/oyster",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.37.0",
|
|
4
4
|
"author": "Levi <levi@technomancy.dev>",
|
|
5
5
|
"description": "Oyster by Fungi: open-source Apps for people and AI agents. Try with one command or run on your own Cloudflare account.",
|
|
6
6
|
"homepage": "https://docs.fungi.computer/oyster",
|
|
@@ -358,37 +358,37 @@
|
|
|
358
358
|
"dependencies": {
|
|
359
359
|
"@cfworker/json-schema": "4.1.1",
|
|
360
360
|
"@earendil-works/pi-ai": "1.5.2",
|
|
361
|
-
"@fungi.computer/agar": "0.
|
|
361
|
+
"@fungi.computer/agar": "0.21.0",
|
|
362
362
|
"@fungi.computer/bird-dog": "0.3.7",
|
|
363
|
-
"@fungi.computer/braid": "0.
|
|
363
|
+
"@fungi.computer/braid": "0.5.0",
|
|
364
364
|
"@fungi.computer/burrow": "0.2.1",
|
|
365
365
|
"@fungi.computer/cairn": "0.1.0",
|
|
366
366
|
"@fungi.computer/capnweb": "0.12.0-fungi.0",
|
|
367
367
|
"@fungi.computer/caps": "0.12.0",
|
|
368
368
|
"@fungi.computer/carrier": "0.2.5",
|
|
369
|
-
"@fungi.computer/computer": "0.14.
|
|
370
|
-
"@fungi.computer/computer-contract": "0.5.
|
|
371
|
-
"@fungi.computer/darkroom": "0.11.
|
|
369
|
+
"@fungi.computer/computer": "0.14.3",
|
|
370
|
+
"@fungi.computer/computer-contract": "0.5.4",
|
|
371
|
+
"@fungi.computer/darkroom": "0.11.5",
|
|
372
372
|
"@fungi.computer/ear-tag": "0.1.0",
|
|
373
|
-
"@fungi.computer/forage": "0.3.
|
|
374
|
-
"@fungi.computer/gills": "0.
|
|
375
|
-
"@fungi.computer/knapsack": "0.4.
|
|
373
|
+
"@fungi.computer/forage": "0.3.12",
|
|
374
|
+
"@fungi.computer/gills": "0.4.0",
|
|
375
|
+
"@fungi.computer/knapsack": "0.4.17",
|
|
376
376
|
"@fungi.computer/lantern": "0.4.2",
|
|
377
|
-
"@fungi.computer/mycelium": "0.4.
|
|
378
|
-
"@fungi.computer/nacre": "0.
|
|
379
|
-
"@fungi.computer/parakeet": "0.
|
|
380
|
-
"@fungi.computer/puffball": "0.
|
|
377
|
+
"@fungi.computer/mycelium": "0.4.4",
|
|
378
|
+
"@fungi.computer/nacre": "0.8.0",
|
|
379
|
+
"@fungi.computer/parakeet": "0.13.0",
|
|
380
|
+
"@fungi.computer/puffball": "0.11.0",
|
|
381
381
|
"@fungi.computer/seam": "0.2.6",
|
|
382
|
-
"@fungi.computer/shiitake": "0.20.
|
|
383
|
-
"@fungi.computer/shiitake-extensions": "0.11.
|
|
382
|
+
"@fungi.computer/shiitake": "0.20.1",
|
|
383
|
+
"@fungi.computer/shiitake-extensions": "0.11.6",
|
|
384
384
|
"@fungi.computer/sigils": "0.3.2",
|
|
385
385
|
"@fungi.computer/sprite": "0.2.2",
|
|
386
386
|
"@fungi.computer/sprite-zdog": "0.3.2",
|
|
387
|
-
"@fungi.computer/veil": "0.7.
|
|
387
|
+
"@fungi.computer/veil": "0.7.8",
|
|
388
388
|
"@fungi.computer/watchdog": "0.1.4",
|
|
389
389
|
"@fungi.computer/whistle": "0.3.0",
|
|
390
|
-
"@fungi.computer/workflows-wire": "0.
|
|
391
|
-
"@fungi.computer/zookeeper": "0.0.
|
|
390
|
+
"@fungi.computer/workflows-wire": "0.5.0",
|
|
391
|
+
"@fungi.computer/zookeeper": "0.0.38",
|
|
392
392
|
"@modelcontextprotocol/server": "2.0.0",
|
|
393
393
|
"@msgpack/msgpack": "3.1.3",
|
|
394
394
|
"@pnpm/lockfile.fs": "1100.2.13",
|