@senpi-ai/runtime 3.0.104 → 3.0.106

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 (92) hide show
  1. package/dist/cli/guide-commands.d.ts.map +1 -1
  2. package/dist/cli/guide-commands.js +38 -0
  3. package/dist/cli/guide-commands.js.map +1 -1
  4. package/dist/cli/senpi-commands.d.ts.map +1 -1
  5. package/dist/cli/senpi-commands.js +29 -1
  6. package/dist/cli/senpi-commands.js.map +1 -1
  7. package/dist/cli/update-command.d.ts +69 -0
  8. package/dist/cli/update-command.d.ts.map +1 -0
  9. package/dist/cli/update-command.js +153 -0
  10. package/dist/cli/update-command.js.map +1 -0
  11. package/dist/dsl/plugin/index.d.ts +35 -1
  12. package/dist/dsl/plugin/index.d.ts.map +1 -1
  13. package/dist/dsl/plugin/index.js +62 -7
  14. package/dist/dsl/plugin/index.js.map +1 -1
  15. package/dist/index.d.ts +13 -0
  16. package/dist/index.d.ts.map +1 -1
  17. package/dist/index.js +212 -11
  18. package/dist/index.js.map +1 -1
  19. package/dist/runtime/effective-config.d.ts +67 -0
  20. package/dist/runtime/effective-config.d.ts.map +1 -0
  21. package/dist/runtime/effective-config.js +324 -0
  22. package/dist/runtime/effective-config.js.map +1 -0
  23. package/dist/runtime/lifecycle-events.d.ts +19 -0
  24. package/dist/runtime/lifecycle-events.d.ts.map +1 -1
  25. package/dist/runtime/lifecycle-events.js +27 -0
  26. package/dist/runtime/lifecycle-events.js.map +1 -1
  27. package/dist/runtime/rebuild-errors.d.ts +26 -0
  28. package/dist/runtime/rebuild-errors.d.ts.map +1 -0
  29. package/dist/runtime/rebuild-errors.js +36 -0
  30. package/dist/runtime/rebuild-errors.js.map +1 -0
  31. package/dist/runtime/run.d.ts +10 -0
  32. package/dist/runtime/run.d.ts.map +1 -1
  33. package/dist/runtime/run.js +13 -1
  34. package/dist/runtime/run.js.map +1 -1
  35. package/dist/runtime/runtime.d.ts +140 -1
  36. package/dist/runtime/runtime.d.ts.map +1 -1
  37. package/dist/runtime/runtime.js +494 -149
  38. package/dist/runtime/runtime.js.map +1 -1
  39. package/dist/runtime/strategy-registry.d.ts +1 -0
  40. package/dist/runtime/strategy-registry.d.ts.map +1 -1
  41. package/dist/runtime/strategy-registry.js +19 -0
  42. package/dist/runtime/strategy-registry.js.map +1 -1
  43. package/dist/runtime/update-apply-deps.d.ts +101 -0
  44. package/dist/runtime/update-apply-deps.d.ts.map +1 -0
  45. package/dist/runtime/update-apply-deps.js +159 -0
  46. package/dist/runtime/update-apply-deps.js.map +1 -0
  47. package/dist/runtime/update-handler.d.ts +197 -0
  48. package/dist/runtime/update-handler.d.ts.map +1 -0
  49. package/dist/runtime/update-handler.js +381 -0
  50. package/dist/runtime/update-handler.js.map +1 -0
  51. package/dist/runtime/update-plan.d.ts +60 -0
  52. package/dist/runtime/update-plan.d.ts.map +1 -0
  53. package/dist/runtime/update-plan.js +203 -0
  54. package/dist/runtime/update-plan.js.map +1 -0
  55. package/dist/runtime/update-register.d.ts +67 -0
  56. package/dist/runtime/update-register.d.ts.map +1 -0
  57. package/dist/runtime/update-register.js +173 -0
  58. package/dist/runtime/update-register.js.map +1 -0
  59. package/dist/runtime/update-report.d.ts +125 -0
  60. package/dist/runtime/update-report.d.ts.map +1 -0
  61. package/dist/runtime/update-report.js +215 -0
  62. package/dist/runtime/update-report.js.map +1 -0
  63. package/dist/utils/event-catalog.d.ts +26 -0
  64. package/dist/utils/event-catalog.d.ts.map +1 -1
  65. package/dist/utils/event-catalog.js +1 -0
  66. package/dist/utils/event-catalog.js.map +1 -1
  67. package/dist/widgets/errors.d.ts +11 -0
  68. package/dist/widgets/errors.d.ts.map +1 -0
  69. package/dist/widgets/errors.js +16 -0
  70. package/dist/widgets/errors.js.map +1 -0
  71. package/dist/widgets/index.d.ts +32 -0
  72. package/dist/widgets/index.d.ts.map +1 -0
  73. package/dist/widgets/index.js +33 -0
  74. package/dist/widgets/index.js.map +1 -0
  75. package/dist/widgets/registry.d.ts +24 -0
  76. package/dist/widgets/registry.d.ts.map +1 -0
  77. package/dist/widgets/registry.js +33 -0
  78. package/dist/widgets/registry.js.map +1 -0
  79. package/dist/widgets/tool.d.ts +48 -0
  80. package/dist/widgets/tool.d.ts.map +1 -0
  81. package/dist/widgets/tool.js +140 -0
  82. package/dist/widgets/tool.js.map +1 -0
  83. package/dist/widgets/types.d.ts +53 -0
  84. package/dist/widgets/types.d.ts.map +1 -0
  85. package/dist/widgets/types.js +10 -0
  86. package/dist/widgets/types.js.map +1 -0
  87. package/dist/widgets/widgets/fund-user-wallet.d.ts +12 -0
  88. package/dist/widgets/widgets/fund-user-wallet.d.ts.map +1 -0
  89. package/dist/widgets/widgets/fund-user-wallet.js +38 -0
  90. package/dist/widgets/widgets/fund-user-wallet.js.map +1 -0
  91. package/openclaw.plugin.json +13 -1
  92. package/package.json +1 -1
@@ -25,7 +25,8 @@ export interface RuntimeOptions {
25
25
  unresolvedConfig?: Record<string, unknown>;
26
26
  }
27
27
  export declare class Runtime {
28
- private readonly config;
28
+ /** Not readonly: {@link Runtime.rebuildComponents} swaps it, which is the whole point. */
29
+ private config;
29
30
  private readonly options;
30
31
  private bus;
31
32
  private hookSystem;
@@ -57,6 +58,25 @@ export declare class Runtime {
57
58
  private livenessHeartbeatTimer;
58
59
  private runActionsForSignal;
59
60
  private strategyConfig;
61
+ /**
62
+ * The supervision fact source this runtime was handed, kept so a rebuilt scanner module inherits
63
+ * it.
64
+ *
65
+ * Every caller of {@link attachScannerSupervisionSource} sits in the plugin's boot and
66
+ * hot-install paths, and an in-place update runs neither. A module built by a rebuild therefore
67
+ * starts with no source and no way to be given one, which is not a cosmetic gap: liveness for
68
+ * push-driven scanners is derived entirely from it.
69
+ */
70
+ private supervisionSource;
71
+ /**
72
+ * The context the CURRENT recipe's actions hold as `this.context`.
73
+ *
74
+ * Retained so the configuration the trading path is actually using can be read back. An update's
75
+ * report is a claim about what should be live; this is the thing that is, and the two are worth
76
+ * being able to compare — the failure this guards against is a report that says `slots: 1` over a
77
+ * strategy still entering three.
78
+ */
79
+ private currentRuntimeContext;
60
80
  private actionRuntimeModule;
61
81
  /** Stored so we can call off() in stop() and avoid retaining Runtime via scanner EventEmitter. */
62
82
  private onScannerRunComplete;
@@ -66,6 +86,8 @@ export declare class Runtime {
66
86
  * teardown (boot failure, rebuild, stop) so a stale module never retains the Runtime.
67
87
  */
68
88
  private unwireScannerRunListeners;
89
+ /** Set at the end of start()'s dependency phase; read by every build and rebuild. */
90
+ private componentDeps;
69
91
  /** Cached strategy id resolved from the runtime wallet on first {@link auditQuery} call. */
70
92
  private cachedStrategyId;
71
93
  /** In-flight resolution promise; ensures concurrent first-burst callers reuse one `listStrategies`. */
@@ -190,6 +212,122 @@ export declare class Runtime {
190
212
  * Cancel exchange SLs and archive DSL state for the strategy, then log removal.
191
213
  */
192
214
  /** @returns Count of active DSL positions archived during teardown. */
215
+ /**
216
+ * Build every component derived from the recipe: scanners, actions, the DSL plugin, and the
217
+ * health surface that holds references to all three.
218
+ *
219
+ * Called by `start()` and again by {@link rebuildComponents}. Deliberately does NOT create the
220
+ * reconcile gate, launch the boot-reconcile loop, or call `initRisk` — those are once-per-runtime
221
+ * and re-running them would re-block trading on an already-converged runtime, duplicate a
222
+ * detached loop, and double-subscribe the bus respectively.
223
+ */
224
+ private buildComponents;
225
+ /**
226
+ * Phase one of a build: everything the recipe determines, constructed but NOT installed on `this`
227
+ * and NOT started.
228
+ *
229
+ * The split exists so a rebuild can do all of its fallible work while the OLD components are
230
+ * still running. A recipe that names a scanner which will not construct, or an action class that
231
+ * does not exist, throws here — with the live runtime untouched, still scanning and still holding
232
+ * its stops. The alternative (the previous shape) tore everything down first and then discovered
233
+ * the new config was unbuildable, leaving a funded wallet with an open book, no scanners and no
234
+ * exit engine.
235
+ *
236
+ * Nothing in here may subscribe to the bus, start a timer, or touch disk. That is what makes it
237
+ * safe to run twice over — once for the attempt, once more for a rollback. `DslPlugin.create` is
238
+ * deliberately NOT called here for exactly that reason: it subscribes position handlers and
239
+ * starts the monitor loop, so pre-building it would put two plugins on one bus, both ticking the
240
+ * same positions. Its config is parsed here instead, which is where a bad preset actually throws.
241
+ */
242
+ private constructComponents;
243
+ /**
244
+ * Phase two of a build: install the constructed components on `this`, then create the one
245
+ * component that cannot be constructed without side effects.
246
+ *
247
+ * Everything fallible that COULD be done earlier already has been, in
248
+ * {@link constructComponents}. What remains is assignment — which cannot throw — plus
249
+ * `DslPlugin.create`, whose config this build already parsed and whose state manager, senpi
250
+ * client and strategy-state map are all passed in (each of those resolvers returns immediately
251
+ * when supplied). That is why the teardown window in {@link rebuildComponents} is narrow enough
252
+ * to be worth taking, and why its rollback is a backstop rather than the plan.
253
+ */
254
+ private commitComponents;
255
+ /**
256
+ * Register the scan-complete listener on the CURRENT scanner module.
257
+ *
258
+ * Separate from {@link buildComponents} because the listener is held against a specific module
259
+ * instance: a rebuild replaces the module, so the old registration goes with it and a fresh one
260
+ * has to be made against the new one.
261
+ */
262
+ private wireScannerRunListener;
263
+ /**
264
+ * Launch the single serial signal consumer. Called ONCE, from `start()`.
265
+ *
266
+ * Deliberately not part of {@link wireScannerRunListener}: that has to run again on every rebuild,
267
+ * because the listener is held against a specific scanner-module instance and the rebuild replaces
268
+ * it. Launching the consumer alongside it started a SECOND infinite `runSignalConsumer()` loop on
269
+ * every apply — nothing stopped the first, `signalConsumerStopped` is only set by `stop()`, and a
270
+ * rollback made it three.
271
+ *
272
+ * Two things broke. `signalQueueWait` holds exactly one resolver, so whichever consumer parked
273
+ * last owned the wake-up and `signalConsumerDone` tracked only the newest — `stop()` woke one
274
+ * consumer and then awaited a different one's promise, hanging `runtime delete`, gateway shutdown
275
+ * and SIGTERM forever on any runtime that had been updated once. And with a non-empty queue at
276
+ * swap time both consumers ran concurrently: the slot check is read BEFORE the reconcile lock, so
277
+ * two passes could each read `used = 0` and each open a position on a one-slot strategy.
278
+ *
279
+ * Serial signal processing is the invariant the whole trade path is built on; there must be
280
+ * exactly one of these per runtime.
281
+ */
282
+ private startSignalConsumer;
283
+ /**
284
+ * Swap this runtime onto a new recipe without restarting it or touching its state.
285
+ *
286
+ * Teardown is the reverse of the build, and both halves matter. The scan listener is released
287
+ * before the module it is registered on; `scannerModule.stop()` clears its timers and awaits
288
+ * in-flight runs; `dslPlugin.stop()` is AWAITED, because it releases its bus subscriptions and
289
+ * drains the tick that may still be mid-flight at the venue — without that the outgoing monitor
290
+ * keeps writing state while the incoming one is already ticking the same positions, and the two
291
+ * hold independent StateManagers so nothing else serialises them.
292
+ *
293
+ * State on disk is untouched throughout: DSL position files, scanner stores and action history
294
+ * all survive, which is the entire reason an update is worth having over a delete-and-recreate.
295
+ */
296
+ rebuildComponents(config: RuntimeConfig): Promise<void>;
297
+ private rebuildComponentsLocked;
298
+ /**
299
+ * Install the freshly built components, serialized against the trade loop.
300
+ *
301
+ * The signal consumer runs every action pass inside
302
+ * `reconcileMutex.withKeyLock("reconcile", () => this.runActionsForSignal(...))`, reading
303
+ * `runActionsForSignal` at call time from inside the lock. Taking the same lock here means a
304
+ * signal already in flight finishes against the OLD actions before the swap happens, and the next
305
+ * one picks up the new ones — no pass can straddle the change.
306
+ *
307
+ * The lock is scoped to the SWAP and deliberately NOT to the teardown that precedes it.
308
+ * `teardownComponentsForRebuild` awaits the DSL plugin's in-flight tick, and that tick takes this
309
+ * very lock for its periodic reconcile (`runReconcile` is handed `reconcileSerialize`). Holding
310
+ * the lock across the drain would deadlock the runtime — permanently, with an open book and
311
+ * nothing managing it — because `KeyedMutex` is a plain FIFO and grants no reentrancy.
312
+ *
313
+ * Creating the DSL plugin inside the lock is safe for the mirror-image reason: `create()` starts
314
+ * the monitor loop but does not await its first tick, so that tick queues behind this lock
315
+ * instead of blocking the call that holds it.
316
+ */
317
+ private swapInComponents;
318
+ /**
319
+ * Drop the scan listener, stop the scanner module, stop and release the DSL plugin.
320
+ *
321
+ * Shared by the rebuild and its rollback so the two cannot drift — the rollback runs it a second
322
+ * time to clear whatever the failed commit had already installed, and every step is idempotent
323
+ * for exactly that reason.
324
+ *
325
+ * Order matters: the listener comes off before the module it is registered on;
326
+ * `scannerModule.stop()` clears its timers and awaits in-flight runs; `dslPlugin.stop()` is
327
+ * AWAITED, because it releases its bus subscriptions and drains the tick that may still be
328
+ * mid-flight at the venue.
329
+ */
330
+ private teardownComponentsForRebuild;
193
331
  removeStrategy(address: string): Promise<number>;
194
332
  /** Tear down DSL for the runtime strategy before deleting the runtime (gateway / CLI). */
195
333
  teardownDslForRuntimeDeletion(): Promise<void>;
@@ -223,5 +361,6 @@ export declare class Runtime {
223
361
  */
224
362
  private disposeSubscribers;
225
363
  stop(): Promise<void>;
364
+ private stopLocked;
226
365
  }
227
366
  //# sourceMappingURL=runtime.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../../src/runtime/runtime.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAI/E,OAAO,KAAK,EACV,4BAA4B,EAC5B,2BAA2B,EAC5B,MAAM,0CAA0C,CAAC;AAClD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAE3E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAiCjF,OAAO,EAAE,SAAS,IAAI,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAgBrE,OAAO,KAAK,EAKV,mBAAmB,EACnB,kBAAkB,EAEnB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EACV,qBAAqB,EACrB,YAAY,EACZ,iBAAiB,EACjB,wBAAwB,EACzB,MAAM,2BAA2B,CAAC;AA6CnC,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAA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