refactor(mesh)!: a manifest carries step names, not scoped tokens

Every exported token is request-scope now, so the lifetime field had one
value and told a reader nothing. No protocol bump: mesh is alpha, both
peers ship from this repo, and the number should mean incompatibility
between deployed versions.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
This commit is contained in:
chrnx committed 2026-09-12 15:40:24 -05:00
1 parent f6c05a0929
commit 55890442fe
13 files changed
+104 -108

No files matched your search

+1 -1
View File
@@ -276,7 +276,7 @@ describe('mesh control over app.upgrade (no listen)', () => {
expect(peer.sent[0]).toMatchObject({
type: 'manifest',
v: MESH_PROTOCOL_VERSION,
scopes: expect.arrayContaining([{ token: 'config', scope: 'request' }]),
steps: expect.arrayContaining(['config']),
});
await teapot.close();
});