@pipelex/sdk 0.38.0 → 0.40.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/README.md +3 -2
  2. package/dist/bundle-resources.d.ts +62 -0
  3. package/dist/bundle-resources.js +165 -0
  4. package/dist/bundle-resources.js.map +1 -0
  5. package/dist/cli/run.js +8 -111
  6. package/dist/cli/run.js.map +1 -1
  7. package/dist/cli/script.d.ts +1 -1
  8. package/dist/cli/source.d.ts +2 -1
  9. package/dist/cli/source.js +61 -3
  10. package/dist/cli/source.js.map +1 -1
  11. package/dist/client.d.ts +116 -30
  12. package/dist/client.js +235 -75
  13. package/dist/client.js.map +1 -1
  14. package/dist/error-models.d.ts +64 -18
  15. package/dist/error-models.js +20 -9
  16. package/dist/error-models.js.map +1 -1
  17. package/dist/errors.d.ts +125 -23
  18. package/dist/errors.js +124 -22
  19. package/dist/errors.js.map +1 -1
  20. package/dist/execute-result.js +4 -4
  21. package/dist/execute-result.js.map +1 -1
  22. package/dist/hooks/bundle-gather.d.ts +28 -1
  23. package/dist/hooks/bundle-gather.js +163 -3
  24. package/dist/hooks/bundle-gather.js.map +1 -1
  25. package/dist/hooks/claude-mthds-check.d.ts +4 -2
  26. package/dist/hooks/claude-mthds-check.js +5 -2
  27. package/dist/hooks/claude-mthds-check.js.map +1 -1
  28. package/dist/index.d.ts +7 -5
  29. package/dist/index.js +6 -2
  30. package/dist/index.js.map +1 -1
  31. package/dist/models.d.ts +42 -4
  32. package/dist/prepare-inputs.d.ts +58 -4
  33. package/dist/prepare-inputs.js +307 -61
  34. package/dist/prepare-inputs.js.map +1 -1
  35. package/dist/product-models.d.ts +13 -5
  36. package/dist/run-may-have-started.d.ts +31 -0
  37. package/dist/run-may-have-started.js +138 -0
  38. package/dist/run-may-have-started.js.map +1 -0
  39. package/dist/runs.d.ts +95 -7
  40. package/dist/runs.js +18 -0
  41. package/dist/runs.js.map +1 -1
  42. package/dist/version.d.ts +1 -1
  43. package/dist/version.js +1 -1
  44. package/docs/architecture.md +6 -3
  45. package/docs/bundle-resources.md +107 -0
  46. package/docs/cli.md +2 -1
  47. package/docs/crate-routes.md +5 -1
  48. package/docs/errors.md +87 -17
  49. package/docs/hook-bundle.md +2 -0
  50. package/docs/input-preparation.md +26 -4
  51. package/docs/run-results.md +39 -0
  52. package/package.json +2 -2
package/dist/errors.d.ts CHANGED
@@ -2,8 +2,9 @@
2
2
  * Pipelex SDK errors — the argument, transport, run-lifecycle, input-preparation and artifact
3
3
  * errors `PipelexApiClient` raises. Every one derives from `PipelexRequestError`, itself a
4
4
  * `PipelineRequestError` (the protocol base, re-exported from `mthds/protocol`), and so carries
5
- * a verdict: `retryable` and `errorDomain`, always decided. The one exported error outside the
6
- * family, `CodegenLockError`, declares the same two members itself.
5
+ * a verdict: `retryable` and `errorDomain`, always decided, and `runMayHaveStarted`, which says
6
+ * whether a failed start or execute may still have started a run. The one exported error outside
7
+ * the family, `CodegenLockError`, declares the verdict's two members itself.
7
8
  */
8
9
  import { PipelineRequestError } from "mthds/protocol";
9
10
  import type { ValidationErrorItem } from "./models.js";
@@ -30,9 +31,11 @@ export declare function isErrorDomain(value: unknown): value is ErrorDomain;
30
31
  * The verdict an error carries: whether asking again can plausibly succeed (`retryable`), and who
31
32
  * can fix the failure (`errorDomain`). Both are always decided.
32
33
  *
33
- * "Retryable" says a retry can succeed, never that it is safe: it says nothing about whether the
34
- * first attempt had an effect. A start answered with a `500` may already have created a run, so a
35
- * caller that must not start a run twice decides that for itself.
34
+ * "Retryable" says a retry can succeed, and on a request that may create a run, that it cannot
35
+ * start a second one: a failed `start` or `execute` that may still have started a run (an error
36
+ * whose `runMayHaveStarted` is true) is never retryable, whatever the server or the fallback table
37
+ * says, since asking again could pay for the run twice. Everywhere else it says nothing about
38
+ * whether the first attempt had an effect.
36
39
  */
37
40
  export interface ErrorVerdict {
38
41
  readonly retryable: boolean;
@@ -40,21 +43,35 @@ export interface ErrorVerdict {
40
43
  }
41
44
  /**
42
45
  * The base of every error this SDK raises over a request, carrying the verdict as two readonly
43
- * own properties: `retryable` and `errorDomain`. Each subclass passes its verdict to this
44
- * constructor, so a class that forgets one does not compile, and every class says its verdict
45
- * where it is defined.
46
+ * own properties, `retryable` and `errorDomain`, and a third, `runMayHaveStarted`. Each subclass
47
+ * passes its verdict to this constructor, so a class that forgets one does not compile, and every
48
+ * class says its verdict where it is defined.
49
+ *
50
+ * `runMayHaveStarted` is false unless the subclass passes it: only `ApiUnreachableError` and
51
+ * `ApiResponseError` built for a request that may create a run, and `PipelineExecuteTimeoutError`,
52
+ * ever carry it as true, and when they do, `retryable` is false whatever the verdict passed.
46
53
  *
47
54
  * It refines the standard's `PipelineRequestError`, so `instanceof PipelineRequestError` still
48
55
  * matches every SDK error. To read a verdict from anything a `catch` holds, use
49
- * `errorVerdictOf`, which also reads it off an error raised by another copy of this SDK.
56
+ * `errorVerdictOf`, which also reads it off an error raised by another copy of this SDK, and
57
+ * `runMayHaveStartedOf` for the third member.
50
58
  */
51
59
  export declare abstract class PipelexRequestError extends PipelineRequestError implements ErrorVerdict {
52
60
  /** Whether asking again can plausibly succeed. Always decided. */
53
61
  readonly retryable: boolean;
54
62
  /** Who can fix the failure: `input`, `config` or `runtime`. Always decided. */
55
63
  readonly errorDomain: ErrorDomain;
64
+ /**
65
+ * Whether the failed request may still have started a run whose id never reached the caller:
66
+ * a `start` or an `execute` (and so `startAndWaitForResult`'s start, or the blocking execute it
67
+ * falls back to) that failed in a way that does not prove the server started nothing. When it
68
+ * is true, `retryable` is false: look the run up in the run history before starting it again.
69
+ * False for every other request, a wait on a run already named included. Always decided.
70
+ */
71
+ readonly runMayHaveStarted: boolean;
56
72
  constructor(message: string, verdict: ErrorVerdict, options?: {
57
73
  cause?: unknown;
74
+ runMayHaveStarted?: boolean;
58
75
  });
59
76
  }
60
77
  /**
@@ -70,6 +87,16 @@ export declare abstract class PipelexRequestError extends PipelineRequestError i
70
87
  * for what it asks is a `RequestArgumentError`, which carries one.
71
88
  */
72
89
  export declare function errorVerdictOf(err: unknown): ErrorVerdict | undefined;
90
+ /**
91
+ * Whether anything a `catch` holds is a failed run start that may still have started a run: true
92
+ * only for an `Error` carrying `runMayHaveStarted` as `true`.
93
+ *
94
+ * The check is structural, as `errorVerdictOf`'s is, so it reads an error raised by another copy
95
+ * of this SDK installed beside this one. Anything else is false: an error of a request that
96
+ * cannot start a run, an `mthds` error, which the standard's client never raises over a start of
97
+ * this SDK, and a value that is not an `Error`.
98
+ */
99
+ export declare function runMayHaveStartedOf(err: unknown): boolean;
73
100
  /**
74
101
  * The SDK refused a call's arguments before sending any request: no run source given to
75
102
  * `execute()` or `start()`, run sources or method selectors that exclude each other, a selector
@@ -142,9 +169,48 @@ export declare class InvalidLocalSourceError extends InputPreparationError {
142
169
  * raises it while it reads the inputs, before anything is uploaded. As with
143
170
  * `InvalidLocalSourceError`, the inputs are what must change, which is how a consumer tells it
144
171
  * apart from `MethodLoadError`, a method that does not load, raised by the same preparation.
172
+ *
173
+ * As on `UploadNotAllowedError`, `inputName` is the input the value belongs to and `inputPath`
174
+ * where it sits inside that input (`report.attachments[1]`, or the name alone for a top-level
175
+ * file). The message names that path and describes the value by its kind, never by its content,
176
+ * since the value is the caller's data.
145
177
  */
146
178
  export declare class InvalidInputValueError extends InputPreparationError {
147
- constructor(message: string, options?: {
179
+ readonly inputName: string;
180
+ readonly inputPath: string;
181
+ constructor(message: string, details: {
182
+ inputName: string;
183
+ inputPath: string;
184
+ }, options?: {
185
+ cause?: unknown;
186
+ });
187
+ }
188
+ /**
189
+ * What a value refused under `allowUploads: false` is, in a closed vocabulary a caller branches on
190
+ * rather than on the message: `local_path` — a string that is neither an `http(s)` URL nor a
191
+ * `pipelex-storage://` reference, which preparation would read from disk; `data_url` — a `data:`
192
+ * URL, which it would decode and upload; `bytes` — a `Blob`, `File`, `ArrayBuffer` or `Uint8Array`.
193
+ */
194
+ export type UploadNotAllowedKind = "local_path" | "data_url" | "bytes";
195
+ /**
196
+ * `prepareInputs` was called with `allowUploads: false`, and a value at a file input would need an
197
+ * upload: a local path, a `data:` URL or bytes. It is raised before anything is read from disk,
198
+ * decoded or sent to the upload route, so a server preparing inputs on a caller's behalf never
199
+ * reads a file of its own because the caller named it. `inputName` is the input the value belongs
200
+ * to, `inputPath` where it sits inside that input (`report.attachments[1]`, or the name alone for a
201
+ * top-level file), and `valueKind` what it is. The value itself is neither in the message nor on
202
+ * the error, since it is the caller's data. Its verdict is `input`, not retryable: the caller must
203
+ * pass an `http(s)` URL or a `pipelex-storage://` reference instead.
204
+ */
205
+ export declare class UploadNotAllowedError extends InputPreparationError {
206
+ readonly inputName: string;
207
+ readonly inputPath: string;
208
+ readonly valueKind: UploadNotAllowedKind;
209
+ constructor(details: {
210
+ inputName: string;
211
+ inputPath: string;
212
+ valueKind: UploadNotAllowedKind;
213
+ }, options?: {
148
214
  cause?: unknown;
149
215
  });
150
216
  }
@@ -376,12 +442,19 @@ export declare class ArtifactAuthenticationError extends ArtifactOperationError
376
442
  * attempt can get through. With the code `ABORT_TIMEOUT`, the SDK's own request timeout, it is
377
443
  * `runtime` and retryable instead: the API took the request and did not answer in time, which is
378
444
  * no fault of the base URL.
445
+ *
446
+ * On a request that may create a run (`options.mayStartRun`, which the client sets on `start` and
447
+ * `execute`), `runMayHaveStarted` is true unless `cause`, the failure fetch threw, proves the
448
+ * request never left: the name lookup, the connection or the TLS handshake failed. A reset, a time
449
+ * limit or a body that could not be decoded proves nothing, so the run may have started and the
450
+ * error is not retryable.
379
451
  */
380
452
  export declare class ApiUnreachableError extends PipelexRequestError {
381
453
  readonly apiUrl: string;
382
454
  readonly code: string | undefined;
383
455
  constructor(message: string, apiUrl: string, code: string | undefined, options?: {
384
456
  cause?: unknown;
457
+ mayStartRun?: boolean;
385
458
  });
386
459
  }
387
460
  /**
@@ -391,7 +464,8 @@ export declare class ApiUnreachableError extends PipelexRequestError {
391
464
  * lifecycle (start + poll) instead.
392
465
  *
393
466
  * Its verdict is `input`, not retryable: asking again meets the same limit, and the caller fixes
394
- * it by starting the run and polling.
467
+ * it by starting the run and polling. `runMayHaveStarted` is always true: the gateway gave up on
468
+ * the request, and the run it carried goes on without its id reaching the caller.
395
469
  */
396
470
  export declare class PipelineExecuteTimeoutError extends PipelexRequestError {
397
471
  readonly elapsedMs: number;
@@ -407,15 +481,21 @@ export declare class PipelineExecuteTimeoutError extends PipelexRequestError {
407
481
  *
408
482
  * - `status` is the run's terminal status, read from the problem's `run_status` member, or from
409
483
  * its `detail` sentence on a platform that predates the member.
410
- * - `error` is the run's stored error report, typed whole as `RunErrorReport`: the runner's
411
- * `error_type`, `message`, `title`, `type_uri`, `error_domain`, `error_category`,
412
- * `retryable`, `user_action`, `model`, `provider`, `provider_metadata`, `validation_errors`
413
- * and anything newer through its index signature. Branch on `error.error_domain`,
414
- * `error.type_uri` and `error.retryable`; show `error.user_action` as the next step. It is
415
- * the runner's VERBOSE report, so `message` and `provider_metadata` can hold a provider's raw
416
- * text — deciding what a person sees is the consumer's. `null` when the run ended with no
417
- * stored report (a cancelled, terminated or timed-out run, or one the platform finalized
418
- * itself).
484
+ * - `error` is the run's stored error report as the platform serves it, typed whole as
485
+ * `RunErrorReport`: the runner's `error_type`, `message`, `title`, `type_uri`, `error_domain`,
486
+ * `error_category`, `retryable`, `user_action`, `provider_metadata`, `caller_facing_message`,
487
+ * `validation_errors` and anything newer through its index signature. Branch on
488
+ * `error.error_domain`, `error.type_uri` and `error.retryable`; show `error.user_action` as the
489
+ * next step. The platform serves the runner's STRICT projection, so `message` is the author's
490
+ * copy only when `caller_facing_message` is `true` and the placeholder
491
+ * `An internal error occurred.` otherwise, `user_action` comes only with caller-facing copy,
492
+ * `provider_metadata` keeps only `status_code` and `retry_after_seconds`, and `model`,
493
+ * `provider` and `migration` are absent; deciding what a person sees is still the consumer's.
494
+ * A run the platform ended or settled itself carries the caller-facing report the platform
495
+ * wrote, in the same shape. A cancelled, terminated or timed-out run carries a report when a
496
+ * completion callback carried one, and a timed-out run otherwise the platform's timeout report.
497
+ * `null` when the run ended with no stored report (one whose start failed, or one cancelled,
498
+ * terminated or given its status by hand with no completion callback carrying a report).
419
499
  * - The error's own `message` is the problem's `detail`, which names the status and then the
420
500
  * report's message (`Run finished with status FAILED: <message>`), so printing the error
421
501
  * already tells the reason.
@@ -535,13 +615,21 @@ export declare class PagingNotTerminatingError extends PipelexRequestError {
535
615
  export type MethodErrorCode = "method_update_conflict" | "method_being_deleted" | "method_not_published" | "method_version_not_found";
536
616
  /**
537
617
  * The last constructor argument of `ApiResponseError`: the error's `cause`, the problem
538
- * document's typed members, and the decoded document whole. The same shape as `mthds`'s
539
- * `ApiResponseErrorOptions`, plus `problemDocument`.
618
+ * document's typed members, the decoded document whole, and whether the request that met the
619
+ * answer may create a run. The same shape as `mthds`'s `ApiResponseErrorOptions`, plus
620
+ * `problemDocument` and `mayStartRun`.
540
621
  */
541
622
  export interface ApiResponseErrorOptions {
542
623
  cause?: unknown;
543
624
  problem?: ProblemDetails;
544
625
  problemDocument?: Record<string, unknown>;
626
+ /**
627
+ * The request was a `start` or an `execute`, so the answer is read for whether it may have
628
+ * started a run (see `ApiResponseError.runMayHaveStarted`). The client sets it on those two
629
+ * routes alone; a consumer building the error by hand sets it to get the verdict the client
630
+ * would give.
631
+ */
632
+ mayStartRun?: boolean;
545
633
  }
546
634
  /**
547
635
  * A response that DID come back from the API and that the SDK cannot hand back as a result: a
@@ -568,6 +656,14 @@ export interface ApiResponseErrorOptions {
568
656
  * stored report that says nothing is not, since the caller or the environment must change,
569
657
  * while `runtime` takes the fallback's. Nothing on the error says which a value came from:
570
658
  * `problemDocument` keeps what the server sent.
659
+ * - **A run that may have started.** On a `start` or an `execute`, `runMayHaveStarted` says
660
+ * whether the answer leaves a run possibly started without its id reaching the caller: any
661
+ * `2xx` the SDK could not read, a `408`, and every `5xx` but a `501` and the platform's `503`
662
+ * coded `pipeline_start_unavailable`, which says the runner was never reached. Then
663
+ * `retryable` is false, whatever the server sent: asking again could start a second run. A
664
+ * runner's own failure of a blocking execute reads the same, since the SDK cannot tell a run
665
+ * that ended from one that goes on, and its `retryable` stays readable on `problemDocument`.
666
+ * On every other route it is false.
571
667
  * - **The branch fields.** `errorDomain`, and `type`, the stable URI naming the error class.
572
668
  * Branch on these, never on the HTTP status or on the wording of a message; they are the
573
669
  * fields that mean the same on both surfaces.
@@ -636,7 +732,13 @@ export declare class ApiResponseError extends PipelexRequestError {
636
732
  readonly model: string | undefined;
637
733
  /** The body's `provider`: the provider an inference failure reached. */
638
734
  readonly provider: string | undefined;
639
- /** The body's `provider_metadata`: what the provider's SDK said, raw text included. */
735
+ /**
736
+ * The body's `provider_metadata`: what the provider's SDK said. On the hosted API it comes
737
+ * from the runner's problem document, which the hosted runner renders under its STRICT
738
+ * disclosure, so it keeps only `status_code` and `retry_after_seconds`; a runner that
739
+ * discloses errors VERBOSE, as a self-hosted one does when `ERROR_DISCLOSURE` is unset, sends
740
+ * it whole, the provider's raw text included.
741
+ */
640
742
  readonly providerMetadata: ProviderErrorMetadata | undefined;
641
743
  /** The body's `migration`: a pending configuration migration that explains the failure. */
642
744
  readonly migration: MigrationErrorBlock | undefined;
package/dist/errors.js CHANGED
@@ -2,11 +2,13 @@
2
2
  * Pipelex SDK errors — the argument, transport, run-lifecycle, input-preparation and artifact
3
3
  * errors `PipelexApiClient` raises. Every one derives from `PipelexRequestError`, itself a
4
4
  * `PipelineRequestError` (the protocol base, re-exported from `mthds/protocol`), and so carries
5
- * a verdict: `retryable` and `errorDomain`, always decided. The one exported error outside the
6
- * family, `CodegenLockError`, declares the same two members itself.
5
+ * a verdict: `retryable` and `errorDomain`, always decided, and `runMayHaveStarted`, which says
6
+ * whether a failed start or execute may still have started a run. The one exported error outside
7
+ * the family, `CodegenLockError`, declares the verdict's two members itself.
7
8
  */
8
9
  import { PipelineRequestError } from "mthds/protocol";
9
10
  import { fallbackVerdict } from "./error-verdicts.js";
11
+ import { answerMayHaveStartedRun, transportMayHaveStartedRun } from "./run-may-have-started.js";
10
12
  export { PipelineRequestError };
11
13
  const ERROR_DOMAINS = new Set(["input", "config", "runtime"]);
12
14
  /** Whether a value is one of the three error domains. */
@@ -19,23 +21,38 @@ function makeVerdict(errorDomain, retryable) {
19
21
  }
20
22
  /**
21
23
  * The base of every error this SDK raises over a request, carrying the verdict as two readonly
22
- * own properties: `retryable` and `errorDomain`. Each subclass passes its verdict to this
23
- * constructor, so a class that forgets one does not compile, and every class says its verdict
24
- * where it is defined.
24
+ * own properties, `retryable` and `errorDomain`, and a third, `runMayHaveStarted`. Each subclass
25
+ * passes its verdict to this constructor, so a class that forgets one does not compile, and every
26
+ * class says its verdict where it is defined.
27
+ *
28
+ * `runMayHaveStarted` is false unless the subclass passes it: only `ApiUnreachableError` and
29
+ * `ApiResponseError` built for a request that may create a run, and `PipelineExecuteTimeoutError`,
30
+ * ever carry it as true, and when they do, `retryable` is false whatever the verdict passed.
25
31
  *
26
32
  * It refines the standard's `PipelineRequestError`, so `instanceof PipelineRequestError` still
27
33
  * matches every SDK error. To read a verdict from anything a `catch` holds, use
28
- * `errorVerdictOf`, which also reads it off an error raised by another copy of this SDK.
34
+ * `errorVerdictOf`, which also reads it off an error raised by another copy of this SDK, and
35
+ * `runMayHaveStartedOf` for the third member.
29
36
  */
30
37
  export class PipelexRequestError extends PipelineRequestError {
31
38
  /** Whether asking again can plausibly succeed. Always decided. */
32
39
  retryable;
33
40
  /** Who can fix the failure: `input`, `config` or `runtime`. Always decided. */
34
41
  errorDomain;
42
+ /**
43
+ * Whether the failed request may still have started a run whose id never reached the caller:
44
+ * a `start` or an `execute` (and so `startAndWaitForResult`'s start, or the blocking execute it
45
+ * falls back to) that failed in a way that does not prove the server started nothing. When it
46
+ * is true, `retryable` is false: look the run up in the run history before starting it again.
47
+ * False for every other request, a wait on a run already named included. Always decided.
48
+ */
49
+ runMayHaveStarted;
35
50
  constructor(message, verdict, options) {
36
51
  super(message, options);
37
52
  this.name = "PipelexRequestError";
38
- this.retryable = verdict.retryable;
53
+ this.runMayHaveStarted = options?.runMayHaveStarted === true;
54
+ // Asking again could start a second run, so a run that may have started is never retryable.
55
+ this.retryable = this.runMayHaveStarted ? false : verdict.retryable;
39
56
  this.errorDomain = verdict.errorDomain;
40
57
  }
41
58
  }
@@ -59,6 +76,20 @@ export function errorVerdictOf(err) {
59
76
  return undefined;
60
77
  return { retryable, errorDomain };
61
78
  }
79
+ /**
80
+ * Whether anything a `catch` holds is a failed run start that may still have started a run: true
81
+ * only for an `Error` carrying `runMayHaveStarted` as `true`.
82
+ *
83
+ * The check is structural, as `errorVerdictOf`'s is, so it reads an error raised by another copy
84
+ * of this SDK installed beside this one. Anything else is false: an error of a request that
85
+ * cannot start a run, an `mthds` error, which the standard's client never raises over a start of
86
+ * this SDK, and a value that is not an `Error`.
87
+ */
88
+ export function runMayHaveStartedOf(err) {
89
+ if (!(err instanceof Error))
90
+ return false;
91
+ return err.runMayHaveStarted === true;
92
+ }
62
93
  // ── Argument refusals ────────────────────────────────────────────────
63
94
  /**
64
95
  * The SDK refused a call's arguments before sending any request: no run source given to
@@ -137,11 +168,49 @@ export class InvalidLocalSourceError extends InputPreparationError {
137
168
  * raises it while it reads the inputs, before anything is uploaded. As with
138
169
  * `InvalidLocalSourceError`, the inputs are what must change, which is how a consumer tells it
139
170
  * apart from `MethodLoadError`, a method that does not load, raised by the same preparation.
171
+ *
172
+ * As on `UploadNotAllowedError`, `inputName` is the input the value belongs to and `inputPath`
173
+ * where it sits inside that input (`report.attachments[1]`, or the name alone for a top-level
174
+ * file). The message names that path and describes the value by its kind, never by its content,
175
+ * since the value is the caller's data.
140
176
  */
141
177
  export class InvalidInputValueError extends InputPreparationError {
142
- constructor(message, options) {
178
+ inputName;
179
+ inputPath;
180
+ constructor(message, details, options) {
143
181
  super(message, options);
144
182
  this.name = "InvalidInputValueError";
183
+ this.inputName = details.inputName;
184
+ this.inputPath = details.inputPath;
185
+ }
186
+ }
187
+ const UPLOAD_NOT_ALLOWED_KIND_WORDS = {
188
+ local_path: "a local file path",
189
+ data_url: "a data: URL",
190
+ bytes: "inline bytes",
191
+ };
192
+ /**
193
+ * `prepareInputs` was called with `allowUploads: false`, and a value at a file input would need an
194
+ * upload: a local path, a `data:` URL or bytes. It is raised before anything is read from disk,
195
+ * decoded or sent to the upload route, so a server preparing inputs on a caller's behalf never
196
+ * reads a file of its own because the caller named it. `inputName` is the input the value belongs
197
+ * to, `inputPath` where it sits inside that input (`report.attachments[1]`, or the name alone for a
198
+ * top-level file), and `valueKind` what it is. The value itself is neither in the message nor on
199
+ * the error, since it is the caller's data. Its verdict is `input`, not retryable: the caller must
200
+ * pass an `http(s)` URL or a `pipelex-storage://` reference instead.
201
+ */
202
+ export class UploadNotAllowedError extends InputPreparationError {
203
+ inputName;
204
+ inputPath;
205
+ valueKind;
206
+ constructor(details, options) {
207
+ super(`Input "${details.inputPath}" is ${UPLOAD_NOT_ALLOWED_KIND_WORDS[details.valueKind]}, which ` +
208
+ "would need an upload, and this preparation uploads nothing: pass an http(s) URL or a " +
209
+ "pipelex-storage:// reference instead.", options);
210
+ this.name = "UploadNotAllowedError";
211
+ this.inputName = details.inputName;
212
+ this.inputPath = details.inputPath;
213
+ this.valueKind = details.valueKind;
145
214
  }
146
215
  }
147
216
  /**
@@ -404,12 +473,21 @@ export class ArtifactAuthenticationError extends ArtifactOperationError {
404
473
  * attempt can get through. With the code `ABORT_TIMEOUT`, the SDK's own request timeout, it is
405
474
  * `runtime` and retryable instead: the API took the request and did not answer in time, which is
406
475
  * no fault of the base URL.
476
+ *
477
+ * On a request that may create a run (`options.mayStartRun`, which the client sets on `start` and
478
+ * `execute`), `runMayHaveStarted` is true unless `cause`, the failure fetch threw, proves the
479
+ * request never left: the name lookup, the connection or the TLS handshake failed. A reset, a time
480
+ * limit or a body that could not be decoded proves nothing, so the run may have started and the
481
+ * error is not retryable.
407
482
  */
408
483
  export class ApiUnreachableError extends PipelexRequestError {
409
484
  apiUrl;
410
485
  code;
411
486
  constructor(message, apiUrl, code, options) {
412
- super(message, makeVerdict(code === "ABORT_TIMEOUT" ? "runtime" : "config", true), options);
487
+ super(message, makeVerdict(code === "ABORT_TIMEOUT" ? "runtime" : "config", true), {
488
+ ...options,
489
+ runMayHaveStarted: options?.mayStartRun === true && transportMayHaveStartedRun(options.cause),
490
+ });
413
491
  this.name = "ApiUnreachableError";
414
492
  this.apiUrl = apiUrl;
415
493
  this.code = code;
@@ -422,7 +500,8 @@ export class ApiUnreachableError extends PipelexRequestError {
422
500
  * lifecycle (start + poll) instead.
423
501
  *
424
502
  * Its verdict is `input`, not retryable: asking again meets the same limit, and the caller fixes
425
- * it by starting the run and polling.
503
+ * it by starting the run and polling. `runMayHaveStarted` is always true: the gateway gave up on
504
+ * the request, and the run it carried goes on without its id reaching the caller.
426
505
  */
427
506
  export class PipelineExecuteTimeoutError extends PipelexRequestError {
428
507
  elapsedMs;
@@ -430,7 +509,7 @@ export class PipelineExecuteTimeoutError extends PipelexRequestError {
430
509
  const seconds = Math.round(elapsedMs / 1000);
431
510
  super(`The Pipelex Hosted API times out synchronous requests after ~30s — this run took ${seconds}s. ` +
432
511
  "The blocking execute path can't run methods longer than 30s behind the gateway. " +
433
- "Start the run and poll for its result instead: `start()` then `waitForResult(runId)`.", makeVerdict("input", false), options);
512
+ "Start the run and poll for its result instead: `start()` then `waitForResult(runId)`.", makeVerdict("input", false), { ...options, runMayHaveStarted: true });
434
513
  this.name = "PipelineExecuteTimeoutError";
435
514
  this.elapsedMs = elapsedMs;
436
515
  }
@@ -443,15 +522,21 @@ export class PipelineExecuteTimeoutError extends PipelexRequestError {
443
522
  *
444
523
  * - `status` is the run's terminal status, read from the problem's `run_status` member, or from
445
524
  * its `detail` sentence on a platform that predates the member.
446
- * - `error` is the run's stored error report, typed whole as `RunErrorReport`: the runner's
447
- * `error_type`, `message`, `title`, `type_uri`, `error_domain`, `error_category`,
448
- * `retryable`, `user_action`, `model`, `provider`, `provider_metadata`, `validation_errors`
449
- * and anything newer through its index signature. Branch on `error.error_domain`,
450
- * `error.type_uri` and `error.retryable`; show `error.user_action` as the next step. It is
451
- * the runner's VERBOSE report, so `message` and `provider_metadata` can hold a provider's raw
452
- * text — deciding what a person sees is the consumer's. `null` when the run ended with no
453
- * stored report (a cancelled, terminated or timed-out run, or one the platform finalized
454
- * itself).
525
+ * - `error` is the run's stored error report as the platform serves it, typed whole as
526
+ * `RunErrorReport`: the runner's `error_type`, `message`, `title`, `type_uri`, `error_domain`,
527
+ * `error_category`, `retryable`, `user_action`, `provider_metadata`, `caller_facing_message`,
528
+ * `validation_errors` and anything newer through its index signature. Branch on
529
+ * `error.error_domain`, `error.type_uri` and `error.retryable`; show `error.user_action` as the
530
+ * next step. The platform serves the runner's STRICT projection, so `message` is the author's
531
+ * copy only when `caller_facing_message` is `true` and the placeholder
532
+ * `An internal error occurred.` otherwise, `user_action` comes only with caller-facing copy,
533
+ * `provider_metadata` keeps only `status_code` and `retry_after_seconds`, and `model`,
534
+ * `provider` and `migration` are absent; deciding what a person sees is still the consumer's.
535
+ * A run the platform ended or settled itself carries the caller-facing report the platform
536
+ * wrote, in the same shape. A cancelled, terminated or timed-out run carries a report when a
537
+ * completion callback carried one, and a timed-out run otherwise the platform's timeout report.
538
+ * `null` when the run ended with no stored report (one whose start failed, or one cancelled,
539
+ * terminated or given its status by hand with no completion callback carrying a report).
455
540
  * - The error's own `message` is the problem's `detail`, which names the status and then the
456
541
  * report's message (`Run finished with status FAILED: <message>`), so printing the error
457
542
  * already tells the reason.
@@ -603,6 +688,14 @@ export class PagingNotTerminatingError extends PipelexRequestError {
603
688
  * stored report that says nothing is not, since the caller or the environment must change,
604
689
  * while `runtime` takes the fallback's. Nothing on the error says which a value came from:
605
690
  * `problemDocument` keeps what the server sent.
691
+ * - **A run that may have started.** On a `start` or an `execute`, `runMayHaveStarted` says
692
+ * whether the answer leaves a run possibly started without its id reaching the caller: any
693
+ * `2xx` the SDK could not read, a `408`, and every `5xx` but a `501` and the platform's `503`
694
+ * coded `pipeline_start_unavailable`, which says the runner was never reached. Then
695
+ * `retryable` is false, whatever the server sent: asking again could start a second run. A
696
+ * runner's own failure of a blocking execute reads the same, since the SDK cannot tell a run
697
+ * that ended from one that goes on, and its `retryable` stays readable on `problemDocument`.
698
+ * On every other route it is false.
606
699
  * - **The branch fields.** `errorDomain`, and `type`, the stable URI naming the error class.
607
700
  * Branch on these, never on the HTTP status or on the wording of a message; they are the
608
701
  * fields that mean the same on both surfaces.
@@ -671,7 +764,13 @@ export class ApiResponseError extends PipelexRequestError {
671
764
  model;
672
765
  /** The body's `provider`: the provider an inference failure reached. */
673
766
  provider;
674
- /** The body's `provider_metadata`: what the provider's SDK said, raw text included. */
767
+ /**
768
+ * The body's `provider_metadata`: what the provider's SDK said. On the hosted API it comes
769
+ * from the runner's problem document, which the hosted runner renders under its STRICT
770
+ * disclosure, so it keeps only `status_code` and `retry_after_seconds`; a runner that
771
+ * discloses errors VERBOSE, as a self-hosted one does when `ERROR_DISCLOSURE` is unset, sends
772
+ * it whole, the provider's raw text included.
773
+ */
675
774
  providerMetadata;
676
775
  /** The body's `migration`: a pending configuration migration that explains the failure. */
677
776
  migration;
@@ -698,7 +797,10 @@ export class ApiResponseError extends PipelexRequestError {
698
797
  */
699
798
  validationErrors;
700
799
  constructor(message, apiUrl, status, statusText, responseBody, errorType, serverMessage, validationErrors, code, options) {
701
- super(message, responseVerdict(status, errorType, code, options?.problem), options?.cause === undefined ? undefined : { cause: options.cause });
800
+ super(message, responseVerdict(status, errorType, code, options?.problem), {
801
+ ...(options?.cause === undefined ? {} : { cause: options.cause }),
802
+ runMayHaveStarted: options?.mayStartRun === true && answerMayHaveStartedRun(status, code),
803
+ });
702
804
  this.name = "ApiResponseError";
703
805
  this.apiUrl = apiUrl;
704
806
  this.status = status;
@@ -1 +1 @@
1
- {"version":3,"file":"errors.js","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,oBAAoB,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AAC;QAC9B,IAAI,CAAC,eAAe,GAAG,OAAO,EAAE,eAAe,CAAC;IAClD,CAAC;CACF;AAED;;;;;;GAMG;AACH,SAAS,eAAe,CACtB,MAAc,EACd,SAA6B,EAC7B,IAAwB,EACxB,OAAmC;IAEnC,MAAM,QAAQ,GAAG,eAAe,CAAC,MAAM,EAAE,IAAI,EAAE,IAAI,KAAK,SAAS,IAAI,SAAS,KAAK,SAAS,CAAC,CAAC;IAC9F,MAAM,UAAU,GAAG,OAAO,EAAE,WAAW,CAAC;IACxC,MAAM,aAAa,GAAG,OAAO,EAAE,SAAS,CAAC;IACzC,IAAI,CAAC,aAAa,CAAC,UAAU,CAAC,EAAE,CAAC;QAC/B,OAAO,WAAW,CAChB,QAAQ,CAAC,WAAW,EACpB,OAAO,aAAa,KAAK,SAAS,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,SAAS,CACxE,CAAC;IACJ,CAAC;IACD,IAAI,OAAO,aAAa,KAAK,SAAS;QAAE,OAAO,WAAW,CAAC,UAAU,EAAE,aAAa,CAAC,CAAC;IACtF,uFAAuF;IACvF,6FAA6F;IAC7F,oEAAoE;IACpE,OAAO,WAAW,CAAC,UAAU,EAAE,UAAU,KAAK,SAAS,CAAC,CAAC,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;AACxF,CAAC"}
@@ -103,10 +103,10 @@ export class PipelexExecuteResult {
103
103
  * lifted here but absent from the hosted body.
104
104
  */
105
105
  export function resultsFromExecute(response) {
106
- // `working_memory` is a declared field of `DictPipeOutput`, so it lifts without a cast. By the
107
- // time it is read, `main_stuff` has already been resolved out of it, so a response that carries
108
- // no working memory has thrown `MissingMainStuffError` above; the `?? null` keeps the blocking
109
- // path's convention for an absent key all the same. The graph pair and the usage pair ride
106
+ // `working_memory` is a declared field of `DictPipeOutput`, so it lifts without a cast. The
107
+ // client's `execute` refuses an answer whose `pipe_output` carries no working memory as one it
108
+ // cannot read, so `pipe_output` and its working memory are objects here; the `?? null` keeps the
109
+ // blocking path's convention for an absent key all the same. The graph pair and the usage pair ride
110
110
  // `pipe_output` as Pipelex extension fields, beside `working_memory` — `DictPipeOutput` is
111
111
  // extension-open, mirroring the Python model's `extra="allow"`, so they are read through the
112
112
  // type rather than by casting the whole value away. Lifting every one of them onto its
@@ -1 +1 @@
1
- {"version":3,"file":"execute-result.js","sourceRoot":"","sources":["../src/execute-result.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAGpD;;;;;;;GAOG;AACH,MAAM,uBAAuB,GAAG,IAAI,GAAG,CAAC,CAAC,YAAY,EAAE,WAAW,EAAE,aAAa,EAAE,WAAW,CAAC,CAAC,CAAC;AAEjG;;;;;;;;;;;;;;GAcG;AACH,MAAM,OAAO,oBAAoB;IACtB,eAAe,CAAS;IACxB,WAAW,CAAiB;IACrC;;;;OAIG;IACM,eAAe,CAAgB;IAoBxC,YAAY,GAAyB;QACnC,IAAI,CAAC,eAAe,GAAG,GAAG,CAAC,eAAe,CAAC;QAC3C,IAAI,CAAC,WAAW,GAAG,GAAG,CAAC,WAAW,CAAC;QACnC,mGAAmG;QACnG,MAAM,OAAO,GAAG,GAAG,CAAC,eAAe,CAAC;QACpC,IAAI,CAAC,eAAe,GAAG,OAAO,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC;QACpE,2FAA2F;QAC3F,2FAA2F;QAC3F,0FAA0F;QAC1F,2FAA2F;QAC3F,2FAA2F;QAC3F,0BAA0B;QAC1B,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC;YAC/C,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,EAAE,GAAG,CAAC,IAAI,CAAC,uBAAu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