openvibers/openvibe.contracts Commits

Contracts 0.134.0: community.resource.read (pastes and spaces in the merged index) (#87)

OP OpenVibers committed 10 Oct 2026 · tag v0.134 · 0 files, +0 −0

Plan T13: a person's pastes and spaces in OpenVibe.Services' merged index. "Your resources" already shows their robots, rooms, streams, watches and Actor tasks; OpenVibe.Community, which owns pastes, had no index.

- **`community.resource.read`** (owner `community`, first-party, **active**): `GET /api/v1/resources` and `GET /api/v1/resources/:ovrn` on Community, two kinds:
  - `community.paste`: id the slug, named by its title, state its visibility (public, unlisted, private), owner its owner. Deleted pastes are left out.
  - `community.space`: id the slug, named by its name, state its visibility (public, members, staff), owner its creator.
  - Both are person-owned, so no project and no OVRN (`/:ovrn` is 404 for every name).
  - Filters: `kind`, `owner`, `project` (always empty here), `cursor`, `limit`.
- `manifests/services/community.json` lists the capability.
- Community ships the index with its pin to this release; Network then grants the `services` principal, and Services reads it from the manifest's `internalOrigin` on its pin bump.

`node test/run.js`: 18,415 checks passed; compat: no breaking changes.

This commit has no diff to show.