@botmanor/fe-sdk 2026.1205.2 → 2026.1205.4

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.
@@ -0,0 +1,386 @@
1
+
2
+ /**
3
+ * Guided errors (BOFF-18785): every error a person can hit while using
4
+ * Stewards says what happened, why, and what to do next, with a button when
5
+ * the fix is possible from where they are and the name of who can fix it when
6
+ * it is not.
7
+ *
8
+ * The contract between the services and the clients is the Stewards guided
9
+ * error catalog. A server error carries `extensions.reason` (a stable
10
+ * UPPER_SNAKE code) once the services send it; until then the client falls
11
+ * back to `extensions.i18nKey`, then to `extensions.code`. Run failures carry
12
+ * `failure.code` on the run, or only `stopReason` on older services.
13
+ *
14
+ * This module is pure data and functions: no React, no router, no fetch.
15
+ */
16
+ /** Every guided reason the clients know. */
17
+ type GuidedReason = "AGENT_NOT_ACTIVE" | "STEWARD_NOT_ACTIVE" | "STEWARD_ARCHIVED" | "STEWARD_STATUS_CHANGED" | "AGENT_UNAVAILABLE" | "STEWARD_AGENT_NOT_USABLE" | "AGENT_ALREADY_STEWARD" | "AGENT_NEEDS_MODEL" | "AGENT_APPROVAL_REQUIRED" | "ACTIVATION_ALREADY_PENDING" | "ACTIVATION_SELF_REVIEW" | "ACTIVATION_REQUEST_STALE" | "ACTIVATION_ONLY_REQUESTER" | "ACTIVATION_REQUEST_CLOSED" | "ACTIVATION_AGENT_ARCHIVED" | "STEWARD_RUNS_USED_UP" | "DESK_MINUTES_USED_UP" | "DESK_MINUTES_NOT_IN_PLAN" | "AI_CREDITS_USED_UP" | "STEWARD_BUDGET_USED_UP" | "STEP_LIMIT_REACHED" | "PLAN_LIMIT_REACHED" | "MODEL_NOT_SET_UP" | "MODEL_CALL_FAILED" | "CHARTER_MODEL_NOT_USABLE" | "MODEL_PROVIDER_TEST_FAILED" | "TOOL_FAILED" | "ACTION_RESULT_UNKNOWN" | "ACTION_NOT_APPROVED" | "NEEDS_A_PERSON" | "APPROVAL_SCOPE_NOT_ALLOWED" | "APPROVAL_PURPOSE_REQUIRED" | "APPROVAL_OWN_REQUEST" | "APPROVAL_NOT_APPROVER" | "APPROVAL_ALREADY_DECIDED" | "DELEGATION_REVOKED" | "CLOUD_DESK_BUSY_OR_UNAVAILABLE" | "CLOUD_DESK_LIMIT_REACHED" | "CLOUD_DESK_TEMPLATE_NOT_ALLOWED" | "OWN_MACHINE_NOT_GRANTED" | "OWN_MACHINE_OFFLINE" | "OWN_MACHINE_OWNER_ONLY" | "OWN_MACHINE_NOT_USABLE" | "OWN_MACHINE_IN_USE" | "OWN_MACHINE_TRY_AGAIN" | "DESK_ACTION_BLOCKED" | "DESK_SIGN_IN_LOST" | "FIELD_INVALID" | "STALE_EDIT" | "OWNER_ONLY" | "WORKSPACE_LIMIT_SETTING" | "DUTY_LIMIT_REACHED" | "DUTY_ARCHIVED" | "DUTY_WEBHOOK_TOKEN_INVALID" | "DUTY_SCHEDULE_NOT_SAVED" | "DUTY_NOT_A_PROPOSAL" | "DUTY_FIRE_NOT_ALLOWED" | "MEMORY_KEY_TAKEN" | "MEMORY_LIMIT_REACHED" | "MEMORY_OUTCOME_NOT_READY" | "MEMORY_NOT_FOUND" | "PLAYBOOK_NOT_ACTIVE" | "PLAYBOOK_NEEDS_RECORDING" | "PLAYBOOK_LIMIT_REACHED" | "PLAYBOOK_ARCHIVED" | "RUN_ALREADY_ENDED" | "PERMISSION_DENIED" | "PERMISSION_CHECK_UNAVAILABLE" | "SESSION_ENDED" | "WORKSPACE_REQUIRED" | "NOT_FOUND" | "SERVICE_TROUBLE" | "RUN_FAILED" | "UNKNOWN";
18
+ /**
19
+ * Logical places an action can send a person. Servers never send routes: the
20
+ * client resolves a target to a route for the shell it runs in.
21
+ */
22
+ type GuidedTarget = "STEWARD_LIST" | "STEWARD_NEW" | "STEWARD" | "STEWARD_CHARTER" | "STEWARD_DUTIES" | "STEWARD_MEMORY" | "STEWARD_PLAYBOOKS" | "STEWARD_DAYBOOK" | "STEWARD_RUN" | "TOOL_APPROVALS" | "AGENT" | "AGENT_EDIT" | "AGENT_APPROVALS" | "MODEL_SETTINGS" | "POLICIES" | "A2A" | "CONNECTIONS" | "INTEGRATIONS" | "STEWARD_WORKSPACE_CONTROLS" | "BILLING_PLANS" | "RBAC" | "SANDBOX" | "SANDBOX_ADMIN" | "VIBECONTROLS";
23
+ /** Inline fixes a surface may be able to run, then retry the original operation. */
24
+ type GuidedMutation =
25
+ /** `updateBotmanorAgent(agentId, { status: ACTIVE })`: publish or resume the agent. */
26
+ "PUBLISH_AGENT" |
27
+ /** `requestBotmanorAgentActivation(agentId)`. */
28
+ "REQUEST_AGENT_ACTIVATION" |
29
+ /** `setBotmanorStewardStatus(stewardId, ACTIVE)`. */
30
+ "ACTIVATE_STEWARD" |
31
+ /** `runBotmanorSteward` for the same steward (a person starts it). */
32
+ "RUN_STEWARD" |
33
+ /** `rotateBotmanorStewardDutyToken(dutyId)`. */
34
+ "ROTATE_DUTY_TOKEN" |
35
+ /** `setBotmanorStewardPlaybookStatus(playbookId, ACTIVE)`. */
36
+ "ACTIVATE_PLAYBOOK" |
37
+ /** `setBotmanorStewardDutyStatus(dutyId, ACTIVE)`. */
38
+ "RESUME_DUTY" |
39
+ /** Decide the tool approval with a narrower scope (ONCE or RUN). */
40
+ "APPROVE_NARROWER" |
41
+ /** Grant (or update the grant of) the viewer's own machine to the steward. */
42
+ "SHARE_MACHINE" |
43
+ /** Revoke the machine's current grant. */
44
+ "REVOKE_MACHINE_GRANT" |
45
+ /** Open the wizard's create-agent mode. */
46
+ "CREATE_AGENT";
47
+ type GuidedActionKind = "navigate" | "mutation" | "upgrade" | "ask-admin" | "retry" | "none";
48
+ /** One thing a person can do about an error. */
49
+ interface GuidedAction {
50
+ /** Stable id; its label key is `guidedErrors.actions.<id>`. */
51
+ id: string;
52
+ kind: GuidedActionKind;
53
+ /** English label (the fallback for `guidedErrors.actions.<id>`). */
54
+ label: string;
55
+ target?: GuidedTarget;
56
+ /** Section of the target page, for example `budget` on the charter. */
57
+ anchor?: string;
58
+ mutation?: GuidedMutation;
59
+ /**
60
+ * The permission needed to offer the action. Without it the action becomes
61
+ * the `askAdmin` text (or is dropped when there is none).
62
+ */
63
+ permission?: string;
64
+ /** "Who can fix it" text shown in place of the action when the viewer lacks `permission`. */
65
+ askAdmin?: {
66
+ id: string;
67
+ text: string;
68
+ };
69
+ /**
70
+ * Only the named actor may act (the steward's owner, the machine's owner).
71
+ * The action is offered when the viewer is that actor or holds `permission`.
72
+ */
73
+ ownerParam?: "ownerActorId" | "machineOwnerActorId";
74
+ }
75
+ /** The guidance for one error. */
76
+ interface GuidedError {
77
+ reason: GuidedReason;
78
+ variant?: string;
79
+ /**
80
+ * i18n base key: `guidedErrors.<reasonCamel>` or
81
+ * `guidedErrors.<reasonCamel>.<variant>`. `.title`, `.cause` and `.next`
82
+ * sit under it.
83
+ */
84
+ i18nKey: string;
85
+ title: string;
86
+ cause: string;
87
+ next: string;
88
+ actions: GuidedAction[];
89
+ /** Values for `{{name}}` placeholders, from the error and its context. */
90
+ params: Record<string, string | number>;
91
+ /** The original GraphQL `extensions.code` (or transport code), when known. */
92
+ code?: string;
93
+ /** The server's own (localised, redacted) message, shown when nothing else fits. */
94
+ serverMessage?: string;
95
+ /** The gateway's trace id, for "Copy details". */
96
+ traceId?: string;
97
+ /** For FIELD_INVALID: the input field the error names. */
98
+ field?: string;
99
+ /** `retryAfter` in seconds, when the server sent one. */
100
+ retryAfterSeconds?: number;
101
+ }
102
+ /** The parts of an error the catalog reads. */
103
+ interface GuidedErrorSource {
104
+ code?: string;
105
+ message?: string;
106
+ extensions?: Readonly<Record<string, unknown>>;
107
+ }
108
+ /**
109
+ * What the surface already knows about the record the error is about. Used
110
+ * when the server does not send the context extensions yet (older services),
111
+ * so guidance still picks the right variant.
112
+ */
113
+ interface GuidedErrorContext {
114
+ stewardId?: string;
115
+ stewardStatus?: string;
116
+ ownerActorId?: string;
117
+ runId?: string;
118
+ agent?: {
119
+ id: string;
120
+ status?: string | null;
121
+ llmModelId?: string | null;
122
+ } | null;
123
+ }
124
+ /** A run's structured failure (`BotmanorStewardRun.failure`), when the service exposes it. */
125
+ interface GuidedRunFailure {
126
+ code: string;
127
+ message?: string | null;
128
+ agentId?: string | null;
129
+ toolKey?: string | null;
130
+ connectionId?: string | null;
131
+ machineId?: string | null;
132
+ budgetLevel?: string | null;
133
+ budgetKey?: string | null;
134
+ budgetCap?: number | null;
135
+ stepCode?: string | null;
136
+ }
137
+ /** The parts of a run the run-failure guidance reads. */
138
+ interface GuidedRunSource {
139
+ id?: string;
140
+ stewardId?: string;
141
+ status: string;
142
+ stopReason?: string | null;
143
+ failure?: GuidedRunFailure | null;
144
+ /**
145
+ * The steward's desk kind. A desk step refused for a cloud desk's limit or
146
+ * pool reports `DESK_OFFLINE` too, so the desk kind picks cloud-desk
147
+ * guidance over own-machine guidance.
148
+ */
149
+ deskKind?: string | null;
150
+ /** How many steps the run took; more than `steps` holds means the list is cut. */
151
+ stepCount?: number | null;
152
+ steps?: ReadonlyArray<{
153
+ verdict?: string | null;
154
+ verdictReasons?: ReadonlyArray<string> | null;
155
+ toolKey?: string | null;
156
+ }> | null;
157
+ }
158
+ /**
159
+ * The catalog's English copy and actions, keyed by `<reasonCamel>` or
160
+ * `<reasonCamel>.<variant>` (the i18n key without its `guidedErrors.` prefix).
161
+ * Copy rules: no raw enum values, no blame, one next step per sentence,
162
+ * product-neutral unless the action really goes to a named product.
163
+ */
164
+ interface GuidedEntry {
165
+ title: string;
166
+ cause: string;
167
+ next: string;
168
+ actions: GuidedAction[];
169
+ }
170
+ declare const GUIDED_ENTRIES: Readonly<Record<string, GuidedEntry>>;
171
+ /**
172
+ * Run stop-reason and status labels (catalog section J), in place of raw
173
+ * codes on run pages, headers, daybooks and notifications.
174
+ */
175
+ declare const STOP_REASON_LABELS: Readonly<Record<string, string>>;
176
+ /** Readable labels for agent statuses inside sentences ("still a draft"). */
177
+ declare const AGENT_STATUS_LABELS: Readonly<Record<string, string>>;
178
+ /** Short agent status labels for pickers and headers ("Agent: draft"). */
179
+ declare const AGENT_STATUS_SHORT_LABELS: Readonly<Record<string, string>>;
180
+ /** `AGENT_NOT_ACTIVE` → `agentNotActive`. */
181
+ declare function reasonCamel(reason: string): string;
182
+ interface Resolved {
183
+ reason: GuidedReason;
184
+ variant?: string;
185
+ params: Record<string, string | number>;
186
+ }
187
+ /** The i18n base for a reason: `guidedErrors.<base>`. */
188
+ declare function guidedI18nBase(reason: GuidedReason): string;
189
+ /** Builds the guidance for a resolved reason, variant and parameters. */
190
+ declare function buildGuidedError(resolved: Resolved, extra?: Partial<GuidedError>): GuidedError;
191
+ /**
192
+ * The guidance for any error a Stewards surface holds: what happened, why,
193
+ * what to do next, and the actions that fix it.
194
+ *
195
+ * Works against older services: the client branches on `extensions.reason`
196
+ * first, then on `extensions.i18nKey`, then on `extensions.code`, and fills in
197
+ * what the service does not send yet (the agent's status, its model) from
198
+ * `context`, the data the surface already has.
199
+ */
200
+ declare function describeGuidedError(error: unknown, context?: GuidedErrorContext): GuidedError | undefined;
201
+ /**
202
+ * Whether a failed write lost a race (the approval was already decided, the
203
+ * run already ended): its "Refresh" reloads the data and never repeats the write.
204
+ */
205
+ declare function isStaleStateError(error: unknown): boolean;
206
+ /**
207
+ * Whether a failed write was refused before it did anything, so submitting it
208
+ * again (after its fix) cannot do the work twice. A lost answer (network,
209
+ * gateway, unknown error) is not: the write may have happened.
210
+ */
211
+ declare function isDefiniteRefusal(error: unknown): boolean;
212
+ /**
213
+ * Reads the code, message and extensions of any error a Stewards surface can
214
+ * hold, without depending on the client that produced it:
215
+ *
216
+ * - the SDK's `StewardsRequestError` (`code`, `extensions`);
217
+ * - Apollo Client 4 `CombinedGraphQLErrors` (`errors[]`) and Apollo 3
218
+ * `ApolloError` (`graphQLErrors[]`): the first GraphQL error;
219
+ * - Apollo Client 4 `ServerError` (`bodyText`, `statusCode`): the gateway's
220
+ * HTTP 403 or 5xx answers carry a GraphQL body there;
221
+ * - a bare GraphQL error object (`message`, `extensions`);
222
+ * - any other `Error`: its message only.
223
+ */
224
+ declare function extractGuidedSource(error: unknown): GuidedErrorSource | undefined;
225
+ /**
226
+ * Permissions the guided actions need (catalog section 1.5 and assumption 6).
227
+ * They mirror the `@rbac` pairs on the GraphQL fields each action calls; the
228
+ * client hides what the gateway would refuse, and the gateway stays the only
229
+ * enforcement point.
230
+ */
231
+ declare const GUIDED_PERMISSIONS: {
232
+ readonly STEWARD_READ: "botmanor-steward:read";
233
+ readonly STEWARD_CREATE: "botmanor-steward:create";
234
+ readonly STEWARD_UPDATE: "botmanor-steward:update";
235
+ readonly STEWARD_EXECUTE: "botmanor-steward:execute";
236
+ readonly STEWARD_MANAGE: "botmanor-steward:manage";
237
+ readonly AGENT_READ: "botmanor-agent:read";
238
+ readonly AGENT_CREATE: "botmanor-agent:create";
239
+ readonly AGENT_UPDATE: "botmanor-agent:update";
240
+ readonly AGENT_APPROVE: "botmanor-agent:approve";
241
+ readonly LLM_UPDATE: "botmanor-llm:update";
242
+ readonly POLICY_READ: "botmanor-policy:read";
243
+ readonly SANDBOX_ADMIN: "sandbox:admin";
244
+ readonly MACHINE_UPDATE: "agent:update";
245
+ readonly RBAC_MANAGE: "rbac:manage";
246
+ };
247
+ type GuidedPermission = (typeof GUIDED_PERMISSIONS)[keyof typeof GUIDED_PERMISSIONS];
248
+ /** Readable labels for `PERMISSION_DENIED` ("Ask a workspace admin for permission to …"). */
249
+ declare const PERMISSION_LABELS: Readonly<Record<string, string>>;
250
+ /** `guidedErrors.permissions.<resource>.<action>` for a `resource:action` permission. */
251
+ declare function permissionLabelKey(permission: string): string;
252
+ /**
253
+ * Where a logical target lives (catalog section 1.4). Pure: the shell turns a
254
+ * `route` into a link inside itself and a `cross-shell` location into
255
+ * `<product app URL> + path` with its normal SSO hand-off.
256
+ */
257
+ type GuidedLocation = {
258
+ kind: "route";
259
+ path: string;
260
+ } | {
261
+ kind: "cross-shell";
262
+ product: "botmanor" | "vibecontrols" | "workspaces";
263
+ path: string;
264
+ } |
265
+ /** A ready address from a host resolver: a path in the host or an absolute URL. */
266
+ {
267
+ kind: "href";
268
+ href: string;
269
+ };
270
+ /** The shell a surface runs in, for routing. */
271
+ interface GuidedShell {
272
+ /**
273
+ * `botmanor` is app.botmanor.com (microfe-stewards, microfe-botmanor);
274
+ * `other` is every shell that mounts the shared Stewards page, FluidGrids
275
+ * included.
276
+ */
277
+ kind: "botmanor" | "other";
278
+ /** Where the shared Stewards page is mounted in an `other` shell. Default `/stewards`. */
279
+ stewardsBasePath?: string;
280
+ /** Where the steward builder lives when the shell has its own (FluidGrids `/workflows/stewards/build`). */
281
+ stewardBuilderPath?: string;
282
+ /** Whether the shell mounts `/integrations` (else Workspaces is linked). */
283
+ hasIntegrations?: boolean;
284
+ /** Whether the shell mounts the Sandbox app at `/sandbox` (else Workspaces is linked). */
285
+ hasSandbox?: boolean;
286
+ }
287
+ interface GuidedTargetParams {
288
+ stewardId?: string;
289
+ agentId?: string;
290
+ runId?: string;
291
+ anchor?: string;
292
+ }
293
+ /** BotManor's own address for a target, or `undefined` when an id it needs is missing. */
294
+ declare function botmanorPath(target: GuidedTarget, params?: GuidedTargetParams): string | undefined;
295
+ /**
296
+ * Where a target lives for the shell the surface runs in, or `undefined` when
297
+ * it has no page (the action then becomes "ask an admin", or is dropped).
298
+ */
299
+ declare function resolveGuidedLocation(target: GuidedTarget, params: GuidedTargetParams, shell: GuidedShell): GuidedLocation | undefined;
300
+ /** BotManor's production app shell, the cross-shell fallback when a host gives no resolver. */
301
+ declare const DEFAULT_BOTMANOR_APP_URL = "https://app.botmanor.com";
302
+ /** An absolute URL for a cross-shell location, given the product's app URL. */
303
+ declare function crossShellUrl(appUrl: string, path: string): string;
304
+ /**
305
+ * Translate a key with an English fallback and `{{name}}` parameters, the
306
+ * fe-libs `useTr` shape. A translator that does not know the key returns the
307
+ * key itself (or an empty string); the fallback is used then.
308
+ */
309
+ type GuidedTranslate = (key: string, fallback: string, params?: Readonly<Record<string, string | number>>) => string;
310
+ /** Fills `{{name}}` placeholders; an unknown name is left as written. */
311
+ declare function fillGuidedParams(text: string, params?: Readonly<Record<string, string | number>>): string;
312
+ /** English only: the catalog's own copy with its parameters filled. */
313
+ declare const englishGuidedTranslate: GuidedTranslate;
314
+ /** Wraps a host translator so an unknown key reads as the English fallback. */
315
+ declare function guidedTranslateFrom(t: ((key: string) => string) | undefined): GuidedTranslate;
316
+ /** The guidance's parameters with defaults and any the host resolved (display names). */
317
+ declare function guidedParams(guided: GuidedError, extra?: Readonly<Record<string, string | number | undefined>>): Record<string, string | number>;
318
+ /** Title, cause and next step, translated (`<i18nKey>.title|cause|next`). */
319
+ declare function guidedText(guided: GuidedError, t?: GuidedTranslate, extra?: Readonly<Record<string, string | number | undefined>>): {
320
+ title: string;
321
+ cause: string;
322
+ next: string;
323
+ };
324
+ /** What a surface can do, for {@link planGuidedActions}. */
325
+ interface GuidedEnvironment {
326
+ /**
327
+ * Whether the viewer holds a permission. `undefined` means not known here
328
+ * (no permission provider): the action is offered and the gateway decides.
329
+ */
330
+ hasPermission?: (permission: string) => boolean | undefined;
331
+ /** The viewer's actor id, for actions only a named owner may take. */
332
+ viewerActorId?: string | null;
333
+ /** Inline fixes this surface can run. Others fall back to their target, or are dropped. */
334
+ mutations?: ReadonlySet<GuidedMutation>;
335
+ /** The shell, for routing targets. */
336
+ shell: GuidedShell;
337
+ /**
338
+ * Overrides `shell` routing: where a target lives, or `undefined` when this
339
+ * surface cannot reach it (the action then becomes "ask an admin").
340
+ */
341
+ locate?: (target: GuidedTarget, params: GuidedTargetParams) => GuidedLocation | undefined;
342
+ /** Whether a retry is possible here (the surface passed a retry handler). */
343
+ canRetry?: boolean;
344
+ /** Whether an upgrade can be offered here. Default true. */
345
+ canUpgrade?: boolean;
346
+ t?: GuidedTranslate;
347
+ /** Parameters the host resolved, such as `ownerName` and `machineOwner` display names. */
348
+ extraParams?: Readonly<Record<string, string | number | undefined>>;
349
+ }
350
+ /** An action the surface shows as a button or link. */
351
+ interface PlannedGuidedAction {
352
+ action: GuidedAction;
353
+ label: string;
354
+ /** For `navigate` (and `upgrade` when the host has no dialog). */
355
+ location?: GuidedLocation;
356
+ }
357
+ interface GuidedPlan {
358
+ /** At most two: the first is the primary action. */
359
+ actions: PlannedGuidedAction[];
360
+ /** "Who can fix it" lines, for actions the viewer cannot take. */
361
+ askAdmin: string[];
362
+ }
363
+ /**
364
+ * The actions to show for an error on this surface: permission-gated
365
+ * (catalog section 1.5), limited to what the surface can run or reach, at
366
+ * most two, with "who can fix it" text for the rest.
367
+ */
368
+ declare function planGuidedActions(guided: GuidedError, env: GuidedEnvironment): GuidedPlan;
369
+ /**
370
+ * A step reason as a code: `MODEL_AUTH_FAILED` as it is, and the
371
+ * `<kind>:error:<code>` form older services store (`model:error:model_auth_failed`)
372
+ * by its last part.
373
+ */
374
+ declare function stepReasonCode(reason: string): string | undefined;
375
+ /**
376
+ * The guidance for a run that ended without finishing (failed, stopped or
377
+ * paused on budget), or `undefined` for a run that is fine or whose stop needs
378
+ * no guidance (cancelled by its owner, say).
379
+ *
380
+ * Reads `run.failure` (catalog section 1.2) when the service exposes it, and
381
+ * falls back to `stopReason` and the failed steps' codes on older services.
382
+ */
383
+ declare function describeRunFailure(run: GuidedRunSource): GuidedError | undefined;
384
+ /** A readable label for a run's stop reason (catalog section J), never the raw code. */
385
+ declare function stopReasonLabel(stopReason: string | null | undefined): string | undefined;
386
+ export { isStaleStateError as A, GuidedErrorContext as B, PERMISSION_LABELS as C, describeGuidedError as D, buildGuidedError as E, GuidedEntry as F, GuidedRunSource as G, GuidedMutation as H, STOP_REASON_LABELS as I, GuidedTarget as K, GuidedAction as L, AGENT_STATUS_LABELS as M, AGENT_STATUS_SHORT_LABELS as N, guidedI18nBase as O, GUIDED_ENTRIES as P, GuidedActionKind as R, GuidedPermission as S, extractGuidedSource as T, GuidedReason as U, GuidedErrorSource as V, GuidedRunFailure as W, GuidedTargetParams as _, GuidedPlan as a, resolveGuidedLocation as b, englishGuidedTranslate as c, guidedText as d, guidedTranslateFrom as f, GuidedShell as g, GuidedLocation as h, GuidedEnvironment as i, reasonCamel as j, isDefiniteRefusal as k, fillGuidedParams as l, DEFAULT_BOTMANOR_APP_URL as m, stepReasonCode as n, GuidedTranslate as o, planGuidedActions as p, stopReasonLabel as r, PlannedGuidedAction as s, describeRunFailure as t, guidedParams as u, botmanorPath as v, permissionLabelKey as w, GUIDED_PERMISSIONS as x, crossShellUrl as y, GuidedError as z };