@agentrix/shared 2.16.0 → 2.16.1
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.
|
@@ -892,15 +892,15 @@ type SendMessageTarget = 'agent' | 'user';
|
|
|
892
892
|
* - 'user': Broadcasts SDKAssistantMessage to users viewing the task
|
|
893
893
|
*/
|
|
894
894
|
declare const SendTaskMessageRequestSchema: z.ZodObject<{
|
|
895
|
-
message: z.ZodCustom<
|
|
895
|
+
message: z.ZodCustom<SDKAssistantMessage | SDKUserMessage, SDKAssistantMessage | SDKUserMessage>;
|
|
896
896
|
target: z.ZodEnum<{
|
|
897
|
-
agent: "agent";
|
|
898
897
|
user: "user";
|
|
898
|
+
agent: "agent";
|
|
899
899
|
}>;
|
|
900
900
|
fromTaskId: z.ZodOptional<z.ZodString>;
|
|
901
901
|
senderType: z.ZodEnum<{
|
|
902
|
-
human: "human";
|
|
903
902
|
system: "system";
|
|
903
|
+
human: "human";
|
|
904
904
|
agent: "agent";
|
|
905
905
|
}>;
|
|
906
906
|
senderId: z.ZodString;
|
|
@@ -1152,14 +1152,14 @@ declare const AskUserMessageSchema: z.ZodObject<{
|
|
|
1152
1152
|
}, z.core.$strip>;
|
|
1153
1153
|
type AskUserMessage = z.infer<typeof AskUserMessageSchema>;
|
|
1154
1154
|
declare const AskUserResponseStatusSchema: z.ZodEnum<{
|
|
1155
|
-
timeout: "timeout";
|
|
1156
1155
|
answered: "answered";
|
|
1157
1156
|
cancelled: "cancelled";
|
|
1157
|
+
timeout: "timeout";
|
|
1158
1158
|
}>;
|
|
1159
1159
|
declare const AskUserResponseReasonSchema: z.ZodEnum<{
|
|
1160
|
-
system: "system";
|
|
1161
|
-
user: "user";
|
|
1162
1160
|
timeout: "timeout";
|
|
1161
|
+
user: "user";
|
|
1162
|
+
system: "system";
|
|
1163
1163
|
}>;
|
|
1164
1164
|
type AskUserResponseStatus = z.infer<typeof AskUserResponseStatusSchema>;
|
|
1165
1165
|
type AskUserResponseReason = z.infer<typeof AskUserResponseReasonSchema>;
|
|
@@ -1175,14 +1175,14 @@ declare const AskUserResponseMessageSchema: z.ZodObject<{
|
|
|
1175
1175
|
details: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1176
1176
|
rememberAnswers: z.ZodOptional<z.ZodArray<z.ZodBoolean>>;
|
|
1177
1177
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1178
|
-
timeout: "timeout";
|
|
1179
1178
|
answered: "answered";
|
|
1180
1179
|
cancelled: "cancelled";
|
|
1180
|
+
timeout: "timeout";
|
|
1181
1181
|
}>>;
|
|
1182
1182
|
reason: z.ZodOptional<z.ZodEnum<{
|
|
1183
|
-
system: "system";
|
|
1184
|
-
user: "user";
|
|
1185
1183
|
timeout: "timeout";
|
|
1184
|
+
user: "user";
|
|
1185
|
+
system: "system";
|
|
1186
1186
|
}>>;
|
|
1187
1187
|
}, z.core.$strip>;
|
|
1188
1188
|
type AskUserResponseMessage = z.infer<typeof AskUserResponseMessageSchema>;
|
|
@@ -1789,9 +1789,9 @@ declare const TaskMessageSchema: z.ZodObject<{
|
|
|
1789
1789
|
taskId: z.ZodString;
|
|
1790
1790
|
chatId: z.ZodOptional<z.ZodString>;
|
|
1791
1791
|
from: z.ZodEnum<{
|
|
1792
|
-
machine: "machine";
|
|
1793
1792
|
app: "app";
|
|
1794
1793
|
"api-server": "api-server";
|
|
1794
|
+
machine: "machine";
|
|
1795
1795
|
worker: "worker";
|
|
1796
1796
|
}>;
|
|
1797
1797
|
opCode: z.ZodOptional<z.ZodString>;
|
|
@@ -1802,8 +1802,8 @@ declare const TaskMessageSchema: z.ZodObject<{
|
|
|
1802
1802
|
encryptedMessage: z.ZodOptional<z.ZodString>;
|
|
1803
1803
|
agentId: z.ZodOptional<z.ZodString>;
|
|
1804
1804
|
senderType: z.ZodEnum<{
|
|
1805
|
-
human: "human";
|
|
1806
1805
|
system: "system";
|
|
1806
|
+
human: "human";
|
|
1807
1807
|
agent: "agent";
|
|
1808
1808
|
}>;
|
|
1809
1809
|
senderId: z.ZodString;
|
|
@@ -1949,8 +1949,8 @@ declare const RtcSignalSchema: z.ZodObject<{
|
|
|
1949
1949
|
machineId: z.ZodString;
|
|
1950
1950
|
sessionId: z.ZodString;
|
|
1951
1951
|
from: z.ZodEnum<{
|
|
1952
|
-
machine: "machine";
|
|
1953
1952
|
app: "app";
|
|
1953
|
+
machine: "machine";
|
|
1954
1954
|
}>;
|
|
1955
1955
|
signal: z.ZodAny;
|
|
1956
1956
|
userId: z.ZodOptional<z.ZodString>;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { P as PreviewMetadata } from './errors-
|
|
3
|
-
export { bz as ActiveAgent, by as ActiveAgentSchema, dX as AgentConfig, e5 as AgentConfigValidationError, dQ as AgentContext, e3 as AgentError, e7 as AgentLoadError, dV as AgentMetadata, e1 as AgentMetadataSchema, e4 as AgentNotFoundError, dR as AgentrixContext, bl as ApiServerAliveEventData, bk as ApiServerAliveEventSchema, bj as AppAliveEventData, bi as AppAliveEventSchema, a8 as ApprovePrRequest, a7 as ApprovePrRequestSchema, aa as ApprovePrResponse, a9 as ApprovePrResponseSchema, ag as ArchiveTaskRequest, af as ArchiveTaskRequestSchema, ai as ArchiveTaskResponse, ah as ArchiveTaskResponseSchema, aX as AskUserMessage, aW as AskUserMessageSchema, aT as AskUserOption, aS as AskUserOptionSchema, aV as AskUserQuestion, aU as AskUserQuestionSchema, b1 as AskUserResponseMessage, b0 as AskUserResponseMessageSchema, a$ as AskUserResponseReason, aZ as AskUserResponseReasonSchema, a_ as AskUserResponseStatus, aY as AskUserResponseStatusSchema, db as AssociateRepoEventData, d8 as AssociateRepoEventDataSchema, b_ as CancelTaskEventData, v as CancelTaskRequest, C as CancelTaskRequestSchema, z as CancelTaskResponse, y as CancelTaskResponseSchema, ck as ChangeTaskTitleEventData, cj as ChangeTaskTitleEventSchema, bP as ChatWorkersStatusRequestEventData, bO as ChatWorkersStatusRequestSchema, bR as ChatWorkersStatusResponseEventData, bQ as ChatWorkersStatusResponseSchema, dW as ClaudeAgentConfig, e2 as ClaudeConfigSchema, b2 as CompanionHeartbeatMessage, dr as CompanionHeartbeatRequestData, dq as CompanionHeartbeatRequestSchema, dt as CompanionHeartbeatResponseData, ds as CompanionHeartbeatResponseSchema, dv as CompanionInitRequestData, du as CompanionInitRequestSchema, dx as CompanionInitResponseData, dw as CompanionInitResponseSchema, b3 as CompanionReminderMessage, a3 as CreateMergeRequestRequest, a6 as CreateMergeRequestResponse, a5 as CreateMergeRequestResponseSchema, a2 as CreateMergeRequestSchema, bW as CreateTaskEventData, ac as CreateTaskShareRequest, ae as CreateTaskShareResponse, ad as CreateTaskShareResponseSchema, ab as CreateTaskShareSchema, co as CreditExhaustedEventData, cn as CreditExhaustedEventSchema, D as DEFAULT_WORKER_EXECUTION_MODE, dh as DaemonGitlabOperation, dg as DaemonGitlabOperationSchema, dj as DaemonGitlabRequestEventData, di as DaemonGitlabRequestSchema, dl as DaemonGitlabResponseEventData, dk as DaemonGitlabResponseSchema, c$ as DeployAgentCompleteEventData, c_ as DeployAgentCompleteEventSchema, cZ as DeployAgentEventData, cY as DeployAgentEventSchema, h as EnsureIssueRootTaskRequest, E as EnsureIssueRootTaskRequestSchema, l as EnsureIssueRootTaskResponse, k as EnsureIssueRootTaskResponseSchema, bh as EventAckData, bg as EventAckSchema, dA as EventData, dF as EventMap, dG as EventName, dH as EventSchemaMap, e0 as FRAMEWORK_TYPES, a0 as FillEventsRequest, $ as FillEventsRequestSchema, a1 as FillEventsResponse, aP as FindTaskByAgentRequest, aO as FindTaskByAgentRequestSchema, aR as FindTaskByAgentResponse, aQ as FindTaskByAgentResponseSchema, e6 as FrameworkNotSupportedError, dU as FrameworkType, aB as GetTaskSessionResponse, aA as GetTaskSessionResponseSchema, d7 as HiveInstallCompleteEventData, d6 as HiveInstallCompleteEventSchema, d5 as HiveInstallEventData, d4 as HiveInstallEventSchema, d3 as HivePublishCompleteEventData, d2 as HivePublishCompleteEventSchema, d1 as HivePublishEventData, d0 as HivePublishEventSchema, d$ as HookFactory, bT as ListModelsEventData, bS as ListModelsEventSchema, aJ as ListRecentTasksRequest, aI as ListRecentTasksRequestSchema, aN as ListRecentTasksResponse, aM as ListRecentTasksResponseSchema, aD as ListSubTasksRequest, aC as ListSubTasksRequestSchema, aH as ListSubTasksResponse, aG as ListSubTasksResponseSchema, m as ListTasksRequest, L as ListTasksRequestSchema, p as ListTasksResponse, o as ListTasksResponseSchema, dZ as LoadAgentOptions, bn as MachineAliveEventData, bm as MachineAliveEventSchema, dN as MachineRpcCallEventData, dM as MachineRpcCallEventSchema, cw as MachineRtcRequestEventData, cv as MachineRtcRequestSchema, cy as MachineRtcResponseEventData, cx as MachineRtcResponseSchema, cX as MergePullRequestAck, cW as MergePullRequestEventData, cV as MergePullRequestEventSchema, cO as MergeRequestEventData, cN as MergeRequestEventSchema, e8 as MissingAgentFileError, J as PermissionResponseRequest, I as PermissionResponseRequestSchema, N as PermissionResponseResponse, M as PermissionResponseResponseSchema, dd as PrStateChangedData, c7 as PreviewMetadataSchema, c6 as PreviewMethod, c5 as PreviewMethodSchema, c4 as PreviewProjectType, c3 as PreviewProjectTypeSchema, V as ProjectDirectoryResponse, U as ProjectDirectoryResponseSchema, Q as ProjectEntry, O as ProjectEntrySchema, Y as QueryEventsRequest, X as QueryEventsRequestSchema, _ as QueryEventsResponse, aL as RecentTaskSummary, aK as RecentTaskSummarySchema, dm as RepositoryInboxProviderSchema, dp as RepositoryInboxWebhookEventData, dn as RepositoryInboxWebhookSchema, d_ as RepositoryInitHookInput, dz as ResetTaskSessionEventData, dy as ResetTaskSessionSchema, bY as ResumeTaskEventData, q as ResumeTaskRequest, R as ResumeTaskRequestSchema, u as ResumeTaskResponse, t as ResumeTaskResponseSchema, dL as RpcCallEventData, dK as RpcCallEventSchema, dP as RpcResponseData, dO as RpcResponseSchema, cq as RtcIceServer, cp as RtcIceServerSchema, cs as RtcIceServersRequestEventData, cr as RtcIceServersRequestSchema, cu as RtcIceServersResponseEventData, ct as RtcIceServersResponseSchema, cA as RtcSignalEventData, cz as RtcSignalSchema, ar as SendMessageTarget, at as SendTaskMessageRequest, as as SendTaskMessageRequestSchema, av as SendTaskMessageResponse, au as SendTaskMessageResponseSchema, dC as SeqSyncRequestEventData, dB as SeqSyncRequestEventDataSchema, dE as SeqSyncResponseEventData, dD as SeqSyncResponseEventDataSchema, ci as ShowModalEventData, ch as ShowModalEventDataSchema, ax as ShowModalRequest, aw as ShowModalRequestSchema, az as ShowModalResponse, ay as ShowModalResponseSchema, bp as ShutdownMachineData, bo as ShutdownMachineSchema, e as StartTaskRequest, S as StartTaskRequestSchema, g as StartTaskResponse, f as StartTaskResponseSchema, c0 as StopTaskEventData, B as StopTaskRequest, A as StopTaskRequestSchema, H as StopTaskResponse, G as StopTaskResponseSchema, b$ as StopTaskSchema, cU as SubTaskAskUserEventData, cT as SubTaskAskUserEventSchema, b4 as SubTaskAskUserMessage, cS as SubTaskResultUpdatedEventData, cR as SubTaskResultUpdatedEventSchema, aF as SubTaskSummary, aE as SubTaskSummarySchema, df as SystemMessageEventData, de as SystemMessageSchema, dc as SystemMessageType, b7 as TaskAgentInfo, b6 as TaskAgentInfoSchema, c2 as TaskArtifactsStats, c1 as TaskArtifactsStatsSchema, c9 as TaskArtifactsSummary, c8 as TaskArtifactsSummarySchema, Z as TaskEvent, cI as TaskInfoUpdateEventData, cH as TaskInfoUpdateEventDataSchema, j as TaskItem, i as TaskItemSchema, cb as TaskMessageEventData, b5 as TaskMessagePayload, ca as TaskMessageSchema, cd as TaskModelUsage, cc as TaskModelUsageSchema, cK as TaskSlashCommand, cJ as TaskSlashCommandSchema, cM as TaskSlashCommandsUpdateEventData, cL as TaskSlashCommandsUpdateEventDataSchema, cg as TaskState, cm as TaskStateChangeEventData, cl as TaskStateChangeEventSchema, cQ as TaskStoppedEventData, cP as TaskStoppedEventSchema, b as TaskTodo, T as TaskTodoSchema, cf as TaskUsageReportEventData, ce as TaskUsageReportEventSchema, d as TaskUsageSummary, c as TaskUsageSummarySchema, ak as UnarchiveTaskRequest, aj as UnarchiveTaskRequestSchema, am as UnarchiveTaskResponse, al as UnarchiveTaskResponseSchema, da as UpdateAgentInfoEventData, d9 as UpdateAgentInfoEventSchema, cG as UpdateTaskAgentSessionIdEventData, cF as UpdateTaskAgentSessionIdEventSchema, ao as UpdateTaskTitleRequest, an as UpdateTaskTitleRequestSchema, aq as UpdateTaskTitleResponse, ap as UpdateTaskTitleResponseSchema, dY as ValidationResult, bB as WorkerAliveEventData, bA as WorkerAliveEventSchema, W as WorkerExecutionMode, a as WorkerExecutionModeSchema, bD as WorkerExitEventData, bC as WorkerExitSchema, bt as WorkerInitializedEventData, bs as WorkerInitializedSchema, br as WorkerInitializingEventData, bq as WorkerInitializingSchema, bH as WorkerPermissionModeEventData, bG as WorkerPermissionModeSchema, bv as WorkerPermissionModeValue, bu as WorkerPermissionModeValueSchema, bx as WorkerReadyEventData, bw as WorkerReadySchema, bF as WorkerRunningEventData, bE as WorkerRunningSchema, bJ as WorkerStatusRequestEventData, bI as WorkerStatusRequestSchema, bN as WorkerStatusSnapshot, bM as WorkerStatusSnapshotSchema, bL as WorkerStatusValue, bK as WorkerStatusValueSchema, dI as WorkerTaskEvent, cC as WorkspaceFileRequestEventData, cB as WorkspaceFileRequestSchema, cE as WorkspaceFileResponseEventData, cD as WorkspaceFileResponseSchema, bU as baseTaskSchema, x as cancelTaskRequestSchema, bZ as cancelTaskSchema, bf as createEventId, a4 as createMergeRequestSchema, bV as createTaskSchema, dT as getAgentContext, b8 as isAskUserMessage, b9 as isAskUserResponseMessage, ba as isCompanionHeartbeatMessage, bb as isCompanionReminderMessage, bd as isSDKMessage, be as isSDKUserMessage, bc as isSubTaskAskUserMessage, n as normalizeWorkerExecutionMode, K as permissionResponseRequestSchema, r as resumeTaskRequestSchema, bX as resumeTaskSchema, dS as setAgentContext, s as startTaskSchema, F as stopTaskRequestSchema, w as workerExecutionModes, dJ as workerTaskEvents } from './errors-
|
|
2
|
+
import { P as PreviewMetadata } from './errors-BN4dUGJQ.cjs';
|
|
3
|
+
export { bz as ActiveAgent, by as ActiveAgentSchema, dX as AgentConfig, e5 as AgentConfigValidationError, dQ as AgentContext, e3 as AgentError, e7 as AgentLoadError, dV as AgentMetadata, e1 as AgentMetadataSchema, e4 as AgentNotFoundError, dR as AgentrixContext, bl as ApiServerAliveEventData, bk as ApiServerAliveEventSchema, bj as AppAliveEventData, bi as AppAliveEventSchema, a8 as ApprovePrRequest, a7 as ApprovePrRequestSchema, aa as ApprovePrResponse, a9 as ApprovePrResponseSchema, ag as ArchiveTaskRequest, af as ArchiveTaskRequestSchema, ai as ArchiveTaskResponse, ah as ArchiveTaskResponseSchema, aX as AskUserMessage, aW as AskUserMessageSchema, aT as AskUserOption, aS as AskUserOptionSchema, aV as AskUserQuestion, aU as AskUserQuestionSchema, b1 as AskUserResponseMessage, b0 as AskUserResponseMessageSchema, a$ as AskUserResponseReason, aZ as AskUserResponseReasonSchema, a_ as AskUserResponseStatus, aY as AskUserResponseStatusSchema, db as AssociateRepoEventData, d8 as AssociateRepoEventDataSchema, b_ as CancelTaskEventData, v as CancelTaskRequest, C as CancelTaskRequestSchema, z as CancelTaskResponse, y as CancelTaskResponseSchema, ck as ChangeTaskTitleEventData, cj as ChangeTaskTitleEventSchema, bP as ChatWorkersStatusRequestEventData, bO as ChatWorkersStatusRequestSchema, bR as ChatWorkersStatusResponseEventData, bQ as ChatWorkersStatusResponseSchema, dW as ClaudeAgentConfig, e2 as ClaudeConfigSchema, b2 as CompanionHeartbeatMessage, dr as CompanionHeartbeatRequestData, dq as CompanionHeartbeatRequestSchema, dt as CompanionHeartbeatResponseData, ds as CompanionHeartbeatResponseSchema, dv as CompanionInitRequestData, du as CompanionInitRequestSchema, dx as CompanionInitResponseData, dw as CompanionInitResponseSchema, b3 as CompanionReminderMessage, a3 as CreateMergeRequestRequest, a6 as CreateMergeRequestResponse, a5 as CreateMergeRequestResponseSchema, a2 as CreateMergeRequestSchema, bW as CreateTaskEventData, ac as CreateTaskShareRequest, ae as CreateTaskShareResponse, ad as CreateTaskShareResponseSchema, ab as CreateTaskShareSchema, co as CreditExhaustedEventData, cn as CreditExhaustedEventSchema, D as DEFAULT_WORKER_EXECUTION_MODE, dh as DaemonGitlabOperation, dg as DaemonGitlabOperationSchema, dj as DaemonGitlabRequestEventData, di as DaemonGitlabRequestSchema, dl as DaemonGitlabResponseEventData, dk as DaemonGitlabResponseSchema, c$ as DeployAgentCompleteEventData, c_ as DeployAgentCompleteEventSchema, cZ as DeployAgentEventData, cY as DeployAgentEventSchema, h as EnsureIssueRootTaskRequest, E as EnsureIssueRootTaskRequestSchema, l as EnsureIssueRootTaskResponse, k as EnsureIssueRootTaskResponseSchema, bh as EventAckData, bg as EventAckSchema, dA as EventData, dF as EventMap, dG as EventName, dH as EventSchemaMap, e0 as FRAMEWORK_TYPES, a0 as FillEventsRequest, $ as FillEventsRequestSchema, a1 as FillEventsResponse, aP as FindTaskByAgentRequest, aO as FindTaskByAgentRequestSchema, aR as FindTaskByAgentResponse, aQ as FindTaskByAgentResponseSchema, e6 as FrameworkNotSupportedError, dU as FrameworkType, aB as GetTaskSessionResponse, aA as GetTaskSessionResponseSchema, d7 as HiveInstallCompleteEventData, d6 as HiveInstallCompleteEventSchema, d5 as HiveInstallEventData, d4 as HiveInstallEventSchema, d3 as HivePublishCompleteEventData, d2 as HivePublishCompleteEventSchema, d1 as HivePublishEventData, d0 as HivePublishEventSchema, d$ as HookFactory, bT as ListModelsEventData, bS as ListModelsEventSchema, aJ as ListRecentTasksRequest, aI as ListRecentTasksRequestSchema, aN as ListRecentTasksResponse, aM as ListRecentTasksResponseSchema, aD as ListSubTasksRequest, aC as ListSubTasksRequestSchema, aH as ListSubTasksResponse, aG as ListSubTasksResponseSchema, m as ListTasksRequest, L as ListTasksRequestSchema, p as ListTasksResponse, o as ListTasksResponseSchema, dZ as LoadAgentOptions, bn as MachineAliveEventData, bm as MachineAliveEventSchema, dN as MachineRpcCallEventData, dM as MachineRpcCallEventSchema, cw as MachineRtcRequestEventData, cv as MachineRtcRequestSchema, cy as MachineRtcResponseEventData, cx as MachineRtcResponseSchema, cX as MergePullRequestAck, cW as MergePullRequestEventData, cV as MergePullRequestEventSchema, cO as MergeRequestEventData, cN as MergeRequestEventSchema, e8 as MissingAgentFileError, J as PermissionResponseRequest, I as PermissionResponseRequestSchema, N as PermissionResponseResponse, M as PermissionResponseResponseSchema, dd as PrStateChangedData, c7 as PreviewMetadataSchema, c6 as PreviewMethod, c5 as PreviewMethodSchema, c4 as PreviewProjectType, c3 as PreviewProjectTypeSchema, V as ProjectDirectoryResponse, U as ProjectDirectoryResponseSchema, Q as ProjectEntry, O as ProjectEntrySchema, Y as QueryEventsRequest, X as QueryEventsRequestSchema, _ as QueryEventsResponse, aL as RecentTaskSummary, aK as RecentTaskSummarySchema, dm as RepositoryInboxProviderSchema, dp as RepositoryInboxWebhookEventData, dn as RepositoryInboxWebhookSchema, d_ as RepositoryInitHookInput, dz as ResetTaskSessionEventData, dy as ResetTaskSessionSchema, bY as ResumeTaskEventData, q as ResumeTaskRequest, R as ResumeTaskRequestSchema, u as ResumeTaskResponse, t as ResumeTaskResponseSchema, dL as RpcCallEventData, dK as RpcCallEventSchema, dP as RpcResponseData, dO as RpcResponseSchema, cq as RtcIceServer, cp as RtcIceServerSchema, cs as RtcIceServersRequestEventData, cr as RtcIceServersRequestSchema, cu as RtcIceServersResponseEventData, ct as RtcIceServersResponseSchema, cA as RtcSignalEventData, cz as RtcSignalSchema, ar as SendMessageTarget, at as SendTaskMessageRequest, as as SendTaskMessageRequestSchema, av as SendTaskMessageResponse, au as SendTaskMessageResponseSchema, dC as SeqSyncRequestEventData, dB as SeqSyncRequestEventDataSchema, dE as SeqSyncResponseEventData, dD as SeqSyncResponseEventDataSchema, ci as ShowModalEventData, ch as ShowModalEventDataSchema, ax as ShowModalRequest, aw as ShowModalRequestSchema, az as ShowModalResponse, ay as ShowModalResponseSchema, bp as ShutdownMachineData, bo as ShutdownMachineSchema, e as StartTaskRequest, S as StartTaskRequestSchema, g as StartTaskResponse, f as StartTaskResponseSchema, c0 as StopTaskEventData, B as StopTaskRequest, A as StopTaskRequestSchema, H as StopTaskResponse, G as StopTaskResponseSchema, b$ as StopTaskSchema, cU as SubTaskAskUserEventData, cT as SubTaskAskUserEventSchema, b4 as SubTaskAskUserMessage, cS as SubTaskResultUpdatedEventData, cR as SubTaskResultUpdatedEventSchema, aF as SubTaskSummary, aE as SubTaskSummarySchema, df as SystemMessageEventData, de as SystemMessageSchema, dc as SystemMessageType, b7 as TaskAgentInfo, b6 as TaskAgentInfoSchema, c2 as TaskArtifactsStats, c1 as TaskArtifactsStatsSchema, c9 as TaskArtifactsSummary, c8 as TaskArtifactsSummarySchema, Z as TaskEvent, cI as TaskInfoUpdateEventData, cH as TaskInfoUpdateEventDataSchema, j as TaskItem, i as TaskItemSchema, cb as TaskMessageEventData, b5 as TaskMessagePayload, ca as TaskMessageSchema, cd as TaskModelUsage, cc as TaskModelUsageSchema, cK as TaskSlashCommand, cJ as TaskSlashCommandSchema, cM as TaskSlashCommandsUpdateEventData, cL as TaskSlashCommandsUpdateEventDataSchema, cg as TaskState, cm as TaskStateChangeEventData, cl as TaskStateChangeEventSchema, cQ as TaskStoppedEventData, cP as TaskStoppedEventSchema, b as TaskTodo, T as TaskTodoSchema, cf as TaskUsageReportEventData, ce as TaskUsageReportEventSchema, d as TaskUsageSummary, c as TaskUsageSummarySchema, ak as UnarchiveTaskRequest, aj as UnarchiveTaskRequestSchema, am as UnarchiveTaskResponse, al as UnarchiveTaskResponseSchema, da as UpdateAgentInfoEventData, d9 as UpdateAgentInfoEventSchema, cG as UpdateTaskAgentSessionIdEventData, cF as UpdateTaskAgentSessionIdEventSchema, ao as UpdateTaskTitleRequest, an as UpdateTaskTitleRequestSchema, aq as UpdateTaskTitleResponse, ap as UpdateTaskTitleResponseSchema, dY as ValidationResult, bB as WorkerAliveEventData, bA as WorkerAliveEventSchema, W as WorkerExecutionMode, a as WorkerExecutionModeSchema, bD as WorkerExitEventData, bC as WorkerExitSchema, bt as WorkerInitializedEventData, bs as WorkerInitializedSchema, br as WorkerInitializingEventData, bq as WorkerInitializingSchema, bH as WorkerPermissionModeEventData, bG as WorkerPermissionModeSchema, bv as WorkerPermissionModeValue, bu as WorkerPermissionModeValueSchema, bx as WorkerReadyEventData, bw as WorkerReadySchema, bF as WorkerRunningEventData, bE as WorkerRunningSchema, bJ as WorkerStatusRequestEventData, bI as WorkerStatusRequestSchema, bN as WorkerStatusSnapshot, bM as WorkerStatusSnapshotSchema, bL as WorkerStatusValue, bK as WorkerStatusValueSchema, dI as WorkerTaskEvent, cC as WorkspaceFileRequestEventData, cB as WorkspaceFileRequestSchema, cE as WorkspaceFileResponseEventData, cD as WorkspaceFileResponseSchema, bU as baseTaskSchema, x as cancelTaskRequestSchema, bZ as cancelTaskSchema, bf as createEventId, a4 as createMergeRequestSchema, bV as createTaskSchema, dT as getAgentContext, b8 as isAskUserMessage, b9 as isAskUserResponseMessage, ba as isCompanionHeartbeatMessage, bb as isCompanionReminderMessage, bd as isSDKMessage, be as isSDKUserMessage, bc as isSubTaskAskUserMessage, n as normalizeWorkerExecutionMode, K as permissionResponseRequestSchema, r as resumeTaskRequestSchema, bX as resumeTaskSchema, dS as setAgentContext, s as startTaskSchema, F as stopTaskRequestSchema, w as workerExecutionModes, dJ as workerTaskEvents } from './errors-BN4dUGJQ.cjs';
|
|
4
4
|
import tweetnacl from 'tweetnacl';
|
|
5
5
|
import { SDKMessage } from '@anthropic-ai/claude-agent-sdk';
|
|
6
6
|
export { buildGitLabWebhookEndpointPath, buildGitLabWebhookUrl } from './gitlabWebhook.cjs';
|
|
@@ -56,8 +56,8 @@ declare const FileStatsSchema: z.ZodObject<{
|
|
|
56
56
|
}, z.core.$strip>;
|
|
57
57
|
type FileStats = z.infer<typeof FileStatsSchema>;
|
|
58
58
|
declare const SenderTypeSchema: z.ZodEnum<{
|
|
59
|
-
human: "human";
|
|
60
59
|
system: "system";
|
|
60
|
+
human: "human";
|
|
61
61
|
agent: "agent";
|
|
62
62
|
}>;
|
|
63
63
|
type SenderType = z.infer<typeof SenderTypeSchema>;
|
|
@@ -1368,9 +1368,9 @@ type CreateDraftAgentRequest = z.infer<typeof CreateDraftAgentRequestSchema>;
|
|
|
1368
1368
|
*/
|
|
1369
1369
|
declare const SetEnvironmentVariablesRequestSchema: z.ZodObject<{
|
|
1370
1370
|
ownerType: z.ZodEnum<{
|
|
1371
|
+
machine: "machine";
|
|
1371
1372
|
agent: "agent";
|
|
1372
1373
|
"draft-agent": "draft-agent";
|
|
1373
|
-
machine: "machine";
|
|
1374
1374
|
cloud: "cloud";
|
|
1375
1375
|
}>;
|
|
1376
1376
|
ownerId: z.ZodString;
|
|
@@ -3701,12 +3701,12 @@ type CiProvider = z.infer<typeof CiProviderSchema>;
|
|
|
3701
3701
|
declare const JsonSchemaDocumentSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3702
3702
|
type JsonSchemaDocument = z.infer<typeof JsonSchemaDocumentSchema>;
|
|
3703
3703
|
declare const CiRunStatusSchema: z.ZodEnum<{
|
|
3704
|
-
|
|
3704
|
+
timeout: "timeout";
|
|
3705
3705
|
failed: "failed";
|
|
3706
|
+
running: "running";
|
|
3706
3707
|
completed: "completed";
|
|
3707
3708
|
queued: "queued";
|
|
3708
3709
|
canceled: "canceled";
|
|
3709
|
-
timeout: "timeout";
|
|
3710
3710
|
}>;
|
|
3711
3711
|
type CiRunStatus = z.infer<typeof CiRunStatusSchema>;
|
|
3712
3712
|
declare const CiRunRepoSchema: z.ZodObject<{
|
|
@@ -3784,8 +3784,8 @@ type CreateCiRunRequest = z.infer<typeof CreateCiRunRequestSchema>;
|
|
|
3784
3784
|
declare const CreateCiRunResponseSchema: z.ZodObject<{
|
|
3785
3785
|
runId: z.ZodString;
|
|
3786
3786
|
status: z.ZodEnum<{
|
|
3787
|
-
running: "running";
|
|
3788
3787
|
failed: "failed";
|
|
3788
|
+
running: "running";
|
|
3789
3789
|
completed: "completed";
|
|
3790
3790
|
queued: "queued";
|
|
3791
3791
|
}>;
|
|
@@ -3795,12 +3795,12 @@ type CreateCiRunResponse = z.infer<typeof CreateCiRunResponseSchema>;
|
|
|
3795
3795
|
declare const CiRunStatusResponseSchema: z.ZodObject<{
|
|
3796
3796
|
runId: z.ZodString;
|
|
3797
3797
|
status: z.ZodEnum<{
|
|
3798
|
-
|
|
3798
|
+
timeout: "timeout";
|
|
3799
3799
|
failed: "failed";
|
|
3800
|
+
running: "running";
|
|
3800
3801
|
completed: "completed";
|
|
3801
3802
|
queued: "queued";
|
|
3802
3803
|
canceled: "canceled";
|
|
3803
|
-
timeout: "timeout";
|
|
3804
3804
|
}>;
|
|
3805
3805
|
result: z.ZodString;
|
|
3806
3806
|
structuredOutput: z.ZodOptional<z.ZodUnknown>;
|
|
@@ -4047,8 +4047,8 @@ declare const HiveListingTypeSchema: z.ZodEnum<{
|
|
|
4047
4047
|
}>;
|
|
4048
4048
|
type HiveListingType = z.infer<typeof HiveListingTypeSchema>;
|
|
4049
4049
|
declare const HiveAuthorTypeSchema: z.ZodEnum<{
|
|
4050
|
-
agent: "agent";
|
|
4051
4050
|
user: "user";
|
|
4051
|
+
agent: "agent";
|
|
4052
4052
|
}>;
|
|
4053
4053
|
type HiveAuthorType = z.infer<typeof HiveAuthorTypeSchema>;
|
|
4054
4054
|
declare const HiveListingStatusSchema: z.ZodEnum<{
|
|
@@ -4078,8 +4078,8 @@ declare const HiveListingSchema: z.ZodObject<{
|
|
|
4078
4078
|
version: z.ZodString;
|
|
4079
4079
|
avatar: z.ZodNullable<z.ZodString>;
|
|
4080
4080
|
authorType: z.ZodEnum<{
|
|
4081
|
-
agent: "agent";
|
|
4082
4081
|
user: "user";
|
|
4082
|
+
agent: "agent";
|
|
4083
4083
|
}>;
|
|
4084
4084
|
authorId: z.ZodString;
|
|
4085
4085
|
authorName: z.ZodString;
|
|
@@ -4119,8 +4119,8 @@ declare const PublishToHiveRequestSchema: z.ZodObject<{
|
|
|
4119
4119
|
category: z.ZodOptional<z.ZodString>;
|
|
4120
4120
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4121
4121
|
authorType: z.ZodEnum<{
|
|
4122
|
-
agent: "agent";
|
|
4123
4122
|
user: "user";
|
|
4123
|
+
agent: "agent";
|
|
4124
4124
|
}>;
|
|
4125
4125
|
authorId: z.ZodString;
|
|
4126
4126
|
machineId: z.ZodOptional<z.ZodString>;
|
|
@@ -4165,8 +4165,8 @@ declare const HiveListResponseSchema: z.ZodObject<{
|
|
|
4165
4165
|
version: z.ZodString;
|
|
4166
4166
|
avatar: z.ZodNullable<z.ZodString>;
|
|
4167
4167
|
authorType: z.ZodEnum<{
|
|
4168
|
-
agent: "agent";
|
|
4169
4168
|
user: "user";
|
|
4169
|
+
agent: "agent";
|
|
4170
4170
|
}>;
|
|
4171
4171
|
authorId: z.ZodString;
|
|
4172
4172
|
authorName: z.ZodString;
|
|
@@ -4246,8 +4246,8 @@ declare const HiveReviewSchema: z.ZodObject<{
|
|
|
4246
4246
|
id: z.ZodString;
|
|
4247
4247
|
hiveListingId: z.ZodString;
|
|
4248
4248
|
authorType: z.ZodEnum<{
|
|
4249
|
-
agent: "agent";
|
|
4250
4249
|
user: "user";
|
|
4250
|
+
agent: "agent";
|
|
4251
4251
|
}>;
|
|
4252
4252
|
authorId: z.ZodString;
|
|
4253
4253
|
authorName: z.ZodString;
|
|
@@ -4273,8 +4273,8 @@ declare const HiveReviewListResponseSchema: z.ZodObject<{
|
|
|
4273
4273
|
id: z.ZodString;
|
|
4274
4274
|
hiveListingId: z.ZodString;
|
|
4275
4275
|
authorType: z.ZodEnum<{
|
|
4276
|
-
agent: "agent";
|
|
4277
4276
|
user: "user";
|
|
4277
|
+
agent: "agent";
|
|
4278
4278
|
}>;
|
|
4279
4279
|
authorId: z.ZodString;
|
|
4280
4280
|
authorName: z.ZodString;
|
|
@@ -4294,8 +4294,8 @@ declare const HiveCommentSchema: z.ZodObject<{
|
|
|
4294
4294
|
hiveListingId: z.ZodString;
|
|
4295
4295
|
parentId: z.ZodNullable<z.ZodString>;
|
|
4296
4296
|
authorType: z.ZodEnum<{
|
|
4297
|
-
agent: "agent";
|
|
4298
4297
|
user: "user";
|
|
4298
|
+
agent: "agent";
|
|
4299
4299
|
}>;
|
|
4300
4300
|
authorId: z.ZodString;
|
|
4301
4301
|
authorName: z.ZodString;
|
|
@@ -4320,8 +4320,8 @@ declare const HiveCommentListResponseSchema: z.ZodObject<{
|
|
|
4320
4320
|
hiveListingId: z.ZodString;
|
|
4321
4321
|
parentId: z.ZodNullable<z.ZodString>;
|
|
4322
4322
|
authorType: z.ZodEnum<{
|
|
4323
|
-
agent: "agent";
|
|
4324
4323
|
user: "user";
|
|
4324
|
+
agent: "agent";
|
|
4325
4325
|
}>;
|
|
4326
4326
|
authorId: z.ZodString;
|
|
4327
4327
|
authorName: z.ZodString;
|
|
@@ -4361,8 +4361,8 @@ declare const HiveInstalledItemSchema: z.ZodObject<{
|
|
|
4361
4361
|
version: z.ZodString;
|
|
4362
4362
|
avatar: z.ZodNullable<z.ZodString>;
|
|
4363
4363
|
authorType: z.ZodEnum<{
|
|
4364
|
-
agent: "agent";
|
|
4365
4364
|
user: "user";
|
|
4365
|
+
agent: "agent";
|
|
4366
4366
|
}>;
|
|
4367
4367
|
authorId: z.ZodString;
|
|
4368
4368
|
authorName: z.ZodString;
|
|
@@ -4416,8 +4416,8 @@ declare const HiveInstalledResponseSchema: z.ZodObject<{
|
|
|
4416
4416
|
version: z.ZodString;
|
|
4417
4417
|
avatar: z.ZodNullable<z.ZodString>;
|
|
4418
4418
|
authorType: z.ZodEnum<{
|
|
4419
|
-
agent: "agent";
|
|
4420
4419
|
user: "user";
|
|
4420
|
+
agent: "agent";
|
|
4421
4421
|
}>;
|
|
4422
4422
|
authorId: z.ZodString;
|
|
4423
4423
|
authorName: z.ZodString;
|
|
@@ -4459,8 +4459,8 @@ declare const HiveMyListingsResponseSchema: z.ZodObject<{
|
|
|
4459
4459
|
version: z.ZodString;
|
|
4460
4460
|
avatar: z.ZodNullable<z.ZodString>;
|
|
4461
4461
|
authorType: z.ZodEnum<{
|
|
4462
|
-
agent: "agent";
|
|
4463
4462
|
user: "user";
|
|
4463
|
+
agent: "agent";
|
|
4464
4464
|
}>;
|
|
4465
4465
|
authorId: z.ZodString;
|
|
4466
4466
|
authorName: z.ZodString;
|
package/dist/node.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { dZ as LoadAgentOptions, dX as AgentConfig, dY as ValidationResult, dU as FrameworkType } from './errors-
|
|
2
|
-
export { e5 as AgentConfigValidationError, dQ as AgentContext, e3 as AgentError, e7 as AgentLoadError, dV as AgentMetadata, e1 as AgentMetadataSchema, e4 as AgentNotFoundError, dR as AgentrixContext, dW as ClaudeAgentConfig, e2 as ClaudeConfigSchema, e0 as FRAMEWORK_TYPES, e6 as FrameworkNotSupportedError, d$ as HookFactory, e8 as MissingAgentFileError, d_ as RepositoryInitHookInput, dT as getAgentContext, dS as setAgentContext } from './errors-
|
|
1
|
+
import { dZ as LoadAgentOptions, dX as AgentConfig, dY as ValidationResult, dU as FrameworkType } from './errors-BN4dUGJQ.cjs';
|
|
2
|
+
export { e5 as AgentConfigValidationError, dQ as AgentContext, e3 as AgentError, e7 as AgentLoadError, dV as AgentMetadata, e1 as AgentMetadataSchema, e4 as AgentNotFoundError, dR as AgentrixContext, dW as ClaudeAgentConfig, e2 as ClaudeConfigSchema, e0 as FRAMEWORK_TYPES, e6 as FrameworkNotSupportedError, d$ as HookFactory, e8 as MissingAgentFileError, d_ as RepositoryInitHookInput, dT as getAgentContext, dS as setAgentContext } from './errors-BN4dUGJQ.cjs';
|
|
3
3
|
export { buildGitLabWebhookEndpointPath, buildGitLabWebhookUrl } from './gitlabWebhook.cjs';
|
|
4
4
|
import '@anthropic-ai/claude-agent-sdk';
|
|
5
5
|
import 'zod';
|