@blue-repository/types 0.29.0 → 1.0.0-rc.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.
Files changed (129) hide show
  1. package/README.md +1 -1
  2. package/dist/meta.d.ts +2 -2
  3. package/dist/meta.d.ts.map +1 -1
  4. package/dist/meta.js +2 -0
  5. package/dist/meta.js.map +1 -1
  6. package/dist/packages/conversation/blue-ids.d.ts +9 -9
  7. package/dist/packages/conversation/blue-ids.js +9 -9
  8. package/dist/packages/conversation/contents/index.d.ts +473 -473
  9. package/dist/packages/conversation/contents/index.d.ts.map +1 -1
  10. package/dist/packages/conversation/contents/index.js +27 -27
  11. package/dist/packages/conversation/contents/index.js.map +1 -1
  12. package/dist/packages/conversation/index.d.ts +517 -501
  13. package/dist/packages/conversation/index.d.ts.map +1 -1
  14. package/dist/packages/conversation/meta.d.ts +44 -28
  15. package/dist/packages/conversation/meta.d.ts.map +1 -1
  16. package/dist/packages/conversation/meta.js +39 -19
  17. package/dist/packages/conversation/meta.js.map +1 -1
  18. package/dist/packages/conversation/schemas/index.d.ts +9 -9
  19. package/dist/packages/conversation/schemas/index.js +9 -9
  20. package/dist/packages/conversation/schemas/index.js.map +1 -1
  21. package/dist/packages/myos/blue-ids.d.ts +29 -29
  22. package/dist/packages/myos/blue-ids.d.ts.map +1 -1
  23. package/dist/packages/myos/blue-ids.js +29 -29
  24. package/dist/packages/myos/blue-ids.js.map +1 -1
  25. package/dist/packages/myos/contents/DocumentSessionBootstrap.d.ts +2 -2
  26. package/dist/packages/myos/contents/DocumentSessionBootstrap.js +2 -2
  27. package/dist/packages/myos/contents/LinkedDocumentsPermissionGrantRequested.d.ts +1 -1
  28. package/dist/packages/myos/contents/LinkedDocumentsPermissionGrantRequested.js +1 -1
  29. package/dist/packages/myos/contents/LinkedDocumentsPermissionGrantToAccount.d.ts +2 -2
  30. package/dist/packages/myos/contents/LinkedDocumentsPermissionGrantToAccount.js +2 -2
  31. package/dist/packages/myos/contents/LinkedDocumentsPermissionGrantToDocument.d.ts +2 -2
  32. package/dist/packages/myos/contents/LinkedDocumentsPermissionGrantToDocument.js +2 -2
  33. package/dist/packages/myos/contents/LinkedDocumentsPermissionGranted.d.ts +1 -1
  34. package/dist/packages/myos/contents/LinkedDocumentsPermissionGranted.js +1 -1
  35. package/dist/packages/myos/contents/LinkedDocumentsPermissionGrantingInProgress.d.ts +1 -1
  36. package/dist/packages/myos/contents/LinkedDocumentsPermissionGrantingInProgress.js +1 -1
  37. package/dist/packages/myos/contents/LinkedDocumentsPermissionRejected.d.ts +1 -1
  38. package/dist/packages/myos/contents/LinkedDocumentsPermissionRejected.js +1 -1
  39. package/dist/packages/myos/contents/LinkedDocumentsPermissionRevoked.d.ts +1 -1
  40. package/dist/packages/myos/contents/LinkedDocumentsPermissionRevoked.js +1 -1
  41. package/dist/packages/myos/contents/LinkedDocumentsPermissionRevokingInProgress.d.ts +1 -1
  42. package/dist/packages/myos/contents/LinkedDocumentsPermissionRevokingInProgress.js +1 -1
  43. package/dist/packages/myos/contents/LinkedDocumentsPermissionSet.d.ts +1 -1
  44. package/dist/packages/myos/contents/LinkedDocumentsPermissionSet.js +1 -1
  45. package/dist/packages/myos/contents/SingleDocumentPermissionGrantRequested.d.ts +1 -1
  46. package/dist/packages/myos/contents/SingleDocumentPermissionGrantRequested.js +1 -1
  47. package/dist/packages/myos/contents/SingleDocumentPermissionGrantResponded.d.ts +1 -1
  48. package/dist/packages/myos/contents/SingleDocumentPermissionGrantResponded.js +1 -1
  49. package/dist/packages/myos/contents/SingleDocumentPermissionGrantToAccount.d.ts +2 -2
  50. package/dist/packages/myos/contents/SingleDocumentPermissionGrantToAccount.js +2 -2
  51. package/dist/packages/myos/contents/SingleDocumentPermissionGrantToDocument.d.ts +2 -2
  52. package/dist/packages/myos/contents/SingleDocumentPermissionGrantToDocument.js +2 -2
  53. package/dist/packages/myos/contents/SingleDocumentPermissionGranted.d.ts +1 -1
  54. package/dist/packages/myos/contents/SingleDocumentPermissionGranted.js +1 -1
  55. package/dist/packages/myos/contents/SingleDocumentPermissionGrantingInProgress.d.ts +1 -1
  56. package/dist/packages/myos/contents/SingleDocumentPermissionGrantingInProgress.js +1 -1
  57. package/dist/packages/myos/contents/SingleDocumentPermissionRejected.d.ts +1 -1
  58. package/dist/packages/myos/contents/SingleDocumentPermissionRejected.js +1 -1
  59. package/dist/packages/myos/contents/SingleDocumentPermissionRevokingInProgress.d.ts +1 -1
  60. package/dist/packages/myos/contents/SingleDocumentPermissionRevokingInProgress.js +1 -1
  61. package/dist/packages/myos/contents/WorkerAgencyPermission.d.ts +1 -1
  62. package/dist/packages/myos/contents/WorkerAgencyPermission.js +1 -1
  63. package/dist/packages/myos/contents/WorkerAgencyPermissionGrant.d.ts +2 -2
  64. package/dist/packages/myos/contents/WorkerAgencyPermissionGrant.js +2 -2
  65. package/dist/packages/myos/contents/WorkerAgencyPermissionGrantRequested.d.ts +1 -1
  66. package/dist/packages/myos/contents/WorkerAgencyPermissionGrantRequested.js +1 -1
  67. package/dist/packages/myos/contents/WorkerAgencyPermissionGranted.d.ts +1 -1
  68. package/dist/packages/myos/contents/WorkerAgencyPermissionGranted.js +1 -1
  69. package/dist/packages/myos/contents/WorkerAgencyPermissionGrantingInProgress.d.ts +1 -1
  70. package/dist/packages/myos/contents/WorkerAgencyPermissionGrantingInProgress.js +1 -1
  71. package/dist/packages/myos/contents/WorkerAgencyPermissionRejected.d.ts +1 -1
  72. package/dist/packages/myos/contents/WorkerAgencyPermissionRejected.js +1 -1
  73. package/dist/packages/myos/contents/WorkerAgencyPermissionRevokingInProgress.d.ts +1 -1
  74. package/dist/packages/myos/contents/WorkerAgencyPermissionRevokingInProgress.js +1 -1
  75. package/dist/packages/myos/contents/index.d.ts +1477 -1477
  76. package/dist/packages/myos/contents/index.d.ts.map +1 -1
  77. package/dist/packages/myos/contents/index.js +75 -75
  78. package/dist/packages/myos/contents/index.js.map +1 -1
  79. package/dist/packages/myos/index.d.ts +1759 -1703
  80. package/dist/packages/myos/index.d.ts.map +1 -1
  81. package/dist/packages/myos/meta.d.ts +144 -88
  82. package/dist/packages/myos/meta.d.ts.map +1 -1
  83. package/dist/packages/myos/meta.js +129 -59
  84. package/dist/packages/myos/meta.js.map +1 -1
  85. package/dist/packages/myos/schemas/LinkedDocumentsPermissionGrantToAccount.d.ts +24 -24
  86. package/dist/packages/myos/schemas/SingleDocumentPermissionGrantToAccount.d.ts +24 -24
  87. package/dist/packages/myos/schemas/index.d.ts +77 -77
  88. package/dist/packages/myos/schemas/index.d.ts.map +1 -1
  89. package/dist/packages/myos/schemas/index.js +29 -29
  90. package/dist/packages/myos/schemas/index.js.map +1 -1
  91. package/dist/packages/paynote/blue-ids.d.ts +5 -5
  92. package/dist/packages/paynote/blue-ids.js +5 -5
  93. package/dist/packages/paynote/blue-ids.js.map +1 -1
  94. package/dist/packages/paynote/contents/CardTransactionPayNote.d.ts +1 -1
  95. package/dist/packages/paynote/contents/CardTransactionPayNote.js +1 -1
  96. package/dist/packages/paynote/contents/CardTransactionPayNote.js.map +1 -1
  97. package/dist/packages/paynote/contents/MerchantToCustomerPayNote.d.ts +1 -1
  98. package/dist/packages/paynote/contents/MerchantToCustomerPayNote.js +1 -1
  99. package/dist/packages/paynote/contents/MerchantToCustomerPayNote.js.map +1 -1
  100. package/dist/packages/paynote/contents/PayNote.d.ts +19 -0
  101. package/dist/packages/paynote/contents/PayNote.d.ts.map +1 -1
  102. package/dist/packages/paynote/contents/PayNote.js +19 -0
  103. package/dist/packages/paynote/contents/PayNote.js.map +1 -1
  104. package/dist/packages/paynote/contents/PayNoteDelivery.d.ts +4 -4
  105. package/dist/packages/paynote/contents/PayNoteDelivery.js +4 -4
  106. package/dist/packages/paynote/contents/PayNoteDelivery.js.map +1 -1
  107. package/dist/packages/paynote/contents/index.d.ts +1844 -1825
  108. package/dist/packages/paynote/contents/index.d.ts.map +1 -1
  109. package/dist/packages/paynote/contents/index.js +15 -15
  110. package/dist/packages/paynote/contents/index.js.map +1 -1
  111. package/dist/packages/paynote/index.d.ts +2687 -2371
  112. package/dist/packages/paynote/index.d.ts.map +1 -1
  113. package/dist/packages/paynote/meta.d.ts +20 -20
  114. package/dist/packages/paynote/meta.js +15 -15
  115. package/dist/packages/paynote/meta.js.map +1 -1
  116. package/dist/packages/paynote/schemas/CardTransactionPayNote.d.ts +127 -28
  117. package/dist/packages/paynote/schemas/CardTransactionPayNote.d.ts.map +1 -1
  118. package/dist/packages/paynote/schemas/MerchantToCustomerPayNote.d.ts +127 -28
  119. package/dist/packages/paynote/schemas/MerchantToCustomerPayNote.d.ts.map +1 -1
  120. package/dist/packages/paynote/schemas/PayNote.d.ts +127 -28
  121. package/dist/packages/paynote/schemas/PayNote.d.ts.map +1 -1
  122. package/dist/packages/paynote/schemas/PayNote.js +3 -0
  123. package/dist/packages/paynote/schemas/PayNote.js.map +1 -1
  124. package/dist/packages/paynote/schemas/PayNoteDelivery.d.ts +36 -36
  125. package/dist/packages/paynote/schemas/index.d.ts +422 -125
  126. package/dist/packages/paynote/schemas/index.d.ts.map +1 -1
  127. package/dist/packages/paynote/schemas/index.js +5 -5
  128. package/dist/packages/paynote/schemas/index.js.map +1 -1
  129. package/package.json +2 -2
@@ -83,111 +83,6 @@ declare const _default: {
83
83
  readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
84
84
  };
85
85
  };
86
- readonly '2ARFPC2YDspfN86MT897RDzGUtEEw1B7Lbdvy8Z3ZFQx': {
87
- readonly allowedWorkerAgencyPermissions: {
88
- readonly itemType: {
89
- readonly blueId: "5J3RXNnALK1ZYAQBrjGwCQ4WpL3YUGHvz9WcGos6mMSp";
90
- };
91
- readonly type: {
92
- readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
93
- };
94
- };
95
- readonly contracts: {
96
- readonly granterChannel: {
97
- readonly description: "Granter/owner’s timeline (direct grant-document revoke lives here).";
98
- readonly type: {
99
- readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
100
- };
101
- };
102
- readonly initLifecycleChannel: {
103
- readonly event: {
104
- readonly type: {
105
- readonly blueId: "BrpmpNt5JkapeUvPqYcxgXZrHNZX3R757dRwuXXdfNM2";
106
- };
107
- };
108
- readonly type: {
109
- readonly blueId: "H2aCCTUcLMTJozWkn7HPUjyFBFxamraw1q8DyWk87zxr";
110
- };
111
- };
112
- readonly revoke: {
113
- readonly channel: {
114
- readonly type: {
115
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
116
- };
117
- readonly value: "granterChannel";
118
- };
119
- readonly description: "Granter requests revocation on the grant document. Grantee-document self-revoke uses the existing revoke-request event with grantDocumentId emitted from the grantee document itself.";
120
- readonly request: {
121
- readonly description: "Optional human-readable reason";
122
- readonly type: {
123
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
124
- };
125
- };
126
- readonly type: {
127
- readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
128
- };
129
- };
130
- readonly revokeImplGranter: {
131
- readonly operation: {
132
- readonly type: {
133
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
134
- };
135
- readonly value: "revoke";
136
- };
137
- readonly steps: {
138
- readonly items: readonly [{
139
- readonly code: {
140
- readonly type: {
141
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
142
- };
143
- readonly value: "return {\n events: [\n {\n type: \"MyOS/Worker Agency Permission Revoke Requested\",\n reason: event.message.request\n }\n ]\n};\n";
144
- };
145
- readonly name: "EmitRevokeRequested";
146
- readonly type: {
147
- readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
148
- };
149
- }];
150
- };
151
- readonly type: {
152
- readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
153
- };
154
- };
155
- readonly validateOnInit: {
156
- readonly channel: {
157
- readonly type: {
158
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
159
- };
160
- readonly value: "initLifecycleChannel";
161
- };
162
- readonly steps: {
163
- readonly items: readonly [{
164
- readonly code: {
165
- readonly type: {
166
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
167
- };
168
- readonly value: "const issues = [];\n\nconst unwrapText = value => {\n if (typeof value === 'string') {\n const trimmed = value.trim();\n return trimmed.length > 0 ? trimmed : undefined;\n }\n if (value && typeof value === 'object') {\n if (typeof value.value === 'string') {\n const trimmed = value.value.trim();\n return trimmed.length > 0 ? trimmed : undefined;\n }\n if (typeof value.workerType === 'string') {\n const trimmed = value.workerType.trim();\n return trimmed.length > 0 ? trimmed : undefined;\n }\n if (typeof value.name === 'string') {\n const trimmed = value.name.trim();\n return trimmed.length > 0 ? trimmed : undefined;\n }\n }\n return undefined;\n};\n\nconst unwrapBoolean = value => {\n if (typeof value === 'boolean') {\n return value;\n }\n if (value && typeof value === 'object') {\n if (typeof value.value === 'boolean') {\n return value.value;\n }\n if (\n value.value &&\n typeof value.value === 'object' &&\n typeof value.value.value === 'boolean'\n ) {\n return value.value.value;\n }\n }\n return undefined;\n};\n\nconst hasBooleanValue = value => {\n if (typeof value === 'boolean') {\n return true;\n }\n if (value && typeof value === 'object') {\n if (typeof value.value === 'boolean') {\n return true;\n }\n if (\n value.value &&\n typeof value.value === 'object' &&\n typeof value.value.value === 'boolean'\n ) {\n return true;\n }\n }\n return false;\n};\n\nconst unwrapArray = value => {\n if (Array.isArray(value)) {\n return value;\n }\n if (value && typeof value === 'object' && Array.isArray(value.items)) {\n return value.items;\n }\n return [];\n};\n\nconst unwrapRecord = value => {\n if (value && typeof value === 'object' && !Array.isArray(value)) {\n if (value.value && typeof value.value === 'object') {\n return value.value;\n }\n return value;\n }\n return {};\n};\n\nconst granterId = document('/contracts/granterChannel/accountId');\nif (typeof granterId !== 'string' || granterId.length === 0) {\n issues.push(\"granterChannel must be bound to an accountId\");\n}\n\nconst granteeDocumentId = document('/granteeDocumentId');\nif (\n typeof granteeDocumentId !== 'string' ||\n granteeDocumentId.trim().length === 0\n) {\n issues.push(\"granteeDocumentId must be a non-empty string\");\n}\n\nconst list = document('/allowedWorkerAgencyPermissions');\nif (!Array.isArray(list) || list.length === 0) {\n issues.push(\"allowedWorkerAgencyPermissions must be a non-empty array\");\n} else {\n const validateSDPS = (p, path) => {\n const record = unwrapRecord(p);\n if (Object.keys(record).length === 0) {\n issues.push(`${path} must be an object`);\n return;\n }\n const read = unwrapBoolean(record.read);\n if (read !== true) {\n issues.push(`${path}.read must be true`);\n }\n const share = record.share;\n const shareValue = unwrapBoolean(share);\n if (hasBooleanValue(share) && typeof shareValue !== 'boolean') {\n issues.push(`${path}.share must be boolean if provided`);\n }\n const allOps = record.allOps;\n const allOpsValue = unwrapBoolean(allOps);\n if (hasBooleanValue(allOps) && typeof allOpsValue !== 'boolean') {\n issues.push(`${path}.allOps must be boolean if provided`);\n }\n const singleOpsRaw = unwrapArray(record.singleOps)\n .map(entry => unwrapText(entry))\n .filter(Boolean);\n const hasSingle = singleOpsRaw.length > 0;\n if (hasSingle) {\n const bad = singleOpsRaw.length !== unwrapArray(record.singleOps).length;\n if (bad) issues.push(`${path}.singleOps must contain only non-empty strings`);\n }\n if (allOpsValue === true && hasSingle) {\n issues.push(`${path}.allOps=true and ${path}.singleOps are mutually exclusive`);\n }\n };\n const seenTypes = new Set();\n list.forEach((item, idx) => {\n const itemPath = `/allowedWorkerAgencyPermissions[${idx}]`;\n if (typeof item !== 'object' || item === null) {\n issues.push(`${itemPath} must be an object`);\n return;\n }\n const workerType = unwrapText(item.workerType);\n if (!workerType) {\n issues.push(`${itemPath}.workerType must be a non-empty string`);\n } else {\n if (seenTypes.has(workerType)) {\n issues.push(`duplicate workerType '${workerType}' in allowedWorkerAgencyPermissions`);\n } else {\n seenTypes.add(workerType);\n }\n }\n const perms = item.permissions;\n if (typeof perms === 'undefined') {\n issues.push(`${itemPath}.permissions is required`);\n } else {\n validateSDPS(perms, `${itemPath}.permissions`);\n }\n });\n}\nif (issues.length > 0) {\n return { events: [ { type: \"MyOS/Worker Agency Permission Invalid\", issues } ] };\n} else {\n return { events: [ { type: \"MyOS/Worker Agency Permission Validated\" } ] };\n}\n";
169
- };
170
- readonly name: "ValidateBasicShape";
171
- readonly type: {
172
- readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
173
- };
174
- }];
175
- };
176
- readonly type: {
177
- readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
178
- };
179
- };
180
- };
181
- readonly granteeDocumentId: {
182
- readonly type: {
183
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
184
- };
185
- };
186
- readonly name: "Worker Agency Permission Grant";
187
- readonly type: {
188
- readonly blueId: "Bu4YETSKYW8hHMwVy6zUUoBAGZPxX3KVXfKN9uoCUoJj";
189
- };
190
- };
191
86
  readonly '2gc8djtKGGRPjGfMQzvJZMviaXm4ytM1nA4DVbfyjkrW': {
192
87
  readonly description: "Update to a subscription.";
193
88
  readonly name: "Subscription Update";
@@ -223,6 +118,31 @@ declare const _default: {
223
118
  readonly blueId: "3Ge54FsGJaaeZmm8nTKJdS6HVdYhiR3g18fDwg3Ev1Sa";
224
119
  };
225
120
  };
