packages/sessions/package.json

@picasso/sessions

Public exports for @picasso/sessions.

196 public exportsTypes from package declaration entrypoint

type

AdImpression

Type-only export from ..

export { type AdImpression } from "."

AppendEventOptions

Type-only export from ..

export { type AppendEventOptions } from "."

ApprovalDecision

Type-only export from ..

export { type ApprovalDecision } from "."

AssistantMessage

Type-only export from ..

export { type AssistantMessage } from "."

CacheMissReason

Type-only export from ..

export { type CacheMissReason } from "."

CacheUsageEvent

Type-only export from ..

export { type CacheUsageEvent } from "."

CloudSessionConflict

Type-only export from ./sync.js.

export { type CloudSessionConflict } from "./sync.js"

CloudSessionEventRecord

Type-only export from ./sync.js.

export { type CloudSessionEventRecord } from "./sync.js"

CloudSessionFetch

Type-only export from ./cloud-client.js.

export { type CloudSessionFetch } from "./cloud-client.js"

CloudSessionFetchResult

Type-only export from ./cloud-client.js.

export { type CloudSessionFetchResult } from "./cloud-client.js"

CloudSessionListResult

Type-only export from ./cloud-client.js.

export { type CloudSessionListResult } from "./cloud-client.js"

CloudSessionSkipReason

Type-only export from ./cloud-client.js.

export { type CloudSessionSkipReason } from "./cloud-client.js"

CloudSessionSnapshot

Type-only export from ./sync.js.

export { type CloudSessionSnapshot } from "./sync.js"

CloudSessionSummary

Type-only export from ./cloud-client.js.

export { type CloudSessionSummary } from "./cloud-client.js"

CloudSessionSyncClientOptions

Type-only export from ./cloud-client.js.

export { type CloudSessionSyncClientOptions } from "./cloud-client.js"

CloudSessionSyncErrorCode

Type-only export from ./cloud-client.js.

export { type CloudSessionSyncErrorCode } from "./cloud-client.js"

CloudSessionSyncSettings

Type-only export from ./cloud-client.js.

export { type CloudSessionSyncSettings } from "./cloud-client.js"

CloudSessionSyncStore

Type-only export from ./cloud-client.js.

export { type CloudSessionSyncStore } from "./cloud-client.js"

CloudSessionUploadResult

Type-only export from ./cloud-client.js.

export { type CloudSessionUploadResult } from "./cloud-client.js"

CloudTranscript

Type-only export from ./cloud-transcript.js.

export { type CloudTranscript } from "./cloud-transcript.js"

CloudTranscriptEntry

Type-only export from ./cloud-transcript.js.

export { type CloudTranscriptEntry } from "./cloud-transcript.js"

CloudTranscriptImportErrorReason

Type-only export from ./cloud-transcript.js.

export { type CloudTranscriptImportErrorReason } from "./cloud-transcript.js"

ContextPackEvent

Type-only export from ..

export { type ContextPackEvent } from "."

ControlPlaneCostReferences

Type-only export from ./event-provenance.js.

export { type ControlPlaneCostReferences } from "./event-provenance.js"

CostLinkage

Type-only export from ./event-provenance.js.

export { type CostLinkage } from "./event-provenance.js"

CostUnlinkedReason

Type-only export from ./event-provenance.js.

export { type CostUnlinkedReason } from "./event-provenance.js"

CreateSessionOptions

Type-only export from ..

export { type CreateSessionOptions } from "."

CreateThreadOptions

Type-only export from ..

export { type CreateThreadOptions } from "."

CredentialMode

Type-only export from ..

export { type CredentialMode } from "."

DshApprovalAskRecord

Type-only export from ./dsh-log.js.

export { type DshApprovalAskRecord } from "./dsh-log.js"

DshForkBoundary

Type-only export from ./dsh-log.js.

export { type DshForkBoundary } from "./dsh-log.js"

DshLogCut

Type-only export from ./dsh-log-diagnostics.js.

