rivetkit 2.3.2 → 2.3.3-rc.2
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/browser/client.d.ts +1 -0
- package/dist/browser/client.js +9 -6
- package/dist/browser/client.js.map +1 -1
- package/dist/browser/inspector/client.d.ts +22 -2
- package/dist/browser/inspector/client.js +996 -222
- package/dist/browser/inspector/client.js.map +1 -1
- package/dist/tsup/agent-os/index.cjs +9 -6
- package/dist/tsup/agent-os/index.cjs.map +1 -1
- package/dist/tsup/agent-os/index.d.cts +1 -0
- package/dist/tsup/agent-os/index.d.ts +1 -0
- package/dist/tsup/agent-os/index.js +9 -6
- package/dist/tsup/agent-os/index.js.map +1 -1
- package/dist/tsup/{chunk-GFXUYXMK.cjs → chunk-6JRGYOBR.cjs} +18 -10
- package/dist/tsup/chunk-6JRGYOBR.cjs.map +1 -0
- package/dist/tsup/{chunk-HINDZOY3.js → chunk-CLQHFXG3.js} +2 -2
- package/dist/tsup/{chunk-FRVQ34UV.cjs → chunk-GRXM3FQX.cjs} +3 -3
- package/dist/tsup/{chunk-FRVQ34UV.cjs.map → chunk-GRXM3FQX.cjs.map} +1 -1
- package/dist/tsup/{chunk-MZJVAV3I.cjs → chunk-LIZO2BE3.cjs} +24 -4
- package/dist/tsup/chunk-LIZO2BE3.cjs.map +1 -0
- package/dist/tsup/{chunk-BDXKVROD.js → chunk-OUIOGTEL.js} +12 -4
- package/dist/tsup/chunk-OUIOGTEL.js.map +1 -0
- package/dist/tsup/{chunk-S4ZHBMD7.cjs → chunk-Q3DY23PN.cjs} +139 -139
- package/dist/tsup/{chunk-S4ZHBMD7.cjs.map → chunk-Q3DY23PN.cjs.map} +1 -1
- package/dist/tsup/{chunk-2OIYUYNN.js → chunk-Q6EIXJ2L.js} +3 -3
- package/dist/tsup/{chunk-4PQAFXDX.cjs → chunk-QIRZKXPN.cjs} +5 -5
- package/dist/tsup/{chunk-4PQAFXDX.cjs.map → chunk-QIRZKXPN.cjs.map} +1 -1
- package/dist/tsup/{chunk-2WOKGTL3.js → chunk-QRPFFGZB.js} +22 -2
- package/dist/tsup/chunk-QRPFFGZB.js.map +1 -0
- package/dist/tsup/{chunk-VG6SAPWF.cjs → chunk-QXKIL5NU.cjs} +7 -7
- package/dist/tsup/{chunk-VG6SAPWF.cjs.map → chunk-QXKIL5NU.cjs.map} +1 -1
- package/dist/tsup/{chunk-RUBJWXFW.cjs → chunk-SNTYTMHE.cjs} +12 -8
- package/dist/tsup/chunk-SNTYTMHE.cjs.map +1 -0
- package/dist/tsup/{chunk-VBEZ57VX.js → chunk-URLGKL2B.js} +2 -2
- package/dist/tsup/{chunk-TJVQGVTZ.js → chunk-VPKNVMUA.js} +11 -7
- package/dist/tsup/chunk-VPKNVMUA.js.map +1 -0
- package/dist/tsup/{chunk-ASKKONXG.js → chunk-ZEBW32PT.js} +4 -4
- package/dist/tsup/client/mod.cjs +6 -6
- package/dist/tsup/client/mod.d.cts +2 -2
- package/dist/tsup/client/mod.d.ts +2 -2
- package/dist/tsup/client/mod.js +5 -5
- package/dist/tsup/common/log.cjs +4 -2
- package/dist/tsup/common/log.cjs.map +1 -1
- package/dist/tsup/common/log.d.cts +5 -1
- package/dist/tsup/common/log.d.ts +5 -1
- package/dist/tsup/common/log.js +5 -3
- package/dist/tsup/common/websocket.cjs +3 -3
- package/dist/tsup/common/websocket.js +2 -2
- package/dist/tsup/{config-CzvopP5m.d.cts → config-BfBhjEbk.d.cts} +1 -0
- package/dist/tsup/{config-DZuT7tcp.d.ts → config-ZkIsRFsN.d.ts} +1 -0
- package/dist/tsup/{context-CyAdY-aA.d.ts → context-B7-84u9K.d.ts} +2 -1
- package/dist/tsup/{context-sNB28g0N.d.cts → context-sZ9GlaBK.d.cts} +2 -1
- package/dist/tsup/dynamic/mod.d.cts +1 -1
- package/dist/tsup/dynamic/mod.d.ts +1 -1
- package/dist/tsup/inspector/mod.cjs +46 -11
- package/dist/tsup/inspector/mod.cjs.map +1 -1
- package/dist/tsup/inspector/mod.d.cts +37 -15
- package/dist/tsup/inspector/mod.d.ts +37 -15
- package/dist/tsup/inspector/mod.js +45 -10
- package/dist/tsup/inspector/mod.js.map +1 -1
- package/dist/tsup/inspector-tab/mod.cjs +1 -12
- package/dist/tsup/inspector-tab/mod.cjs.map +1 -1
- package/dist/tsup/inspector-tab/mod.d.cts +3 -13
- package/dist/tsup/inspector-tab/mod.d.ts +3 -13
- package/dist/tsup/inspector-tab/mod.js +0 -11
- package/dist/tsup/inspector-tab/mod.js.map +1 -1
- package/dist/tsup/mod.cjs +120 -61
- package/dist/tsup/mod.cjs.map +1 -1
- package/dist/tsup/mod.d.cts +3 -3
- package/dist/tsup/mod.d.ts +3 -3
- package/dist/tsup/mod.js +65 -6
- package/dist/tsup/mod.js.map +1 -1
- package/dist/tsup/test/mod.cjs +9 -9
- package/dist/tsup/test/mod.d.cts +1 -1
- package/dist/tsup/test/mod.d.ts +1 -1
- package/dist/tsup/test/mod.js +5 -5
- package/dist/tsup/utils.cjs +2 -2
- package/dist/tsup/utils.js +1 -1
- package/dist/tsup/workflow/mod.cjs +10 -7
- package/dist/tsup/workflow/mod.cjs.map +1 -1
- package/dist/tsup/workflow/mod.d.cts +3 -3
- package/dist/tsup/workflow/mod.d.ts +3 -3
- package/dist/tsup/workflow/mod.js +7 -4
- package/dist/tsup/workflow/mod.js.map +1 -1
- package/package.json +8 -8
- package/src/common/bare/generated/inspector/v5.ts +1016 -0
- package/src/common/bare/transport/v1.ts +36 -0
- package/src/common/log.ts +14 -8
- package/src/inspector/client.browser.ts +73 -16
- package/src/inspector/mod.ts +1 -1
- package/src/inspector-tab/mod.ts +0 -15
- package/src/registry/index.ts +4 -0
- package/src/registry/napi-runtime.ts +11 -0
- package/src/registry/native.ts +70 -2
- package/src/registry/runtime.ts +1 -0
- package/src/registry/wasm-runtime.ts +5 -0
- package/src/workflow/context.ts +4 -0
- package/src/workflow/inspector.ts +8 -0
- package/dist/tsup/chunk-2WOKGTL3.js.map +0 -1
- package/dist/tsup/chunk-BDXKVROD.js.map +0 -1
- package/dist/tsup/chunk-GFXUYXMK.cjs.map +0 -1
- package/dist/tsup/chunk-MZJVAV3I.cjs.map +0 -1
- package/dist/tsup/chunk-RUBJWXFW.cjs.map +0 -1
- package/dist/tsup/chunk-TJVQGVTZ.js.map +0 -1
- /package/dist/tsup/{chunk-HINDZOY3.js.map → chunk-CLQHFXG3.js.map} +0 -0
- /package/dist/tsup/{chunk-2OIYUYNN.js.map → chunk-Q6EIXJ2L.js.map} +0 -0
- /package/dist/tsup/{chunk-VBEZ57VX.js.map → chunk-URLGKL2B.js.map} +0 -0
- /package/dist/tsup/{chunk-ASKKONXG.js.map → chunk-ZEBW32PT.js.map} +0 -0
|
@@ -122,6 +122,18 @@ type Connection = {
|
|
|
122
122
|
};
|
|
123
123
|
declare function readConnection(bc: bare.ByteCursor): Connection;
|
|
124
124
|
declare function writeConnection(bc: bare.ByteCursor, x: Connection): void;
|
|
125
|
+
/**
|
|
126
|
+
* Inspector tab descriptor. `label`/`icon` are set for author-declared custom
|
|
127
|
+
* tabs; a hidden built-in only carries `id` with `hidden` set.
|
|
128
|
+
*/
|
|
129
|
+
type TabConfigEntry = {
|
|
130
|
+
readonly id: string;
|
|
131
|
+
readonly label: string | null;
|
|
132
|
+
readonly icon: string | null;
|
|
133
|
+
readonly hidden: boolean;
|
|
134
|
+
};
|
|
135
|
+
declare function readTabConfigEntry(bc: bare.ByteCursor): TabConfigEntry;
|
|
136
|
+
declare function writeTabConfigEntry(bc: bare.ByteCursor, x: TabConfigEntry): void;
|
|
125
137
|
type Init = {
|
|
126
138
|
readonly connections: readonly Connection[];
|
|
127
139
|
readonly state: State | null;
|
|
@@ -131,6 +143,7 @@ type Init = {
|
|
|
131
143
|
readonly queueSize: uint;
|
|
132
144
|
readonly workflowHistory: WorkflowHistory$1 | null;
|
|
133
145
|
readonly isWorkflowEnabled: boolean;
|
|
146
|
+
readonly tabConfig: readonly TabConfigEntry[];
|
|
134
147
|
};
|
|
135
148
|
declare function readInit(bc: bare.ByteCursor): Init;
|
|
136
149
|
declare function writeInit(bc: bare.ByteCursor, x: Init): void;
|
|
@@ -367,6 +380,10 @@ type WorkflowRemovedEntry = {
|
|
|
367
380
|
readonly originalType: string;
|
|
368
381
|
readonly originalName: string | null;
|
|
369
382
|
};
|
|
383
|
+
type WorkflowVersionCheckEntry = {
|
|
384
|
+
readonly resolved: u32;
|
|
385
|
+
readonly latest: u32;
|
|
386
|
+
};
|
|
370
387
|
type WorkflowEntryKind = {
|
|
371
388
|
readonly tag: "WorkflowStepEntry";
|
|
372
389
|
readonly val: WorkflowStepEntry;
|
|
@@ -391,6 +408,9 @@ type WorkflowEntryKind = {
|
|
|
391
408
|
} | {
|
|
392
409
|
readonly tag: "WorkflowRemovedEntry";
|
|
393
410
|
readonly val: WorkflowRemovedEntry;
|
|
411
|
+
} | {
|
|
412
|
+
readonly tag: "WorkflowVersionCheckEntry";
|
|
413
|
+
readonly val: WorkflowVersionCheckEntry;
|
|
394
414
|
};
|
|
395
415
|
type WorkflowEntry = {
|
|
396
416
|
readonly id: string;
|
|
@@ -416,8 +436,8 @@ type WorkflowHistory = {
|
|
|
416
436
|
declare function encodeWorkflowHistoryTransport(history: WorkflowHistory): ArrayBuffer;
|
|
417
437
|
declare function decodeWorkflowHistoryTransport(data: ArrayBuffer | ArrayBufferView): WorkflowHistory;
|
|
418
438
|
|
|
419
|
-
declare const CURRENT_VERSION =
|
|
439
|
+
declare const CURRENT_VERSION = 5;
|
|
420
440
|
declare const TO_SERVER_VERSIONED: vbare.VersionedDataHandler<ToServer>;
|
|
421
441
|
declare const TO_CLIENT_VERSIONED: vbare.VersionedDataHandler<ToClient>;
|
|
422
442
|
|
|
423
|
-
export { type ActionRequest, type ActionResponse, CURRENT_VERSION, type Connection, type ConnectionsRequest, type ConnectionsResponse, type ConnectionsUpdated, type DatabaseSchemaRequest, type DatabaseSchemaResponse, type DatabaseTableRowsRequest, type DatabaseTableRowsResponse, type Error, type Init, type PatchStateRequest, type QueueMessageSummary, type QueueRequest, type QueueResponse, type QueueStatus, type QueueUpdated, type RpcsListRequest, type RpcsListResponse, type State, type StateRequest, type StateResponse, type StateUpdated, TO_CLIENT_VERSIONED, TO_SERVER_VERSIONED, type ToClient, type ToClientBody, type ToServer, type ToServerBody, type TraceQueryRequest, type TraceQueryResponse, type WorkflowHistory as TransportWorkflowHistory, type WorkflowHistory$1 as WorkflowHistory, type WorkflowHistoryRequest, type WorkflowHistoryResponse, type WorkflowHistoryUpdated, type WorkflowReplayRequest, type WorkflowReplayResponse, decodeToClient, decodeToServer, decodeWorkflowHistoryTransport, encodeToClient, encodeToServer, encodeWorkflowHistoryTransport, readActionRequest, readActionResponse, readConnection, readConnectionsRequest, readConnectionsResponse, readConnectionsUpdated, readDatabaseSchemaRequest, readDatabaseSchemaResponse, readDatabaseTableRowsRequest, readDatabaseTableRowsResponse, readError, readInit, readPatchStateRequest, readQueueMessageSummary, readQueueRequest, readQueueResponse, readQueueStatus, readQueueUpdated, readRpcsListRequest, readRpcsListResponse, readState, readStateRequest, readStateResponse, readStateUpdated, readToClient, readToClientBody, readToServer, readToServerBody, readTraceQueryRequest, readTraceQueryResponse, readWorkflowHistory, readWorkflowHistoryRequest, readWorkflowHistoryResponse, readWorkflowHistoryUpdated, readWorkflowReplayRequest, readWorkflowReplayResponse, type uint, writeActionRequest, writeActionResponse, writeConnection, writeConnectionsRequest, writeConnectionsResponse, writeConnectionsUpdated, writeDatabaseSchemaRequest, writeDatabaseSchemaResponse, writeDatabaseTableRowsRequest, writeDatabaseTableRowsResponse, writeError, writeInit, writePatchStateRequest, writeQueueMessageSummary, writeQueueRequest, writeQueueResponse, writeQueueStatus, writeQueueUpdated, writeRpcsListRequest, writeRpcsListResponse, writeState, writeStateRequest, writeStateResponse, writeStateUpdated, writeToClient, writeToClientBody, writeToServer, writeToServerBody, writeTraceQueryRequest, writeTraceQueryResponse, writeWorkflowHistory, writeWorkflowHistoryRequest, writeWorkflowHistoryResponse, writeWorkflowHistoryUpdated, writeWorkflowReplayRequest, writeWorkflowReplayResponse };
|
|
443
|
+
export { type ActionRequest, type ActionResponse, CURRENT_VERSION, type Connection, type ConnectionsRequest, type ConnectionsResponse, type ConnectionsUpdated, type DatabaseSchemaRequest, type DatabaseSchemaResponse, type DatabaseTableRowsRequest, type DatabaseTableRowsResponse, type Error, type Init, type PatchStateRequest, type QueueMessageSummary, type QueueRequest, type QueueResponse, type QueueStatus, type QueueUpdated, type RpcsListRequest, type RpcsListResponse, type State, type StateRequest, type StateResponse, type StateUpdated, TO_CLIENT_VERSIONED, TO_SERVER_VERSIONED, type TabConfigEntry, type ToClient, type ToClientBody, type ToServer, type ToServerBody, type TraceQueryRequest, type TraceQueryResponse, type WorkflowHistory as TransportWorkflowHistory, type WorkflowHistory$1 as WorkflowHistory, type WorkflowHistoryRequest, type WorkflowHistoryResponse, type WorkflowHistoryUpdated, type WorkflowReplayRequest, type WorkflowReplayResponse, decodeToClient, decodeToServer, decodeWorkflowHistoryTransport, encodeToClient, encodeToServer, encodeWorkflowHistoryTransport, readActionRequest, readActionResponse, readConnection, readConnectionsRequest, readConnectionsResponse, readConnectionsUpdated, readDatabaseSchemaRequest, readDatabaseSchemaResponse, readDatabaseTableRowsRequest, readDatabaseTableRowsResponse, readError, readInit, readPatchStateRequest, readQueueMessageSummary, readQueueRequest, readQueueResponse, readQueueStatus, readQueueUpdated, readRpcsListRequest, readRpcsListResponse, readState, readStateRequest, readStateResponse, readStateUpdated, readTabConfigEntry, readToClient, readToClientBody, readToServer, readToServerBody, readTraceQueryRequest, readTraceQueryResponse, readWorkflowHistory, readWorkflowHistoryRequest, readWorkflowHistoryResponse, readWorkflowHistoryUpdated, readWorkflowReplayRequest, readWorkflowReplayResponse, type uint, writeActionRequest, writeActionResponse, writeConnection, writeConnectionsRequest, writeConnectionsResponse, writeConnectionsUpdated, writeDatabaseSchemaRequest, writeDatabaseSchemaResponse, writeDatabaseTableRowsRequest, writeDatabaseTableRowsResponse, writeError, writeInit, writePatchStateRequest, writeQueueMessageSummary, writeQueueRequest, writeQueueResponse, writeQueueStatus, writeQueueUpdated, writeRpcsListRequest, writeRpcsListResponse, writeState, writeStateRequest, writeStateResponse, writeStateUpdated, writeTabConfigEntry, writeToClient, writeToClientBody, writeToServer, writeToServerBody, writeTraceQueryRequest, writeTraceQueryResponse, writeWorkflowHistory, writeWorkflowHistoryRequest, writeWorkflowHistoryResponse, writeWorkflowHistoryUpdated, writeWorkflowReplayRequest, writeWorkflowReplayResponse };
|