@cotal-ai/core 0.68.0 → 0.70.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.
- package/dist/agent-file.d.ts.map +1 -1
- package/dist/agent-file.js +8 -6
- package/dist/agent-file.js.map +1 -1
- package/dist/auth-provider.d.ts +0 -1
- package/dist/auth-provider.d.ts.map +1 -1
- package/dist/connector-config.d.ts +4 -0
- package/dist/connector-config.d.ts.map +1 -1
- package/dist/connector-config.js +49 -0
- package/dist/connector-config.js.map +1 -1
- package/dist/contract-manifest.d.ts +20 -0
- package/dist/contract-manifest.d.ts.map +1 -0
- package/dist/contract-manifest.js +28 -0
- package/dist/contract-manifest.js.map +1 -0
- package/dist/endpoint-binding.d.ts.map +1 -1
- package/dist/endpoint-binding.js +5 -0
- package/dist/endpoint-binding.js.map +1 -1
- package/dist/endpoint-cluster.d.ts.map +1 -1
- package/dist/endpoint-cluster.js +9 -4
- package/dist/endpoint-cluster.js.map +1 -1
- package/dist/endpoint-contract-store.d.ts +2 -18
- package/dist/endpoint-contract-store.d.ts.map +1 -1
- package/dist/endpoint-contract-store.js +3 -19
- package/dist/endpoint-contract-store.js.map +1 -1
- package/dist/endpoint-envelope.d.ts +6 -2
- package/dist/endpoint-envelope.d.ts.map +1 -1
- package/dist/endpoint-envelope.js +19 -2
- package/dist/endpoint-envelope.js.map +1 -1
- package/dist/endpoint-error.d.ts +13 -0
- package/dist/endpoint-error.d.ts.map +1 -1
- package/dist/endpoint-error.js +15 -0
- package/dist/endpoint-error.js.map +1 -1
- package/dist/endpoint-invoke.d.ts +26 -0
- package/dist/endpoint-invoke.d.ts.map +1 -1
- package/dist/endpoint-invoke.js +60 -4
- package/dist/endpoint-invoke.js.map +1 -1
- package/dist/endpoint-serve-kv.d.ts +0 -1
- package/dist/endpoint-serve-kv.d.ts.map +1 -1
- package/dist/endpoint-serve-kv.js +0 -1
- package/dist/endpoint-serve-kv.js.map +1 -1
- package/dist/endpoint-serve.d.ts.map +1 -1
- package/dist/endpoint-serve.js +4 -3
- package/dist/endpoint-serve.js.map +1 -1
- package/dist/endpoint-service.d.ts +12 -6
- package/dist/endpoint-service.d.ts.map +1 -1
- package/dist/endpoint-service.js +29 -23
- package/dist/endpoint-service.js.map +1 -1
- package/dist/endpoint-verbs.d.ts.map +1 -1
- package/dist/endpoint-verbs.js +2 -1
- package/dist/endpoint-verbs.js.map +1 -1
- package/dist/endpoint.d.ts +31 -22
- package/dist/endpoint.d.ts.map +1 -1
- package/dist/endpoint.js +117 -90
- package/dist/endpoint.js.map +1 -1
- package/dist/evict.d.ts.map +1 -1
- package/dist/evict.js +2 -1
- package/dist/evict.js.map +1 -1
- package/dist/identity.d.ts +3 -0
- package/dist/identity.d.ts.map +1 -1
- package/dist/identity.js +5 -0
- package/dist/identity.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/kv-scan.d.ts +1 -3
- package/dist/kv-scan.d.ts.map +1 -1
- package/dist/kv-scan.js.map +1 -1
- package/dist/loopback.d.ts +8 -0
- package/dist/loopback.d.ts.map +1 -0
- package/dist/loopback.js +17 -0
- package/dist/loopback.js.map +1 -0
- package/dist/managed-handoff.d.ts.map +1 -1
- package/dist/managed-handoff.js +1 -18
- package/dist/managed-handoff.js.map +1 -1
- package/dist/presence-ages.d.ts +22 -0
- package/dist/presence-ages.d.ts.map +1 -0
- package/dist/presence-ages.js +33 -0
- package/dist/presence-ages.js.map +1 -0
- package/dist/provision.d.ts +23 -28
- package/dist/provision.d.ts.map +1 -1
- package/dist/provision.js +112 -126
- package/dist/provision.js.map +1 -1
- package/dist/remote-manager-authority.d.ts +30 -7
- package/dist/remote-manager-authority.d.ts.map +1 -1
- package/dist/remote-manager-authority.js +23 -15
- package/dist/remote-manager-authority.js.map +1 -1
- package/dist/resolve.d.ts +15 -2
- package/dist/resolve.d.ts.map +1 -1
- package/dist/resolve.js +15 -2
- package/dist/resolve.js.map +1 -1
- package/dist/run-journal.d.ts.map +1 -1
- package/dist/run-journal.js +17 -2
- package/dist/run-journal.js.map +1 -1
- package/dist/run-record.d.ts +6 -8
- package/dist/run-record.d.ts.map +1 -1
- package/dist/run-record.js.map +1 -1
- package/dist/schema-profile.d.ts +11 -0
- package/dist/schema-profile.d.ts.map +1 -1
- package/dist/schema-profile.js +13 -2
- package/dist/schema-profile.js.map +1 -1
- package/dist/secret-store.d.ts +6 -2
- package/dist/secret-store.d.ts.map +1 -1
- package/dist/secret-store.js +9 -6
- package/dist/secret-store.js.map +1 -1
- package/dist/streams.d.ts.map +1 -1
- package/dist/streams.js +0 -1
- package/dist/streams.js.map +1 -1
- package/dist/subjects.d.ts +5 -0
- package/dist/subjects.d.ts.map +1 -1
- package/dist/subjects.js +11 -0
- package/dist/subjects.js.map +1 -1
- package/package.json +1 -1
package/dist/provision.d.ts
CHANGED
|
@@ -6,13 +6,13 @@ import { type IssuanceSeam } from "./issued-authority.js";
|
|
|
6
6
|
import { type RunDriverGrantArgs, type RunOperatorGrantArgs } from "./run-driver-grants.js";
|
|
7
7
|
import { type Identity } from "./identity.js";
|
|
8
8
|
import { type BackupPermissionScope, type RestorePermissionScope } from "./backup.js";
|
|
9
|
-
/** Cred profiles. Each profile has an explicit permission arm and a
|
|
9
|
+
/** Cred profiles. Each profile has an explicit permission arm and a lifetime classification. */
|
|
10
10
|
export type Profile = "agent" | "manager-caller" | "observer" | "admin" | "supervisor" | "provisioner" | "deprovisioner" | "retirement-requester" | "lifecycle-executor" | "endpoint-serve-executor" | "operator" | "purger" | "backup" | "restore" | "delivery" | "membership-rw" | "probe" | "channel-writer" | "channel-purger" | "teardown" | "control-caller-privileged" | "control-caller-admin" | "deployer" | "endpoint-serve" | "goal-writer" | "session-caller" | "session-serving" | "session-ledger" | "run-driver" | "run-mediator" | "run-operator" | "endpoint-evictor" | "issuer" | "run-admitter" | "transfer-writer" | "transfer-reader" | "remote-manager";
|
|
11
11
|
export type CredentialLifetimeClass = "standing-renewable" | "rotation-renewed" | "one-shot" | "static-operator-managed" | "mixed";
|
|
12
12
|
export type CredentialKind = Profile | "membership-observer" | "connection-evictor";
|
|
13
13
|
export interface CredentialLifetimePolicy {
|
|
14
14
|
class: CredentialLifetimeClass;
|
|
15
|
-
/** Default max age
|
|
15
|
+
/** Default max age at mint. Undefined = the profile mints no default exp. */
|
|
16
16
|
defaultTtlSeconds?: number;
|
|
17
17
|
renewalOwner?: string;
|
|
18
18
|
note: string;
|
|
@@ -40,7 +40,7 @@ export declare const CONNECT_ENVELOPE_OVERHEAD_BYTES = 512;
|
|
|
40
40
|
* (issue #375's review finding: six distinct 4096-char channels, each individually accepted,
|
|
41
41
|
* minted a JWT the broker would silently drop). */
|
|
42
42
|
export declare const MAX_MINTED_JWT_BYTES: number;
|
|
43
|
-
/** Bounded lifetime for `standing-renewable` credentials whose renewal owner is ONLINE
|
|
43
|
+
/** Bounded lifetime for `standing-renewable` credentials whose renewal owner is ONLINE:
|
|
44
44
|
* the holder (or its launcher) re-mints at 75% of the lifetime via the endpoint's creds-source seam,
|
|
45
45
|
* so a copied cred is broker-dead within a day while renewal never involves an operator. 24h keeps
|
|
46
46
|
* the remaining-25% loud-failure window at ~6h — wide enough to notice and repair before expiry. */
|
|
@@ -49,10 +49,10 @@ export declare const STANDING_RENEWABLE_TTL_SEC: number;
|
|
|
49
49
|
* evictor). They are NOT online-renewable (the $SYS seed dies at end of `up`), so this exp is the
|
|
50
50
|
* credential-death horizon: a copied observer/evictor cred becomes broker-dead after it, and the
|
|
51
51
|
* operator is expected to have run a coordinated system-account rotation + broker restart within it
|
|
52
|
-
* (the doctor surface warns ahead
|
|
52
|
+
* (the doctor surface warns ahead). 30 days balances "copied cred eventually dies" against
|
|
53
53
|
* a comfortable monthly rotation cadence; tune here as one named knob. */
|
|
54
54
|
export declare const ROTATION_RENEWED_TTL_SEC: number;
|
|
55
|
-
/**
|
|
55
|
+
/** The credential lifetime matrix. This is intentionally centralized so every new mint profile must classify its
|
|
56
56
|
* credential-death behavior instead of silently inheriting non-expiring static creds. */
|
|
57
57
|
export declare const CREDENTIAL_LIFETIMES: Record<CredentialKind, CredentialLifetimePolicy>;
|
|
58
58
|
export declare function credentialLifetime(kind: CredentialKind): CredentialLifetimePolicy;
|
|
@@ -74,7 +74,7 @@ export interface CredHealth {
|
|
|
74
74
|
export declare function inspectCredHealth(creds: string, nowSec?: number): CredHealth;
|
|
75
75
|
/** BROKER-level trust: the operator root and the system account. A nats-server trusts exactly ONE
|
|
76
76
|
* operator and one system account, so this is the per-BROKER authority, not a per-space one. With
|
|
77
|
-
* many spaces on one broker
|
|
77
|
+
* many spaces on one broker every space's accounts are signed by this one operator.
|
|
78
78
|
*
|
|
79
79
|
* `sys.signingSeed` is minting capability for system-account users (the membership observer and the
|
|
80
80
|
* connection evictor). It is in-memory only on a fresh {@link createBrokerAuth} and is NOT written
|
|
@@ -115,7 +115,7 @@ export interface SpaceAccountAuth {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
/** The COMPOSED read view of one space's full trust chain: broker authority plus that space's
|
|
118
|
-
* account. Deliberately structurally identical to the
|
|
118
|
+
* account. Deliberately structurally identical to the single-space shape, so the many
|
|
119
119
|
* existing readers compose rather than churn.
|
|
120
120
|
*
|
|
121
121
|
* This is a read adapter, never a persistence authority: it is produced by loading the two
|
|
@@ -141,8 +141,8 @@ export declare function assertAccountSignedByBroker(broker: BrokerAuth, spaceAcc
|
|
|
141
141
|
* contains; it cannot mint new accounts or touch the system account. */
|
|
142
142
|
export declare function stripSpaceAuth(auth: SpaceAuth): SpaceAuth;
|
|
143
143
|
/** Rotate the DATA-account signing key and re-issue the data-account JWT so the old data signer is no
|
|
144
|
-
* longer trusted by the broker once it loads the returned auth. This does NOT rotate the system account
|
|
145
|
-
* persisted `membership-observer` creds
|
|
144
|
+
* longer trusted by the broker once it loads the returned auth. This does NOT rotate the system account
|
|
145
|
+
* (that is {@link rotateSystemAccount}): persisted `membership-observer` creds stay valid. */
|
|
146
146
|
export declare function rotateDataAccountSigningKey(auth: SpaceAuth): Promise<SpaceAuth>;
|
|
147
147
|
/** Rotate the SYSTEM account and re-issue the operator JWT so persisted system-account users (currently
|
|
148
148
|
* `membership-observer`) become broker-dead once the broker loads the returned auth. The fresh
|
|
@@ -164,7 +164,7 @@ export declare function createBrokerAuth(label: string): Promise<BrokerAuth>;
|
|
|
164
164
|
export declare function createSpaceAccountAuth(broker: BrokerAuth, space: string): Promise<SpaceAccountAuth>;
|
|
165
165
|
/** Generate a fresh operator → account(+signing key) → system-account chain for a space.
|
|
166
166
|
* The single-space composition of {@link createBrokerAuth} + {@link createSpaceAccountAuth}: one
|
|
167
|
-
* broker whose only tenant is this space
|
|
167
|
+
* broker whose only tenant is this space. */
|
|
168
168
|
export declare function createSpaceAuth(space: string): Promise<SpaceAuth>;
|
|
169
169
|
/** Options shaping a minted user's permissions. */
|
|
170
170
|
export interface MintOpts {
|
|
@@ -215,7 +215,7 @@ export interface MintOpts {
|
|
|
215
215
|
* registered owner). The freshness FENCE is the durable issuance gate ({@link serveIssuance}
|
|
216
216
|
* / SPEC §13.1), not this artifact. Every other profile refuses it (a serve credential is
|
|
217
217
|
* per-instance, never an agent-baseline cred). The `$JS.API` bind rows (effects/pool
|
|
218
|
-
* durables) ride
|
|
218
|
+
* durables) ride `effectsBindGrants`/`poolOwnerBindGrants`, not this subject-space builder. */
|
|
219
219
|
endpointServe?: EpServeGrant;
|
|
220
220
|
/** v0.4 SERVE mint fence (SPEC §13.1), `endpoint-serve` profile ONLY and REQUIRED there: the
|
|
221
221
|
* durable, single-key issuance gate whose revision-pinned CAS `mintCreds` must WIN to release
|
|
@@ -259,7 +259,7 @@ export interface MintOpts {
|
|
|
259
259
|
lifecycleUid: string;
|
|
260
260
|
};
|
|
261
261
|
};
|
|
262
|
-
/** `lifecycle-executor` profile only (
|
|
262
|
+
/** `lifecycle-executor` profile only (the static §13.1 executor): the ONE incarnation
|
|
263
263
|
* whose lifecycle-state keys this credential may write — the head `lifecycle.<owner>.<actor>`,
|
|
264
264
|
* the reservation `uid.<lifecycleUid>`, the gate `gate.<lifecycleUid>`, the ledger family
|
|
265
265
|
* `cred.<lifecycleUid>.>`, and the manager's durable slot row `mgrslot.<owner>.<alias>`.
|
|
@@ -273,26 +273,25 @@ export interface MintOpts {
|
|
|
273
273
|
lifecycleUid: string;
|
|
274
274
|
alias: string;
|
|
275
275
|
};
|
|
276
|
-
/** `endpoint-serve-executor` profile only
|
|
276
|
+
/** `endpoint-serve-executor` profile only: the ONE endpoint instance whose
|
|
277
277
|
* endpoint-serve state this credential may write — the endpoint gate `epgate.<endpoint>.
|
|
278
278
|
* <instanceId>` (the registration barrier's freeze/reopen CAS + the provisioner create) and the
|
|
279
279
|
* serving ledger family `epcred.<endpoint>.<instanceId>.>` (the mint fence's stage + the barrier's
|
|
280
280
|
* revoke). REQUIRED for that profile. Every key is DERIVED inside the profile from
|
|
281
281
|
* (endpoint, instanceId) — none is a caller literal — so the manager drives the gate CAS + serve
|
|
282
|
-
* mint through THIS scoped executor and nothing else (
|
|
283
|
-
*
|
|
284
|
-
* by every other profile. */
|
|
282
|
+
* mint through THIS scoped executor and nothing else (the standing seed connection never writes
|
|
283
|
+
* the epgate or the epcred family). Ignored by every other profile. */
|
|
285
284
|
endpointServeExecutor?: {
|
|
286
285
|
endpoint: string;
|
|
287
286
|
instanceId: string;
|
|
288
287
|
};
|
|
289
|
-
/** `goal-writer` profile only (
|
|
288
|
+
/** `goal-writer` profile only (spawn-as-action): the endpoint whose action goals this
|
|
290
289
|
* standing connection may bind + commit ({@link goalWriterGrants}). REQUIRED for that profile;
|
|
291
290
|
* ignored by every other. */
|
|
292
291
|
goalWriter?: {
|
|
293
292
|
endpoint: string;
|
|
294
293
|
};
|
|
295
|
-
/** `session-caller` profile only
|
|
294
|
+
/** `session-caller` profile only: the ONE §13.6 session whose two eps rails this
|
|
296
295
|
* credential may use — the serving endpoint, the fresh sessionId, and the serving epoch. REQUIRED
|
|
297
296
|
* for that profile; ignored by every other. The rows pin all three, so the cred authorizes
|
|
298
297
|
* exactly that session's `in`+`out` and nothing else. */
|
|
@@ -301,7 +300,7 @@ export interface MintOpts {
|
|
|
301
300
|
sessionId: string;
|
|
302
301
|
epoch: number;
|
|
303
302
|
};
|
|
304
|
-
/** `session-serving` profile only
|
|
303
|
+
/** `session-serving` profile only: the ONE §13.6 session this SERVING credential may
|
|
305
304
|
* serve — same three coordinates as {@link sessionCaller}, with the rail directions swapped.
|
|
306
305
|
* REQUIRED for that profile; ignored by every other. The `session-ledger` profile takes no pin
|
|
307
306
|
* at all: it holds no rail, so it has nothing to pin. */
|
|
@@ -447,10 +446,6 @@ export interface MintPrincipal {
|
|
|
447
446
|
* launcher (`durableMembership:false`, e.g. `cotal spawn --live-only`) gets no ACL row, so the
|
|
448
447
|
* daemon never authorizes a durable backstop for it. */
|
|
449
448
|
export declare function provisionAgent(provisioner: DurableProvisioner, auth: SpaceAuth, identity: Identity, opts?: ProvisionOpts): Promise<string>;
|
|
450
|
-
/** The read ACL an agent's lists resolve to: an omitted or empty `allowSubscribe` reads exactly
|
|
451
|
-
* `subscribe`. Throws when a subscription lies outside it. A delegated intent's admission resolves
|
|
452
|
-
* here too, so its dry walk checks the list this writer provisions. */
|
|
453
|
-
export declare function resolveReadAcl(subscribe: string[], allowSubscribe: string[] | undefined): string[];
|
|
454
449
|
/** The DURABLE half of agent onboarding, principal-keyed and credential-agnostic: pre-create the
|
|
455
450
|
* bind-only DM + DELIVER durables, record the read ACL, ensure the role TASK queue. The static
|
|
456
451
|
* path ({@link provisionAgent}) follows it with a mint; the USER-MODE spawn path runs it alone —
|
|
@@ -484,7 +479,7 @@ export declare function mintPublicUserJwt(auth: {
|
|
|
484
479
|
/** Build the NATS user permission object for a profile: a default-deny allow-list scoped to
|
|
485
480
|
* exactly what each profile does. Every profile is now enumerated least-privilege — the former
|
|
486
481
|
* allow-all `manager` is gone (its roles split across supervisor/provisioner/operator/purger and the
|
|
487
|
-
*
|
|
482
|
+
* CLI-surface profiles). Subject/stream/durable names come from the shared builders so the ACLs
|
|
488
483
|
* can't drift from the wire layout.
|
|
489
484
|
*
|
|
490
485
|
* PRINCIPAL-PARAMETERIZED + MODE-AGNOSTIC (owner+actor grammar): `pr` carries the owner+actor wire
|
|
@@ -502,8 +497,8 @@ export declare function permissionsFor(profile: Profile, space: string, pr: Mint
|
|
|
502
497
|
* documented migration property, not a silent no-op. The CONNZ/event subjects pin the DATA account id
|
|
503
498
|
* (`auth.account.pub`). Mirrors {@link mintCreds} but issues into the system account. */
|
|
504
499
|
export declare function mintMembershipObserverCreds(auth: SpaceAuth, identity: Identity, opts?: MintOpts): Promise<string>;
|
|
505
|
-
/** Mint the scoped `connection-evictor` creds — the kick-only SYSTEM-account user
|
|
506
|
-
* eviction
|
|
500
|
+
/** Mint the scoped `connection-evictor` creds — the kick-only SYSTEM-account user for live
|
|
501
|
+
* eviction. Same mint-only-at-provision property as the observer (the $SYS seed is in-memory
|
|
507
502
|
* only), same fail-loud when it's absent. Paired with the observer at `up`. */
|
|
508
503
|
export declare function mintConnectionEvictorCreds(auth: SpaceAuth, identity: Identity, opts?: MintOpts): Promise<string>;
|
|
509
504
|
/**
|
|
@@ -544,7 +539,7 @@ export declare function openServerConfig(opts: {
|
|
|
544
539
|
* THIS broker's operator before it is preloaded: rendering a foreign-signed account would either
|
|
545
540
|
* refuse broker boot or, worse, advertise a tenant the broker cannot actually authenticate.
|
|
546
541
|
*
|
|
547
|
-
* NOTE
|
|
542
|
+
* NOTE: the MEMORY resolver is one static whole-broker map, so every mutation rewrites all of
|
|
548
543
|
* it. Concurrent add/remove of spaces needs a broker-authoritative inventory with generation/CAS
|
|
549
544
|
* and atomic promotion above this function; this renderer is deliberately pure. */
|
|
550
545
|
export declare function serverConfig(broker: BrokerAuth, spaces: readonly SpaceAccountAuth[], opts: {
|
|
@@ -566,7 +561,7 @@ export declare function serverConfig(broker: BrokerAuth, spaces: readonly SpaceA
|
|
|
566
561
|
* TLS is listener-wide, so it lives here in the broker options rather than per space —
|
|
567
562
|
* no space can enable, disable or rotate it independently. */
|
|
568
563
|
transport: BrokerTransport;
|
|
569
|
-
/** OPT-IN NATS websocket listener port
|
|
564
|
+
/** OPT-IN NATS websocket listener port: browsers cannot speak raw NATS TCP, so the
|
|
570
565
|
* console session client (a real mesh caller) needs one. This is a NEW ATTACK SURFACE the broker
|
|
571
566
|
* did not have — emitted only when set, DEFAULT-BOUND TO LOCALHOST ({@link wsHost}), no TLS
|
|
572
567
|
* (dev loopback; a remote/TLS dashboard is a later explicit opt-in). Omit it and no listener
|
package/dist/provision.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provision.d.ts","sourceRoot":"","sources":["../src/provision.ts"],"names":[],"mappings":"AA0BA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAmCL,KAAK,iBAAiB,EAgBvB,MAAM,eAAe,CAAC;AAEvB,OAAO,EAGL,KAAK,YAAY,EAClB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAmD,KAAK,YAAY,EAAE,KAAK,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAGhI,OAAO,EAAqG,KAAK,YAAY,EAA2B,MAAM,uBAAuB,CAAC;AAEtL,OAAO,EAAyD,KAAK,kBAAkB,EAAE,KAAK,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAKnJ,OAAO,
|
|
1
|
+
{"version":3,"file":"provision.d.ts","sourceRoot":"","sources":["../src/provision.ts"],"names":[],"mappings":"AA0BA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAmCL,KAAK,iBAAiB,EAgBvB,MAAM,eAAe,CAAC;AAEvB,OAAO,EAGL,KAAK,YAAY,EAClB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAmD,KAAK,YAAY,EAAE,KAAK,cAAc,EAAE,MAAM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