@codeqr/ts-mcp 0.6.0 → 0.7.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/filtering.d.mts +1 -0
- package/filtering.d.mts.map +1 -1
- package/filtering.d.ts +1 -0
- package/filtering.d.ts.map +1 -1
- package/filtering.js +4 -0
- package/filtering.js.map +1 -1
- package/filtering.mjs +3 -0
- package/filtering.mjs.map +1 -1
- package/headers.d.mts.map +1 -1
- package/headers.d.ts.map +1 -1
- package/headers.js +1 -1
- package/headers.js.map +1 -1
- package/headers.mjs +1 -1
- package/headers.mjs.map +1 -1
- package/http.js +2 -2
- package/http.js.map +1 -1
- package/http.mjs +2 -2
- package/http.mjs.map +1 -1
- package/package.json +3 -3
- package/server.js +1 -1
- package/server.mjs +1 -1
- package/src/filtering.ts +4 -0
- package/src/headers.ts +3 -1
- package/src/http.ts +2 -2
- package/src/server.ts +1 -1
- package/src/tools/domains/create-domains.ts +20 -4
- package/src/tools/domains/delete-domains.ts +10 -3
- package/src/tools/domains/list-domains.ts +11 -4
- package/src/tools/domains/update-domains.ts +20 -4
- package/src/tools/links/bulk/delete-links-bulk.ts +10 -3
- package/src/tools/links/delete-links.ts +10 -3
- package/src/tools/links/retrieve-info-links.ts +10 -3
- package/src/tools/projects/list-projects.ts +10 -3
- package/src/tools/projects/retrieve-projects.ts +10 -3
- package/src/tools/qrcodes/bulk/delete-qrcodes-bulk.ts +10 -3
- package/src/tools/qrcodes/count-qrcodes.ts +10 -3
- package/src/tools/qrcodes/delete-qrcodes.ts +10 -3
- package/src/tools/tags/create-tags.ts +10 -3
- package/src/tools/tags/delete-tags.ts +10 -3
- package/src/tools/tags/list-tags.ts +10 -3
- package/src/tools/tags/update-tags.ts +10 -3
- package/src/tools/track/track-lead-track.ts +10 -3
- package/src/tools/track/track-sale-track.ts +10 -3
- package/src/tools/types.ts +12 -0
- package/tools/domains/create-domains.d.mts.map +1 -1
- package/tools/domains/create-domains.d.ts.map +1 -1
- package/tools/domains/create-domains.js +19 -2
- package/tools/domains/create-domains.js.map +1 -1
- package/tools/domains/create-domains.mjs +21 -4
- package/tools/domains/create-domains.mjs.map +1 -1
- package/tools/domains/delete-domains.d.mts.map +1 -1
- package/tools/domains/delete-domains.d.ts.map +1 -1
- package/tools/domains/delete-domains.js +9 -1
- package/tools/domains/delete-domains.js.map +1 -1
- package/tools/domains/delete-domains.mjs +11 -3
- package/tools/domains/delete-domains.mjs.map +1 -1
- package/tools/domains/list-domains.d.mts.map +1 -1
- package/tools/domains/list-domains.d.ts.map +1 -1
- package/tools/domains/list-domains.js +10 -2
- package/tools/domains/list-domains.js.map +1 -1
- package/tools/domains/list-domains.mjs +12 -4
- package/tools/domains/list-domains.mjs.map +1 -1
- package/tools/domains/update-domains.d.mts.map +1 -1
- package/tools/domains/update-domains.d.ts.map +1 -1
- package/tools/domains/update-domains.js +19 -2
- package/tools/domains/update-domains.js.map +1 -1
- package/tools/domains/update-domains.mjs +21 -4
- package/tools/domains/update-domains.mjs.map +1 -1
- package/tools/links/bulk/delete-links-bulk.d.mts.map +1 -1
- package/tools/links/bulk/delete-links-bulk.d.ts.map +1 -1
- package/tools/links/bulk/delete-links-bulk.js +9 -1
- package/tools/links/bulk/delete-links-bulk.js.map +1 -1
- package/tools/links/bulk/delete-links-bulk.mjs +11 -3
- package/tools/links/bulk/delete-links-bulk.mjs.map +1 -1
- package/tools/links/delete-links.d.mts.map +1 -1
- package/tools/links/delete-links.d.ts.map +1 -1
- package/tools/links/delete-links.js +9 -1
- package/tools/links/delete-links.js.map +1 -1
- package/tools/links/delete-links.mjs +11 -3
- package/tools/links/delete-links.mjs.map +1 -1
- package/tools/links/retrieve-info-links.d.mts.map +1 -1
- package/tools/links/retrieve-info-links.d.ts.map +1 -1
- package/tools/links/retrieve-info-links.js +9 -1
- package/tools/links/retrieve-info-links.js.map +1 -1
- package/tools/links/retrieve-info-links.mjs +11 -3
- package/tools/links/retrieve-info-links.mjs.map +1 -1
- package/tools/projects/list-projects.d.mts.map +1 -1
- package/tools/projects/list-projects.d.ts.map +1 -1
- package/tools/projects/list-projects.js +9 -1
- package/tools/projects/list-projects.js.map +1 -1
- package/tools/projects/list-projects.mjs +11 -3
- package/tools/projects/list-projects.mjs.map +1 -1
- package/tools/projects/retrieve-projects.d.mts.map +1 -1
- package/tools/projects/retrieve-projects.d.ts.map +1 -1
- package/tools/projects/retrieve-projects.js +9 -1
- package/tools/projects/retrieve-projects.js.map +1 -1
- package/tools/projects/retrieve-projects.mjs +11 -3
- package/tools/projects/retrieve-projects.mjs.map +1 -1
- package/tools/qrcodes/bulk/delete-qrcodes-bulk.d.mts.map +1 -1
- package/tools/qrcodes/bulk/delete-qrcodes-bulk.d.ts.map +1 -1
- package/tools/qrcodes/bulk/delete-qrcodes-bulk.js +9 -1
- package/tools/qrcodes/bulk/delete-qrcodes-bulk.js.map +1 -1
- package/tools/qrcodes/bulk/delete-qrcodes-bulk.mjs +11 -3
- package/tools/qrcodes/bulk/delete-qrcodes-bulk.mjs.map +1 -1
- package/tools/qrcodes/count-qrcodes.d.mts.map +1 -1
- package/tools/qrcodes/count-qrcodes.d.ts.map +1 -1
- package/tools/qrcodes/count-qrcodes.js +9 -1
- package/tools/qrcodes/count-qrcodes.js.map +1 -1
- package/tools/qrcodes/count-qrcodes.mjs +11 -3
- package/tools/qrcodes/count-qrcodes.mjs.map +1 -1
- package/tools/qrcodes/delete-qrcodes.d.mts.map +1 -1
- package/tools/qrcodes/delete-qrcodes.d.ts.map +1 -1
- package/tools/qrcodes/delete-qrcodes.js +9 -1
- package/tools/qrcodes/delete-qrcodes.js.map +1 -1
- package/tools/qrcodes/delete-qrcodes.mjs +11 -3
- package/tools/qrcodes/delete-qrcodes.mjs.map +1 -1
- package/tools/tags/create-tags.d.mts.map +1 -1
- package/tools/tags/create-tags.d.ts.map +1 -1
- package/tools/tags/create-tags.js +9 -1
- package/tools/tags/create-tags.js.map +1 -1
- package/tools/tags/create-tags.mjs +11 -3
- package/tools/tags/create-tags.mjs.map +1 -1
- package/tools/tags/delete-tags.d.mts.map +1 -1
- package/tools/tags/delete-tags.d.ts.map +1 -1
- package/tools/tags/delete-tags.js +9 -1
- package/tools/tags/delete-tags.js.map +1 -1
- package/tools/tags/delete-tags.mjs +11 -3
- package/tools/tags/delete-tags.mjs.map +1 -1
- package/tools/tags/list-tags.d.mts.map +1 -1
- package/tools/tags/list-tags.d.ts.map +1 -1
- package/tools/tags/list-tags.js +9 -1
- package/tools/tags/list-tags.js.map +1 -1
- package/tools/tags/list-tags.mjs +11 -3
- package/tools/tags/list-tags.mjs.map +1 -1
- package/tools/tags/update-tags.d.mts.map +1 -1
- package/tools/tags/update-tags.d.ts.map +1 -1
- package/tools/tags/update-tags.js +9 -1
- package/tools/tags/update-tags.js.map +1 -1
- package/tools/tags/update-tags.mjs +11 -3
- package/tools/tags/update-tags.mjs.map +1 -1
- package/tools/track/track-lead-track.d.mts.map +1 -1
- package/tools/track/track-lead-track.d.ts.map +1 -1
- package/tools/track/track-lead-track.js +9 -1
- package/tools/track/track-lead-track.js.map +1 -1
- package/tools/track/track-lead-track.mjs +11 -3
- package/tools/track/track-lead-track.mjs.map +1 -1
- package/tools/track/track-sale-track.d.mts.map +1 -1
- package/tools/track/track-sale-track.d.ts.map +1 -1
- package/tools/track/track-sale-track.js +9 -1
- package/tools/track/track-sale-track.js.map +1 -1
- package/tools/track/track-sale-track.mjs +11 -3
- package/tools/track/track-sale-track.mjs.map +1 -1
- package/tools/types.d.mts +1 -0
- package/tools/types.d.mts.map +1 -1
- package/tools/types.d.ts +1 -0
- package/tools/types.d.ts.map +1 -1
- package/tools/types.js +12 -0
- package/tools/types.js.map +1 -1
- package/tools/types.mjs +11 -0
- package/tools/types.mjs.map +1 -1
|
@@ -14,7 +14,7 @@ exports.metadata = {
|
|
|
14
14
|
};
|
|
15
15
|
exports.tool = {
|
|
16
16
|
name: 'update_domains',
|
|
17
|
-
description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nUpdate a domain for the authenticated workspace.\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/domain',\n $defs: {\n domain: {\n type: 'object',\n properties: {\n id: {\n type: 'string',\n description: 'The unique identifier of the domain.'\n },\n archived: {\n type: 'boolean',\n description: 'Whether the domain is archived.'\n },\n createdAt: {\n type: 'string',\n description: 'The date the domain was created.'\n },\n expiredUrl: {\n type: 'string',\n description: 'The URL to redirect to when a link under this domain has expired.'\n },\n placeholder: {\n type: 'string',\n description: 'Provide context to your teammates in the link creation modal by showing them an example of a link to be shortened.'\n },\n primary: {\n type: 'boolean',\n description: 'Whether the domain is the primary domain for the project.'\n },\n slug: {\n type: 'string',\n description: 'The domain name.'\n },\n updatedAt: {\n type: 'string',\n description: 'The date the domain was last updated.'\n },\n verified: {\n type: 'boolean',\n description: 'Whether the domain is verified.'\n }\n },\n required: [ 'id',\n 'archived',\n 'createdAt',\n 'expiredUrl',\n 'placeholder',\n 'primary',\n 'slug',\n 'updatedAt',\n 'verified'\n ]\n }\n }\n}\n```",
|
|
17
|
+
description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nUpdate a domain for the authenticated workspace.\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/domain',\n $defs: {\n domain: {\n type: 'object',\n properties: {\n id: {\n type: 'string',\n description: 'The unique identifier of the domain.'\n },\n archived: {\n type: 'boolean',\n description: 'Whether the domain is archived.'\n },\n createdAt: {\n type: 'string',\n description: 'The date the domain was created.'\n },\n expiredUrl: {\n type: 'string',\n description: 'The URL to redirect to when a link under this domain has expired.'\n },\n placeholder: {\n type: 'string',\n description: 'Provide context to your teammates in the link creation modal by showing them an example of a link to be shortened.'\n },\n primary: {\n type: 'boolean',\n description: 'Whether the domain is the primary domain for the project.'\n },\n slug: {\n type: 'string',\n description: 'The domain name.'\n },\n target: {\n type: 'string',\n description: 'The target URL to redirect to when accessing the domain root.'\n },\n type: {\n type: 'string',\n description: 'The behavior type for the domain root redirect.',\n enum: [ 'redirect',\n 'rewrite'\n ]\n },\n updatedAt: {\n type: 'string',\n description: 'The date the domain was last updated.'\n },\n verified: {\n type: 'boolean',\n description: 'Whether the domain is verified.'\n }\n },\n required: [ 'id',\n 'archived',\n 'createdAt',\n 'expiredUrl',\n 'placeholder',\n 'primary',\n 'slug',\n 'target',\n 'type',\n 'updatedAt',\n 'verified'\n ]\n }\n }\n}\n```",
|
|
18
18
|
inputSchema: {
|
|
19
19
|
type: 'object',
|
|
20
20
|
properties: {
|
|
@@ -38,6 +38,15 @@ exports.tool = {
|
|
|
38
38
|
type: 'string',
|
|
39
39
|
description: 'Name of the domain.',
|
|
40
40
|
},
|
|
41
|
+
target: {
|
|
42
|
+
type: 'string',
|
|
43
|
+
description: 'The target URL to redirect to when accessing the domain root.',
|
|
44
|
+
},
|
|
45
|
+
type: {
|
|
46
|
+
type: 'string',
|
|
47
|
+
description: 'The behavior type for the domain root redirect.',
|
|
48
|
+
enum: ['redirect', 'rewrite'],
|
|
49
|
+
},
|
|
41
50
|
jq_filter: {
|
|
42
51
|
type: 'string',
|
|
43
52
|
title: 'jq Filter',
|
|
@@ -50,7 +59,15 @@ exports.tool = {
|
|
|
50
59
|
};
|
|
51
60
|
const handler = async (client, args) => {
|
|
52
61
|
const { slug, jq_filter, ...body } = args;
|
|
53
|
-
|
|
62
|
+
try {
|
|
63
|
+
return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(jq_filter, await client.domains.update(slug, body)));
|
|
64
|
+
}
|
|
65
|
+
catch (error) {
|
|
66
|
+
if ((0, filtering_1.isJqError)(error)) {
|
|
67
|
+
return (0, types_1.asErrorResult)(error.message);
|
|
68
|
+
}
|
|
69
|
+
throw error;
|
|
70
|
+
}
|
|
54
71
|
};
|
|
55
72
|
exports.handler = handler;
|
|
56
73
|
exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-domains.js","sourceRoot":"","sources":["../../src/tools/domains/update-domains.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"update-domains.js","sourceRoot":"","sources":["../../src/tools/domains/update-domains.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAkE;AAClE,sDAA0F;AAK7E,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,SAAS;IACnB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,OAAO;IACnB,QAAQ,EAAE,iBAAiB;IAC3B,WAAW,EAAE,cAAc;CAC5B,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,gBAAgB;IACtB,WAAW,EACT,ooEAAooE;IACtoE,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,kBAAkB;aAChC;YACD,QAAQ,EAAE;gBACR,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,sFAAsF;aACpG;YACD,UAAU,EAAE;gBACV,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,+EAA+E;aAC7F;YACD,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,oHAAoH;aACvH;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,qBAAqB;aACnC;YACD,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,+DAA+D;aAC7E;YACD,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,iDAAiD;gBAC9D,IAAI,EAAE,CAAC,UAAU,EAAE,SAAS,CAAC;aAC9B;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,WAAW,CAAC;KACxB;IACD,WAAW,EAAE,EAAE;CAChB,CAAC;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,MAAc,EAAE,IAAyC,EAAE,EAAE;IACzF,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IACjD,IAAI,CAAC;QACH,OAAO,IAAA,2BAAmB,EAAC,MAAM,IAAA,uBAAW,EAAC,SAAS,EAAE,MAAM,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;IACpG,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,IAAA,qBAAS,EAAC,KAAK,CAAC,EAAE,CAAC;YACrB,OAAO,IAAA,qBAAa,EAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,CAAC;QACD,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC,CAAC;AAVW,QAAA,OAAO,WAUlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
import { maybeFilter } from '@codeqr/ts-mcp/filtering';
|
|
3
|
-
import { asTextContentResult } from '@codeqr/ts-mcp/tools/types';
|
|
2
|
+
import { isJqError, maybeFilter } from '@codeqr/ts-mcp/filtering';
|
|
3
|
+
import { asErrorResult, asTextContentResult } from '@codeqr/ts-mcp/tools/types';
|
|
4
4
|
export const metadata = {
|
|
5
5
|
resource: 'domains',
|
|
6
6
|
operation: 'write',
|
|
@@ -11,7 +11,7 @@ export const metadata = {
|
|
|
11
11
|
};
|
|
12
12
|
export const tool = {
|
|
13
13
|
name: 'update_domains',
|
|
14
|
-
description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nUpdate a domain for the authenticated workspace.\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/domain',\n $defs: {\n domain: {\n type: 'object',\n properties: {\n id: {\n type: 'string',\n description: 'The unique identifier of the domain.'\n },\n archived: {\n type: 'boolean',\n description: 'Whether the domain is archived.'\n },\n createdAt: {\n type: 'string',\n description: 'The date the domain was created.'\n },\n expiredUrl: {\n type: 'string',\n description: 'The URL to redirect to when a link under this domain has expired.'\n },\n placeholder: {\n type: 'string',\n description: 'Provide context to your teammates in the link creation modal by showing them an example of a link to be shortened.'\n },\n primary: {\n type: 'boolean',\n description: 'Whether the domain is the primary domain for the project.'\n },\n slug: {\n type: 'string',\n description: 'The domain name.'\n },\n updatedAt: {\n type: 'string',\n description: 'The date the domain was last updated.'\n },\n verified: {\n type: 'boolean',\n description: 'Whether the domain is verified.'\n }\n },\n required: [ 'id',\n 'archived',\n 'createdAt',\n 'expiredUrl',\n 'placeholder',\n 'primary',\n 'slug',\n 'updatedAt',\n 'verified'\n ]\n }\n }\n}\n```",
|
|
14
|
+
description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nUpdate a domain for the authenticated workspace.\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/domain',\n $defs: {\n domain: {\n type: 'object',\n properties: {\n id: {\n type: 'string',\n description: 'The unique identifier of the domain.'\n },\n archived: {\n type: 'boolean',\n description: 'Whether the domain is archived.'\n },\n createdAt: {\n type: 'string',\n description: 'The date the domain was created.'\n },\n expiredUrl: {\n type: 'string',\n description: 'The URL to redirect to when a link under this domain has expired.'\n },\n placeholder: {\n type: 'string',\n description: 'Provide context to your teammates in the link creation modal by showing them an example of a link to be shortened.'\n },\n primary: {\n type: 'boolean',\n description: 'Whether the domain is the primary domain for the project.'\n },\n slug: {\n type: 'string',\n description: 'The domain name.'\n },\n target: {\n type: 'string',\n description: 'The target URL to redirect to when accessing the domain root.'\n },\n type: {\n type: 'string',\n description: 'The behavior type for the domain root redirect.',\n enum: [ 'redirect',\n 'rewrite'\n ]\n },\n updatedAt: {\n type: 'string',\n description: 'The date the domain was last updated.'\n },\n verified: {\n type: 'boolean',\n description: 'Whether the domain is verified.'\n }\n },\n required: [ 'id',\n 'archived',\n 'createdAt',\n 'expiredUrl',\n 'placeholder',\n 'primary',\n 'slug',\n 'target',\n 'type',\n 'updatedAt',\n 'verified'\n ]\n }\n }\n}\n```",
|
|
15
15
|
inputSchema: {
|
|
16
16
|
type: 'object',
|
|
17
17
|
properties: {
|
|
@@ -35,6 +35,15 @@ export const tool = {
|
|
|
35
35
|
type: 'string',
|
|
36
36
|
description: 'Name of the domain.',
|
|
37
37
|
},
|
|
38
|
+
target: {
|
|
39
|
+
type: 'string',
|
|
40
|
+
description: 'The target URL to redirect to when accessing the domain root.',
|
|
41
|
+
},
|
|
42
|
+
type: {
|
|
43
|
+
type: 'string',
|
|
44
|
+
description: 'The behavior type for the domain root redirect.',
|
|
45
|
+
enum: ['redirect', 'rewrite'],
|
|
46
|
+
},
|
|
38
47
|
jq_filter: {
|
|
39
48
|
type: 'string',
|
|
40
49
|
title: 'jq Filter',
|
|
@@ -47,7 +56,15 @@ export const tool = {
|
|
|
47
56
|
};
|
|
48
57
|
export const handler = async (client, args) => {
|
|
49
58
|
const { slug, jq_filter, ...body } = args;
|
|
50
|
-
|
|
59
|
+
try {
|
|
60
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.domains.update(slug, body)));
|
|
61
|
+
}
|
|
62
|
+
catch (error) {
|
|
63
|
+
if (isJqError(error)) {
|
|
64
|
+
return asErrorResult(error.message);
|
|
65
|
+
}
|
|
66
|
+
throw error;
|
|
67
|
+
}
|
|
51
68
|
};
|
|
52
69
|
export default { metadata, tool, handler };
|
|
53
70
|
//# sourceMappingURL=update-domains.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-domains.mjs","sourceRoot":"","sources":["../../src/tools/domains/update-domains.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE,MAAM,0BAA0B;
|
|
1
|
+
{"version":3,"file":"update-domains.mjs","sourceRoot":"","sources":["../../src/tools/domains/update-domains.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,0BAA0B;OAC1D,EAAY,aAAa,EAAE,mBAAmB,EAAE,MAAM,4BAA4B;AAKzF,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,SAAS;IACnB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,OAAO;IACnB,QAAQ,EAAE,iBAAiB;IAC3B,WAAW,EAAE,cAAc;CAC5B,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,gBAAgB;IACtB,WAAW,EACT,ooEAAooE;IACtoE,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,kBAAkB;aAChC;YACD,QAAQ,EAAE;gBACR,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,sFAAsF;aACpG;YACD,UAAU,EAAE;gBACV,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,+EAA+E;aAC7F;YACD,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,oHAAoH;aACvH;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,qBAAqB;aACnC;YACD,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,+DAA+D;aAC7E;YACD,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,iDAAiD;gBAC9D,IAAI,EAAE,CAAC,UAAU,EAAE,SAAS,CAAC;aAC9B;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,WAAW,CAAC;KACxB;IACD,WAAW,EAAE,EAAE;CAChB,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,MAAc,EAAE,IAAyC,EAAE,EAAE;IACzF,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IACjD,IAAI,CAAC;QACH,OAAO,mBAAmB,CAAC,MAAM,WAAW,CAAC,SAAS,EAAE,MAAM,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;IACpG,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC;YACrB,OAAO,aAAa,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,CAAC;QACD,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-links-bulk.d.mts","sourceRoot":"","sources":["../../../src/tools/links/bulk/delete-links-bulk.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"delete-links-bulk.d.mts","sourceRoot":"","sources":["../../../src/tools/links/bulk/delete-links-bulk.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAsC,MAAM,4BAA4B;OAElF,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,MAAM,MAAM,YAAY;AAE/B,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IA2BlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,MAAM,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAUtF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAVoC,MAAM,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAYvF,wBAA2C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-links-bulk.d.ts","sourceRoot":"","sources":["../../../src/tools/links/bulk/delete-links-bulk.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"delete-links-bulk.d.ts","sourceRoot":"","sources":["../../../src/tools/links/bulk/delete-links-bulk.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAsC,MAAM,4BAA4B;OAElF,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,MAAM,MAAM,YAAY;AAE/B,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IA2BlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,MAAM,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAUtF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAVoC,MAAM,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAYvF,wBAA2C"}
|
|
@@ -39,7 +39,15 @@ exports.tool = {
|
|
|
39
39
|
};
|
|
40
40
|
const handler = async (client, args) => {
|
|
41
41
|
const { jq_filter, ...body } = args;
|
|
42
|
-
|
|
42
|
+
try {
|
|
43
|
+
return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(jq_filter, await client.links.bulk.delete(body)));
|
|
44
|
+
}
|
|
45
|
+
catch (error) {
|
|
46
|
+
if ((0, filtering_1.isJqError)(error)) {
|
|
47
|
+
return (0, types_1.asErrorResult)(error.message);
|
|
48
|
+
}
|
|
49
|
+
throw error;
|
|
50
|
+
}
|
|
43
51
|
};
|
|
44
52
|
exports.handler = handler;
|
|
45
53
|
exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-links-bulk.js","sourceRoot":"","sources":["../../../src/tools/links/bulk/delete-links-bulk.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"delete-links-bulk.js","sourceRoot":"","sources":["../../../src/tools/links/bulk/delete-links-bulk.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAkE;AAClE,sDAA0F;AAK7E,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,YAAY;IACtB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,QAAQ;IACpB,QAAQ,EAAE,aAAa;IACvB,WAAW,EAAE,iBAAiB;CAC/B,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,mBAAmB;IACzB,WAAW,EACT,2kBAA2kB;IAC7kB,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,OAAO,EAAE;gBACP,IAAI,EAAE,OAAO;gBACb,WAAW,EACT,mGAAmG;gBACrG,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,SAAS,CAAC;KACtB;IACD,WAAW,EAAE;QACX,cAAc,EAAE,IAAI;KACrB;CACF,CAAC;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,MAAc,EAAE,IAAyC,EAAE,EAAE;IACzF,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IAC3C,IAAI,CAAC;QACH,OAAO,IAAA,2BAAmB,EAAC,MAAM,IAAA,uBAAW,EAAC,SAAS,EAAE,MAAM,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACjG,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,IAAA,qBAAS,EAAC,KAAK,CAAC,EAAE,CAAC;YACrB,OAAO,IAAA,qBAAa,EAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,CAAC;QACD,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC,CAAC;AAVW,QAAA,OAAO,WAUlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
import { maybeFilter } from '@codeqr/ts-mcp/filtering';
|
|
3
|
-
import { asTextContentResult } from '@codeqr/ts-mcp/tools/types';
|
|
2
|
+
import { isJqError, maybeFilter } from '@codeqr/ts-mcp/filtering';
|
|
3
|
+
import { asErrorResult, asTextContentResult } from '@codeqr/ts-mcp/tools/types';
|
|
4
4
|
export const metadata = {
|
|
5
5
|
resource: 'links.bulk',
|
|
6
6
|
operation: 'write',
|
|
@@ -36,7 +36,15 @@ export const tool = {
|
|
|
36
36
|
};
|
|
37
37
|
export const handler = async (client, args) => {
|
|
38
38
|
const { jq_filter, ...body } = args;
|
|
39
|
-
|
|
39
|
+
try {
|
|
40
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.links.bulk.delete(body)));
|
|
41
|
+
}
|
|
42
|
+
catch (error) {
|
|
43
|
+
if (isJqError(error)) {
|
|
44
|
+
return asErrorResult(error.message);
|
|
45
|
+
}
|
|
46
|
+
throw error;
|
|
47
|
+
}
|
|
40
48
|
};
|
|
41
49
|
export default { metadata, tool, handler };
|
|
42
50
|
//# sourceMappingURL=delete-links-bulk.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-links-bulk.mjs","sourceRoot":"","sources":["../../../src/tools/links/bulk/delete-links-bulk.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE,MAAM,0BAA0B;
|
|
1
|
+
{"version":3,"file":"delete-links-bulk.mjs","sourceRoot":"","sources":["../../../src/tools/links/bulk/delete-links-bulk.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,0BAA0B;OAC1D,EAAY,aAAa,EAAE,mBAAmB,EAAE,MAAM,4BAA4B;AAKzF,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,YAAY;IACtB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,QAAQ;IACpB,QAAQ,EAAE,aAAa;IACvB,WAAW,EAAE,iBAAiB;CAC/B,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,mBAAmB;IACzB,WAAW,EACT,2kBAA2kB;IAC7kB,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,OAAO,EAAE;gBACP,IAAI,EAAE,OAAO;gBACb,WAAW,EACT,mGAAmG;gBACrG,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,SAAS,CAAC;KACtB;IACD,WAAW,EAAE;QACX,cAAc,EAAE,IAAI;KACrB;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,MAAc,EAAE,IAAyC,EAAE,EAAE;IACzF,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IAC3C,IAAI,CAAC;QACH,OAAO,mBAAmB,CAAC,MAAM,WAAW,CAAC,SAAS,EAAE,MAAM,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACjG,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC;YACrB,OAAO,aAAa,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,CAAC;QACD,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-links.d.mts","sourceRoot":"","sources":["../../src/tools/links/delete-links.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"delete-links.d.mts","sourceRoot":"","sources":["../../src/tools/links/delete-links.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAsC,MAAM,4BAA4B;OAElF,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,MAAM,MAAM,YAAY;AAE/B,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAwBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,MAAM,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAUtF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAVoC,MAAM,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAYvF,wBAA2C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-links.d.ts","sourceRoot":"","sources":["../../src/tools/links/delete-links.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"delete-links.d.ts","sourceRoot":"","sources":["../../src/tools/links/delete-links.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAsC,MAAM,4BAA4B;OAElF,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,MAAM,MAAM,YAAY;AAE/B,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAwBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,MAAM,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAUtF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAVoC,MAAM,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAYvF,wBAA2C"}
|
|
@@ -36,7 +36,15 @@ exports.tool = {
|
|
|
36
36
|
};
|
|
37
37
|
const handler = async (client, args) => {
|
|
38
38
|
const { linkId, jq_filter, ...body } = args;
|
|
39
|
-
|
|
39
|
+
try {
|
|
40
|
+
return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(jq_filter, await client.links.delete(linkId)));
|
|
41
|
+
}
|
|
42
|
+
catch (error) {
|
|
43
|
+
if ((0, filtering_1.isJqError)(error)) {
|
|
44
|
+
return (0, types_1.asErrorResult)(error.message);
|
|
45
|
+
}
|
|
46
|
+
throw error;
|
|
47
|
+
}
|
|
40
48
|
};
|
|
41
49
|
exports.handler = handler;
|
|
42
50
|
exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-links.js","sourceRoot":"","sources":["../../src/tools/links/delete-links.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"delete-links.js","sourceRoot":"","sources":["../../src/tools/links/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AAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
import { maybeFilter } from '@codeqr/ts-mcp/filtering';
|
|
3
|
-
import { asTextContentResult } from '@codeqr/ts-mcp/tools/types';
|
|
2
|
+
import { isJqError, maybeFilter } from '@codeqr/ts-mcp/filtering';
|
|
3
|
+
import { asErrorResult, asTextContentResult } from '@codeqr/ts-mcp/tools/types';
|
|
4
4
|
export const metadata = {
|
|
5
5
|
resource: 'links',
|
|
6
6
|
operation: 'write',
|
|
@@ -33,7 +33,15 @@ export const tool = {
|
|
|
33
33
|
};
|
|
34
34
|
export const handler = async (client, args) => {
|
|
35
35
|
const { linkId, jq_filter, ...body } = args;
|
|
36
|
-
|
|
36
|
+
try {
|
|
37
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.links.delete(linkId)));
|
|
38
|
+
}
|
|
39
|
+
catch (error) {
|
|
40
|
+
if (isJqError(error)) {
|
|
41
|
+
return asErrorResult(error.message);
|
|
42
|
+
}
|
|
43
|
+
throw error;
|
|
44
|
+
}
|
|
37
45
|
};
|
|
38
46
|
export default { metadata, tool, handler };
|
|
39
47
|
//# sourceMappingURL=delete-links.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-links.mjs","sourceRoot":"","sources":["../../src/tools/links/delete-links.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE,MAAM,0BAA0B;
|
|
1
|
+
{"version":3,"file":"delete-links.mjs","sourceRoot":"","sources":["../../src/tools/links/delete-links.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,0BAA0B;OAC1D,EAAY,aAAa,EAAE,mBAAmB,EAAE,MAAM,4BAA4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
-
{"version":3,"file":"retrieve-info-links.d.mts","sourceRoot":"","sources":["../../src/tools/links/retrieve-info-links.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"retrieve-info-links.d.mts","sourceRoot":"","sources":["../../src/tools/links/retrieve-info-links.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAsC,MAAM,4BAA4B;OAElF,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,MAAM,MAAM,YAAY;AAE/B,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IA2ClB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,MAAM,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAUtF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAVoC,MAAM,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAYvF,wBAA2C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-info-links.d.ts","sourceRoot":"","sources":["../../src/tools/links/retrieve-info-links.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"retrieve-info-links.d.ts","sourceRoot":"","sources":["../../src/tools/links/retrieve-info-links.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAsC,MAAM,4BAA4B;OAElF,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,MAAM,MAAM,YAAY;AAE/B,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IA2ClB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,MAAM,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAUtF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAVoC,MAAM,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAYvF,wBAA2C"}
|
|
@@ -52,7 +52,15 @@ exports.tool = {
|
|
|
52
52
|
};
|
|
53
53
|
const handler = async (client, args) => {
|
|
54
54
|
const { jq_filter, ...body } = args;
|
|
55
|
-
|
|
55
|
+
try {
|
|
56
|
+
return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(jq_filter, await client.links.retrieveInfo(body)));
|
|
57
|
+
}
|
|
58
|
+
catch (error) {
|
|
59
|
+
if ((0, filtering_1.isJqError)(error)) {
|
|
60
|
+
return (0, types_1.asErrorResult)(error.message);
|
|
61
|
+
}
|
|
62
|
+
throw error;
|
|
63
|
+
}
|
|
56
64
|
};
|
|
57
65
|
exports.handler = handler;
|
|
58
66
|
exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-info-links.js","sourceRoot":"","sources":["../../src/tools/links/retrieve-info-links.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"retrieve-info-links.js","sourceRoot":"","sources":["../../src/tools/links/retrieve-info-links.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAkE;AAClE,sDAA0F;AAK7E,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,OAAO;IACjB,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,aAAa;IACvB,WAAW,EAAE,aAAa;CAC3B,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,qBAAqB;IAC3B,WAAW,EACT,07RAA07R;IAC57R,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,6GAA6G;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ainless. See CONTRIBUTING.md for details.
|
|
2
|
-
import { maybeFilter } from '@codeqr/ts-mcp/filtering';
|
|
3
|
-
import { asTextContentResult } from '@codeqr/ts-mcp/tools/types';
|
|
2
|
+
import { isJqError, maybeFilter } from '@codeqr/ts-mcp/filtering';
|
|
3
|
+
import { asErrorResult, asTextContentResult } from '@codeqr/ts-mcp/tools/types';
|
|
4
4
|
export const metadata = {
|
|
5
5
|
resource: 'links',
|
|
6
6
|
operation: 'read',
|
|
@@ -49,7 +49,15 @@ export const tool = {
|
|
|
49
49
|
};
|
|
50
50
|
export const handler = async (client, args) => {
|
|
51
51
|
const { jq_filter, ...body } = args;
|
|
52
|
-
|
|
52
|
+
try {
|
|
53
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.links.retrieveInfo(body)));
|
|
54
|
+
}
|
|
55
|
+
catch (error) {
|
|
56
|
+
if (isJqError(error)) {
|
|
57
|
+
return asErrorResult(error.message);
|
|
58
|
+
}
|
|
59
|
+
throw error;
|
|
60
|
+
}
|
|
53
61
|
};
|
|
54
62
|
export default { metadata, tool, handler };
|
|
55
63
|
//# sourceMappingURL=retrieve-info-links.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-info-links.mjs","sourceRoot":"","sources":["../../src/tools/links/retrieve-info-links.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE,MAAM,0BAA0B;
|
|
1
|
+
{"version":3,"file":"retrieve-info-links.mjs","sourceRoot":"","sources":["../../src/tools/links/retrieve-info-links.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,0BAA0B;OAC1D,EAAY,aAAa,EAAE,mBAAmB,EAAE,MAAM,4BAA4B;AAKzF,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,OAAO;IACjB,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,K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AAO,CAAC,CAAC;QACtC,CAAC;QACD,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-projects.d.mts","sourceRoot":"","sources":["../../src/tools/projects/list-projects.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"list-projects.d.mts","sourceRoot":"","sources":["../../src/tools/projects/list-projects.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAsC,MAAM,4BAA4B;OAElF,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,MAAM,MAAM,YAAY;AAE/B,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAmBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,MAAM,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAUtF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAVoC,MAAM,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAYvF,wBAA2C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-projects.d.ts","sourceRoot":"","sources":["../../src/tools/projects/list-projects.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"list-projects.d.ts","sourceRoot":"","sources":["../../src/tools/projects/list-projects.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAsC,MAAM,4BAA4B;OAElF,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,MAAM,MAAM,YAAY;AAE/B,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAmBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,MAAM,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAUtF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAVoC,MAAM,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAYvF,wBAA2C"}
|
|
@@ -32,7 +32,15 @@ exports.tool = {
|
|
|
32
32
|
};
|
|
33
33
|
const handler = async (client, args) => {
|
|
34
34
|
const { jq_filter } = args;
|
|
35
|
-
|
|
35
|
+
try {
|
|
36
|
+
return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(jq_filter, await client.projects.list()));
|
|
37
|
+
}
|
|
38
|
+
catch (error) {
|
|
39
|
+
if ((0, filtering_1.isJqError)(error)) {
|
|
40
|
+
return (0, types_1.asErrorResult)(error.message);
|
|
41
|
+
}
|
|
42
|
+
throw error;
|
|
43
|
+
}
|
|
36
44
|
};
|
|
37
45
|
exports.handler = handler;
|
|
38
46
|
exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-projects.js","sourceRoot":"","sources":["../../src/tools/projects/list-projects.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"list-projects.js","sourceRoot":"","sources":["../../src/tools/projects/list-projects.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAkE;AAClE,sDAA0F;AAK7E,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,WAAW;IACrB,WAAW,EAAE,aAAa;CAC3B,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,eAAe;IACrB,WAAW,EACT,6uIAA6uI;IAC/uI,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,EAAE;KACb;IACD,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;KACnB;CACF,CAAC;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,MAAc,EAAE,IAAyC,EAAE,EAAE;IACzF,MAAM,EAAE,SAAS,EAAE,GAAG,IAAW,CAAC;IAClC,IAAI,CAAC;QACH,OAAO,IAAA,2BAAmB,EAAC,MAAM,IAAA,uBAAW,EAAC,SAAS,EAAE,MAAM,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;IACzF,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,IAAA,qBAAS,EAAC,KAAK,CAAC,EAAE,CAAC;YACrB,OAAO,IAAA,qBAAa,EAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,CAAC;QACD,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC,CAAC;AAVW,QAAA,OAAO,WAUlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
import { maybeFilter } from '@codeqr/ts-mcp/filtering';
|
|
3
|
-
import { asTextContentResult } from '@codeqr/ts-mcp/tools/types';
|
|
2
|
+
import { isJqError, maybeFilter } from '@codeqr/ts-mcp/filtering';
|
|
3
|
+
import { asErrorResult, asTextContentResult } from '@codeqr/ts-mcp/tools/types';
|
|
4
4
|
export const metadata = {
|
|
5
5
|
resource: 'projects',
|
|
6
6
|
operation: 'read',
|
|
@@ -29,7 +29,15 @@ export const tool = {
|
|
|
29
29
|
};
|
|
30
30
|
export const handler = async (client, args) => {
|
|
31
31
|
const { jq_filter } = args;
|
|
32
|
-
|
|
32
|
+
try {
|
|
33
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.projects.list()));
|
|
34
|
+
}
|
|
35
|
+
catch (error) {
|
|
36
|
+
if (isJqError(error)) {
|
|
37
|
+
return asErrorResult(error.message);
|
|
38
|
+
}
|
|
39
|
+
throw error;
|
|
40
|
+
}
|
|
33
41
|
};
|
|
34
42
|
export default { metadata, tool, handler };
|
|
35
43
|
//# sourceMappingURL=list-projects.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-projects.mjs","sourceRoot":"","sources":["../../src/tools/projects/list-projects.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE,MAAM,0BAA0B;
|
|
1
|
+
{"version":3,"file":"list-projects.mjs","sourceRoot":"","sources":["../../src/tools/projects/list-projects.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,0BAA0B;OAC1D,EAAY,aAAa,EAAE,mBAAmB,EAAE,MAAM,4BAA4B;AAKzF,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,WAAW;IACrB,WAAW,EAAE,aAAa;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,eAAe;IACrB,WAAW,EACT,6uIAA6uI;IAC/uI,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,EAAE;KACb;IACD,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;KACnB;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,MAAc,EAAE,IAAyC,EAAE,EAAE;IACzF,MAAM,EAAE,SAAS,EAAE,GAAG,IAAW,CAAC;IAClC,IAAI,CAAC;QACH,OAAO,mBAAmB,CAAC,MAAM,WAAW,CAAC,SAAS,EAAE,MAAM,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;IACzF,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC;YACrB,OAAO,aAAa,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,CAAC;QACD,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-projects.d.mts","sourceRoot":"","sources":["../../src/tools/projects/retrieve-projects.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"retrieve-projects.d.mts","sourceRoot":"","sources":["../../src/tools/projects/retrieve-projects.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAsC,MAAM,4BAA4B;OAElF,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,MAAM,MAAM,YAAY;AAE/B,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAwBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,MAAM,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAUtF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAVoC,MAAM,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAYvF,wBAA2C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-projects.d.ts","sourceRoot":"","sources":["../../src/tools/projects/retrieve-projects.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"retrieve-projects.d.ts","sourceRoot":"","sources":["../../src/tools/projects/retrieve-projects.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAsC,MAAM,4BAA4B;OAElF,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,MAAM,MAAM,YAAY;AAE/B,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAwBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,MAAM,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAUtF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAVoC,MAAM,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAYvF,wBAA2C"}
|
|
@@ -36,7 +36,15 @@ exports.tool = {
|
|
|
36
36
|
};
|
|
37
37
|
const handler = async (client, args) => {
|
|
38
38
|
const { projectSlug, jq_filter, ...body } = args;
|
|
39
|
-
|
|
39
|
+
try {
|
|
40
|
+
return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(jq_filter, await client.projects.retrieve(projectSlug)));
|
|
41
|
+
}
|
|
42
|
+
catch (error) {
|
|
43
|
+
if ((0, filtering_1.isJqError)(error)) {
|
|
44
|
+
return (0, types_1.asErrorResult)(error.message);
|
|
45
|
+
}
|
|
46
|
+
throw error;
|
|
47
|
+
}
|
|
40
48
|
};
|
|
41
49
|
exports.handler = handler;
|
|
42
50
|
exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-projects.js","sourceRoot":"","sources":["../../src/tools/projects/retrieve-projects.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"retrieve-projects.js","sourceRoot":"","sources":["../../src/tools/projects/retrieve-projects.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAkE;AAClE,sDAA0F;AAK7E,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,yBAAyB;IACnC,WAAW,EAAE,YAAY;CAC1B,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,mBAAmB;IACzB,WAAW,EACT,gmIAAgmI;IAClmI,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,iGAAiG;aACpG;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,aAAa,CAAC;KAC1B;IACD,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;KACnB;CACF,CAAC;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,MAAc,EAAE,IAAyC,EAAE,EAAE;IACzF,MAAM,EAAE,WAAW,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IACxD,IAAI,CAAC;QACH,OAAO,IAAA,2BAAmB,EAAC,MAAM,IAAA,uBAAW,EAAC,SAAS,EAAE,MAAM,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;IACxG,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,IAAA,qBAAS,EAAC,KAAK,CAAC,EAAE,CAAC;YACrB,OAAO,IAAA,qBAAa,EAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,CAAC;QACD,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC,CAAC;AAVW,QAAA,OAAO,WAUlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
import { maybeFilter } from '@codeqr/ts-mcp/filtering';
|
|
3
|
-
import { asTextContentResult } from '@codeqr/ts-mcp/tools/types';
|
|
2
|
+
import { isJqError, maybeFilter } from '@codeqr/ts-mcp/filtering';
|
|
3
|
+
import { asErrorResult, asTextContentResult } from '@codeqr/ts-mcp/tools/types';
|
|
4
4
|
export const metadata = {
|
|
5
5
|
resource: 'projects',
|
|
6
6
|
operation: 'read',
|
|
@@ -33,7 +33,15 @@ export const tool = {
|
|
|
33
33
|
};
|
|
34
34
|
export const handler = async (client, args) => {
|
|
35
35
|
const { projectSlug, jq_filter, ...body } = args;
|
|
36
|
-
|
|
36
|
+
try {
|
|
37
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.projects.retrieve(projectSlug)));
|
|
38
|
+
}
|
|
39
|
+
catch (error) {
|
|
40
|
+
if (isJqError(error)) {
|
|
41
|
+
return asErrorResult(error.message);
|
|
42
|
+
}
|
|
43
|
+
throw error;
|
|
44
|
+
}
|
|
37
45
|
};
|
|
38
46
|
export default { metadata, tool, handler };
|
|
39
47
|
//# sourceMappingURL=retrieve-projects.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-projects.mjs","sourceRoot":"","sources":["../../src/tools/projects/retrieve-projects.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE,MAAM,0BAA0B;
|
|
1
|
+
{"version":3,"file":"retrieve-projects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,CAAC,OAAO,CAAC,CAAC;QACtC,CAAC;QACD,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-qrcodes-bulk.d.mts","sourceRoot":"","sources":["../../../src/tools/qrcodes/bulk/delete-qrcodes-bulk.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"delete-qrcodes-bulk.d.mts","sourceRoot":"","sources":["../../../src/tools/qrcodes/bulk/delete-qrcodes-bulk.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAsC,MAAM,4BAA4B;OAElF,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,MAAM,MAAM,YAAY;AAE/B,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IA2BlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,MAAM,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAUtF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAVoC,MAAM,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAYvF,wBAA2C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-qrcodes-bulk.d.ts","sourceRoot":"","sources":["../../../src/tools/qrcodes/bulk/delete-qrcodes-bulk.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"delete-qrcodes-bulk.d.ts","sourceRoot":"","sources":["../../../src/tools/qrcodes/bulk/delete-qrcodes-bulk.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAsC,MAAM,4BAA4B;OAElF,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,MAAM,MAAM,YAAY;AAE/B,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IA2BlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,MAAM,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAUtF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAVoC,MAAM,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAYvF,wBAA2C"}
|
|
@@ -39,7 +39,15 @@ exports.tool = {
|
|
|
39
39
|
};
|
|
40
40
|
const handler = async (client, args) => {
|
|
41
41
|
const { jq_filter, ...body } = args;
|
|
42
|
-
|
|
42
|
+
try {
|
|
43
|
+
return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(jq_filter, await client.qrcodes.bulk.delete(body)));
|
|
44
|
+
}
|
|
45
|
+
catch (error) {
|
|
46
|
+
if ((0, filtering_1.isJqError)(error)) {
|
|
47
|
+
return (0, types_1.asErrorResult)(error.message);
|
|
48
|
+
}
|
|
49
|
+
throw error;
|
|
50
|
+
}
|
|
43
51
|
};
|
|
44
52
|
exports.handler = handler;
|
|
45
53
|
exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-qrcodes-bulk.js","sourceRoot":"","sources":["../../../src/tools/qrcodes/bulk/delete-qrcodes-bulk.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"delete-qrcodes-bulk.js","sourceRoot":"","sources":["../../../src/tools/qrcodes/bulk/delete-qrcodes-bulk.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAkE;AAClE,sDAA0F;AAK7E,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,cAAc;IACxB,SAAS,EAAE,OAAO;IAClB,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-1,6 +1,6 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
import { maybeFilter } from '@codeqr/ts-mcp/filtering';
|
|
3
|
-
import { asTextContentResult } from '@codeqr/ts-mcp/tools/types';
|
|
2
|
+
import { isJqError, maybeFilter } from '@codeqr/ts-mcp/filtering';
|
|
3
|
+
import { asErrorResult, asTextContentResult } from '@codeqr/ts-mcp/tools/types';
|
|
4
4
|
export const metadata = {
|
|
5
5
|
resource: 'qrcodes.bulk',
|
|
6
6
|
operation: 'write',
|
|
@@ -36,7 +36,15 @@ export const tool = {
|
|
|
36
36
|
};
|
|
37
37
|
export const handler = async (client, args) => {
|
|
38
38
|
const { jq_filter, ...body } = args;
|
|
39
|
-
|
|
39
|
+
try {
|
|
40
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.qrcodes.bulk.delete(body)));
|
|
41
|
+
}
|
|
42
|
+
catch (error) {
|
|
43
|
+
if (isJqError(error)) {
|
|
44
|
+
return asErrorResult(error.message);
|
|
45
|
+
}
|
|
46
|
+
throw error;
|
|
47
|
+
}
|
|
40
48
|
};
|
|
41
49
|
export default { metadata, tool, handler };
|
|
42
50
|
//# sourceMappingURL=delete-qrcodes-bulk.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-qrcodes-bulk.mjs","sourceRoot":"","sources":["../../../src/tools/qrcodes/bulk/delete-qrcodes-bulk.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE,MAAM,0BAA0B;
|
|
1
|
+
{"version":3,"file":"delete-qrcodes-bulk.mjs","sourceRoot":"","sources":["../../../src/tools/qrcodes/bulk/delete-qrcodes-bulk.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,0BAA0B;OAC1D,EAAY,aAAa,EAAE,mBAAmB,EAAE,MAAM,4BAA4B;AAKzF,MAAM,CAAC,M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@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"count-qrcodes.d.mts","sourceRoot":"","sources":["../../src/tools/qrcodes/count-qrcodes.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"count-qrcodes.d.mts","sourceRoot":"","sources":["../../src/tools/qrcodes/count-qrcodes.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAsC,MAAM,4BAA4B;OAElF,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,MAAM,MAAM,YAAY;AAE/B,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IA4LlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,MAAM,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAUtF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAVoC,MAAM,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAYvF,wBAA2C"}
|