@dxos/protocols 0.9.0 → 0.9.1-main.c7dcc2e112

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 (35) hide show
  1. package/dist/src/Config2.d.ts +91 -0
  2. package/dist/src/Config2.d.ts.map +1 -0
  3. package/dist/src/Config2.js +56 -0
  4. package/dist/src/Config2.js.map +1 -0
  5. package/dist/src/edge/edge.d.ts +82 -0
  6. package/dist/src/edge/edge.d.ts.map +1 -1
  7. package/dist/src/edge/edge.js +50 -0
  8. package/dist/src/edge/edge.js.map +1 -1
  9. package/dist/src/edge/registry.d.ts +231 -144
  10. package/dist/src/edge/registry.d.ts.map +1 -1
  11. package/dist/src/edge/registry.js +126 -87
  12. package/dist/src/edge/registry.js.map +1 -1
  13. package/dist/src/index.d.ts +1 -0
  14. package/dist/src/index.d.ts.map +1 -1
  15. package/dist/src/index.js +1 -0
  16. package/dist/src/index.js.map +1 -1
  17. package/dist/src/proto/gen/dxos/client/services.d.ts +162 -162
  18. package/dist/src/proto/gen/dxos/client/services.d.ts.map +1 -1
  19. package/dist/src/proto/gen/dxos/client/services.js.map +1 -1
  20. package/dist/src/proto/gen/google/protobuf.d.ts +27 -27
  21. package/dist/src/proto/gen/google/protobuf.d.ts.map +1 -1
  22. package/dist/src/proto/gen/google/protobuf.js.map +1 -1
  23. package/dist/tsconfig.tsbuildinfo +1 -1
  24. package/package.json +10 -9
  25. package/src/Config2.ts +68 -0
  26. package/src/edge/edge.ts +62 -0
  27. package/src/edge/registry.ts +142 -101
  28. package/src/index.ts +1 -0
  29. package/src/lexicons/org.dxos.experimental/README.md +29 -0
  30. package/src/lexicons/org.dxos.experimental/package.profile.json +87 -0
  31. package/src/lexicons/org.dxos.experimental/package.release.json +45 -0
  32. package/src/lexicons/org.dxos.experimental/publisher.profile.json +37 -0
  33. package/src/lexicons/org.dxos.experimental/publisher.verification.json +36 -0
  34. package/src/proto/gen/dxos/client/services.ts +162 -162
  35. package/src/proto/gen/google/protobuf.ts +27 -27
@@ -2,30 +2,13 @@
2
2
  // Copyright 2026 DXOS.org
3
3
  //
4
4
  import * as Schema from 'effect/Schema';
5
+ import * as Config2 from '../Config2.js';
5
6
  /**
6
- * Hydrated plugin metadata, mirroring the @dxos/app-framework `Plugin.Meta` shape.
7
- *
8
- * Defined locally rather than imported from @dxos/app-framework to keep the protocols
9
- * package free of UI/runtime dependencies. Consumers can treat decoded values as
10
- * `Plugin.Meta` directly.
11
- */
12
- export const PluginMetaSchema = Schema.Struct({
13
- id: Schema.String.pipe(Schema.nonEmptyString()),
14
- name: Schema.String.pipe(Schema.nonEmptyString()),
15
- description: Schema.optional(Schema.String),
16
- author: Schema.optional(Schema.String),
17
- homePage: Schema.optional(Schema.String),
18
- source: Schema.optional(Schema.String),
19
- screenshots: Schema.optional(Schema.Array(Schema.String)),
20
- tags: Schema.optional(Schema.Array(Schema.String)),
21
- icon: Schema.optional(Schema.String),
22
- iconHue: Schema.optional(Schema.String),
23
- });
24
- /**
25
- * Health signal the registry service attaches to a hydrated entry when a refresh fails.
26
- * Clients surface the appropriate badge or filter entries based on this field.
7
+ * A snapshot of a plugin's declared dependencies resolved to concrete installed versions at build
8
+ * time (`{ "@dxos/app-framework": "0.8.3", "react": "19.2.0", … }`). The host derives SDK
9
+ * compatibility from the subset it shares with the plugin (the externalized `@dxos/*` packages).
27
10
  */
