@typeship-ax/cli 0.6.0 → 0.8.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/api.json +5597 -3010
- package/api.md +433 -54
- package/dist/cli-agent.d.ts +9 -1
- package/dist/cli-agent.d.ts.map +1 -1
- package/dist/cli-agent.js +26 -9
- package/dist/cli.js +83 -232
- package/dist/core/http.d.ts +6 -92
- package/dist/core/http.d.ts.map +1 -1
- package/dist/core/http.js +70 -209
- package/dist/core/pagination.d.ts.map +1 -1
- package/dist/core/pagination.js +6 -34
- package/dist/dates.d.ts +0 -2
- package/dist/dates.d.ts.map +1 -1
- package/dist/dates.js +0 -1
- package/dist/docs.d.ts +11 -0
- package/dist/docs.d.ts.map +1 -0
- package/dist/docs.js +114 -0
- package/dist/errors.d.ts +27 -27
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +7 -7
- package/dist/index.d.ts +19 -11
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +23 -13
- package/dist/ops.d.ts +5 -0
- package/dist/ops.d.ts.map +1 -1
- package/dist/ops.js +31 -17
- package/dist/resources/account.d.ts +2 -2
- package/dist/resources/account.d.ts.map +1 -1
- package/dist/resources/api-keys.d.ts +10 -5
- package/dist/resources/api-keys.d.ts.map +1 -1
- package/dist/resources/api-keys.js +3 -1
- package/dist/resources/definition-revisions.d.ts +58 -0
- package/dist/resources/definition-revisions.d.ts.map +1 -0
- package/dist/resources/definition-revisions.js +110 -0
- package/dist/resources/definitions.d.ts +24 -0
- package/dist/resources/definitions.d.ts.map +1 -0
- package/dist/resources/definitions.js +51 -0
- package/dist/resources/generate.d.ts +5 -5
- package/dist/resources/generate.d.ts.map +1 -1
- package/dist/resources/generate.js +3 -3
- package/dist/resources/generations.d.ts +3 -3
- package/dist/resources/generations.d.ts.map +1 -1
- package/dist/resources/generations.js +1 -1
- package/dist/resources/projects.d.ts +66 -26
- package/dist/resources/projects.d.ts.map +1 -1
- package/dist/resources/projects.js +87 -13
- package/dist/resources/targets.d.ts +86 -0
- package/dist/resources/targets.d.ts.map +1 -0
- package/dist/resources/targets.js +184 -0
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +119 -62
- package/dist/types.d.ts +1761 -222
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +9 -3
- package/package.json +1 -1
- package/src/cli-agent.ts +28 -11
- package/src/cli.ts +89 -233
- package/src/core/http.ts +75 -293
- package/src/core/pagination.ts +6 -30
- package/src/dates.ts +0 -1
- package/src/docs.ts +101 -0
- package/src/errors.ts +30 -30
- package/src/index.ts +23 -13
- package/src/ops.ts +43 -17
- package/src/resources/account.ts +3 -3
- package/src/resources/api-keys.ts +22 -7
- package/src/resources/definition-revisions.ts +198 -0
- package/src/resources/definitions.ts +97 -0
- package/src/resources/generate.ts +6 -6
- package/src/resources/generations.ts +4 -4
- package/src/resources/projects.ts +182 -37
- package/src/resources/targets.ts +346 -0
- package/src/schemas.ts +119 -62
- package/src/types.ts +1947 -281
- package/dist/resources/spec-revisions.d.ts +0 -47
- package/dist/resources/spec-revisions.d.ts.map +0 -1
- package/dist/resources/spec-revisions.js +0 -90
- package/src/resources/spec-revisions.ts +0 -150
package/dist/docs.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** Shared documentation-fetch boundary for generated CLI and MCP surfaces. */
|
|
2
|
+
export declare const MAX_DOCS_TEXT_BYTES = 2000000;
|
|
3
|
+
export declare function resolveDocsPageUrl(base: string | null, pathOrFile: string): string | null;
|
|
4
|
+
/** Resolve conventional docs files while honoring an explicitly configured
|
|
5
|
+
* llms.txt location. Guide links may live on either the docs-site origin or
|
|
6
|
+
* the index origin; no other origin is accepted. */
|
|
7
|
+
export declare function resolveDocsContentUrl(base: string | null, indexUrl: string | null, pathOrFile: string): string | null;
|
|
8
|
+
/** Markdown-preferred fetch with same-origin redirects, one deadline, and a
|
|
9
|
+
* streaming byte cap. Returns null for every invalid or failed read. */
|
|
10
|
+
export declare function fetchDocsText(url: string): Promise<string | null>;
|
|
11
|
+
//# sourceMappingURL=docs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"docs.d.ts","sourceRoot":"","sources":["../src/docs.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAE9E,eAAO,MAAM,mBAAmB,UAAY,CAAC;AAE7C,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,EAAE,UAAU,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAYzF;AAED;;oDAEoD;AACpD,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,MAAM,GAAG,IAAI,EACnB,QAAQ,EAAE,MAAM,GAAG,IAAI,EACvB,UAAU,EAAE,MAAM,GACjB,MAAM,GAAG,IAAI,CAkBf;AAcD;wEACwE;AACxE,wBAAsB,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAyCvE"}
|
package/dist/docs.js
ADDED
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
/** Shared documentation-fetch boundary for generated CLI and MCP surfaces. */
|
|
2
|
+
export const MAX_DOCS_TEXT_BYTES = 2_000_000;
|
|
3
|
+
export function resolveDocsPageUrl(base, pathOrFile) {
|
|
4
|
+
if (base === null)
|
|
5
|
+
return null;
|
|
6
|
+
try {
|
|
7
|
+
const baseUrl = new URL(base);
|
|
8
|
+
if ((baseUrl.protocol !== "https:" && baseUrl.protocol !== "http:") || baseUrl.username || baseUrl.password)
|
|
9
|
+
return null;
|
|
10
|
+
const target = /^https?:\/\//.test(pathOrFile)
|
|
11
|
+
? new URL(pathOrFile)
|
|
12
|
+
: new URL(pathOrFile.replace(/^\/+/, ""), baseUrl.toString().replace(/\/+$/, "") + "/");
|
|
13
|
+
return target.origin === baseUrl.origin && !target.username && !target.password ? target.toString() : null;
|
|
14
|
+
}
|
|
15
|
+
catch {
|
|
16
|
+
return null;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
/** Resolve conventional docs files while honoring an explicitly configured
|
|
20
|
+
* llms.txt location. Guide links may live on either the docs-site origin or
|
|
21
|
+
* the index origin; no other origin is accepted. */
|
|
22
|
+
export function resolveDocsContentUrl(base, indexUrl, pathOrFile) {
|
|
23
|
+
const exactIndex = safeHttpUrl(indexUrl);
|
|
24
|
+
if (pathOrFile === "llms.txt" && exactIndex)
|
|
25
|
+
return exactIndex;
|
|
26
|
+
if (pathOrFile === "llms-full.txt" && exactIndex) {
|
|
27
|
+
try {
|
|
28
|
+
return new URL("llms-full.txt", exactIndex).toString();
|
|
29
|
+
}
|
|
30
|
+
catch {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
const primary = resolveDocsPageUrl(base, pathOrFile);
|
|
35
|
+
if (primary)
|
|
36
|
+
return primary;
|
|
37
|
+
if (!exactIndex)
|
|
38
|
+
return null;
|
|
39
|
+
try {
|
|
40
|
+
const target = /^https?:\/\//.test(pathOrFile)
|
|
41
|
+
? new URL(pathOrFile)
|
|
42
|
+
: new URL(pathOrFile.replace(/^\/+/, ""), exactIndex);
|
|
43
|
+
const allowed = new URL(exactIndex);
|
|
44
|
+
return target.origin === allowed.origin && !target.username && !target.password ? target.toString() : null;
|
|
45
|
+
}
|
|
46
|
+
catch {
|
|
47
|
+
return null;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
function safeHttpUrl(value) {
|
|
51
|
+
if (!value)
|
|
52
|
+
return null;
|
|
53
|
+
try {
|
|
54
|
+
const parsed = new URL(value);
|
|
55
|
+
return (parsed.protocol === "https:" || parsed.protocol === "http:") && !parsed.username && !parsed.password
|
|
56
|
+
? parsed.toString()
|
|
57
|
+
: null;
|
|
58
|
+
}
|
|
59
|
+
catch {
|
|
60
|
+
return null;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
/** Markdown-preferred fetch with same-origin redirects, one deadline, and a
|
|
64
|
+
* streaming byte cap. Returns null for every invalid or failed read. */
|
|
65
|
+
export async function fetchDocsText(url) {
|
|
66
|
+
try {
|
|
67
|
+
const initial = new URL(url);
|
|
68
|
+
if ((initial.protocol !== "https:" && initial.protocol !== "http:") || initial.username || initial.password)
|
|
69
|
+
return null;
|
|
70
|
+
const allowedOrigin = initial.origin;
|
|
71
|
+
let current = initial.toString();
|
|
72
|
+
const signal = AbortSignal.timeout(10_000);
|
|
73
|
+
for (let redirects = 0; redirects <= 3; redirects += 1) {
|
|
74
|
+
const response = await fetch(current, { headers: { Accept: "text/markdown, text/plain, */*" }, redirect: "manual", signal });
|
|
75
|
+
if (response.status >= 300 && response.status < 400) {
|
|
76
|
+
const location = response.headers.get("location");
|
|
77
|
+
if (!location || redirects === 3)
|
|
78
|
+
return null;
|
|
79
|
+
const next = new URL(location, current);
|
|
80
|
+
if (next.origin !== allowedOrigin || next.username || next.password)
|
|
81
|
+
return null;
|
|
82
|
+
current = next.toString();
|
|
83
|
+
continue;
|
|
84
|
+
}
|
|
85
|
+
if (!response.ok)
|
|
86
|
+
return null;
|
|
87
|
+
const declared = Number(response.headers.get("content-length"));
|
|
88
|
+
if (Number.isFinite(declared) && declared > MAX_DOCS_TEXT_BYTES)
|
|
89
|
+
return null;
|
|
90
|
+
if (!response.body)
|
|
91
|
+
return "";
|
|
92
|
+
const reader = response.body.getReader();
|
|
93
|
+
const decoder = new TextDecoder();
|
|
94
|
+
let bytes = 0;
|
|
95
|
+
let text = "";
|
|
96
|
+
for (;;) {
|
|
97
|
+
const chunk = await reader.read();
|
|
98
|
+
if (chunk.done)
|
|
99
|
+
break;
|
|
100
|
+
bytes += chunk.value.byteLength;
|
|
101
|
+
if (bytes > MAX_DOCS_TEXT_BYTES) {
|
|
102
|
+
await reader.cancel();
|
|
103
|
+
return null;
|
|
104
|
+
}
|
|
105
|
+
text += decoder.decode(chunk.value, { stream: true });
|
|
106
|
+
}
|
|
107
|
+
return text + decoder.decode();
|
|
108
|
+
}
|
|
109
|
+
return null;
|
|
110
|
+
}
|
|
111
|
+
catch {
|
|
112
|
+
return null;
|
|
113
|
+
}
|
|
114
|
+
}
|
package/dist/errors.d.ts
CHANGED
|
@@ -1,81 +1,81 @@
|
|
|
1
1
|
import { ApiError, type ResponseMeta } from "./core/http.js";
|
|
2
|
-
import type {
|
|
3
|
-
export { ApiError,
|
|
2
|
+
import type { ErrorModelRead } from "./types.js";
|
|
3
|
+
export { ApiError, TransportError, UnexpectedApiError, ValidationError, type Violation, unwrap } from "./core/http.js";
|
|
4
4
|
/**
|
|
5
|
-
* The request body,
|
|
5
|
+
* The request body, Definition source, target selection, or package name is invalid.
|
|
6
6
|
* Raised for HTTP 400 responses.
|
|
7
7
|
*/
|
|
8
|
-
export declare class BadRequestError extends ApiError<400,
|
|
9
|
-
constructor(body:
|
|
8
|
+
export declare class BadRequestError extends ApiError<400, ErrorModelRead> {
|
|
9
|
+
constructor(body: ErrorModelRead, response: ResponseMeta);
|
|
10
10
|
}
|
|
11
11
|
/**
|
|
12
12
|
* Missing, invalid, expired, or revoked credentials.
|
|
13
13
|
* Raised for HTTP 401 responses.
|
|
14
14
|
*/
|
|
15
|
-
export declare class UnauthorizedError extends ApiError<401,
|
|
16
|
-
constructor(body:
|
|
15
|
+
export declare class UnauthorizedError extends ApiError<401, ErrorModelRead> {
|
|
16
|
+
constructor(body: ErrorModelRead, response: ResponseMeta);
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
19
|
* The credentials are valid but cannot act on the requested organization.
|
|
20
20
|
* Raised for HTTP 403 responses.
|
|
21
21
|
*/
|
|
22
|
-
export declare class ForbiddenError extends ApiError<403,
|
|
23
|
-
constructor(body:
|
|
22
|
+
export declare class ForbiddenError extends ApiError<403, ErrorModelRead> {
|
|
23
|
+
constructor(body: ErrorModelRead, response: ResponseMeta);
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
26
|
* Spec exceeds the 10MB limit.
|
|
27
27
|
* Raised for HTTP 413 responses.
|
|
28
28
|
*/
|
|
29
|
-
export declare class PayloadTooLargeError extends ApiError<413,
|
|
30
|
-
constructor(body:
|
|
29
|
+
export declare class PayloadTooLargeError extends ApiError<413, ErrorModelRead> {
|
|
30
|
+
constructor(body: ErrorModelRead, response: ResponseMeta);
|
|
31
31
|
}
|
|
32
32
|
/**
|
|
33
|
-
* The
|
|
33
|
+
* The Definition could not be resolved or understood.
|
|
34
34
|
* Raised for HTTP 422 responses.
|
|
35
35
|
*/
|
|
36
|
-
export declare class UnprocessableEntityError extends ApiError<422,
|
|
37
|
-
constructor(body:
|
|
36
|
+
export declare class UnprocessableEntityError extends ApiError<422, ErrorModelRead> {
|
|
37
|
+
constructor(body: ErrorModelRead, response: ResponseMeta);
|
|
38
38
|
}
|
|
39
39
|
/**
|
|
40
40
|
* Too many requests. Wait for Retry-After before retrying.
|
|
41
41
|
* Raised for HTTP 429 responses.
|
|
42
42
|
*/
|
|
43
|
-
export declare class RateLimitedError extends ApiError<429,
|
|
44
|
-
constructor(body:
|
|
43
|
+
export declare class RateLimitedError extends ApiError<429, ErrorModelRead> {
|
|
44
|
+
constructor(body: ErrorModelRead, response: ResponseMeta);
|
|
45
45
|
}
|
|
46
46
|
/**
|
|
47
47
|
* Unexpected error.
|
|
48
48
|
* Raised for "default" responses.
|
|
49
49
|
*/
|
|
50
|
-
export declare class ApiResponseError extends ApiError<number,
|
|
51
|
-
constructor(body:
|
|
50
|
+
export declare class ApiResponseError extends ApiError<number, ErrorModelRead> {
|
|
51
|
+
constructor(body: ErrorModelRead, response: ResponseMeta);
|
|
52
52
|
}
|
|
53
53
|
/**
|
|
54
|
-
* The plan does not include another project or the requested
|
|
54
|
+
* The plan does not include another project or the requested target configuration.
|
|
55
55
|
* Raised for HTTP 402 responses.
|
|
56
56
|
*/
|
|
57
|
-
export declare class PaymentRequiredError extends ApiError<402,
|
|
58
|
-
constructor(body:
|
|
57
|
+
export declare class PaymentRequiredError extends ApiError<402, ErrorModelRead> {
|
|
58
|
+
constructor(body: ErrorModelRead, response: ResponseMeta);
|
|
59
59
|
}
|
|
60
60
|
/**
|
|
61
61
|
* The Idempotency-Key was already used with different request parameters.
|
|
62
62
|
* Raised for HTTP 409 responses.
|
|
63
63
|
*/
|
|
64
|
-
export declare class ConflictError extends ApiError<409,
|
|
65
|
-
constructor(body:
|
|
64
|
+
export declare class ConflictError extends ApiError<409, ErrorModelRead> {
|
|
65
|
+
constructor(body: ErrorModelRead, response: ResponseMeta);
|
|
66
66
|
}
|
|
67
67
|
/**
|
|
68
68
|
* The original idempotent request is temporarily unavailable.
|
|
69
69
|
* Raised for HTTP 500 responses.
|
|
70
70
|
*/
|
|
71
|
-
export declare class InternalServerError extends ApiError<500,
|
|
72
|
-
constructor(body:
|
|
71
|
+
export declare class InternalServerError extends ApiError<500, ErrorModelRead> {
|
|
72
|
+
constructor(body: ErrorModelRead, response: ResponseMeta);
|
|
73
73
|
}
|
|
74
74
|
/**
|
|
75
75
|
* No such resource in this account.
|
|
76
76
|
* Raised for HTTP 404 responses.
|
|
77
77
|
*/
|
|
78
|
-
export declare class NotFoundError extends ApiError<404,
|
|
79
|
-
constructor(body:
|
|
78
|
+
export declare class NotFoundError extends ApiError<404, ErrorModelRead> {
|
|
79
|
+
constructor(body: ErrorModelRead, response: ResponseMeta);
|
|
80
80
|
}
|
|
81
81
|
//# sourceMappingURL=errors.d.ts.map
|
package/dist/errors.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC7D,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC7D,OAAO,KAAK,EAAc,cAAc,EAAE,MAAM,YAAY,CAAC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Aa,aAAc,SAAQ,QAAQ,CAAC,GAAG,EAAE,cAAc,CAAC;gBAClD,IAAI,EAAE,cAAc,EAAE,QAAQ,EAAE,YAAY;CAGzD;AAED;;;GAGG;AACH,qBAAa,mBAAoB,SAAQ,QAAQ,CAAC,GAAG,EAAE,cAAc,CAAC;gBACxD,IAAI,EAAE,cAAc,EAAE,QAAQ,EAAE,YAAY;CAGzD;AAED;;;GAGG;AACH,qBAAa,aAAc,SAAQ,QAAQ,CAAC,GAAG,EAAE,cAAc,CAAC;gBAClD,IAAI,EAAE,cAAc,EAAE,QAAQ,EAAE,YAAY;CAGzD"}
|
package/dist/errors.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// typeship — typed error classes.
|
|
2
2
|
// Generated by typeship — https://typeship.dev — do not edit by hand.
|
|
3
3
|
import { ApiError } from "./core/http.js";
|
|
4
|
-
export { ApiError,
|
|
4
|
+
export { ApiError, TransportError, UnexpectedApiError, ValidationError, unwrap } from "./core/http.js";
|
|
5
5
|
/**
|
|
6
|
-
* The request body,
|
|
6
|
+
* The request body, Definition source, target selection, or package name is invalid.
|
|
7
7
|
* Raised for HTTP 400 responses.
|
|
8
8
|
*/
|
|
9
9
|
export class BadRequestError extends ApiError {
|
|
10
10
|
constructor(body, response) {
|
|
11
|
-
super("The request body,
|
|
11
|
+
super("The request body, Definition source, target selection, or package name is invalid.", 400, body, response);
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
@@ -39,12 +39,12 @@ export class PayloadTooLargeError extends ApiError {
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
/**
|
|
42
|
-
* The
|
|
42
|
+
* The Definition could not be resolved or understood.
|
|
43
43
|
* Raised for HTTP 422 responses.
|
|
44
44
|
*/
|
|
45
45
|
export class UnprocessableEntityError extends ApiError {
|
|
46
46
|
constructor(body, response) {
|
|
47
|
-
super("The
|
|
47
|
+
super("The Definition could not be resolved or understood.", 422, body, response);
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
/**
|
|
@@ -66,12 +66,12 @@ export class ApiResponseError extends ApiError {
|
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
/**
|
|
69
|
-
* The plan does not include another project or the requested
|
|
69
|
+
* The plan does not include another project or the requested target configuration.
|
|
70
70
|
* Raised for HTTP 402 responses.
|
|
71
71
|
*/
|
|
72
72
|
export class PaymentRequiredError extends ApiError {
|
|
73
73
|
constructor(body, response) {
|
|
74
|
-
super("The plan does not include another project or the requested
|
|
74
|
+
super("The plan does not include another project or the requested target configuration.", 402, body, response);
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { type DebugEvent, type RequestContext } from "./core/http.js";
|
|
2
2
|
import { GenerateResource } from "./resources/generate.js";
|
|
3
3
|
import { ProjectsResource } from "./resources/projects.js";
|
|
4
|
+
import { DefinitionsResource } from "./resources/definitions.js";
|
|
5
|
+
import { TargetsResource } from "./resources/targets.js";
|
|
4
6
|
import { GenerationsResource } from "./resources/generations.js";
|
|
5
|
-
import {
|
|
7
|
+
import { DefinitionRevisionsResource } from "./resources/definition-revisions.js";
|
|
6
8
|
import { AccountResource } from "./resources/account.js";
|
|
7
9
|
import { ApiKeysResource } from "./resources/api-keys.js";
|
|
8
10
|
/** This package's version, also sent as the `User-Agent`. */
|
|
9
|
-
export declare const VERSION = "0.
|
|
11
|
+
export declare const VERSION = "0.8.0";
|
|
10
12
|
export interface ClientOptions {
|
|
11
13
|
/** Override the server URL. Default: `https://typeship.dev/api/v1` */
|
|
12
14
|
baseUrl?: string;
|
|
@@ -60,21 +62,25 @@ export interface ClientOptions {
|
|
|
60
62
|
};
|
|
61
63
|
}
|
|
62
64
|
/**
|
|
63
|
-
* typeship — v0.
|
|
65
|
+
* typeship — v0.8.0
|
|
64
66
|
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
+
* Resolve an OpenAPI or GraphQL Definition, diagnose it, and keep every
|
|
68
|
+
* selected SDK, CLI, and MCP Target current.
|
|
67
69
|
*
|
|
68
|
-
* Every operation but one requires
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
*
|
|
70
|
+
* Every operation but one requires a bearer credential: an organization
|
|
71
|
+
* API key from the console, or an OAuth access token carrying the operation's
|
|
72
|
+
* read, generate, or write capability and the organization selected during
|
|
73
|
+
* consent. OAuth grants cannot switch organizations after consent. A browser
|
|
74
|
+
* session is not a credential for this API. The exception is POST /generate,
|
|
75
|
+
* which works anonymously with the free plan's limits.
|
|
72
76
|
*/
|
|
73
77
|
export declare class TypeshipClient {
|
|
74
78
|
readonly generate: GenerateResource;
|
|
75
79
|
readonly projects: ProjectsResource;
|
|
80
|
+
readonly definitions: DefinitionsResource;
|
|
81
|
+
readonly targets: TargetsResource;
|
|
76
82
|
readonly generations: GenerationsResource;
|
|
77
|
-
readonly
|
|
83
|
+
readonly definitionRevisions: DefinitionRevisionsResource;
|
|
78
84
|
readonly account: AccountResource;
|
|
79
85
|
readonly apiKeys: ApiKeysResource;
|
|
80
86
|
constructor(options?: ClientOptions);
|
|
@@ -85,8 +91,10 @@ export { formatDebugEvent, type ApiResult, type AuthValue, type DebugEvent, type
|
|
|
85
91
|
export { Page, PagePromise } from "./core/pagination.js";
|
|
86
92
|
export * from "./resources/generate.js";
|
|
87
93
|
export * from "./resources/projects.js";
|
|
94
|
+
export * from "./resources/definitions.js";
|
|
95
|
+
export * from "./resources/targets.js";
|
|
88
96
|
export * from "./resources/generations.js";
|
|
89
|
-
export * from "./resources/
|
|
97
|
+
export * from "./resources/definition-revisions.js";
|
|
90
98
|
export * from "./resources/account.js";
|
|
91
99
|
export * from "./resources/api-keys.js";
|
|
92
100
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[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EtB,OAAO,GAAE,aAAkB;CA6CxC;AAED,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,OAAO,EACL,gBAAgB,EAChB,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,UAAU,EACf,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,YAAY,GAClB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEzD,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qCAAqC,CAAC;AACpD,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -4,29 +4,35 @@ import { HttpCore, formatDebugEvent, bearerAuth, } from "./core/http.js";
|
|
|
4
4
|
import { DEFS, SCHEMAS } from "./schemas.js";
|
|
5
5
|
import { GenerateResource } from "./resources/generate.js";
|
|
6
6
|
import { ProjectsResource } from "./resources/projects.js";
|
|
7
|
+
import { DefinitionsResource } from "./resources/definitions.js";
|
|
8
|
+
import { TargetsResource } from "./resources/targets.js";
|
|
7
9
|
import { GenerationsResource } from "./resources/generations.js";
|
|
8
|
-
import {
|
|
10
|
+
import { DefinitionRevisionsResource } from "./resources/definition-revisions.js";
|
|
9
11
|
import { AccountResource } from "./resources/account.js";
|
|
10
12
|
import { ApiKeysResource } from "./resources/api-keys.js";
|
|
11
13
|
/** This package's version, also sent as the `User-Agent`. */
|
|
12
|
-
export const VERSION = "0.
|
|
13
|
-
const USER_AGENT = "@typeship-ax/cli/0.
|
|
14
|
+
export const VERSION = "0.8.0";
|
|
15
|
+
const USER_AGENT = "@typeship-ax/cli/0.8.0 (typeship)";
|
|
14
16
|
/**
|
|
15
|
-
* typeship — v0.
|
|
17
|
+
* typeship — v0.8.0
|
|
16
18
|
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
+
* Resolve an OpenAPI or GraphQL Definition, diagnose it, and keep every
|
|
20
|
+
* selected SDK, CLI, and MCP Target current.
|
|
19
21
|
*
|
|
20
|
-
* Every operation but one requires
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
22
|
+
* Every operation but one requires a bearer credential: an organization
|
|
23
|
+
* API key from the console, or an OAuth access token carrying the operation's
|
|
24
|
+
* read, generate, or write capability and the organization selected during
|
|
25
|
+
* consent. OAuth grants cannot switch organizations after consent. A browser
|
|
26
|
+
* session is not a credential for this API. The exception is POST /generate,
|
|
27
|
+
* which works anonymously with the free plan's limits.
|
|
24
28
|
*/
|
|
25
29
|
export class TypeshipClient {
|
|
26
30
|
generate;
|
|
27
31
|
projects;
|
|
32
|
+
definitions;
|
|
33
|
+
targets;
|
|
28
34
|
generations;
|
|
29
|
-
|
|
35
|
+
definitionRevisions;
|
|
30
36
|
account;
|
|
31
37
|
apiKeys;
|
|
32
38
|
constructor(options = {}) {
|
|
@@ -68,8 +74,10 @@ export class TypeshipClient {
|
|
|
68
74
|
});
|
|
69
75
|
this.generate = new GenerateResource(core);
|
|
70
76
|
this.projects = new ProjectsResource(core);
|
|
77
|
+
this.definitions = new DefinitionsResource(core);
|
|
78
|
+
this.targets = new TargetsResource(core);
|
|
71
79
|
this.generations = new GenerationsResource(core);
|
|
72
|
-
this.
|
|
80
|
+
this.definitionRevisions = new DefinitionRevisionsResource(core);
|
|
73
81
|
this.account = new AccountResource(core);
|
|
74
82
|
this.apiKeys = new ApiKeysResource(core);
|
|
75
83
|
}
|
|
@@ -80,7 +88,9 @@ export { formatDebugEvent, } from "./core/http.js";
|
|
|
80
88
|
export { Page, PagePromise } from "./core/pagination.js";
|
|
81
89
|
export * from "./resources/generate.js";
|
|
82
90
|
export * from "./resources/projects.js";
|
|
91
|
+
export * from "./resources/definitions.js";
|
|
92
|
+
export * from "./resources/targets.js";
|
|
83
93
|
export * from "./resources/generations.js";
|
|
84
|
-
export * from "./resources/
|
|
94
|
+
export * from "./resources/definition-revisions.js";
|
|
85
95
|
export * from "./resources/account.js";
|
|
86
96
|
export * from "./resources/api-keys.js";
|
package/dist/ops.d.ts
CHANGED
|
@@ -96,6 +96,11 @@ export interface OpSpec {
|
|
|
96
96
|
outputSchema?: Record<string, unknown>;
|
|
97
97
|
}
|
|
98
98
|
export declare const OPS: OpSpec[];
|
|
99
|
+
/** Operations present in the API Definition but omitted by this
|
|
100
|
+
* generation's operation cap. Kept deliberately small: enough for honest
|
|
101
|
+
* discovery and PLAN_LIMIT errors, never enough to call an absent method. */
|
|
102
|
+
export type OmittedOpSpec = Pick<OpSpec, "resource" | "method" | "command" | "commandAlias" | "tool" | "httpMethod" | "path" | "summary" | "description" | "toolDescription" | "paginated" | "select" | "safety" | "auth" | "params" | "inputSchema">;
|
|
103
|
+
export declare const OMITTED_OPS: OmittedOpSpec[];
|
|
99
104
|
/** Parameters settable once on the client (globals option): CLI/MCP fill
|
|
100
105
|
* them from flags or environment; the SDK falls back per request. */
|
|
101
106
|
export declare const GLOBALS: {
|
package/dist/ops.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ops.d.ts","sourceRoot":"","sources":["../src/ops.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,SAAS;IACxB,4DAA4D;IAC5D,IAAI,EAAE,MAAM,CAAC;IACb,2CAA2C;IAC3C,IAAI,EAAE,MAAM,CAAC;IACb,+CAA+C;IAC/C,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;IAC3C;;;uDAGmD;IACnD,IAAI,EAAE,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,CAAC;IAC7E,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,MA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