@b3os/sdk 0.2.2 → 0.2.3

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/cjs/core/util.d.ts +1 -1
  3. package/dist/cjs/core/util.js +1 -1
  4. package/dist/cjs/generated/client.d.ts +5 -0
  5. package/dist/cjs/generated/client.js +9 -0
  6. package/dist/cjs/generated/client.js.map +1 -1
  7. package/dist/cjs/generated/errors.d.ts +1 -1
  8. package/dist/cjs/generated/errors.js +45 -0
  9. package/dist/cjs/generated/errors.js.map +1 -1
  10. package/dist/cjs/generated/ids.d.ts +28 -0
  11. package/dist/cjs/generated/ids.js +7 -0
  12. package/dist/cjs/generated/ids.js.map +1 -1
  13. package/dist/cjs/generated/ns/agents.d.ts +438 -11
  14. package/dist/cjs/generated/ns/agents.js +598 -11
  15. package/dist/cjs/generated/ns/agents.js.map +1 -1
  16. package/dist/cjs/generated/ns/images.d.ts +84 -3
  17. package/dist/cjs/generated/ns/images.js +126 -2
  18. package/dist/cjs/generated/ns/images.js.map +1 -1
  19. package/dist/cjs/generated/ns/listeners.d.ts +6 -2
  20. package/dist/cjs/generated/ns/listeners.js +6 -2
  21. package/dist/cjs/generated/ns/listeners.js.map +1 -1
  22. package/dist/cjs/generated/ns/routines.d.ts +11 -0
  23. package/dist/cjs/generated/ns/routines.js +11 -0
  24. package/dist/cjs/generated/ns/routines.js.map +1 -1
  25. package/dist/cjs/generated/ns/sandboxes.d.ts +140 -1
  26. package/dist/cjs/generated/ns/sandboxes.js +190 -1
  27. package/dist/cjs/generated/ns/sandboxes.js.map +1 -1
  28. package/dist/cjs/generated/ns/vision.d.ts +55 -1
  29. package/dist/cjs/generated/ns/vision.js +94 -1
  30. package/dist/cjs/generated/ns/vision.js.map +1 -1
  31. package/dist/cjs/generated/ns/workspaces.d.ts +225 -0
  32. package/dist/cjs/generated/ns/workspaces.js +410 -0
  33. package/dist/cjs/generated/ns/workspaces.js.map +1 -0
  34. package/dist/cjs/generated/types.d.ts +2230 -72
  35. package/dist/esm/core/util.d.ts +1 -1
  36. package/dist/esm/core/util.js +1 -1
  37. package/dist/esm/generated/client.d.ts +5 -0
  38. package/dist/esm/generated/client.js +9 -0
  39. package/dist/esm/generated/client.js.map +1 -1
  40. package/dist/esm/generated/errors.d.ts +1 -1
  41. package/dist/esm/generated/errors.js +45 -0
  42. package/dist/esm/generated/errors.js.map +1 -1
  43. package/dist/esm/generated/ids.d.ts +28 -0
  44. package/dist/esm/generated/ids.js +7 -0
  45. package/dist/esm/generated/ids.js.map +1 -1
  46. package/dist/esm/generated/ns/agents.d.ts +438 -11
  47. package/dist/esm/generated/ns/agents.js +598 -11
  48. package/dist/esm/generated/ns/agents.js.map +1 -1
  49. package/dist/esm/generated/ns/images.d.ts +84 -3
  50. package/dist/esm/generated/ns/images.js +126 -2
  51. package/dist/esm/generated/ns/images.js.map +1 -1
  52. package/dist/esm/generated/ns/listeners.d.ts +6 -2
  53. package/dist/esm/generated/ns/listeners.js +6 -2
  54. package/dist/esm/generated/ns/listeners.js.map +1 -1
  55. package/dist/esm/generated/ns/routines.d.ts +11 -0
  56. package/dist/esm/generated/ns/routines.js +11 -0
  57. package/dist/esm/generated/ns/routines.js.map +1 -1
  58. package/dist/esm/generated/ns/sandboxes.d.ts +140 -1
  59. package/dist/esm/generated/ns/sandboxes.js +190 -1
  60. package/dist/esm/generated/ns/sandboxes.js.map +1 -1
  61. package/dist/esm/generated/ns/vision.d.ts +55 -1
  62. package/dist/esm/generated/ns/vision.js +94 -1
  63. package/dist/esm/generated/ns/vision.js.map +1 -1
  64. package/dist/esm/generated/ns/workspaces.d.ts +225 -0
  65. package/dist/esm/generated/ns/workspaces.js +406 -0
  66. package/dist/esm/generated/ns/workspaces.js.map +1 -0
  67. package/dist/esm/generated/types.d.ts +2230 -72
  68. package/package.json +1 -1
  69. package/src/core/util.ts +1 -1
  70. package/src/generated/client.ts +10 -0
  71. package/src/generated/errors.ts +90 -0
  72. package/src/generated/ids.ts +7 -0
  73. package/src/generated/ns/agents.ts +652 -11
  74. package/src/generated/ns/images.ts +131 -3
  75. package/src/generated/ns/listeners.ts +6 -2
  76. package/src/generated/ns/routines.ts +11 -0
  77. package/src/generated/ns/sandboxes.ts +203 -1
  78. package/src/generated/ns/vision.ts +101 -1
  79. package/src/generated/ns/workspaces.ts +448 -0
  80. package/src/generated/types.ts +2416 -48