121
+ readonly '2xkX43Z7tML7KXJgHp5C7W2W465aGckp3jBVW37GyZqz': {
122
+ readonly allowedWorkerAgencyPermissions: {
123
+ readonly itemType: {
124
+ readonly blueId: "EKPgicPVdFxx8X4ZBsnx7mT387M3VXDeMjSBnmAreUsS";
125
+ };
126
+ readonly type: {
127
+ readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
128
+ };
129
+ };
130
+ readonly description: "MyOS Admin is retracting rights granted by this WAG.";
131
+ readonly granteeDocumentId: {
132
+ readonly type: {
133
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
134
+ };
135
+ };
136
+ readonly name: "Worker Agency Permission Revoking in Progress";
137
+ readonly note: {
138
+ readonly type: {
139
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
140
+ };
141
+ };
142
+ readonly type: {
143
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
144
+ };
145
+ };
226
146
  readonly '3B7ErHwZ9NHiW4e6msFDt57U8sTvFXZQBEwHzcdNCjmf': {
227
147
  readonly description: "Worker session is starting.";
228
148
  readonly granteeDocumentId: {
@@ -300,55 +220,22 @@ declare const _default: {
300
220
  readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
301
221
  };
302
222
  };
303
- readonly '3KTJBMse6aFELjAG6iJa9bo5XdJagLzQZdPkee64iVW1': {
304
- readonly allowedPayer: {
305
- readonly description: "Optional effective payer restriction echoed back to the caller.";
306
- readonly type: {
307
- readonly blueId: "6VqxRuWBPVJ8qTBPWxYKaSi5UB3zb8Y9vadtxbsL4vzJ";
308
- };
309
- };
310
- readonly amount: {
311
- readonly description: "Optional effective amount constraint echoed back to the caller.";
312
- readonly type: {
313
- readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
314
- };
315
- };
316
- readonly context: {
317
- readonly description: "Optional business-context reference.";
318
- readonly documentId: {
319
- readonly description: "Blue document id identifying the business document this payment is for.";
320
- readonly type: {
321
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
322
- };
323
- };
324
- };
325
- readonly currency: {
326
- readonly description: "Optional effective currency constraint echoed back to the caller.";
223
+ readonly '3How2U6g2sZe3xDCnJGAN96bcbyTabrTio7jEShH6pTh': {
224
+ readonly description: "All rights from this LDPG have been revoked.";
225
+ readonly links: {
327
226
  readonly type: {
328
- readonly blueId: "CBnZ7aaNetj9KEqXpUWj5jvjKbmviLivP98T2EiyxiYc";
227
+ readonly blueId: "75CyJPe82hSjV9T2tsir5R3343vhqvG41w2EzFhCp5Y9";
329
228
  };
330
229
  };
331
- readonly description: "Result emitted after MyOS Admin successfully prepares an opaque recipient payment target.";
332
- readonly expectedPaynote: {
333
- readonly description: "Optional effective PayNote matcher echoed back to the caller.";
334
- };
335
- readonly expiresAt: {
336
- readonly description: "Optional expiry echoed back to the caller.";
230
+ readonly name: "Linked Documents Permission Revoked";
231
+ readonly reason: {
337
232
  readonly type: {
338
233
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
339
234
  };
340
235
  };
341
- readonly name: "Payment Target Prepared";
342
- readonly recipient: {
343
- readonly description: "Prepared recipient reference.";
344
- readonly token: {
345
- readonly description: "Opaque prepared recipient token.";
346
- readonly type: {
347
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
348
- };
349
- };
236
+ readonly targetSessionId: {
350
237
  readonly type: {
351
- readonly blueId: "3WA2ppJtUKib2upsEARBgCNJuHXSqHJjm38uLtZf6dNb";
238
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
352
239
  };
353
240
  };
354
241
  readonly type: {
@@ -395,195 +282,73 @@ declare const _default: {
395
282
  readonly blueId: "CN5efWVizJbRsMCw8YWRfT2q9vM9XfeGDN9wFvYcvMnQ";
396
283
  };
397
284
  };
398
- readonly '3SQR9pgQoY8rE9XhSmDDbKdHwe7ZZDaX4hPkYirhjYmD': {
285
+ readonly '3u1bvMQqqc9sj4zWmwwhQrbdfCn7xrGiN7KEczqq22XG': {
399
286
  readonly contracts: {
400
- readonly granterChannel: {
401
- readonly description: "Granter/owner’s timeline (direct grant-document revoke lives here).";
287
+ readonly ownerChannel: {
402
288
  readonly type: {
403
289
  readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
404
290
  };
405
291
  };
406
- readonly initLifecycleChannel: {
407
- readonly event: {
408
- readonly type: {
409
- readonly blueId: "BrpmpNt5JkapeUvPqYcxgXZrHNZX3R757dRwuXXdfNM2";
410
- };
411
- };
412
- readonly type: {
413
- readonly blueId: "H2aCCTUcLMTJozWkn7HPUjyFBFxamraw1q8DyWk87zxr";
414
- };
415
- };
416
- readonly revoke: {
292
+ readonly startWorker: {
417
293
  readonly channel: {
418
294
  readonly type: {
419
295
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
420
296
  };
421
- readonly value: "granterChannel";
297
+ readonly value: "ownerChannel";
422
298
  };
423
- readonly description: "Granter requests revocation on the grant document. Grantee-document self-revoke uses the existing revoke-request event with grantDocumentId emitted from the grantee document itself.";
299
+ readonly description: "Prompt the user to install a provided MyOS Package";
424
300
  readonly request: {
425
- readonly description: "Optional human-readable reason";
426
- readonly type: {
427
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
301
+ readonly package: {
302
+ readonly description: "MyOS Package";
303
+ readonly type: {
304
+ readonly blueId: "5cg55kgH8ckRVji4oWSBBxthJQFYmB5Lb1Pea7achyNr";
305
+ };
428
306
  };
429
307
  };
430
308
  readonly type: {
431
309
  readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
432
310
  };
433
311
  };
434
- readonly revokeImplGranter: {
312
+ readonly startWorkerImpl: {
435
313
  readonly operation: {
436
314
  readonly type: {
437
315
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
438
316
  };
439
- readonly value: "revoke";
317
+ readonly value: "startWorker";
440
318
  };
441
319
  readonly steps: {
442
320
  readonly items: readonly [{
443
- readonly code: {
444
- readonly type: {
445
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
321
+ readonly event: {
322
+ readonly message: {
323
+ readonly type: {
324
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
325
+ };
326
+ readonly value: "A package has been prepared for you. Review and install.";
327
+ };
328
+ readonly package: {
329
+ readonly type: {
330
+ readonly blueId: "5cg55kgH8ckRVji4oWSBBxthJQFYmB5Lb1Pea7achyNr";
331
+ };
332
+ readonly value: "${event.message.request.package}";
333
+ };
334
+ readonly title: {
335
+ readonly type: {
336
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
337
+ };
338
+ readonly value: "ChatGPT is requesting permission to launch a new agent";
446
339
  };
447
- readonly value: "return {\n events: [\n {\n type: \"MyOS/Single Document Permission Revoke Requested\",\n reason: event.message.request\n }\n ]\n};\n";
448
- };
449
- readonly name: "EmitRevokeRequested";
450
- readonly type: {
451
- readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
452
- };
453
- }];
454
- };
455
- readonly type: {
456
- readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
457
- };
458
- };
459
- readonly validateOnInit: {
460
- readonly channel: {
461
- readonly type: {
462
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
463
- };
464
- readonly value: "initLifecycleChannel";
465
- };
466
- readonly steps: {
467
- readonly items: readonly [{
468
- readonly code: {
469
340
  readonly type: {
470
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
341
+ readonly blueId: "CrGV4ZYjvPvMqrgNQAfgZCUnFjFW6HDjYNdon2chLKU3";
471
342
  };
472
- readonly value: "const skipValidation = document('/skipValidation');\nif (skipValidation === true) return { events: [] };\n\nconst issues = [];\n\nconst target = document('/targetSessionId');\nif (!target || typeof target !== 'string') issues.push(\"targetSessionId is missing or invalid\");\n\nconst granterId = document('/contracts/granterChannel/accountId');\nif (typeof granterId !== 'string' || granterId.length === 0) issues.push(\"granterChannel must be bound to an accountId\");\n\nconst gdoc = document('/granteeDocumentId');\nif (typeof gdoc !== 'string' || gdoc.trim().length === 0) issues.push(\"granteeDocumentId must be a non-empty string (originalBlueId)\");\n\nconst perms = document('/permissions');\nif (!perms || typeof perms !== 'object') {\n issues.push(\"permissions block is missing\");\n} else {\n if (perms.read !== true) issues.push(\"permissions.read must be true for SDPG\");\n const hasSingle = Array.isArray(perms?.singleOps) && perms.singleOps.length > 0;\n if (hasSingle) {\n if (perms.singleOps.some(x => typeof x !== 'string' || x.trim().length === 0)) {\n issues.push(\"permissions.singleOps must contain only non-empty strings\");\n }\n }\n if (perms.allOps === true && hasSingle) {\n issues.push(\"permissions.allOps=true and permissions.singleOps are mutually exclusive\");\n }\n}\n\nif (issues.length > 0) return { events: [ { type: \"MyOS/Single Document Permission Invalid\", issues } ] };\nreturn { events: [ { type: \"MyOS/Single Document Permission Validated\" } ] };\n";
473
343
  };
474
- readonly name: "ValidateBasicShape";
344
+ readonly name: "Emit Install Prompt";
475
345
  readonly type: {
476
- readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
346
+ readonly blueId: "2bSWEoMSZwzf32Hnr4BDVsuq8NRjrWEpnhZvMZAJGhh2";
477
347
  };
478
348
  }];
479
349
  };
480
350
  readonly type: {
481
- readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
482
- };
483
- };
484
- };
485
- readonly granteeDocumentId: {
486
- readonly description: "Required original document id (blueId) that will act as the grantee principal ('document').";
487
- readonly type: {
488
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
489
- };
490
- };
491
- readonly granterDocumentSessionId: {
492
- readonly description: "Optional. If set, MyOS should evaluate authority using this document session as the principal (instead of granter accountId).";
493
- readonly type: {
494
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
495
- };
496
- };
497
- readonly name: "Single Document Permission Grant To Document";
498
- readonly permissions: {
499
- readonly description: "Rights to grant on the target session (READ required; allOps and singleOps are mutually exclusive; singleOps is optional but must be non-empty if provided).";
500
- readonly type: {
501
- readonly blueId: "DRDQcve5AjwBK9z6Njfa4MNERko7Uf4ucvARFdC6sL54";
502
- };
503
- };
504
- readonly skipValidation: {
505
- readonly description: "If true, the validation will be skipped (MyOS Admin won't be triggered to create permission grant).";
506
- readonly type: {
507
- readonly blueId: "4EzhSubEimSQD3zrYHRtobfPPWntUuhEz8YcdxHsi12u";
508
- };
509
- };
510
- readonly targetSessionId: {
511
- readonly description: "Target document session id to grant access to";
512
- readonly type: {
513
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
514
- };
515
- };
516
- readonly type: {
517
- readonly blueId: "Bu4YETSKYW8hHMwVy6zUUoBAGZPxX3KVXfKN9uoCUoJj";
518
- };
519
- };
520
- readonly '3SULZSU6Yvi6rVuhGsRX7znRuyt6oWnx1Hdyu6QhdhFj': {
521
- readonly contracts: {
522
- readonly ownerChannel: {
523
- readonly type: {
524
- readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
525
- };
526
- };
527
- readonly startWorker: {
528
- readonly channel: {
529
- readonly type: {
530
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
531
- };
532
- readonly value: "ownerChannel";
533
- };
534
- readonly description: "Prompt the user to install a provided MyOS Package";
535
- readonly request: {
536
- readonly package: {
537
- readonly description: "MyOS Package";
538
- readonly type: {
539
- readonly blueId: "5cg55kgH8ckRVji4oWSBBxthJQFYmB5Lb1Pea7achyNr";
540
- };
541
- };
542
- };
543
- readonly type: {
544
- readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
545
- };
546
- };
547
- readonly startWorkerImpl: {
548
- readonly operation: {
549
- readonly type: {
550
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
551
- };
552
- readonly value: "startWorker";
553
- };
554
- readonly steps: {
555
- readonly items: readonly [{
556
- readonly event: {
557
- readonly message: {
558
- readonly type: {
559
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
560
- };
561
- readonly value: "A package has been prepared for you. Review and install.";
562
- };
563
- readonly package: {
564
- readonly type: {
565
- readonly blueId: "5cg55kgH8ckRVji4oWSBBxthJQFYmB5Lb1Pea7achyNr";
566
- };
567
- readonly value: "${event.message.request.package}";
568
- };
569
- readonly title: {
570
- readonly type: {
571
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
572
- };
573
- readonly value: "ChatGPT is requesting permission to launch a new agent";
574
- };
575
- readonly type: {
576
- readonly blueId: "CrGV4ZYjvPvMqrgNQAfgZCUnFjFW6HDjYNdon2chLKU3";
577
- };
578
- };
579
- readonly name: "Emit Install Prompt";
580
- readonly type: {
581
- readonly blueId: "2bSWEoMSZwzf32Hnr4BDVsuq8NRjrWEpnhZvMZAJGhh2";
582
- };
583
- }];
584
- };
585
- readonly type: {
586
- readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
351
+ readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
587
352
  };
588
353
  };
589
354
  };
@@ -632,23 +397,124 @@ declare const _default: {
632
397
  readonly '4Lix4AKXvBDvrwxw2htSdYFKxL4wugEQzqoSEYet5Dh1': {
633
398
  readonly name: "MyOS Worker Agency";
634
399
  };
635
- readonly '4Mse3bdSz9YQbp5KkbUiVmkseK8upp5wexNDUq2rHuEy': {
636
- readonly avatarUrl: {
637
- readonly description: "Uploaded avatar URL propagated to the bootstrapped target sessions";
400
+ readonly '4sJYYU5tjqKy43Mbe1Mt5WKfaynHs9rTj3QGAvTAZkM6': {
401
+ readonly at: {
402
+ readonly description: "ISO 8601 timestamp when the subscription became active.";
638
403
  readonly type: {
639
404
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
640
405
  };
641
406
  };
642
- readonly bootstrapError: {
643
- readonly description: "Error message explaining bootstrap failure";
407
+ readonly description: "Confirms that MyOS Admin accepted the subscription request and will start forwarding updates.";
408
+ readonly document: {
409
+ readonly description: "The document state at the time the subscription became active.";
410
+ };
411
+ readonly epoch: {
412
+ readonly description: "The epoch number at which the subscription became active.";
413
+ readonly type: {
414
+ readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
415
+ };
416
+ };
417
+ readonly name: "Subscription to Session Initiated";
418
+ readonly subscriptionId: {
419
+ readonly description: "The subscription id that was initiated.";
644
420
  readonly type: {
645
421
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
646
422
  };
647
423
  };
648
- readonly bootstrapStatus: {
649
- readonly description: "Overall bootstrap process status";
424
+ readonly targetSessionId: {
425
+ readonly description: "Session being observed.";
650
426
  readonly type: {
651
- readonly blueId: "58B8orsFkxxy7bWqjLXJmtBs2b5rwnNQNbeoAbGhPkJc";
427
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
428
+ };
429
+ };
430
+ readonly type: {
431
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
432
+ };
433
+ };
434
+ readonly '4XzYndDA5v9yL5LYBq1Jk7ibA5x2ebN8vbSbEAoRrjaG': {
435
+ readonly description: "Emitted either by revoke operation on the grant document or by grantee-document self-revoke flow when grantDocumentId is provided.";
436
+ readonly grantDocumentId: {
437
+ readonly description: "Optional. If present, MyOS Admin must revoke the referenced permission grant after validating that the requesting document matches the grant granteeDocumentId. If absent, revoke applies to the grant document that emitted the event.";
438
+ readonly type: {
439
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
440
+ };
441
+ };
442
+ readonly name: "Linked Documents Permission Revoke Requested";
443
+ readonly reason: {
444
+ readonly type: {
445
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
446
+ };
447
+ };
448
+ readonly type: {
449
+ readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
450
+ };
451
+ };
452
+ readonly '4zC5mdSWymTamZVoQXDMCrFRTARef3RJM49gCSCuBv6F': {
453
+ readonly description: "Admin has started applying the grant for this PGD.";
454
+ readonly name: "Single Document Permission Granting in Progress";
455
+ readonly note: {
456
+ readonly type: {
457
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
458
+ };
459
+ };
460
+ readonly permissions: {
461
+ readonly type: {
462
+ readonly blueId: "5cZ3J1QiMJEJV4FV5kfSkeG2oJmweWCyJo3v2TSc3Xuw";
463
+ };
464
+ };
465
+ readonly targetSessionId: {
466
+ readonly type: {
467
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
468
+ };
469
+ };
470
+ readonly type: {
471
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
472
+ };
473
+ };
474
+ readonly '53Kbf5fymxzBCJgf5BdCYCjCb6o5nWS1KWCzL8GkBF42': {
475
+ readonly description: "Emitted either by revoke operation on the grant document or by grantee-document self-revoke flow when grantDocumentId is provided.";
476
+ readonly grantDocumentId: {
477
+ readonly description: "Optional. If present, MyOS Admin must revoke the referenced permission grant after validating that the requesting document matches the grant granteeDocumentId. If absent, revoke applies to the grant document that emitted the event.";
478
+ readonly type: {
479
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
480
+ };
481
+ };
482
+ readonly name: "Single Document Permission Revoke Requested";
483
+ readonly reason: {
484
+ readonly type: {
485
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
486
+ };
487
+ };
488
+ readonly type: {
489
+ readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
490
+ };
491
+ };
492
+ readonly '567voUMtKJQoqru6ZVPYb4EGwdeV99rUSAqsnod7gqfd': {
493
+ readonly description: "Emitted on initialise when local shape checks fail.";
494
+ readonly issues: {
495
+ readonly itemType: {
496
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
497
+ };
498
+ readonly type: {
499
+ readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
500
+ };
501
+ };
502
+ readonly name: "Single Document Permission Invalid";
503
+ readonly type: {
504
+ readonly blueId: "5Wz4G9qcnBJnntYRkz4dgLK5bSuoMpYJZj4j5M59z4we";
505
+ };
506
+ };
507
+ readonly '5cg55kgH8ckRVji4oWSBBxthJQFYmB5Lb1Pea7achyNr': {
508
+ readonly agentStoreDescription: {
509
+ readonly description: "Human-readable description for stores/directories";
510
+ readonly type: {
511
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
512
+ };
513
+ };
514
+ readonly automationTemplate: {
515
+ readonly description: "Optional automation template to start post-creation";
516
+ readonly type: {
517
+ readonly blueId: "8eyv5ogjHbTqUeaJKWHMenLs3MaCnpGSQkbPrCqvk2Ga";
652
518
  };
653
519
  };
654
520
  readonly capabilities: {
@@ -675,317 +541,124 @@ declare const _default: {
675
541
  readonly blueId: "DcoJyCh7XXxy1nR5xjy7qfkUgQ1GiZnKKSxh8DJusBSr";
676
542
  };
677
543
  };
678
- readonly contracts: {
679
- readonly handleBootstrapFailed: {
680
- readonly channel: {
681
- readonly type: {
682
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
683
- };
684
- readonly value: "triggeredEventsChannel";
544
+ readonly description: "A distributable blueprint for a new Agent session, which can include pre-configured automations that start on installation.\n";
545
+ readonly document: {
546
+ readonly description: "The full initial state of the Agent to be created. Root type MUST specialize 'Agent'.";
547
+ };
548
+ readonly initialMessages: {
549
+ readonly defaultMessage: {
550
+ readonly description: "Default invitation message sent to all participants";
551
+ readonly type: {
552
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
685
553
  };
686
- readonly event: {
687
- readonly type: {
688
- readonly blueId: "9iEADVdqxqgacF3GAZVMFZu4m5ywuNpsGzButLUNkPWo";
689
- };
690
- };
691
- readonly steps: {
692
- readonly items: readonly [{
693
- readonly changeset: {
694
- readonly items: readonly [{
695
- readonly op: {
696
- readonly type: {
697
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
698
- };
699
- readonly value: "replace";
700
- };
701
- readonly path: {
702
- readonly type: {
703
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
704
- };
705
- readonly value: "/bootstrapError";
706
- };
707
- readonly val: {
708
- readonly type: {
709
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
710
- };
711
- readonly value: "${event.reason}";
712
- };
713
- }];
714
- };
715
- readonly name: "Update Error Message";
716
- readonly type: {
717
- readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
718
- };
719
- }, {
720
- readonly code: {
721
- readonly type: {
722
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
723
- };
724
- readonly value: "return { events: [ { type: 'Conversation/Status Change', status: { type: 'Conversation/Status Failed' } } ] };\n";
725
- };
726
- readonly name: "Emit Failure Event";
727
- readonly type: {
728
- readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
729
- };
730
- }];
554
+ };
555
+ readonly description: "Optional per-participant invitation messages (installer's message is public)";
556
+ readonly perChannel: {
557
+ readonly description: "Per-channel custom invitation messages";
558
+ readonly keyType: {
559
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
731
560
  };
732
561
  readonly type: {
733
- readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
734
- };
735
- };
736
- readonly handleParticipantResolved: {
737
- readonly channel: {
738
- readonly type: {
739
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
740
- };
741
- readonly value: "triggeredEventsChannel";
742
- };
743
- readonly event: {
744
- readonly type: {
745
- readonly blueId: "EQVu8aZyp5ivTyKpSm8ueVsDLgprfcrHzr5QWdH1p6Cz";
746
- };
562
+ readonly blueId: "G7fBT9PSod1RfHLHkpafAGBDVAJMrMhAMY51ERcyXNrj";
747
563
  };
748
- readonly steps: {
749
- readonly items: readonly [{
750
- readonly code: {
751
- readonly type: {
752
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
753
- };
754
- readonly value: "const participantState = {\n accountStatus: event.participant?.status?.accountStatus || 'Unknown', // \"Active\" | \"Inactive\"\n errorMessage: ''\n};\n\nreturn {\n participantState,\n channelName: event.channelName\n};\n";
755
- };
756
- readonly name: "Prepare Participant State";
757
- readonly type: {
758
- readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
759
- };
760
- }, {
761
- readonly changeset: {
762
- readonly items: readonly [{
763
- readonly op: {
764
- readonly type: {
765
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
766
- };
767
- readonly value: "replace";
768
- };
769
- readonly path: {
770
- readonly type: {
771
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
772
- };
773
- readonly value: "/participantsState/${steps['Prepare Participant State'].channelName}";
774
- };
775
- readonly val: {
776
- readonly type: {
777
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
778
- };
779
- readonly value: "${steps['Prepare Participant State'].participantState}";
780
- };
781
- }];
782
- };
783
- readonly name: "Update Participants State";
784
- readonly type: {
785
- readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
786
- };
787
- }];
564
+ readonly valueType: {
565
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
788
566
  };
567
+ };
568
+ };
569
+ readonly installerChannel: {
570
+ readonly description: "Channel name in 'document' to bind to the installing user/account";
571
+ readonly type: {
572
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
573
+ };
574
+ };
575
+ readonly name: "MyOS Package";
576
+ readonly type: {
577
+ readonly blueId: "8s2rAFDtiB6sCwqeURkT4Lq7fcc2FXBkmX9B9p7R4Boc";
578
+ };
579
+ };
580
+ readonly '5cZ3J1QiMJEJV4FV5kfSkeG2oJmweWCyJo3v2TSc3Xuw': {
581
+ readonly allOps: {
582
+ readonly type: {
583
+ readonly blueId: "4EzhSubEimSQD3zrYHRtobfPPWntUuhEz8YcdxHsi12u";
584
+ };
585
+ };
586
+ readonly description: "Permissions that become effective for a single target session.";
587
+ readonly name: "Single Document Permission Set";
588
+ readonly read: {
589
+ readonly type: {
590
+ readonly blueId: "4EzhSubEimSQD3zrYHRtobfPPWntUuhEz8YcdxHsi12u";
591
+ };
592
+ readonly value: true;
593
+ };
594
+ readonly share: {
595
+ readonly type: {
596
+ readonly blueId: "4EzhSubEimSQD3zrYHRtobfPPWntUuhEz8YcdxHsi12u";
597
+ };
598
+ };
599
+ readonly singleOps: {
600
+ readonly itemType: {
601
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
602
+ };
603
+ readonly type: {
604
+ readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
605
+ };
606
+ };
607
+ };
608
+ readonly '5EWk4G87GuSwimUr67WJ9KQKGeGhSvjx8qMLmrhxzDDD': {
609
+ readonly description: "MyOS Admin has started revoking this LDPG.";
610
+ readonly links: {
611
+ readonly type: {
612
+ readonly blueId: "75CyJPe82hSjV9T2tsir5R3343vhqvG41w2EzFhCp5Y9";
613
+ };
614
+ };
615
+ readonly name: "Linked Documents Permission Revoking in Progress";
616
+ readonly reason: {
617
+ readonly type: {
618
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
619
+ };
620
+ };
621
+ readonly targetSessionId: {
622
+ readonly type: {
623
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
624
+ };
625
+ };
626
+ readonly type: {
627
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
628
+ };
629
+ };
630
+ readonly '5GB8C22LsZGR3kkEmP5j5Zye7SR173ojzzUK99tUcoP': {
631
+ readonly accountId: {
632
+ readonly description: "MyOS account ID of the principal.";
633
+ readonly type: {
634
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
635
+ };
636
+ };
637
+ readonly description: "The base type for a direct action by the account owner.";
638
+ readonly name: "Principal Actor";
639
+ readonly type: {
640
+ readonly blueId: "CN5efWVizJbRsMCw8YWRfT2q9vM9XfeGDN9wFvYcvMnQ";
641
+ };
642
+ };
643
+ readonly '5KdjguBmn7AwB9d8tjKxRh4xUHU9T8WDJ4dbaY6qgPvx': {
644
+ readonly description: "Marker contract that describes how a document should project search fields\nfor indexing (`q`, `kv`, `geo`). Paths must follow BlueNode.get(path)\nsemantics and be absolute.\n";
645
+ readonly geo: {
646
+ readonly description: "Absolute source paths for latitude/longitude extraction.";
647
+ readonly lat: {
648
+ readonly description: "Absolute path to latitude value.";
789
649
  readonly type: {
790
- readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
650
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
791
651
  };
792
652
  };
793
- readonly handleStatusChange: {
794
- readonly channel: {
795
- readonly type: {
796
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
797
- };
798
- readonly value: "triggeredEventsChannel";
799
- };
800
- readonly event: {
801
- readonly type: {
802
- readonly blueId: "C48nKSkbxraMSv4gCiGYVHKFjmtK12k63Yasn95zknWE";
803
- };
804
- };
805
- readonly steps: {
806
- readonly items: readonly [{
807
- readonly changeset: {
808
- readonly items: readonly [{
809
- readonly op: {
810
- readonly type: {
811
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
812
- };
813
- readonly value: "replace";
814
- };
815
- readonly path: {
816
- readonly type: {
817
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
818
- };
819
- readonly value: "/bootstrapStatus";
820
- };
821
- readonly val: {
822
- readonly type: {
823
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
824
- };
825
- readonly value: "${event.status}";
826
- };
827
- }];
828
- };
829
- readonly name: "Update Bootstrap Status";
830
- readonly type: {
831
- readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
832
- };
833
- }];
834
- };
653
+ readonly lon: {
654
+ readonly description: "Absolute path to longitude value.";
835
655
  readonly type: {
836
- readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
837
- };
838
- };
839
- readonly handleTargetDocumentSessionStarted: {
840
- readonly channel: {
841
- readonly type: {
842
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
843
- };
844
- readonly value: "triggeredEventsChannel";
845
- };
846
- readonly event: {
847
- readonly type: {
848
- readonly blueId: "FoHDf4WzS4idtPc8rWwVFFvALQ27WzMHxPdXovy7DH4p";
849
- };
850
- };
851
- readonly steps: {
852
- readonly items: readonly [{
853
- readonly changeset: {
854
- readonly items: readonly [{
855
- readonly op: {
856
- readonly type: {
857
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
858
- };
859
- readonly value: "replace";
860
- };
861
- readonly path: {
862
- readonly type: {
863
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
864
- };
865
- readonly value: "/initiatorSessionIds";
866
- };
867
- readonly val: {
868
- readonly type: {
869
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
870
- };
871
- readonly value: "${event.initiatorSessionIds}";
872
- };
873
- }];
874
- };
875
- readonly name: "Update Initiator Session";
876
- readonly type: {
877
- readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
878
- };
879
- }, {
880
- readonly code: {
881
- readonly type: {
882
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
883
- };
884
- readonly value: "return { events: [ { type: 'Conversation/Status Change', status: { type: 'Conversation/Status Completed' } } ] };\n";
885
- };
886
- readonly name: "Emit Completion Event";
887
- readonly type: {
888
- readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
889
- };
890
- }];
891
- };
892
- readonly type: {
893
- readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
894
- };
895
- };
896
- readonly initHandler: {
897
- readonly channel: {
898
- readonly type: {
899
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
900
- };
901
- readonly value: "lifecycle";
902
- };
903
- readonly steps: {
904
- readonly items: readonly [{
905
- readonly changeset: {
906
- readonly items: readonly [{
907
- readonly op: {
908
- readonly type: {
909
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
910
- };
911
- readonly value: "replace";
912
- };
913
- readonly path: {
914
- readonly type: {
915
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
916
- };
917
- readonly value: "/bootstrapStatus";
918
- };
919
- readonly val: {
920
- readonly type: {
921
- readonly blueId: "56Lhu3Z2oF3kuYG41eZAK8TvgVtRNevkbRi4D31kKWZm";
922
- };
923
- };
924
- }];
925
- };
926
- readonly name: "Initialize Bootstrap Status";
927
- readonly type: {
928
- readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
929
- };
930
- }];
931
- };
932
- readonly type: {
933
- readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
934
- };
935
- };
936
- readonly lifecycle: {
937
- readonly event: {
938
- readonly type: {
939
- readonly blueId: "BrpmpNt5JkapeUvPqYcxgXZrHNZX3R757dRwuXXdfNM2";
940
- };
941
- };
942
- readonly type: {
943
- readonly blueId: "H2aCCTUcLMTJozWkn7HPUjyFBFxamraw1q8DyWk87zxr";
944
- };
945
- };
946
- readonly triggeredEventsChannel: {
947
- readonly type: {
948
- readonly blueId: "C77W4kVGcxL7Mkx9WL9QESPEFFL2GzWAe647s1Efprt";
656
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
949
657
  };
950
658
  };
951
659
  };
952
- readonly description: "MyOS-specific document for bootstrapping document sessions and tracking bootstrap progress";
953
- readonly document: {
954
- readonly description: "Target Blue document to be bootstrapped";
955
- };
956
- readonly initialMessages: {
957
- readonly defaultMessage: {
958
- readonly description: "Default invitation message sent to all participants";
959
- readonly type: {
960
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
961
- };
962
- };
963
- readonly description: "Messages sent to participants when inviting them to the bootstrapped document";
964
- readonly perChannel: {
965
- readonly description: "Per-channel custom invitation messages";
966
- readonly keyType: {
967
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
968
- };
969
- readonly type: {
970
- readonly blueId: "G7fBT9PSod1RfHLHkpafAGBDVAJMrMhAMY51ERcyXNrj";
971
- };
972
- readonly valueType: {
973
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
974
- };
975
- };
976
- };
977
- readonly initiatorSessionIds: {
978
- readonly description: "Session IDs created for the bootstrap initiator (caller)";
979
- readonly itemType: {
980
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
981
- };
982
- readonly type: {
983
- readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
984
- };
985
- };
986
- readonly name: "Document Session Bootstrap";
987
- readonly participantsState: {
988
- readonly description: "Maps channel names to participant activation tracking";
660
+ readonly kv: {
661
+ readonly description: "Map of index key -> absolute source path for `kv.<key>` extraction.";
989
662
  readonly keyType: {
990
663
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
991
664
  };
@@ -993,57 +666,35 @@ declare const _default: {
993
666
  readonly blueId: "G7fBT9PSod1RfHLHkpafAGBDVAJMrMhAMY51ERcyXNrj";
994
667
  };
995
668
  readonly valueType: {
996
- readonly blueId: "CocmZUt2K7LuGukwuPSAFC7EFo5HZonozAm4tUsSmuFB";
997
- };
998
- };
999
- readonly type: {
1000
- readonly blueId: "Bu4YETSKYW8hHMwVy6zUUoBAGZPxX3KVXfKN9uoCUoJj";
1001
- };
1002
- };
1003
- readonly '4sJYYU5tjqKy43Mbe1Mt5WKfaynHs9rTj3QGAvTAZkM6': {
1004
- readonly at: {
1005
- readonly description: "ISO 8601 timestamp when the subscription became active.";
1006
- readonly type: {
1007
669
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1008
670
  };
1009
671
  };
1010
- readonly description: "Confirms that MyOS Admin accepted the subscription request and will start forwarding updates.";
1011
- readonly document: {
1012
- readonly description: "The document state at the time the subscription became active.";
1013
- };
1014
- readonly epoch: {
1015
- readonly description: "The epoch number at which the subscription became active.";
1016
- readonly type: {
1017
- readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
1018
- };
1019
- };
1020
- readonly name: "Subscription to Session Initiated";
1021
- readonly subscriptionId: {
1022
- readonly description: "The subscription id that was initiated.";
1023
- readonly type: {
672
+ readonly name: "Search Contract";
673
+ readonly q: {
674
+ readonly description: "Absolute paths whose extracted values should be appended to the indexed `q` text.";
675
+ readonly itemType: {
1024
676
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1025
677
  };
1026
- };
1027
- readonly targetSessionId: {
1028
- readonly description: "Session being observed.";
1029
678
  readonly type: {
1030
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
679
+ readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
1031
680
  };
1032
681
  };
1033
682
  readonly type: {
1034
- readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
683
+ readonly blueId: "7QACj919YMRvFCTELCf6jfQTp41RVhtHdE6bPazLUZQ6";
1035
684
  };
1036
685
  };
1037
- readonly '4XzYndDA5v9yL5LYBq1Jk7ibA5x2ebN8vbSbEAoRrjaG': {
1038
- readonly description: "Emitted either by revoke operation on the grant document or by grantee-document self-revoke flow when grantDocumentId is provided.";
1039
- readonly grantDocumentId: {
1040
- readonly description: "Optional. If present, MyOS Admin must revoke the referenced permission grant after validating that the requesting document matches the grant granteeDocumentId. If absent, revoke applies to the grant document that emitted the event.";
686
+ readonly '5S64KLDcXLiHWsYP6EGpfANZQsvTH3APsWqqy7D3qqJN': {
687
+ readonly allowedWorkerAgencyPermissions: {
688
+ readonly itemType: {
689
+ readonly blueId: "EKPgicPVdFxx8X4ZBsnx7mT387M3VXDeMjSBnmAreUsS";
690
+ };
1041
691
  readonly type: {
1042
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
692
+ readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
1043
693
  };
1044
694
  };
1045
- readonly name: "Linked Documents Permission Revoke Requested";
1046
- readonly reason: {
695
+ readonly description: "Parent worker requests authority to start specific sub-worker types and receive per-instance SDPGs.";
696
+ readonly name: "Worker Agency Permission Grant Requested";
697
+ readonly onBehalfOf: {
1047
698
  readonly type: {
1048
699
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1049
700
  };
@@ -1052,7 +703,7 @@ declare const _default: {
1052
703
  readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
1053
704
  };
1054
705
  };
1055
- readonly '53Kbf5fymxzBCJgf5BdCYCjCb6o5nWS1KWCzL8GkBF42': {
706
+ readonly '5sLtygzt8kxjzDwJLjVcSZj5GCXFyUXKuXxF8UFjfmm7': {
1056
707
  readonly description: "Emitted either by revoke operation on the grant document or by grantee-document self-revoke flow when grantDocumentId is provided.";
1057
708
  readonly grantDocumentId: {
1058
709
  readonly description: "Optional. If present, MyOS Admin must revoke the referenced permission grant after validating that the requesting document matches the grant granteeDocumentId. If absent, revoke applies to the grant document that emitted the event.";
@@ -1060,7 +711,7 @@ declare const _default: {
1060
711
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1061
712
  };
1062
713
  };
1063
- readonly name: "Single Document Permission Revoke Requested";
714
+ readonly name: "Worker Agency Permission Revoke Requested";
1064
715
  readonly reason: {
1065
716
  readonly type: {
1066
717
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
@@ -1070,107 +721,71 @@ declare const _default: {
1070
721
  readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
1071
722
  };
1072
723
  };
1073
- readonly '567voUMtKJQoqru6ZVPYb4EGwdeV99rUSAqsnod7gqfd': {
1074
- readonly description: "Emitted on initialise when local shape checks fail.";
1075
- readonly issues: {
1076
- readonly itemType: {
1077
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
724
+ readonly '6efzqM67y1po3YWbsbYSkKW8L41Tx8THeMv1q1TksAmr': {
725
+ readonly name: "Removing Participant Responded";
726
+ readonly request: {
727
+ readonly type: {
728
+ readonly blueId: "8PrHr6fcJ1xMyNFptEy2sksyYYuZ48Ypkcnjv4V2WcoD";
1078
729
  };
730
+ };
731
+ readonly status: {
1079
732
  readonly type: {
1080
- readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
733
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1081
734
  };
1082
735
  };
1083
- readonly name: "Single Document Permission Invalid";
1084
736
  readonly type: {
1085
- readonly blueId: "5Wz4G9qcnBJnntYRkz4dgLK5bSuoMpYJZj4j5M59z4we";
737
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1086
738
  };
1087
739
  };
1088
- readonly '5cg55kgH8ckRVji4oWSBBxthJQFYmB5Lb1Pea7achyNr': {
1089
- readonly agentStoreDescription: {
1090
- readonly description: "Human-readable description for stores/directories";
740
+ readonly '6H5NxBuVypoTGEMKHScmszXmrz3nBVQy1FDHrxBRwMmh': {
741
+ readonly description: "Ask MyOS Admin to grant permisison to document (event emitter) for a concrete target session.";
742
+ readonly links: {
1091
743
  readonly type: {
1092
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
744
+ readonly blueId: "75CyJPe82hSjV9T2tsir5R3343vhqvG41w2EzFhCp5Y9";
1093
745
  };
1094
746
  };
1095
- readonly automationTemplate: {
1096
- readonly description: "Optional automation template to start post-creation";
747
+ readonly name: "Linked Documents Permission Grant Requested";
748
+ readonly onBehalfOf: {
1097
749
  readonly type: {
1098
- readonly blueId: "8eyv5ogjHbTqUeaJKWHMenLs3MaCnpGSQkbPrCqvk2Ga";
1099
- };
1100
- };
1101
- readonly capabilities: {
1102
- readonly description: "Optional MyOS Admin capability contracts to attach (participantsOrchestration, sessionInteraction, workerAgency)";
1103
- readonly keyType: {
1104
750
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1105
751
  };
1106
- readonly type: {
1107
- readonly blueId: "G7fBT9PSod1RfHLHkpafAGBDVAJMrMhAMY51ERcyXNrj";
1108
- };
1109
- readonly valueType: {
1110
- readonly blueId: "4EzhSubEimSQD3zrYHRtobfPPWntUuhEz8YcdxHsi12u";
1111
- };
1112
752
  };
1113
- readonly channelBindings: {
1114
- readonly description: "Maps channel names to participant identifiers";
1115
- readonly keyType: {
1116
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1117
- };
753
+ readonly targetSessionId: {
1118
754
  readonly type: {
1119
- readonly blueId: "G7fBT9PSod1RfHLHkpafAGBDVAJMrMhAMY51ERcyXNrj";
1120
- };
1121
- readonly valueType: {
1122
- readonly blueId: "DcoJyCh7XXxy1nR5xjy7qfkUgQ1GiZnKKSxh8DJusBSr";
755
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1123
756
  };
1124
757
  };
1125
- readonly description: "A distributable blueprint for a new Agent session, which can include pre-configured automations that start on installation.\n";
1126
- readonly document: {
1127
- readonly description: "The full initial state of the Agent to be created. Root type MUST specialize 'Agent'.";
1128
- };
1129
- readonly initialMessages: {
1130
- readonly defaultMessage: {
1131
- readonly description: "Default invitation message sent to all participants";
1132
- readonly type: {
1133
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1134
- };
1135
- };
1136
- readonly description: "Optional per-participant invitation messages (installer's message is public)";
1137
- readonly perChannel: {
1138
- readonly description: "Per-channel custom invitation messages";
1139
- readonly keyType: {
1140
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1141
- };
1142
- readonly type: {
1143
- readonly blueId: "G7fBT9PSod1RfHLHkpafAGBDVAJMrMhAMY51ERcyXNrj";
1144
- };
1145
- readonly valueType: {
1146
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1147
- };
1148
- };
758
+ readonly type: {
759
+ readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
1149
760
  };
1150
- readonly installerChannel: {
1151
- readonly description: "Channel name in 'document' to bind to the installing user/account";
761
+ };
762
+ readonly '6tzp2YX1rei3aAXg22SqYbeiiteGthj1LesTNCWm7wbU': {
763
+ readonly name: "MyOS Participants Orchestration";
764
+ };
765
+ readonly '6VqxRuWBPVJ8qTBPWxYKaSi5UB3zb8Y9vadtxbsL4vzJ': {
766
+ readonly accountId: {
767
+ readonly description: "Stable MyOS user identifier.";
1152
768
  readonly type: {
1153
769
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1154
770
  };
1155
771
  };
1156
- readonly name: "MyOS Package";
1157
- readonly type: {
1158
- readonly blueId: "8s2rAFDtiB6sCwqeURkT4Lq7fcc2FXBkmX9B9p7R4Boc";
1159
- };
772
+ readonly description: "A MyOS identity reference used in payment constraints and matching.";
773
+ readonly name: "MyOS User";
1160
774
  };
1161
- readonly '5dYUepkS2uQHtzhVYoHEtR4x8vaMRtNuHyiqqTvRrKGY': {
1162
- readonly description: "Admin has started applying the grant for this PGD.";
1163
- readonly name: "Single Document Permission Granting in Progress";
1164
- readonly note: {
775
+ readonly '74TyANquDt5wUqoUfqA6i2CT5rDnfbfCSti1mkxowHpu': {
776
+ readonly description: "All initial rights from this LDPG have been persisted.";
777
+ readonly grantDocumentId: {
778
+ readonly description: "Optional. Stable handle of the created permission grant document. Required in request/response document-grant flows that later support self-revoke from the grantee document.";
1165
779
  readonly type: {
1166
780
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1167
781
  };
1168
782
  };
1169
- readonly permissions: {
783
+ readonly links: {
1170
784
  readonly type: {
1171
- readonly blueId: "DRDQcve5AjwBK9z6Njfa4MNERko7Uf4ucvARFdC6sL54";
785
+ readonly blueId: "75CyJPe82hSjV9T2tsir5R3343vhqvG41w2EzFhCp5Y9";
1172
786
  };
1173
787
  };
788
+ readonly name: "Linked Documents Permission Granted";
1174
789
  readonly targetSessionId: {
1175
790
  readonly type: {
1176
791
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
@@ -1180,223 +795,7 @@ declare const _default: {
1180
795
  readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1181
796
  };
1182
797
  };
1183
- readonly '5GB8C22LsZGR3kkEmP5j5Zye7SR173ojzzUK99tUcoP': {
1184
- readonly accountId: {
1185
- readonly description: "MyOS account ID of the principal.";
1186
- readonly type: {
1187
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1188
- };
1189
- };
1190
- readonly description: "The base type for a direct action by the account owner.";
1191
- readonly name: "Principal Actor";
1192
- readonly type: {
1193
- readonly blueId: "CN5efWVizJbRsMCw8YWRfT2q9vM9XfeGDN9wFvYcvMnQ";
1194
- };
1195
- };
1196
- readonly '5J3RXNnALK1ZYAQBrjGwCQ4WpL3YUGHvz9WcGos6mMSp': {
1197
- readonly name: "Worker Agency Permission";
1198
- readonly permissions: {
1199
- readonly description: "The permissions granted to the worker for documents of the given type.";
1200
- readonly type: {
1201
- readonly blueId: "DRDQcve5AjwBK9z6Njfa4MNERko7Uf4ucvARFdC6sL54";
1202
- };
1203
- };
1204
- readonly workerType: {
1205
- readonly description: "The document type the worker is allowed to create.";
1206
- };
1207
- };
1208
- readonly '5jtNV7xpaim18pUQp4uvron8uHfTjPSi6kUZQdCMGsKa': {
1209
- readonly description: "Whatever granter confirmed or rejected the request.";
1210
- readonly name: "Single Document Permission Grant Responded";
1211
- readonly permissions: {
1212
- readonly type: {
1213
- readonly blueId: "DRDQcve5AjwBK9z6Njfa4MNERko7Uf4ucvARFdC6sL54";
1214
- };
1215
- };
1216
- readonly reason: {
1217
- readonly type: {
1218
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1219
- };
1220
- };
1221
- readonly status: {
1222
- readonly type: {
1223
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1224
- };
1225
- };
1226
- readonly targetSessionId: {
1227
- readonly type: {
1228
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1229
- };
1230
- };
1231
- readonly type: {
1232
- readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1233
- };
1234
- };
1235
- readonly '5KdjguBmn7AwB9d8tjKxRh4xUHU9T8WDJ4dbaY6qgPvx': {
1236
- readonly description: "Marker contract that describes how a document should project search fields\nfor indexing (`q`, `kv`, `geo`). Paths must follow BlueNode.get(path)\nsemantics and be absolute.\n";
1237
- readonly geo: {
1238
- readonly description: "Absolute source paths for latitude/longitude extraction.";
1239
- readonly lat: {
1240
- readonly description: "Absolute path to latitude value.";
1241
- readonly type: {
1242
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1243
- };
1244
- };
1245
- readonly lon: {
1246
- readonly description: "Absolute path to longitude value.";
1247
- readonly type: {
1248
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1249
- };
1250
- };
1251
- };
1252
- readonly kv: {
1253
- readonly description: "Map of index key -> absolute source path for `kv.<key>` extraction.";
1254
- readonly keyType: {
1255
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1256
- };
1257
- readonly type: {
1258
- readonly blueId: "G7fBT9PSod1RfHLHkpafAGBDVAJMrMhAMY51ERcyXNrj";
1259
- };
1260
- readonly valueType: {
1261
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1262
- };
1263
- };
1264
- readonly name: "Search Contract";
1265
- readonly q: {
1266
- readonly description: "Absolute paths whose extracted values should be appended to the indexed `q` text.";
1267
- readonly itemType: {
1268
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1269
- };
1270
- readonly type: {
1271
- readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
1272
- };
1273
- };
1274
- readonly type: {
1275
- readonly blueId: "7QACj919YMRvFCTELCf6jfQTp41RVhtHdE6bPazLUZQ6";
1276
- };
1277
- };
1278
- readonly '5sLtygzt8kxjzDwJLjVcSZj5GCXFyUXKuXxF8UFjfmm7': {
1279
- readonly description: "Emitted either by revoke operation on the grant document or by grantee-document self-revoke flow when grantDocumentId is provided.";
1280
- readonly grantDocumentId: {
1281
- readonly description: "Optional. If present, MyOS Admin must revoke the referenced permission grant after validating that the requesting document matches the grant granteeDocumentId. If absent, revoke applies to the grant document that emitted the event.";
1282
- readonly type: {
1283
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1284
- };
1285
- };
1286
- readonly name: "Worker Agency Permission Revoke Requested";
1287
- readonly reason: {
1288
- readonly type: {
1289
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1290
- };
1291
- };
1292
- readonly type: {
1293
- readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
1294
- };
1295
- };
1296
- readonly '5zNb9H63xeG2RjZ1gzJwyGxvTVzWdyNBb2Te6g8UXd72': {
1297
- readonly allowedWorkerAgencyPermissions: {
1298
- readonly itemType: {
1299
- readonly blueId: "5J3RXNnALK1ZYAQBrjGwCQ4WpL3YUGHvz9WcGos6mMSp";
1300
- };
1301
- readonly type: {
1302
- readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
1303
- };
1304
- };
1305
- readonly description: "MyOS Admin is retracting rights granted by this WAG.";
1306
- readonly granteeDocumentId: {
1307
- readonly type: {
1308
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1309
- };
1310
- };
1311
- readonly name: "Worker Agency Permission Revoking in Progress";
1312
- readonly note: {
1313
- readonly type: {
1314
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1315
- };
1316
- };
1317
- readonly type: {
1318
- readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1319
- };
1320
- };
1321
- readonly '6efzqM67y1po3YWbsbYSkKW8L41Tx8THeMv1q1TksAmr': {
1322
- readonly name: "Removing Participant Responded";
1323
- readonly request: {
1324
- readonly type: {
1325
- readonly blueId: "8PrHr6fcJ1xMyNFptEy2sksyYYuZ48Ypkcnjv4V2WcoD";
1326
- };
1327
- };
1328
- readonly status: {
1329
- readonly type: {
1330
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1331
- };
1332
- };
1333
- readonly type: {
1334
- readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1335
- };
1336
- };
1337
- readonly '6kUamSN8Yq4L46PRaKRVc2BnG6xN7HCpmyG2STW3hecZ': {
1338
- readonly description: "All initial rights from this LDPG have been persisted.";
1339
- readonly grantDocumentId: {
1340
- readonly description: "Optional. Stable handle of the created permission grant document. Required in request/response document-grant flows that later support self-revoke from the grantee document.";
1341
- readonly type: {
1342
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1343
- };
1344
- };
1345
- readonly links: {
1346
- readonly type: {
1347
- readonly blueId: "75TXyy5E7vbexVAUZcjZ2vdQaG7fJJbAHAgrh8sMtTp5";
1348
- };
1349
- };
1350
- readonly name: "Linked Documents Permission Granted";
1351
- readonly targetSessionId: {
1352
- readonly type: {
1353
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1354
- };
1355
- };
1356
- readonly type: {
1357
- readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1358
- };
1359
- };
1360
- readonly '6tzp2YX1rei3aAXg22SqYbeiiteGthj1LesTNCWm7wbU': {
1361
- readonly name: "MyOS Participants Orchestration";
1362
- };
1363
- readonly '6VqxRuWBPVJ8qTBPWxYKaSi5UB3zb8Y9vadtxbsL4vzJ': {
1364
- readonly accountId: {
1365
- readonly description: "Stable MyOS user identifier.";
1366
- readonly type: {
1367
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1368
- };
1369
- };
1370
- readonly description: "A MyOS identity reference used in payment constraints and matching.";
1371
- readonly name: "MyOS User";
1372
- };
1373
- readonly '75TkZZcfwGMnD8ReqQg1KhBkdEV9U637TS5bGSv9n2Xn': {
1374
- readonly allowedWorkerAgencyPermissions: {
1375
- readonly itemType: {
1376
- readonly blueId: "5J3RXNnALK1ZYAQBrjGwCQ4WpL3YUGHvz9WcGos6mMSp";
1377
- };
1378
- readonly type: {
1379
- readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
1380
- };
1381
- };
1382
- readonly description: "DB rows written; rights are effective.";
1383
- readonly grantDocumentId: {
1384
- readonly description: "Optional. Stable handle of the created permission grant document. Required in request/response document-grant flows that later support self-revoke from the grantee document.";
1385
- readonly type: {
1386
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1387
- };
1388
- };
1389
- readonly granteeDocumentId: {
1390
- readonly type: {
1391
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1392
- };
1393
- };
1394
- readonly name: "Worker Agency Permission Granted";
1395
- readonly type: {
1396
- readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1397
- };
1398
- };
1399
- readonly '75TXyy5E7vbexVAUZcjZ2vdQaG7fJJbAHAgrh8sMtTp5': {
798
+ readonly '75CyJPe82hSjV9T2tsir5R3343vhqvG41w2EzFhCp5Y9': {
1400
799
  readonly description: "Map from anchor name to permissions that will be granted for documents linked to the base document via that anchor.";
1401
800
  readonly keyType: {
1402
801
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
@@ -1406,7 +805,7 @@ declare const _default: {
1406
805
  readonly blueId: "G7fBT9PSod1RfHLHkpafAGBDVAJMrMhAMY51ERcyXNrj";
1407
806
  };
1408
807
  readonly valueType: {
1409
- readonly blueId: "DRDQcve5AjwBK9z6Njfa4MNERko7Uf4ucvARFdC6sL54";
808
+ readonly blueId: "5cZ3J1QiMJEJV4FV5kfSkeG2oJmweWCyJo3v2TSc3Xuw";
1410
809
  };
1411
810
  };
1412
811
  readonly '7Usvk6dZMVqas3yqs23ZEXn1zu1YDPjgYiZFNYaw3puH': {
@@ -1477,120 +876,661 @@ declare const _default: {
1477
876
  readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
1478
877
  };
1479
878
  };
1480
- readonly '8rdTEmuSkwgzj47Uc4tLdSk1wSd8NG5Q6vTFZt8hXbHK': {
1481
- readonly description: "MyOS Admin has started applying the Linked Documents Permission Grant.";
1482
- readonly links: {
1483
- readonly type: {
1484
- readonly blueId: "75TXyy5E7vbexVAUZcjZ2vdQaG7fJJbAHAgrh8sMtTp5";
879
+ readonly '8qXt15h35iHYF2yBcPJ82HzizzZv7iuU2Lu3qorweJfB': {
880
+ readonly contracts: {
881
+ readonly myOsAdminChannel: {
882
+ readonly description: "MyOS Admin (accountId=0) — posts operational progress/decisions via myOsAdminUpdate";
883
+ readonly type: {
884
+ readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
885
+ };
1485
886
  };
1486
- };
1487
- readonly name: "Linked Documents Permission Granting in Progress";
1488
- readonly targetSessionId: {
1489
- readonly type: {
1490
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
887
+ readonly myOsAdminUpdate: {
888
+ readonly channel: {
889
+ readonly type: {
890
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
891
+ };
892
+ readonly value: "myOsAdminChannel";
893
+ };
894
+ readonly description: "The standard, required operation for MyOS Admin to deliver events.";
895
+ readonly type: {
896
+ readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
897
+ };
1491
898
  };
1492
- };
1493
- readonly type: {
1494
- readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1495
- };
1496
- };
1497
- readonly '8s2rAFDtiB6sCwqeURkT4Lq7fcc2FXBkmX9B9p7R4Boc': {
1498
- readonly description: "Marker type for a specialized Blue document that MyOS treats as an Agent, enabling richer UI and behaviors while remaining a standard Blue document.";
1499
- readonly name: "Agent";
1500
- };
1501
- readonly '98JmkF189jZpQRyzaiQxLbc2rRUqnRy2o6bH2qCRaBg3': {
1502
- readonly channelName: {
1503
- readonly description: "The abstract channel name for the new participant.";
1504
- readonly type: {
1505
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
899
+ readonly myOsAdminUpdateImpl: {
900
+ readonly description: "Implementation that re-emits the provided events";
901
+ readonly operation: {
902
+ readonly type: {
903
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
904
+ };
905
+ readonly value: "myOsAdminUpdate";
906
+ };
907
+ readonly steps: {
908
+ readonly items: readonly [{
909
+ readonly code: {
910
+ readonly type: {
911
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
912
+ };
913
+ readonly value: "return { events: event.message.request };\n";
914
+ };
915
+ readonly name: "EmitAdminEvents";
916
+ readonly type: {
917
+ readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
918
+ };
919
+ }];
920
+ };
921
+ readonly type: {
922
+ readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
923
+ };
924
+ };
925
+ };
926
+ readonly description: "Document base for MyOS Admin participant";
927
+ readonly name: "MyOS Admin Base";
928
+ };
929
+ readonly '8s2rAFDtiB6sCwqeURkT4Lq7fcc2FXBkmX9B9p7R4Boc': {
930
+ readonly description: "Marker type for a specialized Blue document that MyOS treats as an Agent, enabling richer UI and behaviors while remaining a standard Blue document.";
931
+ readonly name: "Agent";
932
+ };
933
+ readonly '98JmkF189jZpQRyzaiQxLbc2rRUqnRy2o6bH2qCRaBg3': {
934
+ readonly channelName: {
935
+ readonly description: "The abstract channel name for the new participant.";
936
+ readonly type: {
937
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
938
+ };
939
+ };
940
+ readonly name: "Adding Participant Requested";
941
+ readonly participantBinding: {
942
+ readonly accountId: {
943
+ readonly type: {
944
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
945
+ };
946
+ };
947
+ readonly description: "How to identify the new user.";
948
+ readonly email: {
949
+ readonly type: {
950
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
951
+ };
952
+ };
953
+ };
954
+ readonly type: {
955
+ readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
956
+ };
957
+ };
958
+ readonly '9CvxqAMJhqcFoLr5nXSEdWDZUMD383xhJtyFwXsCqD9E': {
959
+ readonly description: "Snapshot captured from a target session epoch emission.";
960
+ readonly document: {
961
+ readonly description: "Document state after the emission.";
962
+ };
963
+ readonly epoch: {
964
+ readonly description: "Epoch number.";
965
+ readonly type: {
966
+ readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
967
+ };
968
+ };
969
+ readonly name: "Session Epoch Advanced";
970
+ readonly sessionId: {
971
+ readonly description: "Session whose state advanced.";
972
+ readonly type: {
973
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
974
+ };
975
+ };
976
+ readonly timestamp: {
977
+ readonly description: "ISO 8601 timestamp for the emission.";
978
+ readonly type: {
979
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
980
+ };
981
+ };
982
+ readonly type: {
983
+ readonly blueId: "5Wz4G9qcnBJnntYRkz4dgLK5bSuoMpYJZj4j5M59z4we";
984
+ };
985
+ };
986
+ readonly '9dmquqNvp5f47KPP3bno4t2DujWSjPtgJcEipMVPFNhN': {
987
+ readonly contracts: {
988
+ readonly granteeChannel: {
989
+ readonly description: "Grantee’s timeline";
990
+ readonly type: {
991
+ readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
992
+ };
993
+ };
994
+ readonly granterChannel: {
995
+ readonly description: "Granter/owner’s timeline";
996
+ readonly type: {
997
+ readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
998
+ };
999
+ };
1000
+ readonly initLifecycleChannel: {
1001
+ readonly event: {
1002
+ readonly type: {
1003
+ readonly blueId: "BrpmpNt5JkapeUvPqYcxgXZrHNZX3R757dRwuXXdfNM2";
1004
+ };
1005
+ };
1006
+ readonly type: {
1007
+ readonly blueId: "H2aCCTUcLMTJozWkn7HPUjyFBFxamraw1q8DyWk87zxr";
1008
+ };
1009
+ };
1010
+ readonly revoke: {
1011
+ readonly channel: {
1012
+ readonly type: {
1013
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1014
+ };
1015
+ readonly value: "revokeAccessChannel";
1016
+ };
1017
+ readonly description: "Granter or grantee indicates the grant should be revoked (MyOS Admin will handle).";
1018
+ readonly request: {
1019
+ readonly description: "Optional human-readable reason";
1020
+ readonly type: {
1021
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1022
+ };
1023
+ };
1024
+ readonly type: {
1025
+ readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
1026
+ };
1027
+ };
1028
+ readonly revokeAccessChannel: {
1029
+ readonly channels: {
1030
+ readonly items: readonly [{
1031
+ readonly type: {
1032
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1033
+ };
1034
+ readonly value: "granterChannel";
1035
+ }, {
1036
+ readonly type: {
1037
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1038
+ };
1039
+ readonly value: "granteeChannel";
1040
+ }];
1041
+ };
1042
+ readonly description: "Either grant side can invoke revoke on this grant document.";
1043
+ readonly type: {
1044
+ readonly blueId: "HsNatiPt2YvmkWQoqtfrFCbdp75ZUBLBUkWeq84WTfnr";
1045
+ };
1046
+ };
1047
+ readonly revokeImpl: {
1048
+ readonly operation: {
1049
+ readonly type: {
1050
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1051
+ };
1052
+ readonly value: "revoke";
1053
+ };
1054
+ readonly steps: {
1055
+ readonly items: readonly [{
1056
+ readonly code: {
1057
+ readonly type: {
1058
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1059
+ };
1060
+ readonly value: "return {\n events: [\n {\n type: \"MyOS/Single Document Permission Revoke Requested\",\n reason: event.message.request\n }\n ]\n};\n";
1061
+ };
1062
+ readonly name: "EmitRevokeRequested";
1063
+ readonly type: {
1064
+ readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
1065
+ };
1066
+ }];
1067
+ };
1068
+ readonly type: {
1069
+ readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
1070
+ };
1071
+ };
1072
+ readonly validateOnInit: {
1073
+ readonly channel: {
1074
+ readonly type: {
1075
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1076
+ };
1077
+ readonly value: "initLifecycleChannel";
1078
+ };
1079
+ readonly steps: {
1080
+ readonly items: readonly [{
1081
+ readonly code: {
1082
+ readonly type: {
1083
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1084
+ };
1085
+ readonly value: "const issues = [];\n\nconst target = document('/targetSessionId');\nif (!target || typeof target !== 'string') issues.push(\"targetSessionId is missing or invalid\");\n\nconst granterId = document('/contracts/granterChannel/accountId');\nif (typeof granterId !== 'string' || granterId.length === 0) issues.push(\"granterChannel must be bound to an accountId\");\nconst granteeId = document('/contracts/granteeChannel/accountId');\nif (typeof granteeId !== 'string' || granteeId.length === 0) issues.push(\"granteeChannel must be bound to an accountId\");\n\nconst perms = document('/permissions');\nif (!perms || typeof perms !== 'object') {\n issues.push(\"permissions block is missing\");\n} else {\n if (perms.read !== true) issues.push(\"permissions.read must be true for SDPG\");\n const hasSingle = Array.isArray(perms?.singleOps) && perms.singleOps.length > 0;\n if (hasSingle) {\n if (perms.singleOps.some(x => typeof x !== 'string' || x.trim().length === 0)) {\n issues.push(\"permissions.singleOps must contain only non-empty strings\");\n }\n }\n if (perms.allOps === true && hasSingle) {\n issues.push(\"permissions.allOps=true and permissions.singleOps are mutually exclusive\");\n }\n}\n\nif (issues.length > 0) return { events: [ { type: \"MyOS/Single Document Permission Invalid\", issues } ] };\nreturn { events: [ { type: \"MyOS/Single Document Permission Validated\" } ] };\n";
1086
+ };
1087
+ readonly name: "ValidateBasicShape";
1088
+ readonly type: {
1089
+ readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
1090
+ };
1091
+ }];
1092
+ };
1093
+ readonly type: {
1094
+ readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
1095
+ };
1096
+ };
1097
+ };
1098
+ readonly granterDocumentSessionId: {
1099
+ readonly description: "Optional. If set, MyOS should evaluate authority using this document session as the principal (instead of granter accountId).";
1100
+ readonly type: {
1101
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1102
+ };
1103
+ };
1104
+ readonly name: "Single Document Permission Grant To Account";
1105
+ readonly permissions: {
1106
+ readonly description: "Rights to grant on the target session (READ required; allOps and singleOps are mutually exclusive; singleOps is optional but must be non-empty if provided).";
1107
+ readonly type: {
1108
+ readonly blueId: "5cZ3J1QiMJEJV4FV5kfSkeG2oJmweWCyJo3v2TSc3Xuw";
1109
+ };
1110
+ };
1111
+ readonly targetSessionId: {
1112
+ readonly description: "Target document session id to grant access to";
1113
+ readonly type: {
1114
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1115
+ };
1116
+ };
1117
+ readonly type: {
1118
+ readonly blueId: "8qXt15h35iHYF2yBcPJ82HzizzZv7iuU2Lu3qorweJfB";
1119
+ };
1120
+ };
1121
+ readonly '9iEADVdqxqgacF3GAZVMFZu4m5ywuNpsGzButLUNkPWo': {
1122
+ readonly name: "Bootstrap Failed";
1123
+ readonly reason: {
1124
+ readonly type: {
1125
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1126
+ };
1127
+ };
1128
+ };
1129
+ readonly AG6fiGy88gX5eKoUcHS2BV17EfMssiYZj99kx9RcpKEX: {
1130
+ readonly description: "Emitted on initialise when local shape checks pass.";
1131
+ readonly name: "Single Document Permission Validated";
1132
+ readonly type: {
1133
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1134
+ };
1135
+ };
1136
+ readonly AhSRfEjNdQ8AvA3AFigjdyQzAtoc2J29jpacEcKBNa32: {
1137
+ readonly avatarUrl: {
1138
+ readonly description: "Uploaded avatar URL propagated to the bootstrapped target sessions";
1139
+ readonly type: {
1140
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1141
+ };
1142
+ };
1143
+ readonly bootstrapError: {
1144
+ readonly description: "Error message explaining bootstrap failure";
1145
+ readonly type: {
1146
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1147
+ };
1148
+ };
1149
+ readonly bootstrapStatus: {
1150
+ readonly description: "Overall bootstrap process status";
1151
+ readonly type: {
1152
+ readonly blueId: "58B8orsFkxxy7bWqjLXJmtBs2b5rwnNQNbeoAbGhPkJc";
1153
+ };
1154
+ };
1155
+ readonly capabilities: {
1156
+ readonly description: "Optional MyOS Admin capability contracts to attach (participantsOrchestration, sessionInteraction, workerAgency)";
1157
+ readonly keyType: {
1158
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1159
+ };
1160
+ readonly type: {
1161
+ readonly blueId: "G7fBT9PSod1RfHLHkpafAGBDVAJMrMhAMY51ERcyXNrj";
1162
+ };
1163
+ readonly valueType: {
1164
+ readonly blueId: "4EzhSubEimSQD3zrYHRtobfPPWntUuhEz8YcdxHsi12u";
1165
+ };
1166
+ };
1167
+ readonly channelBindings: {
1168
+ readonly description: "Maps channel names to participant identifiers";
1169
+ readonly keyType: {
1170
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1171
+ };
1172
+ readonly type: {
1173
+ readonly blueId: "G7fBT9PSod1RfHLHkpafAGBDVAJMrMhAMY51ERcyXNrj";
1174
+ };
1175
+ readonly valueType: {
1176
+ readonly blueId: "DcoJyCh7XXxy1nR5xjy7qfkUgQ1GiZnKKSxh8DJusBSr";
1177
+ };
1178
+ };
1179
+ readonly contracts: {
1180
+ readonly handleBootstrapFailed: {
1181
+ readonly channel: {
1182
+ readonly type: {
1183
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1184
+ };
1185
+ readonly value: "triggeredEventsChannel";
1186
+ };
1187
+ readonly event: {
1188
+ readonly type: {
1189
+ readonly blueId: "9iEADVdqxqgacF3GAZVMFZu4m5ywuNpsGzButLUNkPWo";
1190
+ };
1191
+ };
1192
+ readonly steps: {
1193
+ readonly items: readonly [{
1194
+ readonly changeset: {
1195
+ readonly items: readonly [{
1196
+ readonly op: {
1197
+ readonly type: {
1198
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1199
+ };
1200
+ readonly value: "replace";
1201
+ };
1202
+ readonly path: {
1203
+ readonly type: {
1204
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1205
+ };
1206
+ readonly value: "/bootstrapError";
1207
+ };
1208
+ readonly val: {
1209
+ readonly type: {
1210
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1211
+ };
1212
+ readonly value: "${event.reason}";
1213
+ };
1214
+ }];
1215
+ };
1216
+ readonly name: "Update Error Message";
1217
+ readonly type: {
1218
+ readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
1219
+ };
1220
+ }, {
1221
+ readonly code: {
1222
+ readonly type: {
1223
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1224
+ };
1225
+ readonly value: "return { events: [ { type: 'Conversation/Status Change', status: { type: 'Conversation/Status Failed' } } ] };\n";
1226
+ };
1227
+ readonly name: "Emit Failure Event";
1228
+ readonly type: {
1229
+ readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
1230
+ };
1231
+ }];
1232
+ };
1233
+ readonly type: {
1234
+ readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
1235
+ };
1236
+ };
1237
+ readonly handleParticipantResolved: {
1238
+ readonly channel: {
1239
+ readonly type: {
1240
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1241
+ };
1242
+ readonly value: "triggeredEventsChannel";
1243
+ };
1244
+ readonly event: {
1245
+ readonly type: {
1246
+ readonly blueId: "EQVu8aZyp5ivTyKpSm8ueVsDLgprfcrHzr5QWdH1p6Cz";
1247
+ };
1248
+ };
1249
+ readonly steps: {
1250
+ readonly items: readonly [{
1251
+ readonly code: {
1252
+ readonly type: {
1253
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1254
+ };
1255
+ readonly value: "const participantState = {\n accountStatus: event.participant?.status?.accountStatus || 'Unknown', // \"Active\" | \"Inactive\"\n errorMessage: ''\n};\n\nreturn {\n participantState,\n channelName: event.channelName\n};\n";
1256
+ };
1257
+ readonly name: "Prepare Participant State";
1258
+ readonly type: {
1259
+ readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
1260
+ };
1261
+ }, {
1262
+ readonly changeset: {
1263
+ readonly items: readonly [{
1264
+ readonly op: {
1265
+ readonly type: {
1266
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1267
+ };
1268
+ readonly value: "replace";
1269
+ };
1270
+ readonly path: {
1271
+ readonly type: {
1272
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1273
+ };
1274
+ readonly value: "/participantsState/${steps['Prepare Participant State'].channelName}";
1275
+ };
1276
+ readonly val: {
1277
+ readonly type: {
1278
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1279
+ };
1280
+ readonly value: "${steps['Prepare Participant State'].participantState}";
1281
+ };
1282
+ }];
1283
+ };
1284
+ readonly name: "Update Participants State";
1285
+ readonly type: {
1286
+ readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
1287
+ };
1288
+ }];
1289
+ };
1290
+ readonly type: {
1291
+ readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
1292
+ };
1293
+ };
1294
+ readonly handleStatusChange: {
1295
+ readonly channel: {
1296
+ readonly type: {
1297
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1298
+ };
1299
+ readonly value: "triggeredEventsChannel";
1300
+ };
1301
+ readonly event: {
1302
+ readonly type: {
1303
+ readonly blueId: "C48nKSkbxraMSv4gCiGYVHKFjmtK12k63Yasn95zknWE";
1304
+ };
1305
+ };
1306
+ readonly steps: {
1307
+ readonly items: readonly [{
1308
+ readonly changeset: {
1309
+ readonly items: readonly [{
1310
+ readonly op: {
1311
+ readonly type: {
1312
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1313
+ };
1314
+ readonly value: "replace";
1315
+ };
1316
+ readonly path: {
1317
+ readonly type: {
1318
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1319
+ };
1320
+ readonly value: "/bootstrapStatus";
1321
+ };
1322
+ readonly val: {
1323
+ readonly type: {
1324
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1325
+ };
1326
+ readonly value: "${event.status}";
1327
+ };
1328
+ }];
1329
+ };
1330
+ readonly name: "Update Bootstrap Status";
1331
+ readonly type: {
1332
+ readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
1333
+ };
1334
+ }];
1335
+ };
1336
+ readonly type: {
1337
+ readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
1338
+ };
1339
+ };
1340
+ readonly handleTargetDocumentSessionStarted: {
1341
+ readonly channel: {
1342
+ readonly type: {
1343
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1344
+ };
1345
+ readonly value: "triggeredEventsChannel";
1346
+ };
1347
+ readonly event: {
1348
+ readonly type: {
1349
+ readonly blueId: "FoHDf4WzS4idtPc8rWwVFFvALQ27WzMHxPdXovy7DH4p";
1350
+ };
1351
+ };
1352
+ readonly steps: {
1353
+ readonly items: readonly [{
1354
+ readonly changeset: {
1355
+ readonly items: readonly [{
1356
+ readonly op: {
1357
+ readonly type: {
1358
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1359
+ };
1360
+ readonly value: "replace";
1361
+ };
1362
+ readonly path: {
1363
+ readonly type: {
1364
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1365
+ };
1366
+ readonly value: "/initiatorSessionIds";
1367
+ };
1368
+ readonly val: {
1369
+ readonly type: {
1370
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1371
+ };
1372
+ readonly value: "${event.initiatorSessionIds}";
1373
+ };
1374
+ }];
1375
+ };
1376
+ readonly name: "Update Initiator Session";
1377
+ readonly type: {
1378
+ readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
1379
+ };
1380
+ }, {
1381
+ readonly code: {
1382
+ readonly type: {
1383
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1384
+ };
1385
+ readonly value: "return { events: [ { type: 'Conversation/Status Change', status: { type: 'Conversation/Status Completed' } } ] };\n";
1386
+ };
1387
+ readonly name: "Emit Completion Event";
1388
+ readonly type: {
1389
+ readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
1390
+ };
1391
+ }];
1392
+ };
1393
+ readonly type: {
1394
+ readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
1395
+ };
1396
+ };
1397
+ readonly initHandler: {
1398
+ readonly channel: {
1399
+ readonly type: {
1400
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1401
+ };
1402
+ readonly value: "lifecycle";
1403
+ };
1404
+ readonly steps: {
1405
+ readonly items: readonly [{
1406
+ readonly changeset: {
1407
+ readonly items: readonly [{
1408
+ readonly op: {
1409
+ readonly type: {
1410
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1411
+ };
1412
+ readonly value: "replace";
1413
+ };
1414
+ readonly path: {
1415
+ readonly type: {
1416
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1417
+ };
1418
+ readonly value: "/bootstrapStatus";
1419
+ };
1420
+ readonly val: {
1421
+ readonly type: {
1422
+ readonly blueId: "FDEV1Q9rBZwaponjfRmZ4HsUHRwPC4gvmeHiRqvkLAkY";
1423
+ };
1424
+ };
1425
+ }];
1426
+ };
1427
+ readonly name: "Initialize Bootstrap Status";
1428
+ readonly type: {
1429
+ readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
1430
+ };
1431
+ }];
1432
+ };
1433
+ readonly type: {
1434
+ readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
1435
+ };
1436
+ };
1437
+ readonly lifecycle: {
1438
+ readonly event: {
1439
+ readonly type: {
1440
+ readonly blueId: "BrpmpNt5JkapeUvPqYcxgXZrHNZX3R757dRwuXXdfNM2";
1441
+ };
1442
+ };
1443
+ readonly type: {
1444
+ readonly blueId: "H2aCCTUcLMTJozWkn7HPUjyFBFxamraw1q8DyWk87zxr";
1445
+ };
1446
+ };
1447
+ readonly triggeredEventsChannel: {
1448
+ readonly type: {
1449
+ readonly blueId: "C77W4kVGcxL7Mkx9WL9QESPEFFL2GzWAe647s1Efprt";
1450
+ };
1506
1451
  };
1507
1452
  };
1508
- readonly name: "Adding Participant Requested";
1509
- readonly participantBinding: {
1510
- readonly accountId: {
1453
+ readonly description: "MyOS-specific document for bootstrapping document sessions and tracking bootstrap progress";
1454
+ readonly document: {
1455
+ readonly description: "Target Blue document to be bootstrapped";
1456
+ };
1457
+ readonly initialMessages: {
1458
+ readonly defaultMessage: {
1459
+ readonly description: "Default invitation message sent to all participants";
1511
1460
  readonly type: {
1512
1461
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1513
1462
  };
1514
1463
  };
1515
- readonly description: "How to identify the new user.";
1516
- readonly email: {
1464
+ readonly description: "Messages sent to participants when inviting them to the bootstrapped document";
1465
+ readonly perChannel: {
1466
+ readonly description: "Per-channel custom invitation messages";
1467
+ readonly keyType: {
1468
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1469
+ };
1517
1470
  readonly type: {
1471
+ readonly blueId: "G7fBT9PSod1RfHLHkpafAGBDVAJMrMhAMY51ERcyXNrj";
1472
+ };
1473
+ readonly valueType: {
1518
1474
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1519
1475
  };
1520
1476
  };
1521
1477
  };
1522
- readonly type: {
1523
- readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
1524
- };
1525
- };
1526
- readonly '9CvxqAMJhqcFoLr5nXSEdWDZUMD383xhJtyFwXsCqD9E': {
1527
- readonly description: "Snapshot captured from a target session epoch emission.";
1528
- readonly document: {
1529
- readonly description: "Document state after the emission.";
1530
- };
1531
- readonly epoch: {
1532
- readonly description: "Epoch number.";
1478
+ readonly initiatorSessionIds: {
1479
+ readonly description: "Session IDs created for the bootstrap initiator (caller)";
1480
+ readonly itemType: {
1481
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1482
+ };
1533
1483
  readonly type: {
1534
- readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
1484
+ readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
1535
1485
  };
1536
1486
  };
1537
- readonly name: "Session Epoch Advanced";
1538
- readonly sessionId: {
1539
- readonly description: "Session whose state advanced.";
1540
- readonly type: {
1487
+ readonly name: "Document Session Bootstrap";
1488
+ readonly participantsState: {
1489
+ readonly description: "Maps channel names to participant activation tracking";
1490
+ readonly keyType: {
1541
1491
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1542
1492
  };
1543
- };
1544
- readonly timestamp: {
1545
- readonly description: "ISO 8601 timestamp for the emission.";
1546
1493
  readonly type: {
1547
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1494
+ readonly blueId: "G7fBT9PSod1RfHLHkpafAGBDVAJMrMhAMY51ERcyXNrj";
1495
+ };
1496
+ readonly valueType: {
1497
+ readonly blueId: "CocmZUt2K7LuGukwuPSAFC7EFo5HZonozAm4tUsSmuFB";
1548
1498
  };
1549
1499
  };
1550
1500
  readonly type: {
1551
- readonly blueId: "5Wz4G9qcnBJnntYRkz4dgLK5bSuoMpYJZj4j5M59z4we";
1501
+ readonly blueId: "8qXt15h35iHYF2yBcPJ82HzizzZv7iuU2Lu3qorweJfB";
1552
1502
  };
1553
1503
  };
1554
- readonly '9iEADVdqxqgacF3GAZVMFZu4m5ywuNpsGzButLUNkPWo': {
1555
- readonly name: "Bootstrap Failed";
1556
- readonly reason: {
1557
- readonly type: {
1558
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1559
- };
1504
+ readonly AMNPp7uGYBgygbnmMS649m6Gf5bNULaEK8aSQ3b4xdrf: {
1505
+ readonly description: "Rights granted by this WAG have been retracted.";
1506
+ readonly name: "Worker Agency Permission Revoked";
1507
+ readonly type: {
1508
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1560
1509
  };
1561
1510
  };
1562
- readonly '9J18sDqoJX8KKutFwuzxeSdXiGuRbJB2yCfADGSKax6h': {
1563
- readonly description: "All rights from this LDPG have been revoked.";
1564
- readonly links: {
1511
+ readonly aydjXRi7sz7352Pnbs25ko4cat9w4YnM6LzD5Dtj5T9: {
1512
+ readonly description: "Whatever granter confirmed or rejected the request.";
1513
+ readonly name: "Single Document Permission Grant Responded";
1514
+ readonly permissions: {
1565
1515
  readonly type: {
1566
- readonly blueId: "75TXyy5E7vbexVAUZcjZ2vdQaG7fJJbAHAgrh8sMtTp5";
1516
+ readonly blueId: "5cZ3J1QiMJEJV4FV5kfSkeG2oJmweWCyJo3v2TSc3Xuw";
1567
1517
  };
1568
1518
  };
1569
- readonly name: "Linked Documents Permission Revoked";
1570
1519
  readonly reason: {
1571
1520
  readonly type: {
1572
1521
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1573
1522
  };
1574
1523
  };
1575
- readonly targetSessionId: {
1524
+ readonly status: {
1576
1525
  readonly type: {
1577
1526
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1578
1527
  };
1579
1528
  };
1580
- readonly type: {
1581
- readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1582
- };
1583
- };
1584
- readonly AG6fiGy88gX5eKoUcHS2BV17EfMssiYZj99kx9RcpKEX: {
1585
- readonly description: "Emitted on initialise when local shape checks pass.";
1586
- readonly name: "Single Document Permission Validated";
1587
- readonly type: {
1588
- readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1529
+ readonly targetSessionId: {
1530
+ readonly type: {
1531
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1532
+ };
1589
1533
  };
1590
- };
1591
- readonly AMNPp7uGYBgygbnmMS649m6Gf5bNULaEK8aSQ3b4xdrf: {
1592
- readonly description: "Rights granted by this WAG have been retracted.";
1593
- readonly name: "Worker Agency Permission Revoked";
1594
1534
  readonly type: {
1595
1535
  readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1596
1536
  };
@@ -1633,76 +1573,48 @@ declare const _default: {
1633
1573
  readonly blueId: "D2ERUvbpn6R6PR7hjFsGofwQsu9bkRfc6wbSYHcfJtMD";
1634
1574
  };
1635
1575
  };
1636
- readonly BnrAcFrEHzoARE2yqKmRv7jrPWCbJsVBqSoXwWCaTtrk: {
1637
- readonly description: "Document asks MyOS Admin to mediate a subscription to a target session it can READ.";
1638
- readonly name: "Subscribe to Session Requested";
1639
- readonly subscription: {
1640
- readonly events: {
1641
- readonly description: "Optional allow-list of emitted event patterns to forward.";
1576
+ readonly BivicTTRkWMt2f9qMqSPgWPEAHyVpAUmBE6xGLt3oVu2: {
1577
+ readonly contracts: {
1578
+ readonly granterChannel: {
1579
+ readonly description: "Granter/owner’s timeline (direct grant-document revoke lives here).";
1642
1580
  readonly type: {
1643
- readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
1581
+ readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
1644
1582
  };
1645
1583
  };
1646
- readonly id: {
1647
- readonly description: "Optional client correlation id.";
1648
- readonly type: {
1649
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1584
+ readonly initLifecycleChannel: {
1585
+ readonly event: {
1586
+ readonly type: {
1587
+ readonly blueId: "BrpmpNt5JkapeUvPqYcxgXZrHNZX3R757dRwuXXdfNM2";
1588
+ };
1650
1589
  };
1651
- };
1652
- };
1653
- readonly targetSessionId: {
1654
- readonly description: "Session to subscribe to.";
1655
- readonly type: {
1656
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1657
- };
1658
- };
1659
- readonly type: {
1660
- readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
1661
- };
1662
- };
1663
- readonly BQMtWzcdbYUdaJQADyy6bkscxQGfhQHT4BgFhXQAgKfz: {
1664
- readonly name: "Adding Participant Responded";
1665
- readonly request: {
1666
- readonly type: {
1667
- readonly blueId: "98JmkF189jZpQRyzaiQxLbc2rRUqnRy2o6bH2qCRaBg3";
1668
- };
1669
- };
1670
- readonly status: {
1671
- readonly type: {
1672
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1673
- };
1674
- };
1675
- readonly type: {
1676
- readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1677
- };
1678
- };
1679
- readonly Bu4YETSKYW8hHMwVy6zUUoBAGZPxX3KVXfKN9uoCUoJj: {
1680
- readonly contracts: {
1681
- readonly myOsAdminChannel: {
1682
- readonly description: "MyOS Admin (accountId=0) — posts operational progress/decisions via myOsAdminUpdate";
1683
1590
  readonly type: {
1684
- readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
1591
+ readonly blueId: "H2aCCTUcLMTJozWkn7HPUjyFBFxamraw1q8DyWk87zxr";
1685
1592
  };
1686
1593
  };
1687
- readonly myOsAdminUpdate: {
1594
+ readonly revoke: {
1688
1595
  readonly channel: {
1689
1596
  readonly type: {
1690
1597
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1691
1598
  };
1692
- readonly value: "myOsAdminChannel";
1599
+ readonly value: "granterChannel";
1600
+ };
1601
+ readonly description: "Granter requests revocation on the grant document. Grantee-document self-revoke uses the existing revoke-request event with grantDocumentId emitted from the grantee document itself.";
1602
+ readonly request: {
1603
+ readonly description: "Optional human-readable reason";
1604
+ readonly type: {
1605
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1606
+ };
1693
1607
  };
1694
- readonly description: "The standard, required operation for MyOS Admin to deliver events.";
1695
1608
  readonly type: {
1696
1609
  readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
1697
1610
  };
1698
1611
  };
1699
- readonly myOsAdminUpdateImpl: {
1700
- readonly description: "Implementation that re-emits the provided events";
1612
+ readonly revokeImplGranter: {
1701
1613
  readonly operation: {
1702
1614
  readonly type: {
1703
1615
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1704
1616
  };
1705
- readonly value: "myOsAdminUpdate";
1617
+ readonly value: "revoke";
1706
1618
  };
1707
1619
  readonly steps: {
1708
1620
  readonly items: readonly [{
@@ -1710,9 +1622,9 @@ declare const _default: {
1710
1622
  readonly type: {
1711
1623
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1712
1624
  };
1713
- readonly value: "return { events: event.message.request };\n";
1625
+ readonly value: "return {\n events: [\n {\n type: \"MyOS/Single Document Permission Revoke Requested\",\n reason: event.message.request\n }\n ]\n};\n";
1714
1626
  };
1715
- readonly name: "EmitAdminEvents";
1627
+ readonly name: "EmitRevokeRequested";
1716
1628
  readonly type: {
1717
1629
  readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
1718
1630
  };
@@ -1722,162 +1634,122 @@ declare const _default: {
1722
1634
  readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
1723
1635
  };
1724
1636
  };
1725
- };
1726
- readonly description: "Document base for MyOS Admin participant";
1727
- readonly name: "MyOS Admin Base";
1728
- };
1729
- readonly BZPjcZmkuJpVFDYAZMexdG68KKFhgabnieBdG6DpHexR: {
1730
- readonly description: "DB rows written; rights are effective.";
1731
- readonly grantDocumentId: {
1732
- readonly description: "Optional. Stable handle of the created permission grant document. Required in request/response document-grant flows that later support self-revoke from the grantee document.";
1733
- readonly type: {
1734
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1735
- };
1736
- };
1737
- readonly name: "Single Document Permission Granted";
1738
- readonly permissions: {
1739
- readonly type: {
1740
- readonly blueId: "DRDQcve5AjwBK9z6Njfa4MNERko7Uf4ucvARFdC6sL54";
1741
- };
1742
- };
1743
- readonly targetSessionId: {
1744
- readonly type: {
1745
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1746
- };
1747
- };
1748
- readonly type: {
1749
- readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1750
- };
1751
- };
1752
- readonly CeWyRmXAMZqvWBvby2KbRUZWcS7Pdxs42vnMXgn9gg6H: {
1753
- readonly name: "MyOS Session Interaction";
1754
- };
1755
- readonly Cg3FfBGZZSfviaJg4Jsf7Cbg4jLRPYDcrbT65YD4vjxi: {
1756
- readonly description: "Grant could not be applied.";
1757
- readonly links: {
1758
- readonly type: {
1759
- readonly blueId: "75TXyy5E7vbexVAUZcjZ2vdQaG7fJJbAHAgrh8sMtTp5";
1760
- };
1761
- };
1762
- readonly name: "Linked Documents Permission Rejected";
1763
- readonly reason: {
1764
- readonly type: {
1765
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1766
- };
1767
- };
1768
- readonly targetSessionId: {
1769
- readonly type: {
1770
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1771
- };
1772
- };
1773
- readonly type: {
1774
- readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1775
- };
1776
- };
1777
- readonly CocmZUt2K7LuGukwuPSAFC7EFo5HZonozAm4tUsSmuFB: {
1778
- readonly accountStatus: {
1779
- readonly description: "Participant's MyOS account status from bootstrap events (Active | Inactive | Failed)";
1780
- readonly type: {
1781
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1782
- };
1783
- };
1784
- readonly description: "Tracks participant account status and activation";
1785
- readonly errorMessage: {
1786
- readonly description: "Error message if participant activation failed";
1787
- readonly type: {
1788
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1789
- };
1790
- };
1791
- readonly name: "Participant Activation State";
1792
- };
1793
- readonly CrGV4ZYjvPvMqrgNQAfgZCUnFjFW6HDjYNdon2chLKU3: {
1794
- readonly description: "Notifies the user that a MyOS Package is ready to install.";
1795
- readonly message: {
1796
- readonly description: "Context for the user (e.g., who suggested it, what it does)";
1797
- readonly type: {
1798
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1637
+ readonly validateOnInit: {
1638
+ readonly channel: {
1639
+ readonly type: {
1640
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1641
+ };
1642
+ readonly value: "initLifecycleChannel";
1643
+ };
1644
+ readonly steps: {
1645
+ readonly items: readonly [{
1646
+ readonly code: {
1647
+ readonly type: {
1648
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1649
+ };
1650
+ readonly value: "const skipValidation = document('/skipValidation');\nif (skipValidation === true) return { events: [] };\n\nconst issues = [];\n\nconst target = document('/targetSessionId');\nif (!target || typeof target !== 'string') issues.push(\"targetSessionId is missing or invalid\");\n\nconst granterId = document('/contracts/granterChannel/accountId');\nif (typeof granterId !== 'string' || granterId.length === 0) issues.push(\"granterChannel must be bound to an accountId\");\n\nconst gdoc = document('/granteeDocumentId');\nif (typeof gdoc !== 'string' || gdoc.trim().length === 0) issues.push(\"granteeDocumentId must be a non-empty string (originalBlueId)\");\n\nconst perms = document('/permissions');\nif (!perms || typeof perms !== 'object') {\n issues.push(\"permissions block is missing\");\n} else {\n if (perms.read !== true) issues.push(\"permissions.read must be true for SDPG\");\n const hasSingle = Array.isArray(perms?.singleOps) && perms.singleOps.length > 0;\n if (hasSingle) {\n if (perms.singleOps.some(x => typeof x !== 'string' || x.trim().length === 0)) {\n issues.push(\"permissions.singleOps must contain only non-empty strings\");\n }\n }\n if (perms.allOps === true && hasSingle) {\n issues.push(\"permissions.allOps=true and permissions.singleOps are mutually exclusive\");\n }\n}\n\nif (issues.length > 0) return { events: [ { type: \"MyOS/Single Document Permission Invalid\", issues } ] };\nreturn { events: [ { type: \"MyOS/Single Document Permission Validated\" } ] };\n";
1651
+ };
1652
+ readonly name: "ValidateBasicShape";
1653
+ readonly type: {
1654
+ readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
1655
+ };
1656
+ }];
1657
+ };
1658
+ readonly type: {
1659
+ readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
1660
+ };
1799
1661
  };
1800
1662
  };
1801
- readonly name: "Inform User To Install MyOS Package";
1802
- readonly package: {
1803
- readonly description: "The complete package to be bootstrapped";
1663
+ readonly granteeDocumentId: {
1664
+ readonly description: "Required original document id (blueId) that will act as the grantee principal ('document').";
1804
1665
  readonly type: {
1805
- readonly blueId: "5cg55kgH8ckRVji4oWSBBxthJQFYmB5Lb1Pea7achyNr";
1666
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1806
1667
  };
1807
1668
  };
1808
- readonly title: {
1809
- readonly description: "Short, user-facing headline (e.g., \"Install Agent Package\")";
1669
+ readonly granterDocumentSessionId: {
1670
+ readonly description: "Optional. If set, MyOS should evaluate authority using this document session as the principal (instead of granter accountId).";
1810
1671
  readonly type: {
1811
1672
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1812
1673
  };
1813
1674
  };
1814
- };
1815
- readonly Cyr8aNNYedFse1EZ74dy9uXJ59gLH5LhTRyVeLiSMkg8: {
1816
- readonly description: "MyOS Admin is retracting rights granted by this PGD.";
1817
- readonly name: "Single Document Permission Revoking in Progress";
1818
- readonly note: {
1675
+ readonly name: "Single Document Permission Grant To Document";
1676
+ readonly permissions: {
1677
+ readonly description: "Rights to grant on the target session (READ required; allOps and singleOps are mutually exclusive; singleOps is optional but must be non-empty if provided).";
1819
1678
  readonly type: {
1820
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1679
+ readonly blueId: "5cZ3J1QiMJEJV4FV5kfSkeG2oJmweWCyJo3v2TSc3Xuw";
1821
1680
  };
1822
1681
  };
1823
- readonly permissions: {
1682
+ readonly skipValidation: {
1683
+ readonly description: "If true, the validation will be skipped (MyOS Admin won't be triggered to create permission grant).";
1824
1684
  readonly type: {
1825
- readonly blueId: "DRDQcve5AjwBK9z6Njfa4MNERko7Uf4ucvARFdC6sL54";
1685
+ readonly blueId: "4EzhSubEimSQD3zrYHRtobfPPWntUuhEz8YcdxHsi12u";
1826
1686
  };
1827
1687
  };
1828
1688
  readonly targetSessionId: {
1689
+ readonly description: "Target document session id to grant access to";
1829
1690
  readonly type: {
1830
1691
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1831
1692
  };
1832
1693
  };
1833
1694
  readonly type: {
1834
- readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1695
+ readonly blueId: "8qXt15h35iHYF2yBcPJ82HzizzZv7iuU2Lu3qorweJfB";
1835
1696
  };
1836
1697
  };
1837
- readonly d1vQ8ZTPcQc5KeuU6tzWaVukWRVtKjQL4hbvbpC22rB: {
1838
- readonly description: "Link targeting a specific document session by its sessionId. Use when referencing a live session rather than a logical document.";
1839
- readonly name: "MyOS Session Link";
1840
- readonly sessionId: {
1841
- readonly description: "Identifier of the document session being targeted.";
1698
+ readonly BnrAcFrEHzoARE2yqKmRv7jrPWCbJsVBqSoXwWCaTtrk: {
1699
+ readonly description: "Document asks MyOS Admin to mediate a subscription to a target session it can READ.";
1700
+ readonly name: "Subscribe to Session Requested";
1701
+ readonly subscription: {
1702
+ readonly events: {
1703
+ readonly description: "Optional allow-list of emitted event patterns to forward.";
1704
+ readonly type: {
1705
+ readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
1706
+ };
1707
+ };
1708
+ readonly id: {
1709
+ readonly description: "Optional client correlation id.";
1710
+ readonly type: {
1711
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1712
+ };
1713
+ };
1714
+ };
1715
+ readonly targetSessionId: {
1716
+ readonly description: "Session to subscribe to.";
1842
1717
  readonly type: {
1843
1718
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1844
1719
  };
1845
1720
  };
1846
1721
  readonly type: {
1847
- readonly blueId: "D2ERUvbpn6R6PR7hjFsGofwQsu9bkRfc6wbSYHcfJtMD";
1722
+ readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
1848
1723
  };
1849
1724
  };
1850
- readonly D2ERUvbpn6R6PR7hjFsGofwQsu9bkRfc6wbSYHcfJtMD: {
1851
- readonly anchor: {
1852
- readonly description: "Target anchor key on the destination document.";
1725
+ readonly BQMtWzcdbYUdaJQADyy6bkscxQGfhQHT4BgFhXQAgKfz: {
1726
+ readonly name: "Adding Participant Responded";
1727
+ readonly request: {
1853
1728
  readonly type: {
1854
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1729
+ readonly blueId: "98JmkF189jZpQRyzaiQxLbc2rRUqnRy2o6bH2qCRaBg3";
1855
1730
  };
1856
1731
  };
1857
- readonly description: "Abstract base class for all link types.";
1858
- readonly name: "Link";
1859
- };
1860
- readonly D9Ret9Hmz5TWxzuJEeauWEuZVPkPL7hcHYsSNY1cZ5zX: {
1861
- readonly description: "Link targeting any document of a specific Blue type. Enables dynamic discovery where the platform resolves to a concrete instance at runtime.";
1862
- readonly documentType: {
1863
- readonly description: "Type being targeted by this link.";
1732
+ readonly status: {
1733
+ readonly type: {
1734
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1735
+ };
1864
1736
  };
1865
- readonly name: "Document Type Link";
1866
1737
  readonly type: {
1867
- readonly blueId: "D2ERUvbpn6R6PR7hjFsGofwQsu9bkRfc6wbSYHcfJtMD";
1738
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1868
1739
  };
1869
1740
  };
1870
- readonly DBv2TLwytwBgvrSVeauLjTZYycf8hiXgdadoyRVDfjhS: {
1871
- readonly description: "Ask MyOS Admin to grant permisison to document (event emitter) for a concrete target session.";
1872
- readonly links: {
1741
+ readonly BqWoMewDiK6GgMVDXeBuPwWL3ka9DadzKu59uU51ZjW3: {
1742
+ readonly description: "DB rows written; rights are effective.";
1743
+ readonly grantDocumentId: {
1744
+ readonly description: "Optional. Stable handle of the created permission grant document. Required in request/response document-grant flows that later support self-revoke from the grantee document.";
1873
1745
  readonly type: {
1874
- readonly blueId: "75TXyy5E7vbexVAUZcjZ2vdQaG7fJJbAHAgrh8sMtTp5";
1746
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1875
1747
  };
1876
1748
  };
1877
- readonly name: "Linked Documents Permission Grant Requested";
1878
- readonly onBehalfOf: {
1749
+ readonly name: "Single Document Permission Granted";
1750
+ readonly permissions: {
1879
1751
  readonly type: {
1880
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1752
+ readonly blueId: "5cZ3J1QiMJEJV4FV5kfSkeG2oJmweWCyJo3v2TSc3Xuw";
1881
1753
  };
1882
1754
  };
1883
1755
  readonly targetSessionId: {
@@ -1886,71 +1758,63 @@ declare const _default: {
1886
1758
  };
1887
1759
  };
1888
1760
  readonly type: {
1889
- readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
1761
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1890
1762
  };
1891
1763
  };
1892
- readonly Dd53JjiBGUnASZXjhiHBqCSnruN2XmLtcW2vNQB7Sm34: {
1893
- readonly description: "MyOS Admin accepted the call and submitted the operation request.";
1894
- readonly name: "Call Operation Accepted";
1895
- readonly operation: {
1896
- readonly description: "Operation name that was invoked.";
1764
+ readonly BwYenFh5yEbjEW6FdBzYu2hCkUxGyBW6JJguusvtd5ut: {
1765
+ readonly allowedWorkerAgencyPermissions: {
1766
+ readonly itemType: {
1767
+ readonly blueId: "EKPgicPVdFxx8X4ZBsnx7mT387M3VXDeMjSBnmAreUsS";
1768
+ };
1897
1769
  readonly type: {
1898
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1770
+ readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
1899
1771
  };
1900
1772
  };
1901
- readonly targetSessionId: {
1902
- readonly description: "Target document session that received the request.";
1773
+ readonly description: "DB rows written; rights are effective.";
1774
+ readonly grantDocumentId: {
1775
+ readonly description: "Optional. Stable handle of the created permission grant document. Required in request/response document-grant flows that later support self-revoke from the grantee document.";
1903
1776
  readonly type: {
1904
1777
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1905
1778
  };
1906
1779
  };
1907
- readonly type: {
1908
- readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1780
+ readonly granteeDocumentId: {
1781
+ readonly type: {
1782
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1783
+ };
1909
1784
  };
1910
- };
1911
- readonly DFMcBSRfNqK6NqdNLCF8b88soezajjq4gyBS8QRzSBhe: {
1912
- readonly description: "Emitted when the LDPG passes local validation.";
1913
- readonly name: "Linked Documents Permission Validated";
1785
+ readonly name: "Worker Agency Permission Granted";
1914
1786
  readonly type: {
1915
1787
  readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1916
1788
  };
1917
1789
  };
1918
- readonly DL73vQGQGdEFA53shnv58CkVJVVs5P5Hygc5qNghY5Zf: {
1919
- readonly description: "Marker type for a specialized Blue document that MyOS treats as an Agent, enabling richer UI and behaviors while remaining a standard Blue document.";
1920
- readonly name: "LLM Agent";
1921
- readonly type: {
1922
- readonly blueId: "8s2rAFDtiB6sCwqeURkT4Lq7fcc2FXBkmX9B9p7R4Boc";
1923
- };
1790
+ readonly CeWyRmXAMZqvWBvby2KbRUZWcS7Pdxs42vnMXgn9gg6H: {
1791
+ readonly name: "MyOS Session Interaction";
1924
1792
  };
1925
- readonly DRDQcve5AjwBK9z6Njfa4MNERko7Uf4ucvARFdC6sL54: {
1926
- readonly allOps: {
1927
- readonly type: {
1928
- readonly blueId: "4EzhSubEimSQD3zrYHRtobfPPWntUuhEz8YcdxHsi12u";
1929
- };
1930
- };
1931
- readonly description: "Permissions that become effective for a single target session.";
1932
- readonly name: "Single Document Permission Set";
1933
- readonly read: {
1793
+ readonly CocmZUt2K7LuGukwuPSAFC7EFo5HZonozAm4tUsSmuFB: {
1794
+ readonly accountStatus: {
1795
+ readonly description: "Participant's MyOS account status from bootstrap events (Active | Inactive | Failed)";
1934
1796
  readonly type: {
1935
- readonly blueId: "4EzhSubEimSQD3zrYHRtobfPPWntUuhEz8YcdxHsi12u";
1797
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1936
1798
  };
1937
- readonly value: true;
1938
1799
  };
1939
- readonly share: {
1800
+ readonly description: "Tracks participant account status and activation";
1801
+ readonly errorMessage: {
1802
+ readonly description: "Error message if participant activation failed";
1940
1803
  readonly type: {
1941
- readonly blueId: "4EzhSubEimSQD3zrYHRtobfPPWntUuhEz8YcdxHsi12u";
1804
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1942
1805
  };
1943
1806
  };
1944
- readonly singleOps: {
1807
+ readonly name: "Participant Activation State";
1808
+ };
1809
+ readonly CoyRC9eUW32e9MdSPy1xdGd4XgRMqBmPSsRe8hwiCJbF: {
1810
+ readonly allowedWorkerAgencyPermissions: {
1945
1811
  readonly itemType: {
1946
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1812
+ readonly blueId: "EKPgicPVdFxx8X4ZBsnx7mT387M3VXDeMjSBnmAreUsS";
1947
1813
  };
1948
1814
  readonly type: {
1949
1815
  readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
1950
1816
  };
1951
1817
  };
1952
- };
1953
- readonly DVuSpdSQzjj36rN9Eemu7oReooPe1YaqARx7aanQDppy: {
1954
1818
  readonly contracts: {
1955
1819
  readonly granterChannel: {
1956
1820
  readonly description: "Granter/owner’s timeline (direct grant-document revoke lives here).";
@@ -1999,7 +1863,7 @@ declare const _default: {
1999
1863
  readonly type: {
2000
1864
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2001
1865
  };
2002
- readonly value: "return {\n events: [\n {\n type: \"MyOS/Linked Documents Permission Revoke Requested\",\n reason: event.message.request\n }\n ]\n};\n";
1866
+ readonly value: "return {\n events: [\n {\n type: \"MyOS/Worker Agency Permission Revoke Requested\",\n reason: event.message.request\n }\n ]\n};\n";
2003
1867
  };
2004
1868
  readonly name: "EmitRevokeRequested";
2005
1869
  readonly type: {
@@ -2024,7 +1888,7 @@ declare const _default: {
2024
1888
  readonly type: {
2025
1889
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2026
1890
  };
2027
- readonly value: "const skipValidation = document('/skipValidation');\nif (skipValidation === true) return { events: [] };\n\nconst issues = [];\n\nconst target = document('/targetSessionId');\nif (!target || typeof target !== 'string') issues.push(\"targetSessionId is missing or invalid\");\n\nconst granterId = document('/contracts/granterChannel/accountId');\nif (typeof granterId !== 'string' || granterId.length === 0) issues.push(\"granterChannel must be bound to an accountId\");\n\nconst gdoc = document('/granteeDocumentId');\nif (typeof gdoc !== 'string' || gdoc.trim().length === 0) issues.push(\"granteeDocumentId must be a non-empty string\");\n\nconst links = document('/links');\nif (!links || typeof links !== 'object') issues.push(\"links is missing or invalid\");\n\nconst anchors = Object.keys(links).filter(key => !['description', 'type', 'keyType', 'valueType'].includes(key));\nif (anchors.length === 0) {\n issues.push(\"links must have at least one anchor entry\");\n}\nfor (const anchor of anchors) {\n const perms = links[anchor];\n if (!perms || perms.read !== true) {\n issues.push(`links['${anchor}'].read must be true`);\n }\n const hasSingle = Array.isArray(perms.singleOps) && perms.singleOps.length > 0;\n if (hasSingle && perms.singleOps.some(x => typeof x !== \"string\" || x.trim().length === 0)) {\n issues.push(`links['${anchor}'].singleOps must contain only non-empty strings`);\n }\n if (perms.allOps === true && hasSingle) {\n issues.push(`links['${anchor}'].allOps=true and singleOps are mutually exclusive`);\n }\n}\n\nif (issues.length > 0) return { events: [ { type: \"MyOS/Linked Documents Permission Invalid\", issues } ] };\nreturn { events: [ { type: \"MyOS/Linked Documents Permission Validated\" } ] };\n";
1891
+ readonly value: "const issues = [];\n\nconst unwrapText = value => {\n if (typeof value === 'string') {\n const trimmed = value.trim();\n return trimmed.length > 0 ? trimmed : undefined;\n }\n if (value && typeof value === 'object') {\n if (typeof value.value === 'string') {\n const trimmed = value.value.trim();\n return trimmed.length > 0 ? trimmed : undefined;\n }\n if (typeof value.workerType === 'string') {\n const trimmed = value.workerType.trim();\n return trimmed.length > 0 ? trimmed : undefined;\n }\n if (typeof value.name === 'string') {\n const trimmed = value.name.trim();\n return trimmed.length > 0 ? trimmed : undefined;\n }\n }\n return undefined;\n};\n\nconst unwrapBoolean = value => {\n if (typeof value === 'boolean') {\n return value;\n }\n if (value && typeof value === 'object') {\n if (typeof value.value === 'boolean') {\n return value.value;\n }\n if (\n value.value &&\n typeof value.value === 'object' &&\n typeof value.value.value === 'boolean'\n ) {\n return value.value.value;\n }\n }\n return undefined;\n};\n\nconst hasBooleanValue = value => {\n if (typeof value === 'boolean') {\n return true;\n }\n if (value && typeof value === 'object') {\n if (typeof value.value === 'boolean') {\n return true;\n }\n if (\n value.value &&\n typeof value.value === 'object' &&\n typeof value.value.value === 'boolean'\n ) {\n return true;\n }\n }\n return false;\n};\n\nconst unwrapArray = value => {\n if (Array.isArray(value)) {\n return value;\n }\n if (value && typeof value === 'object' && Array.isArray(value.items)) {\n return value.items;\n }\n return [];\n};\n\nconst unwrapRecord = value => {\n if (value && typeof value === 'object' && !Array.isArray(value)) {\n if (value.value && typeof value.value === 'object') {\n return value.value;\n }\n return value;\n }\n return {};\n};\n\nconst granterId = document('/contracts/granterChannel/accountId');\nif (typeof granterId !== 'string' || granterId.length === 0) {\n issues.push(\"granterChannel must be bound to an accountId\");\n}\n\nconst granteeDocumentId = document('/granteeDocumentId');\nif (\n typeof granteeDocumentId !== 'string' ||\n granteeDocumentId.trim().length === 0\n) {\n issues.push(\"granteeDocumentId must be a non-empty string\");\n}\n\nconst list = document('/allowedWorkerAgencyPermissions');\nif (!Array.isArray(list) || list.length === 0) {\n issues.push(\"allowedWorkerAgencyPermissions must be a non-empty array\");\n} else {\n const validateSDPS = (p, path) => {\n const record = unwrapRecord(p);\n if (Object.keys(record).length === 0) {\n issues.push(`${path} must be an object`);\n return;\n }\n const read = unwrapBoolean(record.read);\n if (read !== true) {\n issues.push(`${path}.read must be true`);\n }\n const share = record.share;\n const shareValue = unwrapBoolean(share);\n if (hasBooleanValue(share) && typeof shareValue !== 'boolean') {\n issues.push(`${path}.share must be boolean if provided`);\n }\n const allOps = record.allOps;\n const allOpsValue = unwrapBoolean(allOps);\n if (hasBooleanValue(allOps) && typeof allOpsValue !== 'boolean') {\n issues.push(`${path}.allOps must be boolean if provided`);\n }\n const singleOpsRaw = unwrapArray(record.singleOps)\n .map(entry => unwrapText(entry))\n .filter(Boolean);\n const hasSingle = singleOpsRaw.length > 0;\n if (hasSingle) {\n const bad = singleOpsRaw.length !== unwrapArray(record.singleOps).length;\n if (bad) issues.push(`${path}.singleOps must contain only non-empty strings`);\n }\n if (allOpsValue === true && hasSingle) {\n issues.push(`${path}.allOps=true and ${path}.singleOps are mutually exclusive`);\n }\n };\n const seenTypes = new Set();\n list.forEach((item, idx) => {\n const itemPath = `/allowedWorkerAgencyPermissions[${idx}]`;\n if (typeof item !== 'object' || item === null) {\n issues.push(`${itemPath} must be an object`);\n return;\n }\n const workerType = unwrapText(item.workerType);\n if (!workerType) {\n issues.push(`${itemPath}.workerType must be a non-empty string`);\n } else {\n if (seenTypes.has(workerType)) {\n issues.push(`duplicate workerType '${workerType}' in allowedWorkerAgencyPermissions`);\n } else {\n seenTypes.add(workerType);\n }\n }\n const perms = item.permissions;\n if (typeof perms === 'undefined') {\n issues.push(`${itemPath}.permissions is required`);\n } else {\n validateSDPS(perms, `${itemPath}.permissions`);\n }\n });\n}\nif (issues.length > 0) {\n return { events: [ { type: \"MyOS/Worker Agency Permission Invalid\", issues } ] };\n} else {\n return { events: [ { type: \"MyOS/Worker Agency Permission Validated\" } ] };\n}\n";
2028
1892
  };
2029
1893
  readonly name: "ValidateBasicShape";
2030
1894
  readonly type: {
@@ -2038,60 +1902,123 @@ declare const _default: {
2038
1902
  };
2039
1903
  };
2040
1904
  readonly granteeDocumentId: {
2041
- readonly description: "Required original document id (blueId) that will act as the 'document' principal.";
2042
1905
  readonly type: {
2043
1906
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2044
1907
  };
2045
1908
  };
2046
- readonly granterDocumentSessionId: {
2047
- readonly description: "Optional. If set, MyOS should evaluate authority as this document session\n(principalType='document', granteeId=documentId of this session),\ninstead of the granter accountId.\n";
1909
+ readonly name: "Worker Agency Permission Grant";
1910
+ readonly type: {
1911
+ readonly blueId: "8qXt15h35iHYF2yBcPJ82HzizzZv7iuU2Lu3qorweJfB";
1912
+ };
1913
+ };
1914
+ readonly CrGV4ZYjvPvMqrgNQAfgZCUnFjFW6HDjYNdon2chLKU3: {
1915
+ readonly description: "Notifies the user that a MyOS Package is ready to install.";
1916
+ readonly message: {
1917
+ readonly description: "Context for the user (e.g., who suggested it, what it does)";
2048
1918
  readonly type: {
2049
1919
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2050
1920
  };
2051
1921
  };
2052
- readonly links: {
2053
- readonly description: "Map from anchor name to permissions that will be granted for documents linked to the base document via that anchor.";
1922
+ readonly name: "Inform User To Install MyOS Package";
1923
+ readonly package: {
1924
+ readonly description: "The complete package to be bootstrapped";
2054
1925
  readonly type: {
2055
- readonly blueId: "75TXyy5E7vbexVAUZcjZ2vdQaG7fJJbAHAgrh8sMtTp5";
1926
+ readonly blueId: "5cg55kgH8ckRVji4oWSBBxthJQFYmB5Lb1Pea7achyNr";
2056
1927
  };
2057
1928
  };
2058
- readonly name: "Linked Documents Permission Grant To Document";
2059
- readonly skipValidation: {
2060
- readonly description: "If true, the validation will be skipped (MyOS Admin won't be triggered to create permission grant).";
1929
+ readonly title: {
1930
+ readonly description: "Short, user-facing headline (e.g., \"Install Agent Package\")";
2061
1931
  readonly type: {
2062
- readonly blueId: "4EzhSubEimSQD3zrYHRtobfPPWntUuhEz8YcdxHsi12u";
1932
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1933
+ };
1934
+ };
1935
+ };
1936
+ readonly CrRfT3MFQneNo99nfdhfgnTKF4fmKtSQEUQN8wTTbnjF: {
1937
+ readonly description: "MyOS Admin is retracting rights granted by this PGD.";
1938
+ readonly name: "Single Document Permission Revoking in Progress";
1939
+ readonly note: {
1940
+ readonly type: {
1941
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1942
+ };
1943
+ };
1944
+ readonly permissions: {
1945
+ readonly type: {
1946
+ readonly blueId: "5cZ3J1QiMJEJV4FV5kfSkeG2oJmweWCyJo3v2TSc3Xuw";
2063
1947
  };
2064
1948
  };
2065
1949
  readonly targetSessionId: {
2066
- readonly description: "Base document session id whose anchors define the scope of this grant.";
2067
1950
  readonly type: {
2068
1951
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2069
1952
  };
2070
1953
  };
2071
1954
  readonly type: {
2072
- readonly blueId: "Bu4YETSKYW8hHMwVy6zUUoBAGZPxX3KVXfKN9uoCUoJj";
1955
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
2073
1956
  };
2074
1957
  };
2075
- readonly Ef7EvcR5He11JtgBFtswYTHEfUKnTHmFysMTo3ZsoQby: {
2076
- readonly description: "Ask MyOS Admin to grant permisison to document (event emitter) for a concrete target session.";
2077
- readonly name: "Single Document Permission Grant Requested";
2078
- readonly onBehalfOf: {
1958
+ readonly d1vQ8ZTPcQc5KeuU6tzWaVukWRVtKjQL4hbvbpC22rB: {
1959
+ readonly description: "Link targeting a specific document session by its sessionId. Use when referencing a live session rather than a logical document.";
1960
+ readonly name: "MyOS Session Link";
1961
+ readonly sessionId: {
1962
+ readonly description: "Identifier of the document session being targeted.";
2079
1963
  readonly type: {
2080
1964
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2081
1965
  };
2082
1966
  };
2083
- readonly permissions: {
1967
+ readonly type: {
1968
+ readonly blueId: "D2ERUvbpn6R6PR7hjFsGofwQsu9bkRfc6wbSYHcfJtMD";
1969
+ };
1970
+ };
1971
+ readonly D2ERUvbpn6R6PR7hjFsGofwQsu9bkRfc6wbSYHcfJtMD: {
1972
+ readonly anchor: {
1973
+ readonly description: "Target anchor key on the destination document.";
1974
+ readonly type: {
1975
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1976
+ };
1977
+ };
1978
+ readonly description: "Abstract base class for all link types.";
1979
+ readonly name: "Link";
1980
+ };
1981
+ readonly D9Ret9Hmz5TWxzuJEeauWEuZVPkPL7hcHYsSNY1cZ5zX: {
1982
+ readonly description: "Link targeting any document of a specific Blue type. Enables dynamic discovery where the platform resolves to a concrete instance at runtime.";
1983
+ readonly documentType: {
1984
+ readonly description: "Type being targeted by this link.";
1985
+ };
1986
+ readonly name: "Document Type Link";
1987
+ readonly type: {
1988
+ readonly blueId: "D2ERUvbpn6R6PR7hjFsGofwQsu9bkRfc6wbSYHcfJtMD";
1989
+ };
1990
+ };
1991
+ readonly Dd53JjiBGUnASZXjhiHBqCSnruN2XmLtcW2vNQB7Sm34: {
1992
+ readonly description: "MyOS Admin accepted the call and submitted the operation request.";
1993
+ readonly name: "Call Operation Accepted";
1994
+ readonly operation: {
1995
+ readonly description: "Operation name that was invoked.";
2084
1996
  readonly type: {
2085
- readonly blueId: "DRDQcve5AjwBK9z6Njfa4MNERko7Uf4ucvARFdC6sL54";
1997
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2086
1998
  };
2087
1999
  };
2088
2000
  readonly targetSessionId: {
2001
+ readonly description: "Target document session that received the request.";
2089
2002
  readonly type: {
2090
2003
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2091
2004
  };
2092
2005
  };
2093
2006
  readonly type: {
2094
- readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
2007
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
2008
+ };
2009
+ };
2010
+ readonly DFMcBSRfNqK6NqdNLCF8b88soezajjq4gyBS8QRzSBhe: {
2011
+ readonly description: "Emitted when the LDPG passes local validation.";
2012
+ readonly name: "Linked Documents Permission Validated";
2013
+ readonly type: {
2014
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
2015
+ };
2016
+ };
2017
+ readonly DL73vQGQGdEFA53shnv58CkVJVVs5P5Hygc5qNghY5Zf: {
2018
+ readonly description: "Marker type for a specialized Blue document that MyOS treats as an Agent, enabling richer UI and behaviors while remaining a standard Blue document.";
2019
+ readonly name: "LLM Agent";
2020
+ readonly type: {
2021
+ readonly blueId: "8s2rAFDtiB6sCwqeURkT4Lq7fcc2FXBkmX9B9p7R4Boc";
2095
2022
  };
2096
2023
  };
2097
2024
  readonly EJkmgZa48d3knTpcqxWzu2zo34yWEbVKJVPcyLR7fgGU: {
@@ -2106,11 +2033,23 @@ declare const _default: {
2106
2033
  readonly reason: {
2107
2034
  readonly description: "Human-readable explanation of rejection.";
2108
2035
  readonly type: {
2109
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2036
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2037
+ };
2038
+ };
2039
+ readonly type: {
2040
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
2041
+ };
2042
+ };
2043
+ readonly EKPgicPVdFxx8X4ZBsnx7mT387M3VXDeMjSBnmAreUsS: {
2044
+ readonly name: "Worker Agency Permission";
2045
+ readonly permissions: {
2046
+ readonly description: "The permissions granted to the worker for documents of the given type.";
2047
+ readonly type: {
2048
+ readonly blueId: "5cZ3J1QiMJEJV4FV5kfSkeG2oJmweWCyJo3v2TSc3Xuw";
2110
2049
  };
2111
2050
  };
2112
- readonly type: {
2113
- readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
2051
+ readonly workerType: {
2052
+ readonly description: "The document type the worker is allowed to create.";
2114
2053
  };
2115
2054
  };
2116
2055
  readonly ELnMo95Gduw4zFLakSGqg44AiaP27jEdeg1kMR14TFQN: {
@@ -2250,6 +2189,28 @@ declare const _default: {
2250
2189
  readonly blueId: "29tcU8MkrV3KL5HqH6DHJDPPfJMheoqwiKJsaHnrp9hT";
2251
2190
  };
2252
2191
  };
2192
+ readonly FAMQpJfZvF5gJphKzq96Bn2iLuJgMJwMek798cw8LR9D: {
2193
+ readonly description: "Ask MyOS Admin to grant permisison to document (event emitter) for a concrete target session.";
2194
+ readonly name: "Single Document Permission Grant Requested";
2195
+ readonly onBehalfOf: {
2196
+ readonly type: {
2197
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2198
+ };
2199
+ };
2200
+ readonly permissions: {
2201
+ readonly type: {
2202
+ readonly blueId: "5cZ3J1QiMJEJV4FV5kfSkeG2oJmweWCyJo3v2TSc3Xuw";
2203
+ };
2204
+ };
2205
+ readonly targetSessionId: {
2206
+ readonly type: {
2207
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2208
+ };
2209
+ };
2210
+ readonly type: {
2211
+ readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
2212
+ };
2213
+ };
2253
2214
  readonly Ff61TKzxLStjvfMksRNUBif2PRJGJM6XvmTqSf3M76wC: {
2254
2215
  readonly name: "All Participants Ready";
2255
2216
  };
@@ -2268,32 +2229,7 @@ declare const _default: {
2268
2229
  };
2269
2230
  readonly name: "Target Document Session Started";
2270
2231
  };
2271
- readonly G1cW5kjZdJrmCwfrwiHXQcJfYfFAY5jEFZNA7u7pFdtY: {
2272
- readonly allowedWorkerAgencyPermissions: {
2273
- readonly itemType: {
2274
- readonly blueId: "5J3RXNnALK1ZYAQBrjGwCQ4WpL3YUGHvz9WcGos6mMSp";
2275
- };
2276
- readonly type: {
2277
- readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
2278
- };
2279
- };
2280
- readonly description: "Grant could not be applied.";
2281
- readonly granteeDocumentId: {
2282
- readonly type: {
2283
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2284
- };
2285
- };
2286
- readonly name: "Worker Agency Permission Rejected";
2287
- readonly reason: {
2288
- readonly type: {
2289
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2290
- };
2291
- };
2292
- readonly type: {
2293
- readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
2294
- };
2295
- };
2296
- readonly G5K5cSdn15yLJa6NBmjLuuZzJ5YShSU14kc4vitHpeHz: {
2232
+ readonly FuQov123cM3ph1xcX5Cyx19D2w1vsitpAHfkdasZDE75: {
2297
2233
  readonly contracts: {
2298
2234
  readonly granteeChannel: {
2299
2235
  readonly description: "Grantee’s timeline";
@@ -2349,12 +2285,227 @@ declare const _default: {
2349
2285
  readonly value: "granteeChannel";
2350
2286
  }];
2351
2287
  };
2352
- readonly description: "Either grant side can invoke revoke on this grant document.";
2288
+ readonly description: "Either grant side can invoke revoke on this grant document.";
2289
+ readonly type: {
2290
+ readonly blueId: "HsNatiPt2YvmkWQoqtfrFCbdp75ZUBLBUkWeq84WTfnr";
2291
+ };
2292
+ };
2293
+ readonly revokeImpl: {
2294
+ readonly operation: {
2295
+ readonly type: {
2296
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2297
+ };
2298
+ readonly value: "revoke";
2299
+ };
2300
+ readonly steps: {
2301
+ readonly items: readonly [{
2302
+ readonly code: {
2303
+ readonly type: {
2304
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2305
+ };
2306
+ readonly value: "return {\n events: [\n {\n type: \"MyOS/Linked Documents Permission Revoke Requested\",\n reason: event.message.request\n }\n ]\n};\n";
2307
+ };
2308
+ readonly name: "EmitRevokeRequested";
2309
+ readonly type: {
2310
+ readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
2311
+ };
2312
+ }];
2313
+ };
2314
+ readonly type: {
2315
+ readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
2316
+ };
2317
+ };
2318
+ readonly validateOnInit: {
2319
+ readonly channel: {
2320
+ readonly type: {
2321
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2322
+ };
2323
+ readonly value: "initLifecycleChannel";
2324
+ };
2325
+ readonly steps: {
2326
+ readonly items: readonly [{
2327
+ readonly code: {
2328
+ readonly type: {
2329
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2330
+ };
2331
+ readonly value: "const issues = [];\n\nconst target = document('/targetSessionId');\nif (!target || typeof target !== 'string') issues.push(\"targetSessionId is missing or invalid\");\n\nconst granterId = document('/contracts/granterChannel/accountId');\nif (typeof granterId !== 'string' || granterId.length === 0) issues.push(\"granterChannel must be bound to an accountId\");\nconst granteeId = document('/contracts/granteeChannel/accountId');\nif (typeof granteeId !== 'string' || granteeId.length === 0) issues.push(\"granteeChannel must be bound to an accountId\");\n\nconst links = document('/links');\nif (!links || typeof links !== 'object') issues.push(\"links is missing or invalid\");\n\nconst anchors = Object.keys(links).filter(key => !['description', 'type', 'keyType', 'valueType'].includes(key));\nif (anchors.length === 0) {\n issues.push(\"links must have at least one anchor entry\");\n}\nfor (const anchor of anchors) {\n const perms = links[anchor];\n if (!perms || perms.read !== true) {\n issues.push(`links['${anchor}'].read must be true`);\n }\n const hasSingle = Array.isArray(perms.singleOps) && perms.singleOps.length > 0;\n if (hasSingle && perms.singleOps.some(x => typeof x !== \"string\" || x.trim().length === 0)) {\n issues.push(`links['${anchor}'].singleOps must contain only non-empty strings`);\n }\n if (perms.allOps === true && hasSingle) {\n issues.push(`links['${anchor}'].allOps=true and singleOps are mutually exclusive`);\n }\n}\n\nif (issues.length > 0) return { events: [ { type: \"MyOS/Linked Documents Permission Invalid\", issues } ] };\nreturn { events: [ { type: \"MyOS/Linked Documents Permission Validated\" } ] };\n";
2332
+ };
2333
+ readonly name: "ValidateBasicShape";
2334
+ readonly type: {
2335
+ readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
2336
+ };
2337
+ }];
2338
+ };
2339
+ readonly type: {
2340
+ readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
2341
+ };
2342
+ };
2343
+ };
2344
+ readonly granterDocumentSessionId: {
2345
+ readonly description: "Optional. If set, MyOS should evaluate authority as this document session\n(principalType='document', granteeId=documentId of this session),\ninstead of the granter accountId.\n";
2346
+ readonly type: {
2347
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2348
+ };
2349
+ };
2350
+ readonly links: {
2351
+ readonly description: "Map from anchor name to permissions that will be granted for documents linked to the base document via that anchor.";
2352
+ readonly type: {
2353
+ readonly blueId: "75CyJPe82hSjV9T2tsir5R3343vhqvG41w2EzFhCp5Y9";
2354
+ };
2355
+ };
2356
+ readonly name: "Linked Documents Permission Grant To Account";
2357
+ readonly targetSessionId: {
2358
+ readonly description: "Base document session id whose anchors define the scope of this grant.";
2359
+ readonly type: {
2360
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2361
+ };
2362
+ };
2363
+ readonly type: {
2364
+ readonly blueId: "8qXt15h35iHYF2yBcPJ82HzizzZv7iuU2Lu3qorweJfB";
2365
+ };
2366
+ };
2367
+ readonly GcotFgiqo3GMHp4xKrArDJi7AqciJGgYKvHodoAJwcWp: {
2368
+ readonly description: "Indicates MyOS Admin stopped forwarding updates for the subscription.";
2369
+ readonly name: "Subscription to Session Revoked";
2370
+ readonly reason: {
2371
+ readonly description: "Optional explanation for the revocation.";
2372
+ readonly type: {
2373
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2374
+ };
2375
+ };
2376
+ readonly subscriptionId: {
2377
+ readonly description: "The subscription id that was revoked.";
2378
+ readonly type: {
2379
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2380
+ };
2381
+ };
2382
+ readonly targetSessionId: {
2383
+ readonly description: "Session that is no longer being forwarded.";
2384
+ readonly type: {
2385
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2386
+ };
2387
+ };
2388
+ readonly type: {
2389
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
2390
+ };
2391
+ };
2392
+ readonly GFs1qrcTSzYq5tEN25GjGngu7fttnPgma6PU7TQ89Hjc: {
2393
+ readonly description: "Grant could not be applied.";
2394
+ readonly links: {
2395
+ readonly type: {
2396
+ readonly blueId: "75CyJPe82hSjV9T2tsir5R3343vhqvG41w2EzFhCp5Y9";
2397
+ };
2398
+ };
2399
+ readonly name: "Linked Documents Permission Rejected";
2400
+ readonly reason: {
2401
+ readonly type: {
2402
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2403
+ };
2404
+ };
2405
+ readonly targetSessionId: {
2406
+ readonly type: {
2407
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2408
+ };
2409
+ };
2410
+ readonly type: {
2411
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
2412
+ };
2413
+ };
2414
+ readonly GiEwEdvT2jPoT4bK8hvmjTBJUVQqRtHoAejfdpM7HtuD: {
2415
+ readonly description: "Result emitted after MyOS Admin accepts a payment initiation request.";
2416
+ readonly name: "Payment Initiation Accepted";
2417
+ readonly type: {
2418
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
2419
+ };
2420
+ };
2421
+ readonly GiYocGMGQcneiMPm4NH9MxVj7Fr4jwg2BUAMzwZcWRNR: {
2422
+ readonly agentId: {
2423
+ readonly description: "Optional agent identifier";
2424
+ readonly type: {
2425
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2426
+ };
2427
+ };
2428
+ readonly description: "MyOS-specific agent event with agent ID, timestamp, and event data";
2429
+ readonly event: {
2430
+ readonly description: "Optional event node reference";
2431
+ };
2432
+ readonly id: {
2433
+ readonly description: "Optional event ID";
2434
+ readonly type: {
2435
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2436
+ };
2437
+ };
2438
+ readonly name: "MyOS Agent Event";
2439
+ readonly timestamp: {
2440
+ readonly description: "Optional timestamp for the event";
2441
+ readonly type: {
2442
+ readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
2443
+ };
2444
+ };
2445
+ };
2446
+ readonly GMDw72G9CRTJU12Rce9BDWGw8f715RJrWvPL78RYDWH4: {
2447
+ readonly description: "Emitted on initialise when local shape checks pass.";
2448
+ readonly name: "Worker Agency Permission Validated";
2449
+ readonly type: {
2450
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
2451
+ };
2452
+ };
2453
+ readonly GSfJG3nahccpaqXHWBXes8RvNDENL17bz2yXdvn1suRY: {
2454
+ readonly code: {
2455
+ readonly description: "Stable machine-readable failure code.";
2456
+ readonly type: {
2457
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2458
+ };
2459
+ };
2460
+ readonly description: "Failure result emitted when MyOS Admin cannot prepare an opaque recipient payment target.";
2461
+ readonly name: "Payment Target Preparation Failed";
2462
+ readonly reason: {
2463
+ readonly description: "Human-readable explanation of failure.";
2464
+ readonly type: {
2465
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2466
+ };
2467
+ };
2468
+ readonly type: {
2469
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
2470
+ };
2471
+ };
2472
+ readonly GSMPZr2s6Nb6SwHzx8XwLRwbJnUdboZDPckMQhwLgvJ7: {
2473
+ readonly contracts: {
2474
+ readonly granterChannel: {
2475
+ readonly description: "Granter/owner’s timeline (direct grant-document revoke lives here).";
2476
+ readonly type: {
2477
+ readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
2478
+ };
2479
+ };
2480
+ readonly initLifecycleChannel: {
2481
+ readonly event: {
2482
+ readonly type: {
2483
+ readonly blueId: "BrpmpNt5JkapeUvPqYcxgXZrHNZX3R757dRwuXXdfNM2";
2484
+ };
2485
+ };
2486
+ readonly type: {
2487
+ readonly blueId: "H2aCCTUcLMTJozWkn7HPUjyFBFxamraw1q8DyWk87zxr";
2488
+ };
2489
+ };
2490
+ readonly revoke: {
2491
+ readonly channel: {
2492
+ readonly type: {
2493
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2494
+ };
2495
+ readonly value: "granterChannel";
2496
+ };
2497
+ readonly description: "Granter requests revocation on the grant document. Grantee-document self-revoke uses the existing revoke-request event with grantDocumentId emitted from the grantee document itself.";
2498
+ readonly request: {
2499
+ readonly description: "Optional human-readable reason";
2500
+ readonly type: {
2501
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2502
+ };
2503
+ };
2353
2504
  readonly type: {
2354
- readonly blueId: "HsNatiPt2YvmkWQoqtfrFCbdp75ZUBLBUkWeq84WTfnr";
2505
+ readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
2355
2506
  };
2356
2507
  };
2357
- readonly revokeImpl: {
2508
+ readonly revokeImplGranter: {
2358
2509
  readonly operation: {
2359
2510
  readonly type: {
2360
2511
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
@@ -2392,7 +2543,7 @@ declare const _default: {
2392
2543
  readonly type: {
2393
2544
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2394
2545
  };
2395
- readonly value: "const issues = [];\n\nconst target = document('/targetSessionId');\nif (!target || typeof target !== 'string') issues.push(\"targetSessionId is missing or invalid\");\n\nconst granterId = document('/contracts/granterChannel/accountId');\nif (typeof granterId !== 'string' || granterId.length === 0) issues.push(\"granterChannel must be bound to an accountId\");\nconst granteeId = document('/contracts/granteeChannel/accountId');\nif (typeof granteeId !== 'string' || granteeId.length === 0) issues.push(\"granteeChannel must be bound to an accountId\");\n\nconst links = document('/links');\nif (!links || typeof links !== 'object') issues.push(\"links is missing or invalid\");\n\nconst anchors = Object.keys(links).filter(key => !['description', 'type', 'keyType', 'valueType'].includes(key));\nif (anchors.length === 0) {\n issues.push(\"links must have at least one anchor entry\");\n}\nfor (const anchor of anchors) {\n const perms = links[anchor];\n if (!perms || perms.read !== true) {\n issues.push(`links['${anchor}'].read must be true`);\n }\n const hasSingle = Array.isArray(perms.singleOps) && perms.singleOps.length > 0;\n if (hasSingle && perms.singleOps.some(x => typeof x !== \"string\" || x.trim().length === 0)) {\n issues.push(`links['${anchor}'].singleOps must contain only non-empty strings`);\n }\n if (perms.allOps === true && hasSingle) {\n issues.push(`links['${anchor}'].allOps=true and singleOps are mutually exclusive`);\n }\n}\n\nif (issues.length > 0) return { events: [ { type: \"MyOS/Linked Documents Permission Invalid\", issues } ] };\nreturn { events: [ { type: \"MyOS/Linked Documents Permission Validated\" } ] };\n";
2546
+ readonly value: "const skipValidation = document('/skipValidation');\nif (skipValidation === true) return { events: [] };\n\nconst issues = [];\n\nconst target = document('/targetSessionId');\nif (!target || typeof target !== 'string') issues.push(\"targetSessionId is missing or invalid\");\n\nconst granterId = document('/contracts/granterChannel/accountId');\nif (typeof granterId !== 'string' || granterId.length === 0) issues.push(\"granterChannel must be bound to an accountId\");\n\nconst gdoc = document('/granteeDocumentId');\nif (typeof gdoc !== 'string' || gdoc.trim().length === 0) issues.push(\"granteeDocumentId must be a non-empty string\");\n\nconst links = document('/links');\nif (!links || typeof links !== 'object') issues.push(\"links is missing or invalid\");\n\nconst anchors = Object.keys(links).filter(key => !['description', 'type', 'keyType', 'valueType'].includes(key));\nif (anchors.length === 0) {\n issues.push(\"links must have at least one anchor entry\");\n}\nfor (const anchor of anchors) {\n const perms = links[anchor];\n if (!perms || perms.read !== true) {\n issues.push(`links['${anchor}'].read must be true`);\n }\n const hasSingle = Array.isArray(perms.singleOps) && perms.singleOps.length > 0;\n if (hasSingle && perms.singleOps.some(x => typeof x !== \"string\" || x.trim().length === 0)) {\n issues.push(`links['${anchor}'].singleOps must contain only non-empty strings`);\n }\n if (perms.allOps === true && hasSingle) {\n issues.push(`links['${anchor}'].allOps=true and singleOps are mutually exclusive`);\n }\n}\n\nif (issues.length > 0) return { events: [ { type: \"MyOS/Linked Documents Permission Invalid\", issues } ] };\nreturn { events: [ { type: \"MyOS/Linked Documents Permission Validated\" } ] };\n";
2396
2547
  };
2397
2548
  readonly name: "ValidateBasicShape";
2398
2549
  readonly type: {
@@ -2405,6 +2556,12 @@ declare const _default: {
2405
2556
  };
2406
2557
  };
2407
2558
  };
2559
+ readonly granteeDocumentId: {
2560
+ readonly description: "Required original document id (blueId) that will act as the 'document' principal.";
2561
+ readonly type: {
2562
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2563
+ };
2564
+ };
2408
2565
  readonly granterDocumentSessionId: {
2409
2566
  readonly description: "Optional. If set, MyOS should evaluate authority as this document session\n(principalType='document', granteeId=documentId of this session),\ninstead of the granter accountId.\n";
2410
2567
  readonly type: {
@@ -2414,10 +2571,16 @@ declare const _default: {
2414
2571
  readonly links: {
2415
2572
  readonly description: "Map from anchor name to permissions that will be granted for documents linked to the base document via that anchor.";
2416
2573
  readonly type: {
2417
- readonly blueId: "75TXyy5E7vbexVAUZcjZ2vdQaG7fJJbAHAgrh8sMtTp5";
2574
+ readonly blueId: "75CyJPe82hSjV9T2tsir5R3343vhqvG41w2EzFhCp5Y9";
2575
+ };
2576
+ };
2577
+ readonly name: "Linked Documents Permission Grant To Document";
2578
+ readonly skipValidation: {
2579
+ readonly description: "If true, the validation will be skipped (MyOS Admin won't be triggered to create permission grant).";
2580
+ readonly type: {
2581
+ readonly blueId: "4EzhSubEimSQD3zrYHRtobfPPWntUuhEz8YcdxHsi12u";
2418
2582
  };
2419
2583
  };
2420
- readonly name: "Linked Documents Permission Grant To Account";
2421
2584
  readonly targetSessionId: {
2422
2585
  readonly description: "Base document session id whose anchors define the scope of this grant.";
2423
2586
  readonly type: {
@@ -2425,26 +2588,18 @@ declare const _default: {
2425
2588
  };
2426
2589
  };
2427
2590
  readonly type: {
2428
- readonly blueId: "Bu4YETSKYW8hHMwVy6zUUoBAGZPxX3KVXfKN9uoCUoJj";
2591
+ readonly blueId: "8qXt15h35iHYF2yBcPJ82HzizzZv7iuU2Lu3qorweJfB";
2429
2592
  };
2430
2593
  };
2431
- readonly GcotFgiqo3GMHp4xKrArDJi7AqciJGgYKvHodoAJwcWp: {
2432
- readonly description: "Indicates MyOS Admin stopped forwarding updates for the subscription.";
2433
- readonly name: "Subscription to Session Revoked";
2434
- readonly reason: {
2435
- readonly description: "Optional explanation for the revocation.";
2436
- readonly type: {
2437
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2438
- };
2439
- };
2440
- readonly subscriptionId: {
2441
- readonly description: "The subscription id that was revoked.";
2594
+ readonly GuqbETNsYdtm6MdzKy2iqqaQZu617rnjZz3fQFJLjpQ8: {
2595
+ readonly description: "MyOS Admin has started applying the Linked Documents Permission Grant.";
2596
+ readonly links: {
2442
2597
  readonly type: {
2443
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2598
+ readonly blueId: "75CyJPe82hSjV9T2tsir5R3343vhqvG41w2EzFhCp5Y9";
2444
2599
  };
2445
2600
  };
2601
+ readonly name: "Linked Documents Permission Granting in Progress";
2446
2602
  readonly targetSessionId: {
2447
- readonly description: "Session that is no longer being forwarded.";
2448
2603
  readonly type: {
2449
2604
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2450
2605
  };
@@ -2453,56 +2608,23 @@ declare const _default: {
2453
2608
  readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
2454
2609
  };
2455
2610
  };
2456
- readonly GiEwEdvT2jPoT4bK8hvmjTBJUVQqRtHoAejfdpM7HtuD: {
2457
- readonly description: "Result emitted after MyOS Admin accepts a payment initiation request.";
2458
- readonly name: "Payment Initiation Accepted";
2459
- readonly type: {
2460
- readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
2461
- };
2462
- };
2463
- readonly GiYocGMGQcneiMPm4NH9MxVj7Fr4jwg2BUAMzwZcWRNR: {
2464
- readonly agentId: {
2465
- readonly description: "Optional agent identifier";
2466
- readonly type: {
2467
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2468
- };
2469
- };
2470
- readonly description: "MyOS-specific agent event with agent ID, timestamp, and event data";
2471
- readonly event: {
2472
- readonly description: "Optional event node reference";
2473
- };
2474
- readonly id: {
2475
- readonly description: "Optional event ID";
2476
- readonly type: {
2477
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2611
+ readonly H4Yn9qiBncFkvBArAjWfqPTSdbiijm4MU74inx1o5eDL: {
2612
+ readonly allowedWorkerAgencyPermissions: {
2613
+ readonly itemType: {
2614
+ readonly blueId: "EKPgicPVdFxx8X4ZBsnx7mT387M3VXDeMjSBnmAreUsS";
2478
2615
  };
2479
- };
2480
- readonly name: "MyOS Agent Event";
2481
- readonly timestamp: {
2482
- readonly description: "Optional timestamp for the event";
2483
2616
  readonly type: {
2484
- readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
2617
+ readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
2485
2618
  };
2486
2619
  };
2487
- };
2488
- readonly GMDw72G9CRTJU12Rce9BDWGw8f715RJrWvPL78RYDWH4: {
2489
- readonly description: "Emitted on initialise when local shape checks pass.";
2490
- readonly name: "Worker Agency Permission Validated";
2491
- readonly type: {
2492
- readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
2493
- };
2494
- };
2495
- readonly GSfJG3nahccpaqXHWBXes8RvNDENL17bz2yXdvn1suRY: {
2496
- readonly code: {
2497
- readonly description: "Stable machine-readable failure code.";
2620
+ readonly description: "Admin has started applying the grant for this WAG.";
2621
+ readonly granteeDocumentId: {
2498
2622
  readonly type: {
2499
2623
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2500
2624
  };
2501
2625
  };
2502
- readonly description: "Failure result emitted when MyOS Admin cannot prepare an opaque recipient payment target.";
2503
- readonly name: "Payment Target Preparation Failed";
2504
- readonly reason: {
2505
- readonly description: "Human-readable explanation of failure.";
2626
+ readonly name: "Worker Agency Permission Granting in Progress";
2627
+ readonly note: {
2506
2628
  readonly type: {
2507
2629
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2508
2630
  };
@@ -2530,86 +2652,44 @@ declare const _default: {
2530
2652
  readonly blueId: "EvuCWsG1E6WJQg8QXmk6rwMANYTZjoLWVZ1vYQWUwdTH";
2531
2653
  };
2532
2654
  };
2533
- readonly HF5aRJZqvHn7sDFbwfDGQjkWmTSW9Lee7c9dUBtcdNtK: {
2655
+ readonly HdRkyKgsk74k3QKBxnuy4iWn5u7Pf4wHY3nyJgGZd7jz: {
2534
2656
  readonly allowedWorkerAgencyPermissions: {
2535
2657
  readonly itemType: {
2536
- readonly blueId: "5J3RXNnALK1ZYAQBrjGwCQ4WpL3YUGHvz9WcGos6mMSp";
2658
+ readonly blueId: "EKPgicPVdFxx8X4ZBsnx7mT387M3VXDeMjSBnmAreUsS";
2537
2659
  };
2538
2660
  readonly type: {
2539
2661
  readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
2540
2662
  };
2541
2663
  };
2542
- readonly description: "Parent worker requests authority to start specific sub-worker types and receive per-instance SDPGs.";
2543
- readonly name: "Worker Agency Permission Grant Requested";
2544
- readonly onBehalfOf: {
2664
+ readonly description: "Grant could not be applied.";
2665
+ readonly granteeDocumentId: {
2545
2666
  readonly type: {
2546
2667
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2547
2668
  };
2548
2669
  };
2549
- readonly type: {
2550
- readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
2551
- };
2552
- };
2553
- readonly HS9yo34TGEAM2LGcNbLh7XPN4goPRhqdGZQkiyh473Wb: {
2554
- readonly description: "Each anchor declares a semantic purpose and may optionally provide a template recommendation for linking documents.";
2555
- readonly name: "Document Anchor";
2556
- readonly template: {
2557
- readonly description: "Optional Blue document template recommendation for linking documents. Used by MyOS UI for validation and filtering; not protocol-enforced.";
2558
- };
2559
- };
2560
- readonly HTvyBGjSkM4gmJxhwznVMM1aU7UUaKCcWQY9qgU6JfvH: {
2561
- readonly description: "MyOS Admin has started revoking this LDPG.";
2562
- readonly links: {
2563
- readonly type: {
2564
- readonly blueId: "75TXyy5E7vbexVAUZcjZ2vdQaG7fJJbAHAgrh8sMtTp5";
2565
- };
2566
- };
2567
- readonly name: "Linked Documents Permission Revoking in Progress";
2670
+ readonly name: "Worker Agency Permission Rejected";
2568
2671
  readonly reason: {
2569
2672
  readonly type: {
2570
2673
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2571
2674
  };
2572
2675
  };
2573
- readonly targetSessionId: {
2574
- readonly type: {
2575
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2576
- };
2577
- };
2578
2676
  readonly type: {
2579
2677
  readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
2580
2678
  };
2581
2679
  };
2582
- readonly HzQyVKvSQ2cienAkjW5R8HgTcStPe13p8eoB4vXr7dAc: {
2583
- readonly allowedWorkerAgencyPermissions: {
2584
- readonly itemType: {
2585
- readonly blueId: "5J3RXNnALK1ZYAQBrjGwCQ4WpL3YUGHvz9WcGos6mMSp";
2586
- };
2587
- readonly type: {
2588
- readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
2589
- };
2590
- };
2591
- readonly description: "Admin has started applying the grant for this WAG.";
2592
- readonly granteeDocumentId: {
2593
- readonly type: {
2594
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2595
- };
2596
- };
2597
- readonly name: "Worker Agency Permission Granting in Progress";
2598
- readonly note: {
2599
- readonly type: {
2600
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2601
- };
2602
- };
2603
- readonly type: {
2604
- readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
2680
+ readonly HS9yo34TGEAM2LGcNbLh7XPN4goPRhqdGZQkiyh473Wb: {
2681
+ readonly description: "Each anchor declares a semantic purpose and may optionally provide a template recommendation for linking documents.";
2682
+ readonly name: "Document Anchor";
2683
+ readonly template: {
2684
+ readonly description: "Optional Blue document template recommendation for linking documents. Used by MyOS UI for validation and filtering; not protocol-enforced.";
2605
2685
  };
2606
2686
  };
2607
- readonly kHtVfa88aG4NMwCcBgJH9mq7EBqLQUrJVEr92porG5j: {
2687
+ readonly LaiT21WCsXzGorJ1dDsQ37dP2UtefPxNEwAA81W11WK: {
2608
2688
  readonly description: "Grant could not be applied.";
2609
2689
  readonly name: "Single Document Permission Rejected";
2610
2690
  readonly permissions: {
2611
2691
  readonly type: {
2612
- readonly blueId: "DRDQcve5AjwBK9z6Njfa4MNERko7Uf4ucvARFdC6sL54";
2692
+ readonly blueId: "5cZ3J1QiMJEJV4FV5kfSkeG2oJmweWCyJo3v2TSc3Xuw";
2613
2693
  };
2614
2694
  };
2615
2695
  readonly reason: {
@@ -2626,188 +2706,108 @@ declare const _default: {
2626
2706
  readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
2627
2707
  };
2628
2708
  };
2629
- readonly phD9k4YTUgGjWeLPKqXNNn6S1PmqSeBJfVscAnUwFhQ: {
2630
- readonly accountId: {
2631
- readonly type: {
2632
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2633
- };
2634
- };
2635
- readonly email: {
2636
- readonly type: {
2637
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2638
- };
2639
- };
2640
- readonly name: "Participant";
2641
- readonly status: {
2642
- readonly description: "Participant activation status";
2643
- readonly type: {
2644
- readonly blueId: "CocmZUt2K7LuGukwuPSAFC7EFo5HZonozAm4tUsSmuFB";
2645
- };
2646
- };
2647
- readonly timelineId: {
2648
- readonly type: {
2649
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2650
- };
2651
- };
2652
- };
2653
- readonly S1gzGs6z9uy5inkcJu5wr6i5ESKDmZy9XhgLHMZKrdV: {
2654
- readonly description: "Indicates MyOS Admin rejected the subscription request before activation.";
2655
- readonly name: "Subscription to Session Failed";
2656
- readonly reason: {
2657
- readonly description: "Explanation why the subscription could not be established.";
2658
- readonly type: {
2659
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2660
- };
2661
- };
2662
- readonly subscriptionId: {
2663
- readonly description: "The subscription id that failed.";
2709
+ readonly N7tRCfv2oxjN8ncrkPQb8c16CjUdJbM7aWDUJDR1C5k: {
2710
+ readonly allowedPayer: {
2711
+ readonly description: "Optional effective payer restriction echoed back to the caller.";
2664
2712
  readonly type: {
2665
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2713
+ readonly blueId: "6VqxRuWBPVJ8qTBPWxYKaSi5UB3zb8Y9vadtxbsL4vzJ";
2666
2714
  };
2667
2715
  };
2668
- readonly targetSessionId: {
2669
- readonly description: "Session that was requested, if known.";
2716
+ readonly amount: {
2717
+ readonly description: "Optional effective amount constraint echoed back to the caller.";
2670
2718
  readonly type: {
2671
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2719
+ readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
2672
2720
  };
2673
2721
  };
2674
- readonly type: {
2675
- readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
2676
- };
2677
- };
2678
- readonly y6JF5WHZjDq9PokMtHpqKhxbY7W6RQ41PBymPx7kjLz: {
2679
- readonly contracts: {
2680
- readonly granteeChannel: {
2681
- readonly description: "Grantee’s timeline";
2682
- readonly type: {
2683
- readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
2684
- };
2685
- };
2686
- readonly granterChannel: {
2687
- readonly description: "Granter/owner’s timeline";
2688
- readonly type: {
2689
- readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
2690
- };
2691
- };
2692
- readonly initLifecycleChannel: {
2693
- readonly event: {
2694
- readonly type: {
2695
- readonly blueId: "BrpmpNt5JkapeUvPqYcxgXZrHNZX3R757dRwuXXdfNM2";
2696
- };
2697
- };
2698
- readonly type: {
2699
- readonly blueId: "H2aCCTUcLMTJozWkn7HPUjyFBFxamraw1q8DyWk87zxr";
2700
- };
2701
- };
2702
- readonly revoke: {
2703
- readonly channel: {
2704
- readonly type: {
2705
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2706
- };
2707
- readonly value: "revokeAccessChannel";
2708
- };
2709
- readonly description: "Granter or grantee indicates the grant should be revoked (MyOS Admin will handle).";
2710
- readonly request: {
2711
- readonly description: "Optional human-readable reason";
2712
- readonly type: {
2713
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2714
- };
2715
- };
2716
- readonly type: {
2717
- readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
2718
- };
2719
- };
2720
- readonly revokeAccessChannel: {
2721
- readonly channels: {
2722
- readonly items: readonly [{
2723
- readonly type: {
2724
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2725
- };
2726
- readonly value: "granterChannel";
2727
- }, {
2728
- readonly type: {
2729
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2730
- };
2731
- readonly value: "granteeChannel";
2732
- }];
2733
- };
2734
- readonly description: "Either grant side can invoke revoke on this grant document.";
2722
+ readonly context: {
2723
+ readonly description: "Optional business-context reference.";
2724
+ readonly documentId: {
2725
+ readonly description: "Blue document id identifying the business document this payment is for.";
2735
2726
  readonly type: {
2736
- readonly blueId: "HsNatiPt2YvmkWQoqtfrFCbdp75ZUBLBUkWeq84WTfnr";
2727
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2737
2728
  };
2738
2729
  };
2739
- readonly revokeImpl: {
2740
- readonly operation: {
2741
- readonly type: {
2742
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2743
- };
2744
- readonly value: "revoke";
2745
- };
2746
- readonly steps: {
2747
- readonly items: readonly [{
2748
- readonly code: {
2749
- readonly type: {
2750
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2751
- };
2752
- readonly value: "return {\n events: [\n {\n type: \"MyOS/Single Document Permission Revoke Requested\",\n reason: event.message.request\n }\n ]\n};\n";
2753
- };
2754
- readonly name: "EmitRevokeRequested";
2755
- readonly type: {
2756
- readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
2757
- };
2758
- }];
2759
- };
2760
- readonly type: {
2761
- readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
2762
- };
2730
+ };
2731
+ readonly currency: {
2732
+ readonly description: "Optional effective currency constraint echoed back to the caller.";
2733
+ readonly type: {
2734
+ readonly blueId: "CBnZ7aaNetj9KEqXpUWj5jvjKbmviLivP98T2EiyxiYc";
2763
2735
  };
2764
- readonly validateOnInit: {
2765
- readonly channel: {
2766
- readonly type: {
2767
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2768
- };
2769
- readonly value: "initLifecycleChannel";
2770
- };
2771
- readonly steps: {
2772
- readonly items: readonly [{
2773
- readonly code: {
2774
- readonly type: {
2775
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2776
- };
2777
- readonly value: "const issues = [];\n\nconst target = document('/targetSessionId');\nif (!target || typeof target !== 'string') issues.push(\"targetSessionId is missing or invalid\");\n\nconst granterId = document('/contracts/granterChannel/accountId');\nif (typeof granterId !== 'string' || granterId.length === 0) issues.push(\"granterChannel must be bound to an accountId\");\nconst granteeId = document('/contracts/granteeChannel/accountId');\nif (typeof granteeId !== 'string' || granteeId.length === 0) issues.push(\"granteeChannel must be bound to an accountId\");\n\nconst perms = document('/permissions');\nif (!perms || typeof perms !== 'object') {\n issues.push(\"permissions block is missing\");\n} else {\n if (perms.read !== true) issues.push(\"permissions.read must be true for SDPG\");\n const hasSingle = Array.isArray(perms?.singleOps) && perms.singleOps.length > 0;\n if (hasSingle) {\n if (perms.singleOps.some(x => typeof x !== 'string' || x.trim().length === 0)) {\n issues.push(\"permissions.singleOps must contain only non-empty strings\");\n }\n }\n if (perms.allOps === true && hasSingle) {\n issues.push(\"permissions.allOps=true and permissions.singleOps are mutually exclusive\");\n }\n}\n\nif (issues.length > 0) return { events: [ { type: \"MyOS/Single Document Permission Invalid\", issues } ] };\nreturn { events: [ { type: \"MyOS/Single Document Permission Validated\" } ] };\n";
2778
- };
2779
- readonly name: "ValidateBasicShape";
2780
- readonly type: {
2781
- readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
2782
- };
2783
- }];
2784
- };
2736
+ };
2737
+ readonly description: "Result emitted after MyOS Admin successfully prepares an opaque recipient payment target.";
2738
+ readonly expectedPaynote: {
2739
+ readonly description: "Optional effective PayNote matcher echoed back to the caller.";
2740
+ };
2741
+ readonly expiresAt: {
2742
+ readonly description: "Optional expiry echoed back to the caller.";
2743
+ readonly type: {
2744
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2745
+ };
2746
+ };
2747
+ readonly name: "Payment Target Prepared";
2748
+ readonly recipient: {
2749
+ readonly description: "Prepared recipient reference.";
2750
+ readonly token: {
2751
+ readonly description: "Opaque prepared recipient token.";
2785
2752
  readonly type: {
2786
- readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
2753
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2787
2754
  };
2788
2755
  };
2756
+ readonly type: {
2757
+ readonly blueId: "3WA2ppJtUKib2upsEARBgCNJuHXSqHJjm38uLtZf6dNb";
2758
+ };
2789
2759
  };
2790
- readonly granterDocumentSessionId: {
2791
- readonly description: "Optional. If set, MyOS should evaluate authority using this document session as the principal (instead of granter accountId).";
2760
+ readonly type: {
2761
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
2762
+ };
2763
+ };
2764
+ readonly phD9k4YTUgGjWeLPKqXNNn6S1PmqSeBJfVscAnUwFhQ: {
2765
+ readonly accountId: {
2792
2766
  readonly type: {
2793
2767
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2794
2768
  };
2795
2769
  };
2796
- readonly name: "Single Document Permission Grant To Account";
2797
- readonly permissions: {
2798
- readonly description: "Rights to grant on the target session (READ required; allOps and singleOps are mutually exclusive; singleOps is optional but must be non-empty if provided).";
2770
+ readonly email: {
2771
+ readonly type: {
2772
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2773
+ };
2774
+ };
2775
+ readonly name: "Participant";
2776
+ readonly status: {
2777
+ readonly description: "Participant activation status";
2778
+ readonly type: {
2779
+ readonly blueId: "CocmZUt2K7LuGukwuPSAFC7EFo5HZonozAm4tUsSmuFB";
2780
+ };
2781
+ };
2782
+ readonly timelineId: {
2783
+ readonly type: {
2784
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2785
+ };
2786
+ };
2787
+ };
2788
+ readonly S1gzGs6z9uy5inkcJu5wr6i5ESKDmZy9XhgLHMZKrdV: {
2789
+ readonly description: "Indicates MyOS Admin rejected the subscription request before activation.";
2790
+ readonly name: "Subscription to Session Failed";
2791
+ readonly reason: {
2792
+ readonly description: "Explanation why the subscription could not be established.";
2793
+ readonly type: {
2794
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2795
+ };
2796
+ };
2797
+ readonly subscriptionId: {
2798
+ readonly description: "The subscription id that failed.";
2799
2799
  readonly type: {
2800
- readonly blueId: "DRDQcve5AjwBK9z6Njfa4MNERko7Uf4ucvARFdC6sL54";
2800
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2801
2801
  };
2802
2802
  };
2803
2803
  readonly targetSessionId: {
2804
- readonly description: "Target document session id to grant access to";
2804
+ readonly description: "Session that was requested, if known.";
2805
2805
  readonly type: {
2806
2806
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2807
2807
  };
2808
2808
  };
2809
2809
  readonly type: {
2810
- readonly blueId: "Bu4YETSKYW8hHMwVy6zUUoBAGZPxX3KVXfKN9uoCUoJj";
2810
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
2811
2811
  };
2812
2812
  };
2813
2813
  };
@@ -3180,7 +3180,7 @@ declare const _default: {
3180
3180
  inResponseTo?: import("@blue-labs/language").BlueNode | undefined;
3181
3181
  }[] | undefined;
3182
3182
  }>;
3183
- readonly '3SULZSU6Yvi6rVuhGsRX7znRuyt6oWnx1Hdyu6QhdhFj': import("zod").ZodObject<import("zod").objectUtil.extendShape<{
3183
+ readonly '3u1bvMQqqc9sj4zWmwwhQrbdfCn7xrGiN7KEczqq22XG': import("zod").ZodObject<import("zod").objectUtil.extendShape<{
3184
3184
  description: import("zod").ZodOptional<import("zod").ZodString>;
3185
3185
  name: import("zod").ZodOptional<import("zod").ZodString>;
3186
3186
  }, {
@@ -3527,7 +3527,7 @@ declare const _default: {
3527
3527
  name?: string | undefined;
3528
3528
  anchor?: string | undefined;
3529
3529
  }>, "strip">>;
3530
- readonly '4Mse3bdSz9YQbp5KkbUiVmkseK8upp5wexNDUq2rHuEy': import("zod").ZodObject<import("zod").objectUtil.extendShape<{
3530
+ readonly AhSRfEjNdQ8AvA3AFigjdyQzAtoc2J29jpacEcKBNa32: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
3531
3531
  contracts: import("zod").ZodOptional<import("zod").ZodObject<{
3532
3532
  myOsAdminChannel: import("zod").ZodOptional<import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
3533
3533
  description: import("zod").ZodOptional<import("zod").ZodString>;
@@ -4554,7 +4554,7 @@ declare const _default: {
4554
4554
  name?: string | undefined;
4555
4555
  anchor?: string | undefined;
4556
4556
  }>;
4557
- readonly DBv2TLwytwBgvrSVeauLjTZYycf8hiXgdadoyRVDfjhS: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
4557
+ readonly '6H5NxBuVypoTGEMKHScmszXmrz3nBVQy1FDHrxBRwMmh': import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
4558
4558
  description: import("zod").ZodOptional<import("zod").ZodString>;
4559
4559
  name: import("zod").ZodOptional<import("zod").ZodString>;
4560
4560
  }, {
@@ -4687,7 +4687,7 @@ declare const _default: {
4687
4687
  singleOps?: string[] | undefined;
4688
4688
  }>, "strip"> | undefined;
4689
4689
  }>;
4690
- readonly G5K5cSdn15yLJa6NBmjLuuZzJ5YShSU14kc4vitHpeHz: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
4690
+ readonly FuQov123cM3ph1xcX5Cyx19D2w1vsitpAHfkdasZDE75: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
4691
4691
  contracts: import("zod").ZodOptional<import("zod").ZodObject<{
4692
4692
  myOsAdminChannel: import("zod").ZodOptional<import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
4693
4693
  description: import("zod").ZodOptional<import("zod").ZodString>;
@@ -5117,19 +5117,19 @@ declare const _default: {
5117
5117
  accountId?: string | undefined;
5118
5118
  email?: string | undefined;
5119
5119
  } | undefined;
5120
- revoke?: {
5120
+ revokeAccessChannel?: {
5121
5121
  description?: string | undefined;
5122
5122
  name?: string | undefined;
5123
5123
  order?: number | undefined;
5124
- channel?: string | undefined;
5125
- request?: import("@blue-labs/language").BlueNode | undefined;
5124
+ event?: import("@blue-labs/language").BlueNode | undefined;
5125
+ channels?: string[] | undefined;
5126
5126
  } | undefined;
5127
- revokeAccessChannel?: {
5127
+ revoke?: {
5128
5128
  description?: string | undefined;
5129
5129
  name?: string | undefined;
5130
5130
  order?: number | undefined;
5131
- event?: import("@blue-labs/language").BlueNode | undefined;
5132
- channels?: string[] | undefined;
5131
+ channel?: string | undefined;
5132
+ request?: import("@blue-labs/language").BlueNode | undefined;
5133
5133
  } | undefined;
5134
5134
  revokeImpl?: {
5135
5135
  description?: string | undefined;
@@ -5179,19 +5179,19 @@ declare const _default: {
5179
5179
  accountId?: string | undefined;
5180
5180
  email?: string | undefined;
5181
5181
  } | undefined;
5182
- revoke?: {
5182
+ revokeAccessChannel?: {
5183
5183
  description?: string | undefined;
5184
5184
  name?: string | undefined;
5185
5185
  order?: number | undefined;
5186
- channel?: string | undefined;
5187
- request?: import("@blue-labs/language").BlueNode | undefined;
5186
+ event?: import("@blue-labs/language").BlueNode | undefined;
5187
+ channels?: string[] | undefined;
5188
5188
  } | undefined;
5189
- revokeAccessChannel?: {
5189
+ revoke?: {
5190
5190
  description?: string | undefined;
5191
5191
  name?: string | undefined;
5192
5192
  order?: number | undefined;
5193
- event?: import("@blue-labs/language").BlueNode | undefined;
5194
- channels?: string[] | undefined;
5193
+ channel?: string | undefined;
5194
+ request?: import("@blue-labs/language").BlueNode | undefined;
5195
5195
  } | undefined;
5196
5196
  revokeImpl?: {
5197
5197
  description?: string | undefined;
@@ -5312,19 +5312,19 @@ declare const _default: {
5312
5312
  accountId?: string | undefined;
5313
5313
  email?: string | undefined;
5314
5314
  } | undefined;
5315
- revoke?: {
5315
+ revokeAccessChannel?: {
5316
5316
  description?: string | undefined;
5317
5317
  name?: string | undefined;
5318
5318
  order?: number | undefined;
5319
- channel?: string | undefined;
5320
- request?: import("@blue-labs/language").BlueNode | undefined;
5319
+ event?: import("@blue-labs/language").BlueNode | undefined;
5320
+ channels?: string[] | undefined;
5321
5321
  } | undefined;
5322
- revokeAccessChannel?: {
5322
+ revoke?: {
5323
5323
  description?: string | undefined;
5324
5324
  name?: string | undefined;
5325
5325
  order?: number | undefined;
5326
- event?: import("@blue-labs/language").BlueNode | undefined;
5327
- channels?: string[] | undefined;
5326
+ channel?: string | undefined;
5327
+ request?: import("@blue-labs/language").BlueNode | undefined;
5328
5328
  } | undefined;
5329
5329
  revokeImpl?: {
5330
5330
  description?: string | undefined;
@@ -5402,19 +5402,19 @@ declare const _default: {
5402
5402
  accountId?: string | undefined;
5403
5403
  email?: string | undefined;
5404
5404
  } | undefined;
5405
- revoke?: {
5405
+ revokeAccessChannel?: {
5406
5406
  description?: string | undefined;
5407
5407
  name?: string | undefined;
5408
5408
  order?: number | undefined;
5409
- channel?: string | undefined;
5410
- request?: import("@blue-labs/language").BlueNode | undefined;
5409
+ event?: import("@blue-labs/language").BlueNode | undefined;
5410
+ channels?: string[] | undefined;
5411
5411
  } | undefined;
5412
- revokeAccessChannel?: {
5412
+ revoke?: {
5413
5413
  description?: string | undefined;
5414
5414
  name?: string | undefined;
5415
5415
  order?: number | undefined;
5416
- event?: import("@blue-labs/language").BlueNode | undefined;
5417
- channels?: string[] | undefined;
5416
+ channel?: string | undefined;
5417
+ request?: import("@blue-labs/language").BlueNode | undefined;
5418
5418
  } | undefined;
5419
5419
  revokeImpl?: {
5420
5420
  description?: string | undefined;
@@ -5465,7 +5465,7 @@ declare const _default: {
5465
5465
  }>, "strip"> | undefined;
5466
5466
  granterDocumentSessionId?: string | undefined;
5467
5467
  }>;
5468
- readonly DVuSpdSQzjj36rN9Eemu7oReooPe1YaqARx7aanQDppy: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
5468
+ readonly GSMPZr2s6Nb6SwHzx8XwLRwbJnUdboZDPckMQhwLgvJ7: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
5469
5469
  contracts: import("zod").ZodOptional<import("zod").ZodObject<{
5470
5470
  myOsAdminChannel: import("zod").ZodOptional<import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
5471
5471
  description: import("zod").ZodOptional<import("zod").ZodString>;
@@ -6126,7 +6126,7 @@ declare const _default: {
6126
6126
  granteeDocumentId?: string | undefined;
6127
6127
  skipValidation?: boolean | undefined;
6128
6128
  }>;
6129
- readonly '6kUamSN8Yq4L46PRaKRVc2BnG6xN7HCpmyG2STW3hecZ': import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
6129
+ readonly '74TyANquDt5wUqoUfqA6i2CT5rDnfbfCSti1mkxowHpu': import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
6130
6130
  description: import("zod").ZodOptional<import("zod").ZodString>;
6131
6131
  name: import("zod").ZodOptional<import("zod").ZodString>;
6132
6132
  }, {
@@ -6259,7 +6259,7 @@ declare const _default: {
6259
6259
  }>, "strip"> | undefined;
6260
6260
  grantDocumentId?: string | undefined;
6261
6261
  }>;
6262
- readonly '8rdTEmuSkwgzj47Uc4tLdSk1wSd8NG5Q6vTFZt8hXbHK': import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
6262
+ readonly GuqbETNsYdtm6MdzKy2iqqaQZu617rnjZz3fQFJLjpQ8: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
6263
6263
  description: import("zod").ZodOptional<import("zod").ZodString>;
6264
6264
  name: import("zod").ZodOptional<import("zod").ZodString>;
6265
6265
  }, {
@@ -6405,7 +6405,7 @@ declare const _default: {
6405
6405
  name?: string | undefined;
6406
6406
  issues?: string[] | undefined;
6407
6407
  }>;
6408
- readonly Cg3FfBGZZSfviaJg4Jsf7Cbg4jLRPYDcrbT65YD4vjxi: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
6408
+ readonly GFs1qrcTSzYq5tEN25GjGngu7fttnPgma6PU7TQ89Hjc: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
6409
6409
  description: import("zod").ZodOptional<import("zod").ZodString>;
6410
6410
  name: import("zod").ZodOptional<import("zod").ZodString>;
6411
6411
  }, {
@@ -6563,7 +6563,7 @@ declare const _default: {
6563
6563
  reason?: string | undefined;
6564
6564
  grantDocumentId?: string | undefined;
6565
6565
  }>;
6566
- readonly '9J18sDqoJX8KKutFwuzxeSdXiGuRbJB2yCfADGSKax6h': import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
6566
+ readonly '3How2U6g2sZe3xDCnJGAN96bcbyTabrTio7jEShH6pTh': import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
6567
6567
  description: import("zod").ZodOptional<import("zod").ZodString>;
6568
6568
  name: import("zod").ZodOptional<import("zod").ZodString>;
6569
6569
  }, {
@@ -6696,7 +6696,7 @@ declare const _default: {
6696
6696
  singleOps?: string[] | undefined;
6697
6697
  }>, "strip"> | undefined;
6698
6698
  }>;
6699
- readonly HTvyBGjSkM4gmJxhwznVMM1aU7UUaKCcWQY9qgU6JfvH: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
6699
+ readonly '5EWk4G87GuSwimUr67WJ9KQKGeGhSvjx8qMLmrhxzDDD': import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
6700
6700
  description: import("zod").ZodOptional<import("zod").ZodString>;
6701
6701
  name: import("zod").ZodOptional<import("zod").ZodString>;
6702
6702
  }, {
@@ -6829,7 +6829,7 @@ declare const _default: {
6829
6829
  singleOps?: string[] | undefined;
6830
6830
  }>, "strip"> | undefined;
6831
6831
  }>;
6832
- readonly '75TXyy5E7vbexVAUZcjZ2vdQaG7fJJbAHAgrh8sMtTp5': import("zod").ZodObject<{}, "strip", import("zod").ZodObject<{
6832
+ readonly '75CyJPe82hSjV9T2tsir5R3343vhqvG41w2EzFhCp5Y9': import("zod").ZodObject<{}, "strip", import("zod").ZodObject<{
6833
6833
  allOps: import("zod").ZodOptional<import("zod").ZodBoolean>;
6834
6834
  description: import("zod").ZodOptional<import("zod").ZodString>;
6835
6835
  name: import("zod").ZodOptional<import("zod").ZodString>;
@@ -6925,7 +6925,7 @@ declare const _default: {
6925
6925
  description?: string | undefined;
6926
6926
  name?: string | undefined;
6927
6927
  }>;
6928
- readonly Bu4YETSKYW8hHMwVy6zUUoBAGZPxX3KVXfKN9uoCUoJj: import("zod").ZodObject<{
6928
+ readonly '8qXt15h35iHYF2yBcPJ82HzizzZv7iuU2Lu3qorweJfB': import("zod").ZodObject<{
6929
6929
  contracts: import("zod").ZodOptional<import("zod").ZodObject<{
6930
6930
  myOsAdminChannel: import("zod").ZodOptional<import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
6931
6931
  description: import("zod").ZodOptional<import("zod").ZodString>;
@@ -8112,7 +8112,7 @@ declare const _default: {
8112
8112
  expectedPaynote?: import("@blue-labs/language").BlueNode | undefined;
8113
8113
  expiresAt?: string | undefined;
8114
8114
  }>;
8115
- readonly '3KTJBMse6aFELjAG6iJa9bo5XdJagLzQZdPkee64iVW1': import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
8115
+ readonly N7tRCfv2oxjN8ncrkPQb8c16CjUdJbM7aWDUJDR1C5k: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
8116
8116
  description: import("zod").ZodOptional<import("zod").ZodString>;
8117
8117
  name: import("zod").ZodOptional<import("zod").ZodString>;
8118
8118
  }, {
@@ -8379,7 +8379,7 @@ declare const _default: {
8379
8379
  timestamp?: string | undefined;
8380
8380
  sessionId?: string | undefined;
8381
8381
  }>;
8382
- readonly Ef7EvcR5He11JtgBFtswYTHEfUKnTHmFysMTo3ZsoQby: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
8382
+ readonly FAMQpJfZvF5gJphKzq96Bn2iLuJgMJwMek798cw8LR9D: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
8383
8383
  description: import("zod").ZodOptional<import("zod").ZodString>;
8384
8384
  name: import("zod").ZodOptional<import("zod").ZodString>;
8385
8385
  }, {
@@ -8442,7 +8442,7 @@ declare const _default: {
8442
8442
  singleOps?: string[] | undefined;
8443
8443
  } | undefined;
8444
8444
  }>;
8445
- readonly '5jtNV7xpaim18pUQp4uvron8uHfTjPSi6kUZQdCMGsKa': import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
8445
+ readonly aydjXRi7sz7352Pnbs25ko4cat9w4YnM6LzD5Dtj5T9: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
8446
8446
  description: import("zod").ZodOptional<import("zod").ZodString>;
8447
8447
  name: import("zod").ZodOptional<import("zod").ZodString>;
8448
8448
  }, {
@@ -8508,7 +8508,7 @@ declare const _default: {
8508
8508
  singleOps?: string[] | undefined;
8509
8509
  } | undefined;
8510
8510
  }>;
8511
- readonly y6JF5WHZjDq9PokMtHpqKhxbY7W6RQ41PBymPx7kjLz: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
8511
+ readonly '9dmquqNvp5f47KPP3bno4t2DujWSjPtgJcEipMVPFNhN': import("zod").ZodObject<import("zod").objectUtil.extendShape<{
8512
8512
  contracts: import("zod").ZodOptional<import("zod").ZodObject<{
8513
8513
  myOsAdminChannel: import("zod").ZodOptional<import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
8514
8514
  description: import("zod").ZodOptional<import("zod").ZodString>;
@@ -8938,19 +8938,19 @@ declare const _default: {
8938
8938
  accountId?: string | undefined;
8939
8939
  email?: string | undefined;
8940
8940
  } | undefined;
8941
- revoke?: {
8941
+ revokeAccessChannel?: {
8942
8942
  description?: string | undefined;
8943
8943
  name?: string | undefined;
8944
8944
  order?: number | undefined;
8945
- channel?: string | undefined;
8946
- request?: import("@blue-labs/language").BlueNode | undefined;
8945
+ event?: import("@blue-labs/language").BlueNode | undefined;
8946
+ channels?: string[] | undefined;
8947
8947
  } | undefined;
8948
- revokeAccessChannel?: {
8948
+ revoke?: {
8949
8949
  description?: string | undefined;
8950
8950
  name?: string | undefined;
8951
8951
  order?: number | undefined;
8952
- event?: import("@blue-labs/language").BlueNode | undefined;
8953
- channels?: string[] | undefined;
8952
+ channel?: string | undefined;
8953
+ request?: import("@blue-labs/language").BlueNode | undefined;
8954
8954
  } | undefined;
8955
8955
  revokeImpl?: {
8956
8956
  description?: string | undefined;
@@ -9000,19 +9000,19 @@ declare const _default: {
9000
9000
  accountId?: string | undefined;
9001
9001
  email?: string | undefined;
9002
9002
  } | undefined;
9003
- revoke?: {
9003
+ revokeAccessChannel?: {
9004
9004
  description?: string | undefined;
9005
9005
  name?: string | undefined;
9006
9006
  order?: number | undefined;
9007
- channel?: string | undefined;
9008
- request?: import("@blue-labs/language").BlueNode | undefined;
9007
+ event?: import("@blue-labs/language").BlueNode | undefined;
9008
+ channels?: string[] | undefined;
9009
9009
  } | undefined;
9010
- revokeAccessChannel?: {
9010
+ revoke?: {
9011
9011
  description?: string | undefined;
9012
9012
  name?: string | undefined;
9013
9013
  order?: number | undefined;
9014
- event?: import("@blue-labs/language").BlueNode | undefined;
9015
- channels?: string[] | undefined;
9014
+ channel?: string | undefined;
9015
+ request?: import("@blue-labs/language").BlueNode | undefined;
9016
9016
  } | undefined;
9017
9017
  revokeImpl?: {
9018
9018
  description?: string | undefined;
@@ -9091,19 +9091,19 @@ declare const _default: {
9091
9091
  accountId?: string | undefined;
9092
9092
  email?: string | undefined;
9093
9093
  } | undefined;
9094
- revoke?: {
9094
+ revokeAccessChannel?: {
9095
9095
  description?: string | undefined;
9096
9096
  name?: string | undefined;
9097
9097
  order?: number | undefined;
9098
- channel?: string | undefined;
9099
- request?: import("@blue-labs/language").BlueNode | undefined;
9098
+ event?: import("@blue-labs/language").BlueNode | undefined;
9099
+ channels?: string[] | undefined;
9100
9100
  } | undefined;
9101
- revokeAccessChannel?: {
9101
+ revoke?: {
9102
9102
  description?: string | undefined;
9103
9103
  name?: string | undefined;
9104
9104
  order?: number | undefined;
9105
- event?: import("@blue-labs/language").BlueNode | undefined;
9106
- channels?: string[] | undefined;
9105
+ channel?: string | undefined;
9106
+ request?: import("@blue-labs/language").BlueNode | undefined;
9107
9107
  } | undefined;
9108
9108
  revokeImpl?: {
9109
9109
  description?: string | undefined;
@@ -9167,19 +9167,19 @@ declare const _default: {
9167
9167
  accountId?: string | undefined;
9168
9168
  email?: string | undefined;
9169
9169
  } | undefined;
9170
- revoke?: {
9170
+ revokeAccessChannel?: {
9171
9171
  description?: string | undefined;
9172
9172
  name?: string | undefined;
9173
9173
  order?: number | undefined;
9174
- channel?: string | undefined;
9175
- request?: import("@blue-labs/language").BlueNode | undefined;
9174
+ event?: import("@blue-labs/language").BlueNode | undefined;
9175
+ channels?: string[] | undefined;
9176
9176
  } | undefined;
9177
- revokeAccessChannel?: {
9177
+ revoke?: {
9178
9178
  description?: string | undefined;
9179
9179
  name?: string | undefined;
9180
9180
  order?: number | undefined;
9181
- event?: import("@blue-labs/language").BlueNode | undefined;
9182
- channels?: string[] | undefined;
9181
+ channel?: string | undefined;
9182
+ request?: import("@blue-labs/language").BlueNode | undefined;
9183
9183
  } | undefined;
9184
9184
  revokeImpl?: {
9185
9185
  description?: string | undefined;
@@ -9216,7 +9216,7 @@ declare const _default: {
9216
9216
  singleOps?: string[] | undefined;
9217
9217
  } | undefined;
9218
9218
  }>;
9219
- readonly '3SQR9pgQoY8rE9XhSmDDbKdHwe7ZZDaX4hPkYirhjYmD': import("zod").ZodObject<import("zod").objectUtil.extendShape<{
9219
+ readonly BivicTTRkWMt2f9qMqSPgWPEAHyVpAUmBE6xGLt3oVu2: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
9220
9220
  contracts: import("zod").ZodOptional<import("zod").ZodObject<{
9221
9221
  myOsAdminChannel: import("zod").ZodOptional<import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
9222
9222
  description: import("zod").ZodOptional<import("zod").ZodString>;
@@ -9807,7 +9807,7 @@ declare const _default: {
9807
9807
  singleOps?: string[] | undefined;
9808
9808
  } | undefined;
9809
9809
  }>;
9810
- readonly BZPjcZmkuJpVFDYAZMexdG68KKFhgabnieBdG6DpHexR: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
9810
+ readonly BqWoMewDiK6GgMVDXeBuPwWL3ka9DadzKu59uU51ZjW3: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
9811
9811
  description: import("zod").ZodOptional<import("zod").ZodString>;
9812
9812
  name: import("zod").ZodOptional<import("zod").ZodString>;
9813
9813
  }, {
@@ -9870,7 +9870,7 @@ declare const _default: {
9870
9870
  singleOps?: string[] | undefined;
9871
9871
  } | undefined;
9872
9872
  }>;
9873
- readonly '5dYUepkS2uQHtzhVYoHEtR4x8vaMRtNuHyiqqTvRrKGY': import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
9873
+ readonly '4zC5mdSWymTamZVoQXDMCrFRTARef3RJM49gCSCuBv6F': import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
9874
9874
  description: import("zod").ZodOptional<import("zod").ZodString>;
9875
9875
  name: import("zod").ZodOptional<import("zod").ZodString>;
9876
9876
  }, {
@@ -9949,7 +9949,7 @@ declare const _default: {
9949
9949
  name?: string | undefined;
9950
9950
  issues?: string[] | undefined;
9951
9951
  }>;
9952
- readonly kHtVfa88aG4NMwCcBgJH9mq7EBqLQUrJVEr92porG5j: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
9952
+ readonly LaiT21WCsXzGorJ1dDsQ37dP2UtefPxNEwAA81W11WK: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
9953
9953
  description: import("zod").ZodOptional<import("zod").ZodString>;
9954
9954
  name: import("zod").ZodOptional<import("zod").ZodString>;
9955
9955
  }, {
@@ -10056,7 +10056,7 @@ declare const _default: {
10056
10056
  name?: string | undefined;
10057
10057
  inResponseTo?: import("@blue-labs/language").BlueNode | undefined;
10058
10058
  }>;
10059
- readonly Cyr8aNNYedFse1EZ74dy9uXJ59gLH5LhTRyVeLiSMkg8: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
10059
+ readonly CrRfT3MFQneNo99nfdhfgnTKF4fmKtSQEUQN8wTTbnjF: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
10060
10060
  description: import("zod").ZodOptional<import("zod").ZodString>;
10061
10061
  name: import("zod").ZodOptional<import("zod").ZodString>;
10062
10062
  }, {
@@ -10119,7 +10119,7 @@ declare const _default: {
10119
10119
  } | undefined;
10120
10120
  note?: string | undefined;
10121
10121
  }>;
10122
- readonly DRDQcve5AjwBK9z6Njfa4MNERko7Uf4ucvARFdC6sL54: import("zod").ZodObject<{
10122
+ readonly '5cZ3J1QiMJEJV4FV5kfSkeG2oJmweWCyJo3v2TSc3Xuw': import("zod").ZodObject<{
10123
10123
  allOps: import("zod").ZodOptional<import("zod").ZodBoolean>;
10124
10124
  description: import("zod").ZodOptional<import("zod").ZodString>;
10125
10125
  name: import("zod").ZodOptional<import("zod").ZodString>;
@@ -10407,7 +10407,7 @@ declare const _default: {
10407
10407
  document?: import("@blue-labs/language").BlueNode | undefined;
10408
10408
  initiatorSessionIds?: string[] | undefined;
10409
10409
  }>;
10410
- readonly '5J3RXNnALK1ZYAQBrjGwCQ4WpL3YUGHvz9WcGos6mMSp': import("zod").ZodObject<{
10410
+ readonly EKPgicPVdFxx8X4ZBsnx7mT387M3VXDeMjSBnmAreUsS: import("zod").ZodObject<{
10411
10411
  name: import("zod").ZodOptional<import("zod").ZodString>;
10412
10412
  permissions: import("zod").ZodOptional<import("zod").ZodObject<{
10413
10413
  allOps: import("zod").ZodOptional<import("zod").ZodBoolean>;
@@ -10455,7 +10455,7 @@ declare const _default: {
10455
10455
  } | undefined;
10456
10456
  workerType?: import("@blue-labs/language").BlueNode | undefined;
10457
10457
  }>;
10458
- readonly '2ARFPC2YDspfN86MT897RDzGUtEEw1B7Lbdvy8Z3ZFQx': import("zod").ZodObject<import("zod").objectUtil.extendShape<{
10458
+ readonly CoyRC9eUW32e9MdSPy1xdGd4XgRMqBmPSsRe8hwiCJbF: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
10459
10459
  contracts: import("zod").ZodOptional<import("zod").ZodObject<{
10460
10460
  myOsAdminChannel: import("zod").ZodOptional<import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
10461
10461
  description: import("zod").ZodOptional<import("zod").ZodString>;
@@ -11071,7 +11071,7 @@ declare const _default: {
11071
11071
  workerType?: import("@blue-labs/language").BlueNode | undefined;
11072
11072
  }[] | undefined;
11073
11073
  }>;
11074
- readonly HF5aRJZqvHn7sDFbwfDGQjkWmTSW9Lee7c9dUBtcdNtK: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
11074
+ readonly '5S64KLDcXLiHWsYP6EGpfANZQsvTH3APsWqqy7D3qqJN': import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
11075
11075
  description: import("zod").ZodOptional<import("zod").ZodString>;
11076
11076
  name: import("zod").ZodOptional<import("zod").ZodString>;
11077
11077
  }, {
@@ -11165,7 +11165,7 @@ declare const _default: {
11165
11165
  workerType?: import("@blue-labs/language").BlueNode | undefined;
11166
11166
  }[] | undefined;
11167
11167
  }>;
11168
- readonly '75TkZZcfwGMnD8ReqQg1KhBkdEV9U637TS5bGSv9n2Xn': import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
11168
+ readonly BwYenFh5yEbjEW6FdBzYu2hCkUxGyBW6JJguusvtd5ut: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
11169
11169
  description: import("zod").ZodOptional<import("zod").ZodString>;
11170
11170
  name: import("zod").ZodOptional<import("zod").ZodString>;
11171
11171
  }, {
@@ -11262,7 +11262,7 @@ declare const _default: {
11262
11262
  workerType?: import("@blue-labs/language").BlueNode | undefined;
11263
11263
  }[] | undefined;
11264
11264
  }>;
11265
- readonly HzQyVKvSQ2cienAkjW5R8HgTcStPe13p8eoB4vXr7dAc: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
11265
+ readonly H4Yn9qiBncFkvBArAjWfqPTSdbiijm4MU74inx1o5eDL: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
11266
11266
  description: import("zod").ZodOptional<import("zod").ZodString>;
11267
11267
  name: import("zod").ZodOptional<import("zod").ZodString>;
11268
11268
  }, {
@@ -11381,7 +11381,7 @@ declare const _default: {
11381
11381
  inResponseTo?: import("@blue-labs/language").BlueNode | undefined;
11382
11382
  issues?: string[] | undefined;
11383
11383
  }>;
11384
- readonly G1cW5kjZdJrmCwfrwiHXQcJfYfFAY5jEFZNA7u7pFdtY: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
11384
+ readonly HdRkyKgsk74k3QKBxnuy4iWn5u7Pf4wHY3nyJgGZd7jz: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
11385
11385
  description: import("zod").ZodOptional<import("zod").ZodString>;
11386
11386
  name: import("zod").ZodOptional<import("zod").ZodString>;
11387
11387
  }, {
@@ -11522,7 +11522,7 @@ declare const _default: {
11522
11522
  name?: string | undefined;
11523
11523
  inResponseTo?: import("@blue-labs/language").BlueNode | undefined;
11524
11524
  }>;
11525
- readonly '5zNb9H63xeG2RjZ1gzJwyGxvTVzWdyNBb2Te6g8UXd72': import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
11525
+ readonly '2xkX43Z7tML7KXJgHp5C7W2W465aGckp3jBVW37GyZqz': import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
11526
11526
  description: import("zod").ZodOptional<import("zod").ZodString>;
11527
11527
  name: import("zod").ZodOptional<import("zod").ZodString>;
11528
11528
  }, {
@@ -11676,29 +11676,29 @@ declare const _default: {
11676
11676
  readonly 'MyOS/Call Operation Failed': "BaNmvStTGdsBsSHiHbqdhrrC7vfwiQdDK6NYiyRbJowx";
11677
11677
  readonly 'MyOS/Call Operation Requested': "EVX6nBdHdVEBH9Gbthpd2eqpxaxS4bb9wM55QNdZmcBy";
11678
11678
  readonly 'MyOS/Call Operation Responded': "3P4vsTx8Ky2pucXxKgkn8MouveP2DBRjkwZckCG5b9Lb";
11679
- readonly 'MyOS/Chat GPT Connector Agent': "3SULZSU6Yvi6rVuhGsRX7znRuyt6oWnx1Hdyu6QhdhFj";
11679
+ readonly 'MyOS/Chat GPT Connector Agent': "3u1bvMQqqc9sj4zWmwwhQrbdfCn7xrGiN7KEczqq22XG";
11680
11680
  readonly 'MyOS/Document Anchor': "HS9yo34TGEAM2LGcNbLh7XPN4goPRhqdGZQkiyh473Wb";
11681
11681
  readonly 'MyOS/Document Anchors': "7Usvk6dZMVqas3yqs23ZEXn1zu1YDPjgYiZFNYaw3puH";
11682
11682
  readonly 'MyOS/Document Link': "BFxgEnovNHQ693YR2YvALi4FP8vjcwSQiX63LiLwjUhk";
11683
11683
  readonly 'MyOS/Document Links': "4cmrbevB6K23ZenjqwmNxpnaw6RF4VB3wkP7XB59V7W5";
11684
- readonly 'MyOS/Document Session Bootstrap': "4Mse3bdSz9YQbp5KkbUiVmkseK8upp5wexNDUq2rHuEy";
11684
+ readonly 'MyOS/Document Session Bootstrap': "AhSRfEjNdQ8AvA3AFigjdyQzAtoc2J29jpacEcKBNa32";
11685
11685
  readonly 'MyOS/Document Type Link': "D9Ret9Hmz5TWxzuJEeauWEuZVPkPL7hcHYsSNY1cZ5zX";
11686
11686
  readonly 'MyOS/Inform User To Install MyOS Package': "CrGV4ZYjvPvMqrgNQAfgZCUnFjFW6HDjYNdon2chLKU3";
11687
11687
  readonly 'MyOS/Link': "D2ERUvbpn6R6PR7hjFsGofwQsu9bkRfc6wbSYHcfJtMD";
11688
- readonly 'MyOS/Linked Documents Permission Grant Requested': "DBv2TLwytwBgvrSVeauLjTZYycf8hiXgdadoyRVDfjhS";
11689
- readonly 'MyOS/Linked Documents Permission Grant To Account': "G5K5cSdn15yLJa6NBmjLuuZzJ5YShSU14kc4vitHpeHz";
11690
- readonly 'MyOS/Linked Documents Permission Grant To Document': "DVuSpdSQzjj36rN9Eemu7oReooPe1YaqARx7aanQDppy";
11691
- readonly 'MyOS/Linked Documents Permission Granted': "6kUamSN8Yq4L46PRaKRVc2BnG6xN7HCpmyG2STW3hecZ";
11692
- readonly 'MyOS/Linked Documents Permission Granting in Progress': "8rdTEmuSkwgzj47Uc4tLdSk1wSd8NG5Q6vTFZt8hXbHK";
11688
+ readonly 'MyOS/Linked Documents Permission Grant Requested': "6H5NxBuVypoTGEMKHScmszXmrz3nBVQy1FDHrxBRwMmh";
11689
+ readonly 'MyOS/Linked Documents Permission Grant To Account': "FuQov123cM3ph1xcX5Cyx19D2w1vsitpAHfkdasZDE75";
11690
+ readonly 'MyOS/Linked Documents Permission Grant To Document': "GSMPZr2s6Nb6SwHzx8XwLRwbJnUdboZDPckMQhwLgvJ7";
11691
+ readonly 'MyOS/Linked Documents Permission Granted': "74TyANquDt5wUqoUfqA6i2CT5rDnfbfCSti1mkxowHpu";
11692
+ readonly 'MyOS/Linked Documents Permission Granting in Progress': "GuqbETNsYdtm6MdzKy2iqqaQZu617rnjZz3fQFJLjpQ8";
11693
11693
  readonly 'MyOS/Linked Documents Permission Invalid': "ENswN7PB5Ty8mfy1AdFsu2QR9jMjCsm5AGGJgkYSTrWU";
11694
- readonly 'MyOS/Linked Documents Permission Rejected': "Cg3FfBGZZSfviaJg4Jsf7Cbg4jLRPYDcrbT65YD4vjxi";
11694
+ readonly 'MyOS/Linked Documents Permission Rejected': "GFs1qrcTSzYq5tEN25GjGngu7fttnPgma6PU7TQ89Hjc";
11695
11695
  readonly 'MyOS/Linked Documents Permission Revoke Requested': "4XzYndDA5v9yL5LYBq1Jk7ibA5x2ebN8vbSbEAoRrjaG";
11696
- readonly 'MyOS/Linked Documents Permission Revoked': "9J18sDqoJX8KKutFwuzxeSdXiGuRbJB2yCfADGSKax6h";
11697
- readonly 'MyOS/Linked Documents Permission Revoking in Progress': "HTvyBGjSkM4gmJxhwznVMM1aU7UUaKCcWQY9qgU6JfvH";
11698
- readonly 'MyOS/Linked Documents Permission Set': "75TXyy5E7vbexVAUZcjZ2vdQaG7fJJbAHAgrh8sMtTp5";
11696
+ readonly 'MyOS/Linked Documents Permission Revoked': "3How2U6g2sZe3xDCnJGAN96bcbyTabrTio7jEShH6pTh";
11697
+ readonly 'MyOS/Linked Documents Permission Revoking in Progress': "5EWk4G87GuSwimUr67WJ9KQKGeGhSvjx8qMLmrhxzDDD";
11698
+ readonly 'MyOS/Linked Documents Permission Set': "75CyJPe82hSjV9T2tsir5R3343vhqvG41w2EzFhCp5Y9";
11699
11699
  readonly 'MyOS/Linked Documents Permission Validated': "DFMcBSRfNqK6NqdNLCF8b88soezajjq4gyBS8QRzSBhe";
11700
11700
  readonly 'MyOS/LLM Agent': "DL73vQGQGdEFA53shnv58CkVJVVs5P5Hygc5qNghY5Zf";
11701
- readonly 'MyOS/MyOS Admin Base': "Bu4YETSKYW8hHMwVy6zUUoBAGZPxX3KVXfKN9uoCUoJj";
11701
+ readonly 'MyOS/MyOS Admin Base': "8qXt15h35iHYF2yBcPJ82HzizzZv7iuU2Lu3qorweJfB";
11702
11702
  readonly 'MyOS/MyOS Agent': "8DQrCT6Mf9wHQyRc4NdYhjFW4FbKi83no2QPe54UhdQ5";
11703
11703
  readonly 'MyOS/MyOS Agent Actor': "ELnMo95Gduw4zFLakSGqg44AiaP27jEdeg1kMR14TFQN";
11704
11704
  readonly 'MyOS/MyOS Agent Channel': "4fYuD2ZdTQpm5T6Xtibge9SKkNA8RrvDVmKmArrToQQW";
@@ -11724,24 +11724,24 @@ declare const _default: {
11724
11724
  readonly 'MyOS/Payment Initiation Requested': "26eFVecG5eovbFVYf7YcdN2bFhuFiNhRFxrCZSBb1H3r";
11725
11725
  readonly 'MyOS/Payment Target Preparation Failed': "GSfJG3nahccpaqXHWBXes8RvNDENL17bz2yXdvn1suRY";
11726
11726
  readonly 'MyOS/Payment Target Preparation Requested': "EmMN2rpkHKmaw4Q1THLJAZBAiT7HyXex8RBu1yiapJP5";
11727
- readonly 'MyOS/Payment Target Prepared': "3KTJBMse6aFELjAG6iJa9bo5XdJagLzQZdPkee64iVW1";
11727
+ readonly 'MyOS/Payment Target Prepared': "N7tRCfv2oxjN8ncrkPQb8c16CjUdJbM7aWDUJDR1C5k";
11728
11728
  readonly 'MyOS/Principal Actor': "5GB8C22LsZGR3kkEmP5j5Zye7SR173ojzzUK99tUcoP";
11729
11729
  readonly 'MyOS/Removing Participant Requested': "8PrHr6fcJ1xMyNFptEy2sksyYYuZ48Ypkcnjv4V2WcoD";
11730
11730
  readonly 'MyOS/Removing Participant Responded': "6efzqM67y1po3YWbsbYSkKW8L41Tx8THeMv1q1TksAmr";
11731
11731
  readonly 'MyOS/Search Contract': "5KdjguBmn7AwB9d8tjKxRh4xUHU9T8WDJ4dbaY6qgPvx";
11732
11732
  readonly 'MyOS/Session Epoch Advanced': "9CvxqAMJhqcFoLr5nXSEdWDZUMD383xhJtyFwXsCqD9E";
11733
- readonly 'MyOS/Single Document Permission Grant Requested': "Ef7EvcR5He11JtgBFtswYTHEfUKnTHmFysMTo3ZsoQby";
11734
- readonly 'MyOS/Single Document Permission Grant Responded': "5jtNV7xpaim18pUQp4uvron8uHfTjPSi6kUZQdCMGsKa";
11735
- readonly 'MyOS/Single Document Permission Grant To Account': "y6JF5WHZjDq9PokMtHpqKhxbY7W6RQ41PBymPx7kjLz";
11736
- readonly 'MyOS/Single Document Permission Grant To Document': "3SQR9pgQoY8rE9XhSmDDbKdHwe7ZZDaX4hPkYirhjYmD";
11737
- readonly 'MyOS/Single Document Permission Granted': "BZPjcZmkuJpVFDYAZMexdG68KKFhgabnieBdG6DpHexR";
11738
- readonly 'MyOS/Single Document Permission Granting in Progress': "5dYUepkS2uQHtzhVYoHEtR4x8vaMRtNuHyiqqTvRrKGY";
11733
+ readonly 'MyOS/Single Document Permission Grant Requested': "FAMQpJfZvF5gJphKzq96Bn2iLuJgMJwMek798cw8LR9D";
11734
+ readonly 'MyOS/Single Document Permission Grant Responded': "aydjXRi7sz7352Pnbs25ko4cat9w4YnM6LzD5Dtj5T9";
11735
+ readonly 'MyOS/Single Document Permission Grant To Account': "9dmquqNvp5f47KPP3bno4t2DujWSjPtgJcEipMVPFNhN";
11736
+ readonly 'MyOS/Single Document Permission Grant To Document': "BivicTTRkWMt2f9qMqSPgWPEAHyVpAUmBE6xGLt3oVu2";
11737
+ readonly 'MyOS/Single Document Permission Granted': "BqWoMewDiK6GgMVDXeBuPwWL3ka9DadzKu59uU51ZjW3";
11738
+ readonly 'MyOS/Single Document Permission Granting in Progress': "4zC5mdSWymTamZVoQXDMCrFRTARef3RJM49gCSCuBv6F";
11739
11739
  readonly 'MyOS/Single Document Permission Invalid': "567voUMtKJQoqru6ZVPYb4EGwdeV99rUSAqsnod7gqfd";
11740
- readonly 'MyOS/Single Document Permission Rejected': "kHtVfa88aG4NMwCcBgJH9mq7EBqLQUrJVEr92porG5j";
11740
+ readonly 'MyOS/Single Document Permission Rejected': "LaiT21WCsXzGorJ1dDsQ37dP2UtefPxNEwAA81W11WK";
11741
11741
  readonly 'MyOS/Single Document Permission Revoke Requested': "53Kbf5fymxzBCJgf5BdCYCjCb6o5nWS1KWCzL8GkBF42";
11742
11742
  readonly 'MyOS/Single Document Permission Revoked': "29JSV8DwY6x3zfvAqiM7xNc96i46sKcunFYgfywBkF2f";
11743
- readonly 'MyOS/Single Document Permission Revoking in Progress': "Cyr8aNNYedFse1EZ74dy9uXJ59gLH5LhTRyVeLiSMkg8";
11744
- readonly 'MyOS/Single Document Permission Set': "DRDQcve5AjwBK9z6Njfa4MNERko7Uf4ucvARFdC6sL54";
11743
+ readonly 'MyOS/Single Document Permission Revoking in Progress': "CrRfT3MFQneNo99nfdhfgnTKF4fmKtSQEUQN8wTTbnjF";
11744
+ readonly 'MyOS/Single Document Permission Set': "5cZ3J1QiMJEJV4FV5kfSkeG2oJmweWCyJo3v2TSc3Xuw";
11745
11745
  readonly 'MyOS/Single Document Permission Validated': "AG6fiGy88gX5eKoUcHS2BV17EfMssiYZj99kx9RcpKEX";
11746
11746
  readonly 'MyOS/Start Worker Session Requested': "3f9PA4RUDBxs6DsqGEYjna2RNf8XhCDHjQGDjLyNZyRh";
11747
11747
  readonly 'MyOS/Subscribe to Session Requested': "BnrAcFrEHzoARE2yqKmRv7jrPWCbJsVBqSoXwWCaTtrk";
@@ -11750,16 +11750,16 @@ declare const _default: {
11750
11750
  readonly 'MyOS/Subscription to Session Revoked': "GcotFgiqo3GMHp4xKrArDJi7AqciJGgYKvHodoAJwcWp";
11751
11751
  readonly 'MyOS/Subscription Update': "2gc8djtKGGRPjGfMQzvJZMviaXm4ytM1nA4DVbfyjkrW";
11752
11752
  readonly 'MyOS/Target Document Session Started': "FoHDf4WzS4idtPc8rWwVFFvALQ27WzMHxPdXovy7DH4p";
11753
- readonly 'MyOS/Worker Agency Permission': "5J3RXNnALK1ZYAQBrjGwCQ4WpL3YUGHvz9WcGos6mMSp";
11754
- readonly 'MyOS/Worker Agency Permission Grant': "2ARFPC2YDspfN86MT897RDzGUtEEw1B7Lbdvy8Z3ZFQx";
11755
- readonly 'MyOS/Worker Agency Permission Grant Requested': "HF5aRJZqvHn7sDFbwfDGQjkWmTSW9Lee7c9dUBtcdNtK";
11756
- readonly 'MyOS/Worker Agency Permission Granted': "75TkZZcfwGMnD8ReqQg1KhBkdEV9U637TS5bGSv9n2Xn";
11757
- readonly 'MyOS/Worker Agency Permission Granting in Progress': "HzQyVKvSQ2cienAkjW5R8HgTcStPe13p8eoB4vXr7dAc";
11753
+ readonly 'MyOS/Worker Agency Permission': "EKPgicPVdFxx8X4ZBsnx7mT387M3VXDeMjSBnmAreUsS";
11754
+ readonly 'MyOS/Worker Agency Permission Grant': "CoyRC9eUW32e9MdSPy1xdGd4XgRMqBmPSsRe8hwiCJbF";
11755
+ readonly 'MyOS/Worker Agency Permission Grant Requested': "5S64KLDcXLiHWsYP6EGpfANZQsvTH3APsWqqy7D3qqJN";
11756
+ readonly 'MyOS/Worker Agency Permission Granted': "BwYenFh5yEbjEW6FdBzYu2hCkUxGyBW6JJguusvtd5ut";
11757
+ readonly 'MyOS/Worker Agency Permission Granting in Progress': "H4Yn9qiBncFkvBArAjWfqPTSdbiijm4MU74inx1o5eDL";
11758
11758
  readonly 'MyOS/Worker Agency Permission Invalid': "29zvV2MA4XAwLoGoNLLhLMa61mEgGceFnDvMznfQauYY";
11759
- readonly 'MyOS/Worker Agency Permission Rejected': "G1cW5kjZdJrmCwfrwiHXQcJfYfFAY5jEFZNA7u7pFdtY";
11759
+ readonly 'MyOS/Worker Agency Permission Rejected': "HdRkyKgsk74k3QKBxnuy4iWn5u7Pf4wHY3nyJgGZd7jz";
11760
11760
  readonly 'MyOS/Worker Agency Permission Revoke Requested': "5sLtygzt8kxjzDwJLjVcSZj5GCXFyUXKuXxF8UFjfmm7";
11761
11761
  readonly 'MyOS/Worker Agency Permission Revoked': "AMNPp7uGYBgygbnmMS649m6Gf5bNULaEK8aSQ3b4xdrf";
11762
- readonly 'MyOS/Worker Agency Permission Revoking in Progress': "5zNb9H63xeG2RjZ1gzJwyGxvTVzWdyNBb2Te6g8UXd72";
11762
+ readonly 'MyOS/Worker Agency Permission Revoking in Progress': "2xkX43Z7tML7KXJgHp5C7W2W465aGckp3jBVW37GyZqz";
11763
11763
  readonly 'MyOS/Worker Agency Permission Validated': "GMDw72G9CRTJU12Rce9BDWGw8f715RJrWvPL78RYDWH4";
11764
11764
  readonly 'MyOS/Worker Session Starting': "3B7ErHwZ9NHiW4e6msFDt57U8sTvFXZQBEwHzcdNCjmf";
11765
11765
  };
@@ -11864,13 +11864,17 @@ declare const _default: {
11864
11864
  readonly attributesAdded: readonly [];
11865
11865
  }];
11866
11866
  };
11867
- readonly '3SULZSU6Yvi6rVuhGsRX7znRuyt6oWnx1Hdyu6QhdhFj': {
11867
+ readonly '3u1bvMQqqc9sj4zWmwwhQrbdfCn7xrGiN7KEczqq22XG': {
11868
11868
  readonly status: "stable";
11869
11869
  readonly name: "Chat GPT Connector Agent";
11870
11870
  readonly versions: readonly [{
11871
11871
  readonly repositoryVersionIndex: 0;
11872
11872
  readonly typeBlueId: "3SULZSU6Yvi6rVuhGsRX7znRuyt6oWnx1Hdyu6QhdhFj";
11873
11873
  readonly attributesAdded: readonly [];
11874
+ }, {
11875
+ readonly repositoryVersionIndex: 9;
11876
+ readonly typeBlueId: "3u1bvMQqqc9sj4zWmwwhQrbdfCn7xrGiN7KEczqq22XG";
11877
+ readonly attributesAdded: readonly [];
11874
11878
  }];
11875
11879
  };
11876
11880
  readonly HS9yo34TGEAM2LGcNbLh7XPN4goPRhqdGZQkiyh473Wb: {
@@ -11909,13 +11913,17 @@ declare const _default: {
11909
11913
  readonly attributesAdded: readonly [];
11910
11914
  }];
11911
11915
  };
11912
- readonly '4Mse3bdSz9YQbp5KkbUiVmkseK8upp5wexNDUq2rHuEy': {
11916
+ readonly AhSRfEjNdQ8AvA3AFigjdyQzAtoc2J29jpacEcKBNa32: {
11913
11917
  readonly status: "stable";
11914
11918
  readonly name: "Document Session Bootstrap";
11915
11919
  readonly versions: readonly [{
11916
11920
  readonly repositoryVersionIndex: 0;
11917
11921
  readonly typeBlueId: "4Mse3bdSz9YQbp5KkbUiVmkseK8upp5wexNDUq2rHuEy";
11918
11922
  readonly attributesAdded: readonly [];
11923
+ }, {
11924
+ readonly repositoryVersionIndex: 9;
11925
+ readonly typeBlueId: "AhSRfEjNdQ8AvA3AFigjdyQzAtoc2J29jpacEcKBNa32";
11926
+ readonly attributesAdded: readonly [];
11919
11927
  }];
11920
11928
  };
11921
11929
  readonly D9Ret9Hmz5TWxzuJEeauWEuZVPkPL7hcHYsSNY1cZ5zX: {
@@ -11945,48 +11953,48 @@ declare const _default: {
11945
11953
  readonly attributesAdded: readonly [];
11946
11954
  }];
11947
11955
  };
11948
- readonly DBv2TLwytwBgvrSVeauLjTZYycf8hiXgdadoyRVDfjhS: {
11956
+ readonly '6H5NxBuVypoTGEMKHScmszXmrz3nBVQy1FDHrxBRwMmh': {
11949
11957
  readonly status: "dev";
11950
11958
  readonly name: "Linked Documents Permission Grant Requested";
11951
11959
  readonly versions: readonly [{
11952
- readonly repositoryVersionIndex: 0;
11953
- readonly typeBlueId: "DBv2TLwytwBgvrSVeauLjTZYycf8hiXgdadoyRVDfjhS";
11960
+ readonly repositoryVersionIndex: 9;
11961
+ readonly typeBlueId: "6H5NxBuVypoTGEMKHScmszXmrz3nBVQy1FDHrxBRwMmh";
11954
11962
  readonly attributesAdded: readonly [];
11955
11963
  }];
11956
11964
  };
11957
- readonly G5K5cSdn15yLJa6NBmjLuuZzJ5YShSU14kc4vitHpeHz: {
11965
+ readonly FuQov123cM3ph1xcX5Cyx19D2w1vsitpAHfkdasZDE75: {
11958
11966
  readonly status: "dev";
11959
11967
  readonly name: "Linked Documents Permission Grant To Account";
11960
11968
  readonly versions: readonly [{
11961
- readonly repositoryVersionIndex: 0;
11962
- readonly typeBlueId: "G5K5cSdn15yLJa6NBmjLuuZzJ5YShSU14kc4vitHpeHz";
11969
+ readonly repositoryVersionIndex: 9;
11970
+ readonly typeBlueId: "FuQov123cM3ph1xcX5Cyx19D2w1vsitpAHfkdasZDE75";
11963
11971
  readonly attributesAdded: readonly [];
11964
11972
  }];
11965
11973
  };
11966
- readonly DVuSpdSQzjj36rN9Eemu7oReooPe1YaqARx7aanQDppy: {
11974
+ readonly GSMPZr2s6Nb6SwHzx8XwLRwbJnUdboZDPckMQhwLgvJ7: {
11967
11975
  readonly status: "dev";
11968
11976
  readonly name: "Linked Documents Permission Grant To Document";
11969
11977
  readonly versions: readonly [{
11970
- readonly repositoryVersionIndex: 0;
11971
- readonly typeBlueId: "DVuSpdSQzjj36rN9Eemu7oReooPe1YaqARx7aanQDppy";
11978
+ readonly repositoryVersionIndex: 9;
11979
+ readonly typeBlueId: "GSMPZr2s6Nb6SwHzx8XwLRwbJnUdboZDPckMQhwLgvJ7";
11972
11980
  readonly attributesAdded: readonly [];
11973
11981
  }];
11974
11982
  };
11975
- readonly '6kUamSN8Yq4L46PRaKRVc2BnG6xN7HCpmyG2STW3hecZ': {
11983
+ readonly '74TyANquDt5wUqoUfqA6i2CT5rDnfbfCSti1mkxowHpu': {
11976
11984
  readonly status: "dev";
11977
11985
  readonly name: "Linked Documents Permission Granted";
11978
11986
  readonly versions: readonly [{
11979
- readonly repositoryVersionIndex: 0;
11980
- readonly typeBlueId: "6kUamSN8Yq4L46PRaKRVc2BnG6xN7HCpmyG2STW3hecZ";
11987
+ readonly repositoryVersionIndex: 9;
11988
+ readonly typeBlueId: "74TyANquDt5wUqoUfqA6i2CT5rDnfbfCSti1mkxowHpu";
11981
11989
  readonly attributesAdded: readonly [];
11982
11990
  }];
11983
11991
  };
11984
- readonly '8rdTEmuSkwgzj47Uc4tLdSk1wSd8NG5Q6vTFZt8hXbHK': {
11992
+ readonly GuqbETNsYdtm6MdzKy2iqqaQZu617rnjZz3fQFJLjpQ8: {
11985
11993
  readonly status: "dev";
11986
11994
  readonly name: "Linked Documents Permission Granting in Progress";
11987
11995
  readonly versions: readonly [{
11988
- readonly repositoryVersionIndex: 0;
11989
- readonly typeBlueId: "8rdTEmuSkwgzj47Uc4tLdSk1wSd8NG5Q6vTFZt8hXbHK";
11996
+ readonly repositoryVersionIndex: 9;
11997
+ readonly typeBlueId: "GuqbETNsYdtm6MdzKy2iqqaQZu617rnjZz3fQFJLjpQ8";
11990
11998
  readonly attributesAdded: readonly [];
11991
11999
  }];
11992
12000
  };
@@ -11999,12 +12007,12 @@ declare const _default: {
11999
12007
  readonly attributesAdded: readonly [];
12000
12008
  }];
12001
12009
  };
12002
- readonly Cg3FfBGZZSfviaJg4Jsf7Cbg4jLRPYDcrbT65YD4vjxi: {
12010
+ readonly GFs1qrcTSzYq5tEN25GjGngu7fttnPgma6PU7TQ89Hjc: {
12003
12011
  readonly status: "dev";
12004
12012
  readonly name: "Linked Documents Permission Rejected";
12005
12013
  readonly versions: readonly [{
12006
- readonly repositoryVersionIndex: 0;
12007
- readonly typeBlueId: "Cg3FfBGZZSfviaJg4Jsf7Cbg4jLRPYDcrbT65YD4vjxi";
12014
+ readonly repositoryVersionIndex: 9;
12015
+ readonly typeBlueId: "GFs1qrcTSzYq5tEN25GjGngu7fttnPgma6PU7TQ89Hjc";
12008
12016
  readonly attributesAdded: readonly [];
12009
12017
  }];
12010
12018
  };
@@ -12017,30 +12025,30 @@ declare const _default: {
12017
12025
  readonly attributesAdded: readonly [];
12018
12026
  }];
12019
12027
  };
12020
- readonly '9J18sDqoJX8KKutFwuzxeSdXiGuRbJB2yCfADGSKax6h': {
12028
+ readonly '3How2U6g2sZe3xDCnJGAN96bcbyTabrTio7jEShH6pTh': {
12021
12029
  readonly status: "dev";
12022
12030
  readonly name: "Linked Documents Permission Revoked";
12023
12031
  readonly versions: readonly [{
12024
- readonly repositoryVersionIndex: 0;
12025
- readonly typeBlueId: "9J18sDqoJX8KKutFwuzxeSdXiGuRbJB2yCfADGSKax6h";
12032
+ readonly repositoryVersionIndex: 9;
12033
+ readonly typeBlueId: "3How2U6g2sZe3xDCnJGAN96bcbyTabrTio7jEShH6pTh";
12026
12034
  readonly attributesAdded: readonly [];
12027
12035
  }];
12028
12036
  };
12029
- readonly HTvyBGjSkM4gmJxhwznVMM1aU7UUaKCcWQY9qgU6JfvH: {
12037
+ readonly '5EWk4G87GuSwimUr67WJ9KQKGeGhSvjx8qMLmrhxzDDD': {
12030
12038
  readonly status: "dev";
12031
12039
  readonly name: "Linked Documents Permission Revoking in Progress";
12032
12040
  readonly versions: readonly [{
12033
- readonly repositoryVersionIndex: 0;
12034
- readonly typeBlueId: "HTvyBGjSkM4gmJxhwznVMM1aU7UUaKCcWQY9qgU6JfvH";
12041
+ readonly repositoryVersionIndex: 9;
12042
+ readonly typeBlueId: "5EWk4G87GuSwimUr67WJ9KQKGeGhSvjx8qMLmrhxzDDD";
12035
12043
  readonly attributesAdded: readonly [];
12036
12044
  }];
12037
12045
  };
12038
- readonly '75TXyy5E7vbexVAUZcjZ2vdQaG7fJJbAHAgrh8sMtTp5': {
12046
+ readonly '75CyJPe82hSjV9T2tsir5R3343vhqvG41w2EzFhCp5Y9': {
12039
12047
  readonly status: "dev";
12040
12048
  readonly name: "Linked Documents Permission Set";
12041
12049
  readonly versions: readonly [{
12042
- readonly repositoryVersionIndex: 0;
12043
- readonly typeBlueId: "75TXyy5E7vbexVAUZcjZ2vdQaG7fJJbAHAgrh8sMtTp5";
12050
+ readonly repositoryVersionIndex: 9;
12051
+ readonly typeBlueId: "75CyJPe82hSjV9T2tsir5R3343vhqvG41w2EzFhCp5Y9";
12044
12052
  readonly attributesAdded: readonly [];
12045
12053
  }];
12046
12054
  };
@@ -12062,13 +12070,17 @@ declare const _default: {
12062
12070
  readonly attributesAdded: readonly [];
12063
12071
  }];
12064
12072
  };
12065
- readonly Bu4YETSKYW8hHMwVy6zUUoBAGZPxX3KVXfKN9uoCUoJj: {
12073
+ readonly '8qXt15h35iHYF2yBcPJ82HzizzZv7iuU2Lu3qorweJfB': {
12066
12074
  readonly status: "stable";
12067
12075
  readonly name: "MyOS Admin Base";
12068
12076
  readonly versions: readonly [{
12069
12077
  readonly repositoryVersionIndex: 0;
12070
12078
  readonly typeBlueId: "Bu4YETSKYW8hHMwVy6zUUoBAGZPxX3KVXfKN9uoCUoJj";
12071
12079
  readonly attributesAdded: readonly [];
12080
+ }, {
12081
+ readonly repositoryVersionIndex: 9;
12082
+ readonly typeBlueId: "8qXt15h35iHYF2yBcPJ82HzizzZv7iuU2Lu3qorweJfB";
12083
+ readonly attributesAdded: readonly [];
12072
12084
  }];
12073
12085
  };
12074
12086
  readonly '8DQrCT6Mf9wHQyRc4NdYhjFW4FbKi83no2QPe54UhdQ5': {
@@ -12300,12 +12312,12 @@ declare const _default: {
12300
12312
  readonly attributesAdded: readonly [];
12301
12313
  }];
12302
12314
  };
12303
- readonly '3KTJBMse6aFELjAG6iJa9bo5XdJagLzQZdPkee64iVW1': {
12315
+ readonly N7tRCfv2oxjN8ncrkPQb8c16CjUdJbM7aWDUJDR1C5k: {
12304
12316
  readonly status: "dev";
12305
12317
  readonly name: "Payment Target Prepared";
12306
12318
  readonly versions: readonly [{
12307
- readonly repositoryVersionIndex: 2;
12308
- readonly typeBlueId: "3KTJBMse6aFELjAG6iJa9bo5XdJagLzQZdPkee64iVW1";
12319
+ readonly repositoryVersionIndex: 9;
12320
+ readonly typeBlueId: "N7tRCfv2oxjN8ncrkPQb8c16CjUdJbM7aWDUJDR1C5k";
12309
12321
  readonly attributesAdded: readonly [];
12310
12322
  }];
12311
12323
  };
@@ -12354,58 +12366,70 @@ declare const _default: {
12354
12366
  readonly attributesAdded: readonly [];
12355
12367
  }];
12356
12368
  };
12357
- readonly Ef7EvcR5He11JtgBFtswYTHEfUKnTHmFysMTo3ZsoQby: {
12369
+ readonly FAMQpJfZvF5gJphKzq96Bn2iLuJgMJwMek798cw8LR9D: {
12358
12370
  readonly status: "stable";
12359
12371
  readonly name: "Single Document Permission Grant Requested";
12360
12372
  readonly versions: readonly [{
12361
12373
  readonly repositoryVersionIndex: 0;
12362
12374
  readonly typeBlueId: "Ef7EvcR5He11JtgBFtswYTHEfUKnTHmFysMTo3ZsoQby";
12363
12375
  readonly attributesAdded: readonly [];
12376
+ }, {
12377
+ readonly repositoryVersionIndex: 9;
12378
+ readonly typeBlueId: "FAMQpJfZvF5gJphKzq96Bn2iLuJgMJwMek798cw8LR9D";
12379
+ readonly attributesAdded: readonly [];
12364
12380
  }];
12365
12381
  };
12366
- readonly '5jtNV7xpaim18pUQp4uvron8uHfTjPSi6kUZQdCMGsKa': {
12382
+ readonly aydjXRi7sz7352Pnbs25ko4cat9w4YnM6LzD5Dtj5T9: {
12367
12383
  readonly status: "stable";
12368
12384
  readonly name: "Single Document Permission Grant Responded";
12369
12385
  readonly versions: readonly [{
12370
12386
  readonly repositoryVersionIndex: 0;
12371
12387
  readonly typeBlueId: "5jtNV7xpaim18pUQp4uvron8uHfTjPSi6kUZQdCMGsKa";
12372
12388
  readonly attributesAdded: readonly [];
12389
+ }, {
12390
+ readonly repositoryVersionIndex: 9;
12391
+ readonly typeBlueId: "aydjXRi7sz7352Pnbs25ko4cat9w4YnM6LzD5Dtj5T9";
12392
+ readonly attributesAdded: readonly [];
12373
12393
  }];
12374
12394
  };
12375
- readonly y6JF5WHZjDq9PokMtHpqKhxbY7W6RQ41PBymPx7kjLz: {
12395
+ readonly '9dmquqNvp5f47KPP3bno4t2DujWSjPtgJcEipMVPFNhN': {
12376
12396
  readonly status: "dev";
12377
12397
  readonly name: "Single Document Permission Grant To Account";
12378
12398
  readonly versions: readonly [{
12379
- readonly repositoryVersionIndex: 0;
12380
- readonly typeBlueId: "y6JF5WHZjDq9PokMtHpqKhxbY7W6RQ41PBymPx7kjLz";
12399
+ readonly repositoryVersionIndex: 9;
12400
+ readonly typeBlueId: "9dmquqNvp5f47KPP3bno4t2DujWSjPtgJcEipMVPFNhN";
12381
12401
  readonly attributesAdded: readonly [];
12382
12402
  }];
12383
12403
  };
12384
- readonly '3SQR9pgQoY8rE9XhSmDDbKdHwe7ZZDaX4hPkYirhjYmD': {
12404
+ readonly BivicTTRkWMt2f9qMqSPgWPEAHyVpAUmBE6xGLt3oVu2: {
12385
12405
  readonly status: "dev";
12386
12406
  readonly name: "Single Document Permission Grant To Document";
12387
12407
  readonly versions: readonly [{
12388
- readonly repositoryVersionIndex: 0;
12389
- readonly typeBlueId: "3SQR9pgQoY8rE9XhSmDDbKdHwe7ZZDaX4hPkYirhjYmD";
12408
+ readonly repositoryVersionIndex: 9;
12409
+ readonly typeBlueId: "BivicTTRkWMt2f9qMqSPgWPEAHyVpAUmBE6xGLt3oVu2";
12390
12410
  readonly attributesAdded: readonly [];
12391
12411
  }];
12392
12412
  };
12393
- readonly BZPjcZmkuJpVFDYAZMexdG68KKFhgabnieBdG6DpHexR: {
12413
+ readonly BqWoMewDiK6GgMVDXeBuPwWL3ka9DadzKu59uU51ZjW3: {
12394
12414
  readonly status: "dev";
12395
12415
  readonly name: "Single Document Permission Granted";
12396
12416
  readonly versions: readonly [{
12397
- readonly repositoryVersionIndex: 0;
12398
- readonly typeBlueId: "BZPjcZmkuJpVFDYAZMexdG68KKFhgabnieBdG6DpHexR";
12417
+ readonly repositoryVersionIndex: 9;
12418
+ readonly typeBlueId: "BqWoMewDiK6GgMVDXeBuPwWL3ka9DadzKu59uU51ZjW3";
12399
12419
  readonly attributesAdded: readonly [];
12400
12420
  }];
12401
12421
  };
12402
- readonly '5dYUepkS2uQHtzhVYoHEtR4x8vaMRtNuHyiqqTvRrKGY': {
12422
+ readonly '4zC5mdSWymTamZVoQXDMCrFRTARef3RJM49gCSCuBv6F': {
12403
12423
  readonly status: "stable";
12404
12424
  readonly name: "Single Document Permission Granting in Progress";
12405
12425
  readonly versions: readonly [{
12406
12426
  readonly repositoryVersionIndex: 0;
12407
12427
  readonly typeBlueId: "5dYUepkS2uQHtzhVYoHEtR4x8vaMRtNuHyiqqTvRrKGY";
12408
12428
  readonly attributesAdded: readonly [];
12429
+ }, {
12430
+ readonly repositoryVersionIndex: 9;
12431
+ readonly typeBlueId: "4zC5mdSWymTamZVoQXDMCrFRTARef3RJM49gCSCuBv6F";
12432
+ readonly attributesAdded: readonly [];
12409
12433
  }];
12410
12434
  };
12411
12435
  readonly '567voUMtKJQoqru6ZVPYb4EGwdeV99rUSAqsnod7gqfd': {
@@ -12417,13 +12441,17 @@ declare const _default: {
12417
12441
  readonly attributesAdded: readonly [];
12418
12442
  }];
12419
12443
  };
12420
- readonly kHtVfa88aG4NMwCcBgJH9mq7EBqLQUrJVEr92porG5j: {
12444
+ readonly LaiT21WCsXzGorJ1dDsQ37dP2UtefPxNEwAA81W11WK: {
12421
12445
  readonly status: "stable";
12422
12446
  readonly name: "Single Document Permission Rejected";
12423
12447
  readonly versions: readonly [{
12424
12448
  readonly repositoryVersionIndex: 0;
12425
12449
  readonly typeBlueId: "kHtVfa88aG4NMwCcBgJH9mq7EBqLQUrJVEr92porG5j";
12426
12450
  readonly attributesAdded: readonly [];
12451
+ }, {
12452
+ readonly repositoryVersionIndex: 9;
12453
+ readonly typeBlueId: "LaiT21WCsXzGorJ1dDsQ37dP2UtefPxNEwAA81W11WK";
12454
+ readonly attributesAdded: readonly [];
12427
12455
  }];
12428
12456
  };
12429
12457
  readonly '53Kbf5fymxzBCJgf5BdCYCjCb6o5nWS1KWCzL8GkBF42': {
@@ -12444,22 +12472,30 @@ declare const _default: {
12444
12472
  readonly attributesAdded: readonly [];
12445
12473
  }];
12446
12474
  };
12447
- readonly Cyr8aNNYedFse1EZ74dy9uXJ59gLH5LhTRyVeLiSMkg8: {
12475
+ readonly CrRfT3MFQneNo99nfdhfgnTKF4fmKtSQEUQN8wTTbnjF: {
12448
12476
  readonly status: "stable";
12449
12477
  readonly name: "Single Document Permission Revoking in Progress";
12450
12478
  readonly versions: readonly [{
12451
12479
  readonly repositoryVersionIndex: 0;
12452
12480
  readonly typeBlueId: "Cyr8aNNYedFse1EZ74dy9uXJ59gLH5LhTRyVeLiSMkg8";
12453
12481
  readonly attributesAdded: readonly [];
12482
+ }, {
12483
+ readonly repositoryVersionIndex: 9;
12484
+ readonly typeBlueId: "CrRfT3MFQneNo99nfdhfgnTKF4fmKtSQEUQN8wTTbnjF";
12485
+ readonly attributesAdded: readonly [];
12454
12486
  }];
12455
12487
  };
12456
- readonly DRDQcve5AjwBK9z6Njfa4MNERko7Uf4ucvARFdC6sL54: {
12488
+ readonly '5cZ3J1QiMJEJV4FV5kfSkeG2oJmweWCyJo3v2TSc3Xuw': {
12457
12489
  readonly status: "stable";
12458
12490
  readonly name: "Single Document Permission Set";
12459
12491
  readonly versions: readonly [{
12460
12492
  readonly repositoryVersionIndex: 0;
12461
12493
  readonly typeBlueId: "DRDQcve5AjwBK9z6Njfa4MNERko7Uf4ucvARFdC6sL54";
12462
12494
  readonly attributesAdded: readonly [];
12495
+ }, {
12496
+ readonly repositoryVersionIndex: 9;
12497
+ readonly typeBlueId: "5cZ3J1QiMJEJV4FV5kfSkeG2oJmweWCyJo3v2TSc3Xuw";
12498
+ readonly attributesAdded: readonly [];
12463
12499
  }];
12464
12500
  };
12465
12501
  readonly AG6fiGy88gX5eKoUcHS2BV17EfMssiYZj99kx9RcpKEX: {
@@ -12534,49 +12570,61 @@ declare const _default: {
12534
12570
  readonly attributesAdded: readonly [];
12535
12571
  }];
12536
12572
  };
12537
- readonly '5J3RXNnALK1ZYAQBrjGwCQ4WpL3YUGHvz9WcGos6mMSp': {
12573
+ readonly EKPgicPVdFxx8X4ZBsnx7mT387M3VXDeMjSBnmAreUsS: {
12538
12574
  readonly status: "stable";
12539
12575
  readonly name: "Worker Agency Permission";
12540
12576
  readonly versions: readonly [{
12541
12577
  readonly repositoryVersionIndex: 0;
12542
12578
  readonly typeBlueId: "5J3RXNnALK1ZYAQBrjGwCQ4WpL3YUGHvz9WcGos6mMSp";
12543
12579
  readonly attributesAdded: readonly [];
12580
+ }, {
12581
+ readonly repositoryVersionIndex: 9;
12582
+ readonly typeBlueId: "EKPgicPVdFxx8X4ZBsnx7mT387M3VXDeMjSBnmAreUsS";
12583
+ readonly attributesAdded: readonly [];
12544
12584
  }];
12545
12585
  };
12546
- readonly '2ARFPC2YDspfN86MT897RDzGUtEEw1B7Lbdvy8Z3ZFQx': {
12586
+ readonly CoyRC9eUW32e9MdSPy1xdGd4XgRMqBmPSsRe8hwiCJbF: {
12547
12587
  readonly status: "dev";
12548
12588
  readonly name: "Worker Agency Permission Grant";
12549
12589
  readonly versions: readonly [{
12550
- readonly repositoryVersionIndex: 0;
12551
- readonly typeBlueId: "2ARFPC2YDspfN86MT897RDzGUtEEw1B7Lbdvy8Z3ZFQx";
12590
+ readonly repositoryVersionIndex: 9;
12591
+ readonly typeBlueId: "CoyRC9eUW32e9MdSPy1xdGd4XgRMqBmPSsRe8hwiCJbF";
12552
12592
  readonly attributesAdded: readonly [];
12553
12593
  }];
12554
12594
  };
12555
- readonly HF5aRJZqvHn7sDFbwfDGQjkWmTSW9Lee7c9dUBtcdNtK: {
12595
+ readonly '5S64KLDcXLiHWsYP6EGpfANZQsvTH3APsWqqy7D3qqJN': {
12556
12596
  readonly status: "stable";
12557
12597
  readonly name: "Worker Agency Permission Grant Requested";
12558
12598
  readonly versions: readonly [{
12559
12599
  readonly repositoryVersionIndex: 0;
12560
12600
  readonly typeBlueId: "HF5aRJZqvHn7sDFbwfDGQjkWmTSW9Lee7c9dUBtcdNtK";
12561
12601
  readonly attributesAdded: readonly [];
12602
+ }, {
12603
+ readonly repositoryVersionIndex: 9;
12604
+ readonly typeBlueId: "5S64KLDcXLiHWsYP6EGpfANZQsvTH3APsWqqy7D3qqJN";
12605
+ readonly attributesAdded: readonly [];
12562
12606
  }];
12563
12607
  };
12564
- readonly '75TkZZcfwGMnD8ReqQg1KhBkdEV9U637TS5bGSv9n2Xn': {
12608
+ readonly BwYenFh5yEbjEW6FdBzYu2hCkUxGyBW6JJguusvtd5ut: {
12565
12609
  readonly status: "dev";
12566
12610
  readonly name: "Worker Agency Permission Granted";
12567
12611
  readonly versions: readonly [{
12568
- readonly repositoryVersionIndex: 0;
12569
- readonly typeBlueId: "75TkZZcfwGMnD8ReqQg1KhBkdEV9U637TS5bGSv9n2Xn";
12612
+ readonly repositoryVersionIndex: 9;
12613
+ readonly typeBlueId: "BwYenFh5yEbjEW6FdBzYu2hCkUxGyBW6JJguusvtd5ut";
12570
12614
  readonly attributesAdded: readonly [];
12571
12615
  }];
12572
12616
  };
12573
- readonly HzQyVKvSQ2cienAkjW5R8HgTcStPe13p8eoB4vXr7dAc: {
12617
+ readonly H4Yn9qiBncFkvBArAjWfqPTSdbiijm4MU74inx1o5eDL: {
12574
12618
  readonly status: "stable";
12575
12619
  readonly name: "Worker Agency Permission Granting in Progress";
12576
12620
  readonly versions: readonly [{
12577
12621
  readonly repositoryVersionIndex: 0;
12578
12622
  readonly typeBlueId: "HzQyVKvSQ2cienAkjW5R8HgTcStPe13p8eoB4vXr7dAc";
12579
12623
  readonly attributesAdded: readonly [];
12624
+ }, {
12625
+ readonly repositoryVersionIndex: 9;
12626
+ readonly typeBlueId: "H4Yn9qiBncFkvBArAjWfqPTSdbiijm4MU74inx1o5eDL";
12627
+ readonly attributesAdded: readonly [];
12580
12628
  }];
12581
12629
  };
12582
12630
  readonly '29zvV2MA4XAwLoGoNLLhLMa61mEgGceFnDvMznfQauYY': {
@@ -12588,13 +12636,17 @@ declare const _default: {
12588
12636
  readonly attributesAdded: readonly [];
12589
12637
  }];
12590
12638
  };
12591
- readonly G1cW5kjZdJrmCwfrwiHXQcJfYfFAY5jEFZNA7u7pFdtY: {
12639
+ readonly HdRkyKgsk74k3QKBxnuy4iWn5u7Pf4wHY3nyJgGZd7jz: {
12592
12640
  readonly status: "stable";
12593
12641
  readonly name: "Worker Agency Permission Rejected";
12594
12642
  readonly versions: readonly [{
12595
12643
  readonly repositoryVersionIndex: 0;
12596
12644
  readonly typeBlueId: "G1cW5kjZdJrmCwfrwiHXQcJfYfFAY5jEFZNA7u7pFdtY";
12597
12645
  readonly attributesAdded: readonly [];
12646
+ }, {
12647
+ readonly repositoryVersionIndex: 9;
12648
+ readonly typeBlueId: "HdRkyKgsk74k3QKBxnuy4iWn5u7Pf4wHY3nyJgGZd7jz";
12649
+ readonly attributesAdded: readonly [];
12598
12650
  }];
12599
12651
  };
12600
12652
  readonly '5sLtygzt8kxjzDwJLjVcSZj5GCXFyUXKuXxF8UFjfmm7': {
@@ -12615,13 +12667,17 @@ declare const _default: {
12615
12667
  readonly attributesAdded: readonly [];
12616
12668
  }];
12617
12669
  };
12618
- readonly '5zNb9H63xeG2RjZ1gzJwyGxvTVzWdyNBb2Te6g8UXd72': {
12670
+ readonly '2xkX43Z7tML7KXJgHp5C7W2W465aGckp3jBVW37GyZqz': {
12619
12671
  readonly status: "stable";
12620
12672
  readonly name: "Worker Agency Permission Revoking in Progress";
12621
12673
  readonly versions: readonly [{
12622
12674
  readonly repositoryVersionIndex: 0;
12623
12675
  readonly typeBlueId: "5zNb9H63xeG2RjZ1gzJwyGxvTVzWdyNBb2Te6g8UXd72";
12624
12676
  readonly attributesAdded: readonly [];
12677
+ }, {
12678
+ readonly repositoryVersionIndex: 9;
12679
+ readonly typeBlueId: "2xkX43Z7tML7KXJgHp5C7W2W465aGckp3jBVW37GyZqz";
12680
+ readonly attributesAdded: readonly [];
12625
12681
  }];
12626
12682
  };
12627
12683
  readonly GMDw72G9CRTJU12Rce9BDWGw8f715RJrWvPL78RYDWH4: {