@walkeros/cli 4.2.0 → 4.2.1-next-1781538735002

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.d.ts CHANGED
@@ -197,6 +197,21 @@ interface BundleStats {
197
197
  buildTime: number;
198
198
  treeshakingEffective: boolean;
199
199
  }
200
+ /**
201
+ * Build the wireConfig data payload for a flow as a plain object.
202
+ *
203
+ * This is the same object the bundler bakes into a skeleton as
204
+ * `__configData` (section, step id, data-layer props), produced by the
205
+ * same classification pass the bundler uses. Callers that inject data at
206
+ * simulate time (the `data` option of the simulate functions) must build
207
+ * the FULL payload from the FULL config with this helper; injection
208
+ * replaces the baked payload, it does not merge.
209
+ *
210
+ * Mirrors the bundler's own call path (`detectNamedImports` feeding
211
+ * `buildSplitConfigObject`) so the result stays identical to the baked
212
+ * payload by construction.
213
+ */
214
+ declare function buildDataPayload(flowSettings: Flow): Record<string, unknown>;
200
215
 
201
216
  /**
202
217
  * Named bundle targets with frozen presets.
@@ -408,7 +423,28 @@ declare function push(configOrPath: string | unknown, event: unknown, options?:
408
423
  mock?: string[];
409
424
  snapshot?: string;
410
425
  }): Promise<PushResult>;
411
- interface SimulateSourceOptions {
426
+ /**
427
+ * Shared data-injection seam for all simulate functions.
428
+ */
429
+ interface SimulateDataOptions {
430
+ /**
431
+ * Wire-config data payload to execute instead of the bundle's baked
432
+ * `__configData`. Shape: the split-config data payload the bundler
433
+ * emits (section, step id, data-layer props), as built by
434
+ * `buildDataPayload`.
435
+ *
436
+ * The payload REPLACES the baked data, there is no deep-merge: build
437
+ * the full payload from the full config. Injection granularity follows
438
+ * the skeleton's `__data` references, which are emitted per TOP-LEVEL
439
+ * step prop. Changed values for any nested key under an existing
440
+ * top-level data prop (e.g. a new entity-action rule inside an existing
441
+ * `mapping`) take effect without a rebundle. An entirely NEW top-level
442
+ * data prop on a step has no `__data` reference in the skeleton, so it
443
+ * is IGNORED by injection and requires a rebundle.
444
+ */
445
+ data?: Record<string, unknown>;
446
+ }
447
+ interface SimulateSourceOptions extends SimulateDataOptions {
412
448
  sourceId: string;
413
449
  bundlePath?: string;
414
450
  flow?: string;
@@ -427,7 +463,7 @@ interface SimulateSourceOptions {
427
463
  * content shapes. The source's createTrigger defines what it expects.
428
464
  */
429
465
  declare function simulateSource(configOrPath: string | Flow.Json, input: unknown, options: SimulateSourceOptions): Promise<Simulation.Result>;
430
- interface SimulateTransformerOptions {
466
+ interface SimulateTransformerOptions extends SimulateDataOptions {
431
467
  transformerId: string;
432
468
  bundlePath?: string;
433
469
  flow?: string;
@@ -453,7 +489,7 @@ interface SimulateTransformerOptions {
453
489
  * If the transformer drops the event (returns false), output event is null.
454
490
  */
455
491
  declare function simulateTransformer(configOrPath: string | Flow.Json, event: WalkerOS.DeepPartialEvent, options: SimulateTransformerOptions): Promise<Simulation.Result>;
456
- interface SimulateCollectorOptions {
492
+ interface SimulateCollectorOptions extends SimulateDataOptions {
457
493
  collectorName: string;
458
494
  bundlePath?: string;
459
495
  flow?: string;
@@ -476,7 +512,7 @@ interface SimulateCollectorOptions {
476
512
  * the runtime's own enrichment (`enrichEvent`); it does not reimplement it.
477
513
  */
478
514
  declare function simulateCollector(configOrPath: string | Flow.Json, event: WalkerOS.DeepPartialEvent, options: SimulateCollectorOptions): Promise<Simulation.Result>;
479
- interface SimulateDestinationOptions {
515
+ interface SimulateDestinationOptions extends SimulateDataOptions {
480
516
  destinationId: string;
481
517
  bundlePath?: string;
482
518
  flow?: string;
@@ -964,6 +1000,122 @@ interface paths {
964
1000
  patch?: never;
965
1001
  trace?: never;
966
1002
  };
1003
+ '/api/account': {
1004
+ parameters: {
1005
+ query?: never;
1006
+ header?: never;
1007
+ path?: never;
1008
+ cookie?: never;
1009
+ };
1010
+ get?: never;
1011
+ put?: never;
1012
+ post?: never;
1013
+ /**
1014
+ * Delete own account
1015
+ * @description Soft-delete the authenticated account, starting the 30-day grace window. Requires a confirmation of the account email in the body. Revokes all sessions, API tokens, and MCP tokens. Blocked with 409 when the caller is the sole owner of a project that still has other members.
1016
+ */
1017
+ delete: {
1018
+ parameters: {
1019
+ query?: never;
1020
+ header?: never;
1021
+ path?: never;
1022
+ cookie?: never;
1023
+ };
1024
+ requestBody?: {
1025
+ content: {
1026
+ 'application/json': components['schemas']['DeleteAccountRequest'];
1027
+ };
1028
+ };
1029
+ responses: {
1030
+ /** @description Account scheduled for deletion */
1031
+ 204: {
1032
+ headers: {
1033
+ [name: string]: unknown;
1034
+ };
1035
+ content?: never;
1036
+ };
1037
+ /** @description Confirmation email does not match */
1038
+ 400: {
1039
+ headers: {
1040
+ [name: string]: unknown;
1041
+ };
1042
+ content: {
1043
+ 'application/json': components['schemas']['ErrorResponse'];
1044
+ };
1045
+ };
1046
+ /** @description Unauthorized */
1047
+ 401: {
1048
+ headers: {
1049
+ [name: string]: unknown;
1050
+ };
1051
+ content: {
1052
+ 'application/json': components['schemas']['ErrorResponse'];
1053
+ };
1054
+ };
1055
+ /** @description Sole owner of a shared project */
1056
+ 409: {
1057
+ headers: {
1058
+ [name: string]: unknown;
1059
+ };
1060
+ content: {
1061
+ 'application/json': components['schemas']['DeleteAccountBlocked'];
1062
+ };
1063
+ };
1064
+ };
1065
+ };
1066
+ options?: never;
1067
+ head?: never;
1068
+ patch?: never;
1069
+ trace?: never;
1070
+ };
1071
+ '/api/account/export': {
1072
+ parameters: {
1073
+ query?: never;
1074
+ header?: never;
1075
+ path?: never;
1076
+ cookie?: never;
1077
+ };
1078
+ /**
1079
+ * Export own account data
1080
+ * @description Download a portable JSON export of everything the platform holds about the authenticated account: profile, memberships, token and session metadata, MCP sessions with messages, feedback, and invitations. Metadata only; token hashes and secret values are never included. Served as a file attachment.
1081
+ */
1082
+ get: {
1083
+ parameters: {
1084
+ query?: never;
1085
+ header?: never;
1086
+ path?: never;
1087
+ cookie?: never;
1088
+ };
1089
+ requestBody?: never;
1090
+ responses: {
1091
+ /** @description Account data export (file attachment) */
1092
+ 200: {
1093
+ headers: {
1094
+ [name: string]: unknown;
1095
+ };
1096
+ content: {
1097
+ 'application/json': components['schemas']['AccountExportResponse'];
1098
+ };
1099
+ };
1100
+ /** @description Unauthorized */
1101
+ 401: {
1102
+ headers: {
1103
+ [name: string]: unknown;
1104
+ };
1105
+ content: {
1106
+ 'application/json': components['schemas']['ErrorResponse'];
1107
+ };
1108
+ };
1109
+ };
1110
+ };
1111
+ put?: never;
1112
+ post?: never;
1113
+ delete?: never;
1114
+ options?: never;
1115
+ head?: never;
1116
+ patch?: never;
1117
+ trace?: never;
1118
+ };
967
1119
  '/api/sessions': {
968
1120
  parameters: {
969
1121
  query?: never;
@@ -2836,7 +2988,7 @@ interface paths {
2836
2988
  put?: never;
2837
2989
  /**
2838
2990
  * Start deployment
2839
- * @description Start a new deployment for a flow. Returns 400 AMBIGUOUS_SETTINGS if the flow has multiple named settings use the per-settings deploy endpoint instead.
2991
+ * @description Start a new deployment for a flow. The bundle runs asynchronously on the worker. Returns 400 AMBIGUOUS_CONFIG when the flow has multiple named settings (use the per-settings deploy endpoint instead). When an Idempotency-Key replays a prior request, returns 200 with status `already_created`.
2840
2992
  */
2841
2993
  post: {
2842
2994
  parameters: {
@@ -2850,6 +3002,15 @@ interface paths {
2850
3002
  };
2851
3003
  requestBody?: never;
2852
3004
  responses: {
3005
+ /** @description Deployment started, or idempotent replay of a prior request */
3006
+ 200: {
3007
+ headers: {
3008
+ [name: string]: unknown;
3009
+ };
3010
+ content: {
3011
+ 'application/json': components['schemas']['StartDeploymentResponse'];
3012
+ };
3013
+ };
2853
3014
  /** @description Deployment started */
2854
3015
  201: {
2855
3016
  headers: {
@@ -2877,6 +3038,15 @@ interface paths {
2877
3038
  'application/json': components['schemas']['ErrorResponse'];
2878
3039
  };
2879
3040
  };
3041
+ /** @description Forbidden */
3042
+ 403: {
3043
+ headers: {
3044
+ [name: string]: unknown;
3045
+ };
3046
+ content: {
3047
+ 'application/json': components['schemas']['ErrorResponse'];
3048
+ };
3049
+ };
2880
3050
  /** @description Not found */
2881
3051
  404: {
2882
3052
  headers: {
@@ -2895,6 +3065,15 @@ interface paths {
2895
3065
  'application/json': components['schemas']['ErrorResponse'];
2896
3066
  };
2897
3067
  };
3068
+ /** @description Rate limited or concurrent deploy limit (Retry-After header) */
3069
+ 429: {
3070
+ headers: {
3071
+ [name: string]: unknown;
3072
+ };
3073
+ content: {
3074
+ 'application/json': components['schemas']['ErrorResponse'];
3075
+ };
3076
+ };
2898
3077
  /** @description Service unavailable */
2899
3078
  503: {
2900
3079
  headers: {
@@ -3692,7 +3871,357 @@ interface paths {
3692
3871
  };
3693
3872
  requestBody?: never;
3694
3873
  responses: {
3695
- /** @description Preview deleted */
3874
+ /** @description Preview deleted */
3875
+ 204: {
3876
+ headers: {
3877
+ [name: string]: unknown;
3878
+ };
3879
+ content?: never;
3880
+ };
3881
+ /** @description Unauthorized */
3882
+ 401: {
3883
+ headers: {
3884
+ [name: string]: unknown;
3885
+ };
3886
+ content: {
3887
+ 'application/json': components['schemas']['ErrorResponse'];
3888
+ };
3889
+ };
3890
+ /** @description Forbidden */
3891
+ 403: {
3892
+ headers: {
3893
+ [name: string]: unknown;
3894
+ };
3895
+ content: {
3896
+ 'application/json': components['schemas']['ErrorResponse'];
3897
+ };
3898
+ };
3899
+ /** @description Not found */
3900
+ 404: {
3901
+ headers: {
3902
+ [name: string]: unknown;
3903
+ };
3904
+ content: {
3905
+ 'application/json': components['schemas']['ErrorResponse'];
3906
+ };
3907
+ };
3908
+ };
3909
+ };
3910
+ options?: never;
3911
+ head?: never;
3912
+ patch?: never;
3913
+ trace?: never;
3914
+ };
3915
+ '/api/projects/{projectId}/flows/{flowId}/observe-sessions': {
3916
+ parameters: {
3917
+ query?: never;
3918
+ header?: never;
3919
+ path?: never;
3920
+ cookie?: never;
3921
+ };
3922
+ get?: never;
3923
+ put?: never;
3924
+ /**
3925
+ * Start observe session
3926
+ * @description Start an Observe session for a flow. Validates the flow topology, inserts the row, and kicks off detached provisioning. Returns the row immediately as arming.
3927
+ */
3928
+ post: {
3929
+ parameters: {
3930
+ query?: never;
3931
+ header?: never;
3932
+ path: {
3933
+ projectId: string;
3934
+ flowId: string;
3935
+ };
3936
+ cookie?: never;
3937
+ };
3938
+ requestBody?: {
3939
+ content: {
3940
+ 'application/json': components['schemas']['CreateObserveSessionRequest'];
3941
+ };
3942
+ };
3943
+ responses: {
3944
+ /** @description Observe session started */
3945
+ 201: {
3946
+ headers: {
3947
+ [name: string]: unknown;
3948
+ };
3949
+ content: {
3950
+ 'application/json': components['schemas']['ObserveSessionResponse'];
3951
+ };
3952
+ };
3953
+ /** @description Validation error */
3954
+ 400: {
3955
+ headers: {
3956
+ [name: string]: unknown;
3957
+ };
3958
+ content: {
3959
+ 'application/json': components['schemas']['ErrorResponse'];
3960
+ };
3961
+ };
3962
+ /** @description Unauthorized */
3963
+ 401: {
3964
+ headers: {
3965
+ [name: string]: unknown;
3966
+ };
3967
+ content: {
3968
+ 'application/json': components['schemas']['ErrorResponse'];
3969
+ };
3970
+ };
3971
+ /** @description Forbidden */
3972
+ 403: {
3973
+ headers: {
3974
+ [name: string]: unknown;
3975
+ };
3976
+ content: {
3977
+ 'application/json': components['schemas']['ErrorResponse'];
3978
+ };
3979
+ };
3980
+ /** @description Not found */
3981
+ 404: {
3982
+ headers: {
3983
+ [name: string]: unknown;
3984
+ };
3985
+ content: {
3986
+ 'application/json': components['schemas']['ErrorResponse'];
3987
+ };
3988
+ };
3989
+ /** @description Flow topology not supported */
3990
+ 409: {
3991
+ headers: {
3992
+ [name: string]: unknown;
3993
+ };
3994
+ content: {
3995
+ 'application/json': components['schemas']['ErrorResponse'];
3996
+ };
3997
+ };
3998
+ /** @description Rate limit exceeded */
3999
+ 429: {
4000
+ headers: {
4001
+ [name: string]: unknown;
4002
+ };
4003
+ content: {
4004
+ 'application/json': components['schemas']['ErrorResponse'];
4005
+ };
4006
+ };
4007
+ };
4008
+ };
4009
+ delete?: never;
4010
+ options?: never;
4011
+ head?: never;
4012
+ patch?: never;
4013
+ trace?: never;
4014
+ };
4015
+ '/api/projects/{projectId}/flows/{flowId}/observe-sessions/{sessionId}': {
4016
+ parameters: {
4017
+ query?: never;
4018
+ header?: never;
4019
+ path?: never;
4020
+ cookie?: never;
4021
+ };
4022
+ /**
4023
+ * Get observe session
4024
+ * @description Get an observe session: status, error message, config snapshot, web activation info, and the live server endpoint when live.
4025
+ */
4026
+ get: {
4027
+ parameters: {
4028
+ query?: never;
4029
+ header?: never;
4030
+ path: {
4031
+ projectId: string;
4032
+ flowId: string;
4033
+ sessionId: string;
4034
+ };
4035
+ cookie?: never;
4036
+ };
4037
+ requestBody?: never;
4038
+ responses: {
4039
+ /** @description Observe session details */
4040
+ 200: {
4041
+ headers: {
4042
+ [name: string]: unknown;
4043
+ };
4044
+ content: {
4045
+ 'application/json': components['schemas']['ObserveSessionResponse'];
4046
+ };
4047
+ };
4048
+ /** @description Unauthorized */
4049
+ 401: {
4050
+ headers: {
4051
+ [name: string]: unknown;
4052
+ };
4053
+ content: {
4054
+ 'application/json': components['schemas']['ErrorResponse'];
4055
+ };
4056
+ };
4057
+ /** @description Forbidden */
4058
+ 403: {
4059
+ headers: {
4060
+ [name: string]: unknown;
4061
+ };
4062
+ content: {
4063
+ 'application/json': components['schemas']['ErrorResponse'];
4064
+ };
4065
+ };
4066
+ /** @description Not found */
4067
+ 404: {
4068
+ headers: {
4069
+ [name: string]: unknown;
4070
+ };
4071
+ content: {
4072
+ 'application/json': components['schemas']['ErrorResponse'];
4073
+ };
4074
+ };
4075
+ };
4076
+ };
4077
+ put?: never;
4078
+ post?: never;
4079
+ /**
4080
+ * End observe session
4081
+ * @description End an observe session: tear down the container, revoke credentials, delete the web preview, delete the row. Idempotent.
4082
+ */
4083
+ delete: {
4084
+ parameters: {
4085
+ query?: never;
4086
+ header?: never;
4087
+ path: {
4088
+ projectId: string;
4089
+ flowId: string;
4090
+ sessionId: string;
4091
+ };
4092
+ cookie?: never;
4093
+ };
4094
+ requestBody?: never;
4095
+ responses: {
4096
+ /** @description Observe session ended */
4097
+ 204: {
4098
+ headers: {
4099
+ [name: string]: unknown;
4100
+ };
4101
+ content?: never;
4102
+ };
4103
+ /** @description Unauthorized */
4104
+ 401: {
4105
+ headers: {
4106
+ [name: string]: unknown;
4107
+ };
4108
+ content: {
4109
+ 'application/json': components['schemas']['ErrorResponse'];
4110
+ };
4111
+ };
4112
+ /** @description Forbidden */
4113
+ 403: {
4114
+ headers: {
4115
+ [name: string]: unknown;
4116
+ };
4117
+ content: {
4118
+ 'application/json': components['schemas']['ErrorResponse'];
4119
+ };
4120
+ };
4121
+ /** @description Not found */
4122
+ 404: {
4123
+ headers: {
4124
+ [name: string]: unknown;
4125
+ };
4126
+ content: {
4127
+ 'application/json': components['schemas']['ErrorResponse'];
4128
+ };
4129
+ };
4130
+ };
4131
+ };
4132
+ options?: never;
4133
+ head?: never;
4134
+ patch?: never;
4135
+ trace?: never;
4136
+ };
4137
+ '/api/projects/{projectId}/flows/{flowId}/observe-sessions/{sessionId}/heartbeat': {
4138
+ parameters: {
4139
+ query?: never;
4140
+ header?: never;
4141
+ path?: never;
4142
+ cookie?: never;
4143
+ };
4144
+ get?: never;
4145
+ put?: never;
4146
+ /**
4147
+ * Heartbeat observe session
4148
+ * @description Keep an observe session warm. The window posts this every 30s while open; a stale session is reaped by the janitor.
4149
+ */
4150
+ post: {
4151
+ parameters: {
4152
+ query?: never;
4153
+ header?: never;
4154
+ path: {
4155
+ projectId: string;
4156
+ flowId: string;
4157
+ sessionId: string;
4158
+ };
4159
+ cookie?: never;
4160
+ };
4161
+ requestBody?: never;
4162
+ responses: {
4163
+ /** @description Heartbeat recorded */
4164
+ 200: {
4165
+ headers: {
4166
+ [name: string]: unknown;
4167
+ };
4168
+ content: {
4169
+ 'application/json': components['schemas']['ObserveSessionHeartbeatResponse'];
4170
+ };
4171
+ };
4172
+ /** @description Unauthorized */
4173
+ 401: {
4174
+ headers: {
4175
+ [name: string]: unknown;
4176
+ };
4177
+ content: {
4178
+ 'application/json': components['schemas']['ErrorResponse'];
4179
+ };
4180
+ };
4181
+ /** @description Not found */
4182
+ 404: {
4183
+ headers: {
4184
+ [name: string]: unknown;
4185
+ };
4186
+ content: {
4187
+ 'application/json': components['schemas']['ErrorResponse'];
4188
+ };
4189
+ };
4190
+ };
4191
+ };
4192
+ delete?: never;
4193
+ options?: never;
4194
+ head?: never;
4195
+ patch?: never;
4196
+ trace?: never;
4197
+ };
4198
+ '/api/projects/{projectId}/flows/{flowId}/observe-sessions/{sessionId}/end': {
4199
+ parameters: {
4200
+ query?: never;
4201
+ header?: never;
4202
+ path?: never;
4203
+ cookie?: never;
4204
+ };
4205
+ get?: never;
4206
+ put?: never;
4207
+ /**
4208
+ * End observe session (beacon)
4209
+ * @description The navigator.sendBeacon end target for page unload. Mirrors the DELETE end route because sendBeacon cannot send a DELETE. Idempotent.
4210
+ */
4211
+ post: {
4212
+ parameters: {
4213
+ query?: never;
4214
+ header?: never;
4215
+ path: {
4216
+ projectId: string;
4217
+ flowId: string;
4218
+ sessionId: string;
4219
+ };
4220
+ cookie?: never;
4221
+ };
4222
+ requestBody?: never;
4223
+ responses: {
4224
+ /** @description Observe session ended */
3696
4225
  204: {
3697
4226
  headers: {
3698
4227
  [name: string]: unknown;
@@ -3708,15 +4237,6 @@ interface paths {
3708
4237
  'application/json': components['schemas']['ErrorResponse'];
3709
4238
  };
3710
4239
  };
3711
- /** @description Forbidden */
3712
- 403: {
3713
- headers: {
3714
- [name: string]: unknown;
3715
- };
3716
- content: {
3717
- 'application/json': components['schemas']['ErrorResponse'];
3718
- };
3719
- };
3720
4240
  /** @description Not found */
3721
4241
  404: {
3722
4242
  headers: {
@@ -3728,6 +4248,7 @@ interface paths {
3728
4248
  };
3729
4249
  };
3730
4250
  };
4251
+ delete?: never;
3731
4252
  options?: never;
3732
4253
  head?: never;
3733
4254
  patch?: never;
@@ -6303,7 +6824,7 @@ interface paths {
6303
6824
  patch?: never;
6304
6825
  trace?: never;
6305
6826
  };
6306
- '/api/projects/{projectId}/deployments/{deploymentId}/versions': {
6827
+ '/api/projects/{projectId}/deployments/{deploymentId}/stream': {
6307
6828
  parameters: {
6308
6829
  query?: never;
6309
6830
  header?: never;
@@ -6311,15 +6832,12 @@ interface paths {
6311
6832
  cookie?: never;
6312
6833
  };
6313
6834
  /**
6314
- * List deployment versions
6315
- * @description List the version history for a deployment, paginated. Requires member role.
6835
+ * Stream deployment status (SSE)
6836
+ * @description Server-Sent Events (`text/event-stream`) stream of a deployment's live status. Emits named events: `status` (a snapshot payload, schema below), `done` (terminal, no body), and `timeout`. The CLI consumes this with a raw fetch while waiting for a deploy to finish. Requires member role. The schema documents the JSON `data:` of a `status` event; `errorCode`/`errorMessage` carry the persisted, redacted classification of a failed deploy.
6316
6837
  */
6317
6838
  get: {
6318
6839
  parameters: {
6319
- query?: {
6320
- limit?: number;
6321
- offset?: number | null;
6322
- };
6840
+ query?: never;
6323
6841
  header?: never;
6324
6842
  path: {
6325
6843
  projectId: string;
@@ -6329,13 +6847,13 @@ interface paths {
6329
6847
  };
6330
6848
  requestBody?: never;
6331
6849
  responses: {
6332
- /** @description Version history */
6850
+ /** @description SSE stream; `status` event payload shape documented here. */
6333
6851
  200: {
6334
6852
  headers: {
6335
6853
  [name: string]: unknown;
6336
6854
  };
6337
6855
  content: {
6338
- 'application/json': components['schemas']['ListDeploymentVersionsResponse'];
6856
+ 'text/event-stream': components['schemas']['DeploymentStreamStatusEvent'];
6339
6857
  };
6340
6858
  };
6341
6859
  /** @description Unauthorized */
@@ -6347,15 +6865,6 @@ interface paths {
6347
6865
  'application/json': components['schemas']['ErrorResponse'];
6348
6866
  };
6349
6867
  };
6350
- /** @description Forbidden */
6351
- 403: {
6352
- headers: {
6353
- [name: string]: unknown;
6354
- };
6355
- content: {
6356
- 'application/json': components['schemas']['ErrorResponse'];
6357
- };
6358
- };
6359
6868
  /** @description Not found */
6360
6869
  404: {
6361
6870
  headers: {
@@ -6365,15 +6874,6 @@ interface paths {
6365
6874
  'application/json': components['schemas']['ErrorResponse'];
6366
6875
  };
6367
6876
  };
6368
- /** @description Rate limited */
6369
- 429: {
6370
- headers: {
6371
- [name: string]: unknown;
6372
- };
6373
- content: {
6374
- 'application/json': components['schemas']['ErrorResponse'];
6375
- };
6376
- };
6377
6877
  };
6378
6878
  };
6379
6879
  put?: never;
@@ -6384,7 +6884,7 @@ interface paths {
6384
6884
  patch?: never;
6385
6885
  trace?: never;
6386
6886
  };
6387
- '/api/projects/{projectId}/deployments/{deploymentId}/versions/current/content': {
6887
+ '/api/projects/{projectId}/deployments/{deploymentId}/versions': {
6388
6888
  parameters: {
6389
6889
  query?: never;
6390
6890
  header?: never;
@@ -6392,12 +6892,15 @@ interface paths {
6392
6892
  cookie?: never;
6393
6893
  };
6394
6894
  /**
6395
- * Get current deployed content
6396
- * @description Get the active deployed per-setting content for a deployment, used to diff changes since deploy. Content is masked and display-only; every field is null when there is no deployed baseline. Requires member role.
6895
+ * List deployment versions
6896
+ * @description List the version history for a deployment, paginated. Requires member role.
6397
6897
  */
6398
6898
  get: {
6399
6899
  parameters: {
6400
- query?: never;
6900
+ query?: {
6901
+ limit?: number;
6902
+ offset?: number | null;
6903
+ };
6401
6904
  header?: never;
6402
6905
  path: {
6403
6906
  projectId: string;
@@ -6407,13 +6910,13 @@ interface paths {
6407
6910
  };
6408
6911
  requestBody?: never;
6409
6912
  responses: {
6410
- /** @description Deployed content (or a null baseline) */
6913
+ /** @description Version history */
6411
6914
  200: {
6412
6915
  headers: {
6413
6916
  [name: string]: unknown;
6414
6917
  };
6415
6918
  content: {
6416
- 'application/json': components['schemas']['DeployedContentResponse'];
6919
+ 'application/json': components['schemas']['ListDeploymentVersionsResponse'];
6417
6920
  };
6418
6921
  };
6419
6922
  /** @description Unauthorized */
@@ -6462,7 +6965,7 @@ interface paths {
6462
6965
  patch?: never;
6463
6966
  trace?: never;
6464
6967
  };
6465
- '/api/projects/{projectId}/deployments/{deploymentId}/heartbeats': {
6968
+ '/api/projects/{projectId}/deployments/{deploymentId}/versions/current/content': {
6466
6969
  parameters: {
6467
6970
  query?: never;
6468
6971
  header?: never;
@@ -6470,19 +6973,12 @@ interface paths {
6470
6973
  cookie?: never;
6471
6974
  };
6472
6975
  /**
6473
- * List deployment heartbeats
6474
- * @description List heartbeat records for a deployment with optional from/to time-range filtering and pagination. Requires member role.
6976
+ * Get current deployed content
6977
+ * @description Get the active deployed per-setting content for a deployment, used to diff changes since deploy. Content is masked and display-only; every field is null when there is no deployed baseline. Requires member role.
6475
6978
  */
6476
6979
  get: {
6477
6980
  parameters: {
6478
- query?: {
6479
- /** @description ISO start of the time range. */
6480
- from?: string;
6481
- /** @description ISO end of the time range. */
6482
- to?: string;
6483
- limit?: number;
6484
- offset?: number | null;
6485
- };
6981
+ query?: never;
6486
6982
  header?: never;
6487
6983
  path: {
6488
6984
  projectId: string;
@@ -6492,13 +6988,13 @@ interface paths {
6492
6988
  };
6493
6989
  requestBody?: never;
6494
6990
  responses: {
6495
- /** @description Heartbeat history */
6991
+ /** @description Deployed content (or a null baseline) */
6496
6992
  200: {
6497
6993
  headers: {
6498
6994
  [name: string]: unknown;
6499
6995
  };
6500
6996
  content: {
6501
- 'application/json': components['schemas']['ListHeartbeatsResponse'];
6997
+ 'application/json': components['schemas']['DeployedContentResponse'];
6502
6998
  };
6503
6999
  };
6504
7000
  /** @description Unauthorized */
@@ -6528,6 +7024,15 @@ interface paths {
6528
7024
  'application/json': components['schemas']['ErrorResponse'];
6529
7025
  };
6530
7026
  };
7027
+ /** @description Rate limited */
7028
+ 429: {
7029
+ headers: {
7030
+ [name: string]: unknown;
7031
+ };
7032
+ content: {
7033
+ 'application/json': components['schemas']['ErrorResponse'];
7034
+ };
7035
+ };
6531
7036
  };
6532
7037
  };
6533
7038
  put?: never;
@@ -6538,22 +7043,27 @@ interface paths {
6538
7043
  patch?: never;
6539
7044
  trace?: never;
6540
7045
  };
6541
- '/api/projects/{projectId}/deployments/{deploymentId}/rotate-ingest-token': {
7046
+ '/api/projects/{projectId}/deployments/{deploymentId}/heartbeats': {
6542
7047
  parameters: {
6543
7048
  query?: never;
6544
7049
  header?: never;
6545
7050
  path?: never;
6546
7051
  cookie?: never;
6547
7052
  };
6548
- get?: never;
6549
- put?: never;
6550
7053
  /**
6551
- * Rotate ingest token
6552
- * @description Rotate the ingest token for a deployment. Owner-only. No grace window: the previous token is immediately invalidated and the new token is returned once.
7054
+ * List deployment heartbeats
7055
+ * @description List heartbeat records for a deployment with optional from/to time-range filtering and pagination. Requires member role.
6553
7056
  */
6554
- post: {
7057
+ get: {
6555
7058
  parameters: {
6556
- query?: never;
7059
+ query?: {
7060
+ /** @description ISO start of the time range. */
7061
+ from?: string;
7062
+ /** @description ISO end of the time range. */
7063
+ to?: string;
7064
+ limit?: number;
7065
+ offset?: number | null;
7066
+ };
6557
7067
  header?: never;
6558
7068
  path: {
6559
7069
  projectId: string;
@@ -6563,13 +7073,13 @@ interface paths {
6563
7073
  };
6564
7074
  requestBody?: never;
6565
7075
  responses: {
6566
- /** @description New ingest token */
7076
+ /** @description Heartbeat history */
6567
7077
  200: {
6568
7078
  headers: {
6569
7079
  [name: string]: unknown;
6570
7080
  };
6571
7081
  content: {
6572
- 'application/json': components['schemas']['RotateIngestTokenResponse'];
7082
+ 'application/json': components['schemas']['ListHeartbeatsResponse'];
6573
7083
  };
6574
7084
  };
6575
7085
  /** @description Unauthorized */
@@ -6601,13 +7111,15 @@ interface paths {
6601
7111
  };
6602
7112
  };
6603
7113
  };
7114
+ put?: never;
7115
+ post?: never;
6604
7116
  delete?: never;
6605
7117
  options?: never;
6606
7118
  head?: never;
6607
7119
  patch?: never;
6608
7120
  trace?: never;
6609
7121
  };
6610
- '/api/projects/{projectId}/deployments/{deploymentId}/trace': {
7122
+ '/api/projects/{projectId}/deployments/{deploymentId}/rotate-ingest-token': {
6611
7123
  parameters: {
6612
7124
  query?: never;
6613
7125
  header?: never;
@@ -6617,8 +7129,8 @@ interface paths {
6617
7129
  get?: never;
6618
7130
  put?: never;
6619
7131
  /**
6620
- * Toggle debug tracing
6621
- * @description Enable or disable debug tracing for a deployment. Owner-only, gated by the debugTrace feature. `minutes` of 0 disables; allowed values are 0, 15, 30, 60. An absent body defaults to 15 minutes.
7132
+ * Rotate ingest token
7133
+ * @description Rotate the ingest token for a deployment. Owner-only. No grace window: the previous token is immediately invalidated and the new token is returned once.
6622
7134
  */
6623
7135
  post: {
6624
7136
  parameters: {
@@ -6630,28 +7142,15 @@ interface paths {
6630
7142
  };
6631
7143
  cookie?: never;
6632
7144
  };
6633
- requestBody?: {
6634
- content: {
6635
- 'application/json': components['schemas']['TraceDeploymentRequest'];
6636
- };
6637
- };
7145
+ requestBody?: never;
6638
7146
  responses: {
6639
- /** @description Updated trace window */
7147
+ /** @description New ingest token */
6640
7148
  200: {
6641
7149
  headers: {
6642
7150
  [name: string]: unknown;
6643
7151
  };
6644
7152
  content: {
6645
- 'application/json': components['schemas']['TraceDeploymentResponse'];
6646
- };
6647
- };
6648
- /** @description Validation error */
6649
- 400: {
6650
- headers: {
6651
- [name: string]: unknown;
6652
- };
6653
- content: {
6654
- 'application/json': components['schemas']['ErrorResponse'];
7153
+ 'application/json': components['schemas']['RotateIngestTokenResponse'];
6655
7154
  };
6656
7155
  };
6657
7156
  /** @description Unauthorized */
@@ -8069,10 +8568,22 @@ interface components {
8069
8568
  * @enum {string}
8070
8569
  */
8071
8570
  platform: 'web' | 'server';
8072
- deploymentStatus: string | null;
8571
+ serving: components['schemas']['ServingStatus'];
8572
+ latestAttempt: components['schemas']['LatestAttemptStatus'];
8073
8573
  deploymentUrl: string | null;
8074
8574
  deployedAt: string | null;
8075
8575
  };
8576
+ /** @enum {string} */
8577
+ ServingStatus: 'live' | 'none';
8578
+ /** @enum {string|null} */
8579
+ LatestAttemptStatus:
8580
+ | 'idle'
8581
+ | 'deploying'
8582
+ | 'published'
8583
+ | 'active'
8584
+ | 'stopped'
8585
+ | 'failed'
8586
+ | null;
8076
8587
  Version: {
8077
8588
  /** @example 1 */
8078
8589
  version: number;
@@ -8130,6 +8641,106 @@ interface components {
8130
8641
  */
8131
8642
  createdAt: string;
8132
8643
  };
8644
+ DeleteAccountRequest: {
8645
+ /** @example me@example.com */
8646
+ confirm: string;
8647
+ };
8648
+ DeleteAccountBlocked: {
8649
+ error: {
8650
+ /**
8651
+ * @example SOLE_OWNER
8652
+ * @enum {string}
8653
+ */
8654
+ code: 'SOLE_OWNER';
8655
+ message: string;
8656
+ details: {
8657
+ /**
8658
+ * @example [
8659
+ * "proj_abc123"
8660
+ * ]
8661
+ */
8662
+ projects: string[];
8663
+ };
8664
+ };
8665
+ };
8666
+ AccountExportResponse: {
8667
+ /** @example 2026-06-10T12:00:00.000Z */
8668
+ exportedAt: string;
8669
+ profile: {
8670
+ /** @example user_a1b2c3d4 */
8671
+ id: string;
8672
+ /** @example me@example.com */
8673
+ email: string;
8674
+ displayName: string | null;
8675
+ createdAt: string;
8676
+ lastLoginAt: string | null;
8677
+ /** @example user */
8678
+ globalRole: string;
8679
+ traits: string[];
8680
+ };
8681
+ memberships: {
8682
+ projectId: string;
8683
+ projectName: string;
8684
+ role: string;
8685
+ joinedAt: string;
8686
+ }[];
8687
+ apiTokens: {
8688
+ id: string;
8689
+ name: string;
8690
+ projectId: string | null;
8691
+ origin: string;
8692
+ createdAt: string;
8693
+ lastUsedAt: string | null;
8694
+ expiresAt: string | null;
8695
+ revokedAt: string | null;
8696
+ }[];
8697
+ sessions: {
8698
+ id: string;
8699
+ createdAt: string;
8700
+ expiresAt: string;
8701
+ lastTouchedAt: string;
8702
+ }[];
8703
+ mcpTokens: {
8704
+ id: string;
8705
+ name: string;
8706
+ createdAt: string;
8707
+ lastUsedAt: string | null;
8708
+ expiresAt: string;
8709
+ revokedAt: string | null;
8710
+ }[];
8711
+ mcpSessions: {
8712
+ id: string;
8713
+ projectId: string | null;
8714
+ createdAt: string;
8715
+ lastActiveAt: string;
8716
+ expiresAt: string;
8717
+ messages: {
8718
+ seq: number;
8719
+ role: string;
8720
+ content?: unknown;
8721
+ createdAt: string;
8722
+ }[];
8723
+ }[];
8724
+ feedback: {
8725
+ id: string;
8726
+ projectId: string | null;
8727
+ text: string;
8728
+ source: string;
8729
+ createdAt: string;
8730
+ }[];
8731
+ invitations: {
8732
+ id: string;
8733
+ projectId: string;
8734
+ invitedEmail: string;
8735
+ role: string;
8736
+ status: string;
8737
+ createdAt: string;
8738
+ expiresAt: string;
8739
+ acceptedAt: string | null;
8740
+ declinedAt: string | null;
8741
+ cancelledAt: string | null;
8742
+ }[];
8743
+ };
8133
8744
  ApiTokenSummary: {
8134
8745
  /** @example tok_a1b2c3d4 */
8135
8746
  id: string;
@@ -8251,6 +8862,9 @@ interface components {
8251
8862
  createdAt: string;
8252
8863
  updatedAt: string | null;
8253
8864
  } | null;
8865
+ serving: components['schemas']['ServingStatus'];
8866
+ latestAttempt: components['schemas']['LatestAttemptStatus'];
8867
+ deployedAt: string | null;
8254
8868
  /**
8255
8869
  * Format: date-time
8256
8870
  * @example 2026-01-26T14:30:00.000Z
@@ -8327,6 +8941,7 @@ interface components {
8327
8941
  | 'active'
8328
8942
  | 'stopped'
8329
8943
  | 'failed';
8944
+ serving: components['schemas']['ServingStatus'];
8330
8945
  currentVersionNumber: number | null;
8331
8946
  url: string | null;
8332
8947
  /** @example flow_a1b2c3d4 */
@@ -8336,8 +8951,6 @@ interface components {
8336
8951
  createdAt: string;
8337
8952
  /** Format: date-time */
8338
8953
  updatedAt: string;
8339
- /** Format: date-time */
8340
- traceUntil: string | null;
8341
8954
  usageSummary?: {
8342
8955
  eventsIn24h: number;
8343
8956
  healthy: boolean;
@@ -8374,6 +8987,21 @@ interface components {
8374
8987
  currentVersion: components['schemas']['DeploymentVersionDetail'];
8375
8988
  versions: components['schemas']['DeploymentVersionHistoryEntry'][];
8376
8989
  error: components['schemas']['DeploymentError'];
8990
+ recentErrors?:
8991
+ | {
8992
+ message: string;
8993
+ count: number;
8994
+ firstSeen: string;
8995
+ lastSeen: string;
8996
+ }[]
8997
+ | null;
8998
+ recentLogs?:
8999
+ | {
9000
+ time: string;
9001
+ level: string;
9002
+ message: string;
9003
+ }[]
9004
+ | null;
8377
9005
  url: string | null;
8378
9006
  selfHosted: {
8379
9007
  /** Format: date-time */
@@ -8383,8 +9011,6 @@ interface components {
8383
9011
  healthy: boolean;
8384
9012
  } | null;
8385
9013
  /** Format: date-time */
8386
- traceUntil: string | null;
8387
- /** Format: date-time */
8388
9014
  createdAt: string;
8389
9015
  /** Format: date-time */
8390
9016
  updatedAt: string;
@@ -8453,6 +9079,7 @@ interface components {
8453
9079
  | 'active'
8454
9080
  | 'stopped'
8455
9081
  | 'failed';
9082
+ serving: components['schemas']['ServingStatus'];
8456
9083
  currentVersionNumber: number | null;
8457
9084
  url: string | null;
8458
9085
  /** @example flow_a1b2c3d4 */
@@ -8462,13 +9089,51 @@ interface components {
8462
9089
  createdAt: string;
8463
9090
  /** Format: date-time */
8464
9091
  updatedAt: string;
8465
- /** Format: date-time */
8466
- traceUntil: string | null;
8467
9092
  usageSummary?: {
8468
9093
  eventsIn24h: number;
8469
9094
  healthy: boolean;
8470
9095
  };
8471
9096
  };
9097
+ StartDeploymentResponse:
9098
+ | {
9099
+ /** @example dep_a1b2c3d4 */
9100
+ deploymentId: string;
9101
+ /** @example k7m2x9p4q1w8 */
9102
+ slug: string;
9103
+ target: string | null;
9104
+ /**
9105
+ * @example web
9106
+ * @enum {string}
9107
+ */
9108
+ type: 'web' | 'server';
9109
+ /** @enum {string} */
9110
+ status: 'deploying';
9111
+ settingsId?: string;
9112
+ versionId: string;
9113
+ versionNumber: number;
9114
+ }
9115
+ | {
9116
+ deploymentId: string;
9117
+ /** @enum {string} */
9118
+ status: 'already_created';
9119
+ };
9120
+ DeploymentStreamStatusEvent: {
9121
+ status: string;
9122
+ substatus: string | null;
9123
+ /**
9124
+ * @example web
9125
+ * @enum {string}
9126
+ */
9127
+ type: 'web' | 'server';
9128
+ target: string | null;
9129
+ containerUrl: string | null;
9130
+ errorCode: string | null;
9131
+ errorMessage: string | null;
9132
+ /** Format: date-time */
9133
+ createdAt: string;
9134
+ /** Format: date-time */
9135
+ updatedAt: string;
9136
+ };
8472
9137
  ListDeploymentsResponse: {
8473
9138
  deployments: components['schemas']['DeploymentSummary'][];
8474
9139
  total: number;
@@ -8611,6 +9276,37 @@ interface components {
8611
9276
  deploymentVersionId: string;
8612
9277
  };
8613
9278
  };
9279
+ ObserveSessionResponse: {
9280
+ /** @example ses_abc123xyz456 */
9281
+ id: string;
9282
+ projectId: string;
9283
+ /** @example flow_a1b2c3d4 */
9284
+ flowId: string;
9285
+ status: string;
9286
+ errorMessage: string | null;
9287
+ configSnapshot: {
9288
+ [key: string]: unknown;
9289
+ };
9290
+ serverFlowName: string | null;
9291
+ serverEndpoint: string | null;
9292
+ web: components['schemas']['ObserveSessionWeb'];
9293
+ createdBy: string;
9294
+ /** Format: date-time */
9295
+ createdAt: string;
9296
+ };
9297
+ ObserveSessionWeb: {
9298
+ token: string;
9299
+ activationUrl: string;
9300
+ /** Format: uri */
9301
+ bundleUrl: string;
9302
+ } | null;
9303
+ CreateObserveSessionRequest: {
9304
+ settingsName: string;
9305
+ };
9306
+ ObserveSessionHeartbeatResponse: {
9307
+ /** @enum {boolean} */
9308
+ ok: true;
9309
+ };
8614
9310
  SecretName: string;
8615
9311
  CreateSecretRequest: {
8616
9312
  name: string;
@@ -9049,14 +9745,6 @@ interface components {
9049
9745
  RotateIngestTokenResponse: {
9050
9746
  ingestToken: string;
9051
9747
  };
9052
- TraceDeploymentRequest: {
9053
- minutes?: number;
9054
- };
9055
- TraceDeploymentResponse: {
9056
- /** Format: date-time */
9057
- traceUntil: string | null;
9058
- minutes: number;
9059
- };
9060
9748
  DeploymentUsageResponse: {
9061
9749
  totalEventsIn: number;
9062
9750
  totalEventsOut: number;
@@ -9441,12 +10129,6 @@ interface components {
9441
10129
  /** Format: date-time */
9442
10130
  updatedAt: string;
9443
10131
  } | null;
9444
- StartDeploymentResponse: {
9445
- deploymentId: string;
9446
- /** @enum {string} */
9447
- type: 'web' | 'server';
9448
- status: string;
9449
- };
9450
10132
  ListSettingsResponse: {
9451
10133
  settings: components['schemas']['FlowSettingsSummary'][];
9452
10134
  };
@@ -9628,6 +10310,21 @@ interface components {
9628
10310
  };
9629
10311
  };
9630
10312
  };
10313
+ recentErrors?: {
10314
+ message: string;
10315
+ count: number;
10316
+ /** Format: date-time */
10317
+ firstSeen: string;
10318
+ /** Format: date-time */
10319
+ lastSeen: string;
10320
+ }[];
10321
+ recentLogs?: {
10322
+ /** Format: date-time */
10323
+ time: string;
10324
+ /** @enum {string} */
10325
+ level: 'error' | 'warn' | 'info' | 'debug';
10326
+ message: string;
10327
+ }[];
9631
10328
  };
9632
10329
  };
9633
10330
  responses: never;
@@ -9663,7 +10360,8 @@ declare function listFlows(options?: ListFlowsOptions): Promise<{
9663
10360
  id: string;
9664
10361
  name: string;
9665
10362
  platform: "web" | "server";
9666
- deploymentStatus: string | null;
10363
+ serving: components["schemas"]["ServingStatus"];
10364
+ latestAttempt: components["schemas"]["LatestAttemptStatus"];
9667
10365
  deploymentUrl: string | null;
9668
10366
  deployedAt: string | null;
9669
10367
  }[] | undefined;
@@ -9714,6 +10412,9 @@ declare function getFlow(options: {
9714
10412
  createdAt: string;
9715
10413
  updatedAt: string | null;
9716
10414
  } | null;
10415
+ serving: components["schemas"]["ServingStatus"];
10416
+ latestAttempt: components["schemas"]["LatestAttemptStatus"];
10417
+ deployedAt: string | null;
9717
10418
  createdAt: string;
9718
10419
  updatedAt: string;
9719
10420
  }[] | undefined;
@@ -9864,7 +10565,44 @@ interface DeployOptions {
9864
10565
  signal?: AbortSignal;
9865
10566
  onStatus?: (status: string, substatus: string | null) => void;
9866
10567
  }
9867
- declare function deploy(options: DeployOptions): Promise<any>;
10568
+ declare function deploy(options: DeployOptions): Promise<{
10569
+ deploymentId: string;
10570
+ settingsId: string;
10571
+ status: string;
10572
+ } | {
10573
+ deploymentId: string;
10574
+ slug: string;
10575
+ target: string | null;
10576
+ type: "web" | "server";
10577
+ status: "deploying";
10578
+ settingsId?: string | undefined;
10579
+ versionId: string;
10580
+ versionNumber: number;
10581
+ } | {
10582
+ deploymentId: string;
10583
+ status: "already_created";
10584
+ } | {
10585
+ status: string;
10586
+ substatus?: string | null;
10587
+ type: string;
10588
+ containerUrl?: string | null;
10589
+ publicUrl?: string | null;
10590
+ errorMessage?: string | null;
10591
+ deploymentId: string;
10592
+ slug: string;
10593
+ target: string | null;
10594
+ settingsId?: string | undefined;
10595
+ versionId: string;
10596
+ versionNumber: number;
10597
+ } | {
10598
+ status: string;
10599
+ substatus?: string | null;
10600
+ type?: string;
10601
+ containerUrl?: string | null;
10602
+ publicUrl?: string | null;
10603
+ errorMessage?: string | null;
10604
+ deploymentId: string;
10605
+ }>;
9868
10606
  declare function getDeployment(options: {
9869
10607
  flowId: string;
9870
10608
  projectId?: string;
@@ -9985,6 +10723,28 @@ declare function telemetryEnableCommand(): void;
9985
10723
  */
9986
10724
  declare function telemetryDisableCommand(): void;
9987
10725
 
10726
+ /**
10727
+ * Check if a config value contains code markers that require esbuild compilation.
10728
+ * Returns true if the value (or any nested value) contains:
10729
+ * - $code: prefix (raw JS expression)
10730
+ * - $store. prefix (JS variable reference)
10731
+ * - __WALKEROS_ENV: prefix (process.env expression)
10732
+ * - __WALKEROS_SECRET: prefix (guarded process.env read for a deferred secret)
10733
+ */
10734
+ declare function containsCodeMarkers(value: unknown): boolean;
10735
+ /**
10736
+ * Split a step's properties into code-layer (for esbuild) and data-layer (post-build).
10737
+ *
10738
+ * Code layer: 'code' key always, plus any property containing code markers
10739
+ * Data layer: plain JSON values (settings, mappings, chains, etc.)
10740
+ *
10741
+ * Not applicable to InlineCode steps — those go entirely to the code layer.
10742
+ */
10743
+ declare function classifyStepProperties(step: Record<string, unknown>): {
10744
+ codeProps: Record<string, unknown>;
10745
+ dataProps: Record<string, unknown>;
10746
+ };
10747
+
9988
10748
  /**
9989
10749
  * Pure structural validation of a flow config — the exact checks the bundler
9990
10750
  * runs at codegen time, BEFORE any esbuild compile or package/archive fetch.
@@ -10167,6 +10927,9 @@ interface ApiErrorDetail {
10167
10927
  interface ApiErrorOptions {
10168
10928
  code?: string;
10169
10929
  details?: ApiErrorDetail[];
10930
+ status?: number;
10931
+ retryable?: boolean;
10932
+ retryAfterSeconds?: number;
10170
10933
  minVersion?: string;
10171
10934
  clientVersion?: string;
10172
10935
  client?: string;
@@ -10176,6 +10939,9 @@ interface ApiErrorOptions {
10176
10939
  declare class ApiError extends Error {
10177
10940
  code?: string;
10178
10941
  details?: ApiErrorDetail[];
10942
+ status?: number;
10943
+ retryable?: boolean;
10944
+ retryAfterSeconds?: number;
10179
10945
  minVersion?: string;
10180
10946
  clientVersion?: string;
10181
10947
  client?: string;
@@ -10185,7 +10951,6 @@ declare class ApiError extends Error {
10185
10951
  }
10186
10952
  /**
10187
10953
  * Extract structured error from an openapi-fetch error response and throw.
10188
- * The error shape is: { error: { code, message, details: { errors: [] } } }
10189
10954
  *
10190
10955
  * For `code === 'CLIENT_OUTDATED'` (HTTP 426), also extracts the upgrade
10191
10956
  * metadata: `minVersion`, `clientVersion`, `client`, `upgrade`, `docs`.
@@ -10590,4 +11355,4 @@ declare module '@walkeros/core' {
10590
11355
  }
10591
11356
  }
10592
11357
 
10593
- export { ApiError, type ApiErrorDetail, type BuildOptions, type BundleStats, type CLIBuildOptions, type ClientContext, type ClientType, type CompareContractInput, type ContractComparison, type ContractVerdict, type CreatePreviewOptions, type CreateSecretOptions, type DeletePreviewOptions, type DeleteSecretOptions, type DeployOptions, DeploymentAmbiguityError, type DeploymentSummaryForFlow, type DeviceCodeOptions, type DeviceCodeResult, type ExampleLookupResult, type FeedbackOptions, type GetPreviewOptions, type GlobalOptions, type HealthResult, type ListDeploymentsOptions, type ListFlowsOptions, type ListPreviewsOptions, type ListProjectsOptions, type ListSecretsOptions, type MinifyOptions, type PollOptions, type PollResult, type PrepareInput, type PreparedFlow, type ProjectFlows, type PushResult, type RunCommandOptions, type RunOptions, type RunResult, type SSEEvent, type SSEParseResult, type SimulateCollectorOptions, type SimulateDestinationOptions, type SimulateSourceOptions, type SimulateTransformerOptions, type UpdateSecretOptions, VERSION, type ValidateResult, type ValidationError, type ValidationType, type ValidationWarning, type WalkerOSConfig, type WrapSkeletonOptions, annotateErrorWithDrift, apiFetch, bakedContractHash, bakedContractVersion, bundle, bundleCommand, canonicalContractHash, clientContextHeaders, compareContract, compareOutput, createApiClient, createDeployCommand, createDeployment, createDeploymentCommand, createFlow, createFlowCommand, createPreview, createProject, createProjectCommand, createSecret, deleteConfig, deleteDeployment, deleteDeploymentByFlowId, deleteDeploymentCommand, deleteFlow, deleteFlowCommand, deletePreview, deleteProject, deleteProjectCommand, deleteSecret, deploy, deployCommand, deployFetch, duplicateFlow, duplicateFlowCommand, feedback, feedbackCommand, fetchHealth, findExample, getAuthHeaders, getClientContext, getDefaultProject, getDeployment, getDeploymentBySlug, getDeploymentBySlugCommand, getDeploymentCommand, getFeedbackPreference, getFlow, getFlowCommand, getPreview, getProject, getProjectCommand, getToken, listAllFlows, listDeployments, listDeploymentsCommand, listFlows, listFlowsCommand, listPreviews, listProjects, listProjectsCommand, listSecrets, loadConfig, loadJsonConfig, loginCommand, logoutCommand, mergeAuthHeaders, parseSSEEvents, pollForToken, publicFetch, push, pushCommand, readConfig, requestDeviceCode, requireProjectId, resetClientContext, resolveAppUrl, resolveToken, run, runCommand, setClientContext, setDefaultProject, setFeedbackPreference, simulateCollector, simulateDestination, simulateSource, simulateTransformer, index as telemetry, telemetryDisableCommand, telemetryEnableCommand, telemetryStatusCommand, throwApiError, updateFlow, updateFlowCommand, updateProject, updateProjectCommand, updateSecret, validate, validateCommand, validateFlowStructure, whoami, whoamiCommand, wrapSkeleton, writeConfig };
11358
+ export { ApiError, type ApiErrorDetail, type BuildOptions, type BundleStats, type CLIBuildOptions, type ClientContext, type ClientType, type CompareContractInput, type ContractComparison, type ContractVerdict, type CreatePreviewOptions, type CreateSecretOptions, type DeletePreviewOptions, type DeleteSecretOptions, type DeployOptions, DeploymentAmbiguityError, type DeploymentSummaryForFlow, type DeviceCodeOptions, type DeviceCodeResult, type ExampleLookupResult, type FeedbackOptions, type GetPreviewOptions, type GlobalOptions, type HealthResult, type ListDeploymentsOptions, type ListFlowsOptions, type ListPreviewsOptions, type ListProjectsOptions, type ListSecretsOptions, type MinifyOptions, type PollOptions, type PollResult, type PrepareInput, type PreparedFlow, type ProjectFlows, type PushResult, type RunCommandOptions, type RunOptions, type RunResult, type SSEEvent, type SSEParseResult, type SimulateCollectorOptions, type SimulateDataOptions, type SimulateDestinationOptions, type SimulateSourceOptions, type SimulateTransformerOptions, type UpdateSecretOptions, VERSION, type ValidateResult, type ValidationError, type ValidationType, type ValidationWarning, type WalkerOSConfig, type WrapSkeletonOptions, annotateErrorWithDrift, apiFetch, bakedContractHash, bakedContractVersion, buildDataPayload, bundle, bundleCommand, canonicalContractHash, classifyStepProperties, clientContextHeaders, compareContract, compareOutput, containsCodeMarkers, createApiClient, createDeployCommand, createDeployment, createDeploymentCommand, createFlow, createFlowCommand, createPreview, createProject, createProjectCommand, createSecret, deleteConfig, deleteDeployment, deleteDeploymentByFlowId, deleteDeploymentCommand, deleteFlow, deleteFlowCommand, deletePreview, deleteProject, deleteProjectCommand, deleteSecret, deploy, deployCommand, deployFetch, duplicateFlow, duplicateFlowCommand, feedback, feedbackCommand, fetchHealth, findExample, getAuthHeaders, getClientContext, getDefaultProject, getDeployment, getDeploymentBySlug, getDeploymentBySlugCommand, getDeploymentCommand, getFeedbackPreference, getFlow, getFlowCommand, getPreview, getProject, getProjectCommand, getToken, listAllFlows, listDeployments, listDeploymentsCommand, listFlows, listFlowsCommand, listPreviews, listProjects, listProjectsCommand, listSecrets, loadConfig, loadJsonConfig, loginCommand, logoutCommand, mergeAuthHeaders, parseSSEEvents, pollForToken, publicFetch, push, pushCommand, readConfig, requestDeviceCode, requireProjectId, resetClientContext, resolveAppUrl, resolveToken, run, runCommand, setClientContext, setDefaultProject, setFeedbackPreference, simulateCollector, simulateDestination, simulateSource, simulateTransformer, index as telemetry, telemetryDisableCommand, telemetryEnableCommand, telemetryStatusCommand, throwApiError, updateFlow, updateFlowCommand, updateProject, updateProjectCommand, updateSecret, validate, validateCommand, validateFlowStructure, whoami, whoamiCommand, wrapSkeleton, writeConfig };