@@ -0,0 +1,406 @@
1
+ // Generated by packages/sdk/scripts/generate.mjs from packages/spec/dist. Do not edit; run `pnpm generate`.
2
+ import { Namespace } from "../../core/namespace.js";
3
+ const listWorkspacesOp = {
4
+ id: "workspacesListWorkspaces",
5
+ method: "GET",
6
+ path: "/v1/workspaces",
7
+ timeoutMs: 10000,
8
+ stretch: true,
9
+ scope: "workspaces:read",
10
+ };
11
+ const createWorkspaceOp = {
12
+ id: "workspacesCreateWorkspace",
13
+ method: "POST",
14
+ path: "/v1/workspaces",
15
+ body: "json",
16
+ idem: true,
17
+ timeoutMs: 10000,
18
+ stretch: true,
19
+ scope: "workspaces:write",
20
+ };
21
+ const deleteWorkspaceOp = {
22
+ id: "workspacesDeleteWorkspace",
23
+ method: "DELETE",
24
+ path: "/v1/workspaces/{workspace_id}",
25
+ params: ["workspace_id"],
26
+ timeoutMs: 10000,
27
+ stretch: true,
28
+ scope: "workspaces:write",
29
+ };
30
+ const getWorkspaceOp = {
31
+ id: "workspacesGetWorkspace",
32
+ method: "GET",
33
+ path: "/v1/workspaces/{workspace_id}",
34
+ params: ["workspace_id"],
35
+ timeoutMs: 10000,
36
+ stretch: true,
37
+ scope: "workspaces:read",
38
+ };
39
+ const listBranchesOp = {
40
+ id: "workspacesListBranches",
41
+ method: "GET",
42
+ path: "/v1/workspaces/{workspace_id}/branches",
43
+ params: ["workspace_id"],
44
+ timeoutMs: 10000,
45
+ stretch: true,
46
+ scope: "workspaces:read",
47
+ };
48
+ const createBranchOp = {
49
+ id: "workspacesCreateBranch",
50
+ method: "POST",
51
+ path: "/v1/workspaces/{workspace_id}/branches",
52
+ params: ["workspace_id"],
53
+ body: "json",
54
+ idem: true,
55
+ timeoutMs: 10000,
56
+ stretch: true,
57
+ scope: "workspaces:run",
58
+ };
59
+ const deleteBranchOp = {
60
+ id: "workspacesDeleteBranch",
61
+ method: "DELETE",
62
+ path: "/v1/workspaces/{workspace_id}/branches/{branch_id}",
63
+ params: ["workspace_id", "branch_id"],
64
+ timeoutMs: 10000,
65
+ stretch: true,
66
+ scope: "workspaces:run",
67
+ };
68
+ const getBranchOp = {
69
+ id: "workspacesGetBranch",
70
+ method: "GET",
71
+ path: "/v1/workspaces/{workspace_id}/branches/{branch_id}",
72
+ params: ["workspace_id", "branch_id"],
73
+ timeoutMs: 10000,
74
+ stretch: true,
75
+ scope: "workspaces:read",
76
+ };
77
+ const commitOp = {
78
+ id: "workspacesCommit",
79
+ method: "POST",
80
+ path: "/v1/workspaces/{workspace_id}/branches/{branch_id}/commits",
81
+ params: ["workspace_id", "branch_id"],
82
+ body: "json",
83
+ idem: true,
84
+ timeoutMs: 60000,
85
+ stretch: true,
86
+ scope: "workspaces:run",
87
+ };
88
+ const mergeOp = {
89
+ id: "workspacesMerge",
90
+ method: "POST",
91
+ path: "/v1/workspaces/{workspace_id}/branches/{branch_id}/merge",
92
+ params: ["workspace_id", "branch_id"],
93
+ body: "json",
94
+ idem: true,
95
+ timeoutMs: 60000,
96
+ stretch: true,
97
+ scope: "workspaces:run",
98
+ };
99
+ const listCommitsOp = {
100
+ id: "workspacesListCommits",
101
+ method: "GET",
102
+ path: "/v1/workspaces/{workspace_id}/commits",
103
+ params: ["workspace_id"],
104
+ timeoutMs: 10000,
105
+ stretch: true,
106
+ scope: "workspaces:read",
107
+ };
108
+ const getCommitOp = {
109
+ id: "workspacesGetCommit",
110
+ method: "GET",
111
+ path: "/v1/workspaces/{workspace_id}/commits/{commit_id}",
112
+ params: ["workspace_id", "commit_id"],
113
+ timeoutMs: 10000,
114
+ stretch: true,
115
+ scope: "workspaces:read",
116
+ };
117
+ const diffOp = {
118
+ id: "workspacesDiff",
119
+ method: "GET",
120
+ path: "/v1/workspaces/{workspace_id}/diff",
121
+ params: ["workspace_id"],
122
+ timeoutMs: 30000,
123
+ stretch: true,
124
+ scope: "workspaces:read",
125
+ };
126
+ const listFilesOp = {
127
+ id: "workspacesListFiles",
128
+ method: "GET",
129
+ path: "/v1/workspaces/{workspace_id}/files",
130
+ params: ["workspace_id"],
131
+ timeoutMs: 10000,
132
+ stretch: true,
133
+ scope: "workspaces:read",
134
+ };
135
+ const readFileOp = {
136
+ id: "workspacesReadFile",
137
+ method: "GET",
138
+ path: "/v1/workspaces/{workspace_id}/files/content",
139
+ params: ["workspace_id"],
140
+ timeoutMs: 30000,
141
+ stretch: true,
142
+ scope: "workspaces:read",
143
+ };
144
+ const putRulesOp = {
145
+ id: "workspacesPutRules",
146
+ method: "PUT",
147
+ path: "/v1/workspaces/{workspace_id}/rules",
148
+ params: ["workspace_id"],
149
+ body: "json",
150
+ timeoutMs: 10000,
151
+ stretch: true,
152
+ scope: "workspaces:rules:write",
153
+ };
154
+ /** Descriptors of every workspaces operation, keyed by method name (for tooling and custom clients). */
155
+ export const workspacesOps = {
156
+ listWorkspaces: listWorkspacesOp,
157
+ createWorkspace: createWorkspaceOp,
158
+ deleteWorkspace: deleteWorkspaceOp,
159
+ getWorkspace: getWorkspaceOp,
160
+ listBranches: listBranchesOp,
161
+ createBranch: createBranchOp,
162
+ deleteBranch: deleteBranchOp,
163
+ getBranch: getBranchOp,
164
+ commit: commitOp,
165
+ merge: mergeOp,
166
+ listCommits: listCommitsOp,
167
+ getCommit: getCommitOp,
168
+ diff: diffOp,
169
+ listFiles: listFilesOp,
170
+ readFile: readFileOp,
171
+ putRules: putRulesOp,
172
+ };
173
+ /**
174
+ * Workspaces: file trees with git-compatible history, a branch per agent, commits checked against per-path rules, and merges that report every conflict (`/v1/workspaces`).
175
+ */
176
+ export class WorkspacesAPI extends Namespace {
177
+ /**
178
+ * List workspaces
179
+ *
180
+ * Lists this project's workspaces, newest first. Deleted workspaces are not listed.
181
+ *
182
+ * `GET /v1/workspaces` · scope `workspaces:read` · served by the node
183
+ *
184
+ * Stretch: in the contract, but may answer `501 not_implemented` on this deployment.
185
+ */
186
+ listWorkspaces(params, options) {
187
+ return this._client._list(listWorkspacesOp, { query: params }, options);
188
+ }
189
+ /**
190
+ * Create a workspace
191
+ *
192
+ * Creates an empty workspace with one branch, `main`, protected: merging into `main` needs `workspaces:write`,
193
+ * so agents (whose grants hold `workspaces:run` unless they name more) merge into their own branches and a
194
+ * person or a routine promotes. `rules` are optional; a workspace without rules is open to the whole project,
195
+ * like every other B3OS object. Setting rules later needs `workspaces:rules:write`.
196
+ *
197
+ * `POST /v1/workspaces` · scope `workspaces:write` · served by the node
198
+ *
199
+ * Stretch: in the contract, but may answer `501 not_implemented` on this deployment.
200
+ */
201
+ createWorkspace(body, options) {
202
+ return this._client._call(createWorkspaceOp, { body }, options);
203
+ }
204
+ /**
205
+ * Delete a workspace
206
+ *
207
+ * Deletes the workspace, its branches and its history. A branch mounted into a sandbox or an agent instance
208
+ * answers `409 branch_held` until it is released. Only this call removes a workspace's data: no expiry, deploy
209
+ * or cleanup does.
210
+ *
211
+ * `DELETE /v1/workspaces/{workspace_id}` · scope `workspaces:write` · served by the node
212
+ *
213
+ * Stretch: in the contract, but may answer `501 not_implemented` on this deployment.
214
+ */
215
+ deleteWorkspace(workspaceId, options) {
216
+ return this._client._call(deleteWorkspaceOp, { path: [workspaceId] }, options);
217
+ }
218
+ /**
219
+ * Get a workspace
220
+ *
221
+ * Returns one of this project's workspaces, with its rules, the head of `main` and its usage.
222
+ *
223
+ * `GET /v1/workspaces/{workspace_id}` · scope `workspaces:read` · served by the node
224
+ *
225
+ * Stretch: in the contract, but may answer `501 not_implemented` on this deployment.
226
+ */
227
+ getWorkspace(workspaceId, options) {
228
+ return this._client._call(getWorkspaceOp, { path: [workspaceId] }, options);
229
+ }
230
+ /**
231
+ * List branches
232
+ *
233
+ * Lists the workspace's branches, newest first, open ones unless `status` says otherwise.
234
+ *
235
+ * `GET /v1/workspaces/{workspace_id}/branches` · scope `workspaces:read` · served by the node
236
+ *
237
+ * Stretch: in the contract, but may answer `501 not_implemented` on this deployment.
238
+ */
239
+ listBranches(workspaceId, params, options) {
240
+ return this._client._list(listBranchesOp, { path: [workspaceId], query: params }, options);
241
+ }
242
+ /**
243
+ * Create a branch
244
+ *
245
+ * Makes a branch from a branch's head or from a commit (`from`, `main` by default). No data is copied: the
246
+ * branch starts at that commit. Without a `name` the branch is ephemeral and expires `ttl_s` after its creation
247
+ * (7 days by default) unless it was merged; with one it is kept until it is deleted.
248
+ *
249
+ * `POST /v1/workspaces/{workspace_id}/branches` · scope `workspaces:run` · served by the node
250
+ *
251
+ * Stretch: in the contract, but may answer `501 not_implemented` on this deployment.
252
+ */
253
+ createBranch(workspaceId, body, options) {
254
+ return this._client._call(createBranchOp, { path: [workspaceId], body }, options);
255
+ }
256
+ /**
257
+ * Delete a branch
258
+ *
259
+ * Closes the branch. Its commits stay in the history while another branch reaches them, and for
260
+ * `workspaces.history_days` after that. `main` cannot be deleted, and a mounted branch answers `409 branch_held`.
261
+ *
262
+ * `DELETE /v1/workspaces/{workspace_id}/branches/{branch_id}` · scope `workspaces:run` · served by the node
263
+ *
264
+ * Stretch: in the contract, but may answer `501 not_implemented` on this deployment.
265
+ */
266
+ deleteBranch(workspaceId, branchId, options) {
267
+ return this._client._call(deleteBranchOp, { path: [workspaceId, branchId] }, options);
268
+ }
269
+ /**
270
+ * Get a branch
271
+ *
272
+ * Returns one branch: its base and head commits, whether it is protected, and what holds it mounted.
273
+ *
274
+ * `GET /v1/workspaces/{workspace_id}/branches/{branch_id}` · scope `workspaces:read` · served by the node
275
+ *
276
+ * Stretch: in the contract, but may answer `501 not_implemented` on this deployment.
277
+ */
278
+ getBranch(workspaceId, branchId, options) {
279
+ return this._client._call(getBranchOp, { path: [workspaceId, branchId] }, options);
280
+ }
281
+ /**
282
+ * Commit to a branch
283
+ *
284
+ * Adds a commit on top of the branch's head from a list of files to write or delete. Every path is checked
285
+ * before anything is stored: a path the caller's principals may not write (or may not see) refuses the whole
286
+ * commit with `403 path_not_writable`, an `append_only` file that loses bytes with `422 append_only_violation`,
287
+ * and a file that holds a credential (B3OS keys, common provider tokens, private keys) with
288
+ * `422 secret_in_commit`, which names the path and line and never the value. `if_head` makes the commit apply
289
+ * only while the branch's head is still that commit (`409 head_moved` otherwise). Writing the same bytes a path
290
+ * already holds changes nothing; a commit that changes nothing answers the current head.
291
+ *
292
+ * From inside a sandbox that holds the branch (created with `workspaces`), send no `files`: the node reads what
293
+ * the sandbox changed under the branch's path (new and changed files, deletes, replaced folders), takes from the
294
+ * sandbox only the contents that differ from the head, and commits them as the sandbox, with the same checks.
295
+ * That call needs no workspaces scope: holding the branch is the authority for it, and for nothing else. A
296
+ * sandbox naming another branch is `403 forbidden` (reason `sandbox`), and a file that changes while the commit
297
+ * reads it is `409 conflict` (commit again). Uncommitted changes stay in the sandbox; the next commit sends only
298
+ * what changed since.
299
+ *
300
+ * `POST /v1/workspaces/{workspace_id}/branches/{branch_id}/commits` · scope `workspaces:run` · served by the node
301
+ *
302
+ * Stretch: in the contract, but may answer `501 not_implemented` on this deployment.
303
+ */
304
+ commit(workspaceId, branchId, body, options) {
305
+ return this._client._call(commitOp, { path: [workspaceId, branchId], body }, options);
306
+ }
307
+ /**
308
+ * Merge a branch into another
309
+ *
310
+ * Merges the branch into `into` (a branch name or ID, `main` by default) with a three-way merge against their
311
+ * merge base, and answers the target's new head. Paths changed on one side only merge without reading their
312
+ * content; a path changed on both sides merges line by line when both are text, and is a conflict when the
313
+ * changes overlap, when either is binary, or when one side deleted it. A conflict answers
314
+ * `409 merge_conflict` with every conflict (path, kind and the three blob IDs) and changes nothing.
315
+ * `mode: paths` makes any path changed on both sides a conflict. Merging into a protected branch (`main` by
316
+ * default) needs `workspaces:write`.
317
+ *
318
+ * `POST /v1/workspaces/{workspace_id}/branches/{branch_id}/merge` · scope `workspaces:run` · served by the node
319
+ *
320
+ * Stretch: in the contract, but may answer `501 not_implemented` on this deployment.
321
+ */
322
+ merge(workspaceId, branchId, body, options) {
323
+ return this._client._call(mergeOp, { path: [workspaceId, branchId], body }, options);
324
+ }
325
+ /**
326
+ * List commits
327
+ *
328
+ * Lists the commits a branch reaches (`branch_id`, else `main`), newest first.
329
+ *
330
+ * `GET /v1/workspaces/{workspace_id}/commits` · scope `workspaces:read` · served by the node
331
+ *
332
+ * Stretch: in the contract, but may answer `501 not_implemented` on this deployment.
333
+ */
334
+ listCommits(workspaceId, params, options) {
335
+ return this._client._list(listCommitsOp, { path: [workspaceId], query: params }, options);
336
+ }
337
+ /**
338
+ * Get a commit
339
+ *
340
+ * Returns one commit of the workspace, with its parents, its git IDs and the principals behind it.
341
+ *
342
+ * `GET /v1/workspaces/{workspace_id}/commits/{commit_id}` · scope `workspaces:read` · served by the node
343
+ *
344
+ * Stretch: in the contract, but may answer `501 not_implemented` on this deployment.
345
+ */
346
+ getCommit(workspaceId, commitId, options) {
347
+ return this._client._call(getCommitOp, { path: [workspaceId, commitId] }, options);
348
+ }
349
+ /**
350
+ * Diff two commits
351
+ *
352
+ * The paths that differ between `base` and `head` (commit IDs or branch names), each added, modified, deleted or
353
+ * changed type, with sizes, read from the trees without walking any files. Only paths the caller may read are
354
+ * listed. `path` limits the answer to one directory.
355
+ *
356
+ * `GET /v1/workspaces/{workspace_id}/diff` · scope `workspaces:read` · served by the node
357
+ *
358
+ * Stretch: in the contract, but may answer `501 not_implemented` on this deployment.
359
+ */
360
+ diff(workspaceId, params, options) {
361
+ return this._client._call(diffOp, { path: [workspaceId], query: params }, options);
362
+ }
363
+ /**
364
+ * List files
365
+ *
366
+ * Lists a directory at `ref` (a commit ID or a branch name; `main` by default), or describes one file. Only
367
+ * paths the caller may read are listed; any other path answers `404 workspace_path_not_found`, as a path that
368
+ * does not exist does.
369
+ *
370
+ * `GET /v1/workspaces/{workspace_id}/files` · scope `workspaces:read` · served by the node
371
+ *
372
+ * Stretch: in the contract, but may answer `501 not_implemented` on this deployment.
373
+ */
374
+ listFiles(workspaceId, params, options) {
375
+ return this._client._call(listFilesOp, { path: [workspaceId], query: params }, options);
376
+ }
377
+ /**
378
+ * Read a file
379
+ *
380
+ * The bytes of one file at `ref` (a commit ID or a branch name; `main` by default), if the caller may read it.
381
+ *
382
+ * `GET /v1/workspaces/{workspace_id}/files/content` · scope `workspaces:read` · served by the node
383
+ *
384
+ * Stretch: in the contract, but may answer `501 not_implemented` on this deployment.
385
+ */
386
+ readFile(workspaceId, params, options) {
387
+ return this._client._call(readFileOp, { path: [workspaceId], query: params }, options, "*/*", "bytes");
388
+ }
389
+ /**
390
+ * Replace a workspace's rules
391
+ *
392
+ * Replaces the ordered list of path rules. The last rule that matches a path decides it; a principal may read
393
+ * (or write) a path only when the agent, the human and whoever started the turn are all allowed by it. A rule
394
+ * with `append_only` lets a commit only add bytes at the end of a matching file. New rules bind every commit
395
+ * from now on. Needs `workspaces:rules:write`, which a sandbox's grant holds only when it names it exactly, so an
396
+ * agent never changes the rules that bind it.
397
+ *
398
+ * `PUT /v1/workspaces/{workspace_id}/rules` · scope `workspaces:rules:write` · served by the node
399
+ *
400
+ * Stretch: in the contract, but may answer `501 not_implemented` on this deployment.
401
+ */
402
+ putRules(workspaceId, body, options) {
403
+ return this._client._call(putRulesOp, { path: [workspaceId], body }, options);
404
+ }
405
+ }
406
+ //# sourceMappingURL=workspaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workspaces.js","sourceRoot":"","sources":["../../../../src/generated/ns/workspaces.ts"],"names":[],"mappings":"AAAA,4GAA4G;AAG5G,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAKpD,MAAM,gBAAgB,GAAO;IAC3B,EAAE,EAAE,0BAA0B;IAC9B,MAAM,EAAE,KAAK;IACb,IAAI,EAAE,gBAAgB;IACtB,SAAS,EAAE,KAAK;IAChB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