@typeship-ax/mcp 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.
Files changed (79) hide show
  1. package/README.md +1 -1
  2. package/api.json +5597 -3010
  3. package/api.md +433 -54
  4. package/dist/core/http.d.ts +6 -92
  5. package/dist/core/http.d.ts.map +1 -1
  6. package/dist/core/http.js +70 -209
  7. package/dist/core/pagination.d.ts.map +1 -1
  8. package/dist/core/pagination.js +6 -34
  9. package/dist/dates.d.ts +0 -2
  10. package/dist/dates.d.ts.map +1 -1
  11. package/dist/dates.js +0 -1
  12. package/dist/docs.d.ts +11 -0
  13. package/dist/docs.d.ts.map +1 -0
  14. package/dist/docs.js +114 -0
  15. package/dist/errors.d.ts +27 -27
  16. package/dist/errors.d.ts.map +1 -1
  17. package/dist/errors.js +7 -7
  18. package/dist/index.d.ts +19 -11
  19. package/dist/index.d.ts.map +1 -1
  20. package/dist/index.js +23 -13
  21. package/dist/mcp-protocol.d.ts +19 -24
  22. package/dist/mcp-protocol.d.ts.map +1 -1
  23. package/dist/mcp-protocol.js +160 -124
  24. package/dist/mcp.js +16 -19
  25. package/dist/ops.d.ts +5 -0
  26. package/dist/ops.d.ts.map +1 -1
  27. package/dist/ops.js +31 -17
  28. package/dist/resources/account.d.ts +2 -2
  29. package/dist/resources/account.d.ts.map +1 -1
  30. package/dist/resources/api-keys.d.ts +10 -5
  31. package/dist/resources/api-keys.d.ts.map +1 -1
  32. package/dist/resources/api-keys.js +3 -1
  33. package/dist/resources/definition-revisions.d.ts +58 -0
  34. package/dist/resources/definition-revisions.d.ts.map +1 -0
  35. package/dist/resources/definition-revisions.js +110 -0
  36. package/dist/resources/definitions.d.ts +24 -0
  37. package/dist/resources/definitions.d.ts.map +1 -0
  38. package/dist/resources/definitions.js +51 -0
  39. package/dist/resources/generate.d.ts +5 -5
  40. package/dist/resources/generate.d.ts.map +1 -1
  41. package/dist/resources/generate.js +3 -3
  42. package/dist/resources/generations.d.ts +3 -3
  43. package/dist/resources/generations.d.ts.map +1 -1
  44. package/dist/resources/generations.js +1 -1
  45. package/dist/resources/projects.d.ts +66 -26
  46. package/dist/resources/projects.d.ts.map +1 -1
  47. package/dist/resources/projects.js +87 -13
  48. package/dist/resources/targets.d.ts +86 -0
  49. package/dist/resources/targets.d.ts.map +1 -0
  50. package/dist/resources/targets.js +184 -0
  51. package/dist/schemas.d.ts.map +1 -1
  52. package/dist/schemas.js +119 -62
  53. package/dist/types.d.ts +1761 -222
  54. package/dist/types.d.ts.map +1 -1
  55. package/dist/types.js +9 -3
  56. package/package.json +1 -1
  57. package/src/core/http.ts +75 -293
  58. package/src/core/pagination.ts +6 -30
  59. package/src/dates.ts +0 -1
  60. package/src/docs.ts +101 -0
  61. package/src/errors.ts +30 -30
  62. package/src/index.ts +23 -13
  63. package/src/mcp-protocol.ts +170 -120
  64. package/src/mcp.ts +22 -22
  65. package/src/ops.ts +43 -17
  66. package/src/resources/account.ts +3 -3
  67. package/src/resources/api-keys.ts +22 -7
  68. package/src/resources/definition-revisions.ts +198 -0
  69. package/src/resources/definitions.ts +97 -0
  70. package/src/resources/generate.ts +6 -6
  71. package/src/resources/generations.ts +4 -4
  72. package/src/resources/projects.ts +182 -37
  73. package/src/resources/targets.ts +346 -0
  74. package/src/schemas.ts +119 -62
  75. package/src/types.ts +1947 -281
  76. package/dist/resources/spec-revisions.d.ts +0 -47
  77. package/dist/resources/spec-revisions.d.ts.map +0 -1
  78. package/dist/resources/spec-revisions.js +0 -90
  79. 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 { ErrorModel } from "./types.js";
3
- export { ApiError, GraphQLRequestError, TransportError, UnexpectedApiError, ValidationError, type Violation, unwrap } from "./core/http.js";
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, specification source, output selection, or package name is invalid.
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, ErrorModel> {
9
- constructor(body: ErrorModel, response: ResponseMeta);
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, ErrorModel> {
16
- constructor(body: ErrorModel, response: ResponseMeta);
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, ErrorModel> {
23
- constructor(body: ErrorModel, response: ResponseMeta);
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, ErrorModel> {
30
- constructor(body: ErrorModel, response: ResponseMeta);
29
+ export declare class PayloadTooLargeError extends ApiError<413, ErrorModelRead> {
30
+ constructor(body: ErrorModelRead, response: ResponseMeta);
31
31
  }
32
32
  /**
33
- * The spec could not be understood.
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, ErrorModel> {
37
- constructor(body: ErrorModel, response: ResponseMeta);
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, ErrorModel> {
44
- constructor(body: ErrorModel, response: ResponseMeta);
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, ErrorModel> {
51
- constructor(body: ErrorModel, response: ResponseMeta);
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 output configuration.
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, ErrorModel> {
58
- constructor(body: ErrorModel, response: ResponseMeta);
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, ErrorModel> {
65
- constructor(body: ErrorModel, response: ResponseMeta);
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, ErrorModel> {
72
- constructor(body: ErrorModel, response: ResponseMeta);
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, ErrorModel> {
79
- constructor(body: ErrorModel, response: ResponseMeta);
78
+ export declare class NotFoundError extends ApiError<404, ErrorModelRead> {
79
+ constructor(body: ErrorModelRead, response: ResponseMeta);
80
80
  }
81
81
  //# sourceMappingURL=errors.d.ts.map
@@ -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,EAAE,UAAU,EAAE,MAAM,YAAY,C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E,QAAQ,EAAE,YAAY;CAGzD;AAED;;;GAGG;AACH,qBAAa,wBAAyB,SAAQ,QAAQ,CAAC,GAAG,EAAE,cAAc,CAAC;gBAC7D,IAAI,EAAE,cAAc,EAAE,QAAQ,EAAE,YAAY;CAGzD;AAED;;;GAGG;AACH,qBAAa,gBAAiB,SAAQ,QAAQ,CAAC,GAAG,EAAE,cAAc,CAAC;gBACrD,IAAI,EAAE,cAAc,EAAE,QAAQ,EAAE,YAAY;CAGzD;AAED;;;GAGG;AACH,qBAAa,gBAAiB,SAAQ,QAAQ,CAAC,MAAM,EAAE,cAAc,CAAC;gBACxD,IAAI,EAAE,cAAc,EAAE,QAAQ,EAAE,YAAY;CAGzD;AAED;;;GAGG;AACH,qBAAa,oBAAqB,SAAQ,QAAQ,CAAC,GAAG,EAAE,cAAc,CAAC;gBACzD,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;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, GraphQLRequestError, TransportError, UnexpectedApiError, ValidationError, unwrap } from "./core/http.js";
4
+ export { ApiError, TransportError, UnexpectedApiError, ValidationError, unwrap } from "./core/http.js";
5
5
  /**
6
- * The request body, specification source, output selection, or package name is invalid.
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, specification source, output selection, or package name is invalid.", 400, body, response);
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 spec could not be understood.
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 spec could not be understood.", 422, body, response);
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 output configuration.
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 output configuration.", 402, body, response);
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 { SpecRevisionsResource } from "./resources/spec-revisions.js";
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.6.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.6.0
65
+ * typeship — v0.8.0
64
66
  *
65
- * Generate production SDKs, CLIs, and MCP servers from an OpenAPI or
66
- * GraphQL spec, and keep every selected output current.
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 an API key, created in the console and
69
- * sent as `Authorization: Bearer ak_...`. A browser session is not a
70
- * credential for this API. The exception is POST /generate, which works
71
- * anonymously with the free plan's limits.
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 specRevisions: SpecRevisionsResource;
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/spec-revisions.js";
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
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAIL,KAAK,UAAU,EACf,KAAK,cAAc,EAEpB,MAAM,gBAAgB,CAAC;AAGxB,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,6DAA6D;AAC7D,eAAO,MAAM,OAAO,UAAU,CAAC;AAG/B,MAAM,WAAW,aAAa;IAC5B,sEAAsE;IACtE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,CAAC,MAAM,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC;IACxD,2DAA2D;IAC3D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,6EAA6E;IAC7E,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,uEAAuE;IACvE,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;IACrB,uCAAuC;IACvC,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACxC;;;OAGG;IACH,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,cAAc,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9D;;;OAGG;IACH,UAAU,CAAC,EAAE,CAAC,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,cA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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 { SpecRevisionsResource } from "./resources/spec-revisions.js";
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.6.0";
13
- const USER_AGENT = "@typeship-ax/mcp/0.6.0 (typeship)";
14
+ export const VERSION = "0.8.0";
15
+ const USER_AGENT = "@typeship-ax/mcp/0.8.0 (typeship)";
14
16
  /**
15
- * typeship — v0.6.0
17
+ * typeship — v0.8.0
16
18
  *
17
- * Generate production SDKs, CLIs, and MCP servers from an OpenAPI or
18
- * GraphQL spec, and keep every selected output current.
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 an API key, created in the console and
21
- * sent as `Authorization: Bearer ak_...`. A browser session is not a
22
- * credential for this API. The exception is POST /generate, which works
23
- * anonymously with the free plan's limits.
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
- specRevisions;
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.specRevisions = new SpecRevisionsResource(core);
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/spec-revisions.js";
94
+ export * from "./resources/definition-revisions.js";
85
95
  export * from "./resources/account.js";
86
96
  export * from "./resources/api-keys.js";
@@ -161,6 +161,10 @@ export interface McpServer {
161
161
  * -32602), a ToolOutcome otherwise. Throwing yields -32603.
162
162
  */
163
163
  callTool(name: string, args: Record<string, unknown>): Promise<ToolOutcome | undefined>;
164
+ /** Optional actionable wording for an unknown tool name. The protocol
165
+ * code remains -32602; compact tool surfaces can explain how to call an
166
+ * operation without pretending that operation is absent. */
167
+ unknownToolMessage?(name: string): string;
164
168
  /** Called before a tool runs; a non-null outcome is sent instead
165
169
  * (rate limiting, entitlement). */
166
170
  beforeToolCall?(name: string): Promise<RpcOutcome | null> | RpcOutcome | null;
@@ -268,24 +272,7 @@ export declare function parseIncludeList(value: string | undefined | null): stri
268
272
  * three-tool "meta" shape (search_docs, read_docs, execute) that keeps huge
269
273
  * APIs from flooding an agent's context. Deterministic order.
270
274
  */
271
- export declare function toolDefinitions(ops: OpLike[], mode: "operations" | "meta"): ToolDefinition[];
272
- /** How big a tools/list is, as agents pay for it. Characters of JSON and a
273
- * rough token count (one token per four characters, the usual estimate for
274
- * JSON). Generation and `<bin> mcp` report it. */
275
- export declare function toolsListSize(tools: ToolDefinition[]): {
276
- tools: number;
277
- chars: number;
278
- approxTokens: number;
279
- };
280
- /** Keep automatic per-operation discovery under roughly 10k tokens. The
281
- * schema, not merely the operation count, determines what an agent pays. */
282
- export declare const MCP_AUTO_MAX_TOOLS_LIST_CHARS = 40000;
283
- export declare function resolveToolMode(ops: OpLike[], requested?: "operations" | "meta" | "auto"): {
284
- mode: "operations" | "meta";
285
- tools: number;
286
- chars: number;
287
- approxTokens: number;
288
- };
275
+ export declare function toolDefinitions(ops: OpLike[], mode: "operations" | "meta", omittedOps?: OpLike[]): ToolDefinition[];
289
276
  /** Resolve an operation by tool name or dotted resource.method. */
290
277
  export declare function findOperation(ops: OpLike[], wanted: string): OpLike | undefined;
291
278
  /** Names of the arguments the caller must supply, given the op's params. */
@@ -294,6 +281,10 @@ export interface InstructionsInput {
294
281
  title: string;
295
282
  /** Operations the server serves (after read-only / include filtering). */
296
283
  toolCount: number;
284
+ /** Operations present in the Definition but absent from this capped generation. */
285
+ omittedOps?: OpLike[];
286
+ /** Count generated before read-only or include filters narrow this server. */
287
+ generatedOperationCount?: number;
297
288
  mode: "operations" | "meta";
298
289
  readOnly?: boolean;
299
290
  /** Write operations hidden by read-only mode. */
@@ -370,6 +361,9 @@ export declare function projectFields(value: unknown, paths: string[][] | null):
370
361
  export interface ResultOptions {
371
362
  fields?: string[][] | null;
372
363
  maxChars?: number;
364
+ /** Request identifier for a page that is reshaped into the MCP paging
365
+ * envelope. Ordinary object results already retain their body field. */
366
+ requestId?: string;
373
367
  /** For paginated results that must be cut: the op's pagination config and
374
368
  * the call's arguments let some styles resume exactly where the cut fell. */
375
369
  pagination?: OpLike["pagination"];
@@ -406,7 +400,7 @@ export declare function extensionFor(mediaType: string): string;
406
400
  export declare function binaryOutcome(blob: Blob, options?: BinaryOptions): Promise<ToolOutcome>;
407
401
  /** Stable codes an agent can branch on (the same vocabulary as the
408
402
  * generated CLI's error envelope). Additive only. */
409
- export type ErrorCode = "NO_AUTH" | "AUTH_INVALID" | "PLAN_LIMIT" | "NOT_FOUND" | "INVALID_REQUEST" | "RATE_LIMITED" | "SERVER_ERROR" | "NETWORK_ERROR" | "VALIDATION_FAILED" | "INVALID_ARGUMENTS" | "CONFIRMATION_REQUIRED" | "NOT_AVAILABLE" | "CALL_FAILED";
403
+ export type ErrorCode = "NO_AUTH" | "AUTH_INVALID" | "PLAN_LIMIT" | "NOT_FOUND" | "INVALID_REQUEST" | "RATE_LIMITED" | "SPEC_INVALID" | "SERVER_ERROR" | "NETWORK_ERROR" | "VALIDATION_FAILED" | "INVALID_ARGUMENTS" | "CONFIRMATION_REQUIRED" | "NOT_AVAILABLE" | "CALL_FAILED";
410
404
  export interface ErrorContext {
411
405
  /** One sentence on how to supply a credential on this transport. */
412
406
  authHint?: string | null;
@@ -426,8 +420,14 @@ export declare function errorOutcome(error: unknown, context?: ErrorContext): To
426
420
  export declare function textError(text: string, code?: ErrorCode, nextSteps?: string[]): ToolOutcome;
427
421
  export interface DocsSource {
428
422
  ops: OpLike[];
423
+ /** Operations omitted from a capped generation. */
424
+ omittedOps?: OpLike[];
425
+ /** Count generated before runtime surface filters. */
426
+ generatedOperationCount?: number;
429
427
  /** Base URL of the docs site, or null when none is configured. */
430
428
  docsUrl(): string | null;
429
+ /** Exact llms.txt URL when it is not at <docsUrl>/llms.txt. */
430
+ docsIndexUrl?(): string | null;
431
431
  /** Fetch a URL's text, or null on any failure. */
432
432
  fetchText(url: string): Promise<string | null>;
433
433
  }
@@ -445,9 +445,4 @@ export declare function docsRead(source: DocsSource, page: string): Promise<Tool
445
445
  * the callable set, so a hidden operation is unknown here too.
446
446
  */
447
447
  export declare function callSharedTool(name: string, args: Record<string, unknown>, source: DocsSource, runOperation: (op: OpLike, args: Record<string, unknown>) => Promise<ToolOutcome>): Promise<ToolOutcome | undefined>;
448
- /** A fetch for docs pages: markdown preferred, same-origin redirects only,
449
- * a 10s deadline, and a 2 MB streaming cap. The caller already constrained
450
- * the first URL to its configured docs origin; redirects must not escape it. */
451
- export declare const MAX_DOCS_TEXT_BYTES = 2000000;
452
- export declare function fetchDocsText(url: string): Promise<string | null>;
453
448
  //# sourceMappingURL=mcp-protocol.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mcp-protocol.d.ts","sourceRoot":"","sources":["../src/mcp-protocol.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAIH,eAAO,MAAM,oBAAoB,eAAe,CAAC;AACjD;;0BAE0B;AAC1B,eAAO,MAAM,2BAA2B,EAAE,SAAS,MAAM,EAA2B,CAAC;AAErF,eAAO,MAAM,YAAY,4CAA4C,CAAC;AACtE,eAAO,MAAM,gBAAgB,+CAA+C,CAAC;AAC7E,eAAO,MAAM,gBAAgB,uCAAuC,CAAC;AAErE;;;iEAGiE;AACjE,eAAO,MAAM,wBAAwB,QAAS,CAAC;AAI/C,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,8DAA8D;IAC9D,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,eAAe;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,cAAc,CAAC,E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