@fangorn-network/westmarch 2026.10.28 → 2026.11.3
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 +4 -4
- package/dist/ts/eval.js +0 -0
- package/docs/app-to-agent.md +56 -552
- package/package.json +17 -19
- package/plugin/scripts/fx.mjs +3 -3
- package/site/dist/assets/__vite-browser-external-D2U8RZpp.js +1 -0
- package/site/dist/assets/embed.worker-CmS57Zti.js +1 -0
- package/site/dist/assets/index-Djs8f08m.js +8 -0
- package/site/dist/assets/roles-BDPDWrwo.js +1 -0
- package/site/dist/assets/roles-DKPW79Ca.js +1 -0
- package/site/dist/assets/rolldown-runtime-COiEfhsA.js +1 -0
- package/site/dist/assets/transformers.web-CUZUFjAK.js +49 -0
- package/site/dist/assets/transformers.web-CwR_IYQV.js +40 -0
- package/site/dist/index.html +20 -0
- package/site/dist/theme.css +7 -0
- package/site/worker.js +111 -337
- package/src/agent/agent-card.js +33 -45
- package/src/agent/mcp.js +139 -90
- package/src/agent/view-tools.js +0 -54
- package/src/agent/x402.js +182 -367
- package/src/core/embed.js +7 -3
- package/src/core/roles.js +6 -6
- package/src/core/shard.js +4 -4
- package/src/discover/apps.js +67 -81
- package/src/discover/directory.js +2 -2
- package/src/discover/explore.js +50 -114
- package/src/market/reactions.js +21 -15
- package/src/publish/devnet.js +67 -18
- package/src/publish/ship.js +70 -272
- package/src/publish/view.js +45 -47
- package/template/README.md +2 -2
- package/template/package.json +1 -1
- package/src/market/settle.js +0 -165
- package/src/market/terms.js +0 -200
- package/src/publish/cli.js +0 -336
- package/src/publish/envelope.js +0 -185
- package/src/publish/manifest.js +0 -142
package/README.md
CHANGED
|
@@ -20,9 +20,9 @@ An app on the free tier is one Cloudflare Worker (`site/worker.js`), and nobody
|
|
|
20
20
|
after the deploy:
|
|
21
21
|
|
|
22
22
|
- **Indexer.** A cron follows the update log from where it left off, and runs the
|
|
23
|
-
embedding lens (WHITEPAPER_1 §3.4) over every
|
|
23
|
+
embedding lens (WHITEPAPER_1 §3.4) over every repo it lists whose head moved: `view.js`, with
|
|
24
24
|
the Worker's AI binding as the encoder (`@cf/google/embeddinggemma-300m`, 256 dims). The view
|
|
25
|
-
goes to R2. A repo
|
|
25
|
+
goes to R2. A repo the app stops listing loses its domain on the next run.
|
|
26
26
|
- **View.** `/view/cdn/…`: the catalog, manifests and content-named shards a reader ranks in
|
|
27
27
|
its own tab, so a query need never leave it.
|
|
28
28
|
- **MCP.** `/mcp`, streamable HTTP: describe, search, get, similar, count, browse and threads
|
|
@@ -40,7 +40,7 @@ gateway, publishers, and the Worker under `wrangler dev` with its real AI bindin
|
|
|
40
40
|
|
|
41
41
|
**For Publishers** — shape a tree into a commit graph, describe what's in it, seal and upload the bytes. Needs `fangorn`. Runs anywhere: a script, a server, a browser.
|
|
42
42
|
|
|
43
|
-
**For Consumers** — read
|
|
43
|
+
**For Consumers** — read an app's view (its Semantic CDN shards) in the reader's own process and rank them there. Needs a view URL and nothing else. No index server, no chain read, and the query never leaves the tab.
|
|
44
44
|
|
|
45
45
|
The two halves never talk to each other. A publisher writes a graph; some
|
|
46
46
|
watcher bakes it into a view; a consumer reads the view. Either half is useful
|
|
@@ -242,7 +242,7 @@ A generic reader has one hard problem: it has rows and no idea which field is
|
|
|
242
242
|
the title. Hardcode `name` and it works on one bundle and returns `undefined` on
|
|
243
243
|
the next.
|
|
244
244
|
|
|
245
|
-
The answer is already baked. A
|
|
245
|
+
The answer is already baked. A view's domain manifest carries `role_map`
|
|
246
246
|
(title, subtitle, tags, the prose to search, measures, location, link) and
|
|
247
247
|
`presentation` (icon, accent and singular/plural per entity type, plus per-type
|
|
248
248
|
external URL templates). `rolesFrom(manifests, sample)` merges that across the
|
package/dist/ts/eval.js
CHANGED
|
File without changes
|