notdiamond 2.0.0-rc5 → 2.1.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 (144) hide show
  1. package/CHANGELOG.md +170 -0
  2. package/LICENSE +1 -1
  3. package/README.md +276 -148
  4. package/client.d.mts +16 -19
  5. package/client.d.mts.map +1 -1
  6. package/client.d.ts +16 -19
  7. package/client.d.ts.map +1 -1
  8. package/client.js +11 -14
  9. package/client.js.map +1 -1
  10. package/client.mjs +11 -14
  11. package/client.mjs.map +1 -1
  12. package/internal/tslib.js +17 -17
  13. package/package.json +3 -3
  14. package/resources/{pzn.d.mts → custom-router.d.mts} +16 -96
  15. package/resources/custom-router.d.mts.map +1 -0
  16. package/resources/{pzn.d.ts → custom-router.d.ts} +16 -96
  17. package/resources/custom-router.d.ts.map +1 -0
  18. package/resources/{pzn.js → custom-router.js} +13 -50
  19. package/resources/custom-router.js.map +1 -0
  20. package/resources/{pzn.mjs → custom-router.mjs} +11 -48
  21. package/resources/custom-router.mjs.map +1 -0
  22. package/resources/index.d.mts +4 -5
  23. package/resources/index.d.mts.map +1 -1
  24. package/resources/index.d.ts +4 -5
  25. package/resources/index.d.ts.map +1 -1
  26. package/resources/index.js +5 -7
  27. package/resources/index.js.map +1 -1
  28. package/resources/index.mjs +2 -3
  29. package/resources/index.mjs.map +1 -1
  30. package/resources/model-router.d.mts +6 -123
  31. package/resources/model-router.d.mts.map +1 -1
  32. package/resources/model-router.d.ts +6 -123
  33. package/resources/model-router.d.ts.map +1 -1
  34. package/resources/model-router.js +3 -32
  35. package/resources/model-router.js.map +1 -1
  36. package/resources/model-router.mjs +3 -32
  37. package/resources/model-router.mjs.map +1 -1
  38. package/resources/preferences.d.mts +4 -23
  39. package/resources/preferences.d.mts.map +1 -1
  40. package/resources/preferences.d.ts +4 -23
  41. package/resources/preferences.d.ts.map +1 -1
  42. package/resources/preferences.js +3 -25
  43. package/resources/preferences.js.map +1 -1
  44. package/resources/preferences.mjs +3 -25
  45. package/resources/preferences.mjs.map +1 -1
  46. package/resources/prompt-adaptation.d.mts +687 -0
  47. package/resources/prompt-adaptation.d.mts.map +1 -0
  48. package/resources/prompt-adaptation.d.ts +687 -0
  49. package/resources/prompt-adaptation.d.ts.map +1 -0
  50. package/resources/prompt-adaptation.js +258 -0
  51. package/resources/prompt-adaptation.js.map +1 -0
  52. package/resources/prompt-adaptation.mjs +254 -0
  53. package/resources/prompt-adaptation.mjs.map +1 -0
  54. package/src/client.ts +37 -44
  55. package/src/resources/{pzn.ts → custom-router.ts} +17 -122
  56. package/src/resources/index.ts +14 -16
  57. package/src/resources/model-router.ts +5 -139
  58. package/src/resources/preferences.ts +3 -34
  59. package/src/resources/prompt-adaptation.ts +780 -0
  60. package/src/version.ts +1 -1
  61. package/version.d.mts +1 -1
  62. package/version.d.mts.map +1 -1
  63. package/version.d.ts +1 -1
  64. package/version.d.ts.map +1 -1
  65. package/version.js +1 -1
  66. package/version.js.map +1 -1
  67. package/version.mjs +1 -1
  68. package/version.mjs.map +1 -1
  69. package/resources/prompt/adapt.d.mts +0 -352
  70. package/resources/prompt/adapt.d.mts.map +0 -1
  71. package/resources/prompt/adapt.d.ts +0 -352
  72. package/resources/prompt/adapt.d.ts.map +0 -1
  73. package/resources/prompt/adapt.js +0 -154
  74. package/resources/prompt/adapt.js.map +0 -1
  75. package/resources/prompt/adapt.mjs +0 -150
  76. package/resources/prompt/adapt.mjs.map +0 -1
  77. package/resources/prompt/index.d.mts +0 -3
  78. package/resources/prompt/index.d.mts.map +0 -1
  79. package/resources/prompt/index.d.ts +0 -3
  80. package/resources/prompt/index.d.ts.map +0 -1
  81. package/resources/prompt/index.js +0 -9
  82. package/resources/prompt/index.js.map +0 -1
  83. package/resources/prompt/index.mjs +0 -4
  84. package/resources/prompt/index.mjs.map +0 -1
  85. package/resources/prompt/prompt.d.mts +0 -338
  86. package/resources/prompt/prompt.d.mts.map +0 -1
  87. package/resources/prompt/prompt.d.ts +0 -338
  88. package/resources/prompt/prompt.d.ts.map +0 -1
  89. package/resources/prompt/prompt.js +0 -128
  90. package/resources/prompt/prompt.js.map +0 -1
  91. package/resources/prompt/prompt.mjs +0 -123
  92. package/resources/prompt/prompt.mjs.map +0 -1
  93. package/resources/prompt.d.mts +0 -2
  94. package/resources/prompt.d.mts.map +0 -1
  95. package/resources/prompt.d.ts +0 -2
  96. package/resources/prompt.d.ts.map +0 -1
  97. package/resources/prompt.js +0 -6
  98. package/resources/prompt.js.map +0 -1
  99. package/resources/prompt.mjs +0 -3
  100. package/resources/prompt.mjs.map +0 -1
  101. package/resources/pzn.d.mts.map +0 -1
  102. package/resources/pzn.d.ts.map +0 -1
  103. package/resources/pzn.js.map +0 -1
  104. package/resources/pzn.mjs.map +0 -1
  105. package/resources/report/index.d.mts +0 -3
  106. package/resources/report/index.d.mts.map +0 -1
  107. package/resources/report/index.d.ts +0 -3
  108. package/resources/report/index.d.ts.map +0 -1
  109. package/resources/report/index.js +0 -9
  110. package/resources/report/index.js.map +0 -1
  111. package/resources/report/index.mjs +0 -4
  112. package/resources/report/index.mjs.map +0 -1
  113. package/resources/report/metrics.d.mts +0 -87
  114. package/resources/report/metrics.d.mts.map +0 -1
  115. package/resources/report/metrics.d.ts +0 -87
  116. package/resources/report/metrics.d.ts.map +0 -1
  117. package/resources/report/metrics.js +0 -57
  118. package/resources/report/metrics.js.map +0 -1
  119. package/resources/report/metrics.mjs +0 -53
  120. package/resources/report/metrics.mjs.map +0 -1
  121. package/resources/report/report.d.mts +0 -10
  122. package/resources/report/report.d.mts.map +0 -1
  123. package/resources/report/report.d.ts +0 -10
  124. package/resources/report/report.d.ts.map +0 -1
  125. package/resources/report/report.js +0 -17
  126. package/resources/report/report.js.map +0 -1
  127. package/resources/report/report.mjs +0 -12
  128. package/resources/report/report.mjs.map +0 -1
  129. package/resources/report.d.mts +0 -2
  130. package/resources/report.d.mts.map +0 -1
  131. package/resources/report.d.ts +0 -2
  132. package/resources/report.d.ts.map +0 -1
  133. package/resources/report.js +0 -6
  134. package/resources/report.js.map +0 -1
  135. package/resources/report.mjs +0 -3
  136. package/resources/report.mjs.map +0 -1
  137. package/src/resources/prompt/adapt.ts +0 -402
  138. package/src/resources/prompt/index.ts +0 -16
  139. package/src/resources/prompt/prompt.ts +0 -398
  140. package/src/resources/prompt.ts +0 -3
  141. package/src/resources/report/index.ts +0 -4
  142. package/src/resources/report/metrics.ts +0 -99
  143. package/src/resources/report/report.ts +0 -19
  144. package/src/resources/report.ts +0 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,175 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.1.0 (2025-12-16)
4
+
5
+ Full Changelog: [v2.0.0...v2.1.0](https://github.com/Not-Diamond/not-diamond-typescript/compare/v2.0.0...v2.1.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([cd722d2](https://github.com/Not-Diamond/not-diamond-typescript/commit/cd722d21da6b084a46e14605f8a698e33eb8b09e))
10
+ * **api:** api update ([70574af](https://github.com/Not-Diamond/not-diamond-typescript/commit/70574afebdb651cdf004f4a7c223b20d6141dcf3))
11
+
12
+
13
+ ### Chores
14
+
15
+ * **api:** changed default client name to NotDiamond ([6a57ccd](https://github.com/Not-Diamond/not-diamond-typescript/commit/6a57ccd9b266ba6da66e78601bca315fda58da08))
16
+
17
+ ## 2.0.0 (2025-12-08)
18
+
19
+ Full Changelog: [v2.0.0-rc21...v2.0.0](https://github.com/Not-Diamond/not-diamond-typescript/compare/v2.0.0-rc21...v2.0.0)
20
+
21
+ ### Features
22
+
23
+ * **api:** api update ([3b1d358](https://github.com/Not-Diamond/not-diamond-typescript/commit/3b1d358a8328115387cdf751f5fc15a0e014217a))
24
+
25
+ ## 2.0.0-rc21 (2025-12-08)
26
+
27
+ 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)
28
+
29
+ ### Bug Fixes
30
+
31
+ * **docs:** correct comment formatting in README.md for prompt adaptation examples ([37ecd5d](https://github.com/Not-Diamond/not-diamond-typescript/commit/37ecd5d51ec85ba3d7c513939aa269472807f64c))
32
+
33
+ ## 2.0.0-rc20 (2025-12-08)
34
+
35
+ 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)
36
+
37
+ ### Features
38
+
39
+ * **api:** api update ([84c5066](https://github.com/Not-Diamond/not-diamond-typescript/commit/84c5066bea0f66d3f0a6db873db07c8a8fa5e003))
40
+
41
+
42
+ ### Bug Fixes
43
+
44
+ * **mcp:** correct code tool API endpoint ([635c1ae](https://github.com/Not-Diamond/not-diamond-typescript/commit/635c1ae86b78993557e4dd91fd2e413a726dd04c))
45
+ * **mcp:** return correct lines on typescript errors ([4dbe2f4](https://github.com/Not-Diamond/not-diamond-typescript/commit/4dbe2f425ecc39e6dc89e3387754db85643718e4))
46
+
47
+
48
+ ### Chores
49
+
50
+ * **internal:** codegen related update ([ab51a25](https://github.com/Not-Diamond/not-diamond-typescript/commit/ab51a250692a609e9aa6bfe62392347b577846bc))
51
+ * **internal:** codegen related update ([c396036](https://github.com/Not-Diamond/not-diamond-typescript/commit/c39603681e3efa4ffd7df8dcf881c1a503d5aa2b))
52
+ * **internal:** configure pnpm minimumReleaseAge to 1 day ([b851d00](https://github.com/Not-Diamond/not-diamond-typescript/commit/b851d00a1a464c1771a744ae9cf0fa0ac2d2b112))
53
+ * **internal:** upgrade eslint ([37c2476](https://github.com/Not-Diamond/not-diamond-typescript/commit/37c2476b5fa8ad716f598f8d524f15f18eea9d90))
54
+
55
+ ## 2.0.0-rc19 (2025-12-02)
56
+
57
+ 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)
58
+
59
+ ### Features
60
+
61
+ * **api:** api update ([7d01517](https://github.com/Not-Diamond/not-diamond-typescript/commit/7d015174936c113759aeba7c867889eba461e63f))
62
+ * **api:** manual updates ([c036288](https://github.com/Not-Diamond/not-diamond-typescript/commit/c03628828ac7f0237204dbb87b615138b1dc1b7b))
63
+
64
+ ## 2.0.0-rc18 (2025-12-02)
65
+
66
+ 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)
67
+
68
+ ### Features
69
+
70
+ * **api:** api update ([4186119](https://github.com/Not-Diamond/not-diamond-typescript/commit/4186119d41c418d43aafbaebd146576bb5071bdd))
71
+
72
+
73
+ ### Chores
74
+
75
+ * **client:** fix logger property type ([ddb5250](https://github.com/Not-Diamond/not-diamond-typescript/commit/ddb5250728756f13a16b995134bde305a91e72cd))
76
+ * 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))
77
+
78
+ ## 2.0.0-rc17 (2025-11-14)
79
+
80
+ 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)
81
+
82
+ ### Bug Fixes
83
+
84
+ * **docs:** update README to correct prompt adaptation method calls and improve clarity ([92d08c9](https://github.com/Not-Diamond/not-diamond-typescript/commit/92d08c91068ab3a6d022c3675ff5e7d98092bed6))
85
+
86
+ ## 2.0.0-rc16 (2025-11-14)
87
+
88
+ 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)
89
+
90
+ ### Features
91
+
92
+ * **api:** manual updates ([cf4dff1](https://github.com/Not-Diamond/not-diamond-typescript/commit/cf4dff18d42113ba5e87502c3080142b5d8430c9))
93
+
94
+ ## 2.0.0-rc15 (2025-11-14)
95
+
96
+ 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)
97
+
98
+ ### Features
99
+
100
+ * **api:** api update ([fb34b0d](https://github.com/Not-Diamond/not-diamond-typescript/commit/fb34b0d945db7c91f11afc7780c366381359c036))
101
+
102
+ ## 2.0.0-rc14 (2025-11-14)
103
+
104
+ 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)
105
+
106
+ ### Features
107
+
108
+ * **api:** manual updates ([ef30432](https://github.com/Not-Diamond/not-diamond-typescript/commit/ef304326d8b0e0312c333e9c9c559c4a7de56d78))
109
+
110
+ ## 2.0.0-rc13 (2025-11-13)
111
+
112
+ 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)
113
+
114
+ ### Features
115
+
116
+ * **api:** manual updates ([39f6d64](https://github.com/Not-Diamond/not-diamond-typescript/commit/39f6d6412feea4853877ef81660b3b4bb1b8fce1))
117
+
118
+
119
+ ### Documentation
120
+
121
+ * 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))
122
+ * 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))
123
+
124
+ ## 2.0.0-rc11 (2025-11-12)
125
+
126
+ 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)
127
+
128
+ ### Features
129
+
130
+ * **api:** changed name ([26dafc9](https://github.com/Not-Diamond/not-diamond-typescript/commit/26dafc922b42ae9d95c010c38227360bde6759ce))
131
+
132
+
133
+ ### Chores
134
+
135
+ * **internal:** codegen related update ([8c6c957](https://github.com/Not-Diamond/not-diamond-typescript/commit/8c6c957834274d394960ac66d782547bdc7dd856))
136
+
137
+ ## 2.0.0-rc10 (2025-11-10)
138
+
139
+ 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)
140
+
141
+ ### Features
142
+
143
+ * **api:** manual updates ([b19bcb6](https://github.com/Not-Diamond/not-diamond-typescript/commit/b19bcb6965272f127345ef26b044fb74ac5a9f2a))
144
+
145
+ ## 2.0.0-rc9 (2025-11-10)
146
+
147
+ 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)
148
+
149
+ ### Features
150
+
151
+ * **api:** manual updates ([33b1872](https://github.com/Not-Diamond/not-diamond-typescript/commit/33b1872a28439049fe06472bdb7502ae9dd0d260))
152
+
153
+ ## 2.0.0-rc9 (2025-11-10)
154
+
155
+ 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)
156
+
157
+ ## 2.0.0-rc8 (2025-11-10)
158
+
159
+ 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)
160
+
161
+ ### Features
162
+
163
+ * **api:** manual updates ([46892a1](https://github.com/Not-Diamond/not-diamond-typescript/commit/46892a160ca21dedd68512bbc0f31dd26ab67586))
164
+
165
+ ## 2.0.0-rc6 (2025-11-07)
166
+
167
+ 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)
168
+
169
+ ### Features
170
+
171
+ * **api:** api update ([1d08dd1](https://github.com/Not-Diamond/not-diamond-typescript/commit/1d08dd1ee83a2f4f6147152c044858ad5c113247))
172
+
3
173
  ## 2.0.0-rc5 (2025-11-06)
4
174
 
5
175
  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)
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 Not Diamond
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.