export { type DshLogCut } from "./dsh-log-diagnostics.js"

DshLogCutResult

Type-only export from ./dsh-log-diagnostics.js.

export { type DshLogCutResult } from "./dsh-log-diagnostics.js"

DshLogCutVerification

Type-only export from ./dsh-log-diagnostics.js.

export { type DshLogCutVerification } from "./dsh-log-diagnostics.js"

DshLogDiagnostic

Type-only export from ./dsh-log-diagnostics.js.

export { type DshLogDiagnostic } from "./dsh-log-diagnostics.js"

DshLogDiagnosticOptions

Type-only export from ./dsh-log-diagnostics.js.

export { type DshLogDiagnosticOptions } from "./dsh-log-diagnostics.js"

DshLogIncompleteReason

Type-only export from ./dsh-log-diagnostics.js.

export { type DshLogIncompleteReason } from "./dsh-log-diagnostics.js"

DshLogLocation

Type-only export from ./dsh-log.js.

export { type DshLogLocation } from "./dsh-log.js"

DshLogRecord

Type-only export from ./dsh-log.js.

export { type DshLogRecord } from "./dsh-log.js"

DshLogSourceIdentity

Type-only export from ./dsh-log-diagnostics.js.

export { type DshLogSourceIdentity } from "./dsh-log-diagnostics.js"

DshMalformedLine

Type-only export from ./dsh-log-diagnostics.js.

export { type DshMalformedLine } from "./dsh-log-diagnostics.js"

DshPicassoRecord

Type-only export from ./dsh-log.js.

export { type DshPicassoRecord } from "./dsh-log.js"

DshProjectedEvent

Type-only export from ./dsh-log.js.

export { type DshProjectedEvent } from "./dsh-log.js"

DshRecordProjector

Type-only export from ./dsh-log.js.

export { type DshRecordProjector } from "./dsh-log.js"

DshRecordProjectorFactory

Type-only export from ./dsh-log.js.

export { type DshRecordProjectorFactory } from "./dsh-log.js"

DshReplayEntry

Type-only export from ./dsh-log.js.

export { type DshReplayEntry } from "./dsh-log.js"

DshReplayKind

Type-only export from ./dsh-log.js.

export { type DshReplayKind } from "./dsh-log.js"

DshSequenceGap

Type-only export from ./dsh-log-diagnostics.js.

export { type DshSequenceGap } from "./dsh-log-diagnostics.js"

DshSessionEventsOptions

Type-only export from ./dsh-log.js.

export { type DshSessionEventsOptions } from "./dsh-log.js"

DshSessionRecorder

Type-only export from ..

export { type DshSessionRecorder } from "."

DshSessionSummary

Type-only export from ./dsh-log.js.

export { type DshSessionSummary } from "./dsh-log.js"

DshTerminalBoundary

Type-only export from ./dsh-log-diagnostics.js.

export { type DshTerminalBoundary } from "./dsh-log-diagnostics.js"

DshTranscriptOptions

Type-only export from ./dsh-log.js.

export { type DshTranscriptOptions } from "./dsh-log.js"

DshTranscriptTurn

Type-only export from ./dsh-log.js.

export { type DshTranscriptTurn } from "./dsh-log.js"

DshUsageTotals

Type-only export from ./dsh-log.js.

export { type DshUsageTotals } from "./dsh-log.js"

DshZstdDecodeResult

Type-only export from ./dsh-log.js.

export { type DshZstdDecodeResult } from "./dsh-log.js"

EpisodePackageEvent

Type-only export from ..

export { type EpisodePackageEvent } from "."

FailureAttributionEvent

Type-only export from ..

export { type FailureAttributionEvent } from "."

ForkSessionOptions

Type-only export from ..

export { type ForkSessionOptions } from "."

HarnessComponentEvent

Type-only export from ..

export { type HarnessComponentEvent } from "."

HarnessDecisionEvent

Type-only export from ..

export { type HarnessDecisionEvent } from "."

hasHumanActionEvent

