create-fungi-app 0.0.37 → 0.0.39

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-fungi-app",
3
- "version": "0.0.37",
3
+ "version": "0.0.39",
4
4
  "description": "Create a Caps and Agar App that runs on a standalone Oyster",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -27,7 +27,7 @@
27
27
  "dependencies": {
28
28
  "@fungi.computer/lantern": "0.4.2",
29
29
  "zod": "4.4.3",
30
- "@fungi.computer/oyster": "0.19.27",
30
+ "@fungi.computer/oyster": "0.19.29",
31
31
  "@fungi.computer/puffball": "0.5.5",
32
32
  "effect": "4.0.2",
33
33
  "validate-npm-package-name": "7.0.2",
@@ -57,9 +57,9 @@ use the ordinary Oyster CLI:
57
57
  ```sh
58
58
  export OYSTER_URL=https://your-oyster.example
59
59
  export OYSTER_OWNER_KEY='<your owner key>'
60
- npx oyster install ./dist --installation-id my-app
60
+ npx @fungi.computer/oyster install ./dist --installation-id my-app
61
61
  # The manifest path is also accepted:
62
- npx oyster install ./dist/release.json --installation-id my-app
62
+ npx @fungi.computer/oyster install ./dist/release.json --installation-id my-app
63
63
  ```
64
64
 
65
65
  Both forms use `installRelease` from `@fungi.computer/oyster/pack`: artifacts
@@ -77,21 +77,10 @@ any previous Release running. Local-only Computers return `no_backend`.
77
77
  The same Release format is used by Fungi. Building creates the Release locally;
78
78
  it does not install or publish it.
79
79
 
80
- ## Models and mascots
80
+ ## Assets
81
81
 
82
- When adding Quaternius art, add `@fungi.computer/art-library` and `three` as
83
- dependencies. Discover models through `@fungi.computer/art-library/models`: use
84
- `models` and `searchModels(models, query)` to find candidates, then
85
- `requireModel(models, id)` to pin a catalog ID rather than guessing filenames.
86
-
87
- Load the selected asset with `modelLoader()` from
88
- `@fungi.computer/art-library/three` and its `loadAsync(modelUrl)` method. This
89
- loader wires the Meshopt decoder needed by compressed models; a bare
90
- `GLTFLoader` does not.
91
-
92
- Include the chosen model (and any referenced buffers/textures) in the Release's
93
- built assets and use the emitted asset URL; the catalog row's `file` is not a
94
- public Oyster URL. Keep `fungi.build.assetBase` as `"./"` and URLs
82
+ Include assets and their referenced files in the Release's built assets and use
83
+ the emitted asset URL. Keep `fungi.build.assetBase` as `"./"` and URLs
95
84
  release-scoped under `/ui/<installation>/<release>/`. Resolve emitted relative
96
85
  paths against the App document base, for example
97
86
  `new URL("./assets/mascot.glb", document.baseURI).href` if that is the emitted
@@ -7,8 +7,8 @@
7
7
  "zod": "4.4.3"
8
8
  },
9
9
  "devDependencies": {
10
- "create-fungi-app": "0.0.37",
11
- "@fungi.computer/oyster": "0.19.27",
10
+ "create-fungi-app": "0.0.39",
11
+ "@fungi.computer/oyster": "0.19.29",
12
12
  "typescript": "5.9.3",
13
13
  "@types/react": "18.3.3",
14
14
  "@types/react-dom": "18.3.0",