@kmmao/happy-wire 0.13.1 → 0.16.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/dist/index.cjs +391 -262
- package/dist/index.d.cts +175 -4
- package/dist/index.d.mts +175 -4
- package/dist/index.mjs +379 -263
- package/package.json +1 -1
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
|
-
user: "user";
|
|
2129
2128
|
session: "session";
|
|
2129
|
+
user: "user";
|
|
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
|
-
user: "user";
|
|
2162
2161
|
session: "session";
|
|
2162
|
+
user: "user";
|
|
2163
2163
|
supervisor: "supervisor";
|
|
2164
2164
|
}>;
|
|
2165
2165
|
action: z.ZodEnum<{
|
|
@@ -2535,6 +2535,7 @@ declare const CreateTaskBodySchema: z.ZodObject<{
|
|
|
2535
2535
|
}>>;
|
|
2536
2536
|
maxAttempts: z.ZodDefault<z.ZodNumber>;
|
|
2537
2537
|
skillIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2538
|
+
profileId: z.ZodOptional<z.ZodString>;
|
|
2538
2539
|
}, z.core.$strip>;
|
|
2539
2540
|
type CreateTaskBody = z.infer<typeof CreateTaskBodySchema>;
|
|
2540
2541
|
declare const TaskTriggerDataSchema: z.ZodObject<{
|
|
@@ -2555,6 +2556,51 @@ declare const TaskTriggerDataSchema: z.ZodObject<{
|
|
|
2555
2556
|
}, z.core.$strip>>>;
|
|
2556
2557
|
agentType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2557
2558
|
modelOverride: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2559
|
+
profileId: z.ZodOptional<z.ZodString>;
|
|
2560
|
+
runtimeProfile: z.ZodOptional<z.ZodObject<{
|
|
2561
|
+
schemaVersion: z.ZodDefault<z.ZodLiteral<1>>;
|
|
2562
|
+
profileId: z.ZodOptional<z.ZodString>;
|
|
2563
|
+
profileName: z.ZodOptional<z.ZodString>;
|
|
2564
|
+
source: z.ZodEnum<{
|
|
2565
|
+
"built-in-profile": "built-in-profile";
|
|
2566
|
+
"account-profile": "account-profile";
|
|
2567
|
+
"local-profile": "local-profile";
|
|
2568
|
+
"ad-hoc": "ad-hoc";
|
|
2569
|
+
}>;
|
|
2570
|
+
trust: z.ZodEnum<{
|
|
2571
|
+
trusted: "trusted";
|
|
2572
|
+
untrusted: "untrusted";
|
|
2573
|
+
}>;
|
|
2574
|
+
isBuiltIn: z.ZodOptional<z.ZodBoolean>;
|
|
2575
|
+
compatibility: z.ZodOptional<z.ZodObject<{
|
|
2576
|
+
claude: z.ZodDefault<z.ZodBoolean>;
|
|
2577
|
+
codex: z.ZodDefault<z.ZodBoolean>;
|
|
2578
|
+
gemini: z.ZodDefault<z.ZodBoolean>;
|
|
2579
|
+
}, z.core.$strip>>;
|
|
2580
|
+
environmentVariables: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2581
|
+
startupBashScript: z.ZodOptional<z.ZodString>;
|
|
2582
|
+
customModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2583
|
+
id: z.ZodString;
|
|
2584
|
+
name: z.ZodString;
|
|
2585
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2586
|
+
}, z.core.$strip>>>;
|
|
2587
|
+
modelMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2588
|
+
defaultSessionType: z.ZodOptional<z.ZodEnum<{
|
|
2589
|
+
simple: "simple";
|
|
2590
|
+
worktree: "worktree";
|
|
2591
|
+
}>>;
|
|
2592
|
+
defaultPermissionMode: z.ZodOptional<z.ZodEnum<{
|
|
2593
|
+
default: "default";
|
|
2594
|
+
acceptEdits: "acceptEdits";
|
|
2595
|
+
bypassPermissions: "bypassPermissions";
|
|
2596
|
+
plan: "plan";
|
|
2597
|
+
auto: "auto";
|
|
2598
|
+
"read-only": "read-only";
|
|
2599
|
+
"safe-yolo": "safe-yolo";
|
|
2600
|
+
yolo: "yolo";
|
|
2601
|
+
}>>;
|
|
2602
|
+
defaultModelMode: z.ZodOptional<z.ZodString>;
|
|
2603
|
+
}, z.core.$strip>>;
|
|
2558
2604
|
}, z.core.$strip>;
|
|
2559
2605
|
type TaskTriggerData = z.infer<typeof TaskTriggerDataSchema>;
|
|
2560
2606
|
declare const TaskOutcomeSchema: z.ZodEnum<{
|
|
@@ -3080,6 +3126,29 @@ declare function normalizeResolvedRuntimeProfile(input: unknown, options?: {
|
|
|
3080
3126
|
}): ResolvedRuntimeProfile | undefined;
|
|
3081
3127
|
declare function isTrustedRuntimeProfile(runtimeProfile: ResolvedRuntimeProfile | null | undefined): boolean;
|
|
3082
3128
|
|
|
3129
|
+
/**
|
|
3130
|
+
* Canonical env variable names for runtime-profile fields that cannot be
|
|
3131
|
+
* expressed via AIBackendProfile.environmentVariables / codexConfig.
|
|
3132
|
+
*
|
|
3133
|
+
* Used for Claude-specific runtime behavior (extended thinking, max turns,
|
|
3134
|
+
* permission mode). Server encodes these before spawning a session; CLI reads
|
|
3135
|
+
* them when constructing Claude Agent SDK options.
|
|
3136
|
+
*
|
|
3137
|
+
* All values are encoded as strings since env is stringly-typed. Consumers must
|
|
3138
|
+
* parse booleans/integers explicitly.
|
|
3139
|
+
*/
|
|
3140
|
+
declare const HAPPY_PROFILE_ENV_KEYS: {
|
|
3141
|
+
/** `"true" | "false"` — toggle Claude extended thinking */
|
|
3142
|
+
readonly claudeThinkingEnabled: "HAPPY_CLAUDE_THINKING_ENABLED";
|
|
3143
|
+
/** integer as string — Claude extended thinking budget tokens */
|
|
3144
|
+
readonly claudeThinkingBudgetTokens: "HAPPY_CLAUDE_THINKING_BUDGET_TOKENS";
|
|
3145
|
+
/** integer as string — max conversation turns before stop */
|
|
3146
|
+
readonly maxTurns: "HAPPY_MAX_TURNS";
|
|
3147
|
+
/** DefaultPermissionMode literal — permission mode override */
|
|
3148
|
+
readonly permissionMode: "HAPPY_PERMISSION_MODE";
|
|
3149
|
+
};
|
|
3150
|
+
type HappyProfileEnvKey = (typeof HAPPY_PROFILE_ENV_KEYS)[keyof typeof HAPPY_PROFILE_ENV_KEYS];
|
|
3151
|
+
|
|
3083
3152
|
/**
|
|
3084
3153
|
* Shared schemas for live session state surfaced to the App's Progress tab.
|
|
3085
3154
|
*
|
|
@@ -3471,5 +3540,107 @@ declare const CodexMetadataSchema: z.ZodObject<{
|
|
|
3471
3540
|
}, z.core.$strip>;
|
|
3472
3541
|
type CodexMetadata = z.infer<typeof CodexMetadataSchema>;
|
|
3473
3542
|
|
|
3474
|
-
|
|
3475
|
-
|
|
3543
|
+
/**
|
|
3544
|
+
* Claude Control RPC — wire schemas for the Claude-runtime-only sidebar APIs
|
|
3545
|
+
* added in SDK 0.2.119.
|
|
3546
|
+
*
|
|
3547
|
+
* These RPCs are registered by the Claude CLI's RpcHandlerManager and consumed
|
|
3548
|
+
* by Happy App through the standard encrypted RPC channel. Params and
|
|
3549
|
+
* responses are E2E encrypted by RpcHandlerManager at the transport layer;
|
|
3550
|
+
* the schemas here describe the plaintext shape on both ends.
|
|
3551
|
+
*
|
|
3552
|
+
* Namespace convention: methods are registered as `claude-control:<subtype>`
|
|
3553
|
+
* on RpcHandlerManager's scopePrefix so they never collide with codex/gemini
|
|
3554
|
+
* runtime RPCs.
|
|
3555
|
+
*
|
|
3556
|
+
* Tier classification (see docs/encryption.md for the full data-tier model):
|
|
3557
|
+
* - Plaintext-content tier (simple pass-through, no content-level secrets):
|
|
3558
|
+
* get_session_cost, get_binary_version, set_color
|
|
3559
|
+
* - E2E content tier (payload contains user source / paths):
|
|
3560
|
+
* read_file
|
|
3561
|
+
* - Permission-gated (destructive side effects):
|
|
3562
|
+
* mcp_call
|
|
3563
|
+
*/
|
|
3564
|
+
|
|
3565
|
+
declare const CLAUDE_CONTROL_SCOPE: "claude-control";
|
|
3566
|
+
declare const GetSessionCostRequestSchema: z$1.ZodObject<{}, z$1.core.$strict>;
|
|
3567
|
+
declare const GetSessionCostResponseSchema: z$1.ZodObject<{
|
|
3568
|
+
formatted: z$1.ZodString;
|
|
3569
|
+
totalUsd: z$1.ZodNumber;
|
|
3570
|
+
byModel: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
|
|
3571
|
+
inputTokens: z$1.ZodNumber;
|
|
3572
|
+
outputTokens: z$1.ZodNumber;
|
|
3573
|
+
cacheCreationInputTokens: z$1.ZodOptional<z$1.ZodNumber>;
|
|
3574
|
+
cacheReadInputTokens: z$1.ZodOptional<z$1.ZodNumber>;
|
|
3575
|
+
costUsd: z$1.ZodNumber;
|
|
3576
|
+
}, z$1.core.$strip>>>;
|
|
3577
|
+
}, z$1.core.$strict>;
|
|
3578
|
+
type GetSessionCostRequest = z$1.infer<typeof GetSessionCostRequestSchema>;
|
|
3579
|
+
type GetSessionCostResponse = z$1.infer<typeof GetSessionCostResponseSchema>;
|
|
3580
|
+
declare const GetBinaryVersionRequestSchema: z$1.ZodObject<{}, z$1.core.$strict>;
|
|
3581
|
+
declare const GetBinaryVersionResponseSchema: z$1.ZodObject<{
|
|
3582
|
+
version: z$1.ZodString;
|
|
3583
|
+
binaryPath: z$1.ZodOptional<z$1.ZodString>;
|
|
3584
|
+
happyCliVersion: z$1.ZodOptional<z$1.ZodString>;
|
|
3585
|
+
}, z$1.core.$strict>;
|
|
3586
|
+
type GetBinaryVersionRequest = z$1.infer<typeof GetBinaryVersionRequestSchema>;
|
|
3587
|
+
type GetBinaryVersionResponse = z$1.infer<typeof GetBinaryVersionResponseSchema>;
|
|
3588
|
+
declare const SetColorRequestSchema: z$1.ZodObject<{
|
|
3589
|
+
color: z$1.ZodString;
|
|
3590
|
+
}, z$1.core.$strict>;
|
|
3591
|
+
declare const SetColorResponseSchema: z$1.ZodObject<{
|
|
3592
|
+
success: z$1.ZodLiteral<true>;
|
|
3593
|
+
color: z$1.ZodString;
|
|
3594
|
+
}, z$1.core.$strict>;
|
|
3595
|
+
type SetColorRequest = z$1.infer<typeof SetColorRequestSchema>;
|
|
3596
|
+
type SetColorResponse = z$1.infer<typeof SetColorResponseSchema>;
|
|
3597
|
+
declare const ReadFileRequestSchema: z$1.ZodObject<{
|
|
3598
|
+
path: z$1.ZodString;
|
|
3599
|
+
maxBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
3600
|
+
}, z$1.core.$strict>;
|
|
3601
|
+
declare const ReadFileResponseSchema: z$1.ZodObject<{
|
|
3602
|
+
result: z$1.ZodNullable<z$1.ZodObject<{
|
|
3603
|
+
contents: z$1.ZodString;
|
|
3604
|
+
absPath: z$1.ZodString;
|
|
3605
|
+
truncated: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
3606
|
+
}, z$1.core.$strip>>;
|
|
3607
|
+
deniedReason: z$1.ZodOptional<z$1.ZodEnum<{
|
|
3608
|
+
error: "error";
|
|
3609
|
+
not_found: "not_found";
|
|
3610
|
+
permission_denied: "permission_denied";
|
|
3611
|
+
blacklisted_path: "blacklisted_path";
|
|
3612
|
+
too_large: "too_large";
|
|
3613
|
+
}>>;
|
|
3614
|
+
}, z$1.core.$strict>;
|
|
3615
|
+
type ReadFileRequest = z$1.infer<typeof ReadFileRequestSchema>;
|
|
3616
|
+
type ReadFileResponse = z$1.infer<typeof ReadFileResponseSchema>;
|
|
3617
|
+
declare const McpCallRequestSchema: z$1.ZodObject<{
|
|
3618
|
+
tool: z$1.ZodString;
|
|
3619
|
+
arguments: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
|
|
3620
|
+
clientConfirmToken: z$1.ZodString;
|
|
3621
|
+
}, z$1.core.$strict>;
|
|
3622
|
+
declare const McpCallResponseSchema: z$1.ZodObject<{
|
|
3623
|
+
success: z$1.ZodBoolean;
|
|
3624
|
+
result: z$1.ZodOptional<z$1.ZodUnknown>;
|
|
3625
|
+
errorCode: z$1.ZodOptional<z$1.ZodEnum<{
|
|
3626
|
+
unknown: "unknown";
|
|
3627
|
+
permission_denied: "permission_denied";
|
|
3628
|
+
not_whitelisted: "not_whitelisted";
|
|
3629
|
+
server_unavailable: "server_unavailable";
|
|
3630
|
+
tool_not_found: "tool_not_found";
|
|
3631
|
+
invalid_arguments: "invalid_arguments";
|
|
3632
|
+
sdk_not_implemented: "sdk_not_implemented";
|
|
3633
|
+
}>>;
|
|
3634
|
+
errorMessage: z$1.ZodOptional<z$1.ZodString>;
|
|
3635
|
+
}, z$1.core.$strict>;
|
|
3636
|
+
type McpCallRequest = z$1.infer<typeof McpCallRequestSchema>;
|
|
3637
|
+
type McpCallResponse = z$1.infer<typeof McpCallResponseSchema>;
|
|
3638
|
+
/**
|
|
3639
|
+
* Method name enum — consumers should derive typed handlers from this.
|
|
3640
|
+
* When adding a new method, update the CLI handler registration too.
|
|
3641
|
+
*/
|
|
3642
|
+
declare const CLAUDE_CONTROL_METHODS: readonly ["get_session_cost", "get_binary_version", "set_color", "read_file", "mcp_call"];
|
|
3643
|
+
type ClaudeControlMethod = typeof CLAUDE_CONTROL_METHODS[number];
|
|
3644
|
+
|
|
3645
|
+
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, CLAUDE_CONTROL_METHODS, CLAUDE_CONTROL_SCOPE, 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, GetBinaryVersionRequestSchema, GetBinaryVersionResponseSchema, GetSessionCostRequestSchema, GetSessionCostResponseSchema, HAPPY_MCP_AUTO_APPROVE_TOOL_NAMES, HAPPY_MCP_SILENT_SUCCESS_TOOL_NAMES, HAPPY_MCP_TOOL_NAMES, HAPPY_MCP_TOOL_SPECS, HAPPY_PROFILE_ENV_KEYS, InboxCategorySchema, InboxItemSummarySchema, InboxNewItemSchema, InboxSeveritySchema, InboxUnreadCountSchema, KnowledgeActionSchema, KnowledgeChainEntrySchema, KnowledgeChainRelationSchema, KnowledgeChainResponseSchema, KnowledgeConfidenceSchema, KnowledgeContributorTypeSchema, KnowledgeEntryTypeSchema, KnowledgeInjectionModeSchema, KnowledgeInjectionRequestSchema, KnowledgeInjectionResponseSchema, KnowledgeStatusSchema, LegacyMessageContentSchema, MachineMetadataSchema, McpCallRequestSchema, McpCallResponseSchema, MessageContentSchema, MessageMetaSchema, OpenAIConfigSchema, ProfileCompatibilitySchema, ProjectProfileSchema, QueryKnowledgeParamsSchema, RESOLVED_RUNTIME_PROFILE_SCHEMA_VERSION, ReadFileRequestSchema, ReadFileResponseSchema, ResolvedRuntimeProfileSchema, RuntimeProfileSourceSchema, RuntimeProfileTrustSchema, SessionEventCreatedSchema, SessionEventReportSchema, SessionEventSummarySchema, SessionEventTypeSchema, SessionMessageContentSchema, SessionMessageSchema, SessionProtocolMessageSchema, SetColorRequestSchema, SetColorResponseSchema, 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 };
|
|
3646
|
+
export type { AIBackendProfile, AgentLoopSummary, AgentMessage, ApiMessage, ApiUpdateMachineState, ApiUpdateNewMessage, ApiUpdateSessionState, AutoDreamProfileSummary, AutomationAuditEventSummary, AutomationAuditStats, AutomationCounts, AutomationGuardianSummary, AutomationGuardianUsageSummary, AutomationJobKind, AutomationJobStatus, AutomationJobSummary, AutomationPriority, AutomationState, BootstrapProfileSummary, BriefMessage, BuiltInAIBackendProfileId, ClaudeControlMethod, CliInstallInfo, CliInstallSource, CodexAccount, CodexAgentSummary, CodexBackendMode, CodexConfigMode, CodexExperimentalFeature, CodexMcpServerSummary, CodexMetadata, CodexPromptSummary, CodexRateLimits, CodexRequestedBackend, CodexResolvedBackend, CodexRuntimeConfig, CodexSkillSummary, CoreUpdateBody, CoreUpdateContainer, CreateEnvelopeOptions, CreateKnowledgeEntryBody, CreateSkillBody, CreateTaskBody, CrossProjectSearchResponse, CrossProjectSearchResult, DaemonState, GetBinaryVersionRequest, GetBinaryVersionResponse, GetSessionCostRequest, GetSessionCostResponse, HappyMcpCanonicalToolName, HappyMcpToolActionMode, HappyProfileEnvKey, InboxCategory, InboxItemSummary, InboxNewItem, InboxSeverity, InboxUnreadCount, KnowledgeAction, KnowledgeChainEntry, KnowledgeChainRelation, KnowledgeChainResponse, KnowledgeConfidence, KnowledgeContributorType, KnowledgeEntryType, KnowledgeInjectionMode, KnowledgeInjectionRequest, KnowledgeInjectionResponse, KnowledgeStatus, LegacyMessageContent, MachineMetadata, McpCallRequest, McpCallResponse, MessageContent, MessageMeta, ProjectProfile, QueryKnowledgeParams, ReadFileRequest, ReadFileResponse, ResolvedRuntimeProfile, RuntimeProfileSource, RuntimeProfileTrust, SessionContextUsageEvent, SessionEnvelope, SessionEvent, SessionEventCreated, SessionEventReport, SessionEventSummary, SessionEventType, SessionMessage, SessionMessageContent, SessionModelUsage, SessionProgressList, SessionProgressState, SessionProgressTodo, SessionProgressTodoStatus, SessionProtocolMessage, SessionRole, SessionSummaryRefreshActiveRequest, SessionSummaryRefreshRecentEntry, SessionSummaryRefreshState, SessionSummaryState, SessionTurnEndStatus, SetColorRequest, SetColorResponse, 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
|
-
user: "user";
|
|
2129
2128
|
session: "session";
|
|
2129
|
+
user: "user";
|
|
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
|
-
user: "user";
|
|
2162
2161
|
session: "session";
|
|
2162
|
+
user: "user";
|
|
2163
2163
|
supervisor: "supervisor";
|
|
2164
2164
|
}>;
|
|
2165
2165
|
action: z.ZodEnum<{
|
|
@@ -2535,6 +2535,7 @@ declare const CreateTaskBodySchema: z.ZodObject<{
|
|
|
2535
2535
|
}>>;
|
|
2536
2536
|
maxAttempts: z.ZodDefault<z.ZodNumber>;
|
|
2537
2537
|
skillIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2538
|
+
profileId: z.ZodOptional<z.ZodString>;
|
|
2538
2539
|
}, z.core.$strip>;
|
|
2539
2540
|
type CreateTaskBody = z.infer<typeof CreateTaskBodySchema>;
|
|
2540
2541
|
declare const TaskTriggerDataSchema: z.ZodObject<{
|
|
@@ -2555,6 +2556,51 @@ declare const TaskTriggerDataSchema: z.ZodObject<{
|
|
|
2555
2556
|
}, z.core.$strip>>>;
|
|
2556
2557
|
agentType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2557
2558
|
modelOverride: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2559
|
+
profileId: z.ZodOptional<z.ZodString>;
|
|
2560
|
+
runtimeProfile: z.ZodOptional<z.ZodObject<{
|
|
2561
|
+
schemaVersion: z.ZodDefault<z.ZodLiteral<1>>;
|
|
2562
|
+
profileId: z.ZodOptional<z.ZodString>;
|
|
2563
|
+
profileName: z.ZodOptional<z.ZodString>;
|
|
2564
|
+
source: z.ZodEnum<{
|
|
2565
|
+
"built-in-profile": "built-in-profile";
|
|
2566
|
+
"account-profile": "account-profile";
|
|
2567
|
+
"local-profile": "local-profile";
|
|
2568
|
+
"ad-hoc": "ad-hoc";
|
|
2569
|
+
}>;
|
|
2570
|
+
trust: z.ZodEnum<{
|
|
2571
|
+
trusted: "trusted";
|
|
2572
|
+
untrusted: "untrusted";
|
|
2573
|
+
}>;
|
|
2574
|
+
isBuiltIn: z.ZodOptional<z.ZodBoolean>;
|
|
2575
|
+
compatibility: z.ZodOptional<z.ZodObject<{
|
|
2576
|
+
claude: z.ZodDefault<z.ZodBoolean>;
|
|
2577
|
+
codex: z.ZodDefault<z.ZodBoolean>;
|
|
2578
|
+
gemini: z.ZodDefault<z.ZodBoolean>;
|
|
2579
|
+
}, z.core.$strip>>;
|
|
2580
|
+
environmentVariables: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2581
|
+
startupBashScript: z.ZodOptional<z.ZodString>;
|
|
2582
|
+
customModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2583
|
+
id: z.ZodString;
|
|
2584
|
+
name: z.ZodString;
|
|
2585
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2586
|
+
}, z.core.$strip>>>;
|
|
2587
|
+
modelMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2588
|
+
defaultSessionType: z.ZodOptional<z.ZodEnum<{
|
|
2589
|
+
simple: "simple";
|
|
2590
|
+
worktree: "worktree";
|
|
2591
|
+
}>>;
|
|
2592
|
+
defaultPermissionMode: z.ZodOptional<z.ZodEnum<{
|
|
2593
|
+
default: "default";
|
|
2594
|
+
acceptEdits: "acceptEdits";
|
|
2595
|
+
bypassPermissions: "bypassPermissions";
|
|
2596
|
+
plan: "plan";
|
|
2597
|
+
auto: "auto";
|
|
2598
|
+
"read-only": "read-only";
|
|
2599
|
+
"safe-yolo": "safe-yolo";
|
|
2600
|
+
yolo: "yolo";
|
|
2601
|
+
}>>;
|
|
2602
|
+
defaultModelMode: z.ZodOptional<z.ZodString>;
|
|
2603
|
+
}, z.core.$strip>>;
|
|
2558
2604
|
}, z.core.$strip>;
|
|
2559
2605
|
type TaskTriggerData = z.infer<typeof TaskTriggerDataSchema>;
|
|
2560
2606
|
declare const TaskOutcomeSchema: z.ZodEnum<{
|
|
@@ -3080,6 +3126,29 @@ declare function normalizeResolvedRuntimeProfile(input: unknown, options?: {
|
|
|
3080
3126
|
}): ResolvedRuntimeProfile | undefined;
|
|
3081
3127
|
declare function isTrustedRuntimeProfile(runtimeProfile: ResolvedRuntimeProfile | null | undefined): boolean;
|
|
3082
3128
|
|
|
3129
|
+
/**
|
|
3130
|
+
* Canonical env variable names for runtime-profile fields that cannot be
|
|
3131
|
+
* expressed via AIBackendProfile.environmentVariables / codexConfig.
|
|
3132
|
+
*
|
|
3133
|
+
* Used for Claude-specific runtime behavior (extended thinking, max turns,
|
|
3134
|
+
* permission mode). Server encodes these before spawning a session; CLI reads
|
|
3135
|
+
* them when constructing Claude Agent SDK options.
|
|
3136
|
+
*
|
|
3137
|
+
* All values are encoded as strings since env is stringly-typed. Consumers must
|
|
3138
|
+
* parse booleans/integers explicitly.
|
|
3139
|
+
*/
|
|
3140
|
+
declare const HAPPY_PROFILE_ENV_KEYS: {
|
|
3141
|
+
/** `"true" | "false"` — toggle Claude extended thinking */
|
|
3142
|
+
readonly claudeThinkingEnabled: "HAPPY_CLAUDE_THINKING_ENABLED";
|
|
3143
|
+
/** integer as string — Claude extended thinking budget tokens */
|
|
3144
|
+
readonly claudeThinkingBudgetTokens: "HAPPY_CLAUDE_THINKING_BUDGET_TOKENS";
|
|
3145
|
+
/** integer as string — max conversation turns before stop */
|
|
3146
|
+
readonly maxTurns: "HAPPY_MAX_TURNS";
|
|
3147
|
+
/** DefaultPermissionMode literal — permission mode override */
|
|
3148
|
+
readonly permissionMode: "HAPPY_PERMISSION_MODE";
|
|
3149
|
+
};
|
|
3150
|
+
type HappyProfileEnvKey = (typeof HAPPY_PROFILE_ENV_KEYS)[keyof typeof HAPPY_PROFILE_ENV_KEYS];
|
|
3151
|
+
|
|
3083
3152
|
/**
|
|
3084
3153
|
* Shared schemas for live session state surfaced to the App's Progress tab.
|
|
3085
3154
|
*
|
|
@@ -3471,5 +3540,107 @@ declare const CodexMetadataSchema: z.ZodObject<{
|
|
|
3471
3540
|
}, z.core.$strip>;
|
|
3472
3541
|
type CodexMetadata = z.infer<typeof CodexMetadataSchema>;
|
|
3473
3542
|
|
|
3474
|
-
|
|
3475
|
-
|
|
3543
|
+
/**
|
|
3544
|
+
* Claude Control RPC — wire schemas for the Claude-runtime-only sidebar APIs
|
|
3545
|
+
* added in SDK 0.2.119.
|
|
3546
|
+
*
|
|
3547
|
+
* These RPCs are registered by the Claude CLI's RpcHandlerManager and consumed
|
|
3548
|
+
* by Happy App through the standard encrypted RPC channel. Params and
|
|
3549
|
+
* responses are E2E encrypted by RpcHandlerManager at the transport layer;
|
|
3550
|
+
* the schemas here describe the plaintext shape on both ends.
|
|
3551
|
+
*
|
|
3552
|
+
* Namespace convention: methods are registered as `claude-control:<subtype>`
|
|
3553
|
+
* on RpcHandlerManager's scopePrefix so they never collide with codex/gemini
|
|
3554
|
+
* runtime RPCs.
|
|
3555
|
+
*
|
|
3556
|
+
* Tier classification (see docs/encryption.md for the full data-tier model):
|
|
3557
|
+
* - Plaintext-content tier (simple pass-through, no content-level secrets):
|
|
3558
|
+
* get_session_cost, get_binary_version, set_color
|
|
3559
|
+
* - E2E content tier (payload contains user source / paths):
|
|
3560
|
+
* read_file
|
|
3561
|
+
* - Permission-gated (destructive side effects):
|
|
3562
|
+
* mcp_call
|
|
3563
|
+
*/
|
|
3564
|
+
|
|
3565
|
+
declare const CLAUDE_CONTROL_SCOPE: "claude-control";
|
|
3566
|
+
declare const GetSessionCostRequestSchema: z$1.ZodObject<{}, z$1.core.$strict>;
|
|
3567
|
+
declare const GetSessionCostResponseSchema: z$1.ZodObject<{
|
|
3568
|
+
formatted: z$1.ZodString;
|
|
3569
|
+
totalUsd: z$1.ZodNumber;
|
|
3570
|
+
byModel: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
|
|
3571
|
+
inputTokens: z$1.ZodNumber;
|
|
3572
|
+
outputTokens: z$1.ZodNumber;
|
|
3573
|
+
cacheCreationInputTokens: z$1.ZodOptional<z$1.ZodNumber>;
|
|
3574
|
+
cacheReadInputTokens: z$1.ZodOptional<z$1.ZodNumber>;
|
|
3575
|
+
costUsd: z$1.ZodNumber;
|
|
3576
|
+
}, z$1.core.$strip>>>;
|
|
3577
|
+
}, z$1.core.$strict>;
|
|
3578
|
+
type GetSessionCostRequest = z$1.infer<typeof GetSessionCostRequestSchema>;
|
|
3579
|
+
type GetSessionCostResponse = z$1.infer<typeof GetSessionCostResponseSchema>;
|
|
3580
|
+
declare const GetBinaryVersionRequestSchema: z$1.ZodObject<{}, z$1.core.$strict>;
|
|
3581
|
+
declare const GetBinaryVersionResponseSchema: z$1.ZodObject<{
|
|
3582
|
+
version: z$1.ZodString;
|
|
3583
|
+
binaryPath: z$1.ZodOptional<z$1.ZodString>;
|
|
3584
|
+
happyCliVersion: z$1.ZodOptional<z$1.ZodString>;
|
|
3585
|
+
}, z$1.core.$strict>;
|
|
3586
|
+
type GetBinaryVersionRequest = z$1.infer<typeof GetBinaryVersionRequestSchema>;
|
|
3587
|
+
type GetBinaryVersionResponse = z$1.infer<typeof GetBinaryVersionResponseSchema>;
|
|
3588
|
+
declare const SetColorRequestSchema: z$1.ZodObject<{
|
|
3589
|
+
color: z$1.ZodString;
|
|
3590
|
+
}, z$1.core.$strict>;
|
|
3591
|
+
declare const SetColorResponseSchema: z$1.ZodObject<{
|
|
3592
|
+
success: z$1.ZodLiteral<true>;
|
|
3593
|
+
color: z$1.ZodString;
|
|
3594
|
+
}, z$1.core.$strict>;
|
|
3595
|
+
type SetColorRequest = z$1.infer<typeof SetColorRequestSchema>;
|
|
3596
|
+
type SetColorResponse = z$1.infer<typeof SetColorResponseSchema>;
|
|
3597
|
+
declare const ReadFileRequestSchema: z$1.ZodObject<{
|
|
3598
|
+
path: z$1.ZodString;
|
|
3599
|
+
maxBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
3600
|
+
}, z$1.core.$strict>;
|
|
3601
|
+
declare const ReadFileResponseSchema: z$1.ZodObject<{
|
|
3602
|
+
result: z$1.ZodNullable<z$1.ZodObject<{
|
|
3603
|
+
contents: z$1.ZodString;
|
|
3604
|
+
absPath: z$1.ZodString;
|
|
3605
|
+
truncated: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
3606
|
+
}, z$1.core.$strip>>;
|
|
3607
|
+
deniedReason: z$1.ZodOptional<z$1.ZodEnum<{
|
|
3608
|
+
error: "error";
|
|
3609
|
+
not_found: "not_found";
|
|
3610
|
+
permission_denied: "permission_denied";
|
|
3611
|
+
blacklisted_path: "blacklisted_path";
|
|
3612
|
+
too_large: "too_large";
|
|
3613
|
+
}>>;
|
|
3614
|
+
}, z$1.core.$strict>;
|
|
3615
|
+
type ReadFileRequest = z$1.infer<typeof ReadFileRequestSchema>;
|
|
3616
|
+
type ReadFileResponse = z$1.infer<typeof ReadFileResponseSchema>;
|
|
3617
|
+
declare const McpCallRequestSchema: z$1.ZodObject<{
|
|
3618
|
+
tool: z$1.ZodString;
|
|
3619
|
+
arguments: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
|
|
3620
|
+
clientConfirmToken: z$1.ZodString;
|
|
3621
|
+
}, z$1.core.$strict>;
|
|
3622
|
+
declare const McpCallResponseSchema: z$1.ZodObject<{
|
|
3623
|
+
success: z$1.ZodBoolean;
|
|
3624
|
+
result: z$1.ZodOptional<z$1.ZodUnknown>;
|
|
3625
|
+
errorCode: z$1.ZodOptional<z$1.ZodEnum<{
|
|
3626
|
+
unknown: "unknown";
|
|
3627
|
+
permission_denied: "permission_denied";
|
|
3628
|
+
not_whitelisted: "not_whitelisted";
|
|
3629
|
+
server_unavailable: "server_unavailable";
|
|
3630
|
+
tool_not_found: "tool_not_found";
|
|
3631
|
+
invalid_arguments: "invalid_arguments";
|
|
3632
|
+
sdk_not_implemented: "sdk_not_implemented";
|
|
3633
|
+
}>>;
|
|
3634
|
+
errorMessage: z$1.ZodOptional<z$1.ZodString>;
|
|
3635
|
+
}, z$1.core.$strict>;
|
|
3636
|
+
type McpCallRequest = z$1.infer<typeof McpCallRequestSchema>;
|
|
3637
|
+
type McpCallResponse = z$1.infer<typeof McpCallResponseSchema>;
|
|
3638
|
+
/**
|
|
3639
|
+
* Method name enum — consumers should derive typed handlers from this.
|
|
3640
|
+
* When adding a new method, update the CLI handler registration too.
|
|
3641
|
+
*/
|
|
3642
|
+
declare const CLAUDE_CONTROL_METHODS: readonly ["get_session_cost", "get_binary_version", "set_color", "read_file", "mcp_call"];
|
|
3643
|
+
type ClaudeControlMethod = typeof CLAUDE_CONTROL_METHODS[number];
|
|
3644
|
+
|
|
3645
|
+
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, CLAUDE_CONTROL_METHODS, CLAUDE_CONTROL_SCOPE, 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, GetBinaryVersionRequestSchema, GetBinaryVersionResponseSchema, GetSessionCostRequestSchema, GetSessionCostResponseSchema, HAPPY_MCP_AUTO_APPROVE_TOOL_NAMES, HAPPY_MCP_SILENT_SUCCESS_TOOL_NAMES, HAPPY_MCP_TOOL_NAMES, HAPPY_MCP_TOOL_SPECS, HAPPY_PROFILE_ENV_KEYS, InboxCategorySchema, InboxItemSummarySchema, InboxNewItemSchema, InboxSeveritySchema, InboxUnreadCountSchema, KnowledgeActionSchema, KnowledgeChainEntrySchema, KnowledgeChainRelationSchema, KnowledgeChainResponseSchema, KnowledgeConfidenceSchema, KnowledgeContributorTypeSchema, KnowledgeEntryTypeSchema, KnowledgeInjectionModeSchema, KnowledgeInjectionRequestSchema, KnowledgeInjectionResponseSchema, KnowledgeStatusSchema, LegacyMessageContentSchema, MachineMetadataSchema, McpCallRequestSchema, McpCallResponseSchema, MessageContentSchema, MessageMetaSchema, OpenAIConfigSchema, ProfileCompatibilitySchema, ProjectProfileSchema, QueryKnowledgeParamsSchema, RESOLVED_RUNTIME_PROFILE_SCHEMA_VERSION, ReadFileRequestSchema, ReadFileResponseSchema, ResolvedRuntimeProfileSchema, RuntimeProfileSourceSchema, RuntimeProfileTrustSchema, SessionEventCreatedSchema, SessionEventReportSchema, SessionEventSummarySchema, SessionEventTypeSchema, SessionMessageContentSchema, SessionMessageSchema, SessionProtocolMessageSchema, SetColorRequestSchema, SetColorResponseSchema, 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 };
|
|
3646
|
+
export type { AIBackendProfile, AgentLoopSummary, AgentMessage, ApiMessage, ApiUpdateMachineState, ApiUpdateNewMessage, ApiUpdateSessionState, AutoDreamProfileSummary, AutomationAuditEventSummary, AutomationAuditStats, AutomationCounts, AutomationGuardianSummary, AutomationGuardianUsageSummary, AutomationJobKind, AutomationJobStatus, AutomationJobSummary, AutomationPriority, AutomationState, BootstrapProfileSummary, BriefMessage, BuiltInAIBackendProfileId, ClaudeControlMethod, CliInstallInfo, CliInstallSource, CodexAccount, CodexAgentSummary, CodexBackendMode, CodexConfigMode, CodexExperimentalFeature, CodexMcpServerSummary, CodexMetadata, CodexPromptSummary, CodexRateLimits, CodexRequestedBackend, CodexResolvedBackend, CodexRuntimeConfig, CodexSkillSummary, CoreUpdateBody, CoreUpdateContainer, CreateEnvelopeOptions, CreateKnowledgeEntryBody, CreateSkillBody, CreateTaskBody, CrossProjectSearchResponse, CrossProjectSearchResult, DaemonState, GetBinaryVersionRequest, GetBinaryVersionResponse, GetSessionCostRequest, GetSessionCostResponse, HappyMcpCanonicalToolName, HappyMcpToolActionMode, HappyProfileEnvKey, InboxCategory, InboxItemSummary, InboxNewItem, InboxSeverity, InboxUnreadCount, KnowledgeAction, KnowledgeChainEntry, KnowledgeChainRelation, KnowledgeChainResponse, KnowledgeConfidence, KnowledgeContributorType, KnowledgeEntryType, KnowledgeInjectionMode, KnowledgeInjectionRequest, KnowledgeInjectionResponse, KnowledgeStatus, LegacyMessageContent, MachineMetadata, McpCallRequest, McpCallResponse, MessageContent, MessageMeta, ProjectProfile, QueryKnowledgeParams, ReadFileRequest, ReadFileResponse, ResolvedRuntimeProfile, RuntimeProfileSource, RuntimeProfileTrust, SessionContextUsageEvent, SessionEnvelope, SessionEvent, SessionEventCreated, SessionEventReport, SessionEventSummary, SessionEventType, SessionMessage, SessionMessageContent, SessionModelUsage, SessionProgressList, SessionProgressState, SessionProgressTodo, SessionProgressTodoStatus, SessionProtocolMessage, SessionRole, SessionSummaryRefreshActiveRequest, SessionSummaryRefreshRecentEntry, SessionSummaryRefreshState, SessionSummaryState, SessionTurnEndStatus, SetColorRequest, SetColorResponse, 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 };
|