@tinycloud/node-sdk 3.3.0-beta.23 → 3.3.0-beta.25
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/{TinyCloudNode-Dxdmw48u.d.cts → TinyCloudNode-DeV-L_14.d.cts} +5 -1
- package/dist/{TinyCloudNode-Dxdmw48u.d.ts → TinyCloudNode-DeV-L_14.d.ts} +5 -1
- package/dist/{authority-DVbN0Tqt.d.cts → authority-BO2VqGnD.d.cts} +1 -1
- package/dist/{authority-CT9_mApq.d.ts → authority-CtsxSAoP.d.ts} +1 -1
- package/dist/core.cjs +40 -17
- package/dist/core.cjs.map +1 -1
- package/dist/core.d.cts +2 -2
- package/dist/core.d.ts +2 -2
- package/dist/core.js +44 -20
- package/dist/core.js.map +1 -1
- package/dist/index.cjs +40 -17
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +44 -20
- package/dist/index.js.map +1 -1
- package/dist/replication/authority.d.cts +2 -2
- package/dist/replication/authority.d.ts +2 -2
- package/package.json +4 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _tinycloud_sdk_core from '@tinycloud/sdk-core';
|
|
2
|
-
import { AutoSignStrategy, AutoRejectStrategy, CallbackStrategy, CapabilityPresentationEnvelopeV1, IUserAuthorization, ISigner, ISessionStorage, ISpaceCreationHandler, RegistryPolicy, RegistrySequenceStore, OnNodeNotFound, LocalNodeIdentityStore, IWasmBindings, ISessionManager, SiweConfig, Manifest, ComposedManifestRequest, ReplicationOptions, TinyCloudSession, PersistedSessionData, ClientSession, PermissionEntry, Extension, SignRequest, SpaceHostResult, SignInOptions, Delegation, DelegatedResource, TelemetryConfig, ServiceContext, IKVService, ISQLService, IDuckDbService, IHooksService, CreateOwnerDelegationParams as CreateOwnerDelegationParams$1, OwnerDelegationReceipt as OwnerDelegationReceipt$1, StorageFullEvent, IStorageService, INotificationHandler, IENSResolver, KVReplicaStorage, AccountService, InvokeAnyFunction as InvokeAnyFunction$1, UnifiedPolicyCapability, RegisterPolicyV3Input, RegisterPolicyV3Receipt, CanonicalJson, ShareDeliveryAuthorizationV3Receipt, IDataVaultService, IEncryptionService, NetworkDescriptor, ISecretsService, ICapabilityKeyRegistry, DelegationManager, ISpaceService, ISpace, ISharingService, DelegationResult, DelegationRevocationReceipt, DelegationStatus, ServiceSession, ReplicationControl, ResolvedDelegate } from '@tinycloud/sdk-core';
|
|
2
|
+
import { AutoSignStrategy, AutoRejectStrategy, CallbackStrategy, CapabilityPresentationEnvelopeV1, IUserAuthorization, ISigner, ISessionStorage, ISpaceCreationHandler, RegistryPolicy, RegistrySequenceStore, OnNodeNotFound, LocalNodeIdentityStore, IWasmBindings, ISessionManager, SiweConfig, Manifest, ComposedManifestRequest, ReplicationOptions, TinyCloudSession, PersistedSessionData, ClientSession, PermissionEntry, Extension, SignRequest, SpaceHostResult, SignInOptions, Delegation, DelegatedResource, TelemetryConfig, ServiceContext, IKVService, ISQLService, IDuckDbService, IHooksService, CreateOwnerDelegationParams as CreateOwnerDelegationParams$1, OwnerDelegationReceipt as OwnerDelegationReceipt$1, StorageFullEvent, IStorageService, INotificationHandler, IENSResolver, RetryPolicy, KVReplicaStorage, AccountService, InvokeAnyFunction as InvokeAnyFunction$1, UnifiedPolicyCapability, RegisterPolicyV3Input, RegisterPolicyV3Receipt, CanonicalJson, ShareDeliveryAuthorizationV3Receipt, IDataVaultService, IEncryptionService, NetworkDescriptor, ISecretsService, ICapabilityKeyRegistry, DelegationManager, ISpaceService, ISpace, ISharingService, DelegationResult, DelegationRevocationReceipt, DelegationStatus, ServiceSession, ReplicationControl, ResolvedDelegate } from '@tinycloud/sdk-core';
|
|
3
3
|
import { ReplicaSessionStamp } from '@tinycloud/sdk-services/kv/replication';
|
|
4
4
|
import { EventEmitter } from 'events';
|
|
5
5
|
import { InvokeFunction, InvokeAnyFunction, FetchFunction } from '@tinycloud/sdk-services';
|
|
@@ -1324,6 +1324,8 @@ interface TinyCloudNodeConfig {
|
|
|
1324
1324
|
autoBootstrapAccount?: boolean;
|
|
1325
1325
|
/** Default-off service telemetry. */
|
|
1326
1326
|
telemetry?: TelemetryConfig;
|
|
1327
|
+
/** Retry of node busy/timeout answers; `{ maxAttempts: 1 }` disables it. See {@link RetryPolicy}. */
|
|
1328
|
+
retryPolicy?: Partial<RetryPolicy>;
|
|
1327
1329
|
/**
|
|
1328
1330
|
* Optional read-through replica configuration; disabled unless explicitly enabled.
|
|
1329
1331
|
* Node profile mutations require `profileDir` and a caller-supplied `profileGuard` holding
|
|
@@ -1902,6 +1904,8 @@ declare class TinyCloudNode {
|
|
|
1902
1904
|
private registerPrimarySessionGrant;
|
|
1903
1905
|
private writeManifestRegistryRecords;
|
|
1904
1906
|
private createAccountRegistryServices;
|
|
1907
|
+
/** Set once per process: the registry sync was skipped for want of account access. */
|
|
1908
|
+
private static accountRegistrySkipLogged;
|
|
1905
1909
|
private scheduleAccountRegistrySync;
|
|
1906
1910
|
private enqueueAccountRegistryOperation;
|
|
1907
1911
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _tinycloud_sdk_core from '@tinycloud/sdk-core';
|
|
2
|
-
import { AutoSignStrategy, AutoRejectStrategy, CallbackStrategy, CapabilityPresentationEnvelopeV1, IUserAuthorization, ISigner, ISessionStorage, ISpaceCreationHandler, RegistryPolicy, RegistrySequenceStore, OnNodeNotFound, LocalNodeIdentityStore, IWasmBindings, ISessionManager, SiweConfig, Manifest, ComposedManifestRequest, ReplicationOptions, TinyCloudSession, PersistedSessionData, ClientSession, PermissionEntry, Extension, SignRequest, SpaceHostResult, SignInOptions, Delegation, DelegatedResource, TelemetryConfig, ServiceContext, IKVService, ISQLService, IDuckDbService, IHooksService, CreateOwnerDelegationParams as CreateOwnerDelegationParams$1, OwnerDelegationReceipt as OwnerDelegationReceipt$1, StorageFullEvent, IStorageService, INotificationHandler, IENSResolver, KVReplicaStorage, AccountService, InvokeAnyFunction as InvokeAnyFunction$1, UnifiedPolicyCapability, RegisterPolicyV3Input, RegisterPolicyV3Receipt, CanonicalJson, ShareDeliveryAuthorizationV3Receipt, IDataVaultService, IEncryptionService, NetworkDescriptor, ISecretsService, ICapabilityKeyRegistry, DelegationManager, ISpaceService, ISpace, ISharingService, DelegationResult, DelegationRevocationReceipt, DelegationStatus, ServiceSession, ReplicationControl, ResolvedDelegate } from '@tinycloud/sdk-core';
|
|
2
|
+
import { AutoSignStrategy, AutoRejectStrategy, CallbackStrategy, CapabilityPresentationEnvelopeV1, IUserAuthorization, ISigner, ISessionStorage, ISpaceCreationHandler, RegistryPolicy, RegistrySequenceStore, OnNodeNotFound, LocalNodeIdentityStore, IWasmBindings, ISessionManager, SiweConfig, Manifest, ComposedManifestRequest, ReplicationOptions, TinyCloudSession, PersistedSessionData, ClientSession, PermissionEntry, Extension, SignRequest, SpaceHostResult, SignInOptions, Delegation, DelegatedResource, TelemetryConfig, ServiceContext, IKVService, ISQLService, IDuckDbService, IHooksService, CreateOwnerDelegationParams as CreateOwnerDelegationParams$1, OwnerDelegationReceipt as OwnerDelegationReceipt$1, StorageFullEvent, IStorageService, INotificationHandler, IENSResolver, RetryPolicy, KVReplicaStorage, AccountService, InvokeAnyFunction as InvokeAnyFunction$1, UnifiedPolicyCapability, RegisterPolicyV3Input, RegisterPolicyV3Receipt, CanonicalJson, ShareDeliveryAuthorizationV3Receipt, IDataVaultService, IEncryptionService, NetworkDescriptor, ISecretsService, ICapabilityKeyRegistry, DelegationManager, ISpaceService, ISpace, ISharingService, DelegationResult, DelegationRevocationReceipt, DelegationStatus, ServiceSession, ReplicationControl, ResolvedDelegate } from '@tinycloud/sdk-core';
|
|
3
3
|
import { ReplicaSessionStamp } from '@tinycloud/sdk-services/kv/replication';
|
|
4
4
|
import { EventEmitter } from 'events';
|
|
5
5
|
import { InvokeFunction, InvokeAnyFunction, FetchFunction } from '@tinycloud/sdk-services';
|
|
@@ -1324,6 +1324,8 @@ interface TinyCloudNodeConfig {
|
|
|
1324
1324
|
autoBootstrapAccount?: boolean;
|
|
1325
1325
|
/** Default-off service telemetry. */
|
|
1326
1326
|
telemetry?: TelemetryConfig;
|
|
1327
|
+
/** Retry of node busy/timeout answers; `{ maxAttempts: 1 }` disables it. See {@link RetryPolicy}. */
|
|
1328
|
+
retryPolicy?: Partial<RetryPolicy>;
|
|
1327
1329
|
/**
|
|
1328
1330
|
* Optional read-through replica configuration; disabled unless explicitly enabled.
|
|
1329
1331
|
* Node profile mutations require `profileDir` and a caller-supplied `profileGuard` holding
|
|
@@ -1902,6 +1904,8 @@ declare class TinyCloudNode {
|
|
|
1902
1904
|
private registerPrimarySessionGrant;
|
|
1903
1905
|
private writeManifestRegistryRecords;
|
|
1904
1906
|
private createAccountRegistryServices;
|
|
1907
|
+
/** Set once per process: the registry sync was skipped for want of account access. */
|
|
1908
|
+
private static accountRegistrySkipLogged;
|
|
1905
1909
|
private scheduleAccountRegistrySync;
|
|
1906
1910
|
private enqueueAccountRegistryOperation;
|
|
1907
1911
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ReplicationOptions, PermissionEntry, TinyCloudSession, KVReplicaStorage, ServiceContext, IWasmBindings, WasmRecapEntry } from '@tinycloud/sdk-core';
|
|
2
2
|
import { ReplicaConsentAnchor, AuthorityRefusal, ReplicationAuthority } from '@tinycloud/sdk-services';
|
|
3
3
|
import { ReplicaSessionStamp, ReplicaDenyInput } from '@tinycloud/sdk-services/kv/replication';
|
|
4
|
-
import { T as TinyCloudNode } from './TinyCloudNode-
|
|
4
|
+
import { T as TinyCloudNode } from './TinyCloudNode-DeV-L_14.cjs';
|
|
5
5
|
|
|
6
6
|
/** Constructor-time validation; the space-dependent secrets check runs at sign-in and open. */
|
|
7
7
|
declare function assertValidReplicationConfig(replication: (ReplicationOptions & {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ReplicationOptions, PermissionEntry, TinyCloudSession, KVReplicaStorage, ServiceContext, IWasmBindings, WasmRecapEntry } from '@tinycloud/sdk-core';
|
|
2
2
|
import { ReplicaConsentAnchor, AuthorityRefusal, ReplicationAuthority } from '@tinycloud/sdk-services';
|
|
3
3
|
import { ReplicaSessionStamp, ReplicaDenyInput } from '@tinycloud/sdk-services/kv/replication';
|
|
4
|
-
import { T as TinyCloudNode } from './TinyCloudNode-
|
|
4
|
+
import { T as TinyCloudNode } from './TinyCloudNode-DeV-L_14.js';
|
|
5
5
|
|
|
6
6
|
/** Constructor-time validation; the space-dependent secrets check runs at sign-in and open. */
|
|
7
7
|
declare function assertValidReplicationConfig(replication: (ReplicationOptions & {
|
package/dist/core.cjs
CHANGED
|
@@ -3972,7 +3972,8 @@ var _TinyCloudNode = class _TinyCloudNode {
|
|
|
3972
3972
|
invoke: config.invoke,
|
|
3973
3973
|
fetch: config.fetch ?? globalThis.fetch.bind(globalThis),
|
|
3974
3974
|
hosts: config.hosts,
|
|
3975
|
-
telemetry: this.config.telemetry
|
|
3975
|
+
telemetry: this.config.telemetry,
|
|
3976
|
+
retryPolicy: this.config.retryPolicy
|
|
3976
3977
|
}));
|
|
3977
3978
|
kvContext.setSession(config.session);
|
|
3978
3979
|
kvService.initialize(kvContext);
|
|
@@ -4023,7 +4024,8 @@ var _TinyCloudNode = class _TinyCloudNode {
|
|
|
4023
4024
|
});
|
|
4024
4025
|
this.tc = new import_sdk_core10.TinyCloud(this.auth, {
|
|
4025
4026
|
invokeAny: this.invokeAnyWithRuntimePermissions,
|
|
4026
|
-
telemetry: config.telemetry
|
|
4027
|
+
telemetry: config.telemetry,
|
|
4028
|
+
retryPolicy: config.retryPolicy
|
|
4027
4029
|
});
|
|
4028
4030
|
}
|
|
4029
4031
|
shouldUseBootstrapSignInRequest(config) {
|
|
@@ -4385,7 +4387,8 @@ var _TinyCloudNode = class _TinyCloudNode {
|
|
|
4385
4387
|
this.auth = oldAuth;
|
|
4386
4388
|
this.tc = this.auth ? new import_sdk_core10.TinyCloud(this.auth, {
|
|
4387
4389
|
invokeAny: this.invokeAnyWithRuntimePermissions,
|
|
4388
|
-
telemetry: this.config.telemetry
|
|
4390
|
+
telemetry: this.config.telemetry,
|
|
4391
|
+
retryPolicy: this.config.retryPolicy
|
|
4389
4392
|
}) : null;
|
|
4390
4393
|
this._capabilityRegistry = new import_sdk_core10.CapabilityKeyRegistry();
|
|
4391
4394
|
this._keyProvider = new WasmKeyProvider({ sessionManager: this.sessionManager });
|
|
@@ -5036,7 +5039,8 @@ var _TinyCloudNode = class _TinyCloudNode {
|
|
|
5036
5039
|
invokeAny: context.invokeAny,
|
|
5037
5040
|
fetch: context.fetch,
|
|
5038
5041
|
hosts: context.hosts,
|
|
5039
|
-
telemetry: this.config.telemetry
|
|
5042
|
+
telemetry: this.config.telemetry,
|
|
5043
|
+
retryPolicy: this.config.retryPolicy
|
|
5040
5044
|
}));
|
|
5041
5045
|
scoped.setOperationAbortSignal(signal);
|
|
5042
5046
|
scoped.setSession({ ...session, spaceId });
|
|
@@ -5083,6 +5087,10 @@ var _TinyCloudNode = class _TinyCloudNode {
|
|
|
5083
5087
|
return;
|
|
5084
5088
|
}
|
|
5085
5089
|
if (!this.currentSessionCoversAccountRegistry()) {
|
|
5090
|
+
if (!_TinyCloudNode.accountRegistrySkipLogged) {
|
|
5091
|
+
_TinyCloudNode.accountRegistrySkipLogged = true;
|
|
5092
|
+
import_sdk_services2.tinyCloudDebugLogger.log("registry.skip");
|
|
5093
|
+
}
|
|
5086
5094
|
return;
|
|
5087
5095
|
}
|
|
5088
5096
|
const controller = new AbortController();
|
|
@@ -5098,7 +5106,8 @@ var _TinyCloudNode = class _TinyCloudNode {
|
|
|
5098
5106
|
invokeAny: sharedContext.invokeAny,
|
|
5099
5107
|
fetch: sharedContext.fetch,
|
|
5100
5108
|
hosts: sharedContext.hosts,
|
|
5101
|
-
telemetry: this.config.telemetry
|
|
5109
|
+
telemetry: this.config.telemetry,
|
|
5110
|
+
retryPolicy: this.config.retryPolicy
|
|
5102
5111
|
}));
|
|
5103
5112
|
context.setOperationAbortSignal(controller.signal);
|
|
5104
5113
|
const current = this.currentTinyCloudSession();
|
|
@@ -5940,7 +5949,8 @@ var _TinyCloudNode = class _TinyCloudNode {
|
|
|
5940
5949
|
const graph = this.createServiceGraphLifetime();
|
|
5941
5950
|
const core = this.auth ? new import_sdk_core10.TinyCloud(this.auth, {
|
|
5942
5951
|
invokeAny: graph.invokeAny,
|
|
5943
|
-
telemetry: this.config.telemetry
|
|
5952
|
+
telemetry: this.config.telemetry,
|
|
5953
|
+
retryPolicy: this.config.retryPolicy
|
|
5944
5954
|
}) : null;
|
|
5945
5955
|
if (core) {
|
|
5946
5956
|
core.initializeServices(graph.invoke, [input.host], graph.fetch);
|
|
@@ -5952,7 +5962,8 @@ var _TinyCloudNode = class _TinyCloudNode {
|
|
|
5952
5962
|
invokeAny: graph.invokeAny,
|
|
5953
5963
|
fetch: graph.fetch,
|
|
5954
5964
|
hosts: [input.host],
|
|
5955
|
-
telemetry: this.config.telemetry
|
|
5965
|
+
telemetry: this.config.telemetry,
|
|
5966
|
+
retryPolicy: this.config.retryPolicy
|
|
5956
5967
|
}));
|
|
5957
5968
|
const kv = new import_sdk_core10.KVService({});
|
|
5958
5969
|
kv.initialize(serviceContext);
|
|
@@ -6038,7 +6049,8 @@ var _TinyCloudNode = class _TinyCloudNode {
|
|
|
6038
6049
|
invoke: config.invoke,
|
|
6039
6050
|
fetch: config.fetch ?? globalThis.fetch.bind(globalThis),
|
|
6040
6051
|
hosts: config.hosts,
|
|
6041
|
-
telemetry: this.config.telemetry
|
|
6052
|
+
telemetry: this.config.telemetry,
|
|
6053
|
+
retryPolicy: this.config.retryPolicy
|
|
6042
6054
|
}));
|
|
6043
6055
|
context.setSession(config.session);
|
|
6044
6056
|
service.initialize(context);
|
|
@@ -6078,7 +6090,8 @@ var _TinyCloudNode = class _TinyCloudNode {
|
|
|
6078
6090
|
invokeAny: graph.invokeAny,
|
|
6079
6091
|
fetch: graph.fetch,
|
|
6080
6092
|
hosts: [input.host],
|
|
6081
|
-
telemetry: this.config.telemetry
|
|
6093
|
+
telemetry: this.config.telemetry,
|
|
6094
|
+
retryPolicy: this.config.retryPolicy
|
|
6082
6095
|
}));
|
|
6083
6096
|
context.setSession({ ...input.serviceSession, spaceId });
|
|
6084
6097
|
scopedKv.initialize(context);
|
|
@@ -6093,7 +6106,8 @@ var _TinyCloudNode = class _TinyCloudNode {
|
|
|
6093
6106
|
invokeAny: graph.invokeAny,
|
|
6094
6107
|
fetch: graph.fetch,
|
|
6095
6108
|
hosts: [input.host],
|
|
6096
|
-
telemetry: this.config.telemetry
|
|
6109
|
+
telemetry: this.config.telemetry,
|
|
6110
|
+
retryPolicy: this.config.retryPolicy
|
|
6097
6111
|
}));
|
|
6098
6112
|
context.setSession({ ...input.serviceSession, spaceId });
|
|
6099
6113
|
scopedKv.initialize(context);
|
|
@@ -6405,7 +6419,8 @@ var _TinyCloudNode = class _TinyCloudNode {
|
|
|
6405
6419
|
});
|
|
6406
6420
|
this.tc = new import_sdk_core10.TinyCloud(this.auth, {
|
|
6407
6421
|
invokeAny: this.invokeAnyWithRuntimePermissions,
|
|
6408
|
-
telemetry: this.config.telemetry
|
|
6422
|
+
telemetry: this.config.telemetry,
|
|
6423
|
+
retryPolicy: this.config.retryPolicy
|
|
6409
6424
|
});
|
|
6410
6425
|
this.config.prefix = prefix;
|
|
6411
6426
|
}
|
|
@@ -6465,7 +6480,8 @@ var _TinyCloudNode = class _TinyCloudNode {
|
|
|
6465
6480
|
});
|
|
6466
6481
|
this.tc = new import_sdk_core10.TinyCloud(this.auth, {
|
|
6467
6482
|
invokeAny: this.invokeAnyWithRuntimePermissions,
|
|
6468
|
-
telemetry: this.config.telemetry
|
|
6483
|
+
telemetry: this.config.telemetry,
|
|
6484
|
+
retryPolicy: this.config.retryPolicy
|
|
6469
6485
|
});
|
|
6470
6486
|
this.config.prefix = prefix;
|
|
6471
6487
|
}
|
|
@@ -6489,7 +6505,8 @@ var _TinyCloudNode = class _TinyCloudNode {
|
|
|
6489
6505
|
invokeAny: this._serviceGraph.invokeAny,
|
|
6490
6506
|
fetch: this._serviceGraph.fetch,
|
|
6491
6507
|
hosts: [this.config.host],
|
|
6492
|
-
telemetry: this.config.telemetry
|
|
6508
|
+
telemetry: this.config.telemetry,
|
|
6509
|
+
retryPolicy: this.config.retryPolicy
|
|
6493
6510
|
}));
|
|
6494
6511
|
this._kv = new import_sdk_core10.KVService({});
|
|
6495
6512
|
this._kv.initialize(this._serviceContext);
|
|
@@ -6536,7 +6553,8 @@ var _TinyCloudNode = class _TinyCloudNode {
|
|
|
6536
6553
|
invokeAny: this._serviceContext.invokeAny,
|
|
6537
6554
|
fetch: this._serviceContext.fetch,
|
|
6538
6555
|
hosts: this._serviceContext.hosts,
|
|
6539
|
-
telemetry: this.config.telemetry
|
|
6556
|
+
telemetry: this.config.telemetry,
|
|
6557
|
+
retryPolicy: this.config.retryPolicy
|
|
6540
6558
|
}));
|
|
6541
6559
|
const session = this._serviceContext.session;
|
|
6542
6560
|
if (session) {
|
|
@@ -7003,7 +7021,8 @@ var _TinyCloudNode = class _TinyCloudNode {
|
|
|
7003
7021
|
invoke: config.invoke,
|
|
7004
7022
|
fetch: config.fetch ?? graph.fetch,
|
|
7005
7023
|
hosts: config.hosts,
|
|
7006
|
-
telemetry: this.config.telemetry
|
|
7024
|
+
telemetry: this.config.telemetry,
|
|
7025
|
+
retryPolicy: this.config.retryPolicy
|
|
7007
7026
|
}));
|
|
7008
7027
|
context.setSession(config.session);
|
|
7009
7028
|
service.initialize(context);
|
|
@@ -7324,7 +7343,8 @@ var _TinyCloudNode = class _TinyCloudNode {
|
|
|
7324
7343
|
invokeAny: this._serviceContext.invokeAny,
|
|
7325
7344
|
fetch: this._serviceContext.fetch,
|
|
7326
7345
|
hosts: this._serviceContext.hosts,
|
|
7327
|
-
telemetry: this.config.telemetry
|
|
7346
|
+
telemetry: this.config.telemetry,
|
|
7347
|
+
retryPolicy: this.config.retryPolicy
|
|
7328
7348
|
}));
|
|
7329
7349
|
spaceScopedContext.setSession({ ...this._serviceContext.session, spaceId });
|
|
7330
7350
|
sql.initialize(spaceScopedContext);
|
|
@@ -8142,7 +8162,8 @@ var _TinyCloudNode = class _TinyCloudNode {
|
|
|
8142
8162
|
invoke: this._serviceGraph.invoke,
|
|
8143
8163
|
fetch: this._serviceGraph.fetch,
|
|
8144
8164
|
hosts: this._serviceContext.hosts,
|
|
8145
|
-
telemetry: this.config.telemetry
|
|
8165
|
+
telemetry: this.config.telemetry,
|
|
8166
|
+
retryPolicy: this.config.retryPolicy
|
|
8146
8167
|
}));
|
|
8147
8168
|
publicContext.setSession({
|
|
8148
8169
|
delegationHeader: delegationSession.delegationHeader,
|
|
@@ -9634,6 +9655,8 @@ var _TinyCloudNode = class _TinyCloudNode {
|
|
|
9634
9655
|
};
|
|
9635
9656
|
}
|
|
9636
9657
|
};
|
|
9658
|
+
/** Set once per process: the registry sync was skipped for want of account access. */
|
|
9659
|
+
_TinyCloudNode.accountRegistrySkipLogged = false;
|
|
9637
9660
|
// ===========================================================================
|
|
9638
9661
|
// Capability-chain delegation (spec: .claude/specs/capability-chain.md)
|
|
9639
9662
|
// ===========================================================================
|