@walkeros/cli 4.2.0 → 4.2.1-next-1781526381392

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: {
@@ -3674,25 +3853,375 @@ interface paths {
3674
3853
  };
3675
3854
  };
3676
3855
  put?: never;
3677
- post?: never;
3856
+ post?: never;
3857
+ /**
3858
+ * Delete preview
3859
+ * @description Delete a preview and its S3 bundle. Requires member role.
3860
+ */
3861
+ delete: {
3862
+ parameters: {
3863
+ query?: never;
3864
+ header?: never;
3865
+ path: {
3866
+ projectId: string;
3867
+ flowId: string;
3868
+ previewId: string;
3869
+ };
3870
+ cookie?: never;
3871
+ };
3872
+ requestBody?: never;
3873
+ responses: {
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;
3678
4207
  /**
3679
- * Delete preview
3680
- * @description Delete a preview and its S3 bundle. Requires member role.
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.
3681
4210
  */
3682
- delete: {
4211
+ post: {
3683
4212
  parameters: {
3684
4213
  query?: never;
3685
4214
  header?: never;
3686
4215
  path: {
3687
4216
  projectId: string;
3688
4217
  flowId: string;
3689
- previewId: string;
4218
+ sessionId: string;
3690
4219
  };
3691
4220
  cookie?: never;
3692
4221
  };
3693
4222
  requestBody?: never;
3694
4223
  responses: {
3695
- /** @description Preview deleted */
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,14 @@ 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'];
6857
+ 'application/json': components['schemas']['DeploymentStreamStatusEvent'];
6339
6858
  };
6340
6859
  };
6341
6860
  /** @description Unauthorized */
@@ -6347,15 +6866,6 @@ interface paths {
6347
6866
  'application/json': components['schemas']['ErrorResponse'];
6348
6867
  };
6349
6868
  };
6350
- /** @description Forbidden */
6351
- 403: {
6352
- headers: {
6353
- [name: string]: unknown;
6354
- };
6355
- content: {
6356
- 'application/json': components['schemas']['ErrorResponse'];
6357
- };
6358
- };
6359
6869
  /** @description Not found */
6360
6870
  404: {
6361
6871
  headers: {
@@ -6365,15 +6875,6 @@ interface paths {
6365
6875
  'application/json': components['schemas']['ErrorResponse'];
6366
6876
  };
6367
6877
  };
6368
- /** @description Rate limited */
6369
- 429: {
6370
- headers: {
6371
- [name: string]: unknown;
6372
- };
6373
- content: {
6374
- 'application/json': components['schemas']['ErrorResponse'];
6375
- };
6376
- };
6377
6878
  };
6378
6879
  };
6379
6880
  put?: never;
@@ -6384,7 +6885,7 @@ interface paths {
6384
6885
  patch?: never;
6385
6886
  trace?: never;
6386
6887
  };
6387
- '/api/projects/{projectId}/deployments/{deploymentId}/versions/current/content': {
6888
+ '/api/projects/{projectId}/deployments/{deploymentId}/versions': {
6388
6889
  parameters: {
6389
6890
  query?: never;
6390
6891
  header?: never;
@@ -6392,12 +6893,15 @@ interface paths {
6392
6893
  cookie?: never;
6393
6894
  };
6394
6895
  /**
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.
6896
+ * List deployment versions
6897
+ * @description List the version history for a deployment, paginated. Requires member role.
6397
6898
  */
6398
6899
  get: {
6399
6900
  parameters: {
6400
- query?: never;
6901
+ query?: {
6902
+ limit?: number;
6903
+ offset?: number | null;
6904
+ };
6401
6905
  header?: never;
6402
6906
  path: {
6403
6907
  projectId: string;
@@ -6407,13 +6911,13 @@ interface paths {
6407
6911
  };
6408
6912
  requestBody?: never;
6409
6913
  responses: {
6410
- /** @description Deployed content (or a null baseline) */
6914
+ /** @description Version history */
6411
6915
  200: {
6412
6916
  headers: {
6413
6917
  [name: string]: unknown;
6414
6918
  };
6415
6919
  content: {
6416
- 'application/json': components['schemas']['DeployedContentResponse'];
6920
+ 'application/json': components['schemas']['ListDeploymentVersionsResponse'];
6417
6921
  };
6418
6922
  };
6419
6923
  /** @description Unauthorized */
@@ -6462,7 +6966,7 @@ interface paths {
6462
6966
  patch?: never;
6463
6967
  trace?: never;
6464
6968
  };
6465
- '/api/projects/{projectId}/deployments/{deploymentId}/heartbeats': {
6969
+ '/api/projects/{projectId}/deployments/{deploymentId}/versions/current/content': {
6466
6970
  parameters: {
6467
6971
  query?: never;
6468
6972
  header?: never;
@@ -6470,19 +6974,12 @@ interface paths {
6470
6974
  cookie?: never;
6471
6975
  };
6472
6976
  /**
6473
- * List deployment heartbeats
6474
- * @description List heartbeat records for a deployment with optional from/to time-range filtering and pagination. Requires member role.
6977
+ * Get current deployed content
6978
+ * @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
6979
  */
6476
6980
  get: {
6477
6981
  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
- };
6982
+ query?: never;
6486
6983
  header?: never;
6487
6984
  path: {
6488
6985
  projectId: string;
@@ -6492,13 +6989,13 @@ interface paths {
6492
6989
  };
6493
6990
  requestBody?: never;
6494
6991
  responses: {
6495
- /** @description Heartbeat history */
6992
+ /** @description Deployed content (or a null baseline) */
6496
6993
  200: {
6497
6994
  headers: {
6498
6995
  [name: string]: unknown;
6499
6996
  };
6500
6997
  content: {
6501
- 'application/json': components['schemas']['ListHeartbeatsResponse'];
6998
+ 'application/json': components['schemas']['DeployedContentResponse'];
6502
6999
  };
6503
7000
  };
6504
7001
  /** @description Unauthorized */
@@ -6528,6 +7025,15 @@ interface paths {
6528
7025
  'application/json': components['schemas']['ErrorResponse'];
6529
7026
  };
6530
7027
  };
7028
+ /** @description Rate limited */
7029
+ 429: {
7030
+ headers: {
7031
+ [name: string]: unknown;
7032
+ };
7033
+ content: {
7034
+ 'application/json': components['schemas']['ErrorResponse'];
7035
+ };
7036
+ };
6531
7037
  };
6532
7038
  };
6533
7039
  put?: never;
@@ -6538,22 +7044,27 @@ interface paths {
6538
7044
  patch?: never;
6539
7045
  trace?: never;
6540
7046
  };
6541
- '/api/projects/{projectId}/deployments/{deploymentId}/rotate-ingest-token': {
7047
+ '/api/projects/{projectId}/deployments/{deploymentId}/heartbeats': {
6542
7048
  parameters: {
6543
7049
  query?: never;
6544
7050
  header?: never;
6545
7051
  path?: never;
6546
7052
  cookie?: never;
6547
7053
  };
6548
- get?: never;
6549
- put?: never;
6550
7054
  /**
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.
7055
+ * List deployment heartbeats
7056
+ * @description List heartbeat records for a deployment with optional from/to time-range filtering and pagination. Requires member role.
6553
7057
  */
6554
- post: {
7058
+ get: {
6555
7059
  parameters: {
6556
- query?: never;
7060
+ query?: {
7061
+ /** @description ISO start of the time range. */
7062
+ from?: string;
7063
+ /** @description ISO end of the time range. */
7064
+ to?: string;
7065
+ limit?: number;
7066
+ offset?: number | null;
7067
+ };
6557
7068
  header?: never;
6558
7069
  path: {
6559
7070
  projectId: string;
@@ -6563,13 +7074,13 @@ interface paths {
6563
7074
  };
6564
7075
  requestBody?: never;
6565
7076
  responses: {
6566
- /** @description New ingest token */
7077
+ /** @description Heartbeat history */
6567
7078
  200: {
6568
7079
  headers: {
6569
7080
  [name: string]: unknown;
6570
7081
  };
6571
7082
  content: {
6572
- 'application/json': components['schemas']['RotateIngestTokenResponse'];
7083
+ 'application/json': components['schemas']['ListHeartbeatsResponse'];
6573
7084
  };
6574
7085
  };
6575
7086
  /** @description Unauthorized */
@@ -6601,13 +7112,15 @@ interface paths {
6601
7112
  };
6602
7113
  };
6603
7114
  };
7115
+ put?: never;
7116
+ post?: never;
6604
7117
  delete?: never;
6605
7118
  options?: never;
6606
7119
  head?: never;
6607
7120
  patch?: never;
6608
7121
  trace?: never;
6609
7122
  };
6610
- '/api/projects/{projectId}/deployments/{deploymentId}/trace': {
7123
+ '/api/projects/{projectId}/deployments/{deploymentId}/rotate-ingest-token': {
6611
7124
  parameters: {
6612
7125
  query?: never;
6613
7126
  header?: never;
@@ -6617,8 +7130,8 @@ interface paths {
6617
7130
  get?: never;
6618
7131
  put?: never;
6619
7132
  /**
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.
7133
+ * Rotate ingest token
7134
+ * @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
7135
  */
6623
7136
  post: {
6624
7137
  parameters: {
@@ -6630,28 +7143,15 @@ interface paths {
6630
7143
  };
6631
7144
  cookie?: never;
6632
7145
  };
6633
- requestBody?: {
6634
- content: {
6635
- 'application/json': components['schemas']['TraceDeploymentRequest'];
6636
- };
6637
- };
7146
+ requestBody?: never;
6638
7147
  responses: {
6639
- /** @description Updated trace window */
7148
+ /** @description New ingest token */
6640
7149
  200: {
6641
7150
  headers: {
6642
7151
  [name: string]: unknown;
6643
7152
  };
6644
7153
  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'];
7154
+ 'application/json': components['schemas']['RotateIngestTokenResponse'];
6655
7155
  };
6656
7156
  };
6657
7157
  /** @description Unauthorized */
@@ -8069,10 +8569,22 @@ interface components {
8069
8569
  * @enum {string}
8070
8570
  */
8071
8571
  platform: 'web' | 'server';
8072
- deploymentStatus: string | null;
8572
+ serving: components['schemas']['ServingStatus'];
8573
+ latestAttempt: components['schemas']['LatestAttemptStatus'];
8073
8574
  deploymentUrl: string | null;
8074
8575
  deployedAt: string | null;
8075
8576
  };
8577
+ /** @enum {string} */
8578
+ ServingStatus: 'live' | 'none';
8579
+ /** @enum {string|null} */
8580
+ LatestAttemptStatus:
8581
+ | 'idle'
8582
+ | 'deploying'
8583
+ | 'published'
8584
+ | 'active'
8585
+ | 'stopped'
8586
+ | 'failed'
8587
+ | null;
8076
8588
  Version: {
8077
8589
  /** @example 1 */
8078
8590
  version: number;
@@ -8130,6 +8642,106 @@ interface components {
8130
8642
  */
8131
8643
  createdAt: string;
8132
8644
  };
8645
+ DeleteAccountRequest: {
8646
+ /** @example me@example.com */
8647
+ confirm: string;
8648
+ };
8649
+ DeleteAccountBlocked: {
8650
+ error: {
8651
+ /**
8652
+ * @example SOLE_OWNER
8653
+ * @enum {string}
8654
+ */
8655
+ code: 'SOLE_OWNER';
8656
+ message: string;
8657
+ details: {
8658
+ /**
8659
+ * @example [
8660
+ * "proj_abc123"
8661
+ * ]
8662
+ */
8663
+ projects: string[];
8664
+ };
8665
+ };
8666
+ };
8667
+ AccountExportResponse: {
8668
+ /** @example 2026-06-10T12:00:00.000Z */
8669
+ exportedAt: string;
8670
+ profile: {
8671
+ /** @example user_a1b2c3d4 */
8672
+ id: string;
8673
+ /** @example me@example.com */
8674
+ email: string;
8675
+ displayName: string | null;
8676
+ createdAt: string;
8677
+ lastLoginAt: string | null;
8678
+ /** @example user */
8679
+ globalRole: string;
8680
+ traits: string[];
8681
+ };
8682
+ memberships: {
8683
+ projectId: string;
8684
+ projectName: string;
8685
+ role: string;
8686
+ joinedAt: string;
8687
+ }[];
8688
+ apiTokens: {
8689
+ id: string;
8690
+ name: string;
8691
+ projectId: string | null;
8692
+ origin: string;
8693
+ createdAt: string;
8694
+ lastUsedAt: string | null;
8695
+ expiresAt: string | null;
8696
+ revokedAt: string | null;
8697
+ }[];
8698
+ sessions: {
8699
+ id: string;
8700
+ createdAt: string;
8701
+ expiresAt: string;
8702
+ lastTouchedAt: string;
8703
+ }[];
8704
+ mcpTokens: {
8705
+ id: string;
8706
+ name: string;
8707
+ createdAt: string;
8708
+ lastUsedAt: string | null;
8709
+ expiresAt: string;
8710
+ revokedAt: string | null;
8711
+ }[];
8712
+ mcpSessions: {
8713
+ id: string;
8714
+ projectId: string | null;
8715
+ createdAt: string;
8716
+ lastActiveAt: string;
8717
+ expiresAt: string;
8718
+ messages: {
8719
+ seq: number;
8720
+ role: string;
8721
+ content?: unknown;
8722
+ createdAt: string;
8723
+ }[];
8724
+ }[];
8725
+ feedback: {
8726
+ id: string;
8727
+ projectId: string | null;
8728
+ text: string;
8729
+ source: string;
8730
+ createdAt: string;
8731
+ }[];
8732
+ invitations: {
8733
+ id: string;
8734
+ projectId: string;
8735
+ invitedEmail: string;
8736
+ role: string;
8737
+ status: string;
8738
+ createdAt: string;
8739
+ expiresAt: string;
8740
+ acceptedAt: string | null;
8741
+ declinedAt: string | null;
8742
+ cancelledAt: string | null;
8743
+ }[];
8744
+ };
8133
8745
  ApiTokenSummary: {
8134
8746
  /** @example tok_a1b2c3d4 */
8135
8747
  id: string;
@@ -8251,6 +8863,9 @@ interface components {
8251
8863
  createdAt: string;
8252
8864
  updatedAt: string | null;
8253
8865
  } | null;
8866
+ serving: components['schemas']['ServingStatus'];
8867
+ latestAttempt: components['schemas']['LatestAttemptStatus'];
8868
+ deployedAt: string | null;
8254
8869
  /**
8255
8870
  * Format: date-time
8256
8871
  * @example 2026-01-26T14:30:00.000Z
@@ -8327,6 +8942,7 @@ interface components {
8327
8942
  | 'active'
8328
8943
  | 'stopped'
8329
8944
  | 'failed';
8945
+ serving: components['schemas']['ServingStatus'];
8330
8946
  currentVersionNumber: number | null;
8331
8947
  url: string | null;
8332
8948
  /** @example flow_a1b2c3d4 */
@@ -8336,8 +8952,6 @@ interface components {
8336
8952
  createdAt: string;
8337
8953
  /** Format: date-time */
8338
8954
  updatedAt: string;
8339
- /** Format: date-time */
8340
- traceUntil: string | null;
8341
8955
  usageSummary?: {
8342
8956
  eventsIn24h: number;
8343
8957
  healthy: boolean;
@@ -8383,8 +8997,6 @@ interface components {
8383
8997
  healthy: boolean;
8384
8998
  } | null;
8385
8999
  /** Format: date-time */
8386
- traceUntil: string | null;
8387
- /** Format: date-time */
8388
9000
  createdAt: string;
8389
9001
  /** Format: date-time */
8390
9002
  updatedAt: string;
@@ -8453,6 +9065,7 @@ interface components {
8453
9065
  | 'active'
8454
9066
  | 'stopped'
8455
9067
  | 'failed';
9068
+ serving: components['schemas']['ServingStatus'];
8456
9069
  currentVersionNumber: number | null;
8457
9070
  url: string | null;
8458
9071
  /** @example flow_a1b2c3d4 */
@@ -8462,13 +9075,51 @@ interface components {
8462
9075
  createdAt: string;
8463
9076
  /** Format: date-time */
8464
9077
  updatedAt: string;
8465
- /** Format: date-time */
8466
- traceUntil: string | null;
8467
9078
  usageSummary?: {
8468
9079
  eventsIn24h: number;
8469
9080
  healthy: boolean;
8470
9081
  };
8471
9082
  };
9083
+ StartDeploymentResponse:
9084
+ | {
9085
+ /** @example dep_a1b2c3d4 */
9086
+ deploymentId: string;
9087
+ /** @example k7m2x9p4q1w8 */
9088
+ slug: string;
9089
+ target: string | null;
9090
+ /**
9091
+ * @example web
9092
+ * @enum {string}
9093
+ */
9094
+ type: 'web' | 'server';
9095
+ /** @enum {string} */
9096
+ status: 'deploying';
9097
+ settingsId?: string;
9098
+ versionId: string;
9099
+ versionNumber: number;
9100
+ }
9101
+ | {
9102
+ deploymentId: string;
9103
+ /** @enum {string} */
9104
+ status: 'already_created';
9105
+ };
9106
+ DeploymentStreamStatusEvent: {
9107
+ status: string;
9108
+ substatus: string | null;
9109
+ /**
9110
+ * @example web
9111
+ * @enum {string}
9112
+ */
9113
+ type: 'web' | 'server';
9114
+ target: string | null;
9115
+ containerUrl: string | null;
9116
+ errorCode: string | null;
9117
+ errorMessage: string | null;
9118
+ /** Format: date-time */
9119
+ createdAt: string;
9120
+ /** Format: date-time */
9121
+ updatedAt: string;
9122
+ };
8472
9123
  ListDeploymentsResponse: {
8473
9124
  deployments: components['schemas']['DeploymentSummary'][];
8474
9125
  total: number;
@@ -8611,6 +9262,37 @@ interface components {
8611
9262
  deploymentVersionId: string;
8612
9263
  };
8613
9264
  };
9265
+ ObserveSessionResponse: {
9266
+ /** @example ses_abc123xyz456 */
9267
+ id: string;
9268
+ projectId: string;
9269
+ /** @example flow_a1b2c3d4 */
9270
+ flowId: string;
9271
+ status: string;
9272
+ errorMessage: string | null;
9273
+ configSnapshot: {
9274
+ [key: string]: unknown;
9275
+ };
9276
+ serverFlowName: string | null;
9277
+ serverEndpoint: string | null;
9278
+ web: components['schemas']['ObserveSessionWeb'];
9279
+ createdBy: string;
9280
+ /** Format: date-time */
9281
+ createdAt: string;
9282
+ };
9283
+ ObserveSessionWeb: {
9284
+ token: string;
9285
+ activationUrl: string;
9286
+ /** Format: uri */
9287
+ bundleUrl: string;
9288
+ } | null;
9289
+ CreateObserveSessionRequest: {
9290
+ settingsName: string;
9291
+ };
9292
+ ObserveSessionHeartbeatResponse: {
9293
+ /** @enum {boolean} */
9294
+ ok: true;
9295
+ };
8614
9296
  SecretName: string;
8615
9297
  CreateSecretRequest: {
8616
9298
  name: string;
@@ -9049,14 +9731,6 @@ interface components {
9049
9731
  RotateIngestTokenResponse: {
9050
9732
  ingestToken: string;
9051
9733
  };
9052
- TraceDeploymentRequest: {
9053
- minutes?: number;
9054
- };
9055
- TraceDeploymentResponse: {
9056
- /** Format: date-time */
9057
- traceUntil: string | null;
9058
- minutes: number;
9059
- };
9060
9734
  DeploymentUsageResponse: {
9061
9735
  totalEventsIn: number;
9062
9736
  totalEventsOut: number;
@@ -9441,12 +10115,6 @@ interface components {
9441
10115
  /** Format: date-time */
9442
10116
  updatedAt: string;
9443
10117
  } | null;
9444
- StartDeploymentResponse: {
9445
- deploymentId: string;
9446
- /** @enum {string} */
9447
- type: 'web' | 'server';
9448
- status: string;
9449
- };
9450
10118
  ListSettingsResponse: {
9451
10119
  settings: components['schemas']['FlowSettingsSummary'][];
9452
10120
  };
@@ -9663,7 +10331,8 @@ declare function listFlows(options?: ListFlowsOptions): Promise<{
9663
10331
  id: string;
9664
10332
  name: string;
9665
10333
  platform: "web" | "server";
9666
- deploymentStatus: string | null;
10334
+ serving: components["schemas"]["ServingStatus"];
10335
+ latestAttempt: components["schemas"]["LatestAttemptStatus"];
9667
10336
  deploymentUrl: string | null;
9668
10337
  deployedAt: string | null;
9669
10338
  }[] | undefined;
@@ -9714,6 +10383,9 @@ declare function getFlow(options: {
9714
10383
  createdAt: string;
9715
10384
  updatedAt: string | null;
9716
10385
  } | null;
10386
+ serving: components["schemas"]["ServingStatus"];
10387
+ latestAttempt: components["schemas"]["LatestAttemptStatus"];
10388
+ deployedAt: string | null;
9717
10389
  createdAt: string;
9718
10390
  updatedAt: string;
9719
10391
  }[] | undefined;
@@ -9864,7 +10536,44 @@ interface DeployOptions {
9864
10536
  signal?: AbortSignal;
9865
10537
  onStatus?: (status: string, substatus: string | null) => void;
9866
10538
  }
9867
- declare function deploy(options: DeployOptions): Promise<any>;
10539
+ declare function deploy(options: DeployOptions): Promise<{
10540
+ deploymentId: string;
10541
+ settingsId: string;
10542
+ status: string;
10543
+ } | {
10544
+ deploymentId: string;
10545
+ slug: string;
10546
+ target: string | null;
10547
+ type: "web" | "server";
10548
+ status: "deploying";
10549
+ settingsId?: string | undefined;
10550
+ versionId: string;
10551
+ versionNumber: number;
10552
+ } | {
10553
+ deploymentId: string;
10554
+ status: "already_created";
10555
+ } | {
10556
+ status: string;
10557
+ substatus?: string | null;
10558
+ type: string;
10559
+ containerUrl?: string | null;
10560
+ publicUrl?: string | null;
10561
+ errorMessage?: string | null;
10562
+ deploymentId: string;
10563
+ slug: string;
10564
+ target: string | null;
10565
+ settingsId?: string | undefined;
10566
+ versionId: string;
10567
+ versionNumber: number;
10568
+ } | {
10569
+ status: string;
10570
+ substatus?: string | null;
10571
+ type?: string;
10572
+ containerUrl?: string | null;
10573
+ publicUrl?: string | null;
10574
+ errorMessage?: string | null;
10575
+ deploymentId: string;
10576
+ }>;
9868
10577
  declare function getDeployment(options: {
9869
10578
  flowId: string;
9870
10579
  projectId?: string;
@@ -9985,6 +10694,28 @@ declare function telemetryEnableCommand(): void;
9985
10694
  */
9986
10695
  declare function telemetryDisableCommand(): void;
9987
10696
 
10697
+ /**
10698
+ * Check if a config value contains code markers that require esbuild compilation.
10699
+ * Returns true if the value (or any nested value) contains:
10700
+ * - $code: prefix (raw JS expression)
10701
+ * - $store. prefix (JS variable reference)
10702
+ * - __WALKEROS_ENV: prefix (process.env expression)
10703
+ * - __WALKEROS_SECRET: prefix (guarded process.env read for a deferred secret)
10704
+ */
10705
+ declare function containsCodeMarkers(value: unknown): boolean;
10706
+ /**
10707
+ * Split a step's properties into code-layer (for esbuild) and data-layer (post-build).
10708
+ *
10709
+ * Code layer: 'code' key always, plus any property containing code markers
10710
+ * Data layer: plain JSON values (settings, mappings, chains, etc.)
10711
+ *
10712
+ * Not applicable to InlineCode steps — those go entirely to the code layer.
10713
+ */
10714
+ declare function classifyStepProperties(step: Record<string, unknown>): {
10715
+ codeProps: Record<string, unknown>;
10716
+ dataProps: Record<string, unknown>;
10717
+ };
10718
+
9988
10719
  /**
9989
10720
  * Pure structural validation of a flow config — the exact checks the bundler
9990
10721
  * runs at codegen time, BEFORE any esbuild compile or package/archive fetch.
@@ -10167,6 +10898,9 @@ interface ApiErrorDetail {
10167
10898
  interface ApiErrorOptions {
10168
10899
  code?: string;
10169
10900
  details?: ApiErrorDetail[];
10901
+ status?: number;
10902
+ retryable?: boolean;
10903
+ retryAfterSeconds?: number;
10170
10904
  minVersion?: string;
10171
10905
  clientVersion?: string;
10172
10906
  client?: string;
@@ -10176,6 +10910,9 @@ interface ApiErrorOptions {
10176
10910
  declare class ApiError extends Error {
10177
10911
  code?: string;
10178
10912
  details?: ApiErrorDetail[];
10913
+ status?: number;
10914
+ retryable?: boolean;
10915
+ retryAfterSeconds?: number;
10179
10916
  minVersion?: string;
10180
10917
  clientVersion?: string;
10181
10918
  client?: string;
@@ -10185,7 +10922,6 @@ declare class ApiError extends Error {
10185
10922
  }
10186
10923
  /**
10187
10924
  * Extract structured error from an openapi-fetch error response and throw.
10188
- * The error shape is: { error: { code, message, details: { errors: [] } } }
10189
10925
  *
10190
10926
  * For `code === 'CLIENT_OUTDATED'` (HTTP 426), also extracts the upgrade
10191
10927
  * metadata: `minVersion`, `clientVersion`, `client`, `upgrade`, `docs`.
@@ -10590,4 +11326,4 @@ declare module '@walkeros/core' {
10590
11326
  }
10591
11327
  }
10592
11328
 
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 };
11329
+ 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 };