import { AgentExecuteCodeMode as AgentExecuteCodeModeValue, ExecuteCodeSurface as ExecuteCodeSurfaceValue } from '../contracts/agent-execute-code.js';
import { composeEmbeddedAgentRuntimeInternal } from './compose.js';
export { createAgentSnapshotFromAgentMessages } from '../core/agent-snapshot-builder.js';
export { 
// Pure session helpers shared by the embedded host for upload and hydration.
assertSessionInvariants, buildSessionContextMessageEntryIds, canonicalizeUserMessageEntries, parseSessionEntriesStrict, repairOrphanToolUses, serializeFileEntries } from '../core/session-schema.js';
export { assistantMessageToShortcutXLInvokeResponse, createShortcutXLAiModelInvokeRequestFromParams, shortcutXLAiModelInvokeRequestToPayload } from './ai-invoke.js';
export { createShortcutXLAgentSettingsStore, createShortcutXLDefaultSessionContext } from './bootstrap.js';
export { buildHostEmbeddedAgentOptions } from './host-runtime-options.js';
export { detectEmbeddedReadOnlyViolations } from './host-tools/execute-code/index.js';
export { getHostToolTimeoutMs } from './host-tools/timeouts.js';
export { createShortcutProxyModelStreamTransport, createShortcutXLModelCallOrchestrator, runShortcutXLModelCallStreamRequest } from './model-call-orchestrator.js';
export { createShortcutXLAgentModel, createShortcutXLAgentModelRegistry, ShortcutXLAgentModelId, ShortcutXLAgentProviderId } from './model-registry.js';
export { buildShortcutXLAgentSystemPrompt, createShortcutXLAgentConfiguration, ShortcutXLPromptMode } from './prompt/build.js';
export { createRunStatsAccumulator } from './run-stats.js';
export { EmbeddedSessionEntryBuilder } from './session-entry-builder.js';
export { createShortcutXLAgentSessionStore } from './session-store.js';
export { pushShortcutXLModelStreamEvent } from './stream-events.js';
export { buildShortcutRuntimeRequestBody, createShortcutXLModelStream, createShortcutXLModelStreamRequest, runShortcutXLModelStreamRequest } from './stream.js';
export { createEmbeddedAgentPortClient, ShortcutXLModelStreamTraceKind } from './worker-bridge/host-client.js';
export { AgentExecuteCodeModeValue as AgentExecuteCodeMode, ExecuteCodeSurfaceValue as ExecuteCodeSurface };
export { EmbeddedAgentCreditGate } from './credit-gate.js';
// Re-exported so hosts can wire the credit gate fetcher without importing credits internals.
export { fetchCreditBalance } from '../credits/shortcut-credits.js';
export { isOutOfCreditsError, OutOfCreditsError } from './out-of-credits-error.js';
// Suggestions are fired internally through the bridge; see `embedded/suggestions.ts`.
// The contract types are exported so client-side handlers + tests can reference them.
export { INVOKE_LLM_KIND } from './host-tools/invoke-llm/index.js';
/** Build a `EmbeddedAgentRuntime` for the embedded host. */
/** Build the embedded `EmbeddedAgentRuntime` from the provided composition options. */
export async function composeEmbeddedAgentRuntime(options) {
    return composeEmbeddedAgentRuntimeInternal(options);
}
//# sourceMappingURL=index.js.map