28
- export const PluginHealthSchema = Schema.Literal('ok', 'release-missing', 'manifest-invalid', 'repo-unavailable');
11
+ export const DependencyMapSchema = Schema.Record({ key: Schema.String, value: Schema.String });
29
12
  /**
30
13
  * Filename of the entry module every plugin must publish at the root of its bundle.
31
14
  * The host dynamic-imports `<manifest URL base>/index.mjs` directly — no per-plugin
@@ -43,7 +26,7 @@ export const PLUGIN_ENTRY_FILENAME = 'index.mjs';
43
26
  * Paths in `assets` are relative to the manifest's URL.
44
27
  */
45
28
  export const PluginManifestSchema = Schema.Struct({
46
- ...PluginMetaSchema.fields,
29
+ ...Config2.Plugin.fields,
47
30
  /** Plugin version (semver). Sourced from the publishing project's `package.json`. */
48
31
  version: Schema.String.pipe(Schema.nonEmptyString()),
49
32
  /**
@@ -51,89 +34,145 @@ export const PluginManifestSchema = Schema.Struct({
51
34
  * Must include {@link PLUGIN_ENTRY_FILENAME}; consumers verify on parse.
52
35
  */
53
36
  assets: Schema.Array(Schema.String).pipe(Schema.minItems(1)),
37
+ /** Declared dependencies resolved to installed versions at build time (SDK-compat source). */
38
+ dependencies: Schema.optional(DependencyMapSchema),
54
39
  });
40
+ // ─── ATProto-native registry view ────────────────────────────────────────────
55
41
  /**
56
- * Single hydrated plugin entry returned by the registry service.
42
+ * A single installable release of a plugin, projected from a `package.release`
43
+ * ATProto record.
57
44
  */
