@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.
Files changed (37) hide show
  1. package/README.md +4 -4
  2. package/dist/ts/eval.js +0 -0
  3. package/docs/app-to-agent.md +56 -552
  4. package/package.json +17 -19
  5. package/plugin/scripts/fx.mjs +3 -3
  6. package/site/dist/assets/__vite-browser-external-D2U8RZpp.js +1 -0
  7. package/site/dist/assets/embed.worker-CmS57Zti.js +1 -0
  8. package/site/dist/assets/index-Djs8f08m.js +8 -0
  9. package/site/dist/assets/roles-BDPDWrwo.js +1 -0
  10. package/site/dist/assets/roles-DKPW79Ca.js +1 -0
  11. package/site/dist/assets/rolldown-runtime-COiEfhsA.js +1 -0
  12. package/site/dist/assets/transformers.web-CUZUFjAK.js +49 -0
  13. package/site/dist/assets/transformers.web-CwR_IYQV.js +40 -0
  14. package/site/dist/index.html +20 -0
  15. package/site/dist/theme.css +7 -0
  16. package/site/worker.js +111 -337
  17. package/src/agent/agent-card.js +33 -45
  18. package/src/agent/mcp.js +139 -90
  19. package/src/agent/view-tools.js +0 -54
  20. package/src/agent/x402.js +182 -367
  21. package/src/core/embed.js +7 -3
  22. package/src/core/roles.js +6 -6
  23. package/src/core/shard.js +4 -4
  24. package/src/discover/apps.js +67 -81
  25. package/src/discover/directory.js +2 -2
  26. package/src/discover/explore.js +50 -114
  27. package/src/market/reactions.js +21 -15
  28. package/src/publish/devnet.js +67 -18
  29. package/src/publish/ship.js +70 -272
  30. package/src/publish/view.js +45 -47
  31. package/template/README.md +2 -2
  32. package/template/package.json +1 -1
  33. package/src/market/settle.js +0 -165
  34. package/src/market/terms.js +0 -200
  35. package/src/publish/cli.js +0 -336
  36. package/src/publish/envelope.js +0 -185
  37. 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 member's repo whose head moved: `view.js`, with
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 whose publisher leaves the app, or that the app excludes, loses its domain on the next run.
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 a quickbeam view's 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.
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 quickbeam domain manifest carries `role_map`
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