notdiamond 2.0.0-rc2 → 2.0.0-rc21
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 +193 -0
- package/LICENSE +1 -1
- package/README.md +294 -168
- package/client.d.mts +26 -43
- package/client.d.mts.map +1 -1
- package/client.d.ts +26 -43
- package/client.d.ts.map +1 -1
- package/client.js +49 -68
- package/client.js.map +1 -1
- package/client.mjs +47 -66
- package/client.mjs.map +1 -1
- package/core/api-promise.d.mts +2 -2
- package/core/api-promise.d.ts +2 -2
- package/core/error.d.mts +2 -2
- package/core/error.d.ts +2 -2
- package/core/error.js +4 -4
- package/core/error.mjs +2 -2
- package/core/resource.d.mts +3 -3
- package/core/resource.d.ts +3 -3
- package/index.d.mts +3 -3
- package/index.d.ts +3 -3
- package/index.js +4 -4
- package/index.mjs +3 -3
- package/internal/parse.d.mts +2 -2
- package/internal/parse.d.ts +2 -2
- package/internal/shims.js +1 -1
- package/internal/shims.mjs +1 -1
- package/internal/uploads.d.mts +4 -4
- package/internal/uploads.d.ts +4 -4
- package/internal/utils/base64.js +2 -2
- package/internal/utils/base64.mjs +3 -3
- package/internal/utils/env.d.mts.map +1 -1
- package/internal/utils/env.d.ts.map +1 -1
- package/internal/utils/env.js +4 -2
- package/internal/utils/env.js.map +1 -1
- package/internal/utils/env.mjs +4 -2
- package/internal/utils/env.mjs.map +1 -1
- package/internal/utils/log.d.mts +3 -3
- package/internal/utils/log.d.ts +3 -3
- package/internal/utils/path.js +1 -1
- package/internal/utils/path.mjs +2 -2
- package/internal/utils/values.js +5 -5
- package/internal/utils/values.mjs +6 -6
- package/package.json +11 -12
- package/resources/custom-router.d.mts +145 -0
- package/resources/custom-router.d.mts.map +1 -0
- package/resources/custom-router.d.ts +145 -0
- package/resources/custom-router.d.ts.map +1 -0
- package/resources/custom-router.js +83 -0
- package/resources/custom-router.js.map +1 -0
- package/resources/custom-router.mjs +79 -0
- package/resources/custom-router.mjs.map +1 -0
- package/resources/index.d.mts +5 -6
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +5 -6
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +5 -7
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -3
- package/resources/index.mjs.map +1 -1
- package/resources/model-router.d.mts +194 -0
- package/resources/model-router.d.mts.map +1 -0
- package/resources/model-router.d.ts +194 -0
- package/resources/model-router.d.ts.map +1 -0
- package/resources/model-router.js +68 -0
- package/resources/model-router.js.map +1 -0
- package/resources/model-router.mjs +64 -0
- package/resources/model-router.mjs.map +1 -0
- package/resources/models.d.mts +50 -25
- package/resources/models.d.mts.map +1 -1
- package/resources/models.d.ts +50 -25
- package/resources/models.d.ts.map +1 -1
- package/resources/models.js +5 -0
- package/resources/models.js.map +1 -1
- package/resources/models.mjs +5 -0
- package/resources/models.mjs.map +1 -1
- package/resources/preferences.d.mts +37 -54
- package/resources/preferences.d.mts.map +1 -1
- package/resources/preferences.d.ts +37 -54
- package/resources/preferences.d.ts.map +1 -1
- package/resources/preferences.js +17 -42
- package/resources/preferences.js.map +1 -1
- package/resources/preferences.mjs +17 -42
- package/resources/preferences.mjs.map +1 -1
- package/resources/prompt-adaptation.d.mts +340 -249
- package/resources/prompt-adaptation.d.mts.map +1 -1
- package/resources/prompt-adaptation.d.ts +340 -249
- package/resources/prompt-adaptation.d.ts.map +1 -1
- package/resources/prompt-adaptation.js +36 -79
- package/resources/prompt-adaptation.js.map +1 -1
- package/resources/prompt-adaptation.mjs +36 -79
- package/resources/prompt-adaptation.mjs.map +1 -1
- package/src/client.ts +72 -128
- package/src/core/api-promise.ts +4 -4
- package/src/core/error.ts +2 -2
- package/src/core/resource.ts +3 -3
- package/src/index.ts +3 -3
- package/src/internal/parse.ts +2 -2
- package/src/internal/shims.ts +1 -1
- package/src/internal/uploads.ts +5 -5
- package/src/internal/utils/base64.ts +3 -3
- package/src/internal/utils/env.ts +4 -2
- package/src/internal/utils/log.ts +3 -3
- package/src/internal/utils/path.ts +2 -2
- package/src/internal/utils/values.ts +6 -6
- package/src/resources/custom-router.ts +168 -0
- package/src/resources/index.ts +20 -32
- package/src/resources/model-router.ts +222 -0
- package/src/resources/models.ts +55 -32
- package/src/resources/preferences.ts +43 -83
- package/src/resources/prompt-adaptation.ts +358 -300
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.mts.map +1 -1
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
- package/resources/admin.d.mts +0 -4
- package/resources/admin.d.mts.map +0 -1
- package/resources/admin.d.ts +0 -4
- package/resources/admin.d.ts.map +0 -1
- package/resources/admin.js +0 -9
- package/resources/admin.js.map +0 -1
- package/resources/admin.mjs +0 -5
- package/resources/admin.mjs.map +0 -1
- package/resources/report.d.mts +0 -245
- package/resources/report.d.mts.map +0 -1
- package/resources/report.d.ts +0 -245
- package/resources/report.d.ts.map +0 -1
- package/resources/report.js +0 -86
- package/resources/report.js.map +0 -1
- package/resources/report.mjs +0 -82
- package/resources/report.mjs.map +0 -1
- package/resources/routing.d.mts +0 -391
- package/resources/routing.d.mts.map +0 -1
- package/resources/routing.d.ts +0 -391
- package/resources/routing.d.ts.map +0 -1
- package/resources/routing.js +0 -163
- package/resources/routing.js.map +0 -1
- package/resources/routing.mjs +0 -159
- package/resources/routing.mjs.map +0 -1
- package/src/resources/admin.ts +0 -5
- package/src/resources/report.ts +0 -300
- package/src/resources/routing.ts +0 -476
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,198 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.0.0-rc21 (2025-12-08)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v2.0.0-rc20...v2.0.0-rc21](https://github.com/Not-Diamond/not-diamond-typescript/compare/v2.0.0-rc20...v2.0.0-rc21)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
* **docs:** correct comment formatting in README.md for prompt adaptation examples ([37ecd5d](https://github.com/Not-Diamond/not-diamond-typescript/commit/37ecd5d51ec85ba3d7c513939aa269472807f64c))
|
|
10
|
+
|
|
11
|
+
## 2.0.0-rc20 (2025-12-08)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v2.0.0-rc19...v2.0.0-rc20](https://github.com/Not-Diamond/not-diamond-typescript/compare/v2.0.0-rc19...v2.0.0-rc20)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **api:** api update ([84c5066](https://github.com/Not-Diamond/not-diamond-typescript/commit/84c5066bea0f66d3f0a6db873db07c8a8fa5e003))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **mcp:** correct code tool API endpoint ([635c1ae](https://github.com/Not-Diamond/not-diamond-typescript/commit/635c1ae86b78993557e4dd91fd2e413a726dd04c))
|
|
23
|
+
* **mcp:** return correct lines on typescript errors ([4dbe2f4](https://github.com/Not-Diamond/not-diamond-typescript/commit/4dbe2f425ecc39e6dc89e3387754db85643718e4))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Chores
|
|
27
|
+
|
|
28
|
+
* **internal:** codegen related update ([ab51a25](https://github.com/Not-Diamond/not-diamond-typescript/commit/ab51a250692a609e9aa6bfe62392347b577846bc))
|
|
29
|
+
* **internal:** codegen related update ([c396036](https://github.com/Not-Diamond/not-diamond-typescript/commit/c39603681e3efa4ffd7df8dcf881c1a503d5aa2b))
|
|
30
|
+
* **internal:** configure pnpm minimumReleaseAge to 1 day ([b851d00](https://github.com/Not-Diamond/not-diamond-typescript/commit/b851d00a1a464c1771a744ae9cf0fa0ac2d2b112))
|
|
31
|
+
* **internal:** upgrade eslint ([37c2476](https://github.com/Not-Diamond/not-diamond-typescript/commit/37c2476b5fa8ad716f598f8d524f15f18eea9d90))
|
|
32
|
+
|
|
33
|
+
## 2.0.0-rc19 (2025-12-02)
|
|
34
|
+
|
|
35
|
+
Full Changelog: [v2.0.0-rc18...v2.0.0-rc19](https://github.com/Not-Diamond/not-diamond-typescript/compare/v2.0.0-rc18...v2.0.0-rc19)
|
|
36
|
+
|
|
37
|
+
### Features
|
|
38
|
+
|
|
39
|
+
* **api:** api update ([7d01517](https://github.com/Not-Diamond/not-diamond-typescript/commit/7d015174936c113759aeba7c867889eba461e63f))
|
|
40
|
+
* **api:** manual updates ([c036288](https://github.com/Not-Diamond/not-diamond-typescript/commit/c03628828ac7f0237204dbb87b615138b1dc1b7b))
|
|
41
|
+
|
|
42
|
+
## 2.0.0-rc18 (2025-12-02)
|
|
43
|
+
|
|
44
|
+
Full Changelog: [v2.0.0-rc17...v2.0.0-rc18](https://github.com/Not-Diamond/not-diamond-typescript/compare/v2.0.0-rc17...v2.0.0-rc18)
|
|
45
|
+
|
|
46
|
+
### Features
|
|
47
|
+
|
|
48
|
+
* **api:** api update ([4186119](https://github.com/Not-Diamond/not-diamond-typescript/commit/4186119d41c418d43aafbaebd146576bb5071bdd))
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
### Chores
|
|
52
|
+
|
|
53
|
+
* **client:** fix logger property type ([ddb5250](https://github.com/Not-Diamond/not-diamond-typescript/commit/ddb5250728756f13a16b995134bde305a91e72cd))
|
|
54
|
+
* update package.json and pnpm-lock.yaml with dependency overrides for @babel/helpers and js-yaml ([2502340](https://github.com/Not-Diamond/not-diamond-typescript/commit/2502340cb7f23ae04894d2e7c6fc0a36a10a7b5e))
|
|
55
|
+
|
|
56
|
+
## 2.0.0-rc17 (2025-11-14)
|
|
57
|
+
|
|
58
|
+
Full Changelog: [v2.0.0-rc16...v2.0.0-rc17](https://github.com/Not-Diamond/not-diamond-typescript/compare/v2.0.0-rc16...v2.0.0-rc17)
|
|
59
|
+
|
|
60
|
+
### Bug Fixes
|
|
61
|
+
|
|
62
|
+
* **docs:** update README to correct prompt adaptation method calls and improve clarity ([92d08c9](https://github.com/Not-Diamond/not-diamond-typescript/commit/92d08c91068ab3a6d022c3675ff5e7d98092bed6))
|
|
63
|
+
|
|
64
|
+
## 2.0.0-rc16 (2025-11-14)
|
|
65
|
+
|
|
66
|
+
Full Changelog: [v2.0.0-rc15...v2.0.0-rc16](https://github.com/Not-Diamond/not-diamond-typescript/compare/v2.0.0-rc15...v2.0.0-rc16)
|
|
67
|
+
|
|
68
|
+
### Features
|
|
69
|
+
|
|
70
|
+
* **api:** manual updates ([cf4dff1](https://github.com/Not-Diamond/not-diamond-typescript/commit/cf4dff18d42113ba5e87502c3080142b5d8430c9))
|
|
71
|
+
|
|
72
|
+
## 2.0.0-rc15 (2025-11-14)
|
|
73
|
+
|
|
74
|
+
Full Changelog: [v2.0.0-rc14...v2.0.0-rc15](https://github.com/Not-Diamond/not-diamond-typescript/compare/v2.0.0-rc14...v2.0.0-rc15)
|
|
75
|
+
|
|
76
|
+
### Features
|
|
77
|
+
|
|
78
|
+
* **api:** api update ([fb34b0d](https://github.com/Not-Diamond/not-diamond-typescript/commit/fb34b0d945db7c91f11afc7780c366381359c036))
|
|
79
|
+
|
|
80
|
+
## 2.0.0-rc14 (2025-11-14)
|
|
81
|
+
|
|
82
|
+
Full Changelog: [v2.0.0-rc13...v2.0.0-rc14](https://github.com/Not-Diamond/not-diamond-typescript/compare/v2.0.0-rc13...v2.0.0-rc14)
|
|
83
|
+
|
|
84
|
+
### Features
|
|
85
|
+
|
|
86
|
+
* **api:** manual updates ([ef30432](https://github.com/Not-Diamond/not-diamond-typescript/commit/ef304326d8b0e0312c333e9c9c559c4a7de56d78))
|
|
87
|
+
|
|
88
|
+
## 2.0.0-rc13 (2025-11-13)
|
|
89
|
+
|
|
90
|
+
Full Changelog: [v2.0.0-rc11...v2.0.0-rc13](https://github.com/Not-Diamond/not-diamond-typescript/compare/v2.0.0-rc11...v2.0.0-rc13)
|
|
91
|
+
|
|
92
|
+
### Features
|
|
93
|
+
|
|
94
|
+
* **api:** manual updates ([39f6d64](https://github.com/Not-Diamond/not-diamond-typescript/commit/39f6d6412feea4853877ef81660b3b4bb1b8fce1))
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
### Documentation
|
|
98
|
+
|
|
99
|
+
* update README to reflect changes in prompt adaptation details and API key naming convention ([664607c](https://github.com/Not-Diamond/not-diamond-typescript/commit/664607c23a691c96d8f9e7884a464fe5788d03ca))
|
|
100
|
+
* update README to remove Prompt Adaptation section and add Train Custom Router section with usage examples ([f568d40](https://github.com/Not-Diamond/not-diamond-typescript/commit/f568d406342742092a8f512373335764611005e4))
|
|
101
|
+
|
|
102
|
+
## 2.0.0-rc11 (2025-11-12)
|
|
103
|
+
|
|
104
|
+
Full Changelog: [v2.0.0-rc10...v2.0.0-rc11](https://github.com/Not-Diamond/not-diamond-typescript/compare/v2.0.0-rc10...v2.0.0-rc11)
|
|
105
|
+
|
|
106
|
+
### Features
|
|
107
|
+
|
|
108
|
+
* **api:** changed name ([26dafc9](https://github.com/Not-Diamond/not-diamond-typescript/commit/26dafc922b42ae9d95c010c38227360bde6759ce))
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
### Chores
|
|
112
|
+
|
|
113
|
+
* **internal:** codegen related update ([8c6c957](https://github.com/Not-Diamond/not-diamond-typescript/commit/8c6c957834274d394960ac66d782547bdc7dd856))
|
|
114
|
+
|
|
115
|
+
## 2.0.0-rc10 (2025-11-10)
|
|
116
|
+
|
|
117
|
+
Full Changelog: [v2.0.0-rc9...v2.0.0-rc10](https://github.com/Not-Diamond/not-diamond-typescript/compare/v2.0.0-rc9...v2.0.0-rc10)
|
|
118
|
+
|
|
119
|
+
### Features
|
|
120
|
+
|
|
121
|
+
* **api:** manual updates ([b19bcb6](https://github.com/Not-Diamond/not-diamond-typescript/commit/b19bcb6965272f127345ef26b044fb74ac5a9f2a))
|
|
122
|
+
|
|
123
|
+
## 2.0.0-rc9 (2025-11-10)
|
|
124
|
+
|
|
125
|
+
Full Changelog: [v2.0.0-rc9...v2.0.0-rc9](https://github.com/Not-Diamond/not-diamond-typescript/compare/v2.0.0-rc9...v2.0.0-rc9)
|
|
126
|
+
|
|
127
|
+
### Features
|
|
128
|
+
|
|
129
|
+
* **api:** manual updates ([33b1872](https://github.com/Not-Diamond/not-diamond-typescript/commit/33b1872a28439049fe06472bdb7502ae9dd0d260))
|
|
130
|
+
|
|
131
|
+
## 2.0.0-rc9 (2025-11-10)
|
|
132
|
+
|
|
133
|
+
Full Changelog: [v2.0.0-rc8...v2.0.0-rc9](https://github.com/Not-Diamond/not-diamond-typescript/compare/v2.0.0-rc8...v2.0.0-rc9)
|
|
134
|
+
|
|
135
|
+
## 2.0.0-rc8 (2025-11-10)
|
|
136
|
+
|
|
137
|
+
Full Changelog: [v2.0.0-rc6...v2.0.0-rc8](https://github.com/Not-Diamond/not-diamond-typescript/compare/v2.0.0-rc6...v2.0.0-rc8)
|
|
138
|
+
|
|
139
|
+
### Features
|
|
140
|
+
|
|
141
|
+
* **api:** manual updates ([46892a1](https://github.com/Not-Diamond/not-diamond-typescript/commit/46892a160ca21dedd68512bbc0f31dd26ab67586))
|
|
142
|
+
|
|
143
|
+
## 2.0.0-rc6 (2025-11-07)
|
|
144
|
+
|
|
145
|
+
Full Changelog: [v2.0.0-rc5...v2.0.0-rc6](https://github.com/Not-Diamond/not-diamond-typescript/compare/v2.0.0-rc5...v2.0.0-rc6)
|
|
146
|
+
|
|
147
|
+
### Features
|
|
148
|
+
|
|
149
|
+
* **api:** api update ([1d08dd1](https://github.com/Not-Diamond/not-diamond-typescript/commit/1d08dd1ee83a2f4f6147152c044858ad5c113247))
|
|
150
|
+
|
|
151
|
+
## 2.0.0-rc5 (2025-11-06)
|
|
152
|
+
|
|
153
|
+
Full Changelog: [v2.0.0-rc4...v2.0.0-rc5](https://github.com/Not-Diamond/not-diamond-typescript/compare/v2.0.0-rc4...v2.0.0-rc5)
|
|
154
|
+
|
|
155
|
+
### Features
|
|
156
|
+
|
|
157
|
+
* **api:** manual updates ([92ec1c6](https://github.com/Not-Diamond/not-diamond-typescript/commit/92ec1c69f2c5de881cdc36790aa84bcf568eae70))
|
|
158
|
+
|
|
159
|
+
## 2.0.0-rc4 (2025-11-05)
|
|
160
|
+
|
|
161
|
+
Full Changelog: [v2.0.0-rc3...v2.0.0-rc4](https://github.com/Not-Diamond/not-diamond-typescript/compare/v2.0.0-rc3...v2.0.0-rc4)
|
|
162
|
+
|
|
163
|
+
### Features
|
|
164
|
+
|
|
165
|
+
* **api:** manual updates ([dd4e78c](https://github.com/Not-Diamond/not-diamond-typescript/commit/dd4e78c59a3b8d07613b72e33cf0e414b62d7e30))
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
### Chores
|
|
169
|
+
|
|
170
|
+
* update SDK settings ([42a98d0](https://github.com/Not-Diamond/not-diamond-typescript/commit/42a98d0699147509d025e232ad05ed97e6fa9ed3))
|
|
171
|
+
|
|
172
|
+
## 2.0.0-rc3 (2025-11-05)
|
|
173
|
+
|
|
174
|
+
Full Changelog: [v2.0.0-rc2...v2.0.0-rc3](https://github.com/Not-Diamond/not-diamond-typescript/compare/v2.0.0-rc2...v2.0.0-rc3)
|
|
175
|
+
|
|
176
|
+
### Features
|
|
177
|
+
|
|
178
|
+
* **api:** api update ([d087c64](https://github.com/Not-Diamond/not-diamond-typescript/commit/d087c6421949701acada35f89a1a8d009b581194))
|
|
179
|
+
* **api:** api update ([e431f34](https://github.com/Not-Diamond/not-diamond-typescript/commit/e431f343b558579f7940eacaef5d4f4b3656398f))
|
|
180
|
+
* **api:** api update ([8e6ad30](https://github.com/Not-Diamond/not-diamond-typescript/commit/8e6ad303485025b04622fcaf8d92686581fcc2a7))
|
|
181
|
+
* **api:** enable tests ([d94af20](https://github.com/Not-Diamond/not-diamond-typescript/commit/d94af20e2963644a0034fe1b60a7febf140b204f))
|
|
182
|
+
* **api:** manual updates ([20adad9](https://github.com/Not-Diamond/not-diamond-typescript/commit/20adad9ab8f778b3a8599c41cd91734b2c556614))
|
|
183
|
+
* **api:** regen docs ([ba39a05](https://github.com/Not-Diamond/not-diamond-typescript/commit/ba39a05f842dac7d5eb5153192ec08c3d87bf79f))
|
|
184
|
+
* **api:** verify mock tests enabled ([dcfbb6b](https://github.com/Not-Diamond/not-diamond-typescript/commit/dcfbb6b47900690ea531c510387b7e0392e23abb))
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
### Bug Fixes
|
|
188
|
+
|
|
189
|
+
* **env:** handle empty environment variable values ([8360f59](https://github.com/Not-Diamond/not-diamond-typescript/commit/8360f59232e1887a1c6560a6195846c1c45f66e9))
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
### Chores
|
|
193
|
+
|
|
194
|
+
* update SDK settings ([259c1ab](https://github.com/Not-Diamond/not-diamond-typescript/commit/259c1ab15d0c4d8bb1700ffa79fc24481ac4a4ae))
|
|
195
|
+
|
|
3
196
|
## 2.0.0-rc2 (2025-10-31)
|
|
4
197
|
|
|
5
198
|
Full Changelog: [v2.0.0-rc1...v2.0.0-rc2](https://github.com/Not-Diamond/not-diamond-typescript/compare/v2.0.0-rc1...v2.0.0-rc2)
|
package/LICENSE
CHANGED
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
same "printed page" as the copyright notice for easier
|
|
187
187
|
identification within third-party archives.
|
|
188
188
|
|
|
189
|
-
Copyright 2025
|
|
189
|
+
Copyright 2025 Notdiamond
|
|
190
190
|
|
|
191
191
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
192
|
you may not use this file except in compliance with the License.
|