58
- export const PluginEntrySchema = Schema.Struct({
59
- /** GitHub repository in `owner/name` form. Empty string for entries sourced from a `manifestUrl`. */
60
- repo: Schema.String,
61
- /** Plugin metadata from the repo's latest-release `manifest.json`. */
62
- meta: PluginMetaSchema,
45
+ export const PluginReleaseSchema = Schema.Struct({
46
+ /** Semver version string, e.g. `0.8.3`. */
47
+ version: Schema.String.pipe(Schema.nonEmptyString()),
48
+ /** URL the host dynamic-imports to install this specific version. */
49
+ moduleUrl: Schema.String.pipe(Schema.nonEmptyString()),
63
50
  /**
64
- * URL of the plugin's `manifest.json`. Composer's URL loader fetches this, eagerly caches
65
- * every declared asset via the platform `PluginAssetCache`, then dynamic-imports the entry.
66
- * The URL must be CORS-safe and have its declared assets reachable as siblings.
51
+ * Dependencies this release was built against, resolved to installed versions. The host derives
52
+ * SDK compatibility from the `@dxos/*` subset to decide whether to offer this release.
67
53
  */
68
- moduleUrl: Schema.String,
69
- /** Release tag the entry was resolved from (e.g. `v0.1.0`). Empty string for `manifestUrl` entries. */
70
- releaseTag: Schema.String,
71
- /** Health signal set by the service when an entry fails to refresh. */
72
- health: PluginHealthSchema,
73
- /** Unix ms when this entry was last successfully hydrated. */
74
- hydratedAt: Schema.Number,
54
+ dependencies: Schema.optional(DependencyMapSchema),
75
55
  });
76
56
  /**
77
- * Response body of `GET /registry/plugins`.
57
+ * Verbatim content of a `package.profile` ATProto record. `key` is the record's rkey (a reverse-domain
58
+ * NSID), denormalized into the body. Version-independent identity + display metadata; provenance
59
+ * (`author`) is resolved separately from the publisher DID/handle.
78
60
  */
79
- export const GetPluginsResponseBodySchema = Schema.Struct({
80
- /** Wire-format schema version, pinned to 1. */
81
- version: Schema.Literal(1),
82
- /** Hydrated entries. Order matches the order in the upstream catalog manifest. */
83
- plugins: Schema.Array(PluginEntrySchema),
84
- /** Unix ms timestamp of the most recent successful refresh cycle. */
85
- refreshedAt: Schema.Number,
61
+ export const PluginProfileSchema = Schema.Struct({
62
+ /** Reverse-domain NSID the plugin's globally-unique key and the `package.profile` rkey (e.g. `org.dxos.plugin.excalidraw`). */
63
+ key: Schema.String.pipe(Schema.nonEmptyString()),
64
+ /** Plugin display name. */
65
+ name: Schema.String.pipe(Schema.nonEmptyString()),
66
+ /** Short description of plugin functionality. */
67
+ description: Schema.optional(Schema.String),
68
+ /** Publisher's homepage or plugin documentation URL. */
69
+ homePage: Schema.optional(Schema.String),
70
+ /** Source repository URL. */
71
+ source: Schema.optional(Schema.String),
72
+ /** Tags to help categorize the plugin. */
73
+ tags: Schema.optional(Schema.Array(Schema.String)),
74
+ /** Preview images — theme-keyed screenshot URLs shown on the plugin's card. */
75
+ screenshots: Schema.optional(Schema.Array(Config2.Screenshot)),
76
+ /** Icon identifier resolvable by `@ch-ui/icons` (e.g. `ph--sparkle--regular`), with an optional palette hue. */
77
+ icon: Schema.optional(Config2.Icon),
78
+ /** Composer plugin ids this plugin depends on at runtime (NSIDs). Author-declared, version-independent. */
79
+ dependsOn: Schema.optional(Schema.Array(Schema.String)),
80
+ /** Relative path inside the package to a bundled MDL spec (consumed by plugin-code). */
81
+ spec: Schema.optional(Schema.String),
86
82
  });
87
83
  /**
88
- * A single published version of a plugin, as returned by the registry service's
89
- * versions endpoint. Sourced from the publishing project's GitHub releases.
84
+ * A single hydrated plugin entry returned by `GET /registry/plugins`.
85
+ *
86
+ * This is an indexer-assembled *view* — analogous to emdash's `PackageView` — projected
87
+ * from four ATProto record types: `package.profile`, `package.release`,
88
+ * `publisher.profile`, and `publisher.verification`. It is NOT a direct serialization
89
+ * of any single ATProto record.
90
90
  *
91
- * The host treats `tag` opaquely; ordering — newest first — is the service's
92
- * responsibility (typically reverse-chronological by release date).
91
+ * Design notes:
92
+ * - `profile.key` is required to be a valid NSID (e.g. `org.dxos.plugin.excalidraw`), making it
93
+ * the single identifier for both PDS addressing and the composer runtime plugin id.
94
+ * `DXN.make(profile.key, latestVersion)` reconstructs the canonical plugin DXN.
95
+ * - `releases` inlines all known versions, eliminating a separate versions round-trip for
96
+ * the version picker. Ordered newest-first.
97
+ * - `latestVersion` is a convenience pointer into `releases` indicating the recommended
98
+ * install target.
93
99
  */
94
- export const PluginVersionSchema = Schema.Struct({
95
- /** Release tag (e.g. `v0.1.21`). Stable identifier for this version. */
96
- tag: Schema.String.pipe(Schema.nonEmptyString()),
100
+ export const PluginViewSchema = Schema.Struct({
101
+ // ── Addressing / provenance (indexer-derived) ────────────────────────────
97
102
  /**
98
- * URL of this version's `manifest.json`. Matches the shape of {@link PluginEntrySchema.fields.moduleUrl}
99
- * but pinned to a specific release rather than the latest. Composer's URL loader fetches
100
- * this when the user installs / rolls back to this version.
103
+ * `at://` URI of the source `package.profile` record.
104
+ * Globally unique and stable never changes after the record is published.
101
105
  */
102
- moduleUrl: Schema.String.pipe(Schema.nonEmptyString()),
103
- /** Unix ms when the version was released. Optional services that lack this signal can omit. */
104
- releasedAt: Schema.optional(Schema.Number),
106
+ uri: Schema.String.pipe(Schema.nonEmptyString()),
107
+ /** Publisher DID, e.g. `did:plc:abc…`. Cryptographic identity; never changes. */
108
+ did: Schema.String.pipe(Schema.nonEmptyString()),
109
+ /**
110
+ * Publisher AT Protocol handle at index time, e.g. `alice.bsky.social`.
111
+ * Display-only — handles can be reassigned; never use as a stable key.
112
+ */
113
+ handle: Schema.optional(Schema.String),
114
+ /** Unix ms when the indexer last assembled this entry. */
115
+ indexedAt: Schema.Number,
116
+ /**
117
+ * Trust labels derived from curator `publisher.verification` records.
118
+ * An empty array means the entry has no verification signal.
119
+ */
120
+ labels: Schema.Array(Schema.String),
121
+ // ── Verbatim profile record content ─────────────────────────────────────
122
+ profile: PluginProfileSchema,
123
+ // ── Releases (projected from package.release records) ───────────────────
124
+ /**
125
+ * All known releases for this package, ordered newest-first.
126
+ * Powers the version picker directly — no separate endpoint needed.
127
+ */
128
+ releases: Schema.Array(PluginReleaseSchema),
129
+ /**
130
+ * The latest (recommended) release version. Always references an entry in `releases`.
131
+ * Used by the host to determine whether an update is available.
132
+ */
133
+ latestVersion: Schema.String.pipe(Schema.nonEmptyString()),
105
134
  });
106
135
  /**
107
- * Response body of `GET /registry/plugins/:repo/versions`.
108
- *
109
- * `:repo` is the GitHub `owner/name` form, URL-encoded (so `/` is escaped).
110
- * Returns all hydratable releases for the repo, newest first; clients display them
111
- * in the version picker for install / roll-back. Unauthenticated; same surface area
112
- * as `GET /registry/plugins`.
136
+ * Response body of `GET /registry/plugins`.
113
137
  */
114
- export const GetPluginVersionsResponseBodySchema = Schema.Struct({
115
- /** Wire-format schema version, pinned to 1. */
116
- version: Schema.Literal(1),
117
- /** Available versions for the requested repo, newest first. */
118
- versions: Schema.Array(PluginVersionSchema),
119
- /** Unix ms timestamp of the most recent successful refresh cycle for this repo. */
138
+ export const GetPluginsResponseBodySchema = Schema.Struct({
139
+ /** Wire-format schema version, pinned to 2. */
140
+ version: Schema.Literal(2),
141
+ /** Hydrated entries. */
142
+ plugins: Schema.Array(PluginViewSchema),
143
+ /** Unix ms timestamp of the most recent successful index cycle. */
120
144
  refreshedAt: Schema.Number,
121
145
  });
146
+ // ─── Publisher records ────────────────────────────────────────────────────────
147
+ /** Content of a `publisher.profile` ATProto record. Display metadata for a publisher DID. */
148
+ export const PublisherProfileSchema = Schema.Struct({
149
+ displayName: Schema.String.pipe(Schema.nonEmptyString()),
150
+ bio: Schema.optional(Schema.String),
151
+ homepageUrl: Schema.optional(Schema.String),
152
+ contact: Schema.optional(Schema.String),
153
+ });
122
154
  /**
123
- * A catalog entry. Two flavours:
124
- * - `{ repo }`: the registry service hydrates from the GitHub repo's latest release.
125
- * Used by the production catalog.
126
- * - `{ manifestUrl }`: the registry service skips GitHub and fetches the manifest directly.
127
- * Used for local development against an in-progress plugin (e.g. served by `vite preview`)
128
- * so authors can iterate without publishing a release.
129
- */
130
- export const RegistryEntrySchema = Schema.Union(Schema.Struct({ repo: Schema.String.pipe(Schema.nonEmptyString()) }), Schema.Struct({ manifestUrl: Schema.String.pipe(Schema.nonEmptyString()) }));
131
- /**
132
- * Shape of the catalog manifest published in the upstream community-plugins repo.
133
- * Extra keys (e.g. `$schema`) are permitted.
155
+ * Content of a `publisher.verification` record written by the curator DID.
156
+ * Links a publisher DID to a trusted AT Protocol handle.
134
157
  */
135
- export const RegistryManifestSchema = Schema.Struct({
136
- version: Schema.Literal(1),
137
- plugins: Schema.Array(RegistryEntrySchema),
138
- }, Schema.Record({ key: Schema.String, value: Schema.Unknown }));
158
+ export const PublisherVerificationSchema = Schema.Struct({
159
+ subject: Schema.String.pipe(Schema.nonEmptyString()),
160
+ handle: Schema.String.pipe(Schema.nonEmptyString()),
161
+ displayName: Schema.String.pipe(Schema.nonEmptyString()),
162
+ createdAt: Schema.String.pipe(Schema.nonEmptyString()),
163
+ });
164
+ // ─── NSID constants ───────────────────────────────────────────────────────────
165
+ /** NSID constants for the four `org.dxos.experimental.*` record collections. */
166
+ export const NSID = {
167
+ PackageProfile: 'org.dxos.experimental.package.profile',
168
+ PackageRelease: 'org.dxos.experimental.package.release',
169
+ PublisherProfile: 'org.dxos.experimental.publisher.profile',
170
+ PublisherVerification: 'org.dxos.experimental.publisher.verification',
171
+ };
172
+ export const ALL_NSIDS = [
173
+ NSID.PackageProfile,
174
+ NSID.PackageRelease,
175
+ NSID.PublisherProfile,
176
+ NSID.PublisherVerification,
177
+ ];
139
178
  //# sourceMappingURL=registry.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"registry.js","sourceRoot":"","sources":["../../../src/edge/registry.ts"],"names":[],"mappings":"AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;AAEF,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,CAAC;IAC5C,EAAE,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,cAAc,EAAE,CAAC;IAC/C,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,cAAc,EAAE,CAAC;IACjD,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC3C,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACtC,QAAQ,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACtC,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACzD,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAClD,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACpC,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CACxC,CAAC,CAAC;AAGH;;;GAGG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,kBAAkB,CAAC,CAAC;AAGlH;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,CAAC,MAAM,CAAC,MAAM,CAAC;CACxC,CAAC,CAAC;AAGH;;;GAGG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,MAAM,CAAC,MAAM,CAAC;IACvD,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,cAAc,EAAE,CAAC;IACpD,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,cAAc,EAAE,CAAC;IACnD,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,cAAc,EAAE,CAAC;IACxD,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,cAAc,EAAE,CAAC;CACvD,CAAC,CAAC;AAGH,iFAAiF;AAEjF,gFAAgF;AAChF,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,cAAc,EAAE,uCAAuC;IACvD,cAAc,EAAE,uCAAuC;IACvD,gBAAgB,EAAE,yCAAyC;IAC3D,qBAAqB,EAAE,8CAA8C;CAC7D,CAAC;AAIX,MAAM,CAAC,MAAM,SAAS,GAA4B;IAChD,IAAI,CAAC,cAAc;IACnB,IAAI,CAAC,cAAc;IACnB,IAAI,CAAC,gBAAgB;IACrB,IAAI,CAAC,qBAAqB;CAC3B,CAAC"}
@@ -7,6 +7,7 @@ export * from './profile-archive.ts';
7
7
  export * from './space-archive.ts';
8
8
  export * from './storage.ts';
9
9
  export type * from './types.ts';
10
+ export * as Config2 from './Config2.ts';
10
11
  export * as FunctionProtocol from './FunctionProtocol.ts';
11
12
  export * as FeedProtocol from './FeedProtocol.ts';
12
13
  export * as TraceProtocol from './TraceProtocol.ts';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,mBAAmB,YAAY,CAAC;AAChC,OAAO,KAAK,gBAAgB,MAAM,uBAAuB,CAAC;AAC1D,OAAO,KAAK,YAAY,MAAM,mBAAmB,CAAC;AAClD,OAAO,KAAK,aAAa,MAAM,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,mBAAmB,YAAY,CAAC;AAChC,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AACxC,OAAO,KAAK,gBAAgB,MAAM,uBAAuB,CAAC;AAC1D,OAAO,KAAK,YAAY,MAAM,mBAAmB,CAAC;AAClD,OAAO,KAAK,aAAa,MAAM,oBAAoB,CAAC"}
package/dist/src/index.js CHANGED
@@ -9,6 +9,7 @@ export * from './messenger.js';
9
9
  export * from './profile-archive.js';
10
10
  export * from './space-archive.js';
11
11
  export * from './storage.js';
12
+ export * as Config2 from './Config2.js';
12
13
  export * as FunctionProtocol from './FunctionProtocol.js';
13
14
  export * as FeedProtocol from './FeedProtocol.js';
14
15
  export * as TraceProtocol from './TraceProtocol.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;AAEF,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAE7B,OAAO,KAAK,gBAAgB,MAAM,uBAAuB,CAAC;AAC1D,OAAO,KAAK,YAAY,MAAM,mBAAmB,CAAC;AAClD,OAAO,KAAK,aAAa,MAAM,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;AAEF,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAE7B,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AACxC,OAAO,KAAK,gBAAgB,MAAM,uBAAuB,CAAC;AAC1D,OAAO,KAAK,YAAY,MAAM,mBAAmB,CAAC;AAClD,OAAO,KAAK,aAAa,MAAM,oBAAoB,CAAC"}
@@ -11,168 +11,6 @@ import * as dxos_mesh_presence from "../mesh/presence.js";
11
11
  import * as dxos_mesh_signal from "../mesh/signal.js";
12
12
  import * as dxos_mesh_teleport_gossip from "../mesh/teleport/gossip.js";
13
13
  import * as dxos_value from "../value.js";
14
- /**
15
- * Defined in: `../../../dxos/client/queue.proto`
16
- */
17
- export interface QueueQuery {
18
- spaceId: string;
19
- /**
20
- * Options:
21
- * - proto3_optional = true
22
- */
23
- queuesNamespace?: string;
24
- /**
25
- * Queries the whole space if missing.
26
- */
27
- queueIds?: string[];
28
- /**
29
- * Filter items after this cursor. Exclusive.
30
- *
31
- * Options:
32
- * - proto3_optional = true
33
- */
34
- after?: string;
35
- /**
36
- * Filter items before this cursor. Exclusive.
37
- *
38
- * Options:
39
- * - proto3_optional = true
40
- */
41
- before?: string;
42
- /**
43
- * Filter items after this position. Inclusive.
44
- *
45
- * Options:
46
- * - proto3_optional = true
47
- */
48
- beginPosition?: string;
49
- /**
50
- * Filter items before this position. Exclusive.
51
- *
52
- * Options:
53
- * - proto3_optional = true
54
- */
55
- endPosition?: string;
56
- /**
57
- * Options:
58
- * - proto3_optional = true
59
- */
60
- limit?: number;
61
- /**
62
- * Options:
63
- * - proto3_optional = true
64
- */
65
- reverse?: boolean;
66
- objectIds?: string[];
67
- }
68
- /**
69
- * Defined in: `../../../dxos/client/queue.proto`
70
- */
71
- export interface QueueQueryResult {
72
- /**
73
- * coerces `undefined` to `null`, corrupting optional fields.
74
- */
75
- objects?: string[];
76
- /**
77
- * Cursor to query the next items. Can be passed to `after` in query to keep querying.
78
- */
79
- nextCursor: string;
80
- prevCursor: string;
81
- }
82
- /**
83
- * Defined in: `../../../dxos/client/queue.proto`
84
- */
85
- export interface QueryQueueRequest {
86
- query: QueueQuery;
87
- }
88
- /**
89
- * Defined in: `../../../dxos/client/queue.proto`
90
- */
91
- export interface InsertIntoQueueRequest {
92
- subspaceTag: string;
93
- spaceId: string;
94
- queueId: string;
95
- /**
96
- * JSON-encoded object payloads. Each entry is a serialized ObjectJSON.
97
- */
98
- objects?: string[];
99
- }
100
- /**
101
- * Defined in: `../../../dxos/client/queue.proto`
102
- */
103
- export interface DeleteFromQueueRequest {
104
- subspaceTag: string;
105
- spaceId: string;
106
- queueId: string;
107
- objectIds?: string[];
108
- }
109
- /**
110
- * Defined in: `../../../dxos/client/queue.proto`
111
- */
112
- export interface SyncQueueRequest {
113
- subspaceTag: string;
114
- spaceId: string;
115
- queueId: string;
116
- /**
117
- * Whether to push local changes to the server. Defaults to true.
118
- *
119
- * Options:
120
- * - proto3_optional = true
121
- */
122
- shouldPush?: boolean;
123
- /**
124
- * Whether to pull remote changes from the server. Defaults to true.
125
- *
126
- * Options:
127
- * - proto3_optional = true
128
- */
129
- shouldPull?: boolean;
130
- }
131
- /**
132
- * Defined in: `../../../dxos/client/queue.proto`
133
- */
134
- export interface GetSyncStateRequest {
135
- spaceId: string;
136
- /**
137
- * If empty, returns state for all namespaces synced by the client.
138
- */
139
- namespaces?: string[];
140
- }
141
- /**
142
- * Defined in: `../../../dxos/client/queue.proto`
143
- */
144
- export interface QueueNamespaceSyncState {
145
- namespace: string;
146
- /**
147
- * Blocks still to pull from remote. 0 when caught up.
148
- */
149
- blocksToPull: string;
150
- /**
151
- * Unpositioned blocks still to push to remote. 0 when caught up.
152
- */
153
- blocksToPush: string;
154
- /**
155
- * Total blocks stored locally for this namespace in the space.
156
- */
157
- totalBlocks: string;
158
- }
159
- /**
160
- * Defined in: `../../../dxos/client/queue.proto`
161
- */
162
- export interface GetSyncStateResponse {
163
- namespaces?: QueueNamespaceSyncState[];
164
- }
165
- /**
166
- * Defined in:
167
- * {@link file://./../../../dxos/client/queue.proto}
168
- */
169
- export interface QueueService {
170
- queryQueue: (request: QueryQueueRequest, options?: RequestOptions) => Promise<QueueQueryResult>;
171
- insertIntoQueue: (request: InsertIntoQueueRequest, options?: RequestOptions) => Promise<void>;
172
- deleteFromQueue: (request: DeleteFromQueueRequest, options?: RequestOptions) => Promise<void>;
173
- syncQueue: (request: SyncQueueRequest, options?: RequestOptions) => Promise<void>;
174
- getSyncState: (request: GetSyncStateRequest, options?: RequestOptions) => Promise<GetSyncStateResponse>;
175
- }
176
14
  /**
177
15
  * Defined in:
178
16
  * {@link file://./../../../dxos/client/services.proto}
@@ -1177,6 +1015,168 @@ export declare namespace QueryAgentStatusResponse {
1177
1015
  NOT_FOUND = 3
1178
1016
  }
1179
1017
  }
1018
+ /**
1019
+ * Defined in: `../../../dxos/client/queue.proto`
1020
+ */
1021
+ export interface QueueQuery {
1022
+ spaceId: string;
1023
+ /**
1024
+ * Options:
1025
+ * - proto3_optional = true
1026
+ */
1027
+ queuesNamespace?: string;
1028
+ /**
1029
+ * Queries the whole space if missing.
1030
+ */
1031
+ queueIds?: string[];
1032
+ /**
1033
+ * Filter items after this cursor. Exclusive.
1034
+ *
1035
+ * Options:
1036
+ * - proto3_optional = true
1037
+ */
1038
+ after?: string;
1039
+ /**
1040
+ * Filter items before this cursor. Exclusive.
1041
+ *
1042
+ * Options:
1043
+ * - proto3_optional = true
1044
+ */
1045
+ before?: string;
1046
+ /**
1047
+ * Filter items after this position. Inclusive.
1048
+ *
1049
+ * Options:
1050
+ * - proto3_optional = true
1051
+ */
1052
+ beginPosition?: string;
1053
+ /**
1054
+ * Filter items before this position. Exclusive.
1055
+ *
1056
+ * Options:
1057
+ * - proto3_optional = true
1058
+ */
1059
+ endPosition?: string;
1060
+ /**
1061
+ * Options:
1062
+ * - proto3_optional = true
1063
+ */
1064
+ limit?: number;
1065
+ /**
1066
+ * Options:
1067
+ * - proto3_optional = true
1068
+ */
1069
+ reverse?: boolean;
1070
+ objectIds?: string[];
1071
+ }
1072
+ /**
1073
+ * Defined in: `../../../dxos/client/queue.proto`
1074
+ */
1075
+ export interface QueueQueryResult {
1076
+ /**
1077
+ * coerces `undefined` to `null`, corrupting optional fields.
1078
+ */
1079
+ objects?: string[];
1080
+ /**
1081
+ * Cursor to query the next items. Can be passed to `after` in query to keep querying.
1082
+ */
1083
+ nextCursor: string;
1084
+ prevCursor: string;
1085
+ }
1086
+ /**
1087
+ * Defined in: `../../../dxos/client/queue.proto`
1088
+ */
1089
+ export interface QueryQueueRequest {
1090
+ query: QueueQuery;
1091
+ }
1092
+ /**
1093
+ * Defined in: `../../../dxos/client/queue.proto`
1094
+ */
1095
+ export interface InsertIntoQueueRequest {
1096
+ subspaceTag: string;
1097
+ spaceId: string;
1098
+ queueId: string;
1099
+ /**
1100
+ * JSON-encoded object payloads. Each entry is a serialized ObjectJSON.
1101
+ */
1102
+ objects?: string[];
1103
+ }
1104
+ /**
1105
+ * Defined in: `../../../dxos/client/queue.proto`
1106
+ */
1107
+ export interface DeleteFromQueueRequest {
1108
+ subspaceTag: string;
1109
+ spaceId: string;
1110
+ queueId: string;
1111
+ objectIds?: string[];
1112
+ }
1113
+ /**
1114
+ * Defined in: `../../../dxos/client/queue.proto`
1115
+ */
1116
+ export interface SyncQueueRequest {
1117
+ subspaceTag: string;
1118
+ spaceId: string;
1119
+ queueId: string;
1120
+ /**
1121
+ * Whether to push local changes to the server. Defaults to true.
1122
+ *
1123
+ * Options:
1124
+ * - proto3_optional = true
1125
+ */
1126
+ shouldPush?: boolean;
1127
+ /**
1128
+ * Whether to pull remote changes from the server. Defaults to true.
1129
+ *
1130
+ * Options:
1131
+ * - proto3_optional = true
1132
+ */
1133
+ shouldPull?: boolean;
1134
+ }
1135
+ /**
1136
+ * Defined in: `../../../dxos/client/queue.proto`
1137
+ */
1138
+ export interface GetSyncStateRequest {
1139
+ spaceId: string;
1140
+ /**
1141
+ * If empty, returns state for all namespaces synced by the client.
1142
+ */
1143
+ namespaces?: string[];
1144
+ }
1145
+ /**
1146
+ * Defined in: `../../../dxos/client/queue.proto`
1147
+ */
1148
+ export interface QueueNamespaceSyncState {
1149
+ namespace: string;
1150
+ /**
1151
+ * Blocks still to pull from remote. 0 when caught up.
1152
+ */
1153
+ blocksToPull: string;
1154
+ /**
1155
+ * Unpositioned blocks still to push to remote. 0 when caught up.
1156
+ */
1157
+ blocksToPush: string;
1158
+ /**
1159
+ * Total blocks stored locally for this namespace in the space.
1160
+ */
1161
+ totalBlocks: string;
1162
+ }
1163
+ /**
1164
+ * Defined in: `../../../dxos/client/queue.proto`
1165
+ */
1166
+ export interface GetSyncStateResponse {
1167
+ namespaces?: QueueNamespaceSyncState[];
1168
+ }
1169
+ /**
1170
+ * Defined in:
1171
+ * {@link file://./../../../dxos/client/queue.proto}
1172
+ */
1173
+ export interface QueueService {
1174
+ queryQueue: (request: QueryQueueRequest, options?: RequestOptions) => Promise<QueueQueryResult>;
1175
+ insertIntoQueue: (request: InsertIntoQueueRequest, options?: RequestOptions) => Promise<void>;
1176
+ deleteFromQueue: (request: DeleteFromQueueRequest, options?: RequestOptions) => Promise<void>;
1177
+ syncQueue: (request: SyncQueueRequest, options?: RequestOptions) => Promise<void>;
1178
+ getSyncState: (request: GetSyncStateRequest, options?: RequestOptions) => Promise<GetSyncStateResponse>;
1179
+ }
1180
1180
  /**
1181
1181
  * Defined in: `../../../dxos/client/logging.proto`
1182
1182
  */