@agent-phonon/protocol 0.9.1 → 0.10.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.
- package/README.md +35 -1
- package/dist/index.d.ts +12 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +12 -0
- package/dist/index.js.map +1 -1
- package/dist/native-version.d.ts +6 -0
- package/dist/native-version.d.ts.map +1 -0
- package/dist/native-version.js +41 -0
- package/dist/native-version.js.map +1 -0
- package/dist/schemas/capabilities.d.ts +9 -0
- package/dist/schemas/capabilities.d.ts.map +1 -1
- package/dist/schemas/capabilities.js +3 -0
- package/dist/schemas/capabilities.js.map +1 -1
- package/dist/schemas/common.d.ts +4 -4
- package/dist/schemas/common.d.ts.map +1 -1
- package/dist/schemas/common.js +9 -0
- package/dist/schemas/common.js.map +1 -1
- package/dist/schemas/compression.d.ts +191 -0
- package/dist/schemas/compression.d.ts.map +1 -0
- package/dist/schemas/compression.js +18 -0
- package/dist/schemas/compression.js.map +1 -0
- package/dist/schemas/conversation-archive.d.ts +1021 -0
- package/dist/schemas/conversation-archive.d.ts.map +1 -0
- package/dist/schemas/conversation-archive.js +148 -0
- package/dist/schemas/conversation-archive.js.map +1 -0
- package/dist/schemas/conversation-board.d.ts +428 -0
- package/dist/schemas/conversation-board.d.ts.map +1 -0
- package/dist/schemas/conversation-board.js +32 -0
- package/dist/schemas/conversation-board.js.map +1 -0
- package/dist/schemas/conversation-message.d.ts +658 -0
- package/dist/schemas/conversation-message.d.ts.map +1 -0
- package/dist/schemas/conversation-message.js +42 -0
- package/dist/schemas/conversation-message.js.map +1 -0
- package/dist/schemas/conversation-workflow.d.ts +1201 -0
- package/dist/schemas/conversation-workflow.d.ts.map +1 -0
- package/dist/schemas/conversation-workflow.js +68 -0
- package/dist/schemas/conversation-workflow.js.map +1 -0
- package/dist/schemas/device.d.ts +198 -2
- package/dist/schemas/device.d.ts.map +1 -1
- package/dist/schemas/device.js +29 -1
- package/dist/schemas/device.js.map +1 -1
- package/dist/schemas/discovery.d.ts +107 -0
- package/dist/schemas/discovery.d.ts.map +1 -1
- package/dist/schemas/discovery.js +2 -0
- package/dist/schemas/discovery.js.map +1 -1
- package/dist/schemas/document.d.ts +56 -26
- package/dist/schemas/document.d.ts.map +1 -1
- package/dist/schemas/document.js +11 -0
- package/dist/schemas/document.js.map +1 -1
- package/dist/schemas/employee.d.ts +139 -0
- package/dist/schemas/employee.d.ts.map +1 -0
- package/dist/schemas/employee.js +17 -0
- package/dist/schemas/employee.js.map +1 -0
- package/dist/schemas/env.d.ts +15 -15
- package/dist/schemas/env.d.ts.map +1 -1
- package/dist/schemas/env.js +1 -1
- package/dist/schemas/env.js.map +1 -1
- package/dist/schemas/file.d.ts +6 -6
- package/dist/schemas/hook.d.ts +4 -4
- package/dist/schemas/interaction.d.ts +363 -2
- package/dist/schemas/interaction.d.ts.map +1 -1
- package/dist/schemas/interaction.js +28 -1
- package/dist/schemas/interaction.js.map +1 -1
- package/dist/schemas/jsonrpc.d.ts +19 -19
- package/dist/schemas/maintenance.d.ts +822 -0
- package/dist/schemas/maintenance.d.ts.map +1 -0
- package/dist/schemas/maintenance.js +166 -0
- package/dist/schemas/maintenance.js.map +1 -0
- package/dist/schemas/managed-mcp.d.ts +116 -0
- package/dist/schemas/managed-mcp.d.ts.map +1 -0
- package/dist/schemas/managed-mcp.js +23 -0
- package/dist/schemas/managed-mcp.js.map +1 -0
- package/dist/schemas/methods.d.ts +22186 -2362
- package/dist/schemas/methods.d.ts.map +1 -1
- package/dist/schemas/methods.js +181 -6
- package/dist/schemas/methods.js.map +1 -1
- package/dist/schemas/native-stop.d.ts +162 -0
- package/dist/schemas/native-stop.d.ts.map +1 -0
- package/dist/schemas/native-stop.js +14 -0
- package/dist/schemas/native-stop.js.map +1 -0
- package/dist/schemas/policy.d.ts +42 -2
- package/dist/schemas/policy.d.ts.map +1 -1
- package/dist/schemas/policy.js +20 -0
- package/dist/schemas/policy.js.map +1 -1
- package/dist/schemas/project-coordination.d.ts +1956 -0
- package/dist/schemas/project-coordination.d.ts.map +1 -0
- package/dist/schemas/project-coordination.js +81 -0
- package/dist/schemas/project-coordination.js.map +1 -0
- package/dist/schemas/project.d.ts +771 -53
- package/dist/schemas/project.d.ts.map +1 -1
- package/dist/schemas/project.js +60 -5
- package/dist/schemas/project.js.map +1 -1
- package/dist/schemas/reasoning.d.ts +26 -0
- package/dist/schemas/reasoning.d.ts.map +1 -0
- package/dist/schemas/reasoning.js +10 -0
- package/dist/schemas/reasoning.js.map +1 -0
- package/dist/schemas/schedule.d.ts +15148 -5022
- package/dist/schemas/schedule.d.ts.map +1 -1
- package/dist/schemas/schedule.js +46 -5
- package/dist/schemas/schedule.js.map +1 -1
- package/dist/schemas/session.d.ts +1558 -49
- package/dist/schemas/session.d.ts.map +1 -1
- package/dist/schemas/session.js +27 -16
- package/dist/schemas/session.js.map +1 -1
- package/dist/schemas/skill.d.ts +1009 -8
- package/dist/schemas/skill.d.ts.map +1 -1
- package/dist/schemas/skill.js +39 -0
- package/dist/schemas/skill.js.map +1 -1
- package/dist/schemas/stream.d.ts +1060 -67
- package/dist/schemas/stream.d.ts.map +1 -1
- package/dist/schemas/stream.js +18 -3
- package/dist/schemas/stream.js.map +1 -1
- package/dist/schemas/workflow.d.ts +2764 -255
- package/dist/schemas/workflow.d.ts.map +1 -1
- package/dist/schemas/workflow.js +69 -1
- package/dist/schemas/workflow.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +12 -0
- package/src/native-version.ts +30 -0
- package/src/schemas/capabilities.ts +3 -0
- package/src/schemas/common.ts +9 -0
- package/src/schemas/compression.ts +19 -0
- package/src/schemas/conversation-archive.ts +155 -0
- package/src/schemas/conversation-board.ts +36 -0
- package/src/schemas/conversation-message.ts +46 -0
- package/src/schemas/conversation-workflow.ts +62 -0
- package/src/schemas/device.ts +32 -1
- package/src/schemas/discovery.ts +2 -0
- package/src/schemas/document.ts +13 -0
- package/src/schemas/employee.ts +19 -0
- package/src/schemas/env.ts +1 -1
- package/src/schemas/interaction.ts +32 -1
- package/src/schemas/maintenance.ts +204 -0
- package/src/schemas/managed-mcp.ts +25 -0
- package/src/schemas/methods.ts +208 -1
- package/src/schemas/native-stop.ts +16 -0
- package/src/schemas/policy.ts +20 -0
- package/src/schemas/project-coordination.ts +90 -0
- package/src/schemas/project.ts +72 -5
- package/src/schemas/reasoning.ts +13 -0
- package/src/schemas/schedule.ts +54 -5
- package/src/schemas/session.ts +30 -18
- package/src/schemas/skill.ts +52 -0
- package/src/schemas/stream.ts +22 -3
- package/src/schemas/workflow.ts +82 -1
|
@@ -66,19 +66,19 @@ export declare const JsonRpcErrorObject: z.ZodObject<{
|
|
|
66
66
|
code: z.ZodNumber;
|
|
67
67
|
message: z.ZodString;
|
|
68
68
|
data: z.ZodOptional<z.ZodObject<{
|
|
69
|
-
appCode: z.ZodEnum<["errProtocolMismatch", "errUnauthorized", "errSessionNotInTenant", "errTenantQuotaExceeded", "errDeviceQuotaExceeded", "errAgentUnavailable", "errModelUnavailable", "errSessionNotFound", "errSessionTerminated", "errSessionBusy", "errCapabilityUnsupported", "errHookResolveInvalid", "errHookTimeout", "errProjectNotFound", "errProjectExists", "errProjectHasActiveSessions", "errSkillNotFound", "errSkillScopeInvalid", "errSkillInstallFailed", "errWorktreeNotFound", "errWorktreeHasChanges", "errWorktreeInUse", "errBranchNotMerged", "errBranchInUse", "errDocumentTooLarge", "errDocumentPathDenied", "errPolicyDenied", "errDuplicateRequest", "errInvalidParams", "errInternal"]>;
|
|
69
|
+
appCode: z.ZodEnum<["errProtocolMismatch", "errUnauthorized", "errSessionNotInTenant", "errTenantQuotaExceeded", "errDeviceQuotaExceeded", "errAgentUnavailable", "errModelUnavailable", "errSessionNotFound", "errCompressionNotFound", "errSessionTerminated", "errSessionBusy", "errWorkflowObservationChanged", "errWorkflowNotFound", "errWorkflowResultChanged", "errCapabilityUnsupported", "errReasoningUnconfirmed", "errHookResolveInvalid", "errHookTimeout", "errProjectNotFound", "errProjectExists", "errProjectHasActiveSessions", "errProjectProvisionUnconfirmed", "errProjectProvisionChanged", "errSkillNotFound", "errSkillScopeInvalid", "errSkillInstallFailed", "errSkillInstallUnconfirmed", "errSkillRevisionChanged", "errWorktreeNotFound", "errWorktreeHasChanges", "errWorktreeInUse", "errBranchNotMerged", "errBranchInUse", "errDocumentTooLarge", "errDocumentPathDenied", "errPolicyDenied", "errDuplicateRequest", "errInvalidParams", "errInternal"]>;
|
|
70
70
|
detail: z.ZodOptional<z.ZodString>;
|
|
71
71
|
sessionId: z.ZodOptional<z.ZodBranded<z.ZodString, "SessionId">>;
|
|
72
72
|
agentId: z.ZodOptional<z.ZodBranded<z.ZodString, "AgentId">>;
|
|
73
73
|
tenantId: z.ZodOptional<z.ZodBranded<z.ZodString, "TenantId">>;
|
|
74
74
|
}, "strip", z.ZodTypeAny, {
|
|
75
|
-
appCode: "errProtocolMismatch" | "errUnauthorized" | "errSessionNotInTenant" | "errTenantQuotaExceeded" | "errDeviceQuotaExceeded" | "errAgentUnavailable" | "errModelUnavailable" | "errSessionNotFound" | "errSessionTerminated" | "errSessionBusy" | "errCapabilityUnsupported" | "errHookResolveInvalid" | "errHookTimeout" | "errProjectNotFound" | "errProjectExists" | "errProjectHasActiveSessions" | "errSkillNotFound" | "errSkillScopeInvalid" | "errSkillInstallFailed" | "errWorktreeNotFound" | "errWorktreeHasChanges" | "errWorktreeInUse" | "errBranchNotMerged" | "errBranchInUse" | "errDocumentTooLarge" | "errDocumentPathDenied" | "errPolicyDenied" | "errDuplicateRequest" | "errInvalidParams" | "errInternal";
|
|
75
|
+
appCode: "errProtocolMismatch" | "errUnauthorized" | "errSessionNotInTenant" | "errTenantQuotaExceeded" | "errDeviceQuotaExceeded" | "errAgentUnavailable" | "errModelUnavailable" | "errSessionNotFound" | "errCompressionNotFound" | "errSessionTerminated" | "errSessionBusy" | "errWorkflowObservationChanged" | "errWorkflowNotFound" | "errWorkflowResultChanged" | "errCapabilityUnsupported" | "errReasoningUnconfirmed" | "errHookResolveInvalid" | "errHookTimeout" | "errProjectNotFound" | "errProjectExists" | "errProjectHasActiveSessions" | "errProjectProvisionUnconfirmed" | "errProjectProvisionChanged" | "errSkillNotFound" | "errSkillScopeInvalid" | "errSkillInstallFailed" | "errSkillInstallUnconfirmed" | "errSkillRevisionChanged" | "errWorktreeNotFound" | "errWorktreeHasChanges" | "errWorktreeInUse" | "errBranchNotMerged" | "errBranchInUse" | "errDocumentTooLarge" | "errDocumentPathDenied" | "errPolicyDenied" | "errDuplicateRequest" | "errInvalidParams" | "errInternal";
|
|
76
76
|
detail?: string | undefined;
|
|
77
77
|
sessionId?: (string & z.BRAND<"SessionId">) | undefined;
|
|
78
78
|
agentId?: (string & z.BRAND<"AgentId">) | undefined;
|
|
79
79
|
tenantId?: (string & z.BRAND<"TenantId">) | undefined;
|
|
80
80
|
}, {
|
|
81
|
-
appCode: "errProtocolMismatch" | "errUnauthorized" | "errSessionNotInTenant" | "errTenantQuotaExceeded" | "errDeviceQuotaExceeded" | "errAgentUnavailable" | "errModelUnavailable" | "errSessionNotFound" | "errSessionTerminated" | "errSessionBusy" | "errCapabilityUnsupported" | "errHookResolveInvalid" | "errHookTimeout" | "errProjectNotFound" | "errProjectExists" | "errProjectHasActiveSessions" | "errSkillNotFound" | "errSkillScopeInvalid" | "errSkillInstallFailed" | "errWorktreeNotFound" | "errWorktreeHasChanges" | "errWorktreeInUse" | "errBranchNotMerged" | "errBranchInUse" | "errDocumentTooLarge" | "errDocumentPathDenied" | "errPolicyDenied" | "errDuplicateRequest" | "errInvalidParams" | "errInternal";
|
|
81
|
+
appCode: "errProtocolMismatch" | "errUnauthorized" | "errSessionNotInTenant" | "errTenantQuotaExceeded" | "errDeviceQuotaExceeded" | "errAgentUnavailable" | "errModelUnavailable" | "errSessionNotFound" | "errCompressionNotFound" | "errSessionTerminated" | "errSessionBusy" | "errWorkflowObservationChanged" | "errWorkflowNotFound" | "errWorkflowResultChanged" | "errCapabilityUnsupported" | "errReasoningUnconfirmed" | "errHookResolveInvalid" | "errHookTimeout" | "errProjectNotFound" | "errProjectExists" | "errProjectHasActiveSessions" | "errProjectProvisionUnconfirmed" | "errProjectProvisionChanged" | "errSkillNotFound" | "errSkillScopeInvalid" | "errSkillInstallFailed" | "errSkillInstallUnconfirmed" | "errSkillRevisionChanged" | "errWorktreeNotFound" | "errWorktreeHasChanges" | "errWorktreeInUse" | "errBranchNotMerged" | "errBranchInUse" | "errDocumentTooLarge" | "errDocumentPathDenied" | "errPolicyDenied" | "errDuplicateRequest" | "errInvalidParams" | "errInternal";
|
|
82
82
|
detail?: string | undefined;
|
|
83
83
|
sessionId?: string | undefined;
|
|
84
84
|
agentId?: string | undefined;
|
|
@@ -88,7 +88,7 @@ export declare const JsonRpcErrorObject: z.ZodObject<{
|
|
|
88
88
|
code: number;
|
|
89
89
|
message: string;
|
|
90
90
|
data?: {
|
|
91
|
-
appCode: "errProtocolMismatch" | "errUnauthorized" | "errSessionNotInTenant" | "errTenantQuotaExceeded" | "errDeviceQuotaExceeded" | "errAgentUnavailable" | "errModelUnavailable" | "errSessionNotFound" | "errSessionTerminated" | "errSessionBusy" | "errCapabilityUnsupported" | "errHookResolveInvalid" | "errHookTimeout" | "errProjectNotFound" | "errProjectExists" | "errProjectHasActiveSessions" | "errSkillNotFound" | "errSkillScopeInvalid" | "errSkillInstallFailed" | "errWorktreeNotFound" | "errWorktreeHasChanges" | "errWorktreeInUse" | "errBranchNotMerged" | "errBranchInUse" | "errDocumentTooLarge" | "errDocumentPathDenied" | "errPolicyDenied" | "errDuplicateRequest" | "errInvalidParams" | "errInternal";
|
|
91
|
+
appCode: "errProtocolMismatch" | "errUnauthorized" | "errSessionNotInTenant" | "errTenantQuotaExceeded" | "errDeviceQuotaExceeded" | "errAgentUnavailable" | "errModelUnavailable" | "errSessionNotFound" | "errCompressionNotFound" | "errSessionTerminated" | "errSessionBusy" | "errWorkflowObservationChanged" | "errWorkflowNotFound" | "errWorkflowResultChanged" | "errCapabilityUnsupported" | "errReasoningUnconfirmed" | "errHookResolveInvalid" | "errHookTimeout" | "errProjectNotFound" | "errProjectExists" | "errProjectHasActiveSessions" | "errProjectProvisionUnconfirmed" | "errProjectProvisionChanged" | "errSkillNotFound" | "errSkillScopeInvalid" | "errSkillInstallFailed" | "errSkillInstallUnconfirmed" | "errSkillRevisionChanged" | "errWorktreeNotFound" | "errWorktreeHasChanges" | "errWorktreeInUse" | "errBranchNotMerged" | "errBranchInUse" | "errDocumentTooLarge" | "errDocumentPathDenied" | "errPolicyDenied" | "errDuplicateRequest" | "errInvalidParams" | "errInternal";
|
|
92
92
|
detail?: string | undefined;
|
|
93
93
|
sessionId?: (string & z.BRAND<"SessionId">) | undefined;
|
|
94
94
|
agentId?: (string & z.BRAND<"AgentId">) | undefined;
|
|
@@ -98,7 +98,7 @@ export declare const JsonRpcErrorObject: z.ZodObject<{
|
|
|
98
98
|
code: number;
|
|
99
99
|
message: string;
|
|
100
100
|
data?: {
|
|
101
|
-
appCode: "errProtocolMismatch" | "errUnauthorized" | "errSessionNotInTenant" | "errTenantQuotaExceeded" | "errDeviceQuotaExceeded" | "errAgentUnavailable" | "errModelUnavailable" | "errSessionNotFound" | "errSessionTerminated" | "errSessionBusy" | "errCapabilityUnsupported" | "errHookResolveInvalid" | "errHookTimeout" | "errProjectNotFound" | "errProjectExists" | "errProjectHasActiveSessions" | "errSkillNotFound" | "errSkillScopeInvalid" | "errSkillInstallFailed" | "errWorktreeNotFound" | "errWorktreeHasChanges" | "errWorktreeInUse" | "errBranchNotMerged" | "errBranchInUse" | "errDocumentTooLarge" | "errDocumentPathDenied" | "errPolicyDenied" | "errDuplicateRequest" | "errInvalidParams" | "errInternal";
|
|
101
|
+
appCode: "errProtocolMismatch" | "errUnauthorized" | "errSessionNotInTenant" | "errTenantQuotaExceeded" | "errDeviceQuotaExceeded" | "errAgentUnavailable" | "errModelUnavailable" | "errSessionNotFound" | "errCompressionNotFound" | "errSessionTerminated" | "errSessionBusy" | "errWorkflowObservationChanged" | "errWorkflowNotFound" | "errWorkflowResultChanged" | "errCapabilityUnsupported" | "errReasoningUnconfirmed" | "errHookResolveInvalid" | "errHookTimeout" | "errProjectNotFound" | "errProjectExists" | "errProjectHasActiveSessions" | "errProjectProvisionUnconfirmed" | "errProjectProvisionChanged" | "errSkillNotFound" | "errSkillScopeInvalid" | "errSkillInstallFailed" | "errSkillInstallUnconfirmed" | "errSkillRevisionChanged" | "errWorktreeNotFound" | "errWorktreeHasChanges" | "errWorktreeInUse" | "errBranchNotMerged" | "errBranchInUse" | "errDocumentTooLarge" | "errDocumentPathDenied" | "errPolicyDenied" | "errDuplicateRequest" | "errInvalidParams" | "errInternal";
|
|
102
102
|
detail?: string | undefined;
|
|
103
103
|
sessionId?: string | undefined;
|
|
104
104
|
agentId?: string | undefined;
|
|
@@ -115,19 +115,19 @@ export declare const JsonRpcError: z.ZodObject<{
|
|
|
115
115
|
code: z.ZodNumber;
|
|
116
116
|
message: z.ZodString;
|
|
117
117
|
data: z.ZodOptional<z.ZodObject<{
|
|
118
|
-
appCode: z.ZodEnum<["errProtocolMismatch", "errUnauthorized", "errSessionNotInTenant", "errTenantQuotaExceeded", "errDeviceQuotaExceeded", "errAgentUnavailable", "errModelUnavailable", "errSessionNotFound", "errSessionTerminated", "errSessionBusy", "errCapabilityUnsupported", "errHookResolveInvalid", "errHookTimeout", "errProjectNotFound", "errProjectExists", "errProjectHasActiveSessions", "errSkillNotFound", "errSkillScopeInvalid", "errSkillInstallFailed", "errWorktreeNotFound", "errWorktreeHasChanges", "errWorktreeInUse", "errBranchNotMerged", "errBranchInUse", "errDocumentTooLarge", "errDocumentPathDenied", "errPolicyDenied", "errDuplicateRequest", "errInvalidParams", "errInternal"]>;
|
|
118
|
+
appCode: z.ZodEnum<["errProtocolMismatch", "errUnauthorized", "errSessionNotInTenant", "errTenantQuotaExceeded", "errDeviceQuotaExceeded", "errAgentUnavailable", "errModelUnavailable", "errSessionNotFound", "errCompressionNotFound", "errSessionTerminated", "errSessionBusy", "errWorkflowObservationChanged", "errWorkflowNotFound", "errWorkflowResultChanged", "errCapabilityUnsupported", "errReasoningUnconfirmed", "errHookResolveInvalid", "errHookTimeout", "errProjectNotFound", "errProjectExists", "errProjectHasActiveSessions", "errProjectProvisionUnconfirmed", "errProjectProvisionChanged", "errSkillNotFound", "errSkillScopeInvalid", "errSkillInstallFailed", "errSkillInstallUnconfirmed", "errSkillRevisionChanged", "errWorktreeNotFound", "errWorktreeHasChanges", "errWorktreeInUse", "errBranchNotMerged", "errBranchInUse", "errDocumentTooLarge", "errDocumentPathDenied", "errPolicyDenied", "errDuplicateRequest", "errInvalidParams", "errInternal"]>;
|
|
119
119
|
detail: z.ZodOptional<z.ZodString>;
|
|
120
120
|
sessionId: z.ZodOptional<z.ZodBranded<z.ZodString, "SessionId">>;
|
|
121
121
|
agentId: z.ZodOptional<z.ZodBranded<z.ZodString, "AgentId">>;
|
|
122
122
|
tenantId: z.ZodOptional<z.ZodBranded<z.ZodString, "TenantId">>;
|
|
123
123
|
}, "strip", z.ZodTypeAny, {
|
|
124
|
-
appCode: "errProtocolMismatch" | "errUnauthorized" | "errSessionNotInTenant" | "errTenantQuotaExceeded" | "errDeviceQuotaExceeded" | "errAgentUnavailable" | "errModelUnavailable" | "errSessionNotFound" | "errSessionTerminated" | "errSessionBusy" | "errCapabilityUnsupported" | "errHookResolveInvalid" | "errHookTimeout" | "errProjectNotFound" | "errProjectExists" | "errProjectHasActiveSessions" | "errSkillNotFound" | "errSkillScopeInvalid" | "errSkillInstallFailed" | "errWorktreeNotFound" | "errWorktreeHasChanges" | "errWorktreeInUse" | "errBranchNotMerged" | "errBranchInUse" | "errDocumentTooLarge" | "errDocumentPathDenied" | "errPolicyDenied" | "errDuplicateRequest" | "errInvalidParams" | "errInternal";
|
|
124
|
+
appCode: "errProtocolMismatch" | "errUnauthorized" | "errSessionNotInTenant" | "errTenantQuotaExceeded" | "errDeviceQuotaExceeded" | "errAgentUnavailable" | "errModelUnavailable" | "errSessionNotFound" | "errCompressionNotFound" | "errSessionTerminated" | "errSessionBusy" | "errWorkflowObservationChanged" | "errWorkflowNotFound" | "errWorkflowResultChanged" | "errCapabilityUnsupported" | "errReasoningUnconfirmed" | "errHookResolveInvalid" | "errHookTimeout" | "errProjectNotFound" | "errProjectExists" | "errProjectHasActiveSessions" | "errProjectProvisionUnconfirmed" | "errProjectProvisionChanged" | "errSkillNotFound" | "errSkillScopeInvalid" | "errSkillInstallFailed" | "errSkillInstallUnconfirmed" | "errSkillRevisionChanged" | "errWorktreeNotFound" | "errWorktreeHasChanges" | "errWorktreeInUse" | "errBranchNotMerged" | "errBranchInUse" | "errDocumentTooLarge" | "errDocumentPathDenied" | "errPolicyDenied" | "errDuplicateRequest" | "errInvalidParams" | "errInternal";
|
|
125
125
|
detail?: string | undefined;
|
|
126
126
|
sessionId?: (string & z.BRAND<"SessionId">) | undefined;
|
|
127
127
|
agentId?: (string & z.BRAND<"AgentId">) | undefined;
|
|
128
128
|
tenantId?: (string & z.BRAND<"TenantId">) | undefined;
|
|
129
129
|
}, {
|
|
130
|
-
appCode: "errProtocolMismatch" | "errUnauthorized" | "errSessionNotInTenant" | "errTenantQuotaExceeded" | "errDeviceQuotaExceeded" | "errAgentUnavailable" | "errModelUnavailable" | "errSessionNotFound" | "errSessionTerminated" | "errSessionBusy" | "errCapabilityUnsupported" | "errHookResolveInvalid" | "errHookTimeout" | "errProjectNotFound" | "errProjectExists" | "errProjectHasActiveSessions" | "errSkillNotFound" | "errSkillScopeInvalid" | "errSkillInstallFailed" | "errWorktreeNotFound" | "errWorktreeHasChanges" | "errWorktreeInUse" | "errBranchNotMerged" | "errBranchInUse" | "errDocumentTooLarge" | "errDocumentPathDenied" | "errPolicyDenied" | "errDuplicateRequest" | "errInvalidParams" | "errInternal";
|
|
130
|
+
appCode: "errProtocolMismatch" | "errUnauthorized" | "errSessionNotInTenant" | "errTenantQuotaExceeded" | "errDeviceQuotaExceeded" | "errAgentUnavailable" | "errModelUnavailable" | "errSessionNotFound" | "errCompressionNotFound" | "errSessionTerminated" | "errSessionBusy" | "errWorkflowObservationChanged" | "errWorkflowNotFound" | "errWorkflowResultChanged" | "errCapabilityUnsupported" | "errReasoningUnconfirmed" | "errHookResolveInvalid" | "errHookTimeout" | "errProjectNotFound" | "errProjectExists" | "errProjectHasActiveSessions" | "errProjectProvisionUnconfirmed" | "errProjectProvisionChanged" | "errSkillNotFound" | "errSkillScopeInvalid" | "errSkillInstallFailed" | "errSkillInstallUnconfirmed" | "errSkillRevisionChanged" | "errWorktreeNotFound" | "errWorktreeHasChanges" | "errWorktreeInUse" | "errBranchNotMerged" | "errBranchInUse" | "errDocumentTooLarge" | "errDocumentPathDenied" | "errPolicyDenied" | "errDuplicateRequest" | "errInvalidParams" | "errInternal";
|
|
131
131
|
detail?: string | undefined;
|
|
132
132
|
sessionId?: string | undefined;
|
|
133
133
|
agentId?: string | undefined;
|
|
@@ -137,7 +137,7 @@ export declare const JsonRpcError: z.ZodObject<{
|
|
|
137
137
|
code: number;
|
|
138
138
|
message: string;
|
|
139
139
|
data?: {
|
|
140
|
-
appCode: "errProtocolMismatch" | "errUnauthorized" | "errSessionNotInTenant" | "errTenantQuotaExceeded" | "errDeviceQuotaExceeded" | "errAgentUnavailable" | "errModelUnavailable" | "errSessionNotFound" | "errSessionTerminated" | "errSessionBusy" | "errCapabilityUnsupported" | "errHookResolveInvalid" | "errHookTimeout" | "errProjectNotFound" | "errProjectExists" | "errProjectHasActiveSessions" | "errSkillNotFound" | "errSkillScopeInvalid" | "errSkillInstallFailed" | "errWorktreeNotFound" | "errWorktreeHasChanges" | "errWorktreeInUse" | "errBranchNotMerged" | "errBranchInUse" | "errDocumentTooLarge" | "errDocumentPathDenied" | "errPolicyDenied" | "errDuplicateRequest" | "errInvalidParams" | "errInternal";
|
|
140
|
+
appCode: "errProtocolMismatch" | "errUnauthorized" | "errSessionNotInTenant" | "errTenantQuotaExceeded" | "errDeviceQuotaExceeded" | "errAgentUnavailable" | "errModelUnavailable" | "errSessionNotFound" | "errCompressionNotFound" | "errSessionTerminated" | "errSessionBusy" | "errWorkflowObservationChanged" | "errWorkflowNotFound" | "errWorkflowResultChanged" | "errCapabilityUnsupported" | "errReasoningUnconfirmed" | "errHookResolveInvalid" | "errHookTimeout" | "errProjectNotFound" | "errProjectExists" | "errProjectHasActiveSessions" | "errProjectProvisionUnconfirmed" | "errProjectProvisionChanged" | "errSkillNotFound" | "errSkillScopeInvalid" | "errSkillInstallFailed" | "errSkillInstallUnconfirmed" | "errSkillRevisionChanged" | "errWorktreeNotFound" | "errWorktreeHasChanges" | "errWorktreeInUse" | "errBranchNotMerged" | "errBranchInUse" | "errDocumentTooLarge" | "errDocumentPathDenied" | "errPolicyDenied" | "errDuplicateRequest" | "errInvalidParams" | "errInternal";
|
|
141
141
|
detail?: string | undefined;
|
|
142
142
|
sessionId?: (string & z.BRAND<"SessionId">) | undefined;
|
|
143
143
|
agentId?: (string & z.BRAND<"AgentId">) | undefined;
|
|
@@ -147,7 +147,7 @@ export declare const JsonRpcError: z.ZodObject<{
|
|
|
147
147
|
code: number;
|
|
148
148
|
message: string;
|
|
149
149
|
data?: {
|
|
150
|
-
appCode: "errProtocolMismatch" | "errUnauthorized" | "errSessionNotInTenant" | "errTenantQuotaExceeded" | "errDeviceQuotaExceeded" | "errAgentUnavailable" | "errModelUnavailable" | "errSessionNotFound" | "errSessionTerminated" | "errSessionBusy" | "errCapabilityUnsupported" | "errHookResolveInvalid" | "errHookTimeout" | "errProjectNotFound" | "errProjectExists" | "errProjectHasActiveSessions" | "errSkillNotFound" | "errSkillScopeInvalid" | "errSkillInstallFailed" | "errWorktreeNotFound" | "errWorktreeHasChanges" | "errWorktreeInUse" | "errBranchNotMerged" | "errBranchInUse" | "errDocumentTooLarge" | "errDocumentPathDenied" | "errPolicyDenied" | "errDuplicateRequest" | "errInvalidParams" | "errInternal";
|
|
150
|
+
appCode: "errProtocolMismatch" | "errUnauthorized" | "errSessionNotInTenant" | "errTenantQuotaExceeded" | "errDeviceQuotaExceeded" | "errAgentUnavailable" | "errModelUnavailable" | "errSessionNotFound" | "errCompressionNotFound" | "errSessionTerminated" | "errSessionBusy" | "errWorkflowObservationChanged" | "errWorkflowNotFound" | "errWorkflowResultChanged" | "errCapabilityUnsupported" | "errReasoningUnconfirmed" | "errHookResolveInvalid" | "errHookTimeout" | "errProjectNotFound" | "errProjectExists" | "errProjectHasActiveSessions" | "errProjectProvisionUnconfirmed" | "errProjectProvisionChanged" | "errSkillNotFound" | "errSkillScopeInvalid" | "errSkillInstallFailed" | "errSkillInstallUnconfirmed" | "errSkillRevisionChanged" | "errWorktreeNotFound" | "errWorktreeHasChanges" | "errWorktreeInUse" | "errBranchNotMerged" | "errBranchInUse" | "errDocumentTooLarge" | "errDocumentPathDenied" | "errPolicyDenied" | "errDuplicateRequest" | "errInvalidParams" | "errInternal";
|
|
151
151
|
detail?: string | undefined;
|
|
152
152
|
sessionId?: string | undefined;
|
|
153
153
|
agentId?: string | undefined;
|
|
@@ -160,7 +160,7 @@ export declare const JsonRpcError: z.ZodObject<{
|
|
|
160
160
|
code: number;
|
|
161
161
|
message: string;
|
|
162
162
|
data?: {
|
|
163
|
-
appCode: "errProtocolMismatch" | "errUnauthorized" | "errSessionNotInTenant" | "errTenantQuotaExceeded" | "errDeviceQuotaExceeded" | "errAgentUnavailable" | "errModelUnavailable" | "errSessionNotFound" | "errSessionTerminated" | "errSessionBusy" | "errCapabilityUnsupported" | "errHookResolveInvalid" | "errHookTimeout" | "errProjectNotFound" | "errProjectExists" | "errProjectHasActiveSessions" | "errSkillNotFound" | "errSkillScopeInvalid" | "errSkillInstallFailed" | "errWorktreeNotFound" | "errWorktreeHasChanges" | "errWorktreeInUse" | "errBranchNotMerged" | "errBranchInUse" | "errDocumentTooLarge" | "errDocumentPathDenied" | "errPolicyDenied" | "errDuplicateRequest" | "errInvalidParams" | "errInternal";
|
|
163
|
+
appCode: "errProtocolMismatch" | "errUnauthorized" | "errSessionNotInTenant" | "errTenantQuotaExceeded" | "errDeviceQuotaExceeded" | "errAgentUnavailable" | "errModelUnavailable" | "errSessionNotFound" | "errCompressionNotFound" | "errSessionTerminated" | "errSessionBusy" | "errWorkflowObservationChanged" | "errWorkflowNotFound" | "errWorkflowResultChanged" | "errCapabilityUnsupported" | "errReasoningUnconfirmed" | "errHookResolveInvalid" | "errHookTimeout" | "errProjectNotFound" | "errProjectExists" | "errProjectHasActiveSessions" | "errProjectProvisionUnconfirmed" | "errProjectProvisionChanged" | "errSkillNotFound" | "errSkillScopeInvalid" | "errSkillInstallFailed" | "errSkillInstallUnconfirmed" | "errSkillRevisionChanged" | "errWorktreeNotFound" | "errWorktreeHasChanges" | "errWorktreeInUse" | "errBranchNotMerged" | "errBranchInUse" | "errDocumentTooLarge" | "errDocumentPathDenied" | "errPolicyDenied" | "errDuplicateRequest" | "errInvalidParams" | "errInternal";
|
|
164
164
|
detail?: string | undefined;
|
|
165
165
|
sessionId?: (string & z.BRAND<"SessionId">) | undefined;
|
|
166
166
|
agentId?: (string & z.BRAND<"AgentId">) | undefined;
|
|
@@ -174,7 +174,7 @@ export declare const JsonRpcError: z.ZodObject<{
|
|
|
174
174
|
code: number;
|
|
175
175
|
message: string;
|
|
176
176
|
data?: {
|
|
177
|
-
appCode: "errProtocolMismatch" | "errUnauthorized" | "errSessionNotInTenant" | "errTenantQuotaExceeded" | "errDeviceQuotaExceeded" | "errAgentUnavailable" | "errModelUnavailable" | "errSessionNotFound" | "errSessionTerminated" | "errSessionBusy" | "errCapabilityUnsupported" | "errHookResolveInvalid" | "errHookTimeout" | "errProjectNotFound" | "errProjectExists" | "errProjectHasActiveSessions" | "errSkillNotFound" | "errSkillScopeInvalid" | "errSkillInstallFailed" | "errWorktreeNotFound" | "errWorktreeHasChanges" | "errWorktreeInUse" | "errBranchNotMerged" | "errBranchInUse" | "errDocumentTooLarge" | "errDocumentPathDenied" | "errPolicyDenied" | "errDuplicateRequest" | "errInvalidParams" | "errInternal";
|
|
177
|
+
appCode: "errProtocolMismatch" | "errUnauthorized" | "errSessionNotInTenant" | "errTenantQuotaExceeded" | "errDeviceQuotaExceeded" | "errAgentUnavailable" | "errModelUnavailable" | "errSessionNotFound" | "errCompressionNotFound" | "errSessionTerminated" | "errSessionBusy" | "errWorkflowObservationChanged" | "errWorkflowNotFound" | "errWorkflowResultChanged" | "errCapabilityUnsupported" | "errReasoningUnconfirmed" | "errHookResolveInvalid" | "errHookTimeout" | "errProjectNotFound" | "errProjectExists" | "errProjectHasActiveSessions" | "errProjectProvisionUnconfirmed" | "errProjectProvisionChanged" | "errSkillNotFound" | "errSkillScopeInvalid" | "errSkillInstallFailed" | "errSkillInstallUnconfirmed" | "errSkillRevisionChanged" | "errWorktreeNotFound" | "errWorktreeHasChanges" | "errWorktreeInUse" | "errBranchNotMerged" | "errBranchInUse" | "errDocumentTooLarge" | "errDocumentPathDenied" | "errPolicyDenied" | "errDuplicateRequest" | "errInvalidParams" | "errInternal";
|
|
178
178
|
detail?: string | undefined;
|
|
179
179
|
sessionId?: string | undefined;
|
|
180
180
|
agentId?: string | undefined;
|
|
@@ -232,19 +232,19 @@ export declare const JsonRpcMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
232
232
|
code: z.ZodNumber;
|
|
233
233
|
message: z.ZodString;
|
|
234
234
|
data: z.ZodOptional<z.ZodObject<{
|
|
235
|
-
appCode: z.ZodEnum<["errProtocolMismatch", "errUnauthorized", "errSessionNotInTenant", "errTenantQuotaExceeded", "errDeviceQuotaExceeded", "errAgentUnavailable", "errModelUnavailable", "errSessionNotFound", "errSessionTerminated", "errSessionBusy", "errCapabilityUnsupported", "errHookResolveInvalid", "errHookTimeout", "errProjectNotFound", "errProjectExists", "errProjectHasActiveSessions", "errSkillNotFound", "errSkillScopeInvalid", "errSkillInstallFailed", "errWorktreeNotFound", "errWorktreeHasChanges", "errWorktreeInUse", "errBranchNotMerged", "errBranchInUse", "errDocumentTooLarge", "errDocumentPathDenied", "errPolicyDenied", "errDuplicateRequest", "errInvalidParams", "errInternal"]>;
|
|
235
|
+
appCode: z.ZodEnum<["errProtocolMismatch", "errUnauthorized", "errSessionNotInTenant", "errTenantQuotaExceeded", "errDeviceQuotaExceeded", "errAgentUnavailable", "errModelUnavailable", "errSessionNotFound", "errCompressionNotFound", "errSessionTerminated", "errSessionBusy", "errWorkflowObservationChanged", "errWorkflowNotFound", "errWorkflowResultChanged", "errCapabilityUnsupported", "errReasoningUnconfirmed", "errHookResolveInvalid", "errHookTimeout", "errProjectNotFound", "errProjectExists", "errProjectHasActiveSessions", "errProjectProvisionUnconfirmed", "errProjectProvisionChanged", "errSkillNotFound", "errSkillScopeInvalid", "errSkillInstallFailed", "errSkillInstallUnconfirmed", "errSkillRevisionChanged", "errWorktreeNotFound", "errWorktreeHasChanges", "errWorktreeInUse", "errBranchNotMerged", "errBranchInUse", "errDocumentTooLarge", "errDocumentPathDenied", "errPolicyDenied", "errDuplicateRequest", "errInvalidParams", "errInternal"]>;
|
|
236
236
|
detail: z.ZodOptional<z.ZodString>;
|
|
237
237
|
sessionId: z.ZodOptional<z.ZodBranded<z.ZodString, "SessionId">>;
|
|
238
238
|
agentId: z.ZodOptional<z.ZodBranded<z.ZodString, "AgentId">>;
|
|
239
239
|
tenantId: z.ZodOptional<z.ZodBranded<z.ZodString, "TenantId">>;
|
|
240
240
|
}, "strip", z.ZodTypeAny, {
|
|
241
|
-
appCode: "errProtocolMismatch" | "errUnauthorized" | "errSessionNotInTenant" | "errTenantQuotaExceeded" | "errDeviceQuotaExceeded" | "errAgentUnavailable" | "errModelUnavailable" | "errSessionNotFound" | "errSessionTerminated" | "errSessionBusy" | "errCapabilityUnsupported" | "errHookResolveInvalid" | "errHookTimeout" | "errProjectNotFound" | "errProjectExists" | "errProjectHasActiveSessions" | "errSkillNotFound" | "errSkillScopeInvalid" | "errSkillInstallFailed" | "errWorktreeNotFound" | "errWorktreeHasChanges" | "errWorktreeInUse" | "errBranchNotMerged" | "errBranchInUse" | "errDocumentTooLarge" | "errDocumentPathDenied" | "errPolicyDenied" | "errDuplicateRequest" | "errInvalidParams" | "errInternal";
|
|
241
|
+
appCode: "errProtocolMismatch" | "errUnauthorized" | "errSessionNotInTenant" | "errTenantQuotaExceeded" | "errDeviceQuotaExceeded" | "errAgentUnavailable" | "errModelUnavailable" | "errSessionNotFound" | "errCompressionNotFound" | "errSessionTerminated" | "errSessionBusy" | "errWorkflowObservationChanged" | "errWorkflowNotFound" | "errWorkflowResultChanged" | "errCapabilityUnsupported" | "errReasoningUnconfirmed" | "errHookResolveInvalid" | "errHookTimeout" | "errProjectNotFound" | "errProjectExists" | "errProjectHasActiveSessions" | "errProjectProvisionUnconfirmed" | "errProjectProvisionChanged" | "errSkillNotFound" | "errSkillScopeInvalid" | "errSkillInstallFailed" | "errSkillInstallUnconfirmed" | "errSkillRevisionChanged" | "errWorktreeNotFound" | "errWorktreeHasChanges" | "errWorktreeInUse" | "errBranchNotMerged" | "errBranchInUse" | "errDocumentTooLarge" | "errDocumentPathDenied" | "errPolicyDenied" | "errDuplicateRequest" | "errInvalidParams" | "errInternal";
|
|
242
242
|
detail?: string | undefined;
|
|
243
243
|
sessionId?: (string & z.BRAND<"SessionId">) | undefined;
|
|
244
244
|
agentId?: (string & z.BRAND<"AgentId">) | undefined;
|
|
245
245
|
tenantId?: (string & z.BRAND<"TenantId">) | undefined;
|
|
246
246
|
}, {
|
|
247
|
-
appCode: "errProtocolMismatch" | "errUnauthorized" | "errSessionNotInTenant" | "errTenantQuotaExceeded" | "errDeviceQuotaExceeded" | "errAgentUnavailable" | "errModelUnavailable" | "errSessionNotFound" | "errSessionTerminated" | "errSessionBusy" | "errCapabilityUnsupported" | "errHookResolveInvalid" | "errHookTimeout" | "errProjectNotFound" | "errProjectExists" | "errProjectHasActiveSessions" | "errSkillNotFound" | "errSkillScopeInvalid" | "errSkillInstallFailed" | "errWorktreeNotFound" | "errWorktreeHasChanges" | "errWorktreeInUse" | "errBranchNotMerged" | "errBranchInUse" | "errDocumentTooLarge" | "errDocumentPathDenied" | "errPolicyDenied" | "errDuplicateRequest" | "errInvalidParams" | "errInternal";
|
|
247
|
+
appCode: "errProtocolMismatch" | "errUnauthorized" | "errSessionNotInTenant" | "errTenantQuotaExceeded" | "errDeviceQuotaExceeded" | "errAgentUnavailable" | "errModelUnavailable" | "errSessionNotFound" | "errCompressionNotFound" | "errSessionTerminated" | "errSessionBusy" | "errWorkflowObservationChanged" | "errWorkflowNotFound" | "errWorkflowResultChanged" | "errCapabilityUnsupported" | "errReasoningUnconfirmed" | "errHookResolveInvalid" | "errHookTimeout" | "errProjectNotFound" | "errProjectExists" | "errProjectHasActiveSessions" | "errProjectProvisionUnconfirmed" | "errProjectProvisionChanged" | "errSkillNotFound" | "errSkillScopeInvalid" | "errSkillInstallFailed" | "errSkillInstallUnconfirmed" | "errSkillRevisionChanged" | "errWorktreeNotFound" | "errWorktreeHasChanges" | "errWorktreeInUse" | "errBranchNotMerged" | "errBranchInUse" | "errDocumentTooLarge" | "errDocumentPathDenied" | "errPolicyDenied" | "errDuplicateRequest" | "errInvalidParams" | "errInternal";
|
|
248
248
|
detail?: string | undefined;
|
|
249
249
|
sessionId?: string | undefined;
|
|
250
250
|
agentId?: string | undefined;
|
|
@@ -254,7 +254,7 @@ export declare const JsonRpcMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
254
254
|
code: number;
|
|
255
255
|
message: string;
|
|
256
256
|
data?: {
|
|
257
|
-
appCode: "errProtocolMismatch" | "errUnauthorized" | "errSessionNotInTenant" | "errTenantQuotaExceeded" | "errDeviceQuotaExceeded" | "errAgentUnavailable" | "errModelUnavailable" | "errSessionNotFound" | "errSessionTerminated" | "errSessionBusy" | "errCapabilityUnsupported" | "errHookResolveInvalid" | "errHookTimeout" | "errProjectNotFound" | "errProjectExists" | "errProjectHasActiveSessions" | "errSkillNotFound" | "errSkillScopeInvalid" | "errSkillInstallFailed" | "errWorktreeNotFound" | "errWorktreeHasChanges" | "errWorktreeInUse" | "errBranchNotMerged" | "errBranchInUse" | "errDocumentTooLarge" | "errDocumentPathDenied" | "errPolicyDenied" | "errDuplicateRequest" | "errInvalidParams" | "errInternal";
|
|
257
|
+
appCode: "errProtocolMismatch" | "errUnauthorized" | "errSessionNotInTenant" | "errTenantQuotaExceeded" | "errDeviceQuotaExceeded" | "errAgentUnavailable" | "errModelUnavailable" | "errSessionNotFound" | "errCompressionNotFound" | "errSessionTerminated" | "errSessionBusy" | "errWorkflowObservationChanged" | "errWorkflowNotFound" | "errWorkflowResultChanged" | "errCapabilityUnsupported" | "errReasoningUnconfirmed" | "errHookResolveInvalid" | "errHookTimeout" | "errProjectNotFound" | "errProjectExists" | "errProjectHasActiveSessions" | "errProjectProvisionUnconfirmed" | "errProjectProvisionChanged" | "errSkillNotFound" | "errSkillScopeInvalid" | "errSkillInstallFailed" | "errSkillInstallUnconfirmed" | "errSkillRevisionChanged" | "errWorktreeNotFound" | "errWorktreeHasChanges" | "errWorktreeInUse" | "errBranchNotMerged" | "errBranchInUse" | "errDocumentTooLarge" | "errDocumentPathDenied" | "errPolicyDenied" | "errDuplicateRequest" | "errInvalidParams" | "errInternal";
|
|
258
258
|
detail?: string | undefined;
|
|
259
259
|
sessionId?: (string & z.BRAND<"SessionId">) | undefined;
|
|
260
260
|
agentId?: (string & z.BRAND<"AgentId">) | undefined;
|
|
@@ -264,7 +264,7 @@ export declare const JsonRpcMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
264
264
|
code: number;
|
|
265
265
|
message: string;
|
|
266
266
|
data?: {
|
|
267
|
-
appCode: "errProtocolMismatch" | "errUnauthorized" | "errSessionNotInTenant" | "errTenantQuotaExceeded" | "errDeviceQuotaExceeded" | "errAgentUnavailable" | "errModelUnavailable" | "errSessionNotFound" | "errSessionTerminated" | "errSessionBusy" | "errCapabilityUnsupported" | "errHookResolveInvalid" | "errHookTimeout" | "errProjectNotFound" | "errProjectExists" | "errProjectHasActiveSessions" | "errSkillNotFound" | "errSkillScopeInvalid" | "errSkillInstallFailed" | "errWorktreeNotFound" | "errWorktreeHasChanges" | "errWorktreeInUse" | "errBranchNotMerged" | "errBranchInUse" | "errDocumentTooLarge" | "errDocumentPathDenied" | "errPolicyDenied" | "errDuplicateRequest" | "errInvalidParams" | "errInternal";
|
|
267
|
+
appCode: "errProtocolMismatch" | "errUnauthorized" | "errSessionNotInTenant" | "errTenantQuotaExceeded" | "errDeviceQuotaExceeded" | "errAgentUnavailable" | "errModelUnavailable" | "errSessionNotFound" | "errCompressionNotFound" | "errSessionTerminated" | "errSessionBusy" | "errWorkflowObservationChanged" | "errWorkflowNotFound" | "errWorkflowResultChanged" | "errCapabilityUnsupported" | "errReasoningUnconfirmed" | "errHookResolveInvalid" | "errHookTimeout" | "errProjectNotFound" | "errProjectExists" | "errProjectHasActiveSessions" | "errProjectProvisionUnconfirmed" | "errProjectProvisionChanged" | "errSkillNotFound" | "errSkillScopeInvalid" | "errSkillInstallFailed" | "errSkillInstallUnconfirmed" | "errSkillRevisionChanged" | "errWorktreeNotFound" | "errWorktreeHasChanges" | "errWorktreeInUse" | "errBranchNotMerged" | "errBranchInUse" | "errDocumentTooLarge" | "errDocumentPathDenied" | "errPolicyDenied" | "errDuplicateRequest" | "errInvalidParams" | "errInternal";
|
|
268
268
|
detail?: string | undefined;
|
|
269
269
|
sessionId?: string | undefined;
|
|
270
270
|
agentId?: string | undefined;
|
|
@@ -277,7 +277,7 @@ export declare const JsonRpcMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
277
277
|
code: number;
|
|
278
278
|
message: string;
|
|
279
279
|
data?: {
|
|
280
|
-
appCode: "errProtocolMismatch" | "errUnauthorized" | "errSessionNotInTenant" | "errTenantQuotaExceeded" | "errDeviceQuotaExceeded" | "errAgentUnavailable" | "errModelUnavailable" | "errSessionNotFound" | "errSessionTerminated" | "errSessionBusy" | "errCapabilityUnsupported" | "errHookResolveInvalid" | "errHookTimeout" | "errProjectNotFound" | "errProjectExists" | "errProjectHasActiveSessions" | "errSkillNotFound" | "errSkillScopeInvalid" | "errSkillInstallFailed" | "errWorktreeNotFound" | "errWorktreeHasChanges" | "errWorktreeInUse" | "errBranchNotMerged" | "errBranchInUse" | "errDocumentTooLarge" | "errDocumentPathDenied" | "errPolicyDenied" | "errDuplicateRequest" | "errInvalidParams" | "errInternal";
|
|
280
|
+
appCode: "errProtocolMismatch" | "errUnauthorized" | "errSessionNotInTenant" | "errTenantQuotaExceeded" | "errDeviceQuotaExceeded" | "errAgentUnavailable" | "errModelUnavailable" | "errSessionNotFound" | "errCompressionNotFound" | "errSessionTerminated" | "errSessionBusy" | "errWorkflowObservationChanged" | "errWorkflowNotFound" | "errWorkflowResultChanged" | "errCapabilityUnsupported" | "errReasoningUnconfirmed" | "errHookResolveInvalid" | "errHookTimeout" | "errProjectNotFound" | "errProjectExists" | "errProjectHasActiveSessions" | "errProjectProvisionUnconfirmed" | "errProjectProvisionChanged" | "errSkillNotFound" | "errSkillScopeInvalid" | "errSkillInstallFailed" | "errSkillInstallUnconfirmed" | "errSkillRevisionChanged" | "errWorktreeNotFound" | "errWorktreeHasChanges" | "errWorktreeInUse" | "errBranchNotMerged" | "errBranchInUse" | "errDocumentTooLarge" | "errDocumentPathDenied" | "errPolicyDenied" | "errDuplicateRequest" | "errInvalidParams" | "errInternal";
|
|
281
281
|
detail?: string | undefined;
|
|
282
282
|
sessionId?: (string & z.BRAND<"SessionId">) | undefined;
|
|
283
283
|
agentId?: (string & z.BRAND<"AgentId">) | undefined;
|
|
@@ -291,7 +291,7 @@ export declare const JsonRpcMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
291
291
|
code: number;
|
|
292
292
|
message: string;
|
|
293
293
|
data?: {
|
|
294
|
-
appCode: "errProtocolMismatch" | "errUnauthorized" | "errSessionNotInTenant" | "errTenantQuotaExceeded" | "errDeviceQuotaExceeded" | "errAgentUnavailable" | "errModelUnavailable" | "errSessionNotFound" | "errSessionTerminated" | "errSessionBusy" | "errCapabilityUnsupported" | "errHookResolveInvalid" | "errHookTimeout" | "errProjectNotFound" | "errProjectExists" | "errProjectHasActiveSessions" | "errSkillNotFound" | "errSkillScopeInvalid" | "errSkillInstallFailed" | "errWorktreeNotFound" | "errWorktreeHasChanges" | "errWorktreeInUse" | "errBranchNotMerged" | "errBranchInUse" | "errDocumentTooLarge" | "errDocumentPathDenied" | "errPolicyDenied" | "errDuplicateRequest" | "errInvalidParams" | "errInternal";
|
|
294
|
+
appCode: "errProtocolMismatch" | "errUnauthorized" | "errSessionNotInTenant" | "errTenantQuotaExceeded" | "errDeviceQuotaExceeded" | "errAgentUnavailable" | "errModelUnavailable" | "errSessionNotFound" | "errCompressionNotFound" | "errSessionTerminated" | "errSessionBusy" | "errWorkflowObservationChanged" | "errWorkflowNotFound" | "errWorkflowResultChanged" | "errCapabilityUnsupported" | "errReasoningUnconfirmed" | "errHookResolveInvalid" | "errHookTimeout" | "errProjectNotFound" | "errProjectExists" | "errProjectHasActiveSessions" | "errProjectProvisionUnconfirmed" | "errProjectProvisionChanged" | "errSkillNotFound" | "errSkillScopeInvalid" | "errSkillInstallFailed" | "errSkillInstallUnconfirmed" | "errSkillRevisionChanged" | "errWorktreeNotFound" | "errWorktreeHasChanges" | "errWorktreeInUse" | "errBranchNotMerged" | "errBranchInUse" | "errDocumentTooLarge" | "errDocumentPathDenied" | "errPolicyDenied" | "errDuplicateRequest" | "errInvalidParams" | "errInternal";
|
|
295
295
|
detail?: string | undefined;
|
|
296
296
|
sessionId?: string | undefined;
|
|
297
297
|
agentId?: string | undefined;
|