@pipelex/sdk 0.1.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.
- package/LICENSE +21 -0
- package/README.md +75 -0
- package/dist/client.d.ts +297 -0
- package/dist/client.js +884 -0
- package/dist/client.js.map +1 -0
- package/dist/errors.d.ts +132 -0
- package/dist/errors.js +166 -0
- package/dist/errors.js.map +1 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.js +22 -0
- package/dist/index.js.map +1 -0
- package/dist/models.d.ts +176 -0
- package/dist/models.js +11 -0
- package/dist/models.js.map +1 -0
- package/dist/product-models.d.ts +164 -0
- package/dist/product-models.js +13 -0
- package/dist/product-models.js.map +1 -0
- package/dist/runs.d.ts +128 -0
- package/dist/runs.js +92 -0
- package/dist/runs.js.map +1 -0
- package/package.json +56 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.js","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAyBA,OAAO,EACL,eAAe,GAMhB,MAAM,WAAW,CAAC;AAwBnB,OAAO,EACL,gBAAgB,EAChB,mBAAmB,EACnB,2BAA2B,EAC3B,oBAAoB,EACpB,4BAA4B,EAC5B,oBAAoB,GACrB,MAAM,aAAa,CAAC;AAuCrB,qFAAqF;AACrF,MAAM,CAAC,MAAM,oBAAoB,GAAG,yBAAyB,CAAC;AAE9D,gGAAgG;AAChG,sFAAsF;AACtF,oFAAoF;AACpF,mFAAmF;AACnF,MAAM,UAAU,GAAG,IAAI,CAAC;AACxB,MAAM,IAAI,GAAG,MAAM,CAAC;AAEpB,MAAM,0BAA0B,GAAG,SAAS,CAAC,CAAC,0DAA0D;AACxG,MAAM,uBAAuB,GAAG,MAAM,CAAC,CAAC,wEAAwE;AAChH,MAAM,8BAA8B,GAAG,CAAC,CAAC,CAAC,yDAAyD;AACnG,MAAM,+BAA+B,GAAG,UAAU,CAAC;AAEnD;;;;;GAKG;AACH,MAAM,0BAA0B,GAAG,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AAI,SAAS,KAAK,SAAS,IAAI,OAAO,IAAI,CAAC,UAAU,KAAK,QAAQ;QAAE,SAAS,GAAG,IAAI,CAAC,UAAU,CAAC;IAChG,IAAI,aAAa,KAAK,SAAS,IAAI,OAAO,IAAI,CAAC,OAAO,KAAK,QAAQ;QAAE,aAAa,GAAG,IAAI,CAAC,OAAO,CAAC;IAClG,2EAA2E;IAC3E,+EAA+E;IAC/E,+EAA+E;IAC/E,mFAAmF;IACnF,MAAM,gBAAgB,GAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,CAAC;QAC5D,CAAC,CAAE,IAAI,CAAC,iBAA2C;QACnD,CAAC,CAAC,SAAS,CAAC;IACd,yEAAyE;IACzE,yEAAyE;IACzE,6CAA6C;IAC7C,MAAM,IAAI,GAAG,OAAO,IAAI,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;IACnE,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,gBAAgB,EAAE,IAAI,EAAE,CAAC;AAC9D,CAAC"}
|
package/dist/errors.d.ts
ADDED
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pipelex SDK errors — transport and run-lifecycle errors raised by
|
|
3
|
+
* `PipelexApiClient`. All derive from the protocol-base `PipelineRequestError`
|
|
4
|
+
* (re-exported from `mthds/protocol`), except `ClientAuthenticationError`.
|
|
5
|
+
*/
|
|
6
|
+
import { PipelineRequestError } from "mthds/protocol";
|
|
7
|
+
import type { ValidationErrorItem } from "./models.js";
|
|
8
|
+
export { PipelineRequestError };
|
|
9
|
+
export declare class ClientAuthenticationError extends Error {
|
|
10
|
+
constructor(message: string);
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Thrown when the Pipelex API host cannot be reached at all (DNS failure,
|
|
14
|
+
* connection refused, TLS handshake failure, request timeout). The HTTP
|
|
15
|
+
* exchange never produced a response — distinguish from `ApiResponseError`,
|
|
16
|
+
* which represents a non-2xx response that did come back.
|
|
17
|
+
*
|
|
18
|
+
* `code` is the underlying network error code when available
|
|
19
|
+
* (`ECONNREFUSED`, `ENOTFOUND`, `ETIMEDOUT`, `EAI_AGAIN`, `ABORT_TIMEOUT`).
|
|
20
|
+
*/
|
|
21
|
+
export declare class ApiUnreachableError extends PipelineRequestError {
|
|
22
|
+
readonly apiUrl: string;
|
|
23
|
+
readonly code: string | undefined;
|
|
24
|
+
constructor(message: string, apiUrl: string, code: string | undefined, options?: {
|
|
25
|
+
cause?: unknown;
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Thrown when the blocking `execute` (`POST /v1/execute`) is killed by the
|
|
30
|
+
* hosted gateway's ~30s synchronous-request limit. The blocking path cannot
|
|
31
|
+
* run methods longer than 30s behind the hosted gateway — use the durable run
|
|
32
|
+
* lifecycle (start + poll) instead.
|
|
33
|
+
*/
|
|
34
|
+
export declare class PipelineExecuteTimeoutError extends PipelineRequestError {
|
|
35
|
+
readonly elapsedMs: number;
|
|
36
|
+
constructor(elapsedMs: number, options?: {
|
|
37
|
+
cause?: unknown;
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Thrown when a run reaches a terminal state that is not `COMPLETED`
|
|
42
|
+
* (`FAILED`, `CANCELLED`, `TERMINATED`, `TIMED_OUT`) — surfaced from
|
|
43
|
+
* `waitForResult`/`getRunResult` when the server answers a result lookup with
|
|
44
|
+
* HTTP 409. `runId` and `status` let callers report the outcome precisely.
|
|
45
|
+
*/
|
|
46
|
+
export declare class RunFailedError extends PipelineRequestError {
|
|
47
|
+
readonly runId: string;
|
|
48
|
+
readonly status: string;
|
|
49
|
+
constructor(message: string, runId: string, status: string, options?: {
|
|
50
|
+
cause?: unknown;
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Thrown when `waitForResult` exceeds its `timeoutMs` before the run reaches a
|
|
55
|
+
* terminal state. The run is NOT cancelled — it keeps executing server-side and
|
|
56
|
+
* can be resumed later by `runId` (the poll loop just stopped waiting).
|
|
57
|
+
*/
|
|
58
|
+
export declare class RunTimeoutError extends PipelineRequestError {
|
|
59
|
+
readonly runId: string;
|
|
60
|
+
readonly timeoutMs: number;
|
|
61
|
+
constructor(message: string, runId: string, timeoutMs: number);
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Thrown when `execute()` receives a 202 instead of a final result.
|
|
65
|
+
*
|
|
66
|
+
* The MTHDS Protocol permits an implementation to degrade a synchronous
|
|
67
|
+
* `/execute` into an accepted-async response (202 with a `Location` header)
|
|
68
|
+
* when it cannot hold the connection open. The run keeps executing
|
|
69
|
+
* server-side — resume by `runId` (`getRunResult` / `waitForResult` on a
|
|
70
|
+
* hosted deployment, or the `location` status resource when provided).
|
|
71
|
+
*/
|
|
72
|
+
export declare class RunStillRunningError extends PipelineRequestError {
|
|
73
|
+
readonly runId: string;
|
|
74
|
+
readonly retryAfterSeconds: number | null;
|
|
75
|
+
readonly location: string | null;
|
|
76
|
+
constructor(message: string, runId: string, retryAfterSeconds?: number | null, location?: string | null, options?: {
|
|
77
|
+
cause?: unknown;
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Thrown when the durable run lifecycle (`/v1/runs/*`) is not served by the
|
|
82
|
+
* configured `PIPELEX_API_URL`.
|
|
83
|
+
*
|
|
84
|
+
* Run polling is a hosted-API extension, not part of the MTHDS Protocol: the
|
|
85
|
+
* open-source `pipelex-api` runner executes methods but has no run store, so
|
|
86
|
+
* it 404s those routes; only a deployment that includes the platform block
|
|
87
|
+
* (the Pipelex Hosted API) serves status/results. Distinguished from a genuine
|
|
88
|
+
* run-not-found 404, which carries the server's structured error envelope.
|
|
89
|
+
*/
|
|
90
|
+
export declare class RunLifecycleUnavailableError extends PipelineRequestError {
|
|
91
|
+
readonly apiUrl: string;
|
|
92
|
+
constructor(message: string, apiUrl: string, options?: {
|
|
93
|
+
cause?: unknown;
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* A non-2xx response that DID come back from the API. Carries the parsed
|
|
98
|
+
* RFC 7807 problem-details (`errorType`, `serverMessage`) and, for the build
|
|
99
|
+
* routes' 422s, the structured `validation_errors[]` list.
|
|
100
|
+
*
|
|
101
|
+
* `code` is the product routes' stable RFC 9457 `problem+json` discriminant
|
|
102
|
+
* (`conflict`, `not_found`, `pipelex_api_key_limit_reached`,
|
|
103
|
+
* `promo_code_invalid`, …) — the field a consumer branches on, decoupled from
|
|
104
|
+
* the HTTP status. `undefined` for any error body that carries no `code`
|
|
105
|
+
* (the protocol/build routes' `detail`-shaped problems, auth, transport).
|
|
106
|
+
*/
|
|
107
|
+
export declare class ApiResponseError extends PipelineRequestError {
|
|
108
|
+
readonly apiUrl: string;
|
|
109
|
+
readonly status: number;
|
|
110
|
+
readonly statusText: string;
|
|
111
|
+
readonly responseBody: string;
|
|
112
|
+
readonly errorType: string | undefined;
|
|
113
|
+
readonly serverMessage: string | undefined;
|
|
114
|
+
readonly code: string | undefined;
|
|
115
|
+
/**
|
|
116
|
+
* Structured per-error diagnostics on a problem body that carries a top-level
|
|
117
|
+
* `validation_errors[]` — the **build routes** (`POST /v1/build/*`), which still
|
|
118
|
+
* reject an invalid bundle with a 422.
|
|
119
|
+
*
|
|
120
|
+
* `POST /v1/validate` no longer routes content errors here: an invalid bundle is
|
|
121
|
+
* a produced verdict (a **200** `PipelexInvalidReport` whose `validation_errors[]`
|
|
122
|
+
* the caller reads off the returned value), not an `ApiResponseError`. This field
|
|
123
|
+
* stays for the build-route 422s and is `undefined` for any error that carries no
|
|
124
|
+
* per-error list (auth, transport, a request-shape 422). A consumer must NOT
|
|
125
|
+
* assume a given `error_type` implies a populated list — fall back to
|
|
126
|
+
* `serverMessage` when this is empty.
|
|
127
|
+
*/
|
|
128
|
+
readonly validationErrors: ValidationErrorItem[] | undefined;
|
|
129
|
+
constructor(message: string, apiUrl: string, status: number, statusText: string, responseBody: string, errorType: string | undefined, serverMessage: string | undefined, validationErrors: ValidationErrorItem[] | undefined, code: string | undefined, options?: {
|
|
130
|
+
cause?: unknown;
|
|
131
|
+
});
|
|
132
|
+
}
|
package/dist/errors.js
ADDED
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pipelex SDK errors — transport and run-lifecycle errors raised by
|
|
3
|
+
* `PipelexApiClient`. All derive from the protocol-base `PipelineRequestError`
|
|
4
|
+
* (re-exported from `mthds/protocol`), except `ClientAuthenticationError`.
|
|
5
|
+
*/
|
|
6
|
+
import { PipelineRequestError } from "mthds/protocol";
|
|
7
|
+
export { PipelineRequestError };
|
|
8
|
+
export class ClientAuthenticationError extends Error {
|
|
9
|
+
constructor(message) {
|
|
10
|
+
super(message);
|
|
11
|
+
this.name = "ClientAuthenticationError";
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Thrown when the Pipelex API host cannot be reached at all (DNS failure,
|
|
16
|
+
* connection refused, TLS handshake failure, request timeout). The HTTP
|
|
17
|
+
* exchange never produced a response — distinguish from `ApiResponseError`,
|
|
18
|
+
* which represents a non-2xx response that did come back.
|
|
19
|
+
*
|
|
20
|
+
* `code` is the underlying network error code when available
|
|
21
|
+
* (`ECONNREFUSED`, `ENOTFOUND`, `ETIMEDOUT`, `EAI_AGAIN`, `ABORT_TIMEOUT`).
|
|
22
|
+
*/
|
|
23
|
+
export class ApiUnreachableError extends PipelineRequestError {
|
|
24
|
+
apiUrl;
|
|
25
|
+
code;
|
|
26
|
+
constructor(message, apiUrl, code, options) {
|
|
27
|
+
super(message, options);
|
|
28
|
+
this.name = "ApiUnreachableError";
|
|
29
|
+
this.apiUrl = apiUrl;
|
|
30
|
+
this.code = code;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Thrown when the blocking `execute` (`POST /v1/execute`) is killed by the
|
|
35
|
+
* hosted gateway's ~30s synchronous-request limit. The blocking path cannot
|
|
36
|
+
* run methods longer than 30s behind the hosted gateway — use the durable run
|
|
37
|
+
* lifecycle (start + poll) instead.
|
|
38
|
+
*/
|
|
39
|
+
export class PipelineExecuteTimeoutError extends PipelineRequestError {
|
|
40
|
+
elapsedMs;
|
|
41
|
+
constructor(elapsedMs, options) {
|
|
42
|
+
const seconds = Math.round(elapsedMs / 1000);
|
|
43
|
+
super(`The Pipelex Hosted API times out synchronous requests after ~30s — this run took ${seconds}s. ` +
|
|
44
|
+
"The blocking execute path can't run methods longer than 30s behind the gateway. " +
|
|
45
|
+
"Start the run and poll for its result instead: `start()` then `waitForResult(runId)`.", options);
|
|
46
|
+
this.name = "PipelineExecuteTimeoutError";
|
|
47
|
+
this.elapsedMs = elapsedMs;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Thrown when a run reaches a terminal state that is not `COMPLETED`
|
|
52
|
+
* (`FAILED`, `CANCELLED`, `TERMINATED`, `TIMED_OUT`) — surfaced from
|
|
53
|
+
* `waitForResult`/`getRunResult` when the server answers a result lookup with
|
|
54
|
+
* HTTP 409. `runId` and `status` let callers report the outcome precisely.
|
|
55
|
+
*/
|
|
56
|
+
export class RunFailedError extends PipelineRequestError {
|
|
57
|
+
runId;
|
|
58
|
+
status;
|
|
59
|
+
constructor(message, runId, status, options) {
|
|
60
|
+
super(message, options);
|
|
61
|
+
this.name = "RunFailedError";
|
|
62
|
+
this.runId = runId;
|
|
63
|
+
this.status = status;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Thrown when `waitForResult` exceeds its `timeoutMs` before the run reaches a
|
|
68
|
+
* terminal state. The run is NOT cancelled — it keeps executing server-side and
|
|
69
|
+
* can be resumed later by `runId` (the poll loop just stopped waiting).
|
|
70
|
+
*/
|
|
71
|
+
export class RunTimeoutError extends PipelineRequestError {
|
|
72
|
+
runId;
|
|
73
|
+
timeoutMs;
|
|
74
|
+
constructor(message, runId, timeoutMs) {
|
|
75
|
+
super(message);
|
|
76
|
+
this.name = "RunTimeoutError";
|
|
77
|
+
this.runId = runId;
|
|
78
|
+
this.timeoutMs = timeoutMs;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Thrown when `execute()` receives a 202 instead of a final result.
|
|
83
|
+
*
|
|
84
|
+
* The MTHDS Protocol permits an implementation to degrade a synchronous
|
|
85
|
+
* `/execute` into an accepted-async response (202 with a `Location` header)
|
|
86
|
+
* when it cannot hold the connection open. The run keeps executing
|
|
87
|
+
* server-side — resume by `runId` (`getRunResult` / `waitForResult` on a
|
|
88
|
+
* hosted deployment, or the `location` status resource when provided).
|
|
89
|
+
*/
|
|
90
|
+
export class RunStillRunningError extends PipelineRequestError {
|
|
91
|
+
runId;
|
|
92
|
+
retryAfterSeconds;
|
|
93
|
+
location;
|
|
94
|
+
constructor(message, runId, retryAfterSeconds = null, location = null, options) {
|
|
95
|
+
super(message, options);
|
|
96
|
+
this.name = "RunStillRunningError";
|
|
97
|
+
this.runId = runId;
|
|
98
|
+
this.retryAfterSeconds = retryAfterSeconds;
|
|
99
|
+
this.location = location;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Thrown when the durable run lifecycle (`/v1/runs/*`) is not served by the
|
|
104
|
+
* configured `PIPELEX_API_URL`.
|
|
105
|
+
*
|
|
106
|
+
* Run polling is a hosted-API extension, not part of the MTHDS Protocol: the
|
|
107
|
+
* open-source `pipelex-api` runner executes methods but has no run store, so
|
|
108
|
+
* it 404s those routes; only a deployment that includes the platform block
|
|
109
|
+
* (the Pipelex Hosted API) serves status/results. Distinguished from a genuine
|
|
110
|
+
* run-not-found 404, which carries the server's structured error envelope.
|
|
111
|
+
*/
|
|
112
|
+
export class RunLifecycleUnavailableError extends PipelineRequestError {
|
|
113
|
+
apiUrl;
|
|
114
|
+
constructor(message, apiUrl, options) {
|
|
115
|
+
super(message, options);
|
|
116
|
+
this.name = "RunLifecycleUnavailableError";
|
|
117
|
+
this.apiUrl = apiUrl;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* A non-2xx response that DID come back from the API. Carries the parsed
|
|
122
|
+
* RFC 7807 problem-details (`errorType`, `serverMessage`) and, for the build
|
|
123
|
+
* routes' 422s, the structured `validation_errors[]` list.
|
|
124
|
+
*
|
|
125
|
+
* `code` is the product routes' stable RFC 9457 `problem+json` discriminant
|
|
126
|
+
* (`conflict`, `not_found`, `pipelex_api_key_limit_reached`,
|
|
127
|
+
* `promo_code_invalid`, …) — the field a consumer branches on, decoupled from
|
|
128
|
+
* the HTTP status. `undefined` for any error body that carries no `code`
|
|
129
|
+
* (the protocol/build routes' `detail`-shaped problems, auth, transport).
|
|
130
|
+
*/
|
|
131
|
+
export class ApiResponseError extends PipelineRequestError {
|
|
132
|
+
apiUrl;
|
|
133
|
+
status;
|
|
134
|
+
statusText;
|
|
135
|
+
responseBody;
|
|
136
|
+
errorType;
|
|
137
|
+
serverMessage;
|
|
138
|
+
code;
|
|
139
|
+
/**
|
|
140
|
+
* Structured per-error diagnostics on a problem body that carries a top-level
|
|
141
|
+
* `validation_errors[]` — the **build routes** (`POST /v1/build/*`), which still
|
|
142
|
+
* reject an invalid bundle with a 422.
|
|
143
|
+
*
|
|
144
|
+
* `POST /v1/validate` no longer routes content errors here: an invalid bundle is
|
|
145
|
+
* a produced verdict (a **200** `PipelexInvalidReport` whose `validation_errors[]`
|
|
146
|
+
* the caller reads off the returned value), not an `ApiResponseError`. This field
|
|
147
|
+
* stays for the build-route 422s and is `undefined` for any error that carries no
|
|
148
|
+
* per-error list (auth, transport, a request-shape 422). A consumer must NOT
|
|
149
|
+
* assume a given `error_type` implies a populated list — fall back to
|
|
150
|
+
* `serverMessage` when this is empty.
|
|
151
|
+
*/
|
|
152
|
+
validationErrors;
|
|
153
|
+
constructor(message, apiUrl, status, statusText, responseBody, errorType, serverMessage, validationErrors, code, options) {
|
|
154
|
+
super(message, options);
|
|
155
|
+
this.name = "ApiResponseError";
|
|
156
|
+
this.apiUrl = apiUrl;
|
|
157
|
+
this.status = status;
|
|
158
|
+
this.statusText = statusText;
|
|
159
|
+
this.responseBody = responseBody;
|
|
160
|
+
this.errorType = errorType;
|
|
161
|
+
this.serverMessage = serverMessage;
|
|
162
|
+
this.validationErrors = validationErrors;
|
|
163
|
+
this.code = code;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
//# sourceMappingURL=errors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAGtD,OAAO,EAAE,oBAAoB,EAAE,CAAC;AAEhC,MAAM,OAAO,yBAA0B,SAAQ,KAAK;IAClD,YAAY,OAAe;QACzB,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,IAAI,GAAG,2BAA2B,CAAC;IAC1C,CAAC;CACF;AAED;;;;;;;;GAQG;AACH,MAAM,OAAO,mBAAoB,SAAQ,oBAAoB;IAC3C,MAAM,CAAS;IACf,IAAI,CAAqB;IAEzC,YACE,OAAe,EACf,MAAc,EACd,IAAwB,EACxB,OAA6B;QAE7B,KAAK,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;QACxB,IAAI,CAAC,IAAI,GAAG,qBAAqB,CAAC;QAClC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;CACF;AAED;;;;;GAKG;AACH,MAAM,OAAO,2BAA4B,SAAQ,oBAAoB;IACnD,SAAS,CAAS;IAElC,YAAY,SAAiB,EAAE,OAA6B;QAC1D,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,SAAS,GAAG,IAAI,C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
|
1
|
+
/**
|
|
2
|
+
* `@pipelex/sdk` — TypeScript SDK for the Pipelex hosted API.
|
|
3
|
+
*
|
|
4
|
+
* One import source for consumers: this barrel re-exports the pure MTHDS Protocol
|
|
5
|
+
* surface (from the `mthds/protocol` subpath) alongside the Pipelex product client
|
|
6
|
+
* (`PipelexApiClient`), its wire models, the run-lifecycle types, and the typed
|
|
7
|
+
* errors. Consumers should import everything they need from `@pipelex/sdk`.
|
|
8
|
+
*/
|
|
9
|
+
/** Package version. */
|
|
10
|
+
export declare const SDK_VERSION = "0.1.0";
|
|
11
|
+
export * from "mthds/protocol";
|
|
12
|
+
export { PipelexApiClient, DEFAULT_API_BASE_URL } from "./client.js";
|
|
13
|
+
export type { MthdsFile, ValidateFilesOptions, PipelexApiClientOptions } from "./client.js";
|
|
14
|
+
export type { DictStuff, DictWorkingMemory, DictPipeOutput, DictRunResultExecute, DryRunStatus, ValidatedPipeEntry, PipelexValidationReport, PipelexInvalidReport, PipelexValidationResult, ValidationErrorCategory, ValidationErrorItem, ConceptRepresentationFormat, BuildInputsRequest, BuildOutputRequest, BuildRunnerRequest, ConceptRequest, PipeSpecRequest, BuildRunnerResponse, ConceptResponse, PipeSpecResponse, } from "./models.js";
|
|
15
|
+
export type { UserProfile, MethodData, MethodWriteInput, Membership, MembershipsResponse, SubscriptionResponse, PlanView, InvoiceView, CheckoutResponse, ChangePlanResponse, BillingPortalResponse, PipelexApiKey, PipelexApiKeyCreated, PipelexApiKeyList, GatewayApiKey, GatewayApiKeyStatus, OnboardingRole, OnboardingCurrentTool, OnboardingInputType, OnboardingHeardFrom, OnboardingSubmission, ResolvedStorageUrl, UploadInput, UploadedFile, PipeStatus, PipelineRun, UpdateRunInput, } from "./product-models.js";
|
|
16
|
+
export { isTerminalRunStatus, isSuccessRunStatus } from "./runs.js";
|
|
17
|
+
export type { RunStatus, RunPublic, RunRead, RunResults, RunResultState, WaitForResultOptions, } from "./runs.js";
|
|
18
|
+
export { ApiResponseError, ApiUnreachableError, ClientAuthenticationError, PipelineExecuteTimeoutError, RunFailedError, RunTimeoutError, RunStillRunningError, RunLifecycleUnavailableError, } from "./errors.js";
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `@pipelex/sdk` — TypeScript SDK for the Pipelex hosted API.
|
|
3
|
+
*
|
|
4
|
+
* One import source for consumers: this barrel re-exports the pure MTHDS Protocol
|
|
5
|
+
* surface (from the `mthds/protocol` subpath) alongside the Pipelex product client
|
|
6
|
+
* (`PipelexApiClient`), its wire models, the run-lifecycle types, and the typed
|
|
7
|
+
* errors. Consumers should import everything they need from `@pipelex/sdk`.
|
|
8
|
+
*/
|
|
9
|
+
/** Package version. */
|
|
10
|
+
export const SDK_VERSION = "0.1.0";
|
|
11
|
+
// ── Pure MTHDS Protocol surface (re-exported from the `mthds/protocol` subpath) ──
|
|
12
|
+
// The standard's interface, wire models, request/options surface, abstract domain
|
|
13
|
+
// shapes, and the protocol-base `PipelineRequestError`. Re-exported so apps have a
|
|
14
|
+
// single import source.
|
|
15
|
+
export * from "mthds/protocol";
|
|
16
|
+
// ── Pipelex product client ───────────────────────────────────────────
|
|
17
|
+
export { PipelexApiClient, DEFAULT_API_BASE_URL } from "./client.js";
|
|
18
|
+
// ── Run lifecycle (hosted extension — NOT part of the protocol) ──────
|
|
19
|
+
export { isTerminalRunStatus, isSuccessRunStatus } from "./runs.js";
|
|
20
|
+
// ── Typed errors (PipelineRequestError rides the protocol re-export above) ──
|
|
21
|
+
export { ApiResponseError, ApiUnreachableError, ClientAuthenticationError, PipelineExecuteTimeoutError, RunFailedError, RunTimeoutError, RunStillRunningError, RunLifecycleUnavailableError, } from "./errors.js";
|
|
22
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,uBAAuB;AACvB,MAAM,CAAC,MAAM,WAAW,GAAG,OAAO,CAAC;AAEnC,oFAAoF;AACpF,kFAAkF;AAClF,mFAAmF;AACnF,wBAAwB;AACxB,cAAc,gBAAgB,CAAC;AAE/B,wEAAwE;AACxE,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AA0DrE,wEAAwE;AACxE,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAUpE,+EAA+E;AAC/E,OAAO,EACL,gBAAgB,EAChB,mBAAmB,EACnB,yBAAyB,EACzB,2BAA2B,EAC3B,cAAc,EACd,eAAe,EACf,oBAAoB,EACpB,4BAA4B,GAC7B,MAAM,aAAa,CAAC"}
|
package/dist/models.d.ts
ADDED
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pipelex wire models — the concrete JSON shapes `PipelexApiClient` deals in.
|
|
3
|
+
*
|
|
4
|
+
* Holds the Dict-serialized protocol concretes (`DictStuff` / `DictWorkingMemory`
|
|
5
|
+
* / `DictPipeOutput` and the default `RunResultExecute` binding), the Pipelex
|
|
6
|
+
* `/v1/validate` surface (`PipelexValidationResult` + `ValidationErrorItem`), and
|
|
7
|
+
* the `/v1/build/*` request/response models. Built on the protocol wire types
|
|
8
|
+
* imported from the `mthds/protocol` subpath.
|
|
9
|
+
*/
|
|
10
|
+
import type { InvalidValidationReport, RunResultExecute, ValidationReport } from "mthds/protocol";
|
|
11
|
+
export interface DictStuff {
|
|
12
|
+
concept: string;
|
|
13
|
+
content: unknown;
|
|
14
|
+
}
|
|
15
|
+
export interface DictWorkingMemory {
|
|
16
|
+
root: Record<string, DictStuff>;
|
|
17
|
+
aliases: Record<string, string>;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Serialized pipe output — mirror of python's `DictPipeOutputAbstract`
|
|
21
|
+
* (`{working_memory, pipeline_run_id}`). NOTE: the inner `pipeline_run_id` is a
|
|
22
|
+
* runtime-internal field produced by the pipelex runtime inside the
|
|
23
|
+
* `pipe_output` payload — it deliberately keeps its name (runtime internals are
|
|
24
|
+
* out of the wire-rename scope).
|
|
25
|
+
*/
|
|
26
|
+
export interface DictPipeOutput {
|
|
27
|
+
working_memory: DictWorkingMemory;
|
|
28
|
+
pipeline_run_id: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* The default `RunResultExecute` binding — the concrete execute result with a
|
|
32
|
+
* Dict-serialized output. Extension fields (e.g. `main_stuff_name`) ride the
|
|
33
|
+
* protocol's extension-open response.
|
|
34
|
+
*/
|
|
35
|
+
export type DictRunResultExecute = RunResultExecute<DictPipeOutput>;
|
|
36
|
+
/** Per-pipe dry-run verdict in `validated_pipes[]` — mirror of pipelex's `DryRunStatus`. */
|
|
37
|
+
export type DryRunStatus = "SUCCESS" | "FAILURE" | "SKIPPED";
|
|
38
|
+
/** One entry of `PipelexValidationReport.validated_pipes` — `{pipe_ref, status}`. */
|
|
39
|
+
export interface ValidatedPipeEntry {
|
|
40
|
+
/** Namespaced `pipe_ref` (`domain.code`) — never the bare code. */
|
|
41
|
+
pipe_ref: string;
|
|
42
|
+
status: DryRunStatus;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Pipelex's `POST /v1/validate` 200 body for a VALID bundle — the canonical
|
|
46
|
+
* `PipelexValidationReport` (typed extension over the protocol's `ValidationReport`,
|
|
47
|
+
* carrying its `is_valid: true` discriminant) plus the route's wire-only extras
|
|
48
|
+
* (`message`, the `mthds_contents` echo). Field names follow the MTHDS brand
|
|
49
|
+
* boundary — blueprints/graphs are language artifacts, so no `pipelex_` prefix
|
|
50
|
+
* inside this envelope.
|
|
51
|
+
*
|
|
52
|
+
* `bundle_blueprint`, `pipe_io_contracts`, and `graph_spec` stay opaque transport
|
|
53
|
+
* (`Record<string, unknown>` / `unknown`): their canonical schemas are owned
|
|
54
|
+
* elsewhere (the runtime's blueprint models; `@pipelex/mthds-ui` owns `GraphSpec`).
|
|
55
|
+
* Inherits the extension index signature, so any further server field is preserved.
|
|
56
|
+
*/
|
|
57
|
+
export interface PipelexValidationReport extends ValidationReport {
|
|
58
|
+
/** The batch's primary blueprint (first declaring `main_pipe`, else first). */
|
|
59
|
+
bundle_blueprint: Record<string, unknown>;
|
|
60
|
+
/** Per-pipe input/output contracts, keyed by namespaced `pipe_ref` (`domain.code`). */
|
|
61
|
+
pipe_io_contracts: Record<string, unknown>;
|
|
62
|
+
/** Best-effort execution graph of the main pipe; `null` with no `main_pipe` or on degrade. */
|
|
63
|
+
graph_spec: unknown;
|
|
64
|
+
/** Per-pipe dry-run sweep outcomes. */
|
|
65
|
+
validated_pipes: ValidatedPipeEntry[];
|
|
66
|
+
/** Qualified refs of pipes still declared as `PipeSignature`. */
|
|
67
|
+
pending_signatures: string[];
|
|
68
|
+
/** `not pending_signatures` — whether the validated library is complete enough to run. */
|
|
69
|
+
is_runnable: boolean;
|
|
70
|
+
/** Route extra: status message. */
|
|
71
|
+
message: string;
|
|
72
|
+
/** Route extra: echo of the submitted `mthds_contents`. */
|
|
73
|
+
mthds_contents?: string[];
|
|
74
|
+
/**
|
|
75
|
+
* Opt-in Pipelex-API presentation extra: the server-rendered Markdown view of the
|
|
76
|
+
* verdict, present only when the request asked for it (`render: ["markdown"]`).
|
|
77
|
+
* Absent by default. Rendered once server-side by pipelex's shared renderer, so it
|
|
78
|
+
* matches the local CLI's `--format markdown` output in format/structure.
|
|
79
|
+
*/
|
|
80
|
+
rendered_markdown?: string;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Pipelex's `POST /v1/validate` 200 body for an INVALID bundle — the `is_valid: false`
|
|
84
|
+
* arm of the response union, narrowing the protocol's `InvalidValidationReport` to the
|
|
85
|
+
* closed-vocabulary `ValidationErrorItem[]`. The structural artifacts of the valid arm
|
|
86
|
+
* are absent (they don't exist when load/parse/wiring failed); `validation_errors[]` is
|
|
87
|
+
* non-empty on every invalid verdict (the structured-info invariant — even a parse-level
|
|
88
|
+
* failure carries one source-less `blueprint_validation` residual).
|
|
89
|
+
*/
|
|
90
|
+
export interface PipelexInvalidReport extends InvalidValidationReport {
|
|
91
|
+
/** Structured per-error diagnostics, built by pipelex's one shared builder. */
|
|
92
|
+
validation_errors: ValidationErrorItem[];
|
|
93
|
+
/**
|
|
94
|
+
* Opt-in Pipelex-API presentation extra: the server-rendered Markdown view of the
|
|
95
|
+
* invalid verdict (`# Validation failed` + the `validation_errors`), present only
|
|
96
|
+
* when the request asked for it (`render: ["markdown"]`). Absent by default.
|
|
97
|
+
*/
|
|
98
|
+
rendered_markdown?: string;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* The Pipelex `POST /v1/validate` 200 response — the discriminated union the
|
|
102
|
+
* `PipelexApiClient.validate` returns, keyed on `is_valid`. Narrows the protocol's
|
|
103
|
+
* `ValidationResult` to Pipelex's typed arms.
|
|
104
|
+
*/
|
|
105
|
+
export type PipelexValidationResult = PipelexValidationReport | PipelexInvalidReport;
|
|
106
|
+
/**
|
|
107
|
+
* Which validation stage produced a `ValidationErrorItem` — mirror of pipelex's
|
|
108
|
+
* closed `ValidationErrorCategory` set. `pipe_factory` and graph-level `dry_run`
|
|
109
|
+
* items carry no `source`; map those by `domain_code` / `pipe_code`. The other
|
|
110
|
+
* categories carry `source` when the runtime can attribute one.
|
|
111
|
+
*/
|
|
112
|
+
export type ValidationErrorCategory = "blueprint_validation" | "pipe_factory" | "pipe_validation" | "dry_run";
|
|
113
|
+
/**
|
|
114
|
+
* One structured bundle-validation error — mirror of pipelex's `ValidationErrorItem`.
|
|
115
|
+
* Carried by `PipelexInvalidReport.validation_errors[]` on the **200** invalid arm of
|
|
116
|
+
* `POST /v1/validate` (NOT a 422 — an invalid bundle is a produced verdict). The same
|
|
117
|
+
* typed item also rides the build routes' 422 problem bodies (`ApiResponseError.validationErrors`).
|
|
118
|
+
*
|
|
119
|
+
* Only `category` and `message` are always present; the rest are populated per
|
|
120
|
+
* `category` and dropped from the wire when unset (`exclude_none` server-side).
|
|
121
|
+
* `source` is the declaring file path (CLI) or the per-content `mthds_sources` name
|
|
122
|
+
* the API threads onto the in-memory load path — the owning file for cross-file
|
|
123
|
+
* diagnostics.
|
|
124
|
+
*/
|
|
125
|
+
export interface ValidationErrorItem {
|
|
126
|
+
category: ValidationErrorCategory;
|
|
127
|
+
message: string;
|
|
128
|
+
error_type?: string;
|
|
129
|
+
pipe_code?: string;
|
|
130
|
+
concept_code?: string;
|
|
131
|
+
domain_code?: string;
|
|
132
|
+
source?: string;
|
|
133
|
+
field_path?: string;
|
|
134
|
+
field_name?: string;
|
|
135
|
+
variable_names?: string[];
|
|
136
|
+
missing_concept_code?: string;
|
|
137
|
+
declared_concepts?: string[];
|
|
138
|
+
}
|
|
139
|
+
export type ConceptRepresentationFormat = "json" | "python" | "schema";
|
|
140
|
+
export interface BuildInputsRequest {
|
|
141
|
+
mthds_contents: string[];
|
|
142
|
+
pipe_code: string;
|
|
143
|
+
}
|
|
144
|
+
export interface BuildOutputRequest {
|
|
145
|
+
mthds_contents: string[];
|
|
146
|
+
pipe_code: string;
|
|
147
|
+
format?: ConceptRepresentationFormat;
|
|
148
|
+
}
|
|
149
|
+
export interface BuildRunnerRequest {
|
|
150
|
+
mthds_contents: string[];
|
|
151
|
+
pipe_code: string;
|
|
152
|
+
}
|
|
153
|
+
export interface ConceptRequest {
|
|
154
|
+
spec: Record<string, unknown>;
|
|
155
|
+
}
|
|
156
|
+
export interface PipeSpecRequest {
|
|
157
|
+
pipe_type: string;
|
|
158
|
+
spec: Record<string, unknown>;
|
|
159
|
+
}
|
|
160
|
+
export interface BuildRunnerResponse {
|
|
161
|
+
python_code: string;
|
|
162
|
+
pipe_code: string;
|
|
163
|
+
success: boolean;
|
|
164
|
+
message: string;
|
|
165
|
+
}
|
|
166
|
+
export interface ConceptResponse {
|
|
167
|
+
success: boolean;
|
|
168
|
+
concept_code: string;
|
|
169
|
+
toml: string;
|
|
170
|
+
}
|
|
171
|
+
export interface PipeSpecResponse {
|
|
172
|
+
success: boolean;
|
|
173
|
+
pipe_code: string;
|
|
174
|
+
pipe_type: string;
|
|
175
|
+
toml: string;
|
|
176
|
+
}
|
package/dist/models.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pipelex wire models — the concrete JSON shapes `PipelexApiClient` deals in.
|
|
3
|
+
*
|
|
4
|
+
* Holds the Dict-serialized protocol concretes (`DictStuff` / `DictWorkingMemory`
|
|
5
|
+
* / `DictPipeOutput` and the default `RunResultExecute` binding), the Pipelex
|
|
6
|
+
* `/v1/validate` surface (`PipelexValidationResult` + `ValidationErrorItem`), and
|
|
7
|
+
* the `/v1/build/*` request/response models. Built on the protocol wire types
|
|
8
|
+
* imported from the `mthds/protocol` subpath.
|
|
9
|
+
*/
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=models.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"models.js","sourceRoot":"","sources":["../src/models.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG"}
|