Runtime export from ./event-provenance.js.

export { hasHumanActionEvent } from "./event-provenance.js"

HookFired

Type-only export from ..

export { type HookFired } from "."

humanActionEvent

Runtime export from ./event-provenance.js.

export { humanActionEvent } from "./event-provenance.js"

HumanActionEvent

Type-only export from ./event-provenance.js.

export { type HumanActionEvent } from "./event-provenance.js"

HumanActionInput

Type-only export from ./event-provenance.js.

export { type HumanActionInput } from "./event-provenance.js"

IndexedSession

Type-only export from ..

export { type IndexedSession } from "."

IndexedSessionEvent

Type-only export from ..

export { type IndexedSessionEvent } from "."

JsonObject

Type-only export from ..

export { type JsonObject } from "."

JsonPrimitive

Type-only export from ..

export { type JsonPrimitive } from "."

JsonValue

Type-only export from ..

export { type JsonValue } from "."

LifecycleArchiveResult

Type-only export from ..

export { type LifecycleArchiveResult } from "."

LifecycleSidecarErrorCode

Type-only export from ..

export { type LifecycleSidecarErrorCode } from "."

LinkedCost

Type-only export from ./event-provenance.js.

export { type LinkedCost } from "./event-provenance.js"

LocalSessionStoreOptions

Type-only export from ..

export { type LocalSessionStoreOptions } from "."

LoopEvent

Type-only export from ..

export { type LoopEvent } from "."

ManagedInferenceEvidenceEvent

Type-only export from ..

export { type ManagedInferenceEvidenceEvent } from "."

MemoryOperation

Type-only export from ..

export { type MemoryOperation } from "."

ObservationMetadata

Type-only export from ./event-provenance.js.

export { type ObservationMetadata } from "./event-provenance.js"

ObservationObserver

Type-only export from ./event-provenance.js.

export { type ObservationObserver } from "./event-provenance.js"

ObservationSurface

Type-only export from ./event-provenance.js.

export { type ObservationSurface } from "./event-provenance.js"

OpaqueReference

Type-only export from ./event-provenance.js.

export { type OpaqueReference } from "./event-provenance.js"

OpaqueReferenceKind

Type-only export from ./event-provenance.js.

export { type OpaqueReferenceKind } from "./event-provenance.js"

OpenHoldersProbe

Type-only export from ./lease.js.

export { type OpenHoldersProbe } from "./lease.js"

ReadEventsOptions

Type-only export from ..

export { type ReadEventsOptions } from "."

redactSessionEvent

Runtime export from ./sharing.js.

export { redactSessionEvent } from "./sharing.js"

ReplayMessage

Type-only export from ..

export { type ReplayMessage } from "."

ReplayOptions

Type-only export from ..

export { type ReplayOptions } from "."

Session

Type-only export from ..

export { type Session } from "."

SessionCacheUsage

Type-only export from ..

export { type SessionCacheUsage } from "."

SessionEvent

Type-only export from ..

export { type SessionEvent } from "."

SessionIndexArchiveFilter

Type-only export from ..

export { type SessionIndexArchiveFilter } from "."

SessionIndexTrashFilter

Type-only export from ..

export { type SessionIndexTrashFilter } from "."

SessionProviderMetadata

Type-only export from ..

export { type SessionProviderMetadata } from "."

SessionReplayState

Type-only export from ..

export { type SessionReplayState } from "."

SessionSearchMatch

Type-only export from ..

export { type SessionSearchMatch } from "."

SessionSearchOptions

Type-only export from ..

export { type SessionSearchOptions } from "."

SessionSharePolicy

Type-only export from ./sharing.js.

export { type SessionSharePolicy } from "./sharing.js"

SessionShareVisibility

Type-only export from ./sharing.js.

export { type SessionShareVisibility } from "./sharing.js"

SessionStatus

Type-only export from ..

export { type SessionStatus } from "."

SessionThread

Type-only export from ..

export { type SessionThread } from "."

SessionTranscript

Type-only export from ..

export { type SessionTranscript } from "."

SessionTranscriptHit

Type-only export from ..

export { type SessionTranscriptHit } from "."

SessionWriterHolder

Type-only export from ./lease.js.

export { type SessionWriterHolder } from "./lease.js"

SessionWriterHoldersOptions

Type-only export from ./lease.js.

export { type SessionWriterHoldersOptions } from "./lease.js"

SetLifecycleArchivedOptions

Type-only export from ..

export { type SetLifecycleArchivedOptions } from "."

SharedSessionRender

Type-only export from ./sharing.js.

export { type SharedSessionRender } from "./sharing.js"

StoredSessionIndex

Type-only export from ./session-index.js.

export { type StoredSessionIndex } from "./session-index.js"

SwitchThreadOptions

Type-only export from ..

export { type SwitchThreadOptions } from "."

ThreadReplayState

Type-only export from ..

export { type ThreadReplayState } from "."

ThreadScopedSessionEvent

Type-only export from ..

export { type ThreadScopedSessionEvent } from "."

TrajectoryEvent

Type-only export from ..

export { type TrajectoryEvent } from "."

TrashedDshLogLocation

Type-only export from ./dsh-log.js.

export { type TrashedDshLogLocation } from "./dsh-log.js"

UnlinkedCost

Type-only export from ./event-provenance.js.

export { type UnlinkedCost } from "./event-provenance.js"

UserInterventionEvent

Type-only export from ..

export { type UserInterventionEvent } from "."

UserMessage

Type-only export from ..

export { type UserMessage } from "."

WorkArtifactKind

Type-only export from ./work-artifacts.js.

export { type WorkArtifactKind } from "./work-artifacts.js"

function

appendEvent

Runtime export from ..

export { appendEvent } from "."

createBasicDshProjector

Runtime export from ./dsh-log.js.

export { createBasicDshProjector } from "./dsh-log.js"

createSession

Runtime export from ..

export { createSession } from "."

createSessionId

Runtime export from ..

export { createSessionId } from "."

defaultDshHome

Runtime export from ./dsh-log.js.

export { defaultDshHome } from "./dsh-log.js"

defaultSessionRoot

Runtime export from ..

export { defaultSessionRoot } from "."

isOpaqueReferenceId

Runtime export from ./event-provenance.js.

export { isOpaqueReferenceId } from "./event-provenance.js"

lifecycleArchivedSessionIds

Runtime export from ..

export { lifecycleArchivedSessionIds } from "."

readEvents

Runtime export from ..

export { readEvents } from "."

resolveCloudSessionConflict

Runtime export from ./sync.js.

export { resolveCloudSessionConflict } from "./sync.js"

resumeSession

Runtime export from ..

export { resumeSession } from "."

setLifecycleArchived

Runtime export from ..

export { setLifecycleArchived } from "."

threadArtifacts

Runtime export from ./work-artifacts.js.

export { threadArtifacts } from "./work-artifacts.js"

threadDshSessionId

Runtime export from ..

export { threadDshSessionId } from "."

workKind

Runtime export from ./work-artifacts.js.

export { workKind } from "./work-artifacts.js"

workspaceFingerprint

Runtime export from ..

export { workspaceFingerprint } from "."

value

assertSessionWriterFree

Runtime export from ./lease.js.

export { assertSessionWriterFree } from "./lease.js"

assertShareCanRead

Runtime export from ./sharing.js.

export { assertShareCanRead } from "./sharing.js"

cloudContinuationPrompt

Runtime export from ./cloud-transcript.js.

export { cloudContinuationPrompt } from "./cloud-transcript.js"

cloudContinuationTitle

Runtime export from ./cloud-transcript.js.

export { cloudContinuationTitle } from "./cloud-transcript.js"

cloudSessionEventKey

Runtime export from ./sync.js.

export { cloudSessionEventKey } from "./sync.js"

cloudSessionSyncEnabled

Runtime export from ./cloud-client.js.

export { cloudSessionSyncEnabled } from "./cloud-client.js"

costLinkageFromControlPlane

Runtime export from ./event-provenance.js.

export { costLinkageFromControlPlane } from "./event-provenance.js"

costLinkageOf

Runtime export from ./event-provenance.js.

export { costLinkageOf } from "./event-provenance.js"

decodeDshZstdFrames

Runtime export from ./dsh-log.js.

export { decodeDshZstdFrames } from "./dsh-log.js"

diagnoseDshSessionLog

Runtime export from ./dsh-log-diagnostics.js.

export { diagnoseDshSessionLog } from "./dsh-log-diagnostics.js"

divergentLocalTail

Runtime export from ./sync.js.

export { divergentLocalTail } from "./sync.js"

dshForkBoundary

Runtime export from ./dsh-log.js.

export { dshForkBoundary } from "./dsh-log.js"

dshPicassoRecords

Runtime export from ./dsh-log.js.

export { dshPicassoRecords } from "./dsh-log.js"

dshReplayEntries

Runtime export from ./dsh-log.js.

export { dshReplayEntries } from "./dsh-log.js"

dshSessionEvents

Runtime export from ./dsh-log.js.

export { dshSessionEvents } from "./dsh-log.js"

dshSessionsRoot

Runtime export from ./dsh-log.js.

export { dshSessionsRoot } from "./dsh-log.js"

exportableEventView

Runtime export from ./event-provenance.js.

export { exportableEventView } from "./event-provenance.js"

findDshSessionLog

Runtime export from ./dsh-log.js.

export { findDshSessionLog } from "./dsh-log.js"

findTrashedDshSessionLog

Runtime export from ./dsh-log.js.

export { findTrashedDshSessionLog } from "./dsh-log.js"

forkedCloudSessionId

Runtime export from ./sync.js.

export { forkedCloudSessionId } from "./sync.js"

importCloudTranscript

Runtime export from ./cloud-transcript.js.

export { importCloudTranscript } from "./cloud-transcript.js"

indexDshSessionLogs

Runtime export from ./dsh-log.js.

export { indexDshSessionLogs } from "./dsh-log.js"

indexTrashedDshSessionLogs

Runtime export from ./dsh-log.js.

export { indexTrashedDshSessionLogs } from "./dsh-log.js"

mergeCloudSessionSnapshots

Runtime export from ./sync.js.

export { mergeCloudSessionSnapshots } from "./sync.js"

normalizeCloudSessionEventRecord

Runtime export from ./sync.js.

export { normalizeCloudSessionEventRecord } from "./sync.js"

observationOf

Runtime export from ./event-provenance.js.

export { observationOf } from "./event-provenance.js"

opaqueReference

Runtime export from ./event-provenance.js.

export { opaqueReference } from "./event-provenance.js"

openHolders

Runtime export from ./lease.js.

export { openHolders } from "./lease.js"

parseDshLog

Runtime export from ./dsh-log.js.

export { parseDshLog } from "./dsh-log.js"

prepareDshLogCut

Runtime export from ./dsh-log-diagnostics.js.

export { prepareDshLogCut } from "./dsh-log-diagnostics.js"

projectDshTranscript

Runtime export from ./dsh-log.js.

export { projectDshTranscript } from "./dsh-log.js"

readDshSessionLog

Runtime export from ./dsh-log.js.

export { readDshSessionLog } from "./dsh-log.js"

readDshSessionRecords

Runtime export from ./dsh-log.js.

export { readDshSessionRecords } from "./dsh-log.js"

redactJson

Runtime export from ./sharing.js.

export { redactJson } from "./sharing.js"

renderCloudTranscript

Runtime export from ./cloud-transcript.js.

export { renderCloudTranscript } from "./cloud-transcript.js"

renderSharedSession

Runtime export from ./sharing.js.

export { renderSharedSession } from "./sharing.js"

sessionLeasePaths

Runtime export from ./lease.js.

export { sessionLeasePaths } from "./lease.js"

sessionWriterHolders

Runtime export from ./lease.js.

export { sessionWriterHolders } from "./lease.js"

shareTokenHash

Runtime export from ./sharing.js.

export { shareTokenHash } from "./sharing.js"

stripRecalledMemory

Runtime export from ./dsh-log.js.

export { stripRecalledMemory } from "./dsh-log.js"

summarizeDshSession

Runtime export from ./dsh-log.js.

export { summarizeDshSession } from "./dsh-log.js"

unlinkedCost

Runtime export from ./event-provenance.js.

export { unlinkedCost } from "./event-provenance.js"

verifyDshLogCut

Runtime export from ./dsh-log-diagnostics.js.

export { verifyDshLogCut } from "./dsh-log-diagnostics.js"

class

CLOUD_CONTINUE_DEFAULT_PROMPT

Runtime export from ./cloud-transcript.js.

export { CLOUD_CONTINUE_DEFAULT_PROMPT } from "./cloud-transcript.js"

CLOUD_SESSION_SCHEMA_VERSION

Runtime export from ./sync.js.

export { CLOUD_SESSION_SCHEMA_VERSION } from "./sync.js"

CLOUD_TRANSCRIPT_MAX_CHARS

Runtime export from ./cloud-transcript.js.

export { CLOUD_TRANSCRIPT_MAX_CHARS } from "./cloud-transcript.js"

CloudSessionSyncClient

Runtime export from ./cloud-client.js.

export { CloudSessionSyncClient } from "./cloud-client.js"

CloudSessionSyncError

Runtime export from ./cloud-client.js.

export { CloudSessionSyncError } from "./cloud-client.js"

CloudTranscriptImportError

Runtime export from ./cloud-transcript.js.

export { CloudTranscriptImportError } from "./cloud-transcript.js"

DSH_LOG_CUT_VERSION

Runtime export from ./dsh-log-diagnostics.js.

export { DSH_LOG_CUT_VERSION } from "./dsh-log-diagnostics.js"

DSH_LOG_DIAGNOSTIC_VERSION

Runtime export from ./dsh-log-diagnostics.js.

export { DSH_LOG_DIAGNOSTIC_VERSION } from "./dsh-log-diagnostics.js"

EVENT_PROVENANCE_VERSION

Runtime export from ./event-provenance.js.

export { EVENT_PROVENANCE_VERSION } from "./event-provenance.js"

KNOWN_DSH_RECORD_TYPES

Runtime export from ./dsh-log-diagnostics.js.

export { KNOWN_DSH_RECORD_TYPES } from "./dsh-log-diagnostics.js"

LifecycleSidecarError

Runtime export from ..

export { LifecycleSidecarError } from "."

LocalSessionStore

Runtime export from ..

export { LocalSessionStore } from "."

PICASSO_RECORD_PREFIX

Runtime export from ./dsh-log.js.

export { PICASSO_RECORD_PREFIX } from "./dsh-log.js"

SESSION_INDEX_SCHEMA_VERSION

Runtime export from ./session-index.js.

export { SESSION_INDEX_SCHEMA_VERSION } from "./session-index.js"

SESSION_INDEX_SPEC

Runtime export from ./session-index.js.

export { SESSION_INDEX_SPEC } from "./session-index.js"

SESSION_LEASE_FILENAME

Runtime export from ./lease.js.

export { SESSION_LEASE_FILENAME } from "./lease.js"

SessionLeaseHeldError

Runtime export from ./lease.js.

export { SessionLeaseHeldError } from "./lease.js"

const

LIFECYCLE_SIDECAR_VERSION

Runtime export from ..

export { LIFECYCLE_SIDECAR_VERSION } from "."

WORK_KINDS

Runtime export from ./work-artifacts.js.

export { WORK_KINDS } from "./work-artifacts.js"

interface

WorkArtifact

Type-only export from ./work-artifacts.js.

export { type WorkArtifact } from "./work-artifacts.js"