@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/index.cjs CHANGED
@@ -21800,7 +21800,8 @@ var _TinyCloudNode = class _TinyCloudNode {
21800
21800
  invoke: config.invoke,
21801
21801
  fetch: config.fetch ?? globalThis.fetch.bind(globalThis),
21802
21802
  hosts: config.hosts,
21803
- telemetry: this.config.telemetry
21803
+ telemetry: this.config.telemetry,
21804
+ retryPolicy: this.config.retryPolicy
21804
21805
  }));
21805
21806
  kvContext.setSession(config.session);
21806
21807
  kvService.initialize(kvContext);
@@ -21851,7 +21852,8 @@ var _TinyCloudNode = class _TinyCloudNode {
21851
21852
  });
21852
21853
  this.tc = new import_sdk_core9.TinyCloud(this.auth, {
21853
21854
  invokeAny: this.invokeAnyWithRuntimePermissions,
21854
- telemetry: config.telemetry
21855
+ telemetry: config.telemetry,
21856
+ retryPolicy: config.retryPolicy
21855
21857
  });
21856
21858
  }
21857
21859
  shouldUseBootstrapSignInRequest(config) {
@@ -22213,7 +22215,8 @@ var _TinyCloudNode = class _TinyCloudNode {
22213
22215
  this.auth = oldAuth;
22214
22216
  this.tc = this.auth ? new import_sdk_core9.TinyCloud(this.auth, {
22215
22217
  invokeAny: this.invokeAnyWithRuntimePermissions,
22216
- telemetry: this.config.telemetry
22218
+ telemetry: this.config.telemetry,
22219
+ retryPolicy: this.config.retryPolicy
22217
22220
  }) : null;
22218
22221
  this._capabilityRegistry = new import_sdk_core9.CapabilityKeyRegistry();
22219
22222
  this._keyProvider = new WasmKeyProvider({ sessionManager: this.sessionManager });
@@ -22864,7 +22867,8 @@ var _TinyCloudNode = class _TinyCloudNode {
22864
22867
  invokeAny: context.invokeAny,
22865
22868
  fetch: context.fetch,
22866
22869
  hosts: context.hosts,
22867
- telemetry: this.config.telemetry
22870
+ telemetry: this.config.telemetry,
22871
+ retryPolicy: this.config.retryPolicy
22868
22872
  }));
22869
22873
  scoped.setOperationAbortSignal(signal);
22870
22874
  scoped.setSession({ ...session, spaceId });
@@ -22911,6 +22915,10 @@ var _TinyCloudNode = class _TinyCloudNode {
22911
22915
  return;
22912
22916
  }
22913
22917
  if (!this.currentSessionCoversAccountRegistry()) {
22918
+ if (!_TinyCloudNode.accountRegistrySkipLogged) {
22919
+ _TinyCloudNode.accountRegistrySkipLogged = true;
22920
+ import_sdk_services2.tinyCloudDebugLogger.log("registry.skip");
22921
+ }
22914
22922
  return;
22915
22923
  }
22916
22924
  const controller = new AbortController();
@@ -22926,7 +22934,8 @@ var _TinyCloudNode = class _TinyCloudNode {
22926
22934
  invokeAny: sharedContext.invokeAny,
22927
22935
  fetch: sharedContext.fetch,
22928
22936
  hosts: sharedContext.hosts,
22929
- telemetry: this.config.telemetry
22937
+ telemetry: this.config.telemetry,
22938
+ retryPolicy: this.config.retryPolicy
22930
22939
  }));
22931
22940
  context.setOperationAbortSignal(controller.signal);
22932
22941
  const current = this.currentTinyCloudSession();
@@ -23768,7 +23777,8 @@ var _TinyCloudNode = class _TinyCloudNode {
23768
23777
  const graph = this.createServiceGraphLifetime();
23769
23778
  const core = this.auth ? new import_sdk_core9.TinyCloud(this.auth, {
23770
23779
  invokeAny: graph.invokeAny,
23771
- telemetry: this.config.telemetry
23780
+ telemetry: this.config.telemetry,
23781
+ retryPolicy: this.config.retryPolicy
23772
23782
  }) : null;
23773
23783
  if (core) {
23774
23784
  core.initializeServices(graph.invoke, [input.host], graph.fetch);
@@ -23780,7 +23790,8 @@ var _TinyCloudNode = class _TinyCloudNode {
23780
23790
  invokeAny: graph.invokeAny,
23781
23791
  fetch: graph.fetch,
23782
23792
  hosts: [input.host],
23783
- telemetry: this.config.telemetry
23793
+ telemetry: this.config.telemetry,
23794
+ retryPolicy: this.config.retryPolicy
23784
23795
  }));
23785
23796
  const kv = new import_sdk_core9.KVService({});
23786
23797
  kv.initialize(serviceContext);
@@ -23866,7 +23877,8 @@ var _TinyCloudNode = class _TinyCloudNode {
23866
23877
  invoke: config.invoke,
23867
23878
  fetch: config.fetch ?? globalThis.fetch.bind(globalThis),
23868
23879
  hosts: config.hosts,
23869
- telemetry: this.config.telemetry
23880
+ telemetry: this.config.telemetry,
23881
+ retryPolicy: this.config.retryPolicy
23870
23882
  }));
23871
23883
  context.setSession(config.session);
23872
23884
  service.initialize(context);
@@ -23906,7 +23918,8 @@ var _TinyCloudNode = class _TinyCloudNode {
23906
23918
  invokeAny: graph.invokeAny,
23907
23919
  fetch: graph.fetch,
23908
23920
  hosts: [input.host],
23909
- telemetry: this.config.telemetry
23921
+ telemetry: this.config.telemetry,
23922
+ retryPolicy: this.config.retryPolicy
23910
23923
  }));
23911
23924
  context.setSession({ ...input.serviceSession, spaceId });
23912
23925
  scopedKv.initialize(context);
@@ -23921,7 +23934,8 @@ var _TinyCloudNode = class _TinyCloudNode {
23921
23934
  invokeAny: graph.invokeAny,
23922
23935
  fetch: graph.fetch,
23923
23936
  hosts: [input.host],
23924
- telemetry: this.config.telemetry
23937
+ telemetry: this.config.telemetry,
23938
+ retryPolicy: this.config.retryPolicy
23925
23939
  }));
23926
23940
  context.setSession({ ...input.serviceSession, spaceId });
23927
23941
  scopedKv.initialize(context);
@@ -24233,7 +24247,8 @@ var _TinyCloudNode = class _TinyCloudNode {
24233
24247
  });
24234
24248
  this.tc = new import_sdk_core9.TinyCloud(this.auth, {
24235
24249
  invokeAny: this.invokeAnyWithRuntimePermissions,
24236
- telemetry: this.config.telemetry
24250
+ telemetry: this.config.telemetry,
24251
+ retryPolicy: this.config.retryPolicy
24237
24252
  });
24238
24253
  this.config.prefix = prefix;
24239
24254
  }
@@ -24293,7 +24308,8 @@ var _TinyCloudNode = class _TinyCloudNode {
24293
24308
  });
24294
24309
  this.tc = new import_sdk_core9.TinyCloud(this.auth, {
24295
24310
  invokeAny: this.invokeAnyWithRuntimePermissions,
24296
- telemetry: this.config.telemetry
24311
+ telemetry: this.config.telemetry,
24312
+ retryPolicy: this.config.retryPolicy
24297
24313
  });
24298
24314
  this.config.prefix = prefix;
24299
24315
  }
@@ -24317,7 +24333,8 @@ var _TinyCloudNode = class _TinyCloudNode {
24317
24333
  invokeAny: this._serviceGraph.invokeAny,
24318
24334
  fetch: this._serviceGraph.fetch,
24319
24335
  hosts: [this.config.host],
24320
- telemetry: this.config.telemetry
24336
+ telemetry: this.config.telemetry,
24337
+ retryPolicy: this.config.retryPolicy
24321
24338
  }));
24322
24339
  this._kv = new import_sdk_core9.KVService({});
24323
24340
  this._kv.initialize(this._serviceContext);
@@ -24364,7 +24381,8 @@ var _TinyCloudNode = class _TinyCloudNode {
24364
24381
  invokeAny: this._serviceContext.invokeAny,
24365
24382
  fetch: this._serviceContext.fetch,
24366
24383
  hosts: this._serviceContext.hosts,
24367
- telemetry: this.config.telemetry
24384
+ telemetry: this.config.telemetry,
24385
+ retryPolicy: this.config.retryPolicy
24368
24386
  }));
24369
24387
  const session = this._serviceContext.session;
24370
24388
  if (session) {
@@ -24831,7 +24849,8 @@ var _TinyCloudNode = class _TinyCloudNode {
24831
24849
  invoke: config.invoke,
24832
24850
  fetch: config.fetch ?? graph.fetch,
24833
24851
  hosts: config.hosts,
24834
- telemetry: this.config.telemetry
24852
+ telemetry: this.config.telemetry,
24853
+ retryPolicy: this.config.retryPolicy
24835
24854
  }));
24836
24855
  context.setSession(config.session);
24837
24856
  service.initialize(context);
@@ -25152,7 +25171,8 @@ var _TinyCloudNode = class _TinyCloudNode {
25152
25171
  invokeAny: this._serviceContext.invokeAny,
25153
25172
  fetch: this._serviceContext.fetch,
25154
25173
  hosts: this._serviceContext.hosts,
25155
- telemetry: this.config.telemetry
25174
+ telemetry: this.config.telemetry,
25175
+ retryPolicy: this.config.retryPolicy
25156
25176
  }));
25157
25177
  spaceScopedContext.setSession({ ...this._serviceContext.session, spaceId });
25158
25178
  sql.initialize(spaceScopedContext);
@@ -25970,7 +25990,8 @@ var _TinyCloudNode = class _TinyCloudNode {
25970
25990
  invoke: this._serviceGraph.invoke,
25971
25991
  fetch: this._serviceGraph.fetch,
25972
25992
  hosts: this._serviceContext.hosts,
25973
- telemetry: this.config.telemetry
25993
+ telemetry: this.config.telemetry,
25994
+ retryPolicy: this.config.retryPolicy
25974
25995
  }));
25975
25996
  publicContext.setSession({
25976
25997
  delegationHeader: delegationSession.delegationHeader,
@@ -27462,6 +27483,8 @@ var _TinyCloudNode = class _TinyCloudNode {
27462
27483
  };
27463
27484
  }
27464
27485
  };
27486
+ /** Set once per process: the registry sync was skipped for want of account access. */
27487
+ _TinyCloudNode.accountRegistrySkipLogged = false;
27465
27488
  // ===========================================================================
27466
27489
  // Capability-chain delegation (spec: .claude/specs/capability-chain.md)
27467
27490
  // ===========================================================================