@blue-repository/types 0.7.0 → 0.8.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 (80) 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 +1 -6
  5. package/dist/meta.js.map +1 -1
  6. package/dist/packages/common/index.d.ts +1 -1
  7. package/dist/packages/common/meta.d.ts +1 -1
  8. package/dist/packages/common/meta.js +1 -1
  9. package/dist/packages/conversation/blue-ids.d.ts +7 -7
  10. package/dist/packages/conversation/blue-ids.js +7 -7
  11. package/dist/packages/conversation/contents/AcceptChangeWorkflow.d.ts +2 -2
  12. package/dist/packages/conversation/contents/AcceptChangeWorkflow.js +2 -2
  13. package/dist/packages/conversation/contents/ChangeWorkflow.d.ts +2 -2
  14. package/dist/packages/conversation/contents/ChangeWorkflow.js +2 -2
  15. package/dist/packages/conversation/contents/JavaScriptCode.d.ts +1 -1
  16. package/dist/packages/conversation/contents/JavaScriptCode.js +1 -1
  17. package/dist/packages/conversation/contents/JavaScriptCode.js.map +1 -1
  18. package/dist/packages/conversation/contents/ProposeChangeWorkflow.d.ts +2 -2
  19. package/dist/packages/conversation/contents/ProposeChangeWorkflow.js +2 -2
  20. package/dist/packages/conversation/contents/RejectChangeWorkflow.d.ts +2 -2
  21. package/dist/packages/conversation/contents/RejectChangeWorkflow.js +2 -2
  22. package/dist/packages/conversation/contents/TriggerEvent.d.ts +1 -1
  23. package/dist/packages/conversation/contents/TriggerEvent.js +1 -1
  24. package/dist/packages/conversation/contents/TriggerEvent.js.map +1 -1
  25. package/dist/packages/conversation/contents/UpdateDocument.d.ts +1 -1
  26. package/dist/packages/conversation/contents/UpdateDocument.js +1 -1
  27. package/dist/packages/conversation/contents/UpdateDocument.js.map +1 -1
  28. package/dist/packages/conversation/contents/index.d.ts +170 -170
  29. package/dist/packages/conversation/contents/index.d.ts.map +1 -1
  30. package/dist/packages/conversation/contents/index.js +21 -21
  31. package/dist/packages/conversation/contents/index.js.map +1 -1
  32. package/dist/packages/conversation/index.d.ts +206 -206
  33. package/dist/packages/conversation/meta.d.ts +36 -36
  34. package/dist/packages/conversation/meta.js +29 -29
  35. package/dist/packages/conversation/meta.js.map +1 -1
  36. package/dist/packages/conversation/schemas/index.d.ts +7 -7
  37. package/dist/packages/conversation/schemas/index.js +7 -7
  38. package/dist/packages/conversation/schemas/index.js.map +1 -1
  39. package/dist/packages/myos/blue-ids.d.ts +8 -8
  40. package/dist/packages/myos/blue-ids.js +8 -8
  41. package/dist/packages/myos/contents/ChatGPTConnectorAgent.d.ts +1 -1
  42. package/dist/packages/myos/contents/ChatGPTConnectorAgent.js +1 -1
  43. package/dist/packages/myos/contents/DocumentSessionBootstrap.d.ts +9 -9
  44. package/dist/packages/myos/contents/DocumentSessionBootstrap.js +9 -9
  45. package/dist/packages/myos/contents/LinkedDocumentsPermissionGrantToAccount.d.ts +3 -3
  46. package/dist/packages/myos/contents/LinkedDocumentsPermissionGrantToAccount.js +3 -3
  47. package/dist/packages/myos/contents/LinkedDocumentsPermissionGrantToDocument.d.ts +3 -3
  48. package/dist/packages/myos/contents/LinkedDocumentsPermissionGrantToDocument.js +3 -3
  49. package/dist/packages/myos/contents/MyOSAdminBase.d.ts +1 -1
  50. package/dist/packages/myos/contents/MyOSAdminBase.js +1 -1
  51. package/dist/packages/myos/contents/SingleDocumentPermissionGrantToAccount.d.ts +3 -3
  52. package/dist/packages/myos/contents/SingleDocumentPermissionGrantToAccount.js +3 -3
  53. package/dist/packages/myos/contents/SingleDocumentPermissionGrantToDocument.d.ts +3 -3
  54. package/dist/packages/myos/contents/SingleDocumentPermissionGrantToDocument.js +3 -3
  55. package/dist/packages/myos/contents/WorkerAgencyPermissionGrant.d.ts +3 -3
  56. package/dist/packages/myos/contents/WorkerAgencyPermissionGrant.js +3 -3
  57. package/dist/packages/myos/contents/index.d.ts +585 -585
  58. package/dist/packages/myos/contents/index.d.ts.map +1 -1
  59. package/dist/packages/myos/contents/index.js +24 -24
  60. package/dist/packages/myos/contents/index.js.map +1 -1
  61. package/dist/packages/myos/index.d.ts +667 -667
  62. package/dist/packages/myos/meta.d.ts +37 -37
  63. package/dist/packages/myos/meta.js +29 -29
  64. package/dist/packages/myos/meta.js.map +1 -1
  65. package/dist/packages/myos/schemas/index.d.ts +8 -8
  66. package/dist/packages/myos/schemas/index.js +8 -8
  67. package/dist/packages/myos/schemas/index.js.map +1 -1
  68. package/dist/packages/paynote/blue-ids.d.ts +1 -1
  69. package/dist/packages/paynote/blue-ids.js +1 -1
  70. package/dist/packages/paynote/contents/PayNoteDelivery.d.ts +9 -9
  71. package/dist/packages/paynote/contents/PayNoteDelivery.js +9 -9
  72. package/dist/packages/paynote/contents/index.d.ts +18 -18
  73. package/dist/packages/paynote/contents/index.js +3 -3
  74. package/dist/packages/paynote/index.d.ts +34 -34
  75. package/dist/packages/paynote/meta.d.ts +16 -16
  76. package/dist/packages/paynote/meta.js +15 -15
  77. package/dist/packages/paynote/schemas/index.d.ts +1 -1
  78. package/dist/packages/paynote/schemas/index.js +1 -1
  79. package/dist/repository.d.ts +990 -990
  80. package/package.json +2 -2
@@ -60,111 +60,6 @@ declare const _default: {
60
60
  readonly blueId: "3Ge54FsGJaaeZmm8nTKJdS6HVdYhiR3g18fDwg3Ev1Sa";
61
61
  };
62
62
  };
63
- readonly '2NN4VerhNHSyBcyoJpgtcuURkss2QRMmGkocQobJ8JYP': {
64
- readonly allowedWorkerAgencyPermissions: {
65
- readonly itemType: {
66
- readonly blueId: "5J3RXNnALK1ZYAQBrjGwCQ4WpL3YUGHvz9WcGos6mMSp";
67
- };
68
- readonly type: {
69
- readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
70
- };
71
- };
72
- readonly contracts: {
73
- readonly granterChannel: {
74
- readonly description: "Granter/owner’s timeline (actor allowed to request revoke)";
75
- readonly type: {
76
- readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
77
- };
78
- };
79
- readonly initLifecycleChannel: {
80
- readonly event: {
81
- readonly type: {
82
- readonly blueId: "BrpmpNt5JkapeUvPqYcxgXZrHNZX3R757dRwuXXdfNM2";
83
- };
84
- };
85
- readonly type: {
86
- readonly blueId: "H2aCCTUcLMTJozWkn7HPUjyFBFxamraw1q8DyWk87zxr";
87
- };
88
- };
89
- readonly revoke: {
90
- readonly channel: {
91
- readonly type: {
92
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
93
- };
94
- readonly value: "granterChannel";
95
- };
96
- readonly description: "Granter requests revocation (handled by MyOS Admin)";
97
- readonly request: {
98
- readonly description: "Optional human-readable reason";
99
- readonly type: {
100
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
101
- };
102
- };
103
- readonly type: {
104
- readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
105
- };
106
- };
107
- readonly revokeImplGranter: {
108
- readonly operation: {
109
- readonly type: {
110
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
111
- };
112
- readonly value: "revoke";
113
- };
114
- readonly steps: {
115
- readonly items: readonly [{
116
- readonly code: {
117
- readonly type: {
118
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
119
- };
120
- readonly value: "return {\n events: [\n {\n type: \"MyOS/Worker Agency Permission Revoke Requested\",\n reason: event.message.request\n }\n ]\n};\n";
121
- };
122
- readonly name: "EmitRevokeRequested";
123
- readonly type: {
124
- readonly blueId: "3hYcmWMtMUPAzXBLFLb7BpuG9537tuTJPCr7pxWXvTZK";
125
- };
126
- }];
127
- };
128
- readonly type: {
129
- readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
130
- };
131
- };
132
- readonly validateOnInit: {
133
- readonly channel: {
134
- readonly type: {
135
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
136
- };
137
- readonly value: "initLifecycleChannel";
138
- };
139
- readonly steps: {
140
- readonly items: readonly [{
141
- readonly code: {
142
- readonly type: {
143
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
144
- };
145
- 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\n// --- granter binding (owner account) ---\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// --- grantee (parent worker) session id ---\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// --- allowedWorkerAgencyPermissions : list of { workerType, permissions } ---\nconst list = document('/allowedWorkerAgencyPermissions');\nif (!Array.isArray(list) || list.length === 0) {\n issues.push(\"allowedWorkerAgencyPermissions must be a non-empty array\");\n} else {\n // helper: validate Single Document Permission Set\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 // read must be true to allow any access at all\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 // Note: it is valid to have read=true with neither allOps nor singleOps (read-only template)\n };\n const seenTypes = new Set();\n list.forEach((item, idx) => {\n const itemPath = `/allowedWorkerAgencyPermissions[${idx}]`;\n // shape\n if (typeof item !== 'object' || item === null) {\n issues.push(`${itemPath} must be an object`);\n return;\n }\n // workerType\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 // permissions (Single Document Permission Set)\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";
146
- };
147
- readonly name: "ValidateBasicShape";
148
- readonly type: {
149
- readonly blueId: "3hYcmWMtMUPAzXBLFLb7BpuG9537tuTJPCr7pxWXvTZK";
150
- };
151
- }];
152
- };
153
- readonly type: {
154
- readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
155
- };
156
- };
157
- };
158
- readonly granteeDocumentId: {
159
- readonly type: {
160
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
161
- };
162
- };
163
- readonly name: "Worker Agency Permission Grant";
164
- readonly type: {
165
- readonly blueId: "FHzfgUb3eTqBkgDi1n5QNw5PC1QYGycEVs1c3YSrZ53o";
166
- };
167
- };
168
63
  readonly '3B7ErHwZ9NHiW4e6msFDt57U8sTvFXZQBEwHzcdNCjmf': {
169
64
  readonly description: "Worker session is starting.";
170
65
  readonly granteeDocumentId: {
@@ -242,122 +137,6 @@ declare const _default: {
242
137
  readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
243
138
  };
244
139
  };
245
- readonly '3nHZjceYBWLD6nWXo354UhdU5vZWy26rUTL8aRj3xEmd': {
246
- readonly contracts: {
247
- readonly granteeChannel: {
248
- readonly description: "Grantee’s timeline (recipient of the rights)";
249
- readonly type: {
250
- readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
251
- };
252
- };
253
- readonly granterChannel: {
254
- readonly description: "Granter/owner’s timeline (actor allowed to request revoke)";
255
- readonly type: {
256
- readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
257
- };
258
- };
259
- readonly initLifecycleChannel: {
260
- readonly event: {
261
- readonly type: {
262
- readonly blueId: "BrpmpNt5JkapeUvPqYcxgXZrHNZX3R757dRwuXXdfNM2";
263
- };
264
- };
265
- readonly type: {
266
- readonly blueId: "H2aCCTUcLMTJozWkn7HPUjyFBFxamraw1q8DyWk87zxr";
267
- };
268
- };
269
- readonly revoke: {
270
- readonly channel: {
271
- readonly type: {
272
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
273
- };
274
- readonly value: "granterChannel";
275
- };
276
- readonly description: "Granter or grantee indicates the grant should be revoked (MyOS Admin will handle)";
277
- readonly request: {
278
- readonly description: "Optional human-readable reason";
279
- readonly type: {
280
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
281
- };
282
- };
283
- readonly type: {
284
- readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
285
- };
286
- };
287
- readonly revokeImplGranter: {
288
- readonly operation: {
289
- readonly type: {
290
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
291
- };
292
- readonly value: "revoke";
293
- };
294
- readonly steps: {
295
- readonly items: readonly [{
296
- readonly code: {
297
- readonly type: {
298
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
299
- };
300
- readonly value: "return {\n events: [\n {\n type: \"MyOS/Linked Documents Permission Revoke Requested\",\n reason: event.message.request\n }\n ]\n};\n";
301
- };
302
- readonly name: "EmitRevokeRequested";
303
- readonly type: {
304
- readonly blueId: "3hYcmWMtMUPAzXBLFLb7BpuG9537tuTJPCr7pxWXvTZK";
305
- };
306
- }];
307
- };
308
- readonly type: {
309
- readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
310
- };
311
- };
312
- readonly validateOnInit: {
313
- readonly channel: {
314
- readonly type: {
315
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
316
- };
317
- readonly value: "initLifecycleChannel";
318
- };
319
- readonly steps: {
320
- readonly items: readonly [{
321
- readonly code: {
322
- readonly type: {
323
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
324
- };
325
- readonly value: "const issues = [];\n\n// Required: target session\nconst target = document('/targetSessionId');\nif (!target || typeof target !== 'string') issues.push(\"targetSessionId is missing or invalid\");\n\n// Required: bound identities\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\n// Required: links\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";
326
- };
327
- readonly name: "ValidateBasicShape";
328
- readonly type: {
329
- readonly blueId: "3hYcmWMtMUPAzXBLFLb7BpuG9537tuTJPCr7pxWXvTZK";
330
- };
331
- }];
332
- };
333
- readonly type: {
334
- readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
335
- };
336
- };
337
- };
338
- readonly granterDocumentSessionId: {
339
- 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";
340
- readonly type: {
341
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
342
- };
343
- };
344
- readonly links: {
345
- readonly description: "Map from anchor name to permissions that will be granted for documents linked to the base document via that anchor.";
346
- readonly type: {
347
- readonly blueId: "75TXyy5E7vbexVAUZcjZ2vdQaG7fJJbAHAgrh8sMtTp5";
348
- };
349
- };
350
- readonly name: "Linked Documents Permission Grant To Account";
351
- readonly targetSessionId: {
352
- readonly description: "Base document session id whose anchors define the scope of this grant.";
353
- readonly type: {
354
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
355
- };
356
- };
357
- readonly type: {
358
- readonly blueId: "FHzfgUb3eTqBkgDi1n5QNw5PC1QYGycEVs1c3YSrZ53o";
359
- };
360
- };
361
140
  readonly '3P4vsTx8Ky2pucXxKgkn8MouveP2DBRjkwZckCG5b9Lb': {
362
141
  readonly description: "MyOS Admin forwards operation Response events to the requesting session";
363
142
  readonly events: {
@@ -398,126 +177,80 @@ declare const _default: {
398
177
  readonly blueId: "CN5efWVizJbRsMCw8YWRfT2q9vM9XfeGDN9wFvYcvMnQ";
399
178
  };
400
179
  };
401
- readonly '488CnQXrxMyNAgCVgL85SyHxUK5rZzWzd81eo4JkVHRD': {
180
+ readonly '3SULZSU6Yvi6rVuhGsRX7znRuyt6oWnx1Hdyu6QhdhFj': {
402
181
  readonly contracts: {
403
- readonly granterChannel: {
404
- readonly description: "Granter/owner’s timeline (actor allowed to request revoke)";
182
+ readonly ownerChannel: {
405
183
  readonly type: {
406
184
  readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
407
185
  };
408
186
  };
409
- readonly initLifecycleChannel: {
410
- readonly event: {
411
- readonly type: {
412
- readonly blueId: "BrpmpNt5JkapeUvPqYcxgXZrHNZX3R757dRwuXXdfNM2";
413
- };
414
- };
415
- readonly type: {
416
- readonly blueId: "H2aCCTUcLMTJozWkn7HPUjyFBFxamraw1q8DyWk87zxr";
417
- };
418
- };
419
- readonly revoke: {
187
+ readonly startWorker: {
420
188
  readonly channel: {
421
189
  readonly type: {
422
190
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
423
191
  };
424
- readonly value: "granterChannel";
192
+ readonly value: "ownerChannel";
425
193
  };
426
- readonly description: "Granter indicates the grant should be revoked (MyOS Admin will handle)";
194
+ readonly description: "Prompt the user to install a provided MyOS Package";
427
195
  readonly request: {
428
- readonly description: "Optional human-readable reason";
429
- readonly type: {
430
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
196
+ readonly package: {
197
+ readonly description: "MyOS Package";
198
+ readonly type: {
199
+ readonly blueId: "5cg55kgH8ckRVji4oWSBBxthJQFYmB5Lb1Pea7achyNr";
200
+ };
431
201
  };
432
202
  };
433
203
  readonly type: {
434
204
  readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
435
205
  };
436
206
  };
437
- readonly revokeImplGranter: {
207
+ readonly startWorkerImpl: {
438
208
  readonly operation: {
439
209
  readonly type: {
440
210
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
441
211
  };
442
- readonly value: "revoke";
212
+ readonly value: "startWorker";
443
213
  };
444
214
  readonly steps: {
445
215
  readonly items: readonly [{
446
- readonly code: {
447
- readonly type: {
448
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
216
+ readonly event: {
217
+ readonly message: {
218
+ readonly type: {
219
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
220
+ };
221
+ readonly value: "A package has been prepared for you. Review and install.";
222
+ };
223
+ readonly package: {
224
+ readonly type: {
225
+ readonly blueId: "5cg55kgH8ckRVji4oWSBBxthJQFYmB5Lb1Pea7achyNr";
226
+ };
227
+ readonly value: "${event.message.request.package}";
228
+ };
229
+ readonly title: {
230
+ readonly type: {
231
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
232
+ };
233
+ readonly value: "ChatGPT is requesting permission to launch a new agent";
449
234
  };
450
- readonly value: "return {\n events: [\n {\n type: \"MyOS/Linked Documents Permission Revoke Requested\",\n reason: event.message.request\n }\n ]\n};\n";
451
- };
452
- readonly name: "EmitRevokeRequested";
453
- readonly type: {
454
- readonly blueId: "3hYcmWMtMUPAzXBLFLb7BpuG9537tuTJPCr7pxWXvTZK";
455
- };
456
- }];
457
- };
458
- readonly type: {
459
- readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
460
- };
461
- };
462
- readonly validateOnInit: {
463
- readonly channel: {
464
- readonly type: {
465
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
466
- };
467
- readonly value: "initLifecycleChannel";
468
- };
469
- readonly steps: {
470
- readonly items: readonly [{
471
- readonly code: {
472
235
  readonly type: {
473
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
236
+ readonly blueId: "CrGV4ZYjvPvMqrgNQAfgZCUnFjFW6HDjYNdon2chLKU3";
474
237
  };
475
- readonly value: "const skipValidation = document('/skipValidation');\nif (skipValidation === true) return { events: [] };\n\nconst issues = [];\n\n// Required: target session\nconst target = document('/targetSessionId');\nif (!target || typeof target !== 'string') issues.push(\"targetSessionId is missing or invalid\");\n\n// Required: bound granter identity\nconst granterId = document('/contracts/granterChannel/accountId');\nif (typeof granterId !== 'string' || granterId.length === 0) issues.push(\"granterChannel must be bound to an accountId\");\n\n// Required: grantee document id\nconst gdoc = document('/granteeDocumentId');\nif (typeof gdoc !== 'string' || gdoc.trim().length === 0) issues.push(\"granteeDocumentId must be a non-empty string\");\n\n// Required: links\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";
476
238
  };
477
- readonly name: "ValidateBasicShape";
239
+ readonly name: "Emit Install Prompt";
478
240
  readonly type: {
479
- readonly blueId: "3hYcmWMtMUPAzXBLFLb7BpuG9537tuTJPCr7pxWXvTZK";
241
+ readonly blueId: "2bSWEoMSZwzf32Hnr4BDVsuq8NRjrWEpnhZvMZAJGhh2";
480
242
  };
481
243
  }];
482
244
  };
483
245
  readonly type: {
484
- readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
246
+ readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
485
247
  };
486
248
  };
487
249
  };
488
- readonly granteeDocumentId: {
489
- readonly description: "Required original document id (blueId) that will act as the 'document' principal.";
490
- readonly type: {
491
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
492
- };
493
- };
494
- readonly granterDocumentSessionId: {
495
- 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";
496
- readonly type: {
497
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
498
- };
499
- };
500
- readonly links: {
501
- readonly description: "Map from anchor name to permissions that will be granted for documents linked to the base document via that anchor.";
502
- readonly type: {
503
- readonly blueId: "75TXyy5E7vbexVAUZcjZ2vdQaG7fJJbAHAgrh8sMtTp5";
504
- };
505
- };
506
- readonly name: "Linked Documents Permission Grant To Document";
507
- readonly skipValidation: {
508
- readonly description: "If true, the validation will be skipped (MyOS Admin won't be triggered to create permission grant)";
509
- readonly type: {
510
- readonly blueId: "4EzhSubEimSQD3zrYHRtobfPPWntUuhEz8YcdxHsi12u";
511
- };
512
- };
513
- readonly targetSessionId: {
514
- readonly description: "Base document session id whose anchors define the scope of this grant.";
515
- readonly type: {
516
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
517
- };
518
- };
250
+ readonly description: "Lets the owner prompt installation of a provided MyOS Package.";
251
+ readonly name: "Chat GPT Connector Agent";
519
252
  readonly type: {
520
- readonly blueId: "FHzfgUb3eTqBkgDi1n5QNw5PC1QYGycEVs1c3YSrZ53o";
253
+ readonly blueId: "8s2rAFDtiB6sCwqeURkT4Lq7fcc2FXBkmX9B9p7R4Boc";
521
254
  };
522
255
  };
523
256
  readonly '4cmrbevB6K23ZenjqwmNxpnaw6RF4VB3wkP7XB59V7W5': {
@@ -716,40 +449,162 @@ declare const _default: {
716
449
  readonly itemType: {
717
450
  readonly blueId: "5J3RXNnALK1ZYAQBrjGwCQ4WpL3YUGHvz9WcGos6mMSp";
718
451
  };
719
- readonly type: {
720
- readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
452
+ readonly type: {
453
+ readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
454
+ };
455
+ };
456
+ readonly description: "MyOS Admin is retracting rights granted by this WAG.";
457
+ readonly granteeDocumentId: {
458
+ readonly type: {
459
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
460
+ };
461
+ };
462
+ readonly name: "Worker Agency Permission Revoking in Progress";
463
+ readonly note: {
464
+ readonly type: {
465
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
466
+ };
467
+ };
468
+ readonly type: {
469
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
470
+ };
471
+ };
472
+ readonly '6efzqM67y1po3YWbsbYSkKW8L41Tx8THeMv1q1TksAmr': {
473
+ readonly name: "Removing Participant Responded";
474
+ readonly request: {
475
+ readonly type: {
476
+ readonly blueId: "8PrHr6fcJ1xMyNFptEy2sksyYYuZ48Ypkcnjv4V2WcoD";
477
+ };
478
+ };
479
+ readonly status: {
480
+ readonly type: {
481
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
482
+ };
483
+ };
484
+ readonly type: {
485
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
486
+ };
487
+ };
488
+ readonly '6fEj6jD4eEVJwjH9Z2aQ9HsqdaCzbppfsYL2mFLx32YP': {
489
+ readonly contracts: {
490
+ readonly granterChannel: {
491
+ readonly description: "Granter/owner’s timeline (actor allowed to request revoke)";
492
+ readonly type: {
493
+ readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
494
+ };
495
+ };
496
+ readonly initLifecycleChannel: {
497
+ readonly event: {
498
+ readonly type: {
499
+ readonly blueId: "BrpmpNt5JkapeUvPqYcxgXZrHNZX3R757dRwuXXdfNM2";
500
+ };
501
+ };
502
+ readonly type: {
503
+ readonly blueId: "H2aCCTUcLMTJozWkn7HPUjyFBFxamraw1q8DyWk87zxr";
504
+ };
505
+ };
506
+ readonly revoke: {
507
+ readonly channel: {
508
+ readonly type: {
509
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
510
+ };
511
+ readonly value: "granterChannel";
512
+ };
513
+ readonly description: "Granter requests revocation (handled by MyOS Admin)";
514
+ readonly request: {
515
+ readonly description: "Optional human-readable reason";
516
+ readonly type: {
517
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
518
+ };
519
+ };
520
+ readonly type: {
521
+ readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
522
+ };
523
+ };
524
+ readonly revokeImplGranter: {
525
+ readonly operation: {
526
+ readonly type: {
527
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
528
+ };
529
+ readonly value: "revoke";
530
+ };
531
+ readonly steps: {
532
+ readonly items: readonly [{
533
+ readonly code: {
534
+ readonly type: {
535
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
536
+ };
537
+ readonly value: "return {\n events: [\n {\n type: \"MyOS/Single Document Permission Revoke Requested\",\n reason: event.message.request\n }\n ]\n};\n";
538
+ };
539
+ readonly name: "EmitRevokeRequested";
540
+ readonly type: {
541
+ readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
542
+ };
543
+ }];
544
+ };
545
+ readonly type: {
546
+ readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
547
+ };
548
+ };
549
+ readonly validateOnInit: {
550
+ readonly channel: {
551
+ readonly type: {
552
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
553
+ };
554
+ readonly value: "initLifecycleChannel";
555
+ };
556
+ readonly steps: {
557
+ readonly items: readonly [{
558
+ readonly code: {
559
+ readonly type: {
560
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
561
+ };
562
+ readonly value: "const skipValidation = document('/skipValidation');\nif (skipValidation === true) return { events: [] };\n\nconst issues = [];\n\n// Required: target session\nconst target = document('/targetSessionId');\nif (!target || typeof target !== 'string') issues.push(\"targetSessionId is missing or invalid\");\n\n// Required: bound granter identity\nconst granterId = document('/contracts/granterChannel/accountId');\nif (typeof granterId !== 'string' || granterId.length === 0) issues.push(\"granterChannel must be bound to an accountId\");\n\n// Required: grantee document id\nconst gdoc = document('/granteeDocumentId');\nif (typeof gdoc !== 'string' || gdoc.trim().length === 0) issues.push(\"granteeDocumentId must be a non-empty string (originalBlueId)\");\n\n// Permissions\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";
563
+ };
564
+ readonly name: "ValidateBasicShape";
565
+ readonly type: {
566
+ readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
567
+ };
568
+ }];
569
+ };
570
+ readonly type: {
571
+ readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
572
+ };
721
573
  };
722
574
  };
723
- readonly description: "MyOS Admin is retracting rights granted by this WAG.";
724
575
  readonly granteeDocumentId: {
576
+ readonly description: "Required original document id (blueId) that will act as the grantee principal ('document')";
725
577
  readonly type: {
726
578
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
727
579
  };
728
580
  };
729
- readonly name: "Worker Agency Permission Revoking in Progress";
730
- readonly note: {
581
+ readonly granterDocumentSessionId: {
582
+ readonly description: "Optional. If set, MyOS should evaluate authority using this document session as the principal (instead of granter accountId).";
731
583
  readonly type: {
732
584
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
733
585
  };
734
586
  };
735
- readonly type: {
736
- readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
587
+ readonly name: "Single Document Permission Grant To Document";
588
+ readonly permissions: {
589
+ 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).";
590
+ readonly type: {
591
+ readonly blueId: "DRDQcve5AjwBK9z6Njfa4MNERko7Uf4ucvARFdC6sL54";
592
+ };
737
593
  };
738
- };
739
- readonly '6efzqM67y1po3YWbsbYSkKW8L41Tx8THeMv1q1TksAmr': {
740
- readonly name: "Removing Participant Responded";
741
- readonly request: {
594
+ readonly skipValidation: {
595
+ readonly description: "If true, the validation will be skipped (MyOS Admin won't be triggered to create permission grant)";
742
596
  readonly type: {
743
- readonly blueId: "8PrHr6fcJ1xMyNFptEy2sksyYYuZ48Ypkcnjv4V2WcoD";
597
+ readonly blueId: "4EzhSubEimSQD3zrYHRtobfPPWntUuhEz8YcdxHsi12u";
744
598
  };
745
599
  };
746
- readonly status: {
600
+ readonly targetSessionId: {
601
+ readonly description: "Target document session id to grant access to";
747
602
  readonly type: {
748
603
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
749
604
  };
750
605
  };
751
606
  readonly type: {
752
- readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
607
+ readonly blueId: "Bu4YETSKYW8hHMwVy6zUUoBAGZPxX3KVXfKN9uoCUoJj";
753
608
  };
754
609
  };
755
610
  readonly '6fTSbBwfj3zkin6EjGevF16QzokKa1xNXrDjdQwbDir7': {
@@ -764,36 +619,7 @@ declare const _default: {
764
619
  readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
765
620
  };
766
621
  };
767
- readonly '6tzp2YX1rei3aAXg22SqYbeiiteGthj1LesTNCWm7wbU': {
768
- readonly name: "MyOS Participants Orchestration";
769
- };
770
- readonly '75TXyy5E7vbexVAUZcjZ2vdQaG7fJJbAHAgrh8sMtTp5': {
771
- readonly description: "Map from anchor name to permissions that will be granted for documents linked to the base document via that anchor.";
772
- readonly keyType: {
773
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
774
- };
775
- readonly name: "Linked Documents Permission Set";
776
- readonly type: {
777
- readonly blueId: "G7fBT9PSod1RfHLHkpafAGBDVAJMrMhAMY51ERcyXNrj";
778
- };
779
- readonly valueType: {
780
- readonly blueId: "DRDQcve5AjwBK9z6Njfa4MNERko7Uf4ucvARFdC6sL54";
781
- };
782
- };
783
- readonly '7Usvk6dZMVqas3yqs23ZEXn1zu1YDPjgYiZFNYaw3puH': {
784
- readonly description: "Dictionary of named incoming connection points (anchors) that other documents can link to. Links to an anchor are by its dictionary key.";
785
- readonly keyType: {
786
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
787
- };
788
- readonly name: "Document Anchors";
789
- readonly type: {
790
- readonly blueId: "G7fBT9PSod1RfHLHkpafAGBDVAJMrMhAMY51ERcyXNrj";
791
- };
792
- readonly valueType: {
793
- readonly blueId: "HS9yo34TGEAM2LGcNbLh7XPN4goPRhqdGZQkiyh473Wb";
794
- };
795
- };
796
- readonly '84xMEnEYr3DPBuYZL3JtcsZBBTtRH9fEEJiPnk7ASj1o': {
622
+ readonly '6HC9zdAPTChMDo8okX3rYTz4aeCEKCr8TtU2WmfugdSJ': {
797
623
  readonly bootstrapError: {
798
624
  readonly description: "Error message explaining bootstrap failure";
799
625
  readonly type: {
@@ -869,7 +695,7 @@ declare const _default: {
869
695
  };
870
696
  readonly name: "Update Error Message";
871
697
  readonly type: {
872
- readonly blueId: "BnnNLCnKF49TUJ1bRfZ5rSMaFw8SVfUNfnE4kJFG7HtM";
698
+ readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
873
699
  };
874
700
  }, {
875
701
  readonly code: {
@@ -880,7 +706,7 @@ declare const _default: {
880
706
  };
881
707
  readonly name: "Emit Failure Event";
882
708
  readonly type: {
883
- readonly blueId: "3hYcmWMtMUPAzXBLFLb7BpuG9537tuTJPCr7pxWXvTZK";
709
+ readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
884
710
  };
885
711
  }];
886
712
  };
@@ -910,7 +736,7 @@ declare const _default: {
910
736
  };
911
737
  readonly name: "Prepare Participant State";
912
738
  readonly type: {
913
- readonly blueId: "3hYcmWMtMUPAzXBLFLb7BpuG9537tuTJPCr7pxWXvTZK";
739
+ readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
914
740
  };
915
741
  }, {
916
742
  readonly changeset: {
@@ -937,7 +763,7 @@ declare const _default: {
937
763
  };
938
764
  readonly name: "Update Participants State";
939
765
  readonly type: {
940
- readonly blueId: "BnnNLCnKF49TUJ1bRfZ5rSMaFw8SVfUNfnE4kJFG7HtM";
766
+ readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
941
767
  };
942
768
  }];
943
769
  };
@@ -983,7 +809,7 @@ declare const _default: {
983
809
  };
984
810
  readonly name: "Update Bootstrap Status";
985
811
  readonly type: {
986
- readonly blueId: "BnnNLCnKF49TUJ1bRfZ5rSMaFw8SVfUNfnE4kJFG7HtM";
812
+ readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
987
813
  };
988
814
  }];
989
815
  };
@@ -1029,7 +855,7 @@ declare const _default: {
1029
855
  };
1030
856
  readonly name: "Update Initiator Session";
1031
857
  readonly type: {
1032
- readonly blueId: "BnnNLCnKF49TUJ1bRfZ5rSMaFw8SVfUNfnE4kJFG7HtM";
858
+ readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
1033
859
  };
1034
860
  }, {
1035
861
  readonly code: {
@@ -1040,7 +866,7 @@ declare const _default: {
1040
866
  };
1041
867
  readonly name: "Emit Completion Event";
1042
868
  readonly type: {
1043
- readonly blueId: "3hYcmWMtMUPAzXBLFLb7BpuG9537tuTJPCr7pxWXvTZK";
869
+ readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
1044
870
  };
1045
871
  }];
1046
872
  };
@@ -1080,7 +906,7 @@ declare const _default: {
1080
906
  };
1081
907
  readonly name: "Initialize Bootstrap Status";
1082
908
  readonly type: {
1083
- readonly blueId: "BnnNLCnKF49TUJ1bRfZ5rSMaFw8SVfUNfnE4kJFG7HtM";
909
+ readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
1084
910
  };
1085
911
  }];
1086
912
  };
@@ -1152,7 +978,36 @@ declare const _default: {
1152
978
  };
1153
979
  };
1154
980
  readonly type: {
1155
- readonly blueId: "FHzfgUb3eTqBkgDi1n5QNw5PC1QYGycEVs1c3YSrZ53o";
981
+ readonly blueId: "Bu4YETSKYW8hHMwVy6zUUoBAGZPxX3KVXfKN9uoCUoJj";
982
+ };
983
+ };
984
+ readonly '6tzp2YX1rei3aAXg22SqYbeiiteGthj1LesTNCWm7wbU': {
985
+ readonly name: "MyOS Participants Orchestration";
986
+ };
987
+ readonly '75TXyy5E7vbexVAUZcjZ2vdQaG7fJJbAHAgrh8sMtTp5': {
988
+ readonly description: "Map from anchor name to permissions that will be granted for documents linked to the base document via that anchor.";
989
+ readonly keyType: {
990
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
991
+ };
992
+ readonly name: "Linked Documents Permission Set";
993
+ readonly type: {
994
+ readonly blueId: "G7fBT9PSod1RfHLHkpafAGBDVAJMrMhAMY51ERcyXNrj";
995
+ };
996
+ readonly valueType: {
997
+ readonly blueId: "DRDQcve5AjwBK9z6Njfa4MNERko7Uf4ucvARFdC6sL54";
998
+ };
999
+ };
1000
+ readonly '7Usvk6dZMVqas3yqs23ZEXn1zu1YDPjgYiZFNYaw3puH': {
1001
+ readonly description: "Dictionary of named incoming connection points (anchors) that other documents can link to. Links to an anchor are by its dictionary key.";
1002
+ readonly keyType: {
1003
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1004
+ };
1005
+ readonly name: "Document Anchors";
1006
+ readonly type: {
1007
+ readonly blueId: "G7fBT9PSod1RfHLHkpafAGBDVAJMrMhAMY51ERcyXNrj";
1008
+ };
1009
+ readonly valueType: {
1010
+ readonly blueId: "HS9yo34TGEAM2LGcNbLh7XPN4goPRhqdGZQkiyh473Wb";
1156
1011
  };
1157
1012
  };
1158
1013
  readonly '8DQrCT6Mf9wHQyRc4NdYhjFW4FbKi83no2QPe54UhdQ5': {
@@ -1272,70 +1127,297 @@ declare const _default: {
1272
1127
  readonly description: "How to identify the new user.";
1273
1128
  readonly email: {
1274
1129
  readonly type: {
1275
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1130
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1131
+ };
1132
+ };
1133
+ };
1134
+ readonly type: {
1135
+ readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
1136
+ };
1137
+ };
1138
+ readonly '9CvxqAMJhqcFoLr5nXSEdWDZUMD383xhJtyFwXsCqD9E': {
1139
+ readonly description: "Snapshot captured from a target session epoch emission.";
1140
+ readonly document: {
1141
+ readonly description: "Document state after the emission.";
1142
+ };
1143
+ readonly epoch: {
1144
+ readonly description: "Epoch number.";
1145
+ readonly type: {
1146
+ readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
1147
+ };
1148
+ };
1149
+ readonly name: "Session Epoch Advanced";
1150
+ readonly sessionId: {
1151
+ readonly description: "Session whose state advanced.";
1152
+ readonly type: {
1153
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1154
+ };
1155
+ };
1156
+ readonly timestamp: {
1157
+ readonly description: "ISO 8601 timestamp for the emission.";
1158
+ readonly type: {
1159
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1160
+ };
1161
+ };
1162
+ readonly type: {
1163
+ readonly blueId: "5Wz4G9qcnBJnntYRkz4dgLK5bSuoMpYJZj4j5M59z4we";
1164
+ };
1165
+ };
1166
+ readonly '9iEADVdqxqgacF3GAZVMFZu4m5ywuNpsGzButLUNkPWo': {
1167
+ readonly name: "Bootstrap Failed";
1168
+ readonly reason: {
1169
+ readonly type: {
1170
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1171
+ };
1172
+ };
1173
+ };
1174
+ readonly '9J18sDqoJX8KKutFwuzxeSdXiGuRbJB2yCfADGSKax6h': {
1175
+ readonly description: "All rights from this LDPG have been revoked.";
1176
+ readonly links: {
1177
+ readonly type: {
1178
+ readonly blueId: "75TXyy5E7vbexVAUZcjZ2vdQaG7fJJbAHAgrh8sMtTp5";
1179
+ };
1180
+ };
1181
+ readonly name: "Linked Documents Permission Revoked";
1182
+ readonly reason: {
1183
+ readonly type: {
1184
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1185
+ };
1186
+ };
1187
+ readonly targetSessionId: {
1188
+ readonly type: {
1189
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1190
+ };
1191
+ };
1192
+ readonly type: {
1193
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1194
+ };
1195
+ };
1196
+ readonly A2dveyQFp6dYJgigdRuZW3dsbdeiG2HzHnjaobAHJCvY: {
1197
+ readonly contracts: {
1198
+ readonly granterChannel: {
1199
+ readonly description: "Granter/owner’s timeline (actor allowed to request revoke)";
1200
+ readonly type: {
1201
+ readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
1202
+ };
1203
+ };
1204
+ readonly initLifecycleChannel: {
1205
+ readonly event: {
1206
+ readonly type: {
1207
+ readonly blueId: "BrpmpNt5JkapeUvPqYcxgXZrHNZX3R757dRwuXXdfNM2";
1208
+ };
1209
+ };
1210
+ readonly type: {
1211
+ readonly blueId: "H2aCCTUcLMTJozWkn7HPUjyFBFxamraw1q8DyWk87zxr";
1212
+ };
1213
+ };
1214
+ readonly revoke: {
1215
+ readonly channel: {
1216
+ readonly type: {
1217
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1218
+ };
1219
+ readonly value: "granterChannel";
1220
+ };
1221
+ readonly description: "Granter indicates the grant should be revoked (MyOS Admin will handle)";
1222
+ readonly request: {
1223
+ readonly description: "Optional human-readable reason";
1224
+ readonly type: {
1225
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1226
+ };
1227
+ };
1228
+ readonly type: {
1229
+ readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
1230
+ };
1231
+ };
1232
+ readonly revokeImplGranter: {
1233
+ readonly operation: {
1234
+ readonly type: {
1235
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1236
+ };
1237
+ readonly value: "revoke";
1238
+ };
1239
+ readonly steps: {
1240
+ readonly items: readonly [{
1241
+ readonly code: {
1242
+ readonly type: {
1243
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1244
+ };
1245
+ readonly value: "return {\n events: [\n {\n type: \"MyOS/Linked Documents Permission Revoke Requested\",\n reason: event.message.request\n }\n ]\n};\n";
1246
+ };
1247
+ readonly name: "EmitRevokeRequested";
1248
+ readonly type: {
1249
+ readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
1250
+ };
1251
+ }];
1252
+ };
1253
+ readonly type: {
1254
+ readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
1255
+ };
1256
+ };
1257
+ readonly validateOnInit: {
1258
+ readonly channel: {
1259
+ readonly type: {
1260
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1261
+ };
1262
+ readonly value: "initLifecycleChannel";
1263
+ };
1264
+ readonly steps: {
1265
+ readonly items: readonly [{
1266
+ readonly code: {
1267
+ readonly type: {
1268
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1269
+ };
1270
+ readonly value: "const skipValidation = document('/skipValidation');\nif (skipValidation === true) return { events: [] };\n\nconst issues = [];\n\n// Required: target session\nconst target = document('/targetSessionId');\nif (!target || typeof target !== 'string') issues.push(\"targetSessionId is missing or invalid\");\n\n// Required: bound granter identity\nconst granterId = document('/contracts/granterChannel/accountId');\nif (typeof granterId !== 'string' || granterId.length === 0) issues.push(\"granterChannel must be bound to an accountId\");\n\n// Required: grantee document id\nconst gdoc = document('/granteeDocumentId');\nif (typeof gdoc !== 'string' || gdoc.trim().length === 0) issues.push(\"granteeDocumentId must be a non-empty string\");\n\n// Required: links\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";
1271
+ };
1272
+ readonly name: "ValidateBasicShape";
1273
+ readonly type: {
1274
+ readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
1275
+ };
1276
+ }];
1277
+ };
1278
+ readonly type: {
1279
+ readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
1276
1280
  };
1277
1281
  };
1278
1282
  };
1279
- readonly type: {
1280
- readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
1281
- };
1282
- };
1283
- readonly '9CvxqAMJhqcFoLr5nXSEdWDZUMD383xhJtyFwXsCqD9E': {
1284
- readonly description: "Snapshot captured from a target session epoch emission.";
1285
- readonly document: {
1286
- readonly description: "Document state after the emission.";
1287
- };
1288
- readonly epoch: {
1289
- readonly description: "Epoch number.";
1283
+ readonly granteeDocumentId: {
1284
+ readonly description: "Required original document id (blueId) that will act as the 'document' principal.";
1290
1285
  readonly type: {
1291
- readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
1286
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1292
1287
  };
1293
1288
  };
1294
- readonly name: "Session Epoch Advanced";
1295
- readonly sessionId: {
1296
- readonly description: "Session whose state advanced.";
1289
+ readonly granterDocumentSessionId: {
1290
+ 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";
1297
1291
  readonly type: {
1298
1292
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1299
1293
  };
1300
1294
  };
1301
- readonly timestamp: {
1302
- readonly description: "ISO 8601 timestamp for the emission.";
1295
+ readonly links: {
1296
+ readonly description: "Map from anchor name to permissions that will be granted for documents linked to the base document via that anchor.";
1303
1297
  readonly type: {
1304
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1298
+ readonly blueId: "75TXyy5E7vbexVAUZcjZ2vdQaG7fJJbAHAgrh8sMtTp5";
1305
1299
  };
1306
1300
  };
1307
- readonly type: {
1308
- readonly blueId: "5Wz4G9qcnBJnntYRkz4dgLK5bSuoMpYJZj4j5M59z4we";
1301
+ readonly name: "Linked Documents Permission Grant To Document";
1302
+ readonly skipValidation: {
1303
+ readonly description: "If true, the validation will be skipped (MyOS Admin won't be triggered to create permission grant)";
1304
+ readonly type: {
1305
+ readonly blueId: "4EzhSubEimSQD3zrYHRtobfPPWntUuhEz8YcdxHsi12u";
1306
+ };
1309
1307
  };
1310
- };
1311
- readonly '9iEADVdqxqgacF3GAZVMFZu4m5ywuNpsGzButLUNkPWo': {
1312
- readonly name: "Bootstrap Failed";
1313
- readonly reason: {
1308
+ readonly targetSessionId: {
1309
+ readonly description: "Base document session id whose anchors define the scope of this grant.";
1314
1310
  readonly type: {
1315
1311
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1316
1312
  };
1317
1313
  };
1314
+ readonly type: {
1315
+ readonly blueId: "Bu4YETSKYW8hHMwVy6zUUoBAGZPxX3KVXfKN9uoCUoJj";
1316
+ };
1318
1317
  };
1319
- readonly '9J18sDqoJX8KKutFwuzxeSdXiGuRbJB2yCfADGSKax6h': {
1320
- readonly description: "All rights from this LDPG have been revoked.";
1321
- readonly links: {
1318
+ readonly A73AVDR9GWAshFUC2Me2qXNns2HECzbadtsgp5zxCjGx: {
1319
+ readonly allowedWorkerAgencyPermissions: {
1320
+ readonly itemType: {
1321
+ readonly blueId: "5J3RXNnALK1ZYAQBrjGwCQ4WpL3YUGHvz9WcGos6mMSp";
1322
+ };
1322
1323
  readonly type: {
1323
- readonly blueId: "75TXyy5E7vbexVAUZcjZ2vdQaG7fJJbAHAgrh8sMtTp5";
1324
+ readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
1324
1325
  };
1325
1326
  };
1326
- readonly name: "Linked Documents Permission Revoked";
1327
- readonly reason: {
1328
- readonly type: {
1329
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1327
+ readonly contracts: {
1328
+ readonly granterChannel: {
1329
+ readonly description: "Granter/owner’s timeline (actor allowed to request revoke)";
1330
+ readonly type: {
1331
+ readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
1332
+ };
1333
+ };
1334
+ readonly initLifecycleChannel: {
1335
+ readonly event: {
1336
+ readonly type: {
1337
+ readonly blueId: "BrpmpNt5JkapeUvPqYcxgXZrHNZX3R757dRwuXXdfNM2";
1338
+ };
1339
+ };
1340
+ readonly type: {
1341
+ readonly blueId: "H2aCCTUcLMTJozWkn7HPUjyFBFxamraw1q8DyWk87zxr";
1342
+ };
1343
+ };
1344
+ readonly revoke: {
1345
+ readonly channel: {
1346
+ readonly type: {
1347
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1348
+ };
1349
+ readonly value: "granterChannel";
1350
+ };
1351
+ readonly description: "Granter requests revocation (handled by MyOS Admin)";
1352
+ readonly request: {
1353
+ readonly description: "Optional human-readable reason";
1354
+ readonly type: {
1355
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1356
+ };
1357
+ };
1358
+ readonly type: {
1359
+ readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
1360
+ };
1361
+ };
1362
+ readonly revokeImplGranter: {
1363
+ readonly operation: {
1364
+ readonly type: {
1365
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1366
+ };
1367
+ readonly value: "revoke";
1368
+ };
1369
+ readonly steps: {
1370
+ readonly items: readonly [{
1371
+ readonly code: {
1372
+ readonly type: {
1373
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1374
+ };
1375
+ readonly value: "return {\n events: [\n {\n type: \"MyOS/Worker Agency Permission Revoke Requested\",\n reason: event.message.request\n }\n ]\n};\n";
1376
+ };
1377
+ readonly name: "EmitRevokeRequested";
1378
+ readonly type: {
1379
+ readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
1380
+ };
1381
+ }];
1382
+ };
1383
+ readonly type: {
1384
+ readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
1385
+ };
1386
+ };
1387
+ readonly validateOnInit: {
1388
+ readonly channel: {
1389
+ readonly type: {
1390
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1391
+ };
1392
+ readonly value: "initLifecycleChannel";
1393
+ };
1394
+ readonly steps: {
1395
+ readonly items: readonly [{
1396
+ readonly code: {
1397
+ readonly type: {
1398
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1399
+ };
1400
+ 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\n// --- granter binding (owner account) ---\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// --- grantee (parent worker) session id ---\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// --- allowedWorkerAgencyPermissions : list of { workerType, permissions } ---\nconst list = document('/allowedWorkerAgencyPermissions');\nif (!Array.isArray(list) || list.length === 0) {\n issues.push(\"allowedWorkerAgencyPermissions must be a non-empty array\");\n} else {\n // helper: validate Single Document Permission Set\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 // read must be true to allow any access at all\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 // Note: it is valid to have read=true with neither allOps nor singleOps (read-only template)\n };\n const seenTypes = new Set();\n list.forEach((item, idx) => {\n const itemPath = `/allowedWorkerAgencyPermissions[${idx}]`;\n // shape\n if (typeof item !== 'object' || item === null) {\n issues.push(`${itemPath} must be an object`);\n return;\n }\n // workerType\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 // permissions (Single Document Permission Set)\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";
1401
+ };
1402
+ readonly name: "ValidateBasicShape";
1403
+ readonly type: {
1404
+ readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
1405
+ };
1406
+ }];
1407
+ };
1408
+ readonly type: {
1409
+ readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
1410
+ };
1330
1411
  };
1331
1412
  };
1332
- readonly targetSessionId: {
1413
+ readonly granteeDocumentId: {
1333
1414
  readonly type: {
1334
1415
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1335
1416
  };
1336
1417
  };
1418
+ readonly name: "Worker Agency Permission Grant";
1337
1419
  readonly type: {
1338
- readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1420
+ readonly blueId: "Bu4YETSKYW8hHMwVy6zUUoBAGZPxX3KVXfKN9uoCUoJj";
1339
1421
  };
1340
1422
  };
1341
1423
  readonly ABJ7njZbfTXNP173SCoMytQtVfMXCEwPdFhSJ7F3Vbx9: {
@@ -1350,22 +1432,14 @@ declare const _default: {
1350
1432
  readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
1351
1433
  };
1352
1434
  };
1353
- readonly AG6fiGy88gX5eKoUcHS2BV17EfMssiYZj99kx9RcpKEX: {
1354
- readonly description: "Emitted on initialise when local shape checks pass.";
1355
- readonly name: "Single Document Permission Validated";
1356
- readonly type: {
1357
- readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1358
- };
1359
- };
1360
- readonly AMNPp7uGYBgygbnmMS649m6Gf5bNULaEK8aSQ3b4xdrf: {
1361
- readonly description: "Rights granted by this WAG have been retracted.";
1362
- readonly name: "Worker Agency Permission Revoked";
1363
- readonly type: {
1364
- readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1365
- };
1366
- };
1367
- readonly AQyDRNKEkDan8VGNcvBdJCz95HKcwcAurhccHnCgV1j9: {
1435
+ readonly AFX9ct4gYywCbqPUJWaTz4JXS74RxxNPUMNzBMzNGD8c: {
1368
1436
  readonly contracts: {
1437
+ readonly granteeChannel: {
1438
+ readonly description: "Grantee’s timeline (recipient of the rights)";
1439
+ readonly type: {
1440
+ readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
1441
+ };
1442
+ };
1369
1443
  readonly granterChannel: {
1370
1444
  readonly description: "Granter/owner’s timeline (actor allowed to request revoke)";
1371
1445
  readonly type: {
@@ -1389,7 +1463,7 @@ declare const _default: {
1389
1463
  };
1390
1464
  readonly value: "granterChannel";
1391
1465
  };
1392
- readonly description: "Granter requests revocation (handled by MyOS Admin)";
1466
+ readonly description: "Granter or grantee indicates the grant should be revoked (MyOS Admin will handle)";
1393
1467
  readonly request: {
1394
1468
  readonly description: "Optional human-readable reason";
1395
1469
  readonly type: {
@@ -1413,11 +1487,11 @@ declare const _default: {
1413
1487
  readonly type: {
1414
1488
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1415
1489
  };
1416
- readonly value: "return {\n events: [\n {\n type: \"MyOS/Single Document Permission Revoke Requested\",\n reason: event.message.request\n }\n ]\n};\n";
1490
+ readonly value: "return {\n events: [\n {\n type: \"MyOS/Linked Documents Permission Revoke Requested\",\n reason: event.message.request\n }\n ]\n};\n";
1417
1491
  };
1418
1492
  readonly name: "EmitRevokeRequested";
1419
1493
  readonly type: {
1420
- readonly blueId: "3hYcmWMtMUPAzXBLFLb7BpuG9537tuTJPCr7pxWXvTZK";
1494
+ readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
1421
1495
  };
1422
1496
  }];
1423
1497
  };
@@ -1438,11 +1512,11 @@ declare const _default: {
1438
1512
  readonly type: {
1439
1513
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1440
1514
  };
1441
- readonly value: "const skipValidation = document('/skipValidation');\nif (skipValidation === true) return { events: [] };\n\nconst issues = [];\n\n// Required: target session\nconst target = document('/targetSessionId');\nif (!target || typeof target !== 'string') issues.push(\"targetSessionId is missing or invalid\");\n\n// Required: bound granter identity\nconst granterId = document('/contracts/granterChannel/accountId');\nif (typeof granterId !== 'string' || granterId.length === 0) issues.push(\"granterChannel must be bound to an accountId\");\n\n// Required: grantee document id\nconst gdoc = document('/granteeDocumentId');\nif (typeof gdoc !== 'string' || gdoc.trim().length === 0) issues.push(\"granteeDocumentId must be a non-empty string (originalBlueId)\");\n\n// Permissions\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";
1515
+ readonly value: "const issues = [];\n\n// Required: target session\nconst target = document('/targetSessionId');\nif (!target || typeof target !== 'string') issues.push(\"targetSessionId is missing or invalid\");\n\n// Required: bound identities\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\n// Required: links\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";
1442
1516
  };
1443
1517
  readonly name: "ValidateBasicShape";
1444
1518
  readonly type: {
1445
- readonly blueId: "3hYcmWMtMUPAzXBLFLb7BpuG9537tuTJPCr7pxWXvTZK";
1519
+ readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
1446
1520
  };
1447
1521
  }];
1448
1522
  };
@@ -1451,39 +1525,41 @@ declare const _default: {
1451
1525
  };
1452
1526
  };
1453
1527
  };
1454
- readonly granteeDocumentId: {
1455
- readonly description: "Required original document id (blueId) that will act as the grantee principal ('document')";
1456
- readonly type: {
1457
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1458
- };
1459
- };
1460
1528
  readonly granterDocumentSessionId: {
1461
- readonly description: "Optional. If set, MyOS should evaluate authority using this document session as the principal (instead of granter accountId).";
1529
+ 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";
1462
1530
  readonly type: {
1463
1531
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1464
1532
  };
1465
1533
  };
1466
- readonly name: "Single Document Permission Grant To Document";
1467
- readonly permissions: {
1468
- 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).";
1469
- readonly type: {
1470
- readonly blueId: "DRDQcve5AjwBK9z6Njfa4MNERko7Uf4ucvARFdC6sL54";
1471
- };
1472
- };
1473
- readonly skipValidation: {
1474
- readonly description: "If true, the validation will be skipped (MyOS Admin won't be triggered to create permission grant)";
1534
+ readonly links: {
1535
+ readonly description: "Map from anchor name to permissions that will be granted for documents linked to the base document via that anchor.";
1475
1536
  readonly type: {
1476
- readonly blueId: "4EzhSubEimSQD3zrYHRtobfPPWntUuhEz8YcdxHsi12u";
1537
+ readonly blueId: "75TXyy5E7vbexVAUZcjZ2vdQaG7fJJbAHAgrh8sMtTp5";
1477
1538
  };
1478
1539
  };
1540
+ readonly name: "Linked Documents Permission Grant To Account";
1479
1541
  readonly targetSessionId: {
1480
- readonly description: "Target document session id to grant access to";
1542
+ readonly description: "Base document session id whose anchors define the scope of this grant.";
1481
1543
  readonly type: {
1482
1544
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1483
1545
  };
1484
1546
  };
1485
1547
  readonly type: {
1486
- readonly blueId: "FHzfgUb3eTqBkgDi1n5QNw5PC1QYGycEVs1c3YSrZ53o";
1548
+ readonly blueId: "Bu4YETSKYW8hHMwVy6zUUoBAGZPxX3KVXfKN9uoCUoJj";
1549
+ };
1550
+ };
1551
+ readonly AG6fiGy88gX5eKoUcHS2BV17EfMssiYZj99kx9RcpKEX: {
1552
+ readonly description: "Emitted on initialise when local shape checks pass.";
1553
+ readonly name: "Single Document Permission Validated";
1554
+ readonly type: {
1555
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1556
+ };
1557
+ };
1558
+ readonly AMNPp7uGYBgygbnmMS649m6Gf5bNULaEK8aSQ3b4xdrf: {
1559
+ readonly description: "Rights granted by this WAG have been retracted.";
1560
+ readonly name: "Worker Agency Permission Revoked";
1561
+ readonly type: {
1562
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1487
1563
  };
1488
1564
  };
1489
1565
  readonly BaNmvStTGdsBsSHiHbqdhrrC7vfwiQdDK6NYiyRbJowx: {
@@ -1580,9 +1656,59 @@ declare const _default: {
1580
1656
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1581
1657
  };
1582
1658
  };
1583
- readonly type: {
1584
- readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1585
- };
1659
+ readonly type: {
1660
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1661
+ };
1662
+ };
1663
+ readonly Bu4YETSKYW8hHMwVy6zUUoBAGZPxX3KVXfKN9uoCUoJj: {
1664
+ readonly contracts: {
1665
+ readonly myOsAdminChannel: {
1666
+ readonly description: "MyOS Admin (accountId=0) — posts operational progress/decisions via myOsAdminUpdate";
1667
+ readonly type: {
1668
+ readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
1669
+ };
1670
+ };
1671
+ readonly myOsAdminUpdate: {
1672
+ readonly channel: {
1673
+ readonly type: {
1674
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1675
+ };
1676
+ readonly value: "myOsAdminChannel";
1677
+ };
1678
+ readonly description: "The standard, required operation for MyOS Admin to deliver events.";
1679
+ readonly type: {
1680
+ readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
1681
+ };
1682
+ };
1683
+ readonly myOsAdminUpdateImpl: {
1684
+ readonly description: "Implementation that re-emits the provided events";
1685
+ readonly operation: {
1686
+ readonly type: {
1687
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1688
+ };
1689
+ readonly value: "myOsAdminUpdate";
1690
+ };
1691
+ readonly steps: {
1692
+ readonly items: readonly [{
1693
+ readonly code: {
1694
+ readonly type: {
1695
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1696
+ };
1697
+ readonly value: "return { events: event.message.request };\n";
1698
+ };
1699
+ readonly name: "EmitAdminEvents";
1700
+ readonly type: {
1701
+ readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
1702
+ };
1703
+ }];
1704
+ };
1705
+ readonly type: {
1706
+ readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
1707
+ };
1708
+ };
1709
+ };
1710
+ readonly description: "Document base for MyOS Admin participant";
1711
+ readonly name: "MyOS Admin Base";
1586
1712
  };
1587
1713
  readonly CeWyRmXAMZqvWBvby2KbRUZWcS7Pdxs42vnMXgn9gg6H: {
1588
1714
  readonly name: "MyOS Session Interaction";
@@ -1860,7 +1986,65 @@ declare const _default: {
1860
1986
  };
1861
1987
  };
1862
1988
  };
1863
- readonly EVkAZAwJkgjQfTkA3RXpdEX2VgYJtMREmkQEFrojAQ1j: {
1989
+ readonly EVX6nBdHdVEBH9Gbthpd2eqpxaxS4bb9wM55QNdZmcBy: {
1990
+ readonly description: "Document asks MyOS Admin to invoke an operation on a target session.";
1991
+ readonly name: "Call Operation Requested";
1992
+ readonly onBehalfOf: {
1993
+ readonly description: "Channel whose binding provides the requester account.";
1994
+ readonly type: {
1995
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1996
+ };
1997
+ };
1998
+ readonly operation: {
1999
+ readonly description: "Operation name to invoke.";
2000
+ readonly type: {
2001
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2002
+ };
2003
+ };
2004
+ readonly request: {
2005
+ readonly description: "Payload forwarded to the target operation.";
2006
+ };
2007
+ readonly targetSessionId: {
2008
+ readonly description: "Target document session to invoke.";
2009
+ readonly type: {
2010
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2011
+ };
2012
+ };
2013
+ readonly type: {
2014
+ readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
2015
+ };
2016
+ };
2017
+ readonly Ff61TKzxLStjvfMksRNUBif2PRJGJM6XvmTqSf3M76wC: {
2018
+ readonly name: "All Participants Ready";
2019
+ };
2020
+ readonly FoHDf4WzS4idtPc8rWwVFFvALQ27WzMHxPdXovy7DH4p: {
2021
+ readonly document: {
2022
+ readonly description: "The final, canonicalized document state with all timelineIds filled in.";
2023
+ };
2024
+ readonly initiatorSessionIds: {
2025
+ readonly description: "Session IDs created for the bootstrap initiator (caller)";
2026
+ readonly itemType: {
2027
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2028
+ };
2029
+ readonly type: {
2030
+ readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
2031
+ };
2032
+ };
2033
+ readonly name: "Target Document Session Started";
2034
+ };
2035
+ readonly Furgmg5xcJVMDmaQXZRfZ1XehSf7PWctrioo8etRYJHQ: {
2036
+ readonly description: "MyOS-specific timeline entry with account and email information";
2037
+ readonly name: "MyOS Timeline Entry";
2038
+ readonly timeline: {
2039
+ readonly type: {
2040
+ readonly blueId: "2gyToM86KgFJpB8inz8TBVEMZk8UVGYdRozF4mfvxtuk";
2041
+ };
2042
+ };
2043
+ readonly type: {
2044
+ readonly blueId: "EzDiC9Frs8V5yQBMtDYh1DobVnWtWpFemXDX5fGUULBn";
2045
+ };
2046
+ };
2047
+ readonly FZLsSeuoLTki2FpqYTr5nmqnAtKgTnmi18qNaTnRGBs6: {
1864
2048
  readonly contracts: {
1865
2049
  readonly granteeChannel: {
1866
2050
  readonly description: "Grantee’s timeline (recipient of the rights)";
@@ -1919,7 +2103,7 @@ declare const _default: {
1919
2103
  };
1920
2104
  readonly name: "EmitRevokeRequested";
1921
2105
  readonly type: {
1922
- readonly blueId: "3hYcmWMtMUPAzXBLFLb7BpuG9537tuTJPCr7pxWXvTZK";
2106
+ readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
1923
2107
  };
1924
2108
  }];
1925
2109
  };
@@ -1944,7 +2128,7 @@ declare const _default: {
1944
2128
  };
1945
2129
  readonly name: "ValidateBasicShape";
1946
2130
  readonly type: {
1947
- readonly blueId: "3hYcmWMtMUPAzXBLFLb7BpuG9537tuTJPCr7pxWXvTZK";
2131
+ readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
1948
2132
  };
1949
2133
  }];
1950
2134
  };
@@ -1973,115 +2157,7 @@ declare const _default: {
1973
2157
  };
1974
2158
  };
1975
2159
  readonly type: {
1976
- readonly blueId: "FHzfgUb3eTqBkgDi1n5QNw5PC1QYGycEVs1c3YSrZ53o";
1977
- };
1978
- };
1979
- readonly EVX6nBdHdVEBH9Gbthpd2eqpxaxS4bb9wM55QNdZmcBy: {
1980
- readonly description: "Document asks MyOS Admin to invoke an operation on a target session.";
1981
- readonly name: "Call Operation Requested";
1982
- readonly onBehalfOf: {
1983
- readonly description: "Channel whose binding provides the requester account.";
1984
- readonly type: {
1985
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1986
- };
1987
- };
1988
- readonly operation: {
1989
- readonly description: "Operation name to invoke.";
1990
- readonly type: {
1991
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1992
- };
1993
- };
1994
- readonly request: {
1995
- readonly description: "Payload forwarded to the target operation.";
1996
- };
1997
- readonly targetSessionId: {
1998
- readonly description: "Target document session to invoke.";
1999
- readonly type: {
2000
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2001
- };
2002
- };
2003
- readonly type: {
2004
- readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
2005
- };
2006
- };
2007
- readonly Ff61TKzxLStjvfMksRNUBif2PRJGJM6XvmTqSf3M76wC: {
2008
- readonly name: "All Participants Ready";
2009
- };
2010
- readonly FHzfgUb3eTqBkgDi1n5QNw5PC1QYGycEVs1c3YSrZ53o: {
2011
- readonly contracts: {
2012
- readonly myOsAdminChannel: {
2013
- readonly description: "MyOS Admin (accountId=0) — posts operational progress/decisions via myOsAdminUpdate";
2014
- readonly type: {
2015
- readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
2016
- };
2017
- };
2018
- readonly myOsAdminUpdate: {
2019
- readonly channel: {
2020
- readonly type: {
2021
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2022
- };
2023
- readonly value: "myOsAdminChannel";
2024
- };
2025
- readonly description: "The standard, required operation for MyOS Admin to deliver events.";
2026
- readonly type: {
2027
- readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
2028
- };
2029
- };
2030
- readonly myOsAdminUpdateImpl: {
2031
- readonly description: "Implementation that re-emits the provided events";
2032
- readonly operation: {
2033
- readonly type: {
2034
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2035
- };
2036
- readonly value: "myOsAdminUpdate";
2037
- };
2038
- readonly steps: {
2039
- readonly items: readonly [{
2040
- readonly code: {
2041
- readonly type: {
2042
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2043
- };
2044
- readonly value: "return { events: event.message.request };\n";
2045
- };
2046
- readonly name: "EmitAdminEvents";
2047
- readonly type: {
2048
- readonly blueId: "3hYcmWMtMUPAzXBLFLb7BpuG9537tuTJPCr7pxWXvTZK";
2049
- };
2050
- }];
2051
- };
2052
- readonly type: {
2053
- readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
2054
- };
2055
- };
2056
- };
2057
- readonly description: "Document base for MyOS Admin participant";
2058
- readonly name: "MyOS Admin Base";
2059
- };
2060
- readonly FoHDf4WzS4idtPc8rWwVFFvALQ27WzMHxPdXovy7DH4p: {
2061
- readonly document: {
2062
- readonly description: "The final, canonicalized document state with all timelineIds filled in.";
2063
- };
2064
- readonly initiatorSessionIds: {
2065
- readonly description: "Session IDs created for the bootstrap initiator (caller)";
2066
- readonly itemType: {
2067
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2068
- };
2069
- readonly type: {
2070
- readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
2071
- };
2072
- };
2073
- readonly name: "Target Document Session Started";
2074
- };
2075
- readonly Furgmg5xcJVMDmaQXZRfZ1XehSf7PWctrioo8etRYJHQ: {
2076
- readonly description: "MyOS-specific timeline entry with account and email information";
2077
- readonly name: "MyOS Timeline Entry";
2078
- readonly timeline: {
2079
- readonly type: {
2080
- readonly blueId: "2gyToM86KgFJpB8inz8TBVEMZk8UVGYdRozF4mfvxtuk";
2081
- };
2082
- };
2083
- readonly type: {
2084
- readonly blueId: "EzDiC9Frs8V5yQBMtDYh1DobVnWtWpFemXDX5fGUULBn";
2160
+ readonly blueId: "Bu4YETSKYW8hHMwVy6zUUoBAGZPxX3KVXfKN9uoCUoJj";
2085
2161
  };
2086
2162
  };
2087
2163
  readonly G1cW5kjZdJrmCwfrwiHXQcJfYfFAY5jEFZNA7u7pFdtY: {
@@ -2134,82 +2210,6 @@ declare const _default: {
2134
2210
  readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
2135
2211
  };
2136
2212
  };
2137
- readonly GH3Lqn1Vd4G36VjXu2j81SGfNqRUn82tkKiSSguhRp8J: {
2138
- readonly contracts: {
2139
- readonly ownerChannel: {
2140
- readonly type: {
2141
- readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
2142
- };
2143
- };
2144
- readonly startWorker: {
2145
- readonly channel: {
2146
- readonly type: {
2147
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2148
- };
2149
- readonly value: "ownerChannel";
2150
- };
2151
- readonly description: "Prompt the user to install a provided MyOS Package";
2152
- readonly request: {
2153
- readonly package: {
2154
- readonly description: "MyOS Package";
2155
- readonly type: {
2156
- readonly blueId: "5cg55kgH8ckRVji4oWSBBxthJQFYmB5Lb1Pea7achyNr";
2157
- };
2158
- };
2159
- };
2160
- readonly type: {
2161
- readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
2162
- };
2163
- };
2164
- readonly startWorkerImpl: {
2165
- readonly operation: {
2166
- readonly type: {
2167
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2168
- };
2169
- readonly value: "startWorker";
2170
- };
2171
- readonly steps: {
2172
- readonly items: readonly [{
2173
- readonly event: {
2174
- readonly message: {
2175
- readonly type: {
2176
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2177
- };
2178
- readonly value: "A package has been prepared for you. Review and install.";
2179
- };
2180
- readonly package: {
2181
- readonly type: {
2182
- readonly blueId: "5cg55kgH8ckRVji4oWSBBxthJQFYmB5Lb1Pea7achyNr";
2183
- };
2184
- readonly value: "${event.message.request.package}";
2185
- };
2186
- readonly title: {
2187
- readonly type: {
2188
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2189
- };
2190
- readonly value: "ChatGPT is requesting permission to launch a new agent";
2191
- };
2192
- readonly type: {
2193
- readonly blueId: "CrGV4ZYjvPvMqrgNQAfgZCUnFjFW6HDjYNdon2chLKU3";
2194
- };
2195
- };
2196
- readonly name: "Emit Install Prompt";
2197
- readonly type: {
2198
- readonly blueId: "GxUtWr3eH9a6YQeioQkujEnsPjD5s9RU8ZhEfmsV1vuU";
2199
- };
2200
- }];
2201
- };
2202
- readonly type: {
2203
- readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
2204
- };
2205
- };
2206
- };
2207
- readonly description: "Lets the owner prompt installation of a provided MyOS Package.";
2208
- readonly name: "Chat GPT Connector Agent";
2209
- readonly type: {
2210
- readonly blueId: "8s2rAFDtiB6sCwqeURkT4Lq7fcc2FXBkmX9B9p7R4Boc";
2211
- };
2212
- };
2213
2213
  readonly GiYocGMGQcneiMPm4NH9MxVj7Fr4jwg2BUAMzwZcWRNR: {
2214
2214
  readonly agentId: {
2215
2215
  readonly description: "Optional agent identifier";
@@ -2801,7 +2801,7 @@ declare const _default: {
2801
2801
  inResponseTo?: import("@blue-labs/language").BlueNode | undefined;
2802
2802
  }[] | undefined;
2803
2803
  }>;
2804
- readonly GH3Lqn1Vd4G36VjXu2j81SGfNqRUn82tkKiSSguhRp8J: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
2804
+ readonly '3SULZSU6Yvi6rVuhGsRX7znRuyt6oWnx1Hdyu6QhdhFj': import("zod").ZodObject<import("zod").objectUtil.extendShape<{
2805
2805
  description: import("zod").ZodOptional<import("zod").ZodString>;
2806
2806
  name: import("zod").ZodOptional<import("zod").ZodString>;
2807
2807
  }, {
@@ -3148,7 +3148,7 @@ declare const _default: {
3148
3148
  name?: string | undefined;
3149
3149
  anchor?: string | undefined;
3150
3150
  }>, "strip">>;
3151
- readonly '84xMEnEYr3DPBuYZL3JtcsZBBTtRH9fEEJiPnk7ASj1o': import("zod").ZodObject<import("zod").objectUtil.extendShape<{
3151
+ readonly '6HC9zdAPTChMDo8okX3rYTz4aeCEKCr8TtU2WmfugdSJ': import("zod").ZodObject<import("zod").objectUtil.extendShape<{
3152
3152
  contracts: import("zod").ZodOptional<import("zod").ZodObject<{
3153
3153
  myOsAdminChannel: import("zod").ZodOptional<import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
3154
3154
  description: import("zod").ZodOptional<import("zod").ZodString>;
@@ -4305,7 +4305,7 @@ declare const _default: {
4305
4305
  singleOps?: string[] | undefined;
4306
4306
  }>, "strip"> | undefined;
4307
4307
  }>;
4308
- readonly '3nHZjceYBWLD6nWXo354UhdU5vZWy26rUTL8aRj3xEmd': import("zod").ZodObject<import("zod").objectUtil.extendShape<{
4308
+ readonly AFX9ct4gYywCbqPUJWaTz4JXS74RxxNPUMNzBMzNGD8c: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
4309
4309
  contracts: import("zod").ZodOptional<import("zod").ZodObject<{
4310
4310
  myOsAdminChannel: import("zod").ZodOptional<import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
4311
4311
  description: import("zod").ZodOptional<import("zod").ZodString>;
@@ -5030,7 +5030,7 @@ declare const _default: {
5030
5030
  }>, "strip"> | undefined;
5031
5031
  granterDocumentSessionId?: string | undefined;
5032
5032
  }>;
5033
- readonly '488CnQXrxMyNAgCVgL85SyHxUK5rZzWzd81eo4JkVHRD': import("zod").ZodObject<import("zod").objectUtil.extendShape<{
5033
+ readonly A2dveyQFp6dYJgigdRuZW3dsbdeiG2HzHnjaobAHJCvY: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
5034
5034
  contracts: import("zod").ZodOptional<import("zod").ZodObject<{
5035
5035
  myOsAdminChannel: import("zod").ZodOptional<import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
5036
5036
  description: import("zod").ZodOptional<import("zod").ZodString>;
@@ -6484,7 +6484,7 @@ declare const _default: {
6484
6484
  description?: string | undefined;
6485
6485
  name?: string | undefined;
6486
6486
  }>;
6487
- readonly FHzfgUb3eTqBkgDi1n5QNw5PC1QYGycEVs1c3YSrZ53o: import("zod").ZodObject<{
6487
+ readonly Bu4YETSKYW8hHMwVy6zUUoBAGZPxX3KVXfKN9uoCUoJj: import("zod").ZodObject<{
6488
6488
  contracts: import("zod").ZodOptional<import("zod").ZodObject<{
6489
6489
  myOsAdminChannel: import("zod").ZodOptional<import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
6490
6490
  description: import("zod").ZodOptional<import("zod").ZodString>;
@@ -7544,7 +7544,7 @@ declare const _default: {
7544
7544
  singleOps?: string[] | undefined;
7545
7545
  } | undefined;
7546
7546
  }>;
7547
- readonly EVkAZAwJkgjQfTkA3RXpdEX2VgYJtMREmkQEFrojAQ1j: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
7547
+ readonly FZLsSeuoLTki2FpqYTr5nmqnAtKgTnmi18qNaTnRGBs6: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
7548
7548
  contracts: import("zod").ZodOptional<import("zod").ZodObject<{
7549
7549
  myOsAdminChannel: import("zod").ZodOptional<import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
7550
7550
  description: import("zod").ZodOptional<import("zod").ZodString>;
@@ -8199,7 +8199,7 @@ declare const _default: {
8199
8199
  singleOps?: string[] | undefined;
8200
8200
  } | undefined;
8201
8201
  }>;
8202
- readonly AQyDRNKEkDan8VGNcvBdJCz95HKcwcAurhccHnCgV1j9: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
8202
+ readonly '6fEj6jD4eEVJwjH9Z2aQ9HsqdaCzbppfsYL2mFLx32YP': import("zod").ZodObject<import("zod").objectUtil.extendShape<{
8203
8203
  contracts: import("zod").ZodOptional<import("zod").ZodObject<{
8204
8204
  myOsAdminChannel: import("zod").ZodOptional<import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
8205
8205
  description: import("zod").ZodOptional<import("zod").ZodString>;
@@ -9426,7 +9426,7 @@ declare const _default: {
9426
9426
  } | undefined;
9427
9427
  workerType?: import("@blue-labs/language").BlueNode | undefined;
9428
9428
  }>;
9429
- readonly '2NN4VerhNHSyBcyoJpgtcuURkss2QRMmGkocQobJ8JYP': import("zod").ZodObject<import("zod").objectUtil.extendShape<{
9429
+ readonly A73AVDR9GWAshFUC2Me2qXNns2HECzbadtsgp5zxCjGx: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
9430
9430
  contracts: import("zod").ZodOptional<import("zod").ZodObject<{
9431
9431
  myOsAdminChannel: import("zod").ZodOptional<import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
9432
9432
  description: import("zod").ZodOptional<import("zod").ZodString>;
@@ -10641,18 +10641,18 @@ declare const _default: {
10641
10641
  readonly 'MyOS/Call Operation Failed': "BaNmvStTGdsBsSHiHbqdhrrC7vfwiQdDK6NYiyRbJowx";
10642
10642
  readonly 'MyOS/Call Operation Requested': "EVX6nBdHdVEBH9Gbthpd2eqpxaxS4bb9wM55QNdZmcBy";
10643
10643
  readonly 'MyOS/Call Operation Responded': "3P4vsTx8Ky2pucXxKgkn8MouveP2DBRjkwZckCG5b9Lb";
10644
- readonly 'MyOS/Chat GPT Connector Agent': "GH3Lqn1Vd4G36VjXu2j81SGfNqRUn82tkKiSSguhRp8J";
10644
+ readonly 'MyOS/Chat GPT Connector Agent': "3SULZSU6Yvi6rVuhGsRX7znRuyt6oWnx1Hdyu6QhdhFj";
10645
10645
  readonly 'MyOS/Document Anchor': "HS9yo34TGEAM2LGcNbLh7XPN4goPRhqdGZQkiyh473Wb";
10646
10646
  readonly 'MyOS/Document Anchors': "7Usvk6dZMVqas3yqs23ZEXn1zu1YDPjgYiZFNYaw3puH";
10647
10647
  readonly 'MyOS/Document Link': "BFxgEnovNHQ693YR2YvALi4FP8vjcwSQiX63LiLwjUhk";
10648
10648
  readonly 'MyOS/Document Links': "4cmrbevB6K23ZenjqwmNxpnaw6RF4VB3wkP7XB59V7W5";
10649
- readonly 'MyOS/Document Session Bootstrap': "84xMEnEYr3DPBuYZL3JtcsZBBTtRH9fEEJiPnk7ASj1o";
10649
+ readonly 'MyOS/Document Session Bootstrap': "6HC9zdAPTChMDo8okX3rYTz4aeCEKCr8TtU2WmfugdSJ";
10650
10650
  readonly 'MyOS/Document Type Link': "D9Ret9Hmz5TWxzuJEeauWEuZVPkPL7hcHYsSNY1cZ5zX";
10651
10651
  readonly 'MyOS/Inform User To Install MyOS Package': "CrGV4ZYjvPvMqrgNQAfgZCUnFjFW6HDjYNdon2chLKU3";
10652
10652
  readonly 'MyOS/Link': "D2ERUvbpn6R6PR7hjFsGofwQsu9bkRfc6wbSYHcfJtMD";
10653
10653
  readonly 'MyOS/Linked Documents Permission Grant Requested': "DBv2TLwytwBgvrSVeauLjTZYycf8hiXgdadoyRVDfjhS";
10654
- readonly 'MyOS/Linked Documents Permission Grant To Account': "3nHZjceYBWLD6nWXo354UhdU5vZWy26rUTL8aRj3xEmd";
10655
- readonly 'MyOS/Linked Documents Permission Grant To Document': "488CnQXrxMyNAgCVgL85SyHxUK5rZzWzd81eo4JkVHRD";
10654
+ readonly 'MyOS/Linked Documents Permission Grant To Account': "AFX9ct4gYywCbqPUJWaTz4JXS74RxxNPUMNzBMzNGD8c";
10655
+ readonly 'MyOS/Linked Documents Permission Grant To Document': "A2dveyQFp6dYJgigdRuZW3dsbdeiG2HzHnjaobAHJCvY";
10656
10656
  readonly 'MyOS/Linked Documents Permission Granted': "BM9qSFkhY9CV4BwHFP6DrrB9VbFZhTfwxCeS8Kh96o5N";
10657
10657
  readonly 'MyOS/Linked Documents Permission Granting in Progress': "8rdTEmuSkwgzj47Uc4tLdSk1wSd8NG5Q6vTFZt8hXbHK";
10658
10658
  readonly 'MyOS/Linked Documents Permission Invalid': "ENswN7PB5Ty8mfy1AdFsu2QR9jMjCsm5AGGJgkYSTrWU";
@@ -10663,7 +10663,7 @@ declare const _default: {
10663
10663
  readonly 'MyOS/Linked Documents Permission Set': "75TXyy5E7vbexVAUZcjZ2vdQaG7fJJbAHAgrh8sMtTp5";
10664
10664
  readonly 'MyOS/Linked Documents Permission Validated': "DFMcBSRfNqK6NqdNLCF8b88soezajjq4gyBS8QRzSBhe";
10665
10665
  readonly 'MyOS/LLM Agent': "DL73vQGQGdEFA53shnv58CkVJVVs5P5Hygc5qNghY5Zf";
10666
- readonly 'MyOS/MyOS Admin Base': "FHzfgUb3eTqBkgDi1n5QNw5PC1QYGycEVs1c3YSrZ53o";
10666
+ readonly 'MyOS/MyOS Admin Base': "Bu4YETSKYW8hHMwVy6zUUoBAGZPxX3KVXfKN9uoCUoJj";
10667
10667
  readonly 'MyOS/MyOS Agent': "8DQrCT6Mf9wHQyRc4NdYhjFW4FbKi83no2QPe54UhdQ5";
10668
10668
  readonly 'MyOS/MyOS Agent Channel': "4fYuD2ZdTQpm5T6Xtibge9SKkNA8RrvDVmKmArrToQQW";
10669
10669
  readonly 'MyOS/MyOS Agent Event': "GiYocGMGQcneiMPm4NH9MxVj7Fr4jwg2BUAMzwZcWRNR";
@@ -10686,8 +10686,8 @@ declare const _default: {
10686
10686
  readonly 'MyOS/Session Epoch Advanced': "9CvxqAMJhqcFoLr5nXSEdWDZUMD383xhJtyFwXsCqD9E";
10687
10687
  readonly 'MyOS/Single Document Permission Grant Requested': "Ef7EvcR5He11JtgBFtswYTHEfUKnTHmFysMTo3ZsoQby";
10688
10688
  readonly 'MyOS/Single Document Permission Grant Responded': "5jtNV7xpaim18pUQp4uvron8uHfTjPSi6kUZQdCMGsKa";
10689
- readonly 'MyOS/Single Document Permission Grant To Account': "EVkAZAwJkgjQfTkA3RXpdEX2VgYJtMREmkQEFrojAQ1j";
10690
- readonly 'MyOS/Single Document Permission Grant To Document': "AQyDRNKEkDan8VGNcvBdJCz95HKcwcAurhccHnCgV1j9";
10689
+ readonly 'MyOS/Single Document Permission Grant To Account': "FZLsSeuoLTki2FpqYTr5nmqnAtKgTnmi18qNaTnRGBs6";
10690
+ readonly 'MyOS/Single Document Permission Grant To Document': "6fEj6jD4eEVJwjH9Z2aQ9HsqdaCzbppfsYL2mFLx32YP";
10691
10691
  readonly 'MyOS/Single Document Permission Granted': "8XYzJ3BrgB5uoAWU5HvZ7Gej9RXNG5r52ccneLZxMAQd";
10692
10692
  readonly 'MyOS/Single Document Permission Granting in Progress': "5dYUepkS2uQHtzhVYoHEtR4x8vaMRtNuHyiqqTvRrKGY";
10693
10693
  readonly 'MyOS/Single Document Permission Invalid': "567voUMtKJQoqru6ZVPYb4EGwdeV99rUSAqsnod7gqfd";
@@ -10705,7 +10705,7 @@ declare const _default: {
10705
10705
  readonly 'MyOS/Subscription Update': "2gc8djtKGGRPjGfMQzvJZMviaXm4ytM1nA4DVbfyjkrW";
10706
10706
  readonly 'MyOS/Target Document Session Started': "FoHDf4WzS4idtPc8rWwVFFvALQ27WzMHxPdXovy7DH4p";
10707
10707
  readonly 'MyOS/Worker Agency Permission': "5J3RXNnALK1ZYAQBrjGwCQ4WpL3YUGHvz9WcGos6mMSp";
10708
- readonly 'MyOS/Worker Agency Permission Grant': "2NN4VerhNHSyBcyoJpgtcuURkss2QRMmGkocQobJ8JYP";
10708
+ readonly 'MyOS/Worker Agency Permission Grant': "A73AVDR9GWAshFUC2Me2qXNns2HECzbadtsgp5zxCjGx";
10709
10709
  readonly 'MyOS/Worker Agency Permission Grant Requested': "HF5aRJZqvHn7sDFbwfDGQjkWmTSW9Lee7c9dUBtcdNtK";
10710
10710
  readonly 'MyOS/Worker Agency Permission Granted': "8GNc7HmPKXmURG12ZBY8iXYEP7CTfBLsfXvpLcQ6EMwS";
10711
10711
  readonly 'MyOS/Worker Agency Permission Granting in Progress': "HzQyVKvSQ2cienAkjW5R8HgTcStPe13p8eoB4vXr7dAc";
@@ -10818,12 +10818,12 @@ declare const _default: {
10818
10818
  readonly attributesAdded: readonly [];
10819
10819
  }];
10820
10820
  };
10821
- readonly GH3Lqn1Vd4G36VjXu2j81SGfNqRUn82tkKiSSguhRp8J: {
10821
+ readonly '3SULZSU6Yvi6rVuhGsRX7znRuyt6oWnx1Hdyu6QhdhFj': {
10822
10822
  readonly status: "stable";
10823
10823
  readonly name: "Chat GPT Connector Agent";
10824
10824
  readonly versions: readonly [{
10825
10825
  readonly repositoryVersionIndex: 0;
10826
- readonly typeBlueId: "GH3Lqn1Vd4G36VjXu2j81SGfNqRUn82tkKiSSguhRp8J";
10826
+ readonly typeBlueId: "3SULZSU6Yvi6rVuhGsRX7znRuyt6oWnx1Hdyu6QhdhFj";
10827
10827
  readonly attributesAdded: readonly [];
10828
10828
  }];
10829
10829
  };
@@ -10863,12 +10863,12 @@ declare const _default: {
10863
10863
  readonly attributesAdded: readonly [];
10864
10864
  }];
10865
10865
  };
10866
- readonly '84xMEnEYr3DPBuYZL3JtcsZBBTtRH9fEEJiPnk7ASj1o': {
10866
+ readonly '6HC9zdAPTChMDo8okX3rYTz4aeCEKCr8TtU2WmfugdSJ': {
10867
10867
  readonly status: "stable";
10868
10868
  readonly name: "Document Session Bootstrap";
10869
10869
  readonly versions: readonly [{
10870
10870
  readonly repositoryVersionIndex: 0;
10871
- readonly typeBlueId: "84xMEnEYr3DPBuYZL3JtcsZBBTtRH9fEEJiPnk7ASj1o";
10871
+ readonly typeBlueId: "6HC9zdAPTChMDo8okX3rYTz4aeCEKCr8TtU2WmfugdSJ";
10872
10872
  readonly attributesAdded: readonly [];
10873
10873
  }];
10874
10874
  };
@@ -10903,26 +10903,26 @@ declare const _default: {
10903
10903
  readonly status: "dev";
10904
10904
  readonly name: "Linked Documents Permission Grant Requested";
10905
10905
  readonly versions: readonly [{
10906
- readonly repositoryVersionIndex: 2;
10906
+ readonly repositoryVersionIndex: 0;
10907
10907
  readonly typeBlueId: "DBv2TLwytwBgvrSVeauLjTZYycf8hiXgdadoyRVDfjhS";
10908
10908
  readonly attributesAdded: readonly [];
10909
10909
  }];
10910
10910
  };
10911
- readonly '3nHZjceYBWLD6nWXo354UhdU5vZWy26rUTL8aRj3xEmd': {
10911
+ readonly AFX9ct4gYywCbqPUJWaTz4JXS74RxxNPUMNzBMzNGD8c: {
10912
10912
  readonly status: "dev";
10913
10913
  readonly name: "Linked Documents Permission Grant To Account";
10914
10914
  readonly versions: readonly [{
10915
- readonly repositoryVersionIndex: 2;
10916
- readonly typeBlueId: "3nHZjceYBWLD6nWXo354UhdU5vZWy26rUTL8aRj3xEmd";
10915
+ readonly repositoryVersionIndex: 0;
10916
+ readonly typeBlueId: "AFX9ct4gYywCbqPUJWaTz4JXS74RxxNPUMNzBMzNGD8c";
10917
10917
  readonly attributesAdded: readonly [];
10918
10918
  }];
10919
10919
  };
10920
- readonly '488CnQXrxMyNAgCVgL85SyHxUK5rZzWzd81eo4JkVHRD': {
10920
+ readonly A2dveyQFp6dYJgigdRuZW3dsbdeiG2HzHnjaobAHJCvY: {
10921
10921
  readonly status: "dev";
10922
10922
  readonly name: "Linked Documents Permission Grant To Document";
10923
10923
  readonly versions: readonly [{
10924
- readonly repositoryVersionIndex: 2;
10925
- readonly typeBlueId: "488CnQXrxMyNAgCVgL85SyHxUK5rZzWzd81eo4JkVHRD";
10924
+ readonly repositoryVersionIndex: 0;
10925
+ readonly typeBlueId: "A2dveyQFp6dYJgigdRuZW3dsbdeiG2HzHnjaobAHJCvY";
10926
10926
  readonly attributesAdded: readonly [];
10927
10927
  }];
10928
10928
  };
@@ -10930,7 +10930,7 @@ declare const _default: {
10930
10930
  readonly status: "dev";
10931
10931
  readonly name: "Linked Documents Permission Granted";
10932
10932
  readonly versions: readonly [{
10933
- readonly repositoryVersionIndex: 2;
10933
+ readonly repositoryVersionIndex: 0;
10934
10934
  readonly typeBlueId: "BM9qSFkhY9CV4BwHFP6DrrB9VbFZhTfwxCeS8Kh96o5N";
10935
10935
  readonly attributesAdded: readonly [];
10936
10936
  }];
@@ -10939,7 +10939,7 @@ declare const _default: {
10939
10939
  readonly status: "dev";
10940
10940
  readonly name: "Linked Documents Permission Granting in Progress";
10941
10941
  readonly versions: readonly [{
10942
- readonly repositoryVersionIndex: 2;
10942
+ readonly repositoryVersionIndex: 0;
10943
10943
  readonly typeBlueId: "8rdTEmuSkwgzj47Uc4tLdSk1wSd8NG5Q6vTFZt8hXbHK";
10944
10944
  readonly attributesAdded: readonly [];
10945
10945
  }];
@@ -10948,7 +10948,7 @@ declare const _default: {
10948
10948
  readonly status: "dev";
10949
10949
  readonly name: "Linked Documents Permission Invalid";
10950
10950
  readonly versions: readonly [{
10951
- readonly repositoryVersionIndex: 2;
10951
+ readonly repositoryVersionIndex: 0;
10952
10952
  readonly typeBlueId: "ENswN7PB5Ty8mfy1AdFsu2QR9jMjCsm5AGGJgkYSTrWU";
10953
10953
  readonly attributesAdded: readonly [];
10954
10954
  }];
@@ -10957,7 +10957,7 @@ declare const _default: {
10957
10957
  readonly status: "dev";
10958
10958
  readonly name: "Linked Documents Permission Rejected";
10959
10959
  readonly versions: readonly [{
10960
- readonly repositoryVersionIndex: 2;
10960
+ readonly repositoryVersionIndex: 0;
10961
10961
  readonly typeBlueId: "Cg3FfBGZZSfviaJg4Jsf7Cbg4jLRPYDcrbT65YD4vjxi";
10962
10962
  readonly attributesAdded: readonly [];
10963
10963
  }];
@@ -10966,7 +10966,7 @@ declare const _default: {
10966
10966
  readonly status: "dev";
10967
10967
  readonly name: "Linked Documents Permission Revoke Requested";
10968
10968
  readonly versions: readonly [{
10969
- readonly repositoryVersionIndex: 2;
10969
+ readonly repositoryVersionIndex: 0;
10970
10970
  readonly typeBlueId: "6fTSbBwfj3zkin6EjGevF16QzokKa1xNXrDjdQwbDir7";
10971
10971
  readonly attributesAdded: readonly [];
10972
10972
  }];
@@ -10975,7 +10975,7 @@ declare const _default: {
10975
10975
  readonly status: "dev";
10976
10976
  readonly name: "Linked Documents Permission Revoked";
10977
10977
  readonly versions: readonly [{
10978
- readonly repositoryVersionIndex: 2;
10978
+ readonly repositoryVersionIndex: 0;
10979
10979
  readonly typeBlueId: "9J18sDqoJX8KKutFwuzxeSdXiGuRbJB2yCfADGSKax6h";
10980
10980
  readonly attributesAdded: readonly [];
10981
10981
  }];
@@ -10984,7 +10984,7 @@ declare const _default: {
10984
10984
  readonly status: "dev";
10985
10985
  readonly name: "Linked Documents Permission Revoking in Progress";
10986
10986
  readonly versions: readonly [{
10987
- readonly repositoryVersionIndex: 2;
10987
+ readonly repositoryVersionIndex: 0;
10988
10988
  readonly typeBlueId: "HTvyBGjSkM4gmJxhwznVMM1aU7UUaKCcWQY9qgU6JfvH";
10989
10989
  readonly attributesAdded: readonly [];
10990
10990
  }];
@@ -10993,7 +10993,7 @@ declare const _default: {
10993
10993
  readonly status: "dev";
10994
10994
  readonly name: "Linked Documents Permission Set";
10995
10995
  readonly versions: readonly [{
10996
- readonly repositoryVersionIndex: 2;
10996
+ readonly repositoryVersionIndex: 0;
10997
10997
  readonly typeBlueId: "75TXyy5E7vbexVAUZcjZ2vdQaG7fJJbAHAgrh8sMtTp5";
10998
10998
  readonly attributesAdded: readonly [];
10999
10999
  }];
@@ -11002,7 +11002,7 @@ declare const _default: {
11002
11002
  readonly status: "dev";
11003
11003
  readonly name: "Linked Documents Permission Validated";
11004
11004
  readonly versions: readonly [{
11005
- readonly repositoryVersionIndex: 2;
11005
+ readonly repositoryVersionIndex: 0;
11006
11006
  readonly typeBlueId: "DFMcBSRfNqK6NqdNLCF8b88soezajjq4gyBS8QRzSBhe";
11007
11007
  readonly attributesAdded: readonly [];
11008
11008
  }];
@@ -11011,17 +11011,17 @@ declare const _default: {
11011
11011
  readonly status: "dev";
11012
11012
  readonly name: "LLM Agent";
11013
11013
  readonly versions: readonly [{
11014
- readonly repositoryVersionIndex: 1;
11014
+ readonly repositoryVersionIndex: 0;
11015
11015
  readonly typeBlueId: "DL73vQGQGdEFA53shnv58CkVJVVs5P5Hygc5qNghY5Zf";
11016
11016
  readonly attributesAdded: readonly [];
11017
11017
  }];
11018
11018
  };
11019
- readonly FHzfgUb3eTqBkgDi1n5QNw5PC1QYGycEVs1c3YSrZ53o: {
11019
+ readonly Bu4YETSKYW8hHMwVy6zUUoBAGZPxX3KVXfKN9uoCUoJj: {
11020
11020
  readonly status: "stable";
11021
11021
  readonly name: "MyOS Admin Base";
11022
11022
  readonly versions: readonly [{
11023
11023
  readonly repositoryVersionIndex: 0;
11024
- readonly typeBlueId: "FHzfgUb3eTqBkgDi1n5QNw5PC1QYGycEVs1c3YSrZ53o";
11024
+ readonly typeBlueId: "Bu4YETSKYW8hHMwVy6zUUoBAGZPxX3KVXfKN9uoCUoJj";
11025
11025
  readonly attributesAdded: readonly [];
11026
11026
  }];
11027
11027
  };
@@ -11223,21 +11223,21 @@ declare const _default: {
11223
11223
  readonly attributesAdded: readonly [];
11224
11224
  }];
11225
11225
  };
11226
- readonly EVkAZAwJkgjQfTkA3RXpdEX2VgYJtMREmkQEFrojAQ1j: {
11226
+ readonly FZLsSeuoLTki2FpqYTr5nmqnAtKgTnmi18qNaTnRGBs6: {
11227
11227
  readonly status: "stable";
11228
11228
  readonly name: "Single Document Permission Grant To Account";
11229
11229
  readonly versions: readonly [{
11230
11230
  readonly repositoryVersionIndex: 0;
11231
- readonly typeBlueId: "EVkAZAwJkgjQfTkA3RXpdEX2VgYJtMREmkQEFrojAQ1j";
11231
+ readonly typeBlueId: "FZLsSeuoLTki2FpqYTr5nmqnAtKgTnmi18qNaTnRGBs6";
11232
11232
  readonly attributesAdded: readonly [];
11233
11233
  }];
11234
11234
  };
11235
- readonly AQyDRNKEkDan8VGNcvBdJCz95HKcwcAurhccHnCgV1j9: {
11235
+ readonly '6fEj6jD4eEVJwjH9Z2aQ9HsqdaCzbppfsYL2mFLx32YP': {
11236
11236
  readonly status: "stable";
11237
11237
  readonly name: "Single Document Permission Grant To Document";
11238
11238
  readonly versions: readonly [{
11239
11239
  readonly repositoryVersionIndex: 0;
11240
- readonly typeBlueId: "AQyDRNKEkDan8VGNcvBdJCz95HKcwcAurhccHnCgV1j9";
11240
+ readonly typeBlueId: "6fEj6jD4eEVJwjH9Z2aQ9HsqdaCzbppfsYL2mFLx32YP";
11241
11241
  readonly attributesAdded: readonly [];
11242
11242
  }];
11243
11243
  };
@@ -11394,12 +11394,12 @@ declare const _default: {
11394
11394
  readonly attributesAdded: readonly [];
11395
11395
  }];
11396
11396
  };
11397
- readonly '2NN4VerhNHSyBcyoJpgtcuURkss2QRMmGkocQobJ8JYP': {
11397
+ readonly A73AVDR9GWAshFUC2Me2qXNns2HECzbadtsgp5zxCjGx: {
11398
11398
  readonly status: "stable";
11399
11399
  readonly name: "Worker Agency Permission Grant";
11400
11400
  readonly versions: readonly [{
11401
11401
  readonly repositoryVersionIndex: 0;
11402
- readonly typeBlueId: "2NN4VerhNHSyBcyoJpgtcuURkss2QRMmGkocQobJ8JYP";
11402
+ readonly typeBlueId: "A73AVDR9GWAshFUC2Me2qXNns2HECzbadtsgp5zxCjGx";
11403
11403
  readonly attributesAdded: readonly [];
11404
11404
  }];
11405
11405
  };