@xnetjs/data 2.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.
@@ -0,0 +1,58 @@
1
+ import {
2
+ AGENT_ACTION_SCHEMA_IRI,
3
+ AGENT_ACTION_STATUSES,
4
+ AGENT_APPROVAL_DECISIONS,
5
+ AGENT_APPROVAL_SCHEMA_IRI,
6
+ AGENT_APPROVAL_SURFACES,
7
+ AGENT_CHANNELS,
8
+ AGENT_NOTIFICATION_KINDS,
9
+ AGENT_NOTIFICATION_SCHEMA_IRI,
10
+ AGENT_NOTIFICATION_STATUSES,
11
+ AGENT_PASSPORT_SCHEMA_IRI,
12
+ AGENT_REVERSIBILITIES,
13
+ AGENT_RISKS,
14
+ AGENT_RUNTIMES,
15
+ AGENT_SESSION_SCHEMA_IRI,
16
+ AgentActionSchema,
17
+ AgentApprovalSchema,
18
+ AgentNotificationSchema,
19
+ AgentPassportSchema,
20
+ AgentSessionSchema,
21
+ agentActionId,
22
+ agentApprovalId,
23
+ agentNotificationId,
24
+ agentPassportId,
25
+ agentSessionId,
26
+ redactInstruction
27
+ } from "./chunk-JWGS7JMA.js";
28
+ import "./chunk-JA56EQJO.js";
29
+ import "./chunk-LK5ZIAIE.js";
30
+ import "./chunk-RRXJNZX5.js";
31
+ import "./chunk-D4LUUZYD.js";
32
+ export {
33
+ AGENT_ACTION_SCHEMA_IRI,
34
+ AGENT_ACTION_STATUSES,
35
+ AGENT_APPROVAL_DECISIONS,
36
+ AGENT_APPROVAL_SCHEMA_IRI,
37
+ AGENT_APPROVAL_SURFACES,
38
+ AGENT_CHANNELS,
39
+ AGENT_NOTIFICATION_KINDS,
40
+ AGENT_NOTIFICATION_SCHEMA_IRI,
41
+ AGENT_NOTIFICATION_STATUSES,
42
+ AGENT_PASSPORT_SCHEMA_IRI,
43
+ AGENT_REVERSIBILITIES,
44
+ AGENT_RISKS,
45
+ AGENT_RUNTIMES,
46
+ AGENT_SESSION_SCHEMA_IRI,
47
+ AgentActionSchema,
48
+ AgentApprovalSchema,
49
+ AgentNotificationSchema,
50
+ AgentPassportSchema,
51
+ AgentSessionSchema,
52
+ agentActionId,
53
+ agentApprovalId,
54
+ agentNotificationId,
55
+ agentPassportId,
56
+ agentSessionId,
57
+ redactInstruction
58
+ };
@@ -0,0 +1,240 @@
1
+ import {
2
+ spaceCascadeAuthorization
3
+ } from "./chunk-JA56EQJO.js";
4
+ import {
5
+ created,
6
+ createdBy,
7
+ date,
8
+ defineSchema,
9
+ json,
10
+ number,
11
+ relation,
12
+ select,
13
+ text
14
+ } from "./chunk-RRXJNZX5.js";
15
+
16
+ // src/schema/schemas/agent.ts
17
+ var AGENT_PASSPORT_SCHEMA_IRI = "xnet://xnet.fyi/AgentPassport@1.0.0";
18
+ var AGENT_SESSION_SCHEMA_IRI = "xnet://xnet.fyi/AgentSession@1.0.0";
19
+ var AGENT_ACTION_SCHEMA_IRI = "xnet://xnet.fyi/AgentAction@1.0.0";
20
+ var AGENT_APPROVAL_SCHEMA_IRI = "xnet://xnet.fyi/AgentApproval@1.0.0";
21
+ var AGENT_NOTIFICATION_SCHEMA_IRI = "xnet://xnet.fyi/AgentNotification@1.0.0";
22
+ var AGENT_RUNTIMES = [
23
+ { id: "openclaw", name: "OpenClaw", color: "orange" },
24
+ { id: "hermes", name: "Hermes", color: "purple" },
25
+ { id: "claude-code", name: "Claude Code", color: "blue" },
26
+ { id: "other", name: "Other", color: "gray" }
27
+ ];
28
+ var passportStatuses = [
29
+ { id: "active", name: "Active", color: "green" },
30
+ { id: "revoked", name: "Revoked", color: "red" },
31
+ { id: "expired", name: "Expired", color: "gray" }
32
+ ];
33
+ var AgentPassportSchema = defineSchema({
34
+ name: "AgentPassport",
35
+ namespace: "xnet://xnet.fyi/",
36
+ properties: {
37
+ /** Home Space for the operator's agent-audit workspace — drives access. */
38
+ space: relation({}),
39
+ /** The agent's own did:key. Every change it makes is signed by this DID. */
40
+ agentDID: text({ required: true, maxLength: 256 }),
41
+ /** The operator DID that delegated authority to the agent. */
42
+ operatorDID: text({ required: true, maxLength: 256 }),
43
+ displayName: text({ maxLength: 120 }),
44
+ runtime: select({ options: AGENT_RUNTIMES, required: true, default: "other" }),
45
+ /** The operator-signed, attenuated UCAN delegated to `agentDID`. */
46
+ ucan: text({ required: true, maxLength: 8192 }),
47
+ /** Delegation expiry (epoch ms). Rotation is the near-term revocation. */
48
+ expiresAt: date({}),
49
+ status: select({ options: passportStatuses, required: true, default: "active" }),
50
+ createdAt: created(),
51
+ createdBy: createdBy()
52
+ },
53
+ document: void 0,
54
+ authorization: spaceCascadeAuthorization("space")
55
+ });
56
+ var AGENT_CHANNELS = [
57
+ { id: "whatsapp", name: "WhatsApp", color: "green" },
58
+ { id: "telegram", name: "Telegram", color: "blue" },
59
+ { id: "signal", name: "Signal", color: "blue" },
60
+ { id: "imessage", name: "iMessage", color: "green" },
61
+ { id: "discord", name: "Discord", color: "purple" },
62
+ { id: "slack", name: "Slack", color: "purple" },
63
+ { id: "app", name: "xNet app", color: "orange" },
64
+ { id: "cli", name: "CLI", color: "gray" },
65
+ { id: "other", name: "Other", color: "gray" }
66
+ ];
67
+ var AgentSessionSchema = defineSchema({
68
+ name: "AgentSession",
69
+ namespace: "xnet://xnet.fyi/",
70
+ properties: {
71
+ space: relation({}),
72
+ /** AgentPassport node id. */
73
+ passport: relation({}),
74
+ channel: select({ options: AGENT_CHANNELS, required: true, default: "other" }),
75
+ /** Channel-specific peer id (chat/thread id) — forensics for approvals. */
76
+ peer: text({ maxLength: 256 }),
77
+ startedAt: date({}),
78
+ lastActiveAt: date({}),
79
+ createdAt: created(),
80
+ createdBy: createdBy()
81
+ },
82
+ document: void 0,
83
+ authorization: spaceCascadeAuthorization("space")
84
+ });
85
+ var AGENT_RISKS = [
86
+ { id: "low", name: "Low", color: "green" },
87
+ { id: "medium", name: "Medium", color: "yellow" },
88
+ { id: "high", name: "High", color: "orange" },
89
+ { id: "critical", name: "Critical", color: "red" }
90
+ ];
91
+ var AGENT_ACTION_STATUSES = [
92
+ { id: "proposed", name: "Proposed", color: "gray" },
93
+ { id: "pending-approval", name: "Pending approval", color: "yellow" },
94
+ { id: "approved", name: "Approved", color: "blue" },
95
+ { id: "denied", name: "Denied", color: "red" },
96
+ { id: "applied", name: "Applied", color: "green" },
97
+ { id: "rolled-back", name: "Rolled back", color: "purple" },
98
+ { id: "failed", name: "Failed", color: "red" }
99
+ ];
100
+ var AGENT_REVERSIBILITIES = [
101
+ { id: "reversible", name: "Reversible", color: "green" },
102
+ { id: "compensatable", name: "Compensatable", color: "yellow" },
103
+ { id: "irreversible", name: "Irreversible", color: "red" }
104
+ ];
105
+ var AgentActionSchema = defineSchema({
106
+ name: "AgentAction",
107
+ namespace: "xnet://xnet.fyi/",
108
+ properties: {
109
+ space: relation({}),
110
+ /** AgentSession node id (deterministic; see `agentSessionId`). */
111
+ session: text({ required: true, maxLength: 256 }),
112
+ /** Monotonic sequence within the session — part of the deterministic id. */
113
+ seq: number({ integer: true }),
114
+ /** Tool name, e.g. `xnet_apply_page_markdown`. */
115
+ tool: text({ required: true, maxLength: 120 }),
116
+ /**
117
+ * The operator's instruction, verbatim. Sensitive — keep the audit Space
118
+ * tightly scoped, or store a redaction (see `redactInstruction`).
119
+ */
120
+ instruction: text({ maxLength: 4e3 }),
121
+ risk: select({ options: AGENT_RISKS, required: true, default: "low" }),
122
+ status: select({ options: AGENT_ACTION_STATUSES, required: true, default: "proposed" }),
123
+ reversibility: select({
124
+ options: AGENT_REVERSIBILITIES,
125
+ required: true,
126
+ default: "compensatable"
127
+ }),
128
+ /** Kernel change ids this action produced (links semantic → signed log). */
129
+ changeIds: json({}),
130
+ /** Error message when `status` is `failed`. */
131
+ error: text({ maxLength: 2e3 }),
132
+ /** Pending-approval expiry (epoch ms) — the ceremony TTL. */
133
+ approvalExpiresAt: date({}),
134
+ createdAt: created(),
135
+ createdBy: createdBy()
136
+ },
137
+ document: void 0,
138
+ authorization: spaceCascadeAuthorization("space")
139
+ });
140
+ var AGENT_APPROVAL_SURFACES = [
141
+ // Relayed by the agent itself — forgeable by a compromised gateway, so
142
+ // chat-surface approvals are capped at medium risk by the ceremony.
143
+ { id: "chat", name: "Chat", color: "yellow" },
144
+ // Confirmed in an xNet surface and signed by the operator's own DID.
145
+ { id: "app", name: "xNet app", color: "green" },
146
+ { id: "push", name: "Push", color: "green" }
147
+ ];
148
+ var AGENT_APPROVAL_DECISIONS = [
149
+ { id: "approved", name: "Approved", color: "green" },
150
+ { id: "denied", name: "Denied", color: "red" },
151
+ { id: "expired", name: "Expired", color: "gray" }
152
+ ];
153
+ var AgentApprovalSchema = defineSchema({
154
+ name: "AgentApproval",
155
+ namespace: "xnet://xnet.fyi/",
156
+ properties: {
157
+ space: relation({}),
158
+ /** AgentAction node id this decision gates. */
159
+ action: text({ required: true, maxLength: 256 }),
160
+ surface: select({ options: AGENT_APPROVAL_SURFACES, required: true, default: "chat" }),
161
+ decision: select({ options: AGENT_APPROVAL_DECISIONS, required: true, default: "expired" }),
162
+ /**
163
+ * DID that made the decision. For `surface: 'app'`/`'push'` this is the
164
+ * operator (the node is signed by their key — unforgeable by the agent).
165
+ */
166
+ approverDID: text({ maxLength: 256 }),
167
+ /** SHA-256 hex of the nonce — never the nonce itself. */
168
+ nonceHash: text({ maxLength: 64 }),
169
+ /** Channel peer that replied, for `surface: 'chat'` forensics. */
170
+ peer: text({ maxLength: 256 }),
171
+ decidedAt: date({}),
172
+ createdAt: created(),
173
+ createdBy: createdBy()
174
+ },
175
+ document: void 0,
176
+ authorization: spaceCascadeAuthorization("space")
177
+ });
178
+ var AGENT_NOTIFICATION_KINDS = [
179
+ { id: "info", name: "Info", color: "blue" },
180
+ { id: "approval-request", name: "Approval request", color: "yellow" },
181
+ { id: "alert", name: "Alert", color: "red" },
182
+ { id: "report", name: "Report", color: "green" }
183
+ ];
184
+ var AGENT_NOTIFICATION_STATUSES = [
185
+ { id: "pending", name: "Pending", color: "yellow" },
186
+ { id: "delivered", name: "Delivered", color: "green" },
187
+ { id: "dismissed", name: "Dismissed", color: "gray" }
188
+ ];
189
+ var AgentNotificationSchema = defineSchema({
190
+ name: "AgentNotification",
191
+ namespace: "xnet://xnet.fyi/",
192
+ properties: {
193
+ space: relation({}),
194
+ kind: select({ options: AGENT_NOTIFICATION_KINDS, required: true, default: "info" }),
195
+ title: text({ required: true, maxLength: 200 }),
196
+ body: text({ maxLength: 4e3 }),
197
+ /** Related AgentAction node id, when the notification concerns one. */
198
+ action: text({ maxLength: 256 }),
199
+ status: select({ options: AGENT_NOTIFICATION_STATUSES, required: true, default: "pending" }),
200
+ createdAt: created(),
201
+ createdBy: createdBy()
202
+ },
203
+ document: void 0,
204
+ authorization: spaceCascadeAuthorization("space")
205
+ });
206
+ var sanitizeIdPart = (value) => value.replace(/[^a-zA-Z0-9:_-]/g, "_");
207
+ var agentPassportId = (agentDID) => `agent-passport:${sanitizeIdPart(agentDID)}`;
208
+ var agentSessionId = (agentDID, sessionKey) => `agent-session:${sanitizeIdPart(agentDID)}:${sanitizeIdPart(sessionKey)}`;
209
+ var agentActionId = (sessionId, seq) => `agent-action:${sanitizeIdPart(sessionId)}:${seq}`;
210
+ var agentApprovalId = (actionId) => `agent-approval:${sanitizeIdPart(actionId)}`;
211
+ var agentNotificationId = (key) => `agent-notification:${sanitizeIdPart(key)}`;
212
+ var redactInstruction = (instruction, digestHex) => `[redacted ${instruction.length} chars sha256:${digestHex.slice(0, 16)}]`;
213
+
214
+ export {
215
+ AGENT_PASSPORT_SCHEMA_IRI,
216
+ AGENT_SESSION_SCHEMA_IRI,
217
+ AGENT_ACTION_SCHEMA_IRI,
218
+ AGENT_APPROVAL_SCHEMA_IRI,
219
+ AGENT_NOTIFICATION_SCHEMA_IRI,
220
+ AGENT_RUNTIMES,
221
+ AgentPassportSchema,
222
+ AGENT_CHANNELS,
223
+ AgentSessionSchema,
224
+ AGENT_RISKS,
225
+ AGENT_ACTION_STATUSES,
226
+ AGENT_REVERSIBILITIES,
227
+ AgentActionSchema,
228
+ AGENT_APPROVAL_SURFACES,
229
+ AGENT_APPROVAL_DECISIONS,
230
+ AgentApprovalSchema,
231
+ AGENT_NOTIFICATION_KINDS,
232
+ AGENT_NOTIFICATION_STATUSES,
233
+ AgentNotificationSchema,
234
+ agentPassportId,
235
+ agentSessionId,
236
+ agentActionId,
237
+ agentApprovalId,
238
+ agentNotificationId,
239
+ redactInstruction
240
+ };
@@ -444,6 +444,12 @@ var builtInSchemas = {
444
444
  "xnet://xnet.fyi/GameAsset@1.0.0": () => import("./game-7WW2JX6O.js").then((m) => m.GameAssetSchema),
445
445
  // Memory schema pack (exploration 0211)
446
446
  "xnet://xnet.fyi/MemoryItem@1.0.0": () => import("./memory-5PD3XCKB.js").then((m) => m.MemoryItemSchema),
447
+ // Agent schema pack (exploration 0337)
448
+ "xnet://xnet.fyi/AgentPassport@1.0.0": () => import("./agent-OFQJQMNB.js").then((m) => m.AgentPassportSchema),
449
+ "xnet://xnet.fyi/AgentSession@1.0.0": () => import("./agent-OFQJQMNB.js").then((m) => m.AgentSessionSchema),
450
+ "xnet://xnet.fyi/AgentAction@1.0.0": () => import("./agent-OFQJQMNB.js").then((m) => m.AgentActionSchema),
451
+ "xnet://xnet.fyi/AgentApproval@1.0.0": () => import("./agent-OFQJQMNB.js").then((m) => m.AgentApprovalSchema),
452
+ "xnet://xnet.fyi/AgentNotification@1.0.0": () => import("./agent-OFQJQMNB.js").then((m) => m.AgentNotificationSchema),
447
453
  // Legacy unversioned IRIs (aliases for the current version)
448
454
  "xnet://xnet.fyi/Page": () => import("./page-UE5NPYEF.js").then((m) => m.PageSchema),
449
455
  "xnet://xnet.fyi/Folder": () => import("./folder-NU5TJFOT.js").then((m) => m.FolderSchema),
@@ -530,7 +536,13 @@ var builtInSchemas = {
530
536
  "xnet://xnet.fyi/GameEconomyEntry": () => import("./game-7WW2JX6O.js").then((m) => m.GameEconomyEntrySchema),
531
537
  "xnet://xnet.fyi/GameAsset": () => import("./game-7WW2JX6O.js").then((m) => m.GameAssetSchema),
532
538
  // Memory schema pack (exploration 0211)
533
- "xnet://xnet.fyi/MemoryItem": () => import("./memory-5PD3XCKB.js").then((m) => m.MemoryItemSchema)
539
+ "xnet://xnet.fyi/MemoryItem": () => import("./memory-5PD3XCKB.js").then((m) => m.MemoryItemSchema),
540
+ // Agent schema pack (exploration 0337)
541
+ "xnet://xnet.fyi/AgentPassport": () => import("./agent-OFQJQMNB.js").then((m) => m.AgentPassportSchema),
542
+ "xnet://xnet.fyi/AgentSession": () => import("./agent-OFQJQMNB.js").then((m) => m.AgentSessionSchema),
543
+ "xnet://xnet.fyi/AgentAction": () => import("./agent-OFQJQMNB.js").then((m) => m.AgentActionSchema),
544
+ "xnet://xnet.fyi/AgentApproval": () => import("./agent-OFQJQMNB.js").then((m) => m.AgentApprovalSchema),
545
+ "xnet://xnet.fyi/AgentNotification": () => import("./agent-OFQJQMNB.js").then((m) => m.AgentNotificationSchema)
534
546
  };
535
547
 
536
548
  // src/schema/effective-schema.ts
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export { a8 as ApplyNodeBatchInput, a9 as ApplyNodeBatchResult, b4 as AuthGrant, j as CheckedOutDraftOverlay, ay as ConflictResult, aB as ContentKeyCache, ah as CountNodesOptions, J as CreateNodeOptions, C as CreateNodeStoreOptions, a_ as DEFAULT_OFFLINE_POLICY, z as DID, D as DefinedSchema, ae as DeterministicNodeBatchWriteInput, n as DeterministicNodeImportDraft, aY as GRANT_SCHEMA_IRI, G as GetWithMigrationOptions, x as GrantIndex, b3 as GrantInput, aX as GrantRateLimiter, o as ImportDeterministicNodesOptions, p as ImportDeterministicNodesResult, a6 as ImportNodesOptions, I as InferCreateProps, R as InferNode, Q as InferProperties, K as InferPropertyType, X as LensOperation, _ as LensRegistry, L as ListNodesOptions, t as MergeConflict, M as MigratedNodeState, Z as MigrationError, aC as MigrationInfo, Y as MigrationResult, y as Node, az as NodeBatchChangeEvent, v as NodeBatchChangeListener, aa as NodeBatchIndexMode, ab as NodeBatchNotificationMode, ad as NodeBatchPreflightResult, ac as NodeBatchSyncMode, q as NodeBatchWriteInput, af as NodeBatchWritePolicy, r as NodeBatchWriteResult, ag as NodeBatchWriteTimings, s as NodeChange, w as NodeChangeEvent, u as NodeChangeListener, aA as NodeContentCipher, i as NodeId, a1 as NodePayload, au as NodeQueryCursor, at as NodeQueryCursorOrderEntry, k as NodeQueryDescriptor, ar as NodeQueryMaterializedViewOptions, av as NodeQueryOptions, N as NodeQueryPageCountMode, as as NodeQueryPageOptions, ax as NodeQueryParityCheckMetadata, aw as NodeQueryPlanMetadata, l as NodeQueryResult, ap as NodeQuerySearchField, aq as NodeQuerySearchFilter, ao as NodeQuerySpatialFilter, ai as NodeQuerySpatialPoint, ak as NodeQuerySpatialPointFields, an as NodeQuerySpatialRadius, aj as NodeQuerySpatialRect, al as NodeQuerySpatialRectFields, am as NodeQuerySpatialWindow, h as NodeState, g as NodeStorageAdapter, f as NodeStoreOptions, O as OfflineAuthPolicy, a3 as PinEntry, a4 as PinRegistry, P as PropertyBuilder, F as PropertyDefinition, a0 as PropertyKey, a2 as PropertyTimestamp, E as PropertyType, a7 as RebuildNodeIndexesOptions, a as Schema, S as SchemaIRI, W as SchemaLens, aU as SchemaLookup, a5 as SetNodeOptions, c as SortDirection, aW as StoreAuth, e as StoreAuthAPI, b5 as StoreAuthError, b6 as StoreAuthErrorCode, b2 as StoreAuthKeyManager, b0 as StoreAuthOptions, b1 as StoreAuthStore, d as SystemOrderField, aR as TEMP_ID_PREFIX, aV as TempIdResolution, T as TransactionOperation, m as TransactionResult, U as UpdateNodeOptions, H as ValidationError, V as ValidationResult, aL as applyNodeQueryDescriptor, B as createNodeId, aD as createNodeQueryDescriptor, aT as createSchemaLookup, aF as decodeNodeQueryCursor, aE as encodeNodeQueryCursor, aJ as filterNodeQueryResults, aM as getNodeQuerySearchTokens, aZ as isGrantActive, A as isNode, aQ as isTempId, $ as lensRegistry, aI as matchesNodeQueryDescriptor, a$ as mergeOfflinePolicy, aN as nodeQueryDescriptorNeedsBoundedReload, aG as nodeQueryDescriptorToOptions, aS as resolveTempIds, aH as serializeNodeQueryDescriptor, aK as sortNodeQueryResults, aP as withoutNodeQueryMaterializedView, aO as withoutNodeQueryPagination } from './types-C64g-IXg.js';
2
2
  import { FileRef } from './schema/index.js';
3
- export { ACCOUNT_RECORD_SCHEMA_IRI, ACCOUNT_SCHEMA_IRI, ACHIEVEMENT_SCHEMA_IRI, ACTIVITY_KINDS, ACTIVITY_SCHEMA_IRI, AbuseReport, AbuseReportSchema, Account, AccountClassId, AccountRecord, AccountRecordSchema, AccountSchema, Achievement, AchievementSchema, Activity, ActivityKind, ActivitySchema, AnchorData, AnchorType, Appeal, AppealSchema, BUDGET_SCHEMA_IRI, Budget, BudgetPeriod, BudgetSchema, BuiltInSchemaIRI, CHANNEL_KINDS, CHECKPOINT_SCHEMA_IRI, CONTACT_LIFECYCLE, CONTACT_SCHEMA_IRI, CRM_NAMESPACE, Canvas, CanvasObjectAnchor, CanvasObjectAnchorPlacement, CanvasPositionAnchor, CanvasSchema, CellAnchor, Channel, ChannelKind, ChannelNotifyTier, ChannelSchema, ChatMessage, ChatMessageSchema, CheckboxOptions, Checkpoint, CheckpointFrontierEntry, CheckpointSchema, ColumnAnchor, Comment, CommentSchema, CommunityNote, CommunityNoteSchema, Contact, ContactLifecycle, ContactSchema, ContentProvenance, ContentProvenanceSchema, CoreSchemaResolver, CreatedByOptions, CreatedOptions, CrmVisibility, DEAL_CONTACT_ROLES, DEAL_CONTACT_ROLE_SCHEMA_IRI, DEAL_SCHEMA_IRI, DEAL_SOURCES, DEFAULT_CHANNEL_TIER, DEVICE_RECORD_SCHEMA_IRI, DRAFT_SCHEMA_IRI, Dashboard, DashboardBreakpointId, DashboardLayoutItem, DashboardLayouts, DashboardSchema, DashboardTimeRange, DashboardVariablesState, DashboardWidgetInstance, DashboardWidgetRefresh, Database, DatabaseField, DatabaseFieldSchema, DatabaseRow, DatabaseRowSchema, DatabaseSchema, DatabaseSelectOption, DatabaseSelectOptionSchema, DatabaseView, DatabaseViewSchema, DateOptions, DateRange, DateRangeOptions, Deal, DealContactRole, DealContactRoleKind, DealContactRoleSchema, DealSchema, DealSource, DebugReport, DebugReportSchema, DefineSchemaOptions, DeviceLike, DeviceRecord, DeviceRecordSchema, Draft, DraftEntry, DraftProvenance, DraftSchema, EXTENSION_FIELD_SCHEMA_IRI, EXTERNAL_ITEM_SCHEMA_IRI, EXTERNAL_ITEM_SOURCES, EXT_PREFIX, EffectiveExtensionField, EmailOptions, Experiment, ExperimentDesign, ExperimentPhase, ExperimentSchema, ExperimentStatus, ExtensionField, ExtensionFieldRecord, ExtensionFieldSchema, ExtensionRecord, ExternalItem, ExternalItemSchema, ExternalReference, ExternalReferenceSchema, FEED_ITEM_SCHEMA_IRI, FEED_SCHEMA_IRI, FOLDER_SCHEMA_IRI, FORECAST_CATEGORIES, Feed, FeedItem, FeedItemSchema, FeedSchema, FileOptions, Folder, FolderLike, FolderSchema, FolderTreeNode, 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, GameAsset, GameAssetFormat, GameAssetSchema, GameEconomyEntry, GameEconomyEntrySchema, GameItem, GameItemSchema, GameVisibility, GeoFeature, GeoFeatureCollection, GeoGeometry, GeoPosition, Grant, GrantSchema, IMPORT_BATCH_SCHEMA_IRI, INVENTORY_SCHEMA_IRI, ITEM_RARITIES, ImportBatch, ImportBatchSchema, ImportSource, InboxItemTriage, InboxState, InboxStateSchema, InboxWatermark, Inventory, InventorySchema, ItemRarity, JsonOptions, LINE_ITEM_SCHEMA_IRI, LedgerNodeIntent, 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, Map, MapBasemapId, MapLayerGeometry, MapLayerSource, MapLayerSpec, MapLayerStyle, MapSchema, MapViewport, MatchResult, MatchSession, MatchSessionSchema, MediaAsset, MediaAssetSchema, Meeting, MeetingChannel, MeetingSchema, MeetingSegment, MeetingTemplateId, MeetingTranscript, MeetingTranscriptSchema, MemoryItem, MemoryItemSchema, MemoryKind, Mention, MessageLinkPreview, MessageMentions, MessageRequest, MessageRequestSchema, Metric, MetricKind, MetricPolarity, MetricScheduleId, MetricSchema, Milestone, MilestoneSchema, ModerationLabel, ModerationLabelSchema, MoneyOptions, MoneyValue, MultiSelectOptions, NODE_VISIBILITY, NodeAnchor, NodeVisibility, NoteRating, NoteRatingSchema, NotificationPrefs, NumberOptions, ORGANIZATION_SCHEMA_IRI, ORGANIZATION_SIZES, Observation, ObservationPhase, ObservationSchema, Organization, OrganizationSchema, OrganizationSize, OrphanReason, OrphanResolvers, OrphanStatus, PIPELINE_SCHEMA_IRI, PLAYER_IDENTITY_SCHEMA_IRI, POSTING_SCHEMA_IRI, PRODUCT_KINDS, PRODUCT_SCHEMA_IRI, Page, PageSchema, ParsedSystemNamespaceResource, ParsedTaskShortId, PersonOptions, PhoneOptions, Pipeline, PipelineSchema, PlayerIdentity, PlayerIdentitySchema, PolicyList, PolicyListSchema, PolicySubscription, PolicySubscriptionSchema, Posting, PostingSchema, PresenceAggregator, PresenceAggregatorOptions, PresenceAggregatorStore, PresenceCountBucket, PresenceSummary, PresenceSummaryDescriptor, PresenceSummarySchema, PresenceVisibility, PresenceVisibilityResolver, Product, ProductKind, ProductSchema, Profile, ProfileSchema, Project, ProjectSchema, PublicInteractionPolicy, PublicInteractionPolicySchema, QualitySignal, QualitySignalSchema, RECOVERY_RECORD_SCHEMA_IRI, RELATIONSHIP_KINDS, RELATIONSHIP_SCHEMA_IRI, REVOCATION_RECORD_SCHEMA_IRI, Reaction, ReactionSchema, RecoveryRecord, RecoveryRecordSchema, RelationOptions, Relationship, RelationshipKind, RelationshipSchema, ReviewTask, ReviewTaskSchema, RevocationLike, RevocationRecord, RevocationRecordSchema, RowAnchor, SCHEMA_EXTENSION_SCHEMA_IRI, 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, SavedView, SavedViewSchema, SchemaAuthorityResolution, SchemaAuthorityResolutionKind, SchemaAuthorityResolutionOptions, SchemaCompatibility, SchemaCompatibilityMode, SchemaCompatibilitySchema, SchemaDefinition, SchemaDefinitionSchema, SchemaDefinitionSigningInput, SchemaDefinitionStatus, SchemaExtension, SchemaExtensionSchema, SelectOption, SelectOptions, SidecarOverlay, Space, SpaceKind, SpaceLike, SpaceMembership, SpaceMembershipSchema, SpaceRole, SpaceSchema, SpaceTreeNode, SpaceVisibility, Stage, StageSchema, SyncPolicy, SyncPolicySchema, SyncPolicyStatus, SystemFederationErrorCode, SystemNamespaceKind, SystemSchemaDefinitionRecord, SystemSchemaIndex, SystemSchemaIndexDiagnostic, SystemSchemaIndexOptions, SystemSchemaIndexStore, TAG_SCHEMA_IRI, TASK_SHORT_ID_PATTERN, TASK_STATUS_CATEGORIES, TRANSACTION_SCHEMA_IRI, TRANSCRIPTION_SCHEMA_IRI, Tag, TagSchema, Task, TaskSchema, TaskShortIdBlock, TaskStatusCategory, TaskStatusId, TaskView, TaskViewSchema, TextAnchor, TextOptions, Transaction, TransactionSchema, TransactionStatus, Transcription, TranscriptionSchema, TranscriptionSourceId, UpdatedOptions, UrlOptions, UserWidget, UserWidgetConfigField, UserWidgetSchema, UserWidgetSize, ValidateSchemaDefinitionNodeOptions, Workspace, WorkspaceSchema, 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 } from './schema/index.js';
3
+ 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, AbuseReport, AbuseReportSchema, Account, AccountClassId, AccountRecord, AccountRecordSchema, AccountSchema, Achievement, AchievementSchema, Activity, ActivityKind, ActivitySchema, AgentAction, AgentActionSchema, AgentActionStatus, AgentApproval, AgentApprovalDecision, AgentApprovalSchema, AgentApprovalSurface, AgentChannel, AgentNotification, AgentNotificationKind, AgentNotificationSchema, AgentNotificationStatus, AgentPassport, AgentPassportSchema, AgentReversibility, AgentRisk, AgentRuntime, AgentSession, AgentSessionSchema, AnchorData, AnchorType, Appeal, AppealSchema, BUDGET_SCHEMA_IRI, Budget, BudgetPeriod, BudgetSchema, BuiltInSchemaIRI, CHANNEL_KINDS, CHECKPOINT_SCHEMA_IRI, CONTACT_LIFECYCLE, CONTACT_SCHEMA_IRI, CRM_NAMESPACE, Canvas, CanvasObjectAnchor, CanvasObjectAnchorPlacement, CanvasPositionAnchor, CanvasSchema, CellAnchor, Channel, ChannelKind, ChannelNotifyTier, ChannelSchema, ChatMessage, ChatMessageSchema, CheckboxOptions, Checkpoint, CheckpointFrontierEntry, CheckpointSchema, ColumnAnchor, Comment, CommentSchema, CommunityNote, CommunityNoteSchema, Contact, ContactLifecycle, ContactSchema, ContentProvenance, ContentProvenanceSchema, CoreSchemaResolver, CreatedByOptions, CreatedOptions, CrmVisibility, DEAL_CONTACT_ROLES, DEAL_CONTACT_ROLE_SCHEMA_IRI, DEAL_SCHEMA_IRI, DEAL_SOURCES, DEFAULT_CHANNEL_TIER, DEVICE_RECORD_SCHEMA_IRI, DRAFT_SCHEMA_IRI, Dashboard, DashboardBreakpointId, DashboardLayoutItem, DashboardLayouts, DashboardSchema, DashboardTimeRange, DashboardVariablesState, DashboardWidgetInstance, DashboardWidgetRefresh, Database, DatabaseField, DatabaseFieldSchema, DatabaseRow, DatabaseRowSchema, DatabaseSchema, DatabaseSelectOption, DatabaseSelectOptionSchema, DatabaseView, DatabaseViewSchema, DateOptions, DateRange, DateRangeOptions, Deal, DealContactRole, DealContactRoleKind, DealContactRoleSchema, DealSchema, DealSource, DebugReport, DebugReportSchema, DefineSchemaOptions, DeviceLike, DeviceRecord, DeviceRecordSchema, Draft, DraftEntry, DraftProvenance, DraftSchema, EXTENSION_FIELD_SCHEMA_IRI, EXTERNAL_ITEM_SCHEMA_IRI, EXTERNAL_ITEM_SOURCES, EXT_PREFIX, EffectiveExtensionField, EmailOptions, Experiment, ExperimentDesign, ExperimentPhase, ExperimentSchema, ExperimentStatus, ExtensionField, ExtensionFieldRecord, ExtensionFieldSchema, ExtensionRecord, ExternalItem, ExternalItemSchema, ExternalReference, ExternalReferenceSchema, FEED_ITEM_SCHEMA_IRI, FEED_SCHEMA_IRI, FOLDER_SCHEMA_IRI, FORECAST_CATEGORIES, Feed, FeedItem, FeedItemSchema, FeedSchema, FileOptions, Folder, FolderLike, FolderSchema, FolderTreeNode, 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, GameAsset, GameAssetFormat, GameAssetSchema, GameEconomyEntry, GameEconomyEntrySchema, GameItem, GameItemSchema, GameVisibility, GeoFeature, GeoFeatureCollection, GeoGeometry, GeoPosition, Grant, GrantSchema, IMPORT_BATCH_SCHEMA_IRI, INVENTORY_SCHEMA_IRI, ITEM_RARITIES, ImportBatch, ImportBatchSchema, ImportSource, InboxItemTriage, InboxState, InboxStateSchema, InboxWatermark, Inventory, InventorySchema, ItemRarity, JsonOptions, LINE_ITEM_SCHEMA_IRI, LedgerNodeIntent, 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, Map, MapBasemapId, MapLayerGeometry, MapLayerSource, MapLayerSpec, MapLayerStyle, MapSchema, MapViewport, MatchResult, MatchSession, MatchSessionSchema, MediaAsset, MediaAssetSchema, Meeting, MeetingChannel, MeetingSchema, MeetingSegment, MeetingTemplateId, MeetingTranscript, MeetingTranscriptSchema, MemoryItem, MemoryItemSchema, MemoryKind, Mention, MessageLinkPreview, MessageMentions, MessageRequest, MessageRequestSchema, Metric, MetricKind, MetricPolarity, MetricScheduleId, MetricSchema, Milestone, MilestoneSchema, ModerationLabel, ModerationLabelSchema, MoneyOptions, MoneyValue, MultiSelectOptions, NODE_VISIBILITY, NodeAnchor, NodeVisibility, NoteRating, NoteRatingSchema, NotificationPrefs, NumberOptions, ORGANIZATION_SCHEMA_IRI, ORGANIZATION_SIZES, Observation, ObservationPhase, ObservationSchema, Organization, OrganizationSchema, OrganizationSize, OrphanReason, OrphanResolvers, OrphanStatus, PIPELINE_SCHEMA_IRI, PLAYER_IDENTITY_SCHEMA_IRI, POSTING_SCHEMA_IRI, PRODUCT_KINDS, PRODUCT_SCHEMA_IRI, Page, PageSchema, ParsedSystemNamespaceResource, ParsedTaskShortId, PersonOptions, PhoneOptions, Pipeline, PipelineSchema, PlayerIdentity, PlayerIdentitySchema, PolicyList, PolicyListSchema, PolicySubscription, PolicySubscriptionSchema, Posting, PostingSchema, PresenceAggregator, PresenceAggregatorOptions, PresenceAggregatorStore, PresenceCountBucket, PresenceSummary, PresenceSummaryDescriptor, PresenceSummarySchema, PresenceVisibility, PresenceVisibilityResolver, Product, ProductKind, ProductSchema, Profile, ProfileSchema, Project, ProjectSchema, PublicInteractionPolicy, PublicInteractionPolicySchema, QualitySignal, QualitySignalSchema, RECOVERY_RECORD_SCHEMA_IRI, RELATIONSHIP_KINDS, RELATIONSHIP_SCHEMA_IRI, REVOCATION_RECORD_SCHEMA_IRI, Reaction, ReactionSchema, RecoveryRecord, RecoveryRecordSchema, RelationOptions, Relationship, RelationshipKind, RelationshipSchema, ReviewTask, ReviewTaskSchema, RevocationLike, RevocationRecord, RevocationRecordSchema, RowAnchor, SCHEMA_EXTENSION_SCHEMA_IRI, 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, SavedView, SavedViewSchema, SchemaAuthorityResolution, SchemaAuthorityResolutionKind, SchemaAuthorityResolutionOptions, SchemaCompatibility, SchemaCompatibilityMode, SchemaCompatibilitySchema, SchemaDefinition, SchemaDefinitionSchema, SchemaDefinitionSigningInput, SchemaDefinitionStatus, SchemaExtension, SchemaExtensionSchema, SelectOption, SelectOptions, SidecarOverlay, Space, SpaceKind, SpaceLike, SpaceMembership, SpaceMembershipSchema, SpaceRole, SpaceSchema, SpaceTreeNode, SpaceVisibility, Stage, StageSchema, SyncPolicy, SyncPolicySchema, SyncPolicyStatus, SystemFederationErrorCode, SystemNamespaceKind, SystemSchemaDefinitionRecord, SystemSchemaIndex, SystemSchemaIndexDiagnostic, SystemSchemaIndexOptions, SystemSchemaIndexStore, TAG_SCHEMA_IRI, TASK_SHORT_ID_PATTERN, TASK_STATUS_CATEGORIES, TRANSACTION_SCHEMA_IRI, TRANSCRIPTION_SCHEMA_IRI, Tag, TagSchema, Task, TaskSchema, TaskShortIdBlock, TaskStatusCategory, TaskStatusId, TaskView, TaskViewSchema, TextAnchor, TextOptions, Transaction, TransactionSchema, TransactionStatus, Transcription, TranscriptionSchema, TranscriptionSourceId, UpdatedOptions, UrlOptions, UserWidget, UserWidgetConfigField, UserWidgetSchema, UserWidgetSize, ValidateSchemaDefinitionNodeOptions, Workspace, WorkspaceSchema, 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 } from './schema/index.js';
4
4
  export { S as SchemaRegistry, s as schemaRegistry } from './registry-s1fYgCSj.js';
5
5
  export { SignUpdateOptions, applySignedUpdate, captureUpdate, getMissingUpdates, mergeDocuments, signUpdate, verifyUpdate } from './updates.js';
6
6
  import * as Y from 'yjs';
package/dist/index.js CHANGED
@@ -222,16 +222,6 @@ import {
222
222
  validateRollupConfig,
223
223
  visibleFormQuestions
224
224
  } from "./chunk-DESSPQBS.js";
225
- import {
226
- clearLocalPresence,
227
- createAwareness,
228
- generateUserColor,
229
- getAllPresences,
230
- getLocalClientId,
231
- getRemotePresences,
232
- onPresenceChange,
233
- setLocalPresence
234
- } from "./chunk-7PDRDSFH.js";
235
225
  import {
236
226
  MemoryNodeStorageAdapter,
237
227
  NodeStore,
@@ -298,6 +288,16 @@ import {
298
288
  withoutNodeQueryMaterializedView,
299
289
  withoutNodeQueryPagination
300
290
  } from "./chunk-S5RP5RKY.js";
291
+ import {
292
+ clearLocalPresence,
293
+ createAwareness,
294
+ generateUserColor,
295
+ getAllPresences,
296
+ getLocalClientId,
297
+ getRemotePresences,
298
+ onPresenceChange,
299
+ setLocalPresence
300
+ } from "./chunk-7PDRDSFH.js";
301
301
  import {
302
302
  LensRegistry,
303
303
  MAX_LINK_PREVIEWS_PER_MESSAGE,
@@ -366,7 +366,7 @@ import {
366
366
  taskBranchName,
367
367
  transform,
368
368
  when
369
- } from "./chunk-U223J425.js";
369
+ } from "./chunk-LZX7O72B.js";
370
370
  import {
371
371
  AbuseReportSchema,
372
372
  AppealSchema,
@@ -409,6 +409,33 @@ import {
409
409
  MEMORY_KINDS,
410
410
  MemoryItemSchema
411
411
  } from "./chunk-ZKMWJNDQ.js";
412
+ import {
413
+ AGENT_ACTION_SCHEMA_IRI,
414
+ AGENT_ACTION_STATUSES,
415
+ AGENT_APPROVAL_DECISIONS,
416
+ AGENT_APPROVAL_SCHEMA_IRI,
417
+ AGENT_APPROVAL_SURFACES,
418
+ AGENT_CHANNELS,
419
+ AGENT_NOTIFICATION_KINDS,
420
+ AGENT_NOTIFICATION_SCHEMA_IRI,
421
+ AGENT_NOTIFICATION_STATUSES,
422
+ AGENT_PASSPORT_SCHEMA_IRI,
423
+ AGENT_REVERSIBILITIES,
424
+ AGENT_RISKS,
425
+ AGENT_RUNTIMES,
426
+ AGENT_SESSION_SCHEMA_IRI,
427
+ AgentActionSchema,
428
+ AgentApprovalSchema,
429
+ AgentNotificationSchema,
430
+ AgentPassportSchema,
431
+ AgentSessionSchema,
432
+ agentActionId,
433
+ agentApprovalId,
434
+ agentNotificationId,
435
+ agentPassportId,
436
+ agentSessionId,
437
+ redactInstruction
438
+ } from "./chunk-JWGS7JMA.js";
412
439
  import {
413
440
  DEFAULT_CHANNEL_TIER,
414
441
  InboxStateSchema,
@@ -2029,12 +2056,31 @@ export {
2029
2056
  ACHIEVEMENT_SCHEMA_IRI,
2030
2057
  ACTIVITY_KINDS,
2031
2058
  ACTIVITY_SCHEMA_IRI,
2059
+ AGENT_ACTION_SCHEMA_IRI,
2060
+ AGENT_ACTION_STATUSES,
2061
+ AGENT_APPROVAL_DECISIONS,
2062
+ AGENT_APPROVAL_SCHEMA_IRI,
2063
+ AGENT_APPROVAL_SURFACES,
2064
+ AGENT_CHANNELS,
2065
+ AGENT_NOTIFICATION_KINDS,
2066
+ AGENT_NOTIFICATION_SCHEMA_IRI,
2067
+ AGENT_NOTIFICATION_STATUSES,
2068
+ AGENT_PASSPORT_SCHEMA_IRI,
2069
+ AGENT_REVERSIBILITIES,
2070
+ AGENT_RISKS,
2071
+ AGENT_RUNTIMES,
2072
+ AGENT_SESSION_SCHEMA_IRI,
2032
2073
  AUTH_ACTIONS,
2033
2074
  AbuseReportSchema,
2034
2075
  AccountRecordSchema,
2035
2076
  AccountSchema,
2036
2077
  AchievementSchema,
2037
2078
  ActivitySchema,
2079
+ AgentActionSchema,
2080
+ AgentApprovalSchema,
2081
+ AgentNotificationSchema,
2082
+ AgentPassportSchema,
2083
+ AgentSessionSchema,
2038
2084
  AppealSchema,
2039
2085
  BUDGET_SCHEMA_IRI,
2040
2086
  BlobService,
@@ -2244,6 +2290,11 @@ export {
2244
2290
  addOrToggleSort,
2245
2291
  addViewSort,
2246
2292
  admitDeviceRecord,
2293
+ agentActionId,
2294
+ agentApprovalId,
2295
+ agentNotificationId,
2296
+ agentPassportId,
2297
+ agentSessionId,
2247
2298
  aggregate,
2248
2299
  and,
2249
2300
  applyNodeQueryDescriptor,
@@ -2562,6 +2613,7 @@ export {
2562
2613
  rebalanceDatabase,
2563
2614
  rebalanceSortKeys,
2564
2615
  recoveryRecordId,
2616
+ redactInstruction,
2565
2617
  registerBlockType,
2566
2618
  relation,
2567
2619
  remapViewColumnIds,
@@ -4001,6 +4001,300 @@ declare const MemoryItemSchema: DefinedSchema<{
4001
4001
  }>;
4002
4002
  type MemoryItem = InferNode<(typeof MemoryItemSchema)['_properties']>;
4003
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
+
4004
4298
  /**
4005
4299
  * Comment anchor types and utilities.
4006
4300
  *
@@ -5346,6 +5640,65 @@ declare const builtInSchemas: {
5346
5640
  decay: PropertyBuilder<number>;
5347
5641
  evidence: PropertyBuilder<string[]>;
5348
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
+ }>>;
5349
5702
  readonly 'xnet://xnet.fyi/Page': () => Promise<DefinedSchema<{
5350
5703
  title: PropertyBuilder<string>;
5351
5704
  icon: PropertyBuilder<string>;
@@ -6435,6 +6788,65 @@ declare const builtInSchemas: {
6435
6788
  decay: PropertyBuilder<number>;
6436
6789
  evidence: PropertyBuilder<string[]>;
6437
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
+ }>>;
6438
6850
  };
6439
6851
  /**
6440
6852
  * Built-in schema IRIs.
@@ -6917,4 +7329,4 @@ declare function createOperations(...operations: LensOperation[]): {
6917
7329
  */
6918
7330
  declare function identity(source: SchemaIRI, target: SchemaIRI): SchemaLens;
6919
7331
 
6920
- 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, 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, 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 };
@@ -66,7 +66,7 @@ import {
66
66
  taskBranchName,
67
67
  transform,
68
68
  when
69
- } from "../chunk-U223J425.js";
69
+ } from "../chunk-LZX7O72B.js";
70
70
  import {
71
71
  AbuseReportSchema,
72
72
  AppealSchema,
@@ -109,6 +109,33 @@ import {
109
109
  MEMORY_KINDS,
110
110
  MemoryItemSchema
111
111
  } from "../chunk-ZKMWJNDQ.js";
112
+ import {
113
+ AGENT_ACTION_SCHEMA_IRI,
114
+ AGENT_ACTION_STATUSES,
115
+ AGENT_APPROVAL_DECISIONS,
116
+ AGENT_APPROVAL_SCHEMA_IRI,
117
+ AGENT_APPROVAL_SURFACES,
118
+ AGENT_CHANNELS,
119
+ AGENT_NOTIFICATION_KINDS,
120
+ AGENT_NOTIFICATION_SCHEMA_IRI,
121
+ AGENT_NOTIFICATION_STATUSES,
122
+ AGENT_PASSPORT_SCHEMA_IRI,
123
+ AGENT_REVERSIBILITIES,
124
+ AGENT_RISKS,
125
+ AGENT_RUNTIMES,
126
+ AGENT_SESSION_SCHEMA_IRI,
127
+ AgentActionSchema,
128
+ AgentApprovalSchema,
129
+ AgentNotificationSchema,
130
+ AgentPassportSchema,
131
+ AgentSessionSchema,
132
+ agentActionId,
133
+ agentApprovalId,
134
+ agentNotificationId,
135
+ agentPassportId,
136
+ agentSessionId,
137
+ redactInstruction
138
+ } from "../chunk-JWGS7JMA.js";
112
139
  import {
113
140
  DEFAULT_CHANNEL_TIER,
114
141
  InboxStateSchema,
@@ -420,11 +447,30 @@ export {
420
447
  ACHIEVEMENT_SCHEMA_IRI,
421
448
  ACTIVITY_KINDS,
422
449
  ACTIVITY_SCHEMA_IRI,
450
+ AGENT_ACTION_SCHEMA_IRI,
451
+ AGENT_ACTION_STATUSES,
452
+ AGENT_APPROVAL_DECISIONS,
453
+ AGENT_APPROVAL_SCHEMA_IRI,
454
+ AGENT_APPROVAL_SURFACES,
455
+ AGENT_CHANNELS,
456
+ AGENT_NOTIFICATION_KINDS,
457
+ AGENT_NOTIFICATION_SCHEMA_IRI,
458
+ AGENT_NOTIFICATION_STATUSES,
459
+ AGENT_PASSPORT_SCHEMA_IRI,
460
+ AGENT_REVERSIBILITIES,
461
+ AGENT_RISKS,
462
+ AGENT_RUNTIMES,
463
+ AGENT_SESSION_SCHEMA_IRI,
423
464
  AbuseReportSchema,
424
465
  AccountRecordSchema,
425
466
  AccountSchema,
426
467
  AchievementSchema,
427
468
  ActivitySchema,
469
+ AgentActionSchema,
470
+ AgentApprovalSchema,
471
+ AgentNotificationSchema,
472
+ AgentPassportSchema,
473
+ AgentSessionSchema,
428
474
  AppealSchema,
429
475
  BUDGET_SCHEMA_IRI,
430
476
  BudgetSchema,
@@ -589,6 +635,11 @@ export {
589
635
  accountState,
590
636
  addDefault,
591
637
  admitDeviceRecord,
638
+ agentActionId,
639
+ agentApprovalId,
640
+ agentNotificationId,
641
+ agentPassportId,
642
+ agentSessionId,
592
643
  bucketPresenceCount,
593
644
  buildEffectiveSchema,
594
645
  buildFolderTree,
@@ -685,6 +736,7 @@ export {
685
736
  profileNodeId,
686
737
  promoteOverlay,
687
738
  recoveryRecordId,
739
+ redactInstruction,
688
740
  relation,
689
741
  remove,
690
742
  rename,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xnetjs/data",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -57,12 +57,12 @@
57
57
  "nanoid": "^5.1.6",
58
58
  "y-protocols": "^1.0.6",
59
59
  "yjs": "^13.6.24",
60
- "@xnetjs/core": "2.0.0",
61
- "@xnetjs/crypto": "2.0.0",
62
- "@xnetjs/identity": "2.0.0",
63
- "@xnetjs/sqlite": "2.0.0",
64
- "@xnetjs/storage": "2.0.0",
65
- "@xnetjs/sync": "2.0.0"
60
+ "@xnetjs/core": "2.1.0",
61
+ "@xnetjs/crypto": "2.1.0",
62
+ "@xnetjs/identity": "2.1.0",
63
+ "@xnetjs/sqlite": "2.1.0",
64
+ "@xnetjs/storage": "2.1.0",
65
+ "@xnetjs/sync": "2.1.0"
66
66
  },
67
67
  "devDependencies": {
68
68
  "tsup": "^8.0.0",