@hahnpro/hpc-api 2026.10.6 → 2026.10.7
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 +4 -0
- package/package.json +1 -1
- package/src/lib/interfaces/ai.interface.d.ts +1 -0
- package/src/lib/interfaces/ai.interface.js +1 -0
- package/src/lib/interfaces/index.d.ts +1 -1
- package/src/lib/interfaces/index.js +2 -1
- package/src/lib/interfaces/task.interface.d.ts +1 -0
- package/src/lib/interfaces/task.interface.js +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
# 2026.10.7
|
|
4
4
|
|
|
5
|
+
- Added `TASK_DESCRIPTION_MAX_LENGTH` (20000), the maximum length of task descriptions
|
|
6
|
+
|
|
7
|
+
# 2026.10.6
|
|
8
|
+
|
|
5
9
|
- Removed `domains` from `OrganizationData` and the corresponding endpoints because it is an attribute of the organization itself and not a separate resource
|
|
6
10
|
|
|
7
11
|
# 2026.10.4
|
package/package.json
CHANGED
|
@@ -91,6 +91,7 @@ export declare enum ToolName {
|
|
|
91
91
|
GET_INCIDENT_TEMPLATE = "getIncidentTemplate",
|
|
92
92
|
GET_ASSET_STATUS = "getAssetStatus",
|
|
93
93
|
FIND_TASK_BY_NAME = "findTaskByName",
|
|
94
|
+
GET_TASK = "getTask",
|
|
94
95
|
GET_TASK_LOGBOOK_ENTRIES = "getTaskLogbookEntries",
|
|
95
96
|
CREATE_EVENT = "createEvent",
|
|
96
97
|
ADD_ATTACHMENT_TO_ASSET = "addAttachmentToAsset",
|
|
@@ -102,6 +102,7 @@ var ToolName;
|
|
|
102
102
|
ToolName["GET_INCIDENT_TEMPLATE"] = "getIncidentTemplate";
|
|
103
103
|
ToolName["GET_ASSET_STATUS"] = "getAssetStatus";
|
|
104
104
|
ToolName["FIND_TASK_BY_NAME"] = "findTaskByName";
|
|
105
|
+
ToolName["GET_TASK"] = "getTask";
|
|
105
106
|
ToolName["GET_TASK_LOGBOOK_ENTRIES"] = "getTaskLogbookEntries";
|
|
106
107
|
ToolName["CREATE_EVENT"] = "createEvent";
|
|
107
108
|
ToolName["ADD_ATTACHMENT_TO_ASSET"] = "addAttachmentToAsset";
|
|
@@ -68,7 +68,7 @@ export { OrganizationMembersInviteOrAdd } from './organization.interface';
|
|
|
68
68
|
export { OwnerType } from './owner.interface';
|
|
69
69
|
export { ObjectReferenceType, PermissionLevel } from './reference.interface';
|
|
70
70
|
export { arePopulated, CommandType, EventType, isPopulated, PermissionType, ResourceApiPath, resourceApiPathToTypeMap, ResourceType, } from './resource.interface';
|
|
71
|
-
export { ACTIVE_TASK_STATUSES, AssigneeType, buildTaskStatusFilter, INACTIVE_TASK_STATUSES, Priority, TaskStatus } from './task.interface';
|
|
71
|
+
export { ACTIVE_TASK_STATUSES, AssigneeType, buildTaskStatusFilter, INACTIVE_TASK_STATUSES, Priority, TASK_DESCRIPTION_MAX_LENGTH, TaskStatus, } from './task.interface';
|
|
72
72
|
export { RETENTION_VALUES } from './timeseries.interface';
|
|
73
73
|
export { TranslationEditData } from './translation.interface';
|
|
74
74
|
export { isAsset, isAssignee, isAuthor, isContent, isContentAnalysis, isEvent, isLogbookEntry, isOwner, isStorage, isTask, isUserMessage, } from './type-guards';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.FlowDiagram = exports.Flow = exports.NATS_FLOW_TRIGGER_STATUSES = exports.FlowDeployment = exports.UNKOWN_STATES = exports.STOPPED_STATES = exports.RUNNING_STATES = exports.PROCESSING_STATES = exports.FlowDeploymentStatus = exports.ERROR_STATES = exports.TimeSlotStatus = exports.APPLICATION_AREA = exports.eventLevels = exports.EventLevelOverrideWrapper = exports.EventLevel = exports.NotificationEndpointType = exports.NotificationEndpointStatus = exports.NotificationEndpointSpamProtection = exports.DataspaceWorkflowType = exports.DataspaceAllowedResourceTypes = exports.instanceOfTimePeriod = exports.ReturnType = exports.IndexingStatus = exports.ContentAnalysisStatus = exports.BillingResourceType = exports.ChangeAction = exports.DEFAULT_THRESHOLD_CONDITION = exports.DEFAULT_RELATIVE_CONDITION = exports.DEFAULT_DEADMAN_CONDITION = exports.AlertType = exports.AlertStatus = exports.AlertLevel = exports.ToolType = exports.ToolName = exports.ToolMessageStatus = exports.Role = exports.ReturnToReferrerTool = exports.ReferenceType = exports.OneShotTaskId = exports.HandOffTool = exports.FinishReason = exports.ErrorMessageType = exports.AvailableLanguages = exports.AttachmentHandlingMode = exports.ATTACHMENT_CAPABLE_AGENT_IDS = exports.AssistantMessageStatus = exports.AiAssistantId = exports.AgentId = exports.MAX_TIME_SERIES_PER_VALUE_FEED = exports.LogbookEntrySource = void 0;
|
|
4
|
-
exports.WebSocketMessageType = exports.SecretType = exports.isUserMessage = exports.isTask = exports.isStorage = exports.isOwner = exports.isLogbookEntry = exports.isEvent = exports.isContentAnalysis = exports.isContent = exports.isAuthor = exports.isAssignee = exports.isAsset = exports.TranslationEditData = exports.RETENTION_VALUES = exports.TaskStatus = exports.Priority = exports.INACTIVE_TASK_STATUSES = exports.buildTaskStatusFilter = exports.AssigneeType = exports.ACTIVE_TASK_STATUSES = exports.ResourceType = exports.resourceApiPathToTypeMap = exports.ResourceApiPath = exports.PermissionType = exports.isPopulated = exports.EventType = exports.CommandType = exports.arePopulated = exports.PermissionLevel = exports.ObjectReferenceType = exports.OwnerType = exports.OrganizationMembersInviteOrAdd = exports.NotificationRuleStatus = exports.natsAuthPrefix = exports.NatsStreams = exports.natsHpcPrefix = exports.natsFlowsPrefix = exports.NatsConsumers = exports.SubscriptionType = exports.LABEL_COLORS = void 0;
|
|
4
|
+
exports.WebSocketMessageType = exports.SecretType = exports.isUserMessage = exports.isTask = exports.isStorage = exports.isOwner = exports.isLogbookEntry = exports.isEvent = exports.isContentAnalysis = exports.isContent = exports.isAuthor = exports.isAssignee = exports.isAsset = exports.TranslationEditData = exports.RETENTION_VALUES = exports.TaskStatus = exports.TASK_DESCRIPTION_MAX_LENGTH = exports.Priority = exports.INACTIVE_TASK_STATUSES = exports.buildTaskStatusFilter = exports.AssigneeType = exports.ACTIVE_TASK_STATUSES = exports.ResourceType = exports.resourceApiPathToTypeMap = exports.ResourceApiPath = exports.PermissionType = exports.isPopulated = exports.EventType = exports.CommandType = exports.arePopulated = exports.PermissionLevel = exports.ObjectReferenceType = exports.OwnerType = exports.OrganizationMembersInviteOrAdd = exports.NotificationRuleStatus = exports.natsAuthPrefix = exports.NatsStreams = exports.natsHpcPrefix = exports.natsFlowsPrefix = exports.NatsConsumers = exports.SubscriptionType = exports.LABEL_COLORS = void 0;
|
|
5
5
|
const tslib_1 = require("tslib");
|
|
6
6
|
var logbook_interface_1 = require("./logbook.interface");
|
|
7
7
|
Object.defineProperty(exports, "LogbookEntrySource", { enumerable: true, get: function () { return logbook_interface_1.LogbookEntrySource; } });
|
|
@@ -102,6 +102,7 @@ Object.defineProperty(exports, "AssigneeType", { enumerable: true, get: function
|
|
|
102
102
|
Object.defineProperty(exports, "buildTaskStatusFilter", { enumerable: true, get: function () { return task_interface_1.buildTaskStatusFilter; } });
|
|
103
103
|
Object.defineProperty(exports, "INACTIVE_TASK_STATUSES", { enumerable: true, get: function () { return task_interface_1.INACTIVE_TASK_STATUSES; } });
|
|
104
104
|
Object.defineProperty(exports, "Priority", { enumerable: true, get: function () { return task_interface_1.Priority; } });
|
|
105
|
+
Object.defineProperty(exports, "TASK_DESCRIPTION_MAX_LENGTH", { enumerable: true, get: function () { return task_interface_1.TASK_DESCRIPTION_MAX_LENGTH; } });
|
|
105
106
|
Object.defineProperty(exports, "TaskStatus", { enumerable: true, get: function () { return task_interface_1.TaskStatus; } });
|
|
106
107
|
var timeseries_interface_1 = require("./timeseries.interface");
|
|
107
108
|
Object.defineProperty(exports, "RETENTION_VALUES", { enumerable: true, get: function () { return timeseries_interface_1.RETENTION_VALUES; } });
|
|
@@ -19,6 +19,7 @@ export declare enum TaskStatus {
|
|
|
19
19
|
export declare const ACTIVE_TASK_STATUSES: readonly TaskStatus[];
|
|
20
20
|
export declare const INACTIVE_TASK_STATUSES: readonly TaskStatus[];
|
|
21
21
|
export declare function buildTaskStatusFilter(statuses: readonly TaskStatus[]): string;
|
|
22
|
+
export declare const TASK_DESCRIPTION_MAX_LENGTH = 20000;
|
|
22
23
|
export declare enum Priority {
|
|
23
24
|
LOW = "LOW",
|
|
24
25
|
MEDIUM = "MEDIUM",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Priority = exports.INACTIVE_TASK_STATUSES = exports.ACTIVE_TASK_STATUSES = exports.TaskStatus = exports.AssigneeType = void 0;
|
|
3
|
+
exports.Priority = exports.TASK_DESCRIPTION_MAX_LENGTH = exports.INACTIVE_TASK_STATUSES = exports.ACTIVE_TASK_STATUSES = exports.TaskStatus = exports.AssigneeType = void 0;
|
|
4
4
|
exports.buildTaskStatusFilter = buildTaskStatusFilter;
|
|
5
5
|
var AssigneeType;
|
|
6
6
|
(function (AssigneeType) {
|
|
@@ -27,6 +27,7 @@ exports.INACTIVE_TASK_STATUSES = [
|
|
|
27
27
|
function buildTaskStatusFilter(statuses) {
|
|
28
28
|
return `status=@${statuses.join(',')}`;
|
|
29
29
|
}
|
|
30
|
+
exports.TASK_DESCRIPTION_MAX_LENGTH = 20000;
|
|
30
31
|
var Priority;
|
|
31
32
|
(function (Priority) {
|
|
32
33
|
Priority["LOW"] = "LOW";
|