@codeqr/ts 0.5.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/CHANGELOG.md +49 -0
- package/package.json +1 -1
- package/resources/domains.d.mts +24 -0
- package/resources/domains.d.mts.map +1 -1
- package/resources/domains.d.ts +24 -0
- package/resources/domains.d.ts.map +1 -1
- package/src/resources/domains.ts +30 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,54 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.7.0 (2025-11-16)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.6.0...v0.7.0](https://github.com/codeqr-io/codeqr-ts/compare/v0.6.0...v0.7.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([d09bad2](https://github.com/codeqr-io/codeqr-ts/commit/d09bad261b0e40e00fe1cefcd71000f3cbdd433a))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* **mcp:** return tool execution error on jq failure ([42c95ef](https://github.com/codeqr-io/codeqr-ts/commit/42c95ef5817722554090b35d795b784e8447c2ff))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Chores
|
|
18
|
+
|
|
19
|
+
* **mcp:** clarify http auth error ([b7944d4](https://github.com/codeqr-io/codeqr-ts/commit/b7944d465b1b7dbffd08ff7bd95d1204c807be8c))
|
|
20
|
+
* **mcp:** upgrade jq-web ([c9d85c9](https://github.com/codeqr-io/codeqr-ts/commit/c9d85c954056f14e143b41698ca3e8e27735b1ee))
|
|
21
|
+
|
|
22
|
+
## 0.6.0 (2025-11-08)
|
|
23
|
+
|
|
24
|
+
Full Changelog: [v0.5.0...v0.6.0](https://github.com/codeqr-io/codeqr-ts/compare/v0.5.0...v0.6.0)
|
|
25
|
+
|
|
26
|
+
### Features
|
|
27
|
+
|
|
28
|
+
* **mcp:** enable optional code execution tool on http mcp servers ([5b006ea](https://github.com/codeqr-io/codeqr-ts/commit/5b006ea6a8c6f22c9a042845213f345f3b7679f3))
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Bug Fixes
|
|
32
|
+
|
|
33
|
+
* **mcpb:** pin @anthropic-ai/mcpb version ([59dad78](https://github.com/codeqr-io/codeqr-ts/commit/59dad781e4dcd5ac4b6e8551a60706f78bd0983d))
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
### Chores
|
|
37
|
+
|
|
38
|
+
* **internal:** codegen related update ([b6739e0](https://github.com/codeqr-io/codeqr-ts/commit/b6739e052d458d00f21a14e9da46a8ea69558236))
|
|
39
|
+
* **internal:** codegen related update ([cea35cc](https://github.com/codeqr-io/codeqr-ts/commit/cea35cc37a2f5f89960a2bba84bba0fb6443ace7))
|
|
40
|
+
* **internal:** grammar fix (it's -> its) ([2f0a8db](https://github.com/codeqr-io/codeqr-ts/commit/2f0a8dbacd2c8cbed836d4b6d0842875e8acea76))
|
|
41
|
+
* mcp code tool explicit error message when missing a run function ([f659984](https://github.com/codeqr-io/codeqr-ts/commit/f6599847f29cff3a76f43600e08d1939ee2c32dd))
|
|
42
|
+
* **mcp:** add friendlier MCP code tool errors on incorrect method invocations ([c81535c](https://github.com/codeqr-io/codeqr-ts/commit/c81535c2e5f797f6404f8f29800687cb3c822968))
|
|
43
|
+
* **mcp:** add line numbers to code tool errors ([dd1d7e9](https://github.com/codeqr-io/codeqr-ts/commit/dd1d7e9653ac7d1e4a2db8820f4971ab615b8ce1))
|
|
44
|
+
* use structured error when code execution tool errors ([2d20848](https://github.com/codeqr-io/codeqr-ts/commit/2d208485748ec8776479860e973dad1bd1d4d6f1))
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
### Documentation
|
|
48
|
+
|
|
49
|
+
* **mcp:** add a README button for one-click add to Cursor ([dda8528](https://github.com/codeqr-io/codeqr-ts/commit/dda8528983138cb1c7a58103176cc2f2951b7da0))
|
|
50
|
+
* **mcp:** add a README link to add server to VS Code or Claude Code ([bc39447](https://github.com/codeqr-io/codeqr-ts/commit/bc39447974012a9d0a295f90b05c091c0df93497))
|
|
51
|
+
|
|
3
52
|
## 0.5.0 (2025-10-09)
|
|
4
53
|
|
|
5
54
|
Full Changelog: [v0.4.0...v0.5.0](https://github.com/codeqr-io/codeqr-ts/compare/v0.4.0...v0.5.0)
|
package/package.json
CHANGED
package/resources/domains.d.mts
CHANGED
|
@@ -72,6 +72,14 @@ export interface Domain {
|
|
|
72
72
|
* The domain name.
|
|
73
73
|
*/
|
|
74
74
|
slug: string;
|
|
75
|
+
/**
|
|
76
|
+
* The target URL to redirect to when accessing the domain root.
|
|
77
|
+
*/
|
|
78
|
+
target: string | null;
|
|
79
|
+
/**
|
|
80
|
+
* The behavior type for the domain root redirect.
|
|
81
|
+
*/
|
|
82
|
+
type: 'redirect' | 'rewrite';
|
|
75
83
|
/**
|
|
76
84
|
* The date the domain was last updated.
|
|
77
85
|
*/
|
|
@@ -107,6 +115,14 @@ export interface DomainCreateParams {
|
|
|
107
115
|
* example of a link to be shortened.
|
|
108
116
|
*/
|
|
109
117
|
placeholder?: string | null;
|
|
118
|
+
/**
|
|
119
|
+
* The target URL to redirect to when accessing the domain root.
|
|
120
|
+
*/
|
|
121
|
+
target?: string | null;
|
|
122
|
+
/**
|
|
123
|
+
* The behavior type for the domain root redirect.
|
|
124
|
+
*/
|
|
125
|
+
type?: 'redirect' | 'rewrite';
|
|
110
126
|
}
|
|
111
127
|
export interface DomainUpdateParams {
|
|
112
128
|
/**
|
|
@@ -127,6 +143,14 @@ export interface DomainUpdateParams {
|
|
|
127
143
|
* Name of the domain.
|
|
128
144
|
*/
|
|
129
145
|
body_slug?: string;
|
|
146
|
+
/**
|
|
147
|
+
* The target URL to redirect to when accessing the domain root.
|
|
148
|
+
*/
|
|
149
|
+
target?: string | null;
|
|
150
|
+
/**
|
|
151
|
+
* The behavior type for the domain root redirect.
|
|
152
|
+
*/
|
|
153
|
+
type?: 'redirect' | 'rewrite';
|
|
130
154
|
}
|
|
131
155
|
export interface DomainListParams {
|
|
132
156
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"domains.d.mts","sourceRoot":"","sources":["../src/resources/domains.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;OASG;IACH,MAAM,CAAC,IAAI,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,MAAM,CAAC;IAI9E;;;;;;;OAOG;IACH,MAAM,CACJ,QAAQ,EAAE,MAAM,EAChB,IAAI,GAAE,kBAAkB,GAAG,IAAI,GAAG,SAAc,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,MAAM,CAAC;IAIrB;;;;;;;OAOG;IACH,IAAI,CACF,KAAK,GAAE,gBAAgB,GAAG,IAAI,GAAG,SAAc,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC;IAIjC;;;;;;;;OAQG;IACH,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;CAGjF;AAED,MAAM,WAAW,MAAM;IACrB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAE1B;;;OAGG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IAEjB;;OAEG;IAC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AAG,IAAI,CAAC;IAE5B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEvB;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;CAC/B;AAED,MAAM,WAAW,gBAAgB;IAC/B;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,MAAM,IAAI,MAAM,EACrB,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
|
package/resources/domains.d.ts
CHANGED
|
@@ -72,6 +72,14 @@ export interface Domain {
|
|
|
72
72
|
* The domain name.
|
|
73
73
|
*/
|
|
74
74
|
slug: string;
|
|
75
|
+
/**
|
|
76
|
+
* The target URL to redirect to when accessing the domain root.
|
|
77
|
+
*/
|
|
78
|
+
target: string | null;
|
|
79
|
+
/**
|
|
80
|
+
* The behavior type for the domain root redirect.
|
|
81
|
+
*/
|
|
82
|
+
type: 'redirect' | 'rewrite';
|
|
75
83
|
/**
|
|
76
84
|
* The date the domain was last updated.
|
|
77
85
|
*/
|
|
@@ -107,6 +115,14 @@ export interface DomainCreateParams {
|
|
|
107
115
|
* example of a link to be shortened.
|
|
108
116
|
*/
|
|
109
117
|
placeholder?: string | null;
|
|
118
|
+
/**
|
|
119
|
+
* The target URL to redirect to when accessing the domain root.
|
|
120
|
+
*/
|
|
121
|
+
target?: string | null;
|
|
122
|
+
/**
|
|
123
|
+
* The behavior type for the domain root redirect.
|
|
124
|
+
*/
|
|
125
|
+
type?: 'redirect' | 'rewrite';
|
|
110
126
|
}
|
|
111
127
|
export interface DomainUpdateParams {
|
|
112
128
|
/**
|
|
@@ -127,6 +143,14 @@ export interface DomainUpdateParams {
|
|
|
127
143
|
* Name of the domain.
|
|
128
144
|
*/
|
|
129
145
|
body_slug?: string;
|
|
146
|
+
/**
|
|
147
|
+
* The target URL to redirect to when accessing the domain root.
|
|
148
|
+
*/
|
|
149
|
+
target?: string | null;
|
|
150
|
+
/**
|
|
151
|
+
* The behavior type for the domain root redirect.
|
|
152
|
+
*/
|
|
153
|
+
type?: 'redirect' | 'rewrite';
|
|
130
154
|
}
|
|
131
155
|
export interface DomainListParams {
|
|
132
156
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"domains.d.ts","sourceRoot":"","sources":["../src/resources/domains.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;OASG;IACH,MAAM,CAAC,IAAI,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,MAAM,CAAC;IAI9E;;;;;;;OAOG;IACH,MAAM,CACJ,QAAQ,EAAE,MAAM,EAChB,IAAI,GAAE,kBAAkB,GAAG,IAAI,GAAG,SAAc,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,MAAM,CAAC;IAIrB;;;;;;;OAOG;IACH,IAAI,CACF,KAAK,GAAE,gBAAgB,GAAG,IAAI,GAAG,SAAc,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC;IAIjC;;;;;;;;OAQG;IACH,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,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;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEvB;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;CAC/B;AAED,MAAM,WAAW,kBAAkB;IACjC;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3B;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEvB;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;CAC/B;AAED,MAAM,WAAW,gBAAgB;IAC/B;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,MAAM,IAAI,MAAM,EACrB,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
|
package/src/resources/domains.ts
CHANGED
|
@@ -102,6 +102,16 @@ export interface Domain {
|
|
|
102
102
|
*/
|
|
103
103
|
slug: string;
|
|
104
104
|
|
|
105
|
+
/**
|
|
106
|
+
* The target URL to redirect to when accessing the domain root.
|
|
107
|
+
*/
|
|
108
|
+
target: string | null;
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* The behavior type for the domain root redirect.
|
|
112
|
+
*/
|
|
113
|
+
type: 'redirect' | 'rewrite';
|
|
114
|
+
|
|
105
115
|
/**
|
|
106
116
|
* The date the domain was last updated.
|
|
107
117
|
*/
|
|
@@ -144,6 +154,16 @@ export interface DomainCreateParams {
|
|
|
144
154
|
* example of a link to be shortened.
|
|
145
155
|
*/
|
|
146
156
|
placeholder?: string | null;
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* The target URL to redirect to when accessing the domain root.
|
|
160
|
+
*/
|
|
161
|
+
target?: string | null;
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* The behavior type for the domain root redirect.
|
|
165
|
+
*/
|
|
166
|
+
type?: 'redirect' | 'rewrite';
|
|
147
167
|
}
|
|
148
168
|
|
|
149
169
|
export interface DomainUpdateParams {
|
|
@@ -168,6 +188,16 @@ export interface DomainUpdateParams {
|
|
|
168
188
|
* Name of the domain.
|
|
169
189
|
*/
|
|
170
190
|
body_slug?: string;
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* The target URL to redirect to when accessing the domain root.
|
|
194
|
+
*/
|
|
195
|
+
target?: string | null;
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* The behavior type for the domain root redirect.
|
|
199
|
+
*/
|
|
200
|
+
type?: 'redirect' | 'rewrite';
|
|
171
201
|
}
|
|
172
202
|
|
|
173
203
|
export interface DomainListParams {
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.7.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.7.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.7.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.7.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|