@makaio/framework 1.0.0-dev-1782480236258 → 1.0.0-dev-1783282710723

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 (82) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/bus/index.d.mts +39 -1
  3. package/dist/bus/index.mjs +1 -1
  4. package/dist/bus-D-ioC0DE.mjs +1 -0
  5. package/dist/bus-rgUFuO2a.mjs +2 -0
  6. package/dist/contracts/adapter/index.d.mts +2 -2
  7. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  8. package/dist/contracts/artifact/index.d.mts +1 -1
  9. package/dist/contracts/client/index.d.mts +1 -1
  10. package/dist/contracts/config/index.d.mts +6 -6
  11. package/dist/contracts/extension/index.d.mts +3 -3
  12. package/dist/contracts/harness/index.d.mts +1 -1
  13. package/dist/contracts/index.d.mts +24 -24
  14. package/dist/contracts/materialization/index.d.mts +3 -3
  15. package/dist/contracts/provider/index.d.mts +1 -1
  16. package/dist/contracts/session/index.d.mts +2 -2
  17. package/dist/contracts/shared/index.d.mts +1 -1
  18. package/dist/contracts/workflow/index.d.mts +2 -2
  19. package/dist/{definition-DePb3ke-.d.mts → definition-DFcxkf2i.d.mts} +1 -1
  20. package/dist/{index-B1XsbrAr.d.mts → index-2fK9iSHI.d.mts} +3 -3
  21. package/dist/{index-Clqt7Nm3.d.mts → index-9b2_jXxq.d.mts} +2 -2
  22. package/dist/{index-D4gn93gL.d.mts → index-Bh6lHiW4.d.mts} +16 -16
  23. package/dist/{index-Cvjnj7Zh.d.mts → index-CL2T6LVv.d.mts} +8 -8
  24. package/dist/{index-BhOLtp0B.d.mts → index-CTEsbp9H.d.mts} +16 -16
  25. package/dist/{index-DsLpP5ek.d.mts → index-CaOWqztb.d.mts} +1 -1
  26. package/dist/{index-wfSedMR9.d.mts → index-CfIW5biI.d.mts} +1 -1
  27. package/dist/{index-mU2lnU7O.d.mts → index-CqCe7Phc.d.mts} +6 -6
  28. package/dist/{index-Cyi7y_aG.d.mts → index-D6aAzr32.d.mts} +20 -20
  29. package/dist/{index-CYHWOXUm.d.mts → index-DEzdNQum.d.mts} +1 -1
  30. package/dist/{index-D8ScOpus.d.mts → index-DLy-tc0L.d.mts} +9 -9
  31. package/dist/{index-BKZhnb2B.d.mts → index-DdBRlm7m.d.mts} +3 -3
  32. package/dist/{index-0WhPbKnH.d.mts → index-Dg-y1mrq.d.mts} +8 -8
  33. package/dist/{index-C6SLILCZ.d.mts → index-GD-i3DW7.d.mts} +104 -104
  34. package/dist/{index-CaerrEDH.d.mts → index-NkNbYFud.d.mts} +1 -1
  35. package/dist/{index-B5w-0Gg9.d.mts → index-Y2r0Zvcm.d.mts} +4 -4
  36. package/dist/kernel/extension/index.d.mts +1 -1
  37. package/dist/kernel/index.d.mts +2 -2
  38. package/dist/kernel/observability/index.d.mts +1 -1
  39. package/dist/{namespace-CGxFYDlK.d.mts → namespace-B4cV_pk3.d.mts} +32 -32
  40. package/dist/{namespace-Bm77p82L.d.mts → namespace-DGAWYjbO.d.mts} +5 -5
  41. package/dist/{namespace-Bmi5bjm4.d.mts → namespace-DXW-voCe.d.mts} +42 -42
  42. package/dist/{namespace-BeMGmLrp.d.mts → namespace-KMxsPJwm.d.mts} +9 -9
  43. package/dist/node/transports/index.d.mts +8 -0
  44. package/dist/node/transports/index.mjs +2 -2
  45. package/dist/package.json +1 -1
  46. package/dist/{schema-Bf_ZNjif.d.mts → schema-D1HrnvT7.d.mts} +2 -2
  47. package/dist/{schemas-C6TVJ80V2.d.mts → schemas-D-9zNyAM2.d.mts} +4 -4
  48. package/dist/{schemas-D512XweP.d.mts → schemas-DMCGXlKa.d.mts} +1 -1
  49. package/dist/scoped-bus-CZId-Df8.mjs +1 -0
  50. package/dist/services/adapter-subsystem/index.d.mts +2 -2
  51. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  52. package/dist/services/context-rules/index.d.mts +6 -6
  53. package/dist/services/execution-target/index.d.mts +1 -1
  54. package/dist/services/filesystem/namespace.d.mts +6 -6
  55. package/dist/services/filesystem/schemas.d.mts +3 -3
  56. package/dist/services/git/namespace.d.mts +4 -4
  57. package/dist/services/git/schemas.d.mts +3 -3
  58. package/dist/services/index.d.mts +33 -33
  59. package/dist/services/index.mjs +1 -1
  60. package/dist/services/log-import/browser.d.mts +2 -2
  61. package/dist/services/log-import/index.d.mts +2 -2
  62. package/dist/services/log-import/log-import.d.mts +1 -1
  63. package/dist/services/log-import/namespace.d.mts +2 -2
  64. package/dist/services/log-import/schemas.d.mts +1 -1
  65. package/dist/services/session/index.d.mts +5 -5
  66. package/dist/services/session/messages/namespace.d.mts +1 -1
  67. package/dist/services/session/session-events/namespace.d.mts +1 -1
  68. package/dist/services/session/storage/namespace.d.mts +1 -1
  69. package/dist/services/session/storage/schema.d.mts +1 -1
  70. package/dist/services/settings/namespace.d.mts +7 -7
  71. package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
  72. package/dist/services/subagent-template/index.d.mts +1 -1
  73. package/dist/services/subagent-template/schemas.d.mts +1 -1
  74. package/dist/{session-lineage-5-wRBzuC.d.mts → session-lineage-DR-9DU-U.d.mts} +1 -1
  75. package/dist/{transition-CBjccCMw.d.mts → transition-DnXibkhX.d.mts} +1 -1
  76. package/dist/{types-InWSdi-V.d.mts → types-BslClRkH.d.mts} +1 -1
  77. package/dist/{types-8rhArs_K.d.mts → types-Dur8EtpR.d.mts} +38 -38
  78. package/dist/workflow-engine/index.d.mts +11 -11
  79. package/package.json +1 -1
  80. package/dist/bus-BgodbPl9.mjs +0 -2
  81. package/dist/bus-HgaFcCZ1.mjs +0 -1
  82. package/dist/scoped-bus-H3xMYR0E.mjs +0 -1
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "version": 1,
3
- "fingerprint": "a7febcedf0f336f0329cb332edd29c84a729851c1d9d613f76782b9464931479",
4
- "builtAt": "2026-06-26T13:25:00.308Z"
3
+ "fingerprint": "e4724b16bce8dfb471088947f6a11245b0dd83c804539b9126f261830ae8be87",
4
+ "builtAt": "2026-07-05T20:19:33.478Z"
5
5
  }
@@ -2676,6 +2676,16 @@ declare class CorrelationTracker {
2676
2676
  * @param error - Optional cancellation error
2677
2677
  */
2678
2678
  cancel(correlationId: string, error?: Error): void;
2679
+ /**
2680
+ * Reject all pending requests with the given error.
2681
+ *
2682
+ * Clears all timeouts, removes abort listeners, rejects every pending
2683
+ * promise, and empties the map. New entries can still be tracked after
2684
+ * this call — use this for connection-loss scenarios where the transport
2685
+ * will reconnect.
2686
+ * @param error - Error to reject all pending requests with
2687
+ */
2688
+ rejectAll(error: Error): void;
2679
2689
  /**
2680
2690
  * Clean up all pending requests.
2681
2691
  *
@@ -3066,6 +3076,34 @@ declare class ChannelOnlyError extends BusError {
3066
3076
  constructor(subject: string);
3067
3077
  }
3068
3078
  //#endregion
3079
+ //#region core/bus-core/src/errors/connection-lost-error.d.ts
3080
+ /**
3081
+ * Stable error code for connection-lost failures.
3082
+ *
3083
+ * Distinguishes transport disconnection from "no handler registered"
3084
+ * ({@link NoHandlerError}) so callers can decide whether to retry.
3085
+ */
3086
+ declare const CONNECTION_LOST_ERROR_CODE: "CONNECTION_LOST";
3087
+ /**
3088
+ * Error thrown when a pending request is abandoned because the underlying
3089
+ * transport connection was lost before a response arrived.
3090
+ *
3091
+ * Unlike {@link NoHandlerError}, this error indicates that a handler may
3092
+ * well exist — the connection dropped before the response could be
3093
+ * delivered. Callers should treat this as retryable.
3094
+ */
3095
+ declare class ConnectionLostError extends BusError {
3096
+ readonly code: "CONNECTION_LOST";
3097
+ /**
3098
+ * Whether the operation is safe to retry after reconnection.
3099
+ */
3100
+ readonly retryable = true;
3101
+ /**
3102
+ * @param transportName - Name of the transport whose connection was lost
3103
+ */
3104
+ constructor(transportName: string);
3105
+ }
3106
+ //#endregion
3069
3107
  //#region core/bus-core/src/errors/local-subject-error.d.ts
3070
3108
  /**
3071
3109
  * Thrown when a remote peer attempts to invoke a local-only subject over a
@@ -3992,4 +4030,4 @@ interface ProjectedTelemetryTransportOptions {
3992
4030
  */
3993
4031
  declare function createProjectedTelemetryTransport(options: ProjectedTelemetryTransportOptions): BusTransport;
3994
4032
  //#endregion
3995
- export { type BroadcastContext, type BroadcastResult, type BusBroadcastMessage, type BusBroadcastResponseMessage, BusError, type BusEventMessage, type BusHeartbeatMessage, BusLifecycle, type BusMessage, type BusMessageObserver, type BusNamespace, type BusReceiveHandler, type BusRequestMessage, type BusResponseMessage, type BusSubscribeMessage, type BusSubscribeSyncCompleteMessage, type BusSubscriptionAckMessage, type BusTransport, type BusTransportError, type BusTransportKeys, type BusTransportRegistry, type BusUnsubscribeMessage, type BusUrlConfig, type BusValidationMode, ChannelAuthError, ChannelClosedError, type ChannelEndpoint, type ChannelEndpointOptions, ChannelOnlyError, type ConnectOptions, type ConnectedPayload, CorrelationTracker, DEFAULT_REQUEST_TIMEOUT_MS, type DefinedSubjectExtension, type DisconnectedPayload, type EventSubjectExtension, type ExtendedSubjectDefinition, type ExtensionNamespace, type ExtensionNamespaceConfig, type ExtensionNamespaceExtensions, type ExtensionNamespaceFromConfig, type IDirectChannel, type IFilteredBus, type IMakaioBus, type InterceptorContext, LOCAL_ORIGIN, LocalSubjectError, MakaioBus, type MakaioBusContext, NO_HANDLER_ERROR_CODE, type NamespaceRegistrationOptions, NoHandlerError, type ObservedBusMessage, type OnOptions, OnceAbortError, type OptionalResult, type ProjectableBusMessage, type ProjectedTelemetryTransportOptions, REMOTE_ORIGIN, RequestError, type RequestSubjectExtension, type SchemaViolationCallback, type SchemaViolationReport, type ScopedBus, type ScopedBusFor, type SubjectExtension, type SubjectTelemetryAttributes, type SubjectTelemetryProjectionInput, type SubjectTelemetryProjector, type SubjectTelemetryProjectorInput, type SubjectTelemetryProjectorRegistry, type SubscriptionEntry, SystemChannelSchemas, TimeoutError, type TransportRegistration, ValidationError, __resetWarnedSubjects, buildSubscribeMessage, buildUnsubscribeMessage, channelSubject, collectorOnlySubject, createBusContext, createBusInstance, createChannelEndpoint, createExtensionNamespace, createFilteredBus, createProjectedTelemetryTransport, createSubjectTelemetryProjectorRegistry, defaultTransports, defineSubjectExtension, deserializeTransportError, extendSubjectImpl as extendSubject, getFullSubjectForSubjectDefinition, getPath, getSubjectFromBusMessage, handleCorrelationResponse, isNoHandlerErrorForSubject, isRequestSchema, localSubject, matchesAnySubscription, matchesFilter, matchesSubscription, mergeFilters, openChannel, parseBusUrl, projectSubjectTelemetryFacts, serializeTransportError, shouldReceiveMessage, trackMessageCorrelation, waitForSubscriptionPropagation };
4033
+ export { type BroadcastContext, type BroadcastResult, type BusBroadcastMessage, type BusBroadcastResponseMessage, BusError, type BusEventMessage, type BusHeartbeatMessage, BusLifecycle, type BusMessage, type BusMessageObserver, type BusNamespace, type BusReceiveHandler, type BusRequestMessage, type BusResponseMessage, type BusSubscribeMessage, type BusSubscribeSyncCompleteMessage, type BusSubscriptionAckMessage, type BusTransport, type BusTransportError, type BusTransportKeys, type BusTransportRegistry, type BusUnsubscribeMessage, type BusUrlConfig, type BusValidationMode, CONNECTION_LOST_ERROR_CODE, ChannelAuthError, ChannelClosedError, type ChannelEndpoint, type ChannelEndpointOptions, ChannelOnlyError, type ConnectOptions, type ConnectedPayload, ConnectionLostError, CorrelationTracker, DEFAULT_REQUEST_TIMEOUT_MS, type DefinedSubjectExtension, type DisconnectedPayload, type EventSubjectExtension, type ExtendedSubjectDefinition, type ExtensionNamespace, type ExtensionNamespaceConfig, type ExtensionNamespaceExtensions, type ExtensionNamespaceFromConfig, type IDirectChannel, type IFilteredBus, type IMakaioBus, type InterceptorContext, LOCAL_ORIGIN, LocalSubjectError, MakaioBus, type MakaioBusContext, NO_HANDLER_ERROR_CODE, type NamespaceRegistrationOptions, NoHandlerError, type ObservedBusMessage, type OnOptions, OnceAbortError, type OptionalResult, type ProjectableBusMessage, type ProjectedTelemetryTransportOptions, REMOTE_ORIGIN, RequestError, type RequestSubjectExtension, type SchemaViolationCallback, type SchemaViolationReport, type ScopedBus, type ScopedBusFor, type SubjectExtension, type SubjectTelemetryAttributes, type SubjectTelemetryProjectionInput, type SubjectTelemetryProjector, type SubjectTelemetryProjectorInput, type SubjectTelemetryProjectorRegistry, type SubscriptionEntry, SystemChannelSchemas, TimeoutError, type TransportRegistration, ValidationError, __resetWarnedSubjects, buildSubscribeMessage, buildUnsubscribeMessage, channelSubject, collectorOnlySubject, createBusContext, createBusInstance, createChannelEndpoint, createExtensionNamespace, createFilteredBus, createProjectedTelemetryTransport, createSubjectTelemetryProjectorRegistry, defaultTransports, defineSubjectExtension, deserializeTransportError, extendSubjectImpl as extendSubject, getFullSubjectForSubjectDefinition, getPath, getSubjectFromBusMessage, handleCorrelationResponse, isNoHandlerErrorForSubject, isRequestSchema, localSubject, matchesAnySubscription, matchesFilter, matchesSubscription, mergeFilters, openChannel, parseBusUrl, projectSubjectTelemetryFacts, serializeTransportError, shouldReceiveMessage, trackMessageCorrelation, waitForSubscriptionPropagation };