@fungi.computer/oyster 0.52.1 → 0.53.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/docs/api/build.md CHANGED
@@ -1196,6 +1196,38 @@ policy describes a build this code does not perform.
1196
1196
 
1197
1197
  ---
1198
1198
 
1199
+ ### captureConfig()
1200
+
1201
+ ```ts
1202
+ function captureConfig(input): CapturedConfig;
1203
+ ```
1204
+
1205
+ Decode and pin one App Publisher configuration, with its recipe digest.
1206
+
1207
+ #### Parameters
1208
+
1209
+ | Parameter | Type |
1210
+ | -------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
1211
+ | `input` | \{ `appId`: `string`; `recipe`: \{ `kind?`: `"bundled-html"` \| `"source-html"`; `entry`: `string`; `assets?`: \{ `maxManifestBytes`: `number`; `maxObjects`: `number`; `maxObjectBytes`: `number`; `maxTotalBytes`: `number`; \}; `assetBase?`: `string`; `backend`: \| \{ `entry?`: `string`; `runtime`: \{ `kind`: `"durable-facet"` \| `"region"`; `stateSchema`: `number`; \}; `compatibilityDate`: `string`; `exportName`: `string`; \} \| `null`; `maxOutputBytes`: `number`; \}; \} |
1212
+ | `input.appId` | `string` |
1213
+ | `input.recipe` | \{ `kind?`: `"bundled-html"` \| `"source-html"`; `entry`: `string`; `assets?`: \{ `maxManifestBytes`: `number`; `maxObjects`: `number`; `maxObjectBytes`: `number`; `maxTotalBytes`: `number`; \}; `assetBase?`: `string`; `backend`: \| \{ `entry?`: `string`; `runtime`: \{ `kind`: `"durable-facet"` \| `"region"`; `stateSchema`: `number`; \}; `compatibilityDate`: `string`; `exportName`: `string`; \} \| `null`; `maxOutputBytes`: `number`; \} |
1214
+ | `input.recipe.kind?` | `"bundled-html"` \| `"source-html"` |
1215
+ | `input.recipe.entry` | `string` |
1216
+ | `input.recipe.assets?` | \{ `maxManifestBytes`: `number`; `maxObjects`: `number`; `maxObjectBytes`: `number`; `maxTotalBytes`: `number`; \} |
1217
+ | `input.recipe.assets.maxManifestBytes` | `number` |
1218
+ | `input.recipe.assets.maxObjects` | `number` |
1219
+ | `input.recipe.assets.maxObjectBytes` | `number` |
1220
+ | `input.recipe.assets.maxTotalBytes` | `number` |
1221
+ | `input.recipe.assetBase?` | `string` |
1222
+ | `input.recipe.backend` | \| \{ `entry?`: `string`; `runtime`: \{ `kind`: `"durable-facet"` \| `"region"`; `stateSchema`: `number`; \}; `compatibilityDate`: `string`; `exportName`: `string`; \} \| `null` |
1223
+ | `input.recipe.maxOutputBytes` | `number` |
1224
+
1225
+ #### Returns
1226
+
1227
+ [`CapturedConfig`](#capturedconfig)
1228
+
1229
+ ---
1230
+
1199
1231
  ### digestPinnedRecipe()
1200
1232
 
1201
1233
  ```ts
@@ -1698,6 +1730,36 @@ Local proving adapter; it builds only the captured extracted snapshot.
1698
1730
 
1699
1731
  ---
1700
1732
 
1733
+ ### createLocalCandidatesPreparer()
1734
+
1735
+ ```ts
1736
+ function createLocalCandidatesPreparer(options): Readonly<{
1737
+ prepareCandidates: (
1738
+ releaseIds,
1739
+ ) => Effect.Effect<readonly PreparedCandidate[], AppPublisherError>;
1740
+ }>;
1741
+ ```
1742
+
1743
+ Prepare several first-party Apps from one capture of one commit: one source
1744
+ snapshot, one frozen install and each workspace TypeScript config compiled once,
1745
+ then each App's stylesheets, page, declaration and backend in order. Every App
1746
+ keeps its own recipe digest and the capture's provenance; the first failure
1747
+ stops the pass.
1748
+
1749
+ #### Parameters
1750
+
1751
+ | Parameter | Type |
1752
+ | --------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
1753
+ | `options` | `Readonly`\<\{ `configs`: readonly [`AppPublisherCoreConfigInput`](#apppublishercoreconfiginput)[]; `sourceCapture`: [`SourceCapture`](#sourcecapture); `executor`: `Omit`\<[`LocalBuildExecutorOptions`](#localbuildexecutoroptions), `"packageScripts"`\>; \}\> |
1754
+
1755
+ #### Returns
1756
+
1757
+ `Readonly`\<\{ `prepareCandidates`: (`releaseIds`) => `Effect.Effect`\<readonly
1758
+ [`PreparedCandidate`](#preparedcandidate)[],
1759
+ [`AppPublisherError`](#apppublishererror)\>; \}\>
1760
+
1761
+ ---
1762
+
1701
1763
  ### createLocalArtifactWriter()
1702
1764
 
1703
1765
  ```ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fungi.computer/oyster",
3
- "version": "0.52.1",
3
+ "version": "0.53.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",
@@ -362,37 +362,37 @@
362
362
  "dependencies": {
363
363
  "@cfworker/json-schema": "4.1.1",
364
364
  "@earendil-works/pi-ai": "1.5.2",
365
- "@fungi.computer/agar": "0.25.0",
366
- "@fungi.computer/bird-dog": "0.3.7",
367
- "@fungi.computer/braid": "0.6.5",
365
+ "@fungi.computer/agar": "0.25.1",
366
+ "@fungi.computer/bird-dog": "0.3.8",
367
+ "@fungi.computer/braid": "0.6.6",
368
368
  "@fungi.computer/burrow": "0.2.1",
369
369
  "@fungi.computer/cairn": "0.1.0",
370
370
  "@fungi.computer/capnweb": "0.12.0-fungi.0",
371
- "@fungi.computer/caps": "0.12.3",
372
- "@fungi.computer/carrier": "0.2.5",
373
- "@fungi.computer/computer": "0.16.6",
374
- "@fungi.computer/computer-contract": "0.5.11",
375
- "@fungi.computer/darkroom": "0.11.13",
371
+ "@fungi.computer/caps": "0.12.5",
372
+ "@fungi.computer/carrier": "0.2.6",
373
+ "@fungi.computer/computer": "0.17.0",
374
+ "@fungi.computer/computer-contract": "0.6.0",
375
+ "@fungi.computer/darkroom": "0.11.14",
376
376
  "@fungi.computer/ear-tag": "0.1.0",
377
- "@fungi.computer/forage": "0.4.0",
377
+ "@fungi.computer/forage": "0.4.1",
378
378
  "@fungi.computer/gills": "0.4.0",
379
- "@fungi.computer/knapsack": "0.4.23",
379
+ "@fungi.computer/knapsack": "0.4.24",
380
380
  "@fungi.computer/lantern": "0.4.2",
381
- "@fungi.computer/mycelium": "0.4.8",
382
- "@fungi.computer/nacre": "0.8.7",
383
- "@fungi.computer/parakeet": "0.16.7",
384
- "@fungi.computer/puffball": "0.13.0",
385
- "@fungi.computer/seam": "0.2.6",
386
- "@fungi.computer/shiitake": "0.21.15",
387
- "@fungi.computer/shiitake-extensions": "0.12.4",
381
+ "@fungi.computer/mycelium": "0.4.9",
382
+ "@fungi.computer/nacre": "0.8.8",
383
+ "@fungi.computer/parakeet": "0.16.9",
384
+ "@fungi.computer/puffball": "0.13.1",
385
+ "@fungi.computer/seam": "0.2.7",
386
+ "@fungi.computer/shiitake": "0.21.16",
387
+ "@fungi.computer/shiitake-extensions": "0.12.5",
388
388
  "@fungi.computer/sigils": "0.3.2",
389
389
  "@fungi.computer/sprite": "0.2.2",
390
390
  "@fungi.computer/sprite-zdog": "0.3.2",
391
- "@fungi.computer/veil": "0.11.5",
392
- "@fungi.computer/watchdog": "0.1.4",
391
+ "@fungi.computer/veil": "0.11.6",
392
+ "@fungi.computer/watchdog": "0.1.5",
393
393
  "@fungi.computer/whistle": "0.3.0",
394
- "@fungi.computer/workflows-wire": "0.7.5",
395
- "@fungi.computer/zookeeper": "0.0.57",
394
+ "@fungi.computer/workflows-wire": "0.7.6",
395
+ "@fungi.computer/zookeeper": "0.0.58",
396
396
  "@jellybrick/dbus-next": "0.11.4",
397
397
  "@modelcontextprotocol/server": "2.0.0",
398
398
  "@msgpack/msgpack": "3.1.3",