@xnetjs/data 1.0.0 → 2.1.0

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.
@@ -1,10 +1,10 @@
1
- import { P as PropertyBuilder, S as SchemaIRI, D as DefinedSchema, ba as DocumentType, y as DID, Q as InferNode, V as ValidationResult, a as Schema, B as PropertyType, h as NodeState, v as NodeChangeEvent, F as ValidationError, W as LensOperation, R as SchemaLens } from '../types-B5rrBwRI.js';
2
- export { H as CreateNodeOptions, bb as DEFAULT_SCHEMA_VERSION, I as InferCreateProps, K as InferProperties, J as InferPropertyType, Z as LensRegistry, Y as MigrationError, X as MigrationResult, x as Node, b as ParsedSchemaIRI, E as PropertyDefinition, bd as buildSchemaIRI, A as createNodeId, bf as getBaseSchemaIRI, bh as getSchemaVersion, z as isNode, bg as isSameSchema, _ as lensRegistry, be as normalizeSchemaIRI, bc as parseSchemaIRI } from '../types-B5rrBwRI.js';
1
+ import { P as PropertyBuilder, S as SchemaIRI, D as DefinedSchema, bi as DocumentType, z as DID, R as InferNode, V as ValidationResult, a as Schema, E as PropertyType, h as NodeState, w as NodeChangeEvent, H as ValidationError, X as LensOperation, W as SchemaLens } from '../types-C64g-IXg.js';
2
+ export { J as CreateNodeOptions, bj as DEFAULT_SCHEMA_VERSION, I as InferCreateProps, Q as InferProperties, K as InferPropertyType, _ as LensRegistry, Z as MigrationError, Y as MigrationResult, y as Node, b as ParsedSchemaIRI, F as PropertyDefinition, bl as buildSchemaIRI, B as createNodeId, bn as getBaseSchemaIRI, bp as getSchemaVersion, A as isNode, bo as isSameSchema, $ as lensRegistry, bm as normalizeSchemaIRI, bk as parseSchemaIRI } from '../types-C64g-IXg.js';
3
3
  import { AuthorizationDefinition } from '@xnetjs/core';
4
- import { S as SavedViewDescriptor } from '../query-ast-ESRn8U2H.js';
4
+ import { S as SavedViewDescriptor } from '../query-ast-NV5StnHo.js';
5
5
  import { a7 as FormSubmissionMeta, W as FilterGroup, Z as SortConfig, an as SummaryFunction, a4 as FormViewConfig, a5 as FormFieldRule } from '../form-types-BlZvpDEE.js';
6
- import { N as NodeStore } from '../store-B0fb6WdJ.js';
7
- export { S as SchemaRegistry, s as schemaRegistry } from '../registry-BGD80QCd.js';
6
+ import { N as NodeStore } from '../store-BIDKtpjW.js';
7
+ export { S as SchemaRegistry, s as schemaRegistry } from '../registry-s1fYgCSj.js';
8
8
  import '@xnetjs/crypto';
9
9
  import '@xnetjs/sqlite';
10
10
  import '@xnetjs/sync';
@@ -845,6 +845,78 @@ type InboxState = InferNode<(typeof InboxStateSchema)['_properties']>;
845
845
  /** Deterministic node ID for a user's inbox state in a workspace. */
846
846
  declare function inboxStateNodeId(did: string): string;
847
847
 
848
+ declare const DRAFT_SCHEMA_IRI = "xnet://xnet.fyi/Draft@1.0.0";
849
+ /**
850
+ * One member's fork bookkeeping: the clone written to, the original's chain
851
+ * position at fork (the three-way merge base, pinned), and — for doc-bearing
852
+ * members — the Yjs state vector at fork (base64; the post-fork delta on
853
+ * merge is `Y.encodeStateAsUpdate(cloneDoc, forkStateVector)`) plus an
854
+ * optional fork-time snapshot ref (the review diff baseline, pinned).
855
+ */
856
+ interface DraftEntry {
857
+ cloneId: string;
858
+ forkedAtHash: string;
859
+ forkedAtYjsStateVector?: string;
860
+ forkYjsSnapshotRef?: string;
861
+ mergedAtHash?: string;
862
+ }
863
+ /** Node ids created inside the draft (promoted to main on merge). */
864
+ interface DraftProvenance {
865
+ /** Clone ids merged, keyed by original id. */
866
+ merged: Record<string, string>;
867
+ /** Hashes of the originals' heads after the merge batch. */
868
+ mergedAtHashes: Record<string, string>;
869
+ /** DIDs that authored changes inside the draft (blame recovery). */
870
+ contributors: string[];
871
+ /** Wall time of the merge. */
872
+ mergedAt: number;
873
+ }
874
+ declare const DraftSchema: DefinedSchema<{
875
+ /** Upwelling: titles that signal intent prevent conflicts */
876
+ name: PropertyBuilder<string>;
877
+ status: PropertyBuilder<"open" | "merged" | "discarded">;
878
+ /** The host node/scope being drafted (page, board, database, …) */
879
+ target: PropertyBuilder<string>;
880
+ /** original nodeId -> fork bookkeeping */
881
+ entries: PropertyBuilder<Record<string, DraftEntry>>;
882
+ /** Draft-born node ids (no original; promoted on merge) */
883
+ created: PropertyBuilder<string[]>;
884
+ /** Original ids deleted inside the draft (tombstoned on merge) */
885
+ deletedIds: PropertyBuilder<string[]>;
886
+ /**
887
+ * P4 request surfacing: the draft author asks for a review; the
888
+ * Inbox/Requests surface lists open drafts with this flag set.
889
+ */
890
+ reviewRequested: PropertyBuilder<boolean>;
891
+ /** Written once at merge: what the squash carried and who authored it */
892
+ mergeProvenance: PropertyBuilder<DraftProvenance>;
893
+ createdAt: PropertyBuilder<number>;
894
+ createdBy: PropertyBuilder<`did:key:${string}`>;
895
+ }>;
896
+ type Draft = InferNode<(typeof DraftSchema)['_properties']>;
897
+
898
+ declare const CHECKPOINT_SCHEMA_IRI = "xnet://xnet.fyi/Checkpoint@1.0.0";
899
+ /** Mirror of `FrontierEntry` in @xnetjs/history (data cannot depend on it). */
900
+ interface CheckpointFrontierEntry {
901
+ hash: string;
902
+ yjsSnapshotRef?: string;
903
+ }
904
+ declare const CheckpointSchema: DefinedSchema<{
905
+ /** User-given version name ("Draft sent to review", "Before the rewrite") */
906
+ name: PropertyBuilder<string>;
907
+ /** Optional longer note shown in the Time Machine */
908
+ note: PropertyBuilder<string>;
909
+ /** Per-node frontier: nodeId -> { hash, yjsSnapshotRef? } */
910
+ frontier: PropertyBuilder<Record<string, CheckpointFrontierEntry>>;
911
+ /** The scope this checkpoint was taken over (page, database, space, …) */
912
+ scope: PropertyBuilder<string>;
913
+ /** Space containment (single-valued) — drives the authorization roles */
914
+ space: PropertyBuilder<string>;
915
+ createdAt: PropertyBuilder<number>;
916
+ createdBy: PropertyBuilder<`did:key:${string}`>;
917
+ }>;
918
+ type Checkpoint = InferNode<(typeof CheckpointSchema)['_properties']>;
919
+
848
920
  /**
849
921
  * Composer-resolved URL previews (exploration 0295).
850
922
  *
@@ -2748,6 +2820,32 @@ declare const ReactionSchema: DefinedSchema<{
2748
2820
  }>;
2749
2821
  type Reaction = InferNode<(typeof ReactionSchema)['_properties']>;
2750
2822
 
2823
+ declare const DebugReportSchema: DefinedSchema<{
2824
+ space: PropertyBuilder<string>;
2825
+ lane: PropertyBuilder<"user" | "auto" | "hub">;
2826
+ /** Grouping key: hash(errorName + normalized top frame + release). */
2827
+ fingerprint: PropertyBuilder<string>;
2828
+ errorName: PropertyBuilder<string>;
2829
+ message: PropertyBuilder<string>;
2830
+ stack: PropertyBuilder<string>;
2831
+ release: PropertyBuilder<string>;
2832
+ surface: PropertyBuilder<"unknown" | "hub" | "web" | "electron" | "cloud">;
2833
+ bootStage: PropertyBuilder<string>;
2834
+ uaFamily: PropertyBuilder<string>;
2835
+ userDescription: PropertyBuilder<string>;
2836
+ /** Scrubbed recent console lines (user lane only). */
2837
+ breadcrumbs: PropertyBuilder<string[]>;
2838
+ /** Hub lane only: hub-salted sender hash, never a raw DID. */
2839
+ didHash: PropertyBuilder<string>;
2840
+ occurrences: PropertyBuilder<number>;
2841
+ status: PropertyBuilder<"fixed" | "in-progress" | "new" | "acked" | "released">;
2842
+ firstSeen: PropertyBuilder<number>;
2843
+ lastSeen: PropertyBuilder<number>;
2844
+ createdAt: PropertyBuilder<number>;
2845
+ createdBy: PropertyBuilder<`did:key:${string}`>;
2846
+ }>;
2847
+ type DebugReport = InferNode<(typeof DebugReportSchema)['_properties']>;
2848
+
2751
2849
  declare const ProfileSchema: DefinedSchema<{
2752
2850
  /** The DID this profile describes (should match createdBy) */
2753
2851
  did: PropertyBuilder<`did:key:${string}`>;
@@ -3380,7 +3478,7 @@ declare const ModerationLabelSchema: DefinedSchema<{
3380
3478
  targetSchema: PropertyBuilder<string>;
3381
3479
  value: PropertyBuilder<"spam" | "scam" | "malware" | "impersonation" | "harassment" | "slop" | "inaccurate" | "unsupported" | "stale" | "synthetic" | "sexual" | "nudity" | "porn" | "graphic-media" | "safe">;
3382
3480
  sourceDID: PropertyBuilder<`did:key:${string}`>;
3383
- sourceType: PropertyBuilder<"user" | "labeler" | "hub" | "local-ai" | "cloud-ai" | "community-note" | "policy-list" | "crawler">;
3481
+ sourceType: PropertyBuilder<"user" | "hub" | "labeler" | "local-ai" | "cloud-ai" | "community-note" | "policy-list" | "crawler">;
3384
3482
  confidence: PropertyBuilder<number>;
3385
3483
  sourceWeight: PropertyBuilder<number>;
3386
3484
  evidenceRefs: PropertyBuilder<string>;
@@ -3529,7 +3627,7 @@ declare const QualitySignalSchema: DefinedSchema<{
3529
3627
  updatedAt: PropertyBuilder<number>;
3530
3628
  target: PropertyBuilder<string>;
3531
3629
  sourceDID: PropertyBuilder<`did:key:${string}`>;
3532
- sourceType: PropertyBuilder<"user" | "labeler" | "hub" | "local-ai" | "cloud-ai" | "community-note" | "policy-list" | "crawler">;
3630
+ sourceType: PropertyBuilder<"user" | "hub" | "labeler" | "local-ai" | "cloud-ai" | "community-note" | "policy-list" | "crawler">;
3533
3631
  signal: PropertyBuilder<"slop" | "duplicate" | "citation-coverage" | "provenance" | "claim-mismatch" | "freshness">;
3534
3632
  score: PropertyBuilder<number>;
3535
3633
  confidence: PropertyBuilder<number>;
@@ -3903,6 +4001,300 @@ declare const MemoryItemSchema: DefinedSchema<{
3903
4001
  }>;
3904
4002
  type MemoryItem = InferNode<(typeof MemoryItemSchema)['_properties']>;
3905
4003
 
4004
+ declare const AGENT_PASSPORT_SCHEMA_IRI: "xnet://xnet.fyi/AgentPassport@1.0.0";
4005
+ declare const AGENT_SESSION_SCHEMA_IRI: "xnet://xnet.fyi/AgentSession@1.0.0";
4006
+ declare const AGENT_ACTION_SCHEMA_IRI: "xnet://xnet.fyi/AgentAction@1.0.0";
4007
+ declare const AGENT_APPROVAL_SCHEMA_IRI: "xnet://xnet.fyi/AgentApproval@1.0.0";
4008
+ declare const AGENT_NOTIFICATION_SCHEMA_IRI: "xnet://xnet.fyi/AgentNotification@1.0.0";
4009
+ /** Which runtime carries the passport. */
4010
+ declare const AGENT_RUNTIMES: readonly [{
4011
+ readonly id: "openclaw";
4012
+ readonly name: "OpenClaw";
4013
+ readonly color: "orange";
4014
+ }, {
4015
+ readonly id: "hermes";
4016
+ readonly name: "Hermes";
4017
+ readonly color: "purple";
4018
+ }, {
4019
+ readonly id: "claude-code";
4020
+ readonly name: "Claude Code";
4021
+ readonly color: "blue";
4022
+ }, {
4023
+ readonly id: "other";
4024
+ readonly name: "Other";
4025
+ readonly color: "gray";
4026
+ }];
4027
+ type AgentRuntime = (typeof AGENT_RUNTIMES)[number]['id'];
4028
+ declare const AgentPassportSchema: DefinedSchema<{
4029
+ /** Home Space for the operator's agent-audit workspace — drives access. */
4030
+ space: PropertyBuilder<string>;
4031
+ /** The agent's own did:key. Every change it makes is signed by this DID. */
4032
+ agentDID: PropertyBuilder<string>;
4033
+ /** The operator DID that delegated authority to the agent. */
4034
+ operatorDID: PropertyBuilder<string>;
4035
+ displayName: PropertyBuilder<string>;
4036
+ runtime: PropertyBuilder<"other" | "openclaw" | "hermes" | "claude-code">;
4037
+ /** The operator-signed, attenuated UCAN delegated to `agentDID`. */
4038
+ ucan: PropertyBuilder<string>;
4039
+ /** Delegation expiry (epoch ms). Rotation is the near-term revocation. */
4040
+ expiresAt: PropertyBuilder<number>;
4041
+ status: PropertyBuilder<"expired" | "active" | "revoked">;
4042
+ createdAt: PropertyBuilder<number>;
4043
+ createdBy: PropertyBuilder<`did:key:${string}`>;
4044
+ }>;
4045
+ type AgentPassport = InferNode<(typeof AgentPassportSchema)['_properties']>;
4046
+ /** Where a session (or an approval) happened. */
4047
+ declare const AGENT_CHANNELS: readonly [{
4048
+ readonly id: "whatsapp";
4049
+ readonly name: "WhatsApp";
4050
+ readonly color: "green";
4051
+ }, {
4052
+ readonly id: "telegram";
4053
+ readonly name: "Telegram";
4054
+ readonly color: "blue";
4055
+ }, {
4056
+ readonly id: "signal";
4057
+ readonly name: "Signal";
4058
+ readonly color: "blue";
4059
+ }, {
4060
+ readonly id: "imessage";
4061
+ readonly name: "iMessage";
4062
+ readonly color: "green";
4063
+ }, {
4064
+ readonly id: "discord";
4065
+ readonly name: "Discord";
4066
+ readonly color: "purple";
4067
+ }, {
4068
+ readonly id: "slack";
4069
+ readonly name: "Slack";
4070
+ readonly color: "purple";
4071
+ }, {
4072
+ readonly id: "app";
4073
+ readonly name: "xNet app";
4074
+ readonly color: "orange";
4075
+ }, {
4076
+ readonly id: "cli";
4077
+ readonly name: "CLI";
4078
+ readonly color: "gray";
4079
+ }, {
4080
+ readonly id: "other";
4081
+ readonly name: "Other";
4082
+ readonly color: "gray";
4083
+ }];
4084
+ type AgentChannel = (typeof AGENT_CHANNELS)[number]['id'];
4085
+ declare const AgentSessionSchema: DefinedSchema<{
4086
+ space: PropertyBuilder<string>;
4087
+ /** AgentPassport node id. */
4088
+ passport: PropertyBuilder<string>;
4089
+ channel: PropertyBuilder<"other" | "signal" | "whatsapp" | "telegram" | "imessage" | "discord" | "slack" | "app" | "cli">;
4090
+ /** Channel-specific peer id (chat/thread id) — forensics for approvals. */
4091
+ peer: PropertyBuilder<string>;
4092
+ startedAt: PropertyBuilder<number>;
4093
+ lastActiveAt: PropertyBuilder<number>;
4094
+ createdAt: PropertyBuilder<number>;
4095
+ createdBy: PropertyBuilder<`did:key:${string}`>;
4096
+ }>;
4097
+ type AgentSession = InferNode<(typeof AgentSessionSchema)['_properties']>;
4098
+ declare const AGENT_RISKS: readonly [{
4099
+ readonly id: "low";
4100
+ readonly name: "Low";
4101
+ readonly color: "green";
4102
+ }, {
4103
+ readonly id: "medium";
4104
+ readonly name: "Medium";
4105
+ readonly color: "yellow";
4106
+ }, {
4107
+ readonly id: "high";
4108
+ readonly name: "High";
4109
+ readonly color: "orange";
4110
+ }, {
4111
+ readonly id: "critical";
4112
+ readonly name: "Critical";
4113
+ readonly color: "red";
4114
+ }];
4115
+ type AgentRisk = (typeof AGENT_RISKS)[number]['id'];
4116
+ declare const AGENT_ACTION_STATUSES: readonly [{
4117
+ readonly id: "proposed";
4118
+ readonly name: "Proposed";
4119
+ readonly color: "gray";
4120
+ }, {
4121
+ readonly id: "pending-approval";
4122
+ readonly name: "Pending approval";
4123
+ readonly color: "yellow";
4124
+ }, {
4125
+ readonly id: "approved";
4126
+ readonly name: "Approved";
4127
+ readonly color: "blue";
4128
+ }, {
4129
+ readonly id: "denied";
4130
+ readonly name: "Denied";
4131
+ readonly color: "red";
4132
+ }, {
4133
+ readonly id: "applied";
4134
+ readonly name: "Applied";
4135
+ readonly color: "green";
4136
+ }, {
4137
+ readonly id: "rolled-back";
4138
+ readonly name: "Rolled back";
4139
+ readonly color: "purple";
4140
+ }, {
4141
+ readonly id: "failed";
4142
+ readonly name: "Failed";
4143
+ readonly color: "red";
4144
+ }];
4145
+ type AgentActionStatus = (typeof AGENT_ACTION_STATUSES)[number]['id'];
4146
+ /** Harvested from the Agent Receipts spec — declares undo-ability up front. */
4147
+ declare const AGENT_REVERSIBILITIES: readonly [{
4148
+ readonly id: "reversible";
4149
+ readonly name: "Reversible";
4150
+ readonly color: "green";
4151
+ }, {
4152
+ readonly id: "compensatable";
4153
+ readonly name: "Compensatable";
4154
+ readonly color: "yellow";
4155
+ }, {
4156
+ readonly id: "irreversible";
4157
+ readonly name: "Irreversible";
4158
+ readonly color: "red";
4159
+ }];
4160
+ type AgentReversibility = (typeof AGENT_REVERSIBILITIES)[number]['id'];
4161
+ declare const AgentActionSchema: DefinedSchema<{
4162
+ space: PropertyBuilder<string>;
4163
+ /** AgentSession node id (deterministic; see `agentSessionId`). */
4164
+ session: PropertyBuilder<string>;
4165
+ /** Monotonic sequence within the session — part of the deterministic id. */
4166
+ seq: PropertyBuilder<number>;
4167
+ /** Tool name, e.g. `xnet_apply_page_markdown`. */
4168
+ tool: PropertyBuilder<string>;
4169
+ /**
4170
+ * The operator's instruction, verbatim. Sensitive — keep the audit Space
4171
+ * tightly scoped, or store a redaction (see `redactInstruction`).
4172
+ */
4173
+ instruction: PropertyBuilder<string>;
4174
+ risk: PropertyBuilder<"low" | "medium" | "high" | "critical">;
4175
+ status: PropertyBuilder<"failed" | "proposed" | "pending-approval" | "approved" | "denied" | "applied" | "rolled-back">;
4176
+ reversibility: PropertyBuilder<"reversible" | "compensatable" | "irreversible">;
4177
+ /** Kernel change ids this action produced (links semantic → signed log). */
4178
+ changeIds: PropertyBuilder<string[]>;
4179
+ /** Error message when `status` is `failed`. */
4180
+ error: PropertyBuilder<string>;
4181
+ /** Pending-approval expiry (epoch ms) — the ceremony TTL. */
4182
+ approvalExpiresAt: PropertyBuilder<number>;
4183
+ createdAt: PropertyBuilder<number>;
4184
+ createdBy: PropertyBuilder<`did:key:${string}`>;
4185
+ }>;
4186
+ type AgentAction = InferNode<(typeof AgentActionSchema)['_properties']>;
4187
+ declare const AGENT_APPROVAL_SURFACES: readonly [{
4188
+ readonly id: "chat";
4189
+ readonly name: "Chat";
4190
+ readonly color: "yellow";
4191
+ }, {
4192
+ readonly id: "app";
4193
+ readonly name: "xNet app";
4194
+ readonly color: "green";
4195
+ }, {
4196
+ readonly id: "push";
4197
+ readonly name: "Push";
4198
+ readonly color: "green";
4199
+ }];
4200
+ type AgentApprovalSurface = (typeof AGENT_APPROVAL_SURFACES)[number]['id'];
4201
+ declare const AGENT_APPROVAL_DECISIONS: readonly [{
4202
+ readonly id: "approved";
4203
+ readonly name: "Approved";
4204
+ readonly color: "green";
4205
+ }, {
4206
+ readonly id: "denied";
4207
+ readonly name: "Denied";
4208
+ readonly color: "red";
4209
+ }, {
4210
+ readonly id: "expired";
4211
+ readonly name: "Expired";
4212
+ readonly color: "gray";
4213
+ }];
4214
+ type AgentApprovalDecision = (typeof AGENT_APPROVAL_DECISIONS)[number]['id'];
4215
+ declare const AgentApprovalSchema: DefinedSchema<{
4216
+ space: PropertyBuilder<string>;
4217
+ /** AgentAction node id this decision gates. */
4218
+ action: PropertyBuilder<string>;
4219
+ surface: PropertyBuilder<"push" | "app" | "chat">;
4220
+ decision: PropertyBuilder<"expired" | "approved" | "denied">;
4221
+ /**
4222
+ * DID that made the decision. For `surface: 'app'`/`'push'` this is the
4223
+ * operator (the node is signed by their key — unforgeable by the agent).
4224
+ */
4225
+ approverDID: PropertyBuilder<string>;
4226
+ /** SHA-256 hex of the nonce — never the nonce itself. */
4227
+ nonceHash: PropertyBuilder<string>;
4228
+ /** Channel peer that replied, for `surface: 'chat'` forensics. */
4229
+ peer: PropertyBuilder<string>;
4230
+ decidedAt: PropertyBuilder<number>;
4231
+ createdAt: PropertyBuilder<number>;
4232
+ createdBy: PropertyBuilder<`did:key:${string}`>;
4233
+ }>;
4234
+ type AgentApproval = InferNode<(typeof AgentApprovalSchema)['_properties']>;
4235
+ declare const AGENT_NOTIFICATION_KINDS: readonly [{
4236
+ readonly id: "info";
4237
+ readonly name: "Info";
4238
+ readonly color: "blue";
4239
+ }, {
4240
+ readonly id: "approval-request";
4241
+ readonly name: "Approval request";
4242
+ readonly color: "yellow";
4243
+ }, {
4244
+ readonly id: "alert";
4245
+ readonly name: "Alert";
4246
+ readonly color: "red";
4247
+ }, {
4248
+ readonly id: "report";
4249
+ readonly name: "Report";
4250
+ readonly color: "green";
4251
+ }];
4252
+ type AgentNotificationKind = (typeof AGENT_NOTIFICATION_KINDS)[number]['id'];
4253
+ declare const AGENT_NOTIFICATION_STATUSES: readonly [{
4254
+ readonly id: "pending";
4255
+ readonly name: "Pending";
4256
+ readonly color: "yellow";
4257
+ }, {
4258
+ readonly id: "delivered";
4259
+ readonly name: "Delivered";
4260
+ readonly color: "green";
4261
+ }, {
4262
+ readonly id: "dismissed";
4263
+ readonly name: "Dismissed";
4264
+ readonly color: "gray";
4265
+ }];
4266
+ type AgentNotificationStatus = (typeof AGENT_NOTIFICATION_STATUSES)[number]['id'];
4267
+ declare const AgentNotificationSchema: DefinedSchema<{
4268
+ space: PropertyBuilder<string>;
4269
+ kind: PropertyBuilder<"info" | "approval-request" | "alert" | "report">;
4270
+ title: PropertyBuilder<string>;
4271
+ body: PropertyBuilder<string>;
4272
+ /** Related AgentAction node id, when the notification concerns one. */
4273
+ action: PropertyBuilder<string>;
4274
+ status: PropertyBuilder<"pending" | "delivered" | "dismissed">;
4275
+ createdAt: PropertyBuilder<number>;
4276
+ createdBy: PropertyBuilder<`did:key:${string}`>;
4277
+ }>;
4278
+ type AgentNotification = InferNode<(typeof AgentNotificationSchema)['_properties']>;
4279
+ /** Passport id for an agent DID — one passport node per agent identity. */
4280
+ declare const agentPassportId: (agentDID: string) => string;
4281
+ /**
4282
+ * Session id from the agent DID and the runtime's own session key (OpenClaw's
4283
+ * `agent:<id>:<mainKey>`, a Hermes conversation id, …).
4284
+ */
4285
+ declare const agentSessionId: (agentDID: string, sessionKey: string) => string;
4286
+ /** Action id — session-scoped sequence keeps retries idempotent. */
4287
+ declare const agentActionId: (sessionId: string, seq: number) => string;
4288
+ /** One approval decision per action. */
4289
+ declare const agentApprovalId: (actionId: string) => string;
4290
+ /** Notification id — callers pass a stable key (e.g. the action id or a digest). */
4291
+ declare const agentNotificationId: (key: string) => string;
4292
+ /**
4293
+ * Redacted instruction for privacy-sensitive audit Spaces: keeps only length
4294
+ * and a stable digest so repeated instructions still correlate.
4295
+ */
4296
+ declare const redactInstruction: (instruction: string, digestHex: string) => string;
4297
+
3906
4298
  /**
3907
4299
  * Comment anchor types and utilities.
3908
4300
  *
@@ -4661,6 +5053,27 @@ declare const builtInSchemas: {
4661
5053
  createdAt: PropertyBuilder<number>;
4662
5054
  createdBy: PropertyBuilder<`did:key:${string}`>;
4663
5055
  }>>;
5056
+ readonly 'xnet://xnet.fyi/Checkpoint@1.0.0': () => Promise<DefinedSchema<{
5057
+ name: PropertyBuilder<string>;
5058
+ note: PropertyBuilder<string>;
5059
+ frontier: PropertyBuilder<Record<string, CheckpointFrontierEntry>>;
5060
+ scope: PropertyBuilder<string>;
5061
+ space: PropertyBuilder<string>;
5062
+ createdAt: PropertyBuilder<number>;
5063
+ createdBy: PropertyBuilder<`did:key:${string}`>;
5064
+ }>>;
5065
+ readonly 'xnet://xnet.fyi/Draft@1.0.0': () => Promise<DefinedSchema<{
5066
+ name: PropertyBuilder<string>;
5067
+ status: PropertyBuilder<"open" | "merged" | "discarded">;
5068
+ target: PropertyBuilder<string>;
5069
+ entries: PropertyBuilder<Record<string, DraftEntry>>;
5070
+ created: PropertyBuilder<string[]>;
5071
+ deletedIds: PropertyBuilder<string[]>;
5072
+ reviewRequested: PropertyBuilder<boolean>;
5073
+ mergeProvenance: PropertyBuilder<DraftProvenance>;
5074
+ createdAt: PropertyBuilder<number>;
5075
+ createdBy: PropertyBuilder<`did:key:${string}`>;
5076
+ }>>;
4664
5077
  readonly 'xnet://xnet.fyi/Reaction@1.0.0': () => Promise<DefinedSchema<{
4665
5078
  target: PropertyBuilder<string>;
4666
5079
  targetSchema: PropertyBuilder<string>;
@@ -4671,6 +5084,27 @@ declare const builtInSchemas: {
4671
5084
  createdAt: PropertyBuilder<number>;
4672
5085
  createdBy: PropertyBuilder<`did:key:${string}`>;
4673
5086
  }>>;
5087
+ readonly 'xnet://xnet.fyi/DebugReport@1.0.0': () => Promise<DefinedSchema<{
5088
+ space: PropertyBuilder<string>;
5089
+ lane: PropertyBuilder<"user" | "auto" | "hub">;
5090
+ fingerprint: PropertyBuilder<string>;
5091
+ errorName: PropertyBuilder<string>;
5092
+ message: PropertyBuilder<string>;
5093
+ stack: PropertyBuilder<string>;
5094
+ release: PropertyBuilder<string>;
5095
+ surface: PropertyBuilder<"unknown" | "hub" | "web" | "electron" | "cloud">;
5096
+ bootStage: PropertyBuilder<string>;
5097
+ uaFamily: PropertyBuilder<string>;
5098
+ userDescription: PropertyBuilder<string>;
5099
+ breadcrumbs: PropertyBuilder<string[]>;
5100
+ didHash: PropertyBuilder<string>;
5101
+ occurrences: PropertyBuilder<number>;
5102
+ status: PropertyBuilder<"fixed" | "in-progress" | "new" | "acked" | "released">;
5103
+ firstSeen: PropertyBuilder<number>;
5104
+ lastSeen: PropertyBuilder<number>;
5105
+ createdAt: PropertyBuilder<number>;
5106
+ createdBy: PropertyBuilder<`did:key:${string}`>;
5107
+ }>>;
4674
5108
  readonly 'xnet://xnet.fyi/Profile@1.0.0': () => Promise<DefinedSchema<{
4675
5109
  did: PropertyBuilder<`did:key:${string}`>;
4676
5110
  displayName: PropertyBuilder<string>;
@@ -4917,7 +5351,7 @@ declare const builtInSchemas: {
4917
5351
  targetSchema: PropertyBuilder<string>;
4918
5352
  value: PropertyBuilder<"spam" | "scam" | "malware" | "impersonation" | "harassment" | "slop" | "inaccurate" | "unsupported" | "stale" | "synthetic" | "sexual" | "nudity" | "porn" | "graphic-media" | "safe">;
4919
5353
  sourceDID: PropertyBuilder<`did:key:${string}`>;
4920
- sourceType: PropertyBuilder<"user" | "labeler" | "hub" | "local-ai" | "cloud-ai" | "community-note" | "policy-list" | "crawler">;
5354
+ sourceType: PropertyBuilder<"user" | "hub" | "labeler" | "local-ai" | "cloud-ai" | "community-note" | "policy-list" | "crawler">;
4921
5355
  confidence: PropertyBuilder<number>;
4922
5356
  sourceWeight: PropertyBuilder<number>;
4923
5357
  evidenceRefs: PropertyBuilder<string>;
@@ -5066,7 +5500,7 @@ declare const builtInSchemas: {
5066
5500
  updatedAt: PropertyBuilder<number>;
5067
5501
  target: PropertyBuilder<string>;
5068
5502
  sourceDID: PropertyBuilder<`did:key:${string}`>;
5069
- sourceType: PropertyBuilder<"user" | "labeler" | "hub" | "local-ai" | "cloud-ai" | "community-note" | "policy-list" | "crawler">;
5503
+ sourceType: PropertyBuilder<"user" | "hub" | "labeler" | "local-ai" | "cloud-ai" | "community-note" | "policy-list" | "crawler">;
5070
5504
  signal: PropertyBuilder<"slop" | "duplicate" | "citation-coverage" | "provenance" | "claim-mismatch" | "freshness">;
5071
5505
  score: PropertyBuilder<number>;
5072
5506
  confidence: PropertyBuilder<number>;
@@ -5206,6 +5640,65 @@ declare const builtInSchemas: {
5206
5640
  decay: PropertyBuilder<number>;
5207
5641
  evidence: PropertyBuilder<string[]>;
5208
5642
  }>>;
5643
+ readonly 'xnet://xnet.fyi/AgentPassport@1.0.0': () => Promise<DefinedSchema<{
5644
+ space: PropertyBuilder<string>;
5645
+ agentDID: PropertyBuilder<string>;
5646
+ operatorDID: PropertyBuilder<string>;
5647
+ displayName: PropertyBuilder<string>;
5648
+ runtime: PropertyBuilder<"other" | "openclaw" | "hermes" | "claude-code">;
5649
+ ucan: PropertyBuilder<string>;
5650
+ expiresAt: PropertyBuilder<number>;
5651
+ status: PropertyBuilder<"expired" | "active" | "revoked">;
5652
+ createdAt: PropertyBuilder<number>;
5653
+ createdBy: PropertyBuilder<`did:key:${string}`>;
5654
+ }>>;
5655
+ readonly 'xnet://xnet.fyi/AgentSession@1.0.0': () => Promise<DefinedSchema<{
5656
+ space: PropertyBuilder<string>;
5657
+ passport: PropertyBuilder<string>;
5658
+ channel: PropertyBuilder<"other" | "signal" | "whatsapp" | "telegram" | "imessage" | "discord" | "slack" | "app" | "cli">;
5659
+ peer: PropertyBuilder<string>;
5660
+ startedAt: PropertyBuilder<number>;
5661
+ lastActiveAt: PropertyBuilder<number>;
5662
+ createdAt: PropertyBuilder<number>;
5663
+ createdBy: PropertyBuilder<`did:key:${string}`>;
5664
+ }>>;
5665
+ readonly 'xnet://xnet.fyi/AgentAction@1.0.0': () => Promise<DefinedSchema<{
5666
+ space: PropertyBuilder<string>;
5667
+ session: PropertyBuilder<string>;
5668
+ seq: PropertyBuilder<number>;
5669
+ tool: PropertyBuilder<string>;
5670
+ instruction: PropertyBuilder<string>;
5671
+ risk: PropertyBuilder<"low" | "medium" | "high" | "critical">;
5672
+ status: PropertyBuilder<"failed" | "proposed" | "pending-approval" | "approved" | "denied" | "applied" | "rolled-back">;
5673
+ reversibility: PropertyBuilder<"reversible" | "compensatable" | "irreversible">;
5674
+ changeIds: PropertyBuilder<string[]>;
5675
+ error: PropertyBuilder<string>;
5676
+ approvalExpiresAt: PropertyBuilder<number>;
5677
+ createdAt: PropertyBuilder<number>;
5678
+ createdBy: PropertyBuilder<`did:key:${string}`>;
5679
+ }>>;
5680
+ readonly 'xnet://xnet.fyi/AgentApproval@1.0.0': () => Promise<DefinedSchema<{
5681
+ space: PropertyBuilder<string>;
5682
+ action: PropertyBuilder<string>;
5683
+ surface: PropertyBuilder<"push" | "app" | "chat">;
5684
+ decision: PropertyBuilder<"expired" | "approved" | "denied">;
5685
+ approverDID: PropertyBuilder<string>;
5686
+ nonceHash: PropertyBuilder<string>;
5687
+ peer: PropertyBuilder<string>;
5688
+ decidedAt: PropertyBuilder<number>;
5689
+ createdAt: PropertyBuilder<number>;
5690
+ createdBy: PropertyBuilder<`did:key:${string}`>;
5691
+ }>>;
5692
+ readonly 'xnet://xnet.fyi/AgentNotification@1.0.0': () => Promise<DefinedSchema<{
5693
+ space: PropertyBuilder<string>;
5694
+ kind: PropertyBuilder<"info" | "approval-request" | "alert" | "report">;
5695
+ title: PropertyBuilder<string>;
5696
+ body: PropertyBuilder<string>;
5697
+ action: PropertyBuilder<string>;
5698
+ status: PropertyBuilder<"pending" | "delivered" | "dismissed">;
5699
+ createdAt: PropertyBuilder<number>;
5700
+ createdBy: PropertyBuilder<`did:key:${string}`>;
5701
+ }>>;
5209
5702
  readonly 'xnet://xnet.fyi/Page': () => Promise<DefinedSchema<{
5210
5703
  title: PropertyBuilder<string>;
5211
5704
  icon: PropertyBuilder<string>;
@@ -5739,6 +6232,27 @@ declare const builtInSchemas: {
5739
6232
  createdAt: PropertyBuilder<number>;
5740
6233
  createdBy: PropertyBuilder<`did:key:${string}`>;
5741
6234
  }>>;
6235
+ readonly 'xnet://xnet.fyi/DebugReport': () => Promise<DefinedSchema<{
6236
+ space: PropertyBuilder<string>;
6237
+ lane: PropertyBuilder<"user" | "auto" | "hub">;
6238
+ fingerprint: PropertyBuilder<string>;
6239
+ errorName: PropertyBuilder<string>;
6240
+ message: PropertyBuilder<string>;
6241
+ stack: PropertyBuilder<string>;
6242
+ release: PropertyBuilder<string>;
6243
+ surface: PropertyBuilder<"unknown" | "hub" | "web" | "electron" | "cloud">;
6244
+ bootStage: PropertyBuilder<string>;
6245
+ uaFamily: PropertyBuilder<string>;
6246
+ userDescription: PropertyBuilder<string>;
6247
+ breadcrumbs: PropertyBuilder<string[]>;
6248
+ didHash: PropertyBuilder<string>;
6249
+ occurrences: PropertyBuilder<number>;
6250
+ status: PropertyBuilder<"fixed" | "in-progress" | "new" | "acked" | "released">;
6251
+ firstSeen: PropertyBuilder<number>;
6252
+ lastSeen: PropertyBuilder<number>;
6253
+ createdAt: PropertyBuilder<number>;
6254
+ createdBy: PropertyBuilder<`did:key:${string}`>;
6255
+ }>>;
5742
6256
  readonly 'xnet://xnet.fyi/Profile': () => Promise<DefinedSchema<{
5743
6257
  did: PropertyBuilder<`did:key:${string}`>;
5744
6258
  displayName: PropertyBuilder<string>;
@@ -5985,7 +6499,7 @@ declare const builtInSchemas: {
5985
6499
  targetSchema: PropertyBuilder<string>;
5986
6500
  value: PropertyBuilder<"spam" | "scam" | "malware" | "impersonation" | "harassment" | "slop" | "inaccurate" | "unsupported" | "stale" | "synthetic" | "sexual" | "nudity" | "porn" | "graphic-media" | "safe">;
5987
6501
  sourceDID: PropertyBuilder<`did:key:${string}`>;
5988
- sourceType: PropertyBuilder<"user" | "labeler" | "hub" | "local-ai" | "cloud-ai" | "community-note" | "policy-list" | "crawler">;
6502
+ sourceType: PropertyBuilder<"user" | "hub" | "labeler" | "local-ai" | "cloud-ai" | "community-note" | "policy-list" | "crawler">;
5989
6503
  confidence: PropertyBuilder<number>;
5990
6504
  sourceWeight: PropertyBuilder<number>;
5991
6505
  evidenceRefs: PropertyBuilder<string>;
@@ -6134,7 +6648,7 @@ declare const builtInSchemas: {
6134
6648
  updatedAt: PropertyBuilder<number>;
6135
6649
  target: PropertyBuilder<string>;
6136
6650
  sourceDID: PropertyBuilder<`did:key:${string}`>;
6137
- sourceType: PropertyBuilder<"user" | "labeler" | "hub" | "local-ai" | "cloud-ai" | "community-note" | "policy-list" | "crawler">;
6651
+ sourceType: PropertyBuilder<"user" | "hub" | "labeler" | "local-ai" | "cloud-ai" | "community-note" | "policy-list" | "crawler">;
6138
6652
  signal: PropertyBuilder<"slop" | "duplicate" | "citation-coverage" | "provenance" | "claim-mismatch" | "freshness">;
6139
6653
  score: PropertyBuilder<number>;
6140
6654
  confidence: PropertyBuilder<number>;
@@ -6274,6 +6788,65 @@ declare const builtInSchemas: {
6274
6788
  decay: PropertyBuilder<number>;
6275
6789
  evidence: PropertyBuilder<string[]>;
6276
6790
  }>>;
6791
+ readonly 'xnet://xnet.fyi/AgentPassport': () => Promise<DefinedSchema<{
6792
+ space: PropertyBuilder<string>;
6793
+ agentDID: PropertyBuilder<string>;
6794
+ operatorDID: PropertyBuilder<string>;
6795
+ displayName: PropertyBuilder<string>;
6796
+ runtime: PropertyBuilder<"other" | "openclaw" | "hermes" | "claude-code">;
6797
+ ucan: PropertyBuilder<string>;
6798
+ expiresAt: PropertyBuilder<number>;
6799
+ status: PropertyBuilder<"expired" | "active" | "revoked">;
6800
+ createdAt: PropertyBuilder<number>;
6801
+ createdBy: PropertyBuilder<`did:key:${string}`>;
6802
+ }>>;
6803
+ readonly 'xnet://xnet.fyi/AgentSession': () => Promise<DefinedSchema<{
6804
+ space: PropertyBuilder<string>;
6805
+ passport: PropertyBuilder<string>;
6806
+ channel: PropertyBuilder<"other" | "signal" | "whatsapp" | "telegram" | "imessage" | "discord" | "slack" | "app" | "cli">;
6807
+ peer: PropertyBuilder<string>;
6808
+ startedAt: PropertyBuilder<number>;
6809
+ lastActiveAt: PropertyBuilder<number>;
6810
+ createdAt: PropertyBuilder<number>;
6811
+ createdBy: PropertyBuilder<`did:key:${string}`>;
6812
+ }>>;
6813
+ readonly 'xnet://xnet.fyi/AgentAction': () => Promise<DefinedSchema<{
6814
+ space: PropertyBuilder<string>;
6815
+ session: PropertyBuilder<string>;
6816
+ seq: PropertyBuilder<number>;
6817
+ tool: PropertyBuilder<string>;
6818
+ instruction: PropertyBuilder<string>;
6819
+ risk: PropertyBuilder<"low" | "medium" | "high" | "critical">;
6820
+ status: PropertyBuilder<"failed" | "proposed" | "pending-approval" | "approved" | "denied" | "applied" | "rolled-back">;
6821
+ reversibility: PropertyBuilder<"reversible" | "compensatable" | "irreversible">;
6822
+ changeIds: PropertyBuilder<string[]>;
6823
+ error: PropertyBuilder<string>;
6824
+ approvalExpiresAt: PropertyBuilder<number>;
6825
+ createdAt: PropertyBuilder<number>;
6826
+ createdBy: PropertyBuilder<`did:key:${string}`>;
6827
+ }>>;
6828
+ readonly 'xnet://xnet.fyi/AgentApproval': () => Promise<DefinedSchema<{
6829
+ space: PropertyBuilder<string>;
6830
+ action: PropertyBuilder<string>;
6831
+ surface: PropertyBuilder<"push" | "app" | "chat">;
6832
+ decision: PropertyBuilder<"expired" | "approved" | "denied">;
6833
+ approverDID: PropertyBuilder<string>;
6834
+ nonceHash: PropertyBuilder<string>;
6835
+ peer: PropertyBuilder<string>;
6836
+ decidedAt: PropertyBuilder<number>;
6837
+ createdAt: PropertyBuilder<number>;
6838
+ createdBy: PropertyBuilder<`did:key:${string}`>;
6839
+ }>>;
6840
+ readonly 'xnet://xnet.fyi/AgentNotification': () => Promise<DefinedSchema<{
6841
+ space: PropertyBuilder<string>;
6842
+ kind: PropertyBuilder<"info" | "approval-request" | "alert" | "report">;
6843
+ title: PropertyBuilder<string>;
6844
+ body: PropertyBuilder<string>;
6845
+ action: PropertyBuilder<string>;
6846
+ status: PropertyBuilder<"pending" | "delivered" | "dismissed">;
6847
+ createdAt: PropertyBuilder<number>;
6848
+ createdBy: PropertyBuilder<`did:key:${string}`>;
6849
+ }>>;
6277
6850
  };
6278
6851
  /**
6279
6852
  * Built-in schema IRIs.
@@ -6756,4 +7329,4 @@ declare function createOperations(...operations: LensOperation[]): {
6756
7329
  */
6757
7330
  declare function identity(source: SchemaIRI, target: SchemaIRI): SchemaLens;
6758
7331
 
6759
- export { ACCOUNT_RECORD_SCHEMA_IRI, ACCOUNT_SCHEMA_IRI, ACHIEVEMENT_SCHEMA_IRI, ACTIVITY_KINDS, ACTIVITY_SCHEMA_IRI, type AbuseReport, AbuseReportSchema, type Account, type AccountClassId, type AccountRecord, AccountRecordSchema, AccountSchema, type Achievement, AchievementSchema, type Activity, type ActivityKind, ActivitySchema, type AnchorData, type AnchorType, type Appeal, AppealSchema, BUDGET_SCHEMA_IRI, type Budget, type BudgetPeriod, BudgetSchema, type BuiltInSchemaIRI, CHANNEL_KINDS, CONTACT_LIFECYCLE, CONTACT_SCHEMA_IRI, CRM_NAMESPACE, type Canvas, type CanvasObjectAnchor, type CanvasObjectAnchorPlacement, type CanvasPositionAnchor, CanvasSchema, type CellAnchor, type Channel, type ChannelKind, type ChannelNotifyTier, ChannelSchema, type ChatMessage, ChatMessageSchema, type CheckboxOptions, type ColumnAnchor, type Comment, CommentSchema, type CommunityNote, CommunityNoteSchema, type Contact, type ContactLifecycle, ContactSchema, type ContentProvenance, ContentProvenanceSchema, type CoreSchemaResolver, type CreatedByOptions, type CreatedOptions, type CrmVisibility, DEAL_CONTACT_ROLES, DEAL_CONTACT_ROLE_SCHEMA_IRI, DEAL_SCHEMA_IRI, DEAL_SOURCES, DEFAULT_CHANNEL_TIER, DEVICE_RECORD_SCHEMA_IRI, DID, type Dashboard, type DashboardBreakpointId, type DashboardLayoutItem, type DashboardLayouts, DashboardSchema, type DashboardTimeRange, type DashboardVariablesState, type DashboardWidgetInstance, type DashboardWidgetRefresh, type Database, type DatabaseField, DatabaseFieldSchema, type DatabaseRow, DatabaseRowSchema, DatabaseSchema, type DatabaseSelectOption, DatabaseSelectOptionSchema, type DatabaseView, DatabaseViewSchema, type DateOptions, type DateRange, type DateRangeOptions, type Deal, type DealContactRole, type DealContactRoleKind, DealContactRoleSchema, DealSchema, type DealSource, type DefineSchemaOptions, DefinedSchema, type DeviceLike, type DeviceRecord, DeviceRecordSchema, DocumentType, EXTENSION_FIELD_SCHEMA_IRI, EXTERNAL_ITEM_SCHEMA_IRI, EXTERNAL_ITEM_SOURCES, EXT_PREFIX, type EffectiveExtensionField, type EmailOptions, type Experiment, type ExperimentDesign, type ExperimentPhase, ExperimentSchema, type ExperimentStatus, type ExtensionField, type ExtensionFieldRecord, ExtensionFieldSchema, type ExtensionRecord, type ExternalItem, ExternalItemSchema, type ExternalReference, ExternalReferenceSchema, FEED_ITEM_SCHEMA_IRI, FEED_SCHEMA_IRI, FOLDER_SCHEMA_IRI, FORECAST_CATEGORIES, type Feed, type FeedItem, FeedItemSchema, FeedSchema, type FileOptions, type FileRef, type Folder, type FolderLike, FolderSchema, type FolderTreeNode, type ForecastCategory, GAME_ASSET_FORMATS, GAME_ASSET_MIME_TYPES, GAME_ASSET_SCHEMA_IRI, GAME_ECONOMY_ENTRY_SCHEMA_IRI, GAME_ITEM_SCHEMA_IRI, GAME_NAMESPACE, GAME_SCHEMA_IRIS, type GameAsset, type GameAssetFormat, GameAssetSchema, type GameEconomyEntry, GameEconomyEntrySchema, type GameItem, GameItemSchema, type GameVisibility, type GeoFeature, type GeoFeatureCollection, type GeoGeometry, type GeoPosition, type Grant, GrantSchema, IMPORT_BATCH_SCHEMA_IRI, INVENTORY_SCHEMA_IRI, ITEM_RARITIES, type ImportBatch, ImportBatchSchema, type ImportSource, type InboxItemTriage, type InboxState, InboxStateSchema, type InboxWatermark, InferNode, type Inventory, InventorySchema, type ItemRarity, type JsonOptions, LINE_ITEM_SCHEMA_IRI, type LedgerNodeIntent, LensOperation, type LineItem, LineItemSchema, MATCH_RESULTS, MATCH_SESSION_SCHEMA_IRI, MAX_LINK_PREVIEWS_PER_MESSAGE, MAX_MENTION_DIDS, MAX_TAG_NAME_LENGTH, MEETING_CHANNELS, MEETING_SCHEMA_IRI, MEETING_TEMPLATE_IDS, MEETING_TRANSCRIPT_SCHEMA_IRI, MEMORY_ITEM_SCHEMA_IRI, MEMORY_KINDS, MILESTONE_SCHEMA_IRI, type Map$1 as Map, type MapBasemapId, type MapLayerGeometry, type MapLayerSource, type MapLayerSpec, type MapLayerStyle, MapSchema, type MapViewport, type MatchResult, type MatchSession, MatchSessionSchema, type MediaAsset, MediaAssetSchema, type Meeting, type MeetingChannel, MeetingSchema, type MeetingSegment, type MeetingTemplateId, type MeetingTranscript, MeetingTranscriptSchema, type MemoryItem, MemoryItemSchema, type MemoryKind, type Mention, type MessageLinkPreview, type MessageMentions, type MessageRequest, MessageRequestSchema, type Metric, type MetricKind, type MetricPolarity, type MetricScheduleId, MetricSchema, type Milestone, MilestoneSchema, type ModerationLabel, ModerationLabelSchema, type MoneyOptions, type MoneyValue, type MultiSelectOptions, NODE_VISIBILITY, type NodeAnchor, type NodeVisibility, type NoteRating, NoteRatingSchema, type NotificationPrefs, type NumberOptions, ORGANIZATION_SCHEMA_IRI, ORGANIZATION_SIZES, type Observation, type ObservationPhase, ObservationSchema, type Organization, OrganizationSchema, type OrganizationSize, type OrphanReason, type OrphanResolvers, type OrphanStatus, PIPELINE_SCHEMA_IRI, PLAYER_IDENTITY_SCHEMA_IRI, POSTING_SCHEMA_IRI, PRODUCT_KINDS, PRODUCT_SCHEMA_IRI, type Page, PageSchema, type ParsedSystemNamespaceResource, type ParsedTaskShortId, type PersonOptions, type PhoneOptions, type Pipeline, PipelineSchema, type PlayerIdentity, PlayerIdentitySchema, type PolicyList, PolicyListSchema, type PolicySubscription, PolicySubscriptionSchema, type Posting, PostingSchema, PresenceAggregator, type PresenceAggregatorOptions, type PresenceAggregatorStore, type PresenceCountBucket, type PresenceSummary, type PresenceSummaryDescriptor, PresenceSummarySchema, type PresenceVisibility, type PresenceVisibilityResolver, type Product, type ProductKind, ProductSchema, type Profile, ProfileSchema, type Project, ProjectSchema, PropertyBuilder, PropertyType, type PublicInteractionPolicy, PublicInteractionPolicySchema, type QualitySignal, QualitySignalSchema, RECOVERY_RECORD_SCHEMA_IRI, RELATIONSHIP_KINDS, RELATIONSHIP_SCHEMA_IRI, REVOCATION_RECORD_SCHEMA_IRI, type Reaction, ReactionSchema, type RecoveryRecord, RecoveryRecordSchema, type RelationOptions, type Relationship, type RelationshipKind, RelationshipSchema, type ReviewTask, ReviewTaskSchema, type RevocationLike, type RevocationRecord, RevocationRecordSchema, type RowAnchor, SCHEMA_EXTENSION_SCHEMA_IRI, DEFAULT_SCHEMA_VERSION as SCHEMA_VERSION, SIDECAR_PREFIX, SPACE_KINDS, SPACE_MEMBERSHIP_SCHEMA_IRI, SPACE_ROLES, SPACE_SCHEMA_IRI, SPACE_VISIBILITY, STAGE_SCHEMA_IRI, SYSTEM_NAMESPACE_KINDS, SYSTEM_SCHEMA_BASE_IRIS, SYSTEM_SCHEMA_IRIS, type SavedView, SavedViewSchema, Schema, type SchemaAuthorityResolution, type SchemaAuthorityResolutionKind, type SchemaAuthorityResolutionOptions, type SchemaCompatibility, type SchemaCompatibilityMode, SchemaCompatibilitySchema, type SchemaDefinition, SchemaDefinitionSchema, type SchemaDefinitionSigningInput, type SchemaDefinitionStatus, type SchemaExtension, SchemaExtensionSchema, SchemaIRI, SchemaLens, type SelectOption, type SelectOptions, type SidecarOverlay, type Space, type SpaceKind, type SpaceLike, type SpaceMembership, SpaceMembershipSchema, type SpaceRole, SpaceSchema, type SpaceTreeNode, type SpaceVisibility, type Stage, StageSchema, type SyncPolicy, SyncPolicySchema, type SyncPolicyStatus, type SystemFederationErrorCode, type SystemNamespaceKind, type SystemSchemaDefinitionRecord, SystemSchemaIndex, type SystemSchemaIndexDiagnostic, type SystemSchemaIndexOptions, type SystemSchemaIndexStore, TAG_SCHEMA_IRI, TASK_SHORT_ID_PATTERN, TASK_STATUS_CATEGORIES, TRANSACTION_SCHEMA_IRI, TRANSCRIPTION_SCHEMA_IRI, type Tag, TagSchema, type Task, TaskSchema, type TaskShortIdBlock, type TaskStatusCategory, type TaskStatusId, type TaskView, TaskViewSchema, type TextAnchor, type TextOptions, type Transaction, TransactionSchema, type TransactionStatus, type Transcription, TranscriptionSchema, type TranscriptionSourceId, type UpdatedOptions, type UrlOptions, type UserWidget, type UserWidgetConfigField, UserWidgetSchema, type UserWidgetSize, type ValidateSchemaDefinitionNodeOptions, ValidationError, ValidationResult, type Workspace, WorkspaceSchema, type WorkspaceTreeJson, accountRecordId, accountState, addDefault, admitDeviceRecord, bucketPresenceCount, buildEffectiveSchema, buildFolderTree, buildSpaceTree, buildSystemNamespace, buildSystemNodeId, builtInSchemas, canManageSpace, canModifyColumn, checkOrphanStatus, checkbox, compareSpaceRoles, composeLens, computeSchemaDefinitionContentHash, convert, copy, createAccountRecord, createNodeGraphSchemaResolver, createOperations, createSchemaDefinitionSigningPayload, created, createdBy, crmSchemas, date, dateRange, decodeAnchor, defineSchema, deviceRecipientExpander, deviceRecordId, didFromProfileNodeId, effectiveSpaceRole, email, encodeAnchor, extKey, extractMentions, file, filterOrphanedComments, findLockedColumns, flattenFolderTree, flattenSpaceTree, folderAncestorIds, folderPathIds, formatTaskShortId, gameSchemas, getMentionedUsers, getPresenceNoisePolicy, getTaskStatusCategory, identity, inboxStateNodeId, isCanvasObjectAnchor, isCanvasPositionAnchor, isCellAnchor, isColumnAnchor, isCompletedTaskStatus, isDeviceAuthorized, isExtKey, isMessageLinkPreview, isMoneyValue, isNodeAnchor, isRowAnchor, isSchemaDefinitionNode, isSpaceRole, isSystemNamespaceResource, isSystemSchemaIri, isTextAnchor, isValidMentions, isValidTagName, json, loadExtensionFields, lockedPropertyKeys, mentionsInclude, merge, mergeSidecarsIntoRow, money, multiSelect, nextEpoch, normalizeMentions, normalizeTagName, number, parseExtKey, parseSystemNamespaceResource, parseTaskShortId, person, phone, profileNodeId, promoteOverlay, recoveryRecordId, relation, remove, rename, resolveActiveDevices, resolveEffectiveSchema, resolveSchemaAuthority, revocationRecordId, revokeDeviceRecord, revokeSubjectRecord, revokedSubjects, sanitizeLinkPreviews, schemaExtensionId, select, selectExtensionFields, shortIdsFromBlock, sidecarId, sidecarOverlayKeys, spaceAncestorIds, spaceMembershipId, spacePathIds, spaceRoleGrantActions, spaceRoleToShareRole, summarizePresenceNodes, taskBranchName, text, transform, updated, url, validateSchemaDefinitionNode, when, wouldCreateFolderCycle, wouldCreateSpaceCycle };
7332
+ export { ACCOUNT_RECORD_SCHEMA_IRI, ACCOUNT_SCHEMA_IRI, ACHIEVEMENT_SCHEMA_IRI, ACTIVITY_KINDS, ACTIVITY_SCHEMA_IRI, AGENT_ACTION_SCHEMA_IRI, AGENT_ACTION_STATUSES, AGENT_APPROVAL_DECISIONS, AGENT_APPROVAL_SCHEMA_IRI, AGENT_APPROVAL_SURFACES, AGENT_CHANNELS, AGENT_NOTIFICATION_KINDS, AGENT_NOTIFICATION_SCHEMA_IRI, AGENT_NOTIFICATION_STATUSES, AGENT_PASSPORT_SCHEMA_IRI, AGENT_REVERSIBILITIES, AGENT_RISKS, AGENT_RUNTIMES, AGENT_SESSION_SCHEMA_IRI, type AbuseReport, AbuseReportSchema, type Account, type AccountClassId, type AccountRecord, AccountRecordSchema, AccountSchema, type Achievement, AchievementSchema, type Activity, type ActivityKind, ActivitySchema, type AgentAction, AgentActionSchema, type AgentActionStatus, type AgentApproval, type AgentApprovalDecision, AgentApprovalSchema, type AgentApprovalSurface, type AgentChannel, type AgentNotification, type AgentNotificationKind, AgentNotificationSchema, type AgentNotificationStatus, type AgentPassport, AgentPassportSchema, type AgentReversibility, type AgentRisk, type AgentRuntime, type AgentSession, AgentSessionSchema, type AnchorData, type AnchorType, type Appeal, AppealSchema, BUDGET_SCHEMA_IRI, type Budget, type BudgetPeriod, BudgetSchema, type BuiltInSchemaIRI, CHANNEL_KINDS, CHECKPOINT_SCHEMA_IRI, CONTACT_LIFECYCLE, CONTACT_SCHEMA_IRI, CRM_NAMESPACE, type Canvas, type CanvasObjectAnchor, type CanvasObjectAnchorPlacement, type CanvasPositionAnchor, CanvasSchema, type CellAnchor, type Channel, type ChannelKind, type ChannelNotifyTier, ChannelSchema, type ChatMessage, ChatMessageSchema, type CheckboxOptions, type Checkpoint, type CheckpointFrontierEntry, CheckpointSchema, type ColumnAnchor, type Comment, CommentSchema, type CommunityNote, CommunityNoteSchema, type Contact, type ContactLifecycle, ContactSchema, type ContentProvenance, ContentProvenanceSchema, type CoreSchemaResolver, type CreatedByOptions, type CreatedOptions, type CrmVisibility, DEAL_CONTACT_ROLES, DEAL_CONTACT_ROLE_SCHEMA_IRI, DEAL_SCHEMA_IRI, DEAL_SOURCES, DEFAULT_CHANNEL_TIER, DEVICE_RECORD_SCHEMA_IRI, DID, DRAFT_SCHEMA_IRI, type Dashboard, type DashboardBreakpointId, type DashboardLayoutItem, type DashboardLayouts, DashboardSchema, type DashboardTimeRange, type DashboardVariablesState, type DashboardWidgetInstance, type DashboardWidgetRefresh, type Database, type DatabaseField, DatabaseFieldSchema, type DatabaseRow, DatabaseRowSchema, DatabaseSchema, type DatabaseSelectOption, DatabaseSelectOptionSchema, type DatabaseView, DatabaseViewSchema, type DateOptions, type DateRange, type DateRangeOptions, type Deal, type DealContactRole, type DealContactRoleKind, DealContactRoleSchema, DealSchema, type DealSource, type DebugReport, DebugReportSchema, type DefineSchemaOptions, DefinedSchema, type DeviceLike, type DeviceRecord, DeviceRecordSchema, DocumentType, type Draft, type DraftEntry, type DraftProvenance, DraftSchema, EXTENSION_FIELD_SCHEMA_IRI, EXTERNAL_ITEM_SCHEMA_IRI, EXTERNAL_ITEM_SOURCES, EXT_PREFIX, type EffectiveExtensionField, type EmailOptions, type Experiment, type ExperimentDesign, type ExperimentPhase, ExperimentSchema, type ExperimentStatus, type ExtensionField, type ExtensionFieldRecord, ExtensionFieldSchema, type ExtensionRecord, type ExternalItem, ExternalItemSchema, type ExternalReference, ExternalReferenceSchema, FEED_ITEM_SCHEMA_IRI, FEED_SCHEMA_IRI, FOLDER_SCHEMA_IRI, FORECAST_CATEGORIES, type Feed, type FeedItem, FeedItemSchema, FeedSchema, type FileOptions, type FileRef, type Folder, type FolderLike, FolderSchema, type FolderTreeNode, type ForecastCategory, GAME_ASSET_FORMATS, GAME_ASSET_MIME_TYPES, GAME_ASSET_SCHEMA_IRI, GAME_ECONOMY_ENTRY_SCHEMA_IRI, GAME_ITEM_SCHEMA_IRI, GAME_NAMESPACE, GAME_SCHEMA_IRIS, type GameAsset, type GameAssetFormat, GameAssetSchema, type GameEconomyEntry, GameEconomyEntrySchema, type GameItem, GameItemSchema, type GameVisibility, type GeoFeature, type GeoFeatureCollection, type GeoGeometry, type GeoPosition, type Grant, GrantSchema, IMPORT_BATCH_SCHEMA_IRI, INVENTORY_SCHEMA_IRI, ITEM_RARITIES, type ImportBatch, ImportBatchSchema, type ImportSource, type InboxItemTriage, type InboxState, InboxStateSchema, type InboxWatermark, InferNode, type Inventory, InventorySchema, type ItemRarity, type JsonOptions, LINE_ITEM_SCHEMA_IRI, type LedgerNodeIntent, LensOperation, type LineItem, LineItemSchema, MATCH_RESULTS, MATCH_SESSION_SCHEMA_IRI, MAX_LINK_PREVIEWS_PER_MESSAGE, MAX_MENTION_DIDS, MAX_TAG_NAME_LENGTH, MEETING_CHANNELS, MEETING_SCHEMA_IRI, MEETING_TEMPLATE_IDS, MEETING_TRANSCRIPT_SCHEMA_IRI, MEMORY_ITEM_SCHEMA_IRI, MEMORY_KINDS, MILESTONE_SCHEMA_IRI, type Map$1 as Map, type MapBasemapId, type MapLayerGeometry, type MapLayerSource, type MapLayerSpec, type MapLayerStyle, MapSchema, type MapViewport, type MatchResult, type MatchSession, MatchSessionSchema, type MediaAsset, MediaAssetSchema, type Meeting, type MeetingChannel, MeetingSchema, type MeetingSegment, type MeetingTemplateId, type MeetingTranscript, MeetingTranscriptSchema, type MemoryItem, MemoryItemSchema, type MemoryKind, type Mention, type MessageLinkPreview, type MessageMentions, type MessageRequest, MessageRequestSchema, type Metric, type MetricKind, type MetricPolarity, type MetricScheduleId, MetricSchema, type Milestone, MilestoneSchema, type ModerationLabel, ModerationLabelSchema, type MoneyOptions, type MoneyValue, type MultiSelectOptions, NODE_VISIBILITY, type NodeAnchor, type NodeVisibility, type NoteRating, NoteRatingSchema, type NotificationPrefs, type NumberOptions, ORGANIZATION_SCHEMA_IRI, ORGANIZATION_SIZES, type Observation, type ObservationPhase, ObservationSchema, type Organization, OrganizationSchema, type OrganizationSize, type OrphanReason, type OrphanResolvers, type OrphanStatus, PIPELINE_SCHEMA_IRI, PLAYER_IDENTITY_SCHEMA_IRI, POSTING_SCHEMA_IRI, PRODUCT_KINDS, PRODUCT_SCHEMA_IRI, type Page, PageSchema, type ParsedSystemNamespaceResource, type ParsedTaskShortId, type PersonOptions, type PhoneOptions, type Pipeline, PipelineSchema, type PlayerIdentity, PlayerIdentitySchema, type PolicyList, PolicyListSchema, type PolicySubscription, PolicySubscriptionSchema, type Posting, PostingSchema, PresenceAggregator, type PresenceAggregatorOptions, type PresenceAggregatorStore, type PresenceCountBucket, type PresenceSummary, type PresenceSummaryDescriptor, PresenceSummarySchema, type PresenceVisibility, type PresenceVisibilityResolver, type Product, type ProductKind, ProductSchema, type Profile, ProfileSchema, type Project, ProjectSchema, PropertyBuilder, PropertyType, type PublicInteractionPolicy, PublicInteractionPolicySchema, type QualitySignal, QualitySignalSchema, RECOVERY_RECORD_SCHEMA_IRI, RELATIONSHIP_KINDS, RELATIONSHIP_SCHEMA_IRI, REVOCATION_RECORD_SCHEMA_IRI, type Reaction, ReactionSchema, type RecoveryRecord, RecoveryRecordSchema, type RelationOptions, type Relationship, type RelationshipKind, RelationshipSchema, type ReviewTask, ReviewTaskSchema, type RevocationLike, type RevocationRecord, RevocationRecordSchema, type RowAnchor, SCHEMA_EXTENSION_SCHEMA_IRI, DEFAULT_SCHEMA_VERSION as SCHEMA_VERSION, SIDECAR_PREFIX, SPACE_KINDS, SPACE_MEMBERSHIP_SCHEMA_IRI, SPACE_ROLES, SPACE_SCHEMA_IRI, SPACE_VISIBILITY, STAGE_SCHEMA_IRI, SYSTEM_NAMESPACE_KINDS, SYSTEM_SCHEMA_BASE_IRIS, SYSTEM_SCHEMA_IRIS, type SavedView, SavedViewSchema, Schema, type SchemaAuthorityResolution, type SchemaAuthorityResolutionKind, type SchemaAuthorityResolutionOptions, type SchemaCompatibility, type SchemaCompatibilityMode, SchemaCompatibilitySchema, type SchemaDefinition, SchemaDefinitionSchema, type SchemaDefinitionSigningInput, type SchemaDefinitionStatus, type SchemaExtension, SchemaExtensionSchema, SchemaIRI, SchemaLens, type SelectOption, type SelectOptions, type SidecarOverlay, type Space, type SpaceKind, type SpaceLike, type SpaceMembership, SpaceMembershipSchema, type SpaceRole, SpaceSchema, type SpaceTreeNode, type SpaceVisibility, type Stage, StageSchema, type SyncPolicy, SyncPolicySchema, type SyncPolicyStatus, type SystemFederationErrorCode, type SystemNamespaceKind, type SystemSchemaDefinitionRecord, SystemSchemaIndex, type SystemSchemaIndexDiagnostic, type SystemSchemaIndexOptions, type SystemSchemaIndexStore, TAG_SCHEMA_IRI, TASK_SHORT_ID_PATTERN, TASK_STATUS_CATEGORIES, TRANSACTION_SCHEMA_IRI, TRANSCRIPTION_SCHEMA_IRI, type Tag, TagSchema, type Task, TaskSchema, type TaskShortIdBlock, type TaskStatusCategory, type TaskStatusId, type TaskView, TaskViewSchema, type TextAnchor, type TextOptions, type Transaction, TransactionSchema, type TransactionStatus, type Transcription, TranscriptionSchema, type TranscriptionSourceId, type UpdatedOptions, type UrlOptions, type UserWidget, type UserWidgetConfigField, UserWidgetSchema, type UserWidgetSize, type ValidateSchemaDefinitionNodeOptions, ValidationError, ValidationResult, type Workspace, WorkspaceSchema, type WorkspaceTreeJson, accountRecordId, accountState, addDefault, admitDeviceRecord, agentActionId, agentApprovalId, agentNotificationId, agentPassportId, agentSessionId, bucketPresenceCount, buildEffectiveSchema, buildFolderTree, buildSpaceTree, buildSystemNamespace, buildSystemNodeId, builtInSchemas, canManageSpace, canModifyColumn, checkOrphanStatus, checkbox, compareSpaceRoles, composeLens, computeSchemaDefinitionContentHash, convert, copy, createAccountRecord, createNodeGraphSchemaResolver, createOperations, createSchemaDefinitionSigningPayload, created, createdBy, crmSchemas, date, dateRange, decodeAnchor, defineSchema, deviceRecipientExpander, deviceRecordId, didFromProfileNodeId, effectiveSpaceRole, email, encodeAnchor, extKey, extractMentions, file, filterOrphanedComments, findLockedColumns, flattenFolderTree, flattenSpaceTree, folderAncestorIds, folderPathIds, formatTaskShortId, gameSchemas, getMentionedUsers, getPresenceNoisePolicy, getTaskStatusCategory, identity, inboxStateNodeId, isCanvasObjectAnchor, isCanvasPositionAnchor, isCellAnchor, isColumnAnchor, isCompletedTaskStatus, isDeviceAuthorized, isExtKey, isMessageLinkPreview, isMoneyValue, isNodeAnchor, isRowAnchor, isSchemaDefinitionNode, isSpaceRole, isSystemNamespaceResource, isSystemSchemaIri, isTextAnchor, isValidMentions, isValidTagName, json, loadExtensionFields, lockedPropertyKeys, mentionsInclude, merge, mergeSidecarsIntoRow, money, multiSelect, nextEpoch, normalizeMentions, normalizeTagName, number, parseExtKey, parseSystemNamespaceResource, parseTaskShortId, person, phone, profileNodeId, promoteOverlay, recoveryRecordId, redactInstruction, relation, remove, rename, resolveActiveDevices, resolveEffectiveSchema, resolveSchemaAuthority, revocationRecordId, revokeDeviceRecord, revokeSubjectRecord, revokedSubjects, sanitizeLinkPreviews, schemaExtensionId, select, selectExtensionFields, shortIdsFromBlock, sidecarId, sidecarOverlayKeys, spaceAncestorIds, spaceMembershipId, spacePathIds, spaceRoleGrantActions, spaceRoleToShareRole, summarizePresenceNodes, taskBranchName, text, transform, updated, url, validateSchemaDefinitionNode, when, wouldCreateFolderCycle, wouldCreateSpaceCycle };