@kmmao/happy-wire 0.13.0 → 0.13.2
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/dist/index.cjs +30 -5
- package/dist/index.d.cts +70 -4
- package/dist/index.d.mts +70 -4
- package/dist/index.mjs +28 -6
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1330,15 +1330,15 @@ function getBuiltInAIBackendProfile(id) {
|
|
|
1330
1330
|
case "openai":
|
|
1331
1331
|
return {
|
|
1332
1332
|
id: "openai",
|
|
1333
|
-
name: "OpenAI (GPT-5.
|
|
1333
|
+
name: "OpenAI (GPT-5.5)",
|
|
1334
1334
|
openaiConfig: {},
|
|
1335
1335
|
environmentVariables: [
|
|
1336
1336
|
{ name: "OPENAI_BASE_URL", value: "https://api.openai.com/v1" },
|
|
1337
|
-
{ name: "OPENAI_MODEL", value: "gpt-5.
|
|
1337
|
+
{ name: "OPENAI_MODEL", value: "gpt-5.5" },
|
|
1338
1338
|
{ name: "OPENAI_API_TIMEOUT_MS", value: "600000" },
|
|
1339
|
-
{ name: "OPENAI_SMALL_FAST_MODEL", value: "gpt-5.4" },
|
|
1339
|
+
{ name: "OPENAI_SMALL_FAST_MODEL", value: "gpt-5.4-mini" },
|
|
1340
1340
|
{ name: "API_TIMEOUT_MS", value: "600000" },
|
|
1341
|
-
{ name: "CODEX_SMALL_FAST_MODEL", value: "gpt-5.4" }
|
|
1341
|
+
{ name: "CODEX_SMALL_FAST_MODEL", value: "gpt-5.4-mini" }
|
|
1342
1342
|
],
|
|
1343
1343
|
compatibility: { claude: false, codex: true, gemini: false },
|
|
1344
1344
|
isBuiltIn: true,
|
|
@@ -1703,6 +1703,25 @@ const sessionSummaryStateSchema = z__namespace.object({
|
|
|
1703
1703
|
impactScope: z__namespace.array(z__namespace.string()).optional(),
|
|
1704
1704
|
updatedAt: z__namespace.number()
|
|
1705
1705
|
});
|
|
1706
|
+
const sessionSummaryRefreshActiveRequestSchema = z__namespace.object({
|
|
1707
|
+
requestId: z__namespace.string().min(1),
|
|
1708
|
+
requestedAt: z__namespace.number(),
|
|
1709
|
+
requester: z__namespace.enum(["happy-agent", "app", "system"]),
|
|
1710
|
+
command: z__namespace.literal("summary-refresh"),
|
|
1711
|
+
requireSummary: z__namespace.boolean()
|
|
1712
|
+
});
|
|
1713
|
+
const sessionSummaryRefreshRecentEntrySchema = z__namespace.object({
|
|
1714
|
+
requestId: z__namespace.string().min(1),
|
|
1715
|
+
status: z__namespace.enum(["applied", "superseded"]),
|
|
1716
|
+
resolvedAt: z__namespace.number(),
|
|
1717
|
+
summaryUpdatedAt: z__namespace.number().optional(),
|
|
1718
|
+
supersededByRequestId: z__namespace.string().min(1).optional()
|
|
1719
|
+
});
|
|
1720
|
+
const sessionSummaryRefreshStateSchema = z__namespace.object({
|
|
1721
|
+
protocolVersion: z__namespace.literal(1),
|
|
1722
|
+
active: sessionSummaryRefreshActiveRequestSchema.optional(),
|
|
1723
|
+
recent: z__namespace.array(sessionSummaryRefreshRecentEntrySchema).optional()
|
|
1724
|
+
});
|
|
1706
1725
|
|
|
1707
1726
|
const HAPPY_MCP_TOOL_NAMES = [
|
|
1708
1727
|
"change_title",
|
|
@@ -1775,7 +1794,10 @@ const HAPPY_MCP_TOOL_SPECS = {
|
|
|
1775
1794
|
currentFocus: z.z.string().optional().describe("Brief description of the active task or phase"),
|
|
1776
1795
|
keyDecisions: z.z.array(z.z.string()).optional().describe("Important choices already made this session"),
|
|
1777
1796
|
openQuestions: z.z.array(z.z.string()).optional().describe("Unresolved questions or pending decisions"),
|
|
1778
|
-
impactScope: z.z.array(z.z.string()).optional().describe("Modules/files/areas affected by this session's work")
|
|
1797
|
+
impactScope: z.z.array(z.z.string()).optional().describe("Modules/files/areas affected by this session's work"),
|
|
1798
|
+
requestId: z.z.string().optional().describe(
|
|
1799
|
+
"Optional request identifier that runtimes may record in sessionSummaryRefresh recent history for request-level confirmation"
|
|
1800
|
+
)
|
|
1779
1801
|
},
|
|
1780
1802
|
hideSuccessfulCall: false,
|
|
1781
1803
|
autoApproveByDefault: true,
|
|
@@ -2092,6 +2114,9 @@ exports.sessionServiceMessageEventSchema = sessionServiceMessageEventSchema;
|
|
|
2092
2114
|
exports.sessionStartEventSchema = sessionStartEventSchema;
|
|
2093
2115
|
exports.sessionStateChangedEventSchema = sessionStateChangedEventSchema;
|
|
2094
2116
|
exports.sessionStopEventSchema = sessionStopEventSchema;
|
|
2117
|
+
exports.sessionSummaryRefreshActiveRequestSchema = sessionSummaryRefreshActiveRequestSchema;
|
|
2118
|
+
exports.sessionSummaryRefreshRecentEntrySchema = sessionSummaryRefreshRecentEntrySchema;
|
|
2119
|
+
exports.sessionSummaryRefreshStateSchema = sessionSummaryRefreshStateSchema;
|
|
2095
2120
|
exports.sessionSummaryStateSchema = sessionSummaryStateSchema;
|
|
2096
2121
|
exports.sessionTaskEndEventSchema = sessionTaskEndEventSchema;
|
|
2097
2122
|
exports.sessionTaskLogEventSchema = sessionTaskLogEventSchema;
|
package/dist/index.d.cts
CHANGED
|
@@ -2125,8 +2125,8 @@ declare const KnowledgeEntryTypeSchema: z.ZodEnum<{
|
|
|
2125
2125
|
}>;
|
|
2126
2126
|
type KnowledgeEntryType = z.infer<typeof KnowledgeEntryTypeSchema>;
|
|
2127
2127
|
declare const KnowledgeContributorTypeSchema: z.ZodEnum<{
|
|
2128
|
-
session: "session";
|
|
2129
2128
|
user: "user";
|
|
2129
|
+
session: "session";
|
|
2130
2130
|
supervisor: "supervisor";
|
|
2131
2131
|
}>;
|
|
2132
2132
|
type KnowledgeContributorType = z.infer<typeof KnowledgeContributorTypeSchema>;
|
|
@@ -2158,8 +2158,8 @@ declare const CreateKnowledgeEntryBodySchema: z.ZodObject<{
|
|
|
2158
2158
|
warning: "warning";
|
|
2159
2159
|
}>;
|
|
2160
2160
|
contributorType: z.ZodEnum<{
|
|
2161
|
-
session: "session";
|
|
2162
2161
|
user: "user";
|
|
2162
|
+
session: "session";
|
|
2163
2163
|
supervisor: "supervisor";
|
|
2164
2164
|
}>;
|
|
2165
2165
|
action: z.ZodEnum<{
|
|
@@ -3204,6 +3204,72 @@ declare const sessionSummaryStateSchema: z.ZodObject<{
|
|
|
3204
3204
|
updatedAt: z.ZodNumber;
|
|
3205
3205
|
}, z.core.$strip>;
|
|
3206
3206
|
type SessionSummaryState = z.infer<typeof sessionSummaryStateSchema>;
|
|
3207
|
+
/**
|
|
3208
|
+
* Active request for request-level summary refresh confirmation.
|
|
3209
|
+
*
|
|
3210
|
+
* Kept outside `sessionSummary` itself because this is control-plane state,
|
|
3211
|
+
* not user-visible narrative content.
|
|
3212
|
+
*/
|
|
3213
|
+
declare const sessionSummaryRefreshActiveRequestSchema: z.ZodObject<{
|
|
3214
|
+
requestId: z.ZodString;
|
|
3215
|
+
requestedAt: z.ZodNumber;
|
|
3216
|
+
requester: z.ZodEnum<{
|
|
3217
|
+
system: "system";
|
|
3218
|
+
"happy-agent": "happy-agent";
|
|
3219
|
+
app: "app";
|
|
3220
|
+
}>;
|
|
3221
|
+
command: z.ZodLiteral<"summary-refresh">;
|
|
3222
|
+
requireSummary: z.ZodBoolean;
|
|
3223
|
+
}, z.core.$strip>;
|
|
3224
|
+
type SessionSummaryRefreshActiveRequest = z.infer<typeof sessionSummaryRefreshActiveRequestSchema>;
|
|
3225
|
+
/**
|
|
3226
|
+
* One resolved refresh request. `applied` means the runtime wrote the
|
|
3227
|
+
* requested summary update; `superseded` means a newer request replaced it
|
|
3228
|
+
* before it could complete.
|
|
3229
|
+
*/
|
|
3230
|
+
declare const sessionSummaryRefreshRecentEntrySchema: z.ZodObject<{
|
|
3231
|
+
requestId: z.ZodString;
|
|
3232
|
+
status: z.ZodEnum<{
|
|
3233
|
+
superseded: "superseded";
|
|
3234
|
+
applied: "applied";
|
|
3235
|
+
}>;
|
|
3236
|
+
resolvedAt: z.ZodNumber;
|
|
3237
|
+
summaryUpdatedAt: z.ZodOptional<z.ZodNumber>;
|
|
3238
|
+
supersededByRequestId: z.ZodOptional<z.ZodString>;
|
|
3239
|
+
}, z.core.$strip>;
|
|
3240
|
+
type SessionSummaryRefreshRecentEntry = z.infer<typeof sessionSummaryRefreshRecentEntrySchema>;
|
|
3241
|
+
/**
|
|
3242
|
+
* Control-plane state for request-level summary confirmation.
|
|
3243
|
+
*
|
|
3244
|
+
* Runtimes initialize this when they support the protocol. Clients can
|
|
3245
|
+
* check `protocolVersion` up front instead of guessing support from
|
|
3246
|
+
* timeouts. `recent` is intentionally small; runtimes should trim it.
|
|
3247
|
+
*/
|
|
3248
|
+
declare const sessionSummaryRefreshStateSchema: z.ZodObject<{
|
|
3249
|
+
protocolVersion: z.ZodLiteral<1>;
|
|
3250
|
+
active: z.ZodOptional<z.ZodObject<{
|
|
3251
|
+
requestId: z.ZodString;
|
|
3252
|
+
requestedAt: z.ZodNumber;
|
|
3253
|
+
requester: z.ZodEnum<{
|
|
3254
|
+
system: "system";
|
|
3255
|
+
"happy-agent": "happy-agent";
|
|
3256
|
+
app: "app";
|
|
3257
|
+
}>;
|
|
3258
|
+
command: z.ZodLiteral<"summary-refresh">;
|
|
3259
|
+
requireSummary: z.ZodBoolean;
|
|
3260
|
+
}, z.core.$strip>>;
|
|
3261
|
+
recent: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3262
|
+
requestId: z.ZodString;
|
|
3263
|
+
status: z.ZodEnum<{
|
|
3264
|
+
superseded: "superseded";
|
|
3265
|
+
applied: "applied";
|
|
3266
|
+
}>;
|
|
3267
|
+
resolvedAt: z.ZodNumber;
|
|
3268
|
+
summaryUpdatedAt: z.ZodOptional<z.ZodNumber>;
|
|
3269
|
+
supersededByRequestId: z.ZodOptional<z.ZodString>;
|
|
3270
|
+
}, z.core.$strip>>>;
|
|
3271
|
+
}, z.core.$strip>;
|
|
3272
|
+
type SessionSummaryRefreshState = z.infer<typeof sessionSummaryRefreshStateSchema>;
|
|
3207
3273
|
|
|
3208
3274
|
declare const HAPPY_MCP_TOOL_NAMES: readonly ["change_title", "query_project_knowledge", "update_progress", "update_session_summary"];
|
|
3209
3275
|
type HappyMcpCanonicalToolName = (typeof HAPPY_MCP_TOOL_NAMES)[number];
|
|
@@ -3405,5 +3471,5 @@ declare const CodexMetadataSchema: z.ZodObject<{
|
|
|
3405
3471
|
}, z.core.$strip>;
|
|
3406
3472
|
type CodexMetadata = z.infer<typeof CodexMetadataSchema>;
|
|
3407
3473
|
|
|
3408
|
-
export { AIBackendProfileSchema, AgentLoopSummarySchema, AgentMessageSchema, AnthropicConfigSchema, ApiMessageSchema, ApiUpdateMachineStateSchema, ApiUpdateNewMessageSchema, ApiUpdateSessionStateSchema, AutoDreamProfileSummarySchema, AutomationAuditEventSummarySchema, AutomationAuditStatsSchema, AutomationCountsSchema, AutomationGuardianSummarySchema, AutomationGuardianUsageSummarySchema, AutomationJobKindSchema, AutomationJobStatusSchema, AutomationJobSummarySchema, AutomationPrioritySchema, AutomationStateSchema, AzureOpenAIConfigSchema, BUILT_IN_AI_BACKEND_PROFILE_IDS, BootstrapProfileSummarySchema, BriefMessageSchema, BuiltInAIBackendProfileIdSchema, CODEX_APP_SERVER_BACKEND, CODEX_MCP_LEGACY_BACKEND, CODEX_REQUESTED_BACKEND_ALIASES, CliInstallInfoSchema, CliInstallSourceSchema, CodexAccountSchema, CodexAgentSummarySchema, CodexBackendModeSchema, CodexConfigModeSchema, CodexConfigSchema, CodexExperimentalFeatureSchema, CodexMcpServerSummarySchema, CodexMetadataSchema, CodexPromptSummarySchema, CodexRateLimitsSchema, CodexRequestedBackendSchema, CodexResolvedBackendSchema, CodexRuntimeConfigSchema, CodexSkillSummarySchema, CoreUpdateBodySchema, CoreUpdateContainerSchema, CreateKnowledgeEntryBodySchema, CreateSkillBodySchema, CreateTaskBodySchema, CrossProjectSearchResponseSchema, CrossProjectSearchResultSchema, CustomModelSchema, DaemonStateSchema, DefaultPermissionModeSchema, EnvironmentVariableSchema, HAPPY_MCP_AUTO_APPROVE_TOOL_NAMES, HAPPY_MCP_SILENT_SUCCESS_TOOL_NAMES, HAPPY_MCP_TOOL_NAMES, HAPPY_MCP_TOOL_SPECS, InboxCategorySchema, InboxItemSummarySchema, InboxNewItemSchema, InboxSeveritySchema, InboxUnreadCountSchema, KnowledgeActionSchema, KnowledgeChainEntrySchema, KnowledgeChainRelationSchema, KnowledgeChainResponseSchema, KnowledgeConfidenceSchema, KnowledgeContributorTypeSchema, KnowledgeEntryTypeSchema, KnowledgeInjectionModeSchema, KnowledgeInjectionRequestSchema, KnowledgeInjectionResponseSchema, KnowledgeStatusSchema, LegacyMessageContentSchema, MachineMetadataSchema, MessageContentSchema, MessageMetaSchema, OpenAIConfigSchema, ProfileCompatibilitySchema, ProjectProfileSchema, QueryKnowledgeParamsSchema, RESOLVED_RUNTIME_PROFILE_SCHEMA_VERSION, ResolvedRuntimeProfileSchema, RuntimeProfileSourceSchema, RuntimeProfileTrustSchema, SessionEventCreatedSchema, SessionEventReportSchema, SessionEventSummarySchema, SessionEventTypeSchema, SessionMessageContentSchema, SessionMessageSchema, SessionProtocolMessageSchema, SkillContentSchema, SkillSummarySchema, TailscaleInfoSchema, TailscaleServeEntrySchema, TaskOutcomeSchema, TaskPrioritySchema, TaskStatusChangedSchema, TaskStatusReportSchema, TaskStatusSchema, TaskSummarySchema, TaskTriggerDataSchema, TaskTriggerTypeSchema, TmuxConfigSchema, TogetherAIConfigSchema, TunnelEntrySchema, TunnelProviderInfoSchema, TunnelStateSchema, TurnKnowledgeExtractionSchema, UpdateBodySchema, UpdateKnowledgeEntryBodySchema, UpdateMachineBodySchema, UpdateNewMessageBodySchema, UpdateSchema, UpdateSessionBodySchema, UpdateSkillBodySchema, UserMessageSchema, VersionedEncryptedValueSchema, VersionedMachineEncryptedValueSchema, VersionedNullableEncryptedValueSchema, VoiceTokenAllowedSchema, VoiceTokenDeniedSchema, VoiceTokenResponseSchema, createEnvelope, createResolvedRuntimeProfile, getBuiltInAIBackendProfile, getHappyMcpToolAction, getHappyMcpToolAliases, getHappyMcpToolTitle, getProfileEnvironmentVariables, isCodexAppServerBackend, isCodexLegacyBackend, isHappyMcpToolAlias, isHappyMcpToolName, isTrustedRuntimeProfile, normalizeHappyMcpToolName, normalizeResolvedRuntimeProfile, resolveCodexResolvedBackend, resolveCodexResumableThreadId, resolveRequestedCodexBackend, sessionContextUsageCategorySchema, sessionContextUsageEventSchema, sessionEnvelopeSchema, sessionEventSchema, sessionFileEventSchema, sessionModelUsageSchema, sessionNeedsContinueEventSchema, sessionProgressListSchema, sessionProgressStateSchema, sessionProgressTodoSchema, sessionProgressTodoStatusSchema, sessionPromptSuggestionEventSchema, sessionRoleSchema, sessionServiceMessageEventSchema, sessionStartEventSchema, sessionStateChangedEventSchema, sessionStopEventSchema, sessionSummaryStateSchema, sessionTaskEndEventSchema, sessionTaskLogEventSchema, sessionTaskProgressEventSchema, sessionTaskStartEventSchema, sessionTextDeltaEventSchema, sessionTextEventSchema, sessionToolCallEndEventSchema, sessionToolCallStartEventSchema, sessionToolProgressEventSchema, sessionTurnEndEventSchema, sessionTurnEndStatusSchema, sessionTurnStartEventSchema, sessionUsageUpdateEventSchema, shouldAutoApproveHappyMcpReason, shouldAutoApproveHappyMcpToolName, shouldHideSuccessfulHappyMcpTool, terminalCloseRequestSchema, terminalExitPayloadSchema, terminalInputPayloadSchema, terminalOutputPayloadSchema, terminalResizeRequestSchema, terminalSpawnRequestSchema, terminalSpawnResponseSchema, validateProfileForAgent };
|
|
3409
|
-
export type { AIBackendProfile, AgentLoopSummary, AgentMessage, ApiMessage, ApiUpdateMachineState, ApiUpdateNewMessage, ApiUpdateSessionState, AutoDreamProfileSummary, AutomationAuditEventSummary, AutomationAuditStats, AutomationCounts, AutomationGuardianSummary, AutomationGuardianUsageSummary, AutomationJobKind, AutomationJobStatus, AutomationJobSummary, AutomationPriority, AutomationState, BootstrapProfileSummary, BriefMessage, BuiltInAIBackendProfileId, CliInstallInfo, CliInstallSource, CodexAccount, CodexAgentSummary, CodexBackendMode, CodexConfigMode, CodexExperimentalFeature, CodexMcpServerSummary, CodexMetadata, CodexPromptSummary, CodexRateLimits, CodexRequestedBackend, CodexResolvedBackend, CodexRuntimeConfig, CodexSkillSummary, CoreUpdateBody, CoreUpdateContainer, CreateEnvelopeOptions, CreateKnowledgeEntryBody, CreateSkillBody, CreateTaskBody, CrossProjectSearchResponse, CrossProjectSearchResult, DaemonState, HappyMcpCanonicalToolName, HappyMcpToolActionMode, InboxCategory, InboxItemSummary, InboxNewItem, InboxSeverity, InboxUnreadCount, KnowledgeAction, KnowledgeChainEntry, KnowledgeChainRelation, KnowledgeChainResponse, KnowledgeConfidence, KnowledgeContributorType, KnowledgeEntryType, KnowledgeInjectionMode, KnowledgeInjectionRequest, KnowledgeInjectionResponse, KnowledgeStatus, LegacyMessageContent, MachineMetadata, MessageContent, MessageMeta, ProjectProfile, QueryKnowledgeParams, ResolvedRuntimeProfile, RuntimeProfileSource, RuntimeProfileTrust, SessionContextUsageEvent, SessionEnvelope, SessionEvent, SessionEventCreated, SessionEventReport, SessionEventSummary, SessionEventType, SessionMessage, SessionMessageContent, SessionModelUsage, SessionProgressList, SessionProgressState, SessionProgressTodo, SessionProgressTodoStatus, SessionProtocolMessage, SessionRole, SessionSummaryState, SessionTurnEndStatus, SkillContent, SkillSummary, TailscaleInfo, TailscaleServeEntry, TaskOutcome, TaskPriority, TaskStatus, TaskStatusChanged, TaskStatusReport, TaskSummary, TaskTriggerData, TaskTriggerType, TerminalCloseRequest, TerminalExitPayload, TerminalInputPayload, TerminalOutputPayload, TerminalResizeRequest, TerminalSpawnRequest, TerminalSpawnResponse, TunnelEntry, TunnelProviderInfo, TunnelState, TurnKnowledgeExtraction, Update, UpdateBody, UpdateKnowledgeEntryBody, UpdateMachineBody, UpdateNewMessageBody, UpdateSessionBody, UpdateSkillBody, UserMessage, VersionedEncryptedValue, VersionedMachineEncryptedValue, VersionedNullableEncryptedValue, VoiceTokenResponse };
|
|
3474
|
+
export { AIBackendProfileSchema, AgentLoopSummarySchema, AgentMessageSchema, AnthropicConfigSchema, ApiMessageSchema, ApiUpdateMachineStateSchema, ApiUpdateNewMessageSchema, ApiUpdateSessionStateSchema, AutoDreamProfileSummarySchema, AutomationAuditEventSummarySchema, AutomationAuditStatsSchema, AutomationCountsSchema, AutomationGuardianSummarySchema, AutomationGuardianUsageSummarySchema, AutomationJobKindSchema, AutomationJobStatusSchema, AutomationJobSummarySchema, AutomationPrioritySchema, AutomationStateSchema, AzureOpenAIConfigSchema, BUILT_IN_AI_BACKEND_PROFILE_IDS, BootstrapProfileSummarySchema, BriefMessageSchema, BuiltInAIBackendProfileIdSchema, CODEX_APP_SERVER_BACKEND, CODEX_MCP_LEGACY_BACKEND, CODEX_REQUESTED_BACKEND_ALIASES, CliInstallInfoSchema, CliInstallSourceSchema, CodexAccountSchema, CodexAgentSummarySchema, CodexBackendModeSchema, CodexConfigModeSchema, CodexConfigSchema, CodexExperimentalFeatureSchema, CodexMcpServerSummarySchema, CodexMetadataSchema, CodexPromptSummarySchema, CodexRateLimitsSchema, CodexRequestedBackendSchema, CodexResolvedBackendSchema, CodexRuntimeConfigSchema, CodexSkillSummarySchema, CoreUpdateBodySchema, CoreUpdateContainerSchema, CreateKnowledgeEntryBodySchema, CreateSkillBodySchema, CreateTaskBodySchema, CrossProjectSearchResponseSchema, CrossProjectSearchResultSchema, CustomModelSchema, DaemonStateSchema, DefaultPermissionModeSchema, EnvironmentVariableSchema, HAPPY_MCP_AUTO_APPROVE_TOOL_NAMES, HAPPY_MCP_SILENT_SUCCESS_TOOL_NAMES, HAPPY_MCP_TOOL_NAMES, HAPPY_MCP_TOOL_SPECS, InboxCategorySchema, InboxItemSummarySchema, InboxNewItemSchema, InboxSeveritySchema, InboxUnreadCountSchema, KnowledgeActionSchema, KnowledgeChainEntrySchema, KnowledgeChainRelationSchema, KnowledgeChainResponseSchema, KnowledgeConfidenceSchema, KnowledgeContributorTypeSchema, KnowledgeEntryTypeSchema, KnowledgeInjectionModeSchema, KnowledgeInjectionRequestSchema, KnowledgeInjectionResponseSchema, KnowledgeStatusSchema, LegacyMessageContentSchema, MachineMetadataSchema, MessageContentSchema, MessageMetaSchema, OpenAIConfigSchema, ProfileCompatibilitySchema, ProjectProfileSchema, QueryKnowledgeParamsSchema, RESOLVED_RUNTIME_PROFILE_SCHEMA_VERSION, ResolvedRuntimeProfileSchema, RuntimeProfileSourceSchema, RuntimeProfileTrustSchema, SessionEventCreatedSchema, SessionEventReportSchema, SessionEventSummarySchema, SessionEventTypeSchema, SessionMessageContentSchema, SessionMessageSchema, SessionProtocolMessageSchema, SkillContentSchema, SkillSummarySchema, TailscaleInfoSchema, TailscaleServeEntrySchema, TaskOutcomeSchema, TaskPrioritySchema, TaskStatusChangedSchema, TaskStatusReportSchema, TaskStatusSchema, TaskSummarySchema, TaskTriggerDataSchema, TaskTriggerTypeSchema, TmuxConfigSchema, TogetherAIConfigSchema, TunnelEntrySchema, TunnelProviderInfoSchema, TunnelStateSchema, TurnKnowledgeExtractionSchema, UpdateBodySchema, UpdateKnowledgeEntryBodySchema, UpdateMachineBodySchema, UpdateNewMessageBodySchema, UpdateSchema, UpdateSessionBodySchema, UpdateSkillBodySchema, UserMessageSchema, VersionedEncryptedValueSchema, VersionedMachineEncryptedValueSchema, VersionedNullableEncryptedValueSchema, VoiceTokenAllowedSchema, VoiceTokenDeniedSchema, VoiceTokenResponseSchema, createEnvelope, createResolvedRuntimeProfile, getBuiltInAIBackendProfile, getHappyMcpToolAction, getHappyMcpToolAliases, getHappyMcpToolTitle, getProfileEnvironmentVariables, isCodexAppServerBackend, isCodexLegacyBackend, isHappyMcpToolAlias, isHappyMcpToolName, isTrustedRuntimeProfile, normalizeHappyMcpToolName, normalizeResolvedRuntimeProfile, resolveCodexResolvedBackend, resolveCodexResumableThreadId, resolveRequestedCodexBackend, sessionContextUsageCategorySchema, sessionContextUsageEventSchema, sessionEnvelopeSchema, sessionEventSchema, sessionFileEventSchema, sessionModelUsageSchema, sessionNeedsContinueEventSchema, sessionProgressListSchema, sessionProgressStateSchema, sessionProgressTodoSchema, sessionProgressTodoStatusSchema, sessionPromptSuggestionEventSchema, sessionRoleSchema, sessionServiceMessageEventSchema, sessionStartEventSchema, sessionStateChangedEventSchema, sessionStopEventSchema, sessionSummaryRefreshActiveRequestSchema, sessionSummaryRefreshRecentEntrySchema, sessionSummaryRefreshStateSchema, sessionSummaryStateSchema, sessionTaskEndEventSchema, sessionTaskLogEventSchema, sessionTaskProgressEventSchema, sessionTaskStartEventSchema, sessionTextDeltaEventSchema, sessionTextEventSchema, sessionToolCallEndEventSchema, sessionToolCallStartEventSchema, sessionToolProgressEventSchema, sessionTurnEndEventSchema, sessionTurnEndStatusSchema, sessionTurnStartEventSchema, sessionUsageUpdateEventSchema, shouldAutoApproveHappyMcpReason, shouldAutoApproveHappyMcpToolName, shouldHideSuccessfulHappyMcpTool, terminalCloseRequestSchema, terminalExitPayloadSchema, terminalInputPayloadSchema, terminalOutputPayloadSchema, terminalResizeRequestSchema, terminalSpawnRequestSchema, terminalSpawnResponseSchema, validateProfileForAgent };
|
|
3475
|
+
export type { AIBackendProfile, AgentLoopSummary, AgentMessage, ApiMessage, ApiUpdateMachineState, ApiUpdateNewMessage, ApiUpdateSessionState, AutoDreamProfileSummary, AutomationAuditEventSummary, AutomationAuditStats, AutomationCounts, AutomationGuardianSummary, AutomationGuardianUsageSummary, AutomationJobKind, AutomationJobStatus, AutomationJobSummary, AutomationPriority, AutomationState, BootstrapProfileSummary, BriefMessage, BuiltInAIBackendProfileId, CliInstallInfo, CliInstallSource, CodexAccount, CodexAgentSummary, CodexBackendMode, CodexConfigMode, CodexExperimentalFeature, CodexMcpServerSummary, CodexMetadata, CodexPromptSummary, CodexRateLimits, CodexRequestedBackend, CodexResolvedBackend, CodexRuntimeConfig, CodexSkillSummary, CoreUpdateBody, CoreUpdateContainer, CreateEnvelopeOptions, CreateKnowledgeEntryBody, CreateSkillBody, CreateTaskBody, CrossProjectSearchResponse, CrossProjectSearchResult, DaemonState, HappyMcpCanonicalToolName, HappyMcpToolActionMode, InboxCategory, InboxItemSummary, InboxNewItem, InboxSeverity, InboxUnreadCount, KnowledgeAction, KnowledgeChainEntry, KnowledgeChainRelation, KnowledgeChainResponse, KnowledgeConfidence, KnowledgeContributorType, KnowledgeEntryType, KnowledgeInjectionMode, KnowledgeInjectionRequest, KnowledgeInjectionResponse, KnowledgeStatus, LegacyMessageContent, MachineMetadata, MessageContent, MessageMeta, ProjectProfile, QueryKnowledgeParams, ResolvedRuntimeProfile, RuntimeProfileSource, RuntimeProfileTrust, SessionContextUsageEvent, SessionEnvelope, SessionEvent, SessionEventCreated, SessionEventReport, SessionEventSummary, SessionEventType, SessionMessage, SessionMessageContent, SessionModelUsage, SessionProgressList, SessionProgressState, SessionProgressTodo, SessionProgressTodoStatus, SessionProtocolMessage, SessionRole, SessionSummaryRefreshActiveRequest, SessionSummaryRefreshRecentEntry, SessionSummaryRefreshState, SessionSummaryState, SessionTurnEndStatus, SkillContent, SkillSummary, TailscaleInfo, TailscaleServeEntry, TaskOutcome, TaskPriority, TaskStatus, TaskStatusChanged, TaskStatusReport, TaskSummary, TaskTriggerData, TaskTriggerType, TerminalCloseRequest, TerminalExitPayload, TerminalInputPayload, TerminalOutputPayload, TerminalResizeRequest, TerminalSpawnRequest, TerminalSpawnResponse, TunnelEntry, TunnelProviderInfo, TunnelState, TurnKnowledgeExtraction, Update, UpdateBody, UpdateKnowledgeEntryBody, UpdateMachineBody, UpdateNewMessageBody, UpdateSessionBody, UpdateSkillBody, UserMessage, VersionedEncryptedValue, VersionedMachineEncryptedValue, VersionedNullableEncryptedValue, VoiceTokenResponse };
|
package/dist/index.d.mts
CHANGED
|
@@ -2125,8 +2125,8 @@ declare const KnowledgeEntryTypeSchema: z.ZodEnum<{
|
|
|
2125
2125
|
}>;
|
|
2126
2126
|
type KnowledgeEntryType = z.infer<typeof KnowledgeEntryTypeSchema>;
|
|
2127
2127
|
declare const KnowledgeContributorTypeSchema: z.ZodEnum<{
|
|
2128
|
-
session: "session";
|
|
2129
2128
|
user: "user";
|
|
2129
|
+
session: "session";
|
|
2130
2130
|
supervisor: "supervisor";
|
|
2131
2131
|
}>;
|
|
2132
2132
|
type KnowledgeContributorType = z.infer<typeof KnowledgeContributorTypeSchema>;
|
|
@@ -2158,8 +2158,8 @@ declare const CreateKnowledgeEntryBodySchema: z.ZodObject<{
|
|
|
2158
2158
|
warning: "warning";
|
|
2159
2159
|
}>;
|
|
2160
2160
|
contributorType: z.ZodEnum<{
|
|
2161
|
-
session: "session";
|
|
2162
2161
|
user: "user";
|
|
2162
|
+
session: "session";
|
|
2163
2163
|
supervisor: "supervisor";
|
|
2164
2164
|
}>;
|
|
2165
2165
|
action: z.ZodEnum<{
|
|
@@ -3204,6 +3204,72 @@ declare const sessionSummaryStateSchema: z.ZodObject<{
|
|
|
3204
3204
|
updatedAt: z.ZodNumber;
|
|
3205
3205
|
}, z.core.$strip>;
|
|
3206
3206
|
type SessionSummaryState = z.infer<typeof sessionSummaryStateSchema>;
|
|
3207
|
+
/**
|
|
3208
|
+
* Active request for request-level summary refresh confirmation.
|
|
3209
|
+
*
|
|
3210
|
+
* Kept outside `sessionSummary` itself because this is control-plane state,
|
|
3211
|
+
* not user-visible narrative content.
|
|
3212
|
+
*/
|
|
3213
|
+
declare const sessionSummaryRefreshActiveRequestSchema: z.ZodObject<{
|
|
3214
|
+
requestId: z.ZodString;
|
|
3215
|
+
requestedAt: z.ZodNumber;
|
|
3216
|
+
requester: z.ZodEnum<{
|
|
3217
|
+
system: "system";
|
|
3218
|
+
"happy-agent": "happy-agent";
|
|
3219
|
+
app: "app";
|
|
3220
|
+
}>;
|
|
3221
|
+
command: z.ZodLiteral<"summary-refresh">;
|
|
3222
|
+
requireSummary: z.ZodBoolean;
|
|
3223
|
+
}, z.core.$strip>;
|
|
3224
|
+
type SessionSummaryRefreshActiveRequest = z.infer<typeof sessionSummaryRefreshActiveRequestSchema>;
|
|
3225
|
+
/**
|
|
3226
|
+
* One resolved refresh request. `applied` means the runtime wrote the
|
|
3227
|
+
* requested summary update; `superseded` means a newer request replaced it
|
|
3228
|
+
* before it could complete.
|
|
3229
|
+
*/
|
|
3230
|
+
declare const sessionSummaryRefreshRecentEntrySchema: z.ZodObject<{
|
|
3231
|
+
requestId: z.ZodString;
|
|
3232
|
+
status: z.ZodEnum<{
|
|
3233
|
+
superseded: "superseded";
|
|
3234
|
+
applied: "applied";
|
|
3235
|
+
}>;
|
|
3236
|
+
resolvedAt: z.ZodNumber;
|
|
3237
|
+
summaryUpdatedAt: z.ZodOptional<z.ZodNumber>;
|
|
3238
|
+
supersededByRequestId: z.ZodOptional<z.ZodString>;
|
|
3239
|
+
}, z.core.$strip>;
|
|
3240
|
+
type SessionSummaryRefreshRecentEntry = z.infer<typeof sessionSummaryRefreshRecentEntrySchema>;
|
|
3241
|
+
/**
|
|
3242
|
+
* Control-plane state for request-level summary confirmation.
|
|
3243
|
+
*
|
|
3244
|
+
* Runtimes initialize this when they support the protocol. Clients can
|
|
3245
|
+
* check `protocolVersion` up front instead of guessing support from
|
|
3246
|
+
* timeouts. `recent` is intentionally small; runtimes should trim it.
|
|
3247
|
+
*/
|
|
3248
|
+
declare const sessionSummaryRefreshStateSchema: z.ZodObject<{
|
|
3249
|
+
protocolVersion: z.ZodLiteral<1>;
|
|
3250
|
+
active: z.ZodOptional<z.ZodObject<{
|
|
3251
|
+
requestId: z.ZodString;
|
|
3252
|
+
requestedAt: z.ZodNumber;
|
|
3253
|
+
requester: z.ZodEnum<{
|
|
3254
|
+
system: "system";
|
|
3255
|
+
"happy-agent": "happy-agent";
|
|
3256
|
+
app: "app";
|
|
3257
|
+
}>;
|
|
3258
|
+
command: z.ZodLiteral<"summary-refresh">;
|
|
3259
|
+
requireSummary: z.ZodBoolean;
|
|
3260
|
+
}, z.core.$strip>>;
|
|
3261
|
+
recent: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3262
|
+
requestId: z.ZodString;
|
|
3263
|
+
status: z.ZodEnum<{
|
|
3264
|
+
superseded: "superseded";
|
|
3265
|
+
applied: "applied";
|
|
3266
|
+
}>;
|
|
3267
|
+
resolvedAt: z.ZodNumber;
|
|
3268
|
+
summaryUpdatedAt: z.ZodOptional<z.ZodNumber>;
|
|
3269
|
+
supersededByRequestId: z.ZodOptional<z.ZodString>;
|
|
3270
|
+
}, z.core.$strip>>>;
|
|
3271
|
+
}, z.core.$strip>;
|
|
3272
|
+
type SessionSummaryRefreshState = z.infer<typeof sessionSummaryRefreshStateSchema>;
|
|
3207
3273
|
|
|
3208
3274
|
declare const HAPPY_MCP_TOOL_NAMES: readonly ["change_title", "query_project_knowledge", "update_progress", "update_session_summary"];
|
|
3209
3275
|
type HappyMcpCanonicalToolName = (typeof HAPPY_MCP_TOOL_NAMES)[number];
|
|
@@ -3405,5 +3471,5 @@ declare const CodexMetadataSchema: z.ZodObject<{
|
|
|
3405
3471
|
}, z.core.$strip>;
|
|
3406
3472
|
type CodexMetadata = z.infer<typeof CodexMetadataSchema>;
|
|
3407
3473
|
|
|
3408
|
-
export { AIBackendProfileSchema, AgentLoopSummarySchema, AgentMessageSchema, AnthropicConfigSchema, ApiMessageSchema, ApiUpdateMachineStateSchema, ApiUpdateNewMessageSchema, ApiUpdateSessionStateSchema, AutoDreamProfileSummarySchema, AutomationAuditEventSummarySchema, AutomationAuditStatsSchema, AutomationCountsSchema, AutomationGuardianSummarySchema, AutomationGuardianUsageSummarySchema, AutomationJobKindSchema, AutomationJobStatusSchema, AutomationJobSummarySchema, AutomationPrioritySchema, AutomationStateSchema, AzureOpenAIConfigSchema, BUILT_IN_AI_BACKEND_PROFILE_IDS, BootstrapProfileSummarySchema, BriefMessageSchema, BuiltInAIBackendProfileIdSchema, CODEX_APP_SERVER_BACKEND, CODEX_MCP_LEGACY_BACKEND, CODEX_REQUESTED_BACKEND_ALIASES, CliInstallInfoSchema, CliInstallSourceSchema, CodexAccountSchema, CodexAgentSummarySchema, CodexBackendModeSchema, CodexConfigModeSchema, CodexConfigSchema, CodexExperimentalFeatureSchema, CodexMcpServerSummarySchema, CodexMetadataSchema, CodexPromptSummarySchema, CodexRateLimitsSchema, CodexRequestedBackendSchema, CodexResolvedBackendSchema, CodexRuntimeConfigSchema, CodexSkillSummarySchema, CoreUpdateBodySchema, CoreUpdateContainerSchema, CreateKnowledgeEntryBodySchema, CreateSkillBodySchema, CreateTaskBodySchema, CrossProjectSearchResponseSchema, CrossProjectSearchResultSchema, CustomModelSchema, DaemonStateSchema, DefaultPermissionModeSchema, EnvironmentVariableSchema, HAPPY_MCP_AUTO_APPROVE_TOOL_NAMES, HAPPY_MCP_SILENT_SUCCESS_TOOL_NAMES, HAPPY_MCP_TOOL_NAMES, HAPPY_MCP_TOOL_SPECS, InboxCategorySchema, InboxItemSummarySchema, InboxNewItemSchema, InboxSeveritySchema, InboxUnreadCountSchema, KnowledgeActionSchema, KnowledgeChainEntrySchema, KnowledgeChainRelationSchema, KnowledgeChainResponseSchema, KnowledgeConfidenceSchema, KnowledgeContributorTypeSchema, KnowledgeEntryTypeSchema, KnowledgeInjectionModeSchema, KnowledgeInjectionRequestSchema, KnowledgeInjectionResponseSchema, KnowledgeStatusSchema, LegacyMessageContentSchema, MachineMetadataSchema, MessageContentSchema, MessageMetaSchema, OpenAIConfigSchema, ProfileCompatibilitySchema, ProjectProfileSchema, QueryKnowledgeParamsSchema, RESOLVED_RUNTIME_PROFILE_SCHEMA_VERSION, ResolvedRuntimeProfileSchema, RuntimeProfileSourceSchema, RuntimeProfileTrustSchema, SessionEventCreatedSchema, SessionEventReportSchema, SessionEventSummarySchema, SessionEventTypeSchema, SessionMessageContentSchema, SessionMessageSchema, SessionProtocolMessageSchema, SkillContentSchema, SkillSummarySchema, TailscaleInfoSchema, TailscaleServeEntrySchema, TaskOutcomeSchema, TaskPrioritySchema, TaskStatusChangedSchema, TaskStatusReportSchema, TaskStatusSchema, TaskSummarySchema, TaskTriggerDataSchema, TaskTriggerTypeSchema, TmuxConfigSchema, TogetherAIConfigSchema, TunnelEntrySchema, TunnelProviderInfoSchema, TunnelStateSchema, TurnKnowledgeExtractionSchema, UpdateBodySchema, UpdateKnowledgeEntryBodySchema, UpdateMachineBodySchema, UpdateNewMessageBodySchema, UpdateSchema, UpdateSessionBodySchema, UpdateSkillBodySchema, UserMessageSchema, VersionedEncryptedValueSchema, VersionedMachineEncryptedValueSchema, VersionedNullableEncryptedValueSchema, VoiceTokenAllowedSchema, VoiceTokenDeniedSchema, VoiceTokenResponseSchema, createEnvelope, createResolvedRuntimeProfile, getBuiltInAIBackendProfile, getHappyMcpToolAction, getHappyMcpToolAliases, getHappyMcpToolTitle, getProfileEnvironmentVariables, isCodexAppServerBackend, isCodexLegacyBackend, isHappyMcpToolAlias, isHappyMcpToolName, isTrustedRuntimeProfile, normalizeHappyMcpToolName, normalizeResolvedRuntimeProfile, resolveCodexResolvedBackend, resolveCodexResumableThreadId, resolveRequestedCodexBackend, sessionContextUsageCategorySchema, sessionContextUsageEventSchema, sessionEnvelopeSchema, sessionEventSchema, sessionFileEventSchema, sessionModelUsageSchema, sessionNeedsContinueEventSchema, sessionProgressListSchema, sessionProgressStateSchema, sessionProgressTodoSchema, sessionProgressTodoStatusSchema, sessionPromptSuggestionEventSchema, sessionRoleSchema, sessionServiceMessageEventSchema, sessionStartEventSchema, sessionStateChangedEventSchema, sessionStopEventSchema, sessionSummaryStateSchema, sessionTaskEndEventSchema, sessionTaskLogEventSchema, sessionTaskProgressEventSchema, sessionTaskStartEventSchema, sessionTextDeltaEventSchema, sessionTextEventSchema, sessionToolCallEndEventSchema, sessionToolCallStartEventSchema, sessionToolProgressEventSchema, sessionTurnEndEventSchema, sessionTurnEndStatusSchema, sessionTurnStartEventSchema, sessionUsageUpdateEventSchema, shouldAutoApproveHappyMcpReason, shouldAutoApproveHappyMcpToolName, shouldHideSuccessfulHappyMcpTool, terminalCloseRequestSchema, terminalExitPayloadSchema, terminalInputPayloadSchema, terminalOutputPayloadSchema, terminalResizeRequestSchema, terminalSpawnRequestSchema, terminalSpawnResponseSchema, validateProfileForAgent };
|
|
3409
|
-
export type { AIBackendProfile, AgentLoopSummary, AgentMessage, ApiMessage, ApiUpdateMachineState, ApiUpdateNewMessage, ApiUpdateSessionState, AutoDreamProfileSummary, AutomationAuditEventSummary, AutomationAuditStats, AutomationCounts, AutomationGuardianSummary, AutomationGuardianUsageSummary, AutomationJobKind, AutomationJobStatus, AutomationJobSummary, AutomationPriority, AutomationState, BootstrapProfileSummary, BriefMessage, BuiltInAIBackendProfileId, CliInstallInfo, CliInstallSource, CodexAccount, CodexAgentSummary, CodexBackendMode, CodexConfigMode, CodexExperimentalFeature, CodexMcpServerSummary, CodexMetadata, CodexPromptSummary, CodexRateLimits, CodexRequestedBackend, CodexResolvedBackend, CodexRuntimeConfig, CodexSkillSummary, CoreUpdateBody, CoreUpdateContainer, CreateEnvelopeOptions, CreateKnowledgeEntryBody, CreateSkillBody, CreateTaskBody, CrossProjectSearchResponse, CrossProjectSearchResult, DaemonState, HappyMcpCanonicalToolName, HappyMcpToolActionMode, InboxCategory, InboxItemSummary, InboxNewItem, InboxSeverity, InboxUnreadCount, KnowledgeAction, KnowledgeChainEntry, KnowledgeChainRelation, KnowledgeChainResponse, KnowledgeConfidence, KnowledgeContributorType, KnowledgeEntryType, KnowledgeInjectionMode, KnowledgeInjectionRequest, KnowledgeInjectionResponse, KnowledgeStatus, LegacyMessageContent, MachineMetadata, MessageContent, MessageMeta, ProjectProfile, QueryKnowledgeParams, ResolvedRuntimeProfile, RuntimeProfileSource, RuntimeProfileTrust, SessionContextUsageEvent, SessionEnvelope, SessionEvent, SessionEventCreated, SessionEventReport, SessionEventSummary, SessionEventType, SessionMessage, SessionMessageContent, SessionModelUsage, SessionProgressList, SessionProgressState, SessionProgressTodo, SessionProgressTodoStatus, SessionProtocolMessage, SessionRole, SessionSummaryState, SessionTurnEndStatus, SkillContent, SkillSummary, TailscaleInfo, TailscaleServeEntry, TaskOutcome, TaskPriority, TaskStatus, TaskStatusChanged, TaskStatusReport, TaskSummary, TaskTriggerData, TaskTriggerType, TerminalCloseRequest, TerminalExitPayload, TerminalInputPayload, TerminalOutputPayload, TerminalResizeRequest, TerminalSpawnRequest, TerminalSpawnResponse, TunnelEntry, TunnelProviderInfo, TunnelState, TurnKnowledgeExtraction, Update, UpdateBody, UpdateKnowledgeEntryBody, UpdateMachineBody, UpdateNewMessageBody, UpdateSessionBody, UpdateSkillBody, UserMessage, VersionedEncryptedValue, VersionedMachineEncryptedValue, VersionedNullableEncryptedValue, VoiceTokenResponse };
|
|
3474
|
+
export { AIBackendProfileSchema, AgentLoopSummarySchema, AgentMessageSchema, AnthropicConfigSchema, ApiMessageSchema, ApiUpdateMachineStateSchema, ApiUpdateNewMessageSchema, ApiUpdateSessionStateSchema, AutoDreamProfileSummarySchema, AutomationAuditEventSummarySchema, AutomationAuditStatsSchema, AutomationCountsSchema, AutomationGuardianSummarySchema, AutomationGuardianUsageSummarySchema, AutomationJobKindSchema, AutomationJobStatusSchema, AutomationJobSummarySchema, AutomationPrioritySchema, AutomationStateSchema, AzureOpenAIConfigSchema, BUILT_IN_AI_BACKEND_PROFILE_IDS, BootstrapProfileSummarySchema, BriefMessageSchema, BuiltInAIBackendProfileIdSchema, CODEX_APP_SERVER_BACKEND, CODEX_MCP_LEGACY_BACKEND, CODEX_REQUESTED_BACKEND_ALIASES, CliInstallInfoSchema, CliInstallSourceSchema, CodexAccountSchema, CodexAgentSummarySchema, CodexBackendModeSchema, CodexConfigModeSchema, CodexConfigSchema, CodexExperimentalFeatureSchema, CodexMcpServerSummarySchema, CodexMetadataSchema, CodexPromptSummarySchema, CodexRateLimitsSchema, CodexRequestedBackendSchema, CodexResolvedBackendSchema, CodexRuntimeConfigSchema, CodexSkillSummarySchema, CoreUpdateBodySchema, CoreUpdateContainerSchema, CreateKnowledgeEntryBodySchema, CreateSkillBodySchema, CreateTaskBodySchema, CrossProjectSearchResponseSchema, CrossProjectSearchResultSchema, CustomModelSchema, DaemonStateSchema, DefaultPermissionModeSchema, EnvironmentVariableSchema, HAPPY_MCP_AUTO_APPROVE_TOOL_NAMES, HAPPY_MCP_SILENT_SUCCESS_TOOL_NAMES, HAPPY_MCP_TOOL_NAMES, HAPPY_MCP_TOOL_SPECS, InboxCategorySchema, InboxItemSummarySchema, InboxNewItemSchema, InboxSeveritySchema, InboxUnreadCountSchema, KnowledgeActionSchema, KnowledgeChainEntrySchema, KnowledgeChainRelationSchema, KnowledgeChainResponseSchema, KnowledgeConfidenceSchema, KnowledgeContributorTypeSchema, KnowledgeEntryTypeSchema, KnowledgeInjectionModeSchema, KnowledgeInjectionRequestSchema, KnowledgeInjectionResponseSchema, KnowledgeStatusSchema, LegacyMessageContentSchema, MachineMetadataSchema, MessageContentSchema, MessageMetaSchema, OpenAIConfigSchema, ProfileCompatibilitySchema, ProjectProfileSchema, QueryKnowledgeParamsSchema, RESOLVED_RUNTIME_PROFILE_SCHEMA_VERSION, ResolvedRuntimeProfileSchema, RuntimeProfileSourceSchema, RuntimeProfileTrustSchema, SessionEventCreatedSchema, SessionEventReportSchema, SessionEventSummarySchema, SessionEventTypeSchema, SessionMessageContentSchema, SessionMessageSchema, SessionProtocolMessageSchema, SkillContentSchema, SkillSummarySchema, TailscaleInfoSchema, TailscaleServeEntrySchema, TaskOutcomeSchema, TaskPrioritySchema, TaskStatusChangedSchema, TaskStatusReportSchema, TaskStatusSchema, TaskSummarySchema, TaskTriggerDataSchema, TaskTriggerTypeSchema, TmuxConfigSchema, TogetherAIConfigSchema, TunnelEntrySchema, TunnelProviderInfoSchema, TunnelStateSchema, TurnKnowledgeExtractionSchema, UpdateBodySchema, UpdateKnowledgeEntryBodySchema, UpdateMachineBodySchema, UpdateNewMessageBodySchema, UpdateSchema, UpdateSessionBodySchema, UpdateSkillBodySchema, UserMessageSchema, VersionedEncryptedValueSchema, VersionedMachineEncryptedValueSchema, VersionedNullableEncryptedValueSchema, VoiceTokenAllowedSchema, VoiceTokenDeniedSchema, VoiceTokenResponseSchema, createEnvelope, createResolvedRuntimeProfile, getBuiltInAIBackendProfile, getHappyMcpToolAction, getHappyMcpToolAliases, getHappyMcpToolTitle, getProfileEnvironmentVariables, isCodexAppServerBackend, isCodexLegacyBackend, isHappyMcpToolAlias, isHappyMcpToolName, isTrustedRuntimeProfile, normalizeHappyMcpToolName, normalizeResolvedRuntimeProfile, resolveCodexResolvedBackend, resolveCodexResumableThreadId, resolveRequestedCodexBackend, sessionContextUsageCategorySchema, sessionContextUsageEventSchema, sessionEnvelopeSchema, sessionEventSchema, sessionFileEventSchema, sessionModelUsageSchema, sessionNeedsContinueEventSchema, sessionProgressListSchema, sessionProgressStateSchema, sessionProgressTodoSchema, sessionProgressTodoStatusSchema, sessionPromptSuggestionEventSchema, sessionRoleSchema, sessionServiceMessageEventSchema, sessionStartEventSchema, sessionStateChangedEventSchema, sessionStopEventSchema, sessionSummaryRefreshActiveRequestSchema, sessionSummaryRefreshRecentEntrySchema, sessionSummaryRefreshStateSchema, sessionSummaryStateSchema, sessionTaskEndEventSchema, sessionTaskLogEventSchema, sessionTaskProgressEventSchema, sessionTaskStartEventSchema, sessionTextDeltaEventSchema, sessionTextEventSchema, sessionToolCallEndEventSchema, sessionToolCallStartEventSchema, sessionToolProgressEventSchema, sessionTurnEndEventSchema, sessionTurnEndStatusSchema, sessionTurnStartEventSchema, sessionUsageUpdateEventSchema, shouldAutoApproveHappyMcpReason, shouldAutoApproveHappyMcpToolName, shouldHideSuccessfulHappyMcpTool, terminalCloseRequestSchema, terminalExitPayloadSchema, terminalInputPayloadSchema, terminalOutputPayloadSchema, terminalResizeRequestSchema, terminalSpawnRequestSchema, terminalSpawnResponseSchema, validateProfileForAgent };
|
|
3475
|
+
export type { AIBackendProfile, AgentLoopSummary, AgentMessage, ApiMessage, ApiUpdateMachineState, ApiUpdateNewMessage, ApiUpdateSessionState, AutoDreamProfileSummary, AutomationAuditEventSummary, AutomationAuditStats, AutomationCounts, AutomationGuardianSummary, AutomationGuardianUsageSummary, AutomationJobKind, AutomationJobStatus, AutomationJobSummary, AutomationPriority, AutomationState, BootstrapProfileSummary, BriefMessage, BuiltInAIBackendProfileId, CliInstallInfo, CliInstallSource, CodexAccount, CodexAgentSummary, CodexBackendMode, CodexConfigMode, CodexExperimentalFeature, CodexMcpServerSummary, CodexMetadata, CodexPromptSummary, CodexRateLimits, CodexRequestedBackend, CodexResolvedBackend, CodexRuntimeConfig, CodexSkillSummary, CoreUpdateBody, CoreUpdateContainer, CreateEnvelopeOptions, CreateKnowledgeEntryBody, CreateSkillBody, CreateTaskBody, CrossProjectSearchResponse, CrossProjectSearchResult, DaemonState, HappyMcpCanonicalToolName, HappyMcpToolActionMode, InboxCategory, InboxItemSummary, InboxNewItem, InboxSeverity, InboxUnreadCount, KnowledgeAction, KnowledgeChainEntry, KnowledgeChainRelation, KnowledgeChainResponse, KnowledgeConfidence, KnowledgeContributorType, KnowledgeEntryType, KnowledgeInjectionMode, KnowledgeInjectionRequest, KnowledgeInjectionResponse, KnowledgeStatus, LegacyMessageContent, MachineMetadata, MessageContent, MessageMeta, ProjectProfile, QueryKnowledgeParams, ResolvedRuntimeProfile, RuntimeProfileSource, RuntimeProfileTrust, SessionContextUsageEvent, SessionEnvelope, SessionEvent, SessionEventCreated, SessionEventReport, SessionEventSummary, SessionEventType, SessionMessage, SessionMessageContent, SessionModelUsage, SessionProgressList, SessionProgressState, SessionProgressTodo, SessionProgressTodoStatus, SessionProtocolMessage, SessionRole, SessionSummaryRefreshActiveRequest, SessionSummaryRefreshRecentEntry, SessionSummaryRefreshState, SessionSummaryState, SessionTurnEndStatus, SkillContent, SkillSummary, TailscaleInfo, TailscaleServeEntry, TaskOutcome, TaskPriority, TaskStatus, TaskStatusChanged, TaskStatusReport, TaskSummary, TaskTriggerData, TaskTriggerType, TerminalCloseRequest, TerminalExitPayload, TerminalInputPayload, TerminalOutputPayload, TerminalResizeRequest, TerminalSpawnRequest, TerminalSpawnResponse, TunnelEntry, TunnelProviderInfo, TunnelState, TurnKnowledgeExtraction, Update, UpdateBody, UpdateKnowledgeEntryBody, UpdateMachineBody, UpdateNewMessageBody, UpdateSessionBody, UpdateSkillBody, UserMessage, VersionedEncryptedValue, VersionedMachineEncryptedValue, VersionedNullableEncryptedValue, VoiceTokenResponse };
|
package/dist/index.mjs
CHANGED
|
@@ -1310,15 +1310,15 @@ function getBuiltInAIBackendProfile(id) {
|
|
|
1310
1310
|
case "openai":
|
|
1311
1311
|
return {
|
|
1312
1312
|
id: "openai",
|
|
1313
|
-
name: "OpenAI (GPT-5.
|
|
1313
|
+
name: "OpenAI (GPT-5.5)",
|
|
1314
1314
|
openaiConfig: {},
|
|
1315
1315
|
environmentVariables: [
|
|
1316
1316
|
{ name: "OPENAI_BASE_URL", value: "https://api.openai.com/v1" },
|
|
1317
|
-
{ name: "OPENAI_MODEL", value: "gpt-5.
|
|
1317
|
+
{ name: "OPENAI_MODEL", value: "gpt-5.5" },
|
|
1318
1318
|
{ name: "OPENAI_API_TIMEOUT_MS", value: "600000" },
|
|
1319
|
-
{ name: "OPENAI_SMALL_FAST_MODEL", value: "gpt-5.4" },
|
|
1319
|
+
{ name: "OPENAI_SMALL_FAST_MODEL", value: "gpt-5.4-mini" },
|
|
1320
1320
|
{ name: "API_TIMEOUT_MS", value: "600000" },
|
|
1321
|
-
{ name: "CODEX_SMALL_FAST_MODEL", value: "gpt-5.4" }
|
|
1321
|
+
{ name: "CODEX_SMALL_FAST_MODEL", value: "gpt-5.4-mini" }
|
|
1322
1322
|
],
|
|
1323
1323
|
compatibility: { claude: false, codex: true, gemini: false },
|
|
1324
1324
|
isBuiltIn: true,
|
|
@@ -1683,6 +1683,25 @@ const sessionSummaryStateSchema = z.object({
|
|
|
1683
1683
|
impactScope: z.array(z.string()).optional(),
|
|
1684
1684
|
updatedAt: z.number()
|
|
1685
1685
|
});
|
|
1686
|
+
const sessionSummaryRefreshActiveRequestSchema = z.object({
|
|
1687
|
+
requestId: z.string().min(1),
|
|
1688
|
+
requestedAt: z.number(),
|
|
1689
|
+
requester: z.enum(["happy-agent", "app", "system"]),
|
|
1690
|
+
command: z.literal("summary-refresh"),
|
|
1691
|
+
requireSummary: z.boolean()
|
|
1692
|
+
});
|
|
1693
|
+
const sessionSummaryRefreshRecentEntrySchema = z.object({
|
|
1694
|
+
requestId: z.string().min(1),
|
|
1695
|
+
status: z.enum(["applied", "superseded"]),
|
|
1696
|
+
resolvedAt: z.number(),
|
|
1697
|
+
summaryUpdatedAt: z.number().optional(),
|
|
1698
|
+
supersededByRequestId: z.string().min(1).optional()
|
|
1699
|
+
});
|
|
1700
|
+
const sessionSummaryRefreshStateSchema = z.object({
|
|
1701
|
+
protocolVersion: z.literal(1),
|
|
1702
|
+
active: sessionSummaryRefreshActiveRequestSchema.optional(),
|
|
1703
|
+
recent: z.array(sessionSummaryRefreshRecentEntrySchema).optional()
|
|
1704
|
+
});
|
|
1686
1705
|
|
|
1687
1706
|
const HAPPY_MCP_TOOL_NAMES = [
|
|
1688
1707
|
"change_title",
|
|
@@ -1755,7 +1774,10 @@ const HAPPY_MCP_TOOL_SPECS = {
|
|
|
1755
1774
|
currentFocus: z$1.string().optional().describe("Brief description of the active task or phase"),
|
|
1756
1775
|
keyDecisions: z$1.array(z$1.string()).optional().describe("Important choices already made this session"),
|
|
1757
1776
|
openQuestions: z$1.array(z$1.string()).optional().describe("Unresolved questions or pending decisions"),
|
|
1758
|
-
impactScope: z$1.array(z$1.string()).optional().describe("Modules/files/areas affected by this session's work")
|
|
1777
|
+
impactScope: z$1.array(z$1.string()).optional().describe("Modules/files/areas affected by this session's work"),
|
|
1778
|
+
requestId: z$1.string().optional().describe(
|
|
1779
|
+
"Optional request identifier that runtimes may record in sessionSummaryRefresh recent history for request-level confirmation"
|
|
1780
|
+
)
|
|
1759
1781
|
},
|
|
1760
1782
|
hideSuccessfulCall: false,
|
|
1761
1783
|
autoApproveByDefault: true,
|
|
@@ -1913,4 +1935,4 @@ const CodexMetadataSchema = z.object({
|
|
|
1913
1935
|
mcpServers: z.array(CodexMcpServerSummarySchema).optional()
|
|
1914
1936
|
});
|
|
1915
1937
|
|
|
1916
|
-
export { AIBackendProfileSchema, AgentLoopSummarySchema, AgentMessageSchema, AnthropicConfigSchema, ApiMessageSchema, ApiUpdateMachineStateSchema, ApiUpdateNewMessageSchema, ApiUpdateSessionStateSchema, AutoDreamProfileSummarySchema, AutomationAuditEventSummarySchema, AutomationAuditStatsSchema, AutomationCountsSchema, AutomationGuardianSummarySchema, AutomationGuardianUsageSummarySchema, AutomationJobKindSchema, AutomationJobStatusSchema, AutomationJobSummarySchema, AutomationPrioritySchema, AutomationStateSchema, AzureOpenAIConfigSchema, BUILT_IN_AI_BACKEND_PROFILE_IDS, BootstrapProfileSummarySchema, BriefMessageSchema, BuiltInAIBackendProfileIdSchema, CODEX_APP_SERVER_BACKEND, CODEX_MCP_LEGACY_BACKEND, CODEX_REQUESTED_BACKEND_ALIASES, CliInstallInfoSchema, CliInstallSourceSchema, CodexAccountSchema, CodexAgentSummarySchema, CodexBackendModeSchema, CodexConfigModeSchema, CodexConfigSchema, CodexExperimentalFeatureSchema, CodexMcpServerSummarySchema, CodexMetadataSchema, CodexPromptSummarySchema, CodexRateLimitsSchema, CodexRequestedBackendSchema, CodexResolvedBackendSchema, CodexRuntimeConfigSchema, CodexSkillSummarySchema, CoreUpdateBodySchema, CoreUpdateContainerSchema, CreateKnowledgeEntryBodySchema, CreateSkillBodySchema, CreateTaskBodySchema, CrossProjectSearchResponseSchema, CrossProjectSearchResultSchema, CustomModelSchema, DaemonStateSchema, DefaultPermissionModeSchema, EnvironmentVariableSchema, HAPPY_MCP_AUTO_APPROVE_TOOL_NAMES, HAPPY_MCP_SILENT_SUCCESS_TOOL_NAMES, HAPPY_MCP_TOOL_NAMES, HAPPY_MCP_TOOL_SPECS, InboxCategorySchema, InboxItemSummarySchema, InboxNewItemSchema, InboxSeveritySchema, InboxUnreadCountSchema, KnowledgeActionSchema, KnowledgeChainEntrySchema, KnowledgeChainRelationSchema, KnowledgeChainResponseSchema, KnowledgeConfidenceSchema, KnowledgeContributorTypeSchema, KnowledgeEntryTypeSchema, KnowledgeInjectionModeSchema, KnowledgeInjectionRequestSchema, KnowledgeInjectionResponseSchema, KnowledgeStatusSchema, LegacyMessageContentSchema, MachineMetadataSchema, MessageContentSchema, MessageMetaSchema, OpenAIConfigSchema, ProfileCompatibilitySchema, ProjectProfileSchema, QueryKnowledgeParamsSchema, RESOLVED_RUNTIME_PROFILE_SCHEMA_VERSION, ResolvedRuntimeProfileSchema, RuntimeProfileSourceSchema, RuntimeProfileTrustSchema, SessionEventCreatedSchema, SessionEventReportSchema, SessionEventSummarySchema, SessionEventTypeSchema, SessionMessageContentSchema, SessionMessageSchema, SessionProtocolMessageSchema, SkillContentSchema, SkillSummarySchema, TailscaleInfoSchema, TailscaleServeEntrySchema, TaskOutcomeSchema, TaskPrioritySchema, TaskStatusChangedSchema, TaskStatusReportSchema, TaskStatusSchema, TaskSummarySchema, TaskTriggerDataSchema, TaskTriggerTypeSchema, TmuxConfigSchema, TogetherAIConfigSchema, TunnelEntrySchema, TunnelProviderInfoSchema, TunnelStateSchema, TurnKnowledgeExtractionSchema, UpdateBodySchema, UpdateKnowledgeEntryBodySchema, UpdateMachineBodySchema, UpdateNewMessageBodySchema, UpdateSchema, UpdateSessionBodySchema, UpdateSkillBodySchema, UserMessageSchema, VersionedEncryptedValueSchema, VersionedMachineEncryptedValueSchema, VersionedNullableEncryptedValueSchema, VoiceTokenAllowedSchema, VoiceTokenDeniedSchema, VoiceTokenResponseSchema, createEnvelope, createResolvedRuntimeProfile, getBuiltInAIBackendProfile, getHappyMcpToolAction, getHappyMcpToolAliases, getHappyMcpToolTitle, getProfileEnvironmentVariables, isCodexAppServerBackend, isCodexLegacyBackend, isHappyMcpToolAlias, isHappyMcpToolName, isTrustedRuntimeProfile, normalizeHappyMcpToolName, normalizeResolvedRuntimeProfile, resolveCodexResolvedBackend, resolveCodexResumableThreadId, resolveRequestedCodexBackend, sessionContextUsageCategorySchema, sessionContextUsageEventSchema, sessionEnvelopeSchema, sessionEventSchema, sessionFileEventSchema, sessionModelUsageSchema, sessionNeedsContinueEventSchema, sessionProgressListSchema, sessionProgressStateSchema, sessionProgressTodoSchema, sessionProgressTodoStatusSchema, sessionPromptSuggestionEventSchema, sessionRoleSchema, sessionServiceMessageEventSchema, sessionStartEventSchema, sessionStateChangedEventSchema, sessionStopEventSchema, sessionSummaryStateSchema, sessionTaskEndEventSchema, sessionTaskLogEventSchema, sessionTaskProgressEventSchema, sessionTaskStartEventSchema, sessionTextDeltaEventSchema, sessionTextEventSchema, sessionToolCallEndEventSchema, sessionToolCallStartEventSchema, sessionToolProgressEventSchema, sessionTurnEndEventSchema, sessionTurnEndStatusSchema, sessionTurnStartEventSchema, sessionUsageUpdateEventSchema, shouldAutoApproveHappyMcpReason, shouldAutoApproveHappyMcpToolName, shouldHideSuccessfulHappyMcpTool, terminalCloseRequestSchema, terminalExitPayloadSchema, terminalInputPayloadSchema, terminalOutputPayloadSchema, terminalResizeRequestSchema, terminalSpawnRequestSchema, terminalSpawnResponseSchema, validateProfileForAgent };
|
|
1938
|
+
export { AIBackendProfileSchema, AgentLoopSummarySchema, AgentMessageSchema, AnthropicConfigSchema, ApiMessageSchema, ApiUpdateMachineStateSchema, ApiUpdateNewMessageSchema, ApiUpdateSessionStateSchema, AutoDreamProfileSummarySchema, AutomationAuditEventSummarySchema, AutomationAuditStatsSchema, AutomationCountsSchema, AutomationGuardianSummarySchema, AutomationGuardianUsageSummarySchema, AutomationJobKindSchema, AutomationJobStatusSchema, AutomationJobSummarySchema, AutomationPrioritySchema, AutomationStateSchema, AzureOpenAIConfigSchema, BUILT_IN_AI_BACKEND_PROFILE_IDS, BootstrapProfileSummarySchema, BriefMessageSchema, BuiltInAIBackendProfileIdSchema, CODEX_APP_SERVER_BACKEND, CODEX_MCP_LEGACY_BACKEND, CODEX_REQUESTED_BACKEND_ALIASES, CliInstallInfoSchema, CliInstallSourceSchema, CodexAccountSchema, CodexAgentSummarySchema, CodexBackendModeSchema, CodexConfigModeSchema, CodexConfigSchema, CodexExperimentalFeatureSchema, CodexMcpServerSummarySchema, CodexMetadataSchema, CodexPromptSummarySchema, CodexRateLimitsSchema, CodexRequestedBackendSchema, CodexResolvedBackendSchema, CodexRuntimeConfigSchema, CodexSkillSummarySchema, CoreUpdateBodySchema, CoreUpdateContainerSchema, CreateKnowledgeEntryBodySchema, CreateSkillBodySchema, CreateTaskBodySchema, CrossProjectSearchResponseSchema, CrossProjectSearchResultSchema, CustomModelSchema, DaemonStateSchema, DefaultPermissionModeSchema, EnvironmentVariableSchema, HAPPY_MCP_AUTO_APPROVE_TOOL_NAMES, HAPPY_MCP_SILENT_SUCCESS_TOOL_NAMES, HAPPY_MCP_TOOL_NAMES, HAPPY_MCP_TOOL_SPECS, InboxCategorySchema, InboxItemSummarySchema, InboxNewItemSchema, InboxSeveritySchema, InboxUnreadCountSchema, KnowledgeActionSchema, KnowledgeChainEntrySchema, KnowledgeChainRelationSchema, KnowledgeChainResponseSchema, KnowledgeConfidenceSchema, KnowledgeContributorTypeSchema, KnowledgeEntryTypeSchema, KnowledgeInjectionModeSchema, KnowledgeInjectionRequestSchema, KnowledgeInjectionResponseSchema, KnowledgeStatusSchema, LegacyMessageContentSchema, MachineMetadataSchema, MessageContentSchema, MessageMetaSchema, OpenAIConfigSchema, ProfileCompatibilitySchema, ProjectProfileSchema, QueryKnowledgeParamsSchema, RESOLVED_RUNTIME_PROFILE_SCHEMA_VERSION, ResolvedRuntimeProfileSchema, RuntimeProfileSourceSchema, RuntimeProfileTrustSchema, SessionEventCreatedSchema, SessionEventReportSchema, SessionEventSummarySchema, SessionEventTypeSchema, SessionMessageContentSchema, SessionMessageSchema, SessionProtocolMessageSchema, SkillContentSchema, SkillSummarySchema, TailscaleInfoSchema, TailscaleServeEntrySchema, TaskOutcomeSchema, TaskPrioritySchema, TaskStatusChangedSchema, TaskStatusReportSchema, TaskStatusSchema, TaskSummarySchema, TaskTriggerDataSchema, TaskTriggerTypeSchema, TmuxConfigSchema, TogetherAIConfigSchema, TunnelEntrySchema, TunnelProviderInfoSchema, TunnelStateSchema, TurnKnowledgeExtractionSchema, UpdateBodySchema, UpdateKnowledgeEntryBodySchema, UpdateMachineBodySchema, UpdateNewMessageBodySchema, UpdateSchema, UpdateSessionBodySchema, UpdateSkillBodySchema, UserMessageSchema, VersionedEncryptedValueSchema, VersionedMachineEncryptedValueSchema, VersionedNullableEncryptedValueSchema, VoiceTokenAllowedSchema, VoiceTokenDeniedSchema, VoiceTokenResponseSchema, createEnvelope, createResolvedRuntimeProfile, getBuiltInAIBackendProfile, getHappyMcpToolAction, getHappyMcpToolAliases, getHappyMcpToolTitle, getProfileEnvironmentVariables, isCodexAppServerBackend, isCodexLegacyBackend, isHappyMcpToolAlias, isHappyMcpToolName, isTrustedRuntimeProfile, normalizeHappyMcpToolName, normalizeResolvedRuntimeProfile, resolveCodexResolvedBackend, resolveCodexResumableThreadId, resolveRequestedCodexBackend, sessionContextUsageCategorySchema, sessionContextUsageEventSchema, sessionEnvelopeSchema, sessionEventSchema, sessionFileEventSchema, sessionModelUsageSchema, sessionNeedsContinueEventSchema, sessionProgressListSchema, sessionProgressStateSchema, sessionProgressTodoSchema, sessionProgressTodoStatusSchema, sessionPromptSuggestionEventSchema, sessionRoleSchema, sessionServiceMessageEventSchema, sessionStartEventSchema, sessionStateChangedEventSchema, sessionStopEventSchema, sessionSummaryRefreshActiveRequestSchema, sessionSummaryRefreshRecentEntrySchema, sessionSummaryRefreshStateSchema, sessionSummaryStateSchema, sessionTaskEndEventSchema, sessionTaskLogEventSchema, sessionTaskProgressEventSchema, sessionTaskStartEventSchema, sessionTextDeltaEventSchema, sessionTextEventSchema, sessionToolCallEndEventSchema, sessionToolCallStartEventSchema, sessionToolProgressEventSchema, sessionTurnEndEventSchema, sessionTurnEndStatusSchema, sessionTurnStartEventSchema, sessionUsageUpdateEventSchema, shouldAutoApproveHappyMcpReason, shouldAutoApproveHappyMcpToolName, shouldHideSuccessfulHappyMcpTool, terminalCloseRequestSchema, terminalExitPayloadSchema, terminalInputPayloadSchema, terminalOutputPayloadSchema, terminalResizeRequestSchema, terminalSpawnRequestSchema, terminalSpawnResponseSchema, validateProfileForAgent };
|