@hahnpro/hpc-api 2026.7.4 → 2026.7.5

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 CHANGED
@@ -1,5 +1,9 @@
1
1
  # @hahnpro/hpc-api
2
2
 
3
+ # 2026.7.5
4
+
5
+ - Added optional `AssistantMessage.errorText` and `ErrorMessage.errorText` fields for localized AI error responses
6
+
3
7
  # 2026.7.4
4
8
 
5
9
  - Added optional `ToolMessage.statusText` for localized AI tool status responses
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hahnpro/hpc-api",
3
- "version": "2026.7.4",
3
+ "version": "2026.7.5",
4
4
  "description": "Module for easy access to the HahnPRO Cloud API",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -189,6 +189,7 @@ export interface AssistantMessage extends BaseMessage {
189
189
  }[];
190
190
  contextVariables?: Record<string, unknown>;
191
191
  finishReason?: FinishReason;
192
+ errorText?: string;
192
193
  traceId?: string;
193
194
  feedback?: {
194
195
  value: number;
@@ -201,6 +202,7 @@ export interface SystemMessage extends BaseMessage {
201
202
  export interface ErrorMessage extends BaseMessage {
202
203
  role: Role.ERROR;
203
204
  error?: string;
205
+ errorText?: string;
204
206
  type: ErrorMessageType;
205
207
  }
206
208
  export interface ToolMessage extends BaseMessage {