@tutti-os/agent-activity-core 0.0.223 → 0.0.225
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +32 -8
- package/dist/index.d.ts +102 -25
- package/dist/index.js +394 -41
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -174,7 +174,7 @@ unrelated Sessions sharing the engine.
|
|
|
174
174
|
|
|
175
175
|
## Event Shape
|
|
176
176
|
|
|
177
|
-
|
|
177
|
+
Canonical streams emit a versioned `message_update`:
|
|
178
178
|
|
|
179
179
|
```ts
|
|
180
180
|
{
|
|
@@ -182,19 +182,43 @@ Live streams emit `AgentActivitySessionEventEnvelope`:
|
|
|
182
182
|
agentSessionId: "session-1",
|
|
183
183
|
eventType: "message_update",
|
|
184
184
|
data: {
|
|
185
|
+
workspaceId: "workspace-1",
|
|
186
|
+
agentSessionId: "session-1",
|
|
187
|
+
eventType: "message_update",
|
|
188
|
+
latestVersion: 12,
|
|
189
|
+
acceptedCount: 1,
|
|
190
|
+
messages: [/* canonical message snapshots */]
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
Normalized provider text/reasoning streams may precede that confirmation with
|
|
196
|
+
an optimistic `message_delta`:
|
|
197
|
+
|
|
198
|
+
```ts
|
|
199
|
+
{
|
|
200
|
+
workspaceId: "workspace-1",
|
|
201
|
+
agentSessionId: "session-1",
|
|
202
|
+
eventType: "message_delta",
|
|
203
|
+
data: {
|
|
204
|
+
workspaceId: "workspace-1",
|
|
205
|
+
agentSessionId: "session-1",
|
|
185
206
|
messageId: "message-1",
|
|
186
|
-
|
|
207
|
+
turnId: "turn-1",
|
|
187
208
|
role: "assistant",
|
|
188
|
-
kind: "
|
|
189
|
-
|
|
190
|
-
|
|
209
|
+
kind: "text",
|
|
210
|
+
occurredAtUnixMs: 100,
|
|
211
|
+
content: { operation: "append_text", text: "hello" },
|
|
212
|
+
status: "streaming"
|
|
191
213
|
}
|
|
192
214
|
}
|
|
193
215
|
```
|
|
194
216
|
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
`
|
|
217
|
+
Hosts clean `message_delta` at the transport boundary, apply it through
|
|
218
|
+
`createAgentActivityOptimisticMessageOverlay`, and project it over canonical
|
|
219
|
+
`sessionMessagesById`. A canonical read calls `reconcile`; only Session removal
|
|
220
|
+
or rebinding calls `reset`. The generated `AgentActivityUpdatedEvent` input
|
|
221
|
+
additionally accepts:
|
|
198
222
|
|
|
199
223
|
- `turn_update`: updates the canonical durable turn projection
|
|
200
224
|
- `interaction_update`: updates the canonical durable interaction projection
|
package/dist/index.d.ts
CHANGED
|
@@ -6,6 +6,65 @@ interface AgentActivityComposerModelConfiguration {
|
|
|
6
6
|
source: "model-plan" | "provider-native";
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
+
interface AgentActivityMessageSemantics {
|
|
10
|
+
userVisibleAssistantResponse?: boolean;
|
|
11
|
+
turnSettling?: boolean;
|
|
12
|
+
noticeCommand?: "compact" | "review" | "undo" | "goal";
|
|
13
|
+
noticeCommandStatus?: "running" | "completed" | "failed" | "canceled";
|
|
14
|
+
}
|
|
15
|
+
interface AgentActivityMessage {
|
|
16
|
+
workspaceId?: string;
|
|
17
|
+
agentSessionId: string;
|
|
18
|
+
messageId: string;
|
|
19
|
+
version: number;
|
|
20
|
+
turnId: string | null;
|
|
21
|
+
role: string;
|
|
22
|
+
kind: string;
|
|
23
|
+
status?: string | null;
|
|
24
|
+
semantics?: AgentActivityMessageSemantics;
|
|
25
|
+
payload: Record<string, unknown>;
|
|
26
|
+
sequence?: number;
|
|
27
|
+
occurredAtUnixMs: number;
|
|
28
|
+
createdAtUnixMs?: number;
|
|
29
|
+
startedAtUnixMs?: number;
|
|
30
|
+
completedAtUnixMs?: number;
|
|
31
|
+
}
|
|
32
|
+
interface AgentActivityMessageDeltaEvent {
|
|
33
|
+
workspaceId: string;
|
|
34
|
+
agentSessionId: string;
|
|
35
|
+
eventType: "message_delta";
|
|
36
|
+
data: {
|
|
37
|
+
workspaceId: string;
|
|
38
|
+
agentSessionId: string;
|
|
39
|
+
messageId: string;
|
|
40
|
+
turnId: string;
|
|
41
|
+
role: string;
|
|
42
|
+
kind: string;
|
|
43
|
+
occurredAtUnixMs: number;
|
|
44
|
+
content?: {
|
|
45
|
+
operation: "append_text";
|
|
46
|
+
text: string;
|
|
47
|
+
} | {
|
|
48
|
+
operation: "set";
|
|
49
|
+
value: unknown;
|
|
50
|
+
};
|
|
51
|
+
toolOutput?: {
|
|
52
|
+
operation: "set";
|
|
53
|
+
text: string;
|
|
54
|
+
} | {
|
|
55
|
+
operation: "append_text";
|
|
56
|
+
text: string;
|
|
57
|
+
offsetBytes: number;
|
|
58
|
+
};
|
|
59
|
+
payloadSet?: Readonly<Record<string, unknown>>;
|
|
60
|
+
payloadUnset?: readonly string[];
|
|
61
|
+
status?: string;
|
|
62
|
+
semantics?: AgentActivityMessageSemantics;
|
|
63
|
+
startedAtUnixMs?: number;
|
|
64
|
+
completedAtUnixMs?: number;
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
9
68
|
/**
|
|
10
69
|
* Authoritative coverage for the durable message window currently held by the
|
|
11
70
|
* engine. Message versions are mutable change cursors, so neither the minimum
|
|
@@ -203,23 +262,6 @@ interface AgentActivityActivateSessionResult {
|
|
|
203
262
|
debugMessage?: string;
|
|
204
263
|
};
|
|
205
264
|
}
|
|
206
|
-
interface AgentActivityMessage {
|
|
207
|
-
workspaceId?: string;
|
|
208
|
-
agentSessionId: string;
|
|
209
|
-
messageId: string;
|
|
210
|
-
version: number;
|
|
211
|
-
turnId: string | null;
|
|
212
|
-
role: string;
|
|
213
|
-
kind: string;
|
|
214
|
-
status?: string | null;
|
|
215
|
-
semantics?: AgentActivityMessageSemantics;
|
|
216
|
-
payload: Record<string, unknown>;
|
|
217
|
-
sequence?: number;
|
|
218
|
-
occurredAtUnixMs: number;
|
|
219
|
-
createdAtUnixMs?: number;
|
|
220
|
-
startedAtUnixMs?: number;
|
|
221
|
-
completedAtUnixMs?: number;
|
|
222
|
-
}
|
|
223
265
|
interface AgentActivitySessionList {
|
|
224
266
|
sessions: AgentActivitySession[];
|
|
225
267
|
presences?: AgentActivityPresence[];
|
|
@@ -381,7 +423,7 @@ interface AgentActivitySnapshot {
|
|
|
381
423
|
composerOptionsLoadStatusByTargetKey?: Record<string, AgentActivityComposerOptionsLoadStatus>;
|
|
382
424
|
}
|
|
383
425
|
type AgentActivitySnapshotListener = (snapshot: AgentActivitySnapshot) => void;
|
|
384
|
-
type AgentActivityUpdatedEvent = AgentActivitySessionReconcileRequiredEvent | AgentActivitySessionDeletedEvent | AgentActivitySessionAuditEvent | AgentActivityMessageUpdatedEvent | AgentActivityTurnUpdatedEvent | AgentActivityInteractionUpdatedEvent;
|
|
426
|
+
type AgentActivityUpdatedEvent = AgentActivitySessionReconcileRequiredEvent | AgentActivitySessionDeletedEvent | AgentActivitySessionAuditEvent | AgentActivityMessageDeltaEvent | AgentActivityMessageUpdatedEvent | AgentActivityTurnUpdatedEvent | AgentActivityInteractionUpdatedEvent;
|
|
385
427
|
interface AgentActivitySessionReconcileRequiredEvent {
|
|
386
428
|
workspaceId: string;
|
|
387
429
|
agentSessionId: string;
|
|
@@ -548,12 +590,6 @@ interface AgentActivitySubmitDiagnostics {
|
|
|
548
590
|
queued?: boolean;
|
|
549
591
|
source?: string;
|
|
550
592
|
}
|
|
551
|
-
interface AgentActivityMessageSemantics {
|
|
552
|
-
userVisibleAssistantResponse?: boolean;
|
|
553
|
-
turnSettling?: boolean;
|
|
554
|
-
noticeCommand?: "compact" | "review" | "undo" | "goal";
|
|
555
|
-
noticeCommandStatus?: "running" | "completed" | "failed" | "canceled";
|
|
556
|
-
}
|
|
557
593
|
type AgentActivitySendInputResult = {
|
|
558
594
|
/** Optional for compatibility with adapters predating the discriminator. */
|
|
559
595
|
kind?: "turn";
|
|
@@ -783,6 +819,16 @@ interface AgentActivityAdapter {
|
|
|
783
819
|
setSessionPinned(input: AgentActivitySetSessionPinnedInput): Promise<AgentActivitySession>;
|
|
784
820
|
}
|
|
785
821
|
|
|
822
|
+
declare const AGENT_ACTIVITY_LIVE_PROTOCOL_REVISION: "sha256:d6d418949c61ff09";
|
|
823
|
+
|
|
824
|
+
type AgentActivityLiveEvent = AgentActivityMessageDeltaEvent | AgentActivityTurnUpdatedEvent | AgentActivityInteractionUpdatedEvent | AgentActivitySessionAuditEvent;
|
|
825
|
+
|
|
826
|
+
/**
|
|
827
|
+
* Cleans the transport-shaped public WebSocket payload into the strict live
|
|
828
|
+
* message contract consumed by the optimistic overlay.
|
|
829
|
+
*/
|
|
830
|
+
declare function parseAgentActivityMessageDeltaEvent(value: unknown): AgentActivityMessageDeltaEvent | null;
|
|
831
|
+
|
|
786
832
|
type AgentActivityDisplayStatus = "working" | "waiting" | "idle" | "completed" | "canceled" | "failed";
|
|
787
833
|
|
|
788
834
|
declare function normalizeAgentActivityCapabilityReferences(references: readonly AgentActivityCapabilityReference[] | null | undefined): readonly AgentActivityCapabilityReference[];
|
|
@@ -1863,6 +1909,37 @@ declare function cloneAgentActivityMessage<T extends AgentActivityMessage = Agen
|
|
|
1863
1909
|
*/
|
|
1864
1910
|
declare function parseInlineActivityMessages(event: AgentActivityUpdatedEvent): AgentActivityMessage[];
|
|
1865
1911
|
|
|
1912
|
+
interface AgentActivityOptimisticApplyResult {
|
|
1913
|
+
applied: boolean;
|
|
1914
|
+
needsReconcile: boolean;
|
|
1915
|
+
reason?: "append_without_anchor" | "identity_mismatch" | "tool_output_offset_mismatch";
|
|
1916
|
+
}
|
|
1917
|
+
interface AgentActivityOptimisticMessageScope {
|
|
1918
|
+
workspaceId: string;
|
|
1919
|
+
agentSessionId: string;
|
|
1920
|
+
}
|
|
1921
|
+
interface AgentActivityOptimisticMessageOverlay {
|
|
1922
|
+
apply(event: AgentActivityLiveEvent): AgentActivityOptimisticApplyResult;
|
|
1923
|
+
/**
|
|
1924
|
+
* Replaces the authoritative base for one Session after a successful read.
|
|
1925
|
+
*
|
|
1926
|
+
* Ordinary optimistic projections are discarded because the read is now the
|
|
1927
|
+
* best known truth. An explicitly terminal optimistic projection remains
|
|
1928
|
+
* visible over a nonterminal canonical message until canonical truth also
|
|
1929
|
+
* reaches a terminal state.
|
|
1930
|
+
*/
|
|
1931
|
+
reconcile(scope: AgentActivityOptimisticMessageScope, canonicalMessages: readonly AgentActivityMessage[]): void;
|
|
1932
|
+
/**
|
|
1933
|
+
* Drops all cached state for one Session when the host removes or rebinds
|
|
1934
|
+
* that Session. A stream discontinuity should instead complete an
|
|
1935
|
+
* authoritative read and call reconcile so a confirmed optimistic terminal
|
|
1936
|
+
* projection remains visible until canonical terminal truth arrives.
|
|
1937
|
+
*/
|
|
1938
|
+
reset(scope: AgentActivityOptimisticMessageScope): void;
|
|
1939
|
+
project(scope: AgentActivityOptimisticMessageScope, canonicalMessages: readonly AgentActivityMessage[]): AgentActivityMessage[];
|
|
1940
|
+
}
|
|
1941
|
+
declare function createAgentActivityOptimisticMessageOverlay(): AgentActivityOptimisticMessageOverlay;
|
|
1942
|
+
|
|
1866
1943
|
interface AgentActivityMessagePageLike<T> {
|
|
1867
1944
|
messages: readonly T[];
|
|
1868
1945
|
hasMore?: boolean;
|
|
@@ -2087,4 +2164,4 @@ interface WorkspaceAgentSessionProjectionInput {
|
|
|
2087
2164
|
type WorkspaceAgentSessionDerivedStatus = "working" | "waiting" | "completed" | "failed" | "canceled" | "unknown";
|
|
2088
2165
|
declare function workspaceAgentSessionStatus(session: Pick<WorkspaceAgentSessionProjectionInput, "activeTurn" | "latestTurn" | "pendingInteractions">): WorkspaceAgentSessionDerivedStatus;
|
|
2089
2166
|
|
|
2090
|
-
export { AGENT_CAPABILITY_KEYS, AGENT_SESSION_ENGINE_LOCAL_ORIGIN, type ActivityMessagesReceivedIntent, type AgentActivityActivateSessionResult, type AgentActivityActivationMode, type AgentActivityActivationStatus, type AgentActivityAdapter, type AgentActivityCancelTurnInput, type AgentActivityCapabilityInput, type AgentActivityCapabilityReference, type AgentActivityCollaborationAdoption, type AgentActivityCollaborationMode, type AgentActivityCollaborationRun, type AgentActivityCollaborationStatus, type AgentActivityCollaborationTriggerSource, type AgentActivityCollaborationUsage, type AgentActivityCompletedCommand, type AgentActivityComposerBehavior, type AgentActivityComposerCapabilityOption, type AgentActivityComposerModelConfiguration, type AgentActivityComposerOptions, type AgentActivityComposerOptionsLoadStatus, type AgentActivityComposerPermissionConfig, type AgentActivityComposerPermissionModeOption, type AgentActivityComposerSettingOption, type AgentActivityComposerSettings, type AgentActivityComposerSkillOption, type AgentActivityCreateSessionInput, type AgentActivityDeleteSessionInput, type AgentActivityDeleteSessionResult, type AgentActivityDeleteSessionsInput, type AgentActivityDeleteSessionsResult, type AgentActivityDisplayStatus, type AgentActivityGoalControlAction, type AgentActivityGoalControlInput, type AgentActivityGoalControlResult, type AgentActivityInitialGoalControl, type AgentActivityInitialTuttiModeActivation, type AgentActivityInteraction, type AgentActivityLoadComposerOptionsInput, type AgentActivityMessage, type AgentActivityMessageOrder, type AgentActivityMessagePage, type AgentActivityMessagePageLike, type AgentActivityMessageSemantics, type AgentActivityModelPlanModel, type AgentActivityModelPlanSummary, type AgentActivityNeedsAttentionItem, type AgentActivityNeedsAttentionKind, type AgentActivityPresence, type AgentActivityRailPlacement, type AgentActivityRenameSessionInput, type AgentActivitySendInput, type AgentActivitySendInputResult, type AgentActivitySession, type AgentActivitySessionCapabilities, type AgentActivitySessionEventEnvelope, type AgentActivitySessionGoal, type AgentActivitySessionInput, type AgentActivitySessionKind, type AgentActivitySessionList, type AgentActivitySessionMessageWindow, type AgentActivitySessionPermissionConfig, type AgentActivitySessionSettings, type AgentActivitySessionUsage, type AgentActivitySetCollaborationAdoptionInput, type AgentActivitySetSessionPinnedInput, type AgentActivitySlashCommandEffect, type AgentActivitySlashCommandPolicy, type AgentActivitySnapshot, type AgentActivitySnapshotListener, type AgentActivitySubmitDiagnostics, type AgentActivitySubmitInteractiveInput, type AgentActivitySubmitInteractiveResult, type AgentActivitySubmitSettingsPatch, type AgentActivityTurn, type AgentActivityTurnCancelResponse, type AgentActivityTurnOrigin, type AgentActivityTuttiModeActivation, type AgentActivityTuttiModeActivationRevision, type AgentActivityTuttiModeActivationSource, type AgentActivityTuttiModeActivationStatus, type AgentActivityUpdateTuttiModeActivationInput, type AgentActivityUpdateTuttiModeActivationResult, type AgentActivityUpdatedApplyResult, type AgentActivityUpdatedEvent, type AgentActivityUsage, type AgentActivityUsageInput, type AgentCapabilityKey, type AgentPromptContentBlock, type AgentSessionAvailableCommand, type AgentSessionEngine, type AgentSessionEngineIdentity, type AgentSessionEngineListener, type AgentSessionEngineState, type AttentionCompletionKind, type AttentionReadCommand, type AttentionReadIntent, type AttentionReadRecord, type AttentionReadState, type CanonicalAgentSession, type ComposerOptionsCommand, type ComposerOptionsIntent, type ComposerOptionsState, type CreateAgentSessionEngineInput, ENGINE_INTENT_BATCH_DELAY_MS, type EngineClock, type EngineCommand, type EngineCommandOutcome, type EngineCommandPort, type EngineConnectionStatus, type EngineDiagnosticEvent, type EngineDiagnosticSink, type EngineDispatchOptions, type EngineDomainReducer, type EngineExternalCommand, type EngineIntent, type EngineInternalCommand, type EngineQueuedPrompt, type EngineReducerResult, type EngineRuntimeState, type EngineScheduledTask, type EngineScheduler, type InteractionRespondCommand, type InteractionResponseState, type InteractionResponseStatus, type LoadAllAgentSessionMessagesInput, type LoadAllAgentSessionMessagesResult, type PendingActivationIntentRecord, type PendingActivationStatus, type PendingIntentsIntent, type PendingIntentsState, type PendingSubmitIntentRecord, type PendingSubmitStatus, type PlanDecisionIntent, type PlanDecisionRecord, type PlanDecisionState, type PlanDecisionStatus, type PlanSubmitDecisionCommand, type PromptQueueInFlightCommand, type PromptQueueRecord, type PromptQueueSendCommand, type PromptQueueState, type PromptQueueSuspendReason, type SessionActivateCommand, type SessionActivationDismissedIntent, type SessionActivationFailureClearedIntent, type SessionActivationFailureRecordedIntent, type SessionActivationPresentation, type SessionActivationRequestedIntent, type SessionActivationSettingsPatchedIntent, type SessionActivityObservedIntent, type SessionCancelState, type SessionCancelStatus, type SessionCommandsIntent, type SessionCommandsState, type SessionDeleteMutationResult, type SessionLifecycleState, type SessionMessagesState, type SessionMutationCommand, type SessionMutationRecord, type SessionMutationStatus, type SessionMutationsIntent, type SessionMutationsState, type SessionOperationState, type SessionPinRequestedIntent, type SessionReconcileCommand, type SessionReconcileIntent, type SessionReconcileRecord, type SessionReconcileRequestedIntent, type SessionReconcileScope, type SessionReconcileState, type SessionRuntimeAvailability, type SessionSetPinnedCommand, type SessionSettingsUpdateState, type SessionSettingsUpdateStatus, type SessionUnactivateCommand, type SessionUnactivationRequestedIntent, type SessionsDeleteCommand, type SessionsDeleteRequestedIntent, type SubmitCanceledIntent, type SubmitDismissedIntent, type SubmitRequestedIntent, type TurnCancelCommand, type TuttiModeActivationCommand, type TuttiModeActivationIntent, type TuttiModeActivationPresentation, type TuttiModeActivationState, type TuttiModeActivationUpdateCommand, type WorkspaceAgentConsumerCounts, type WorkspaceAgentConsumerSession, agentActivitySessionCapabilitiesFromIds, agentActivitySessionMessageWindowFromDescendingPage, canonicalInteractionKey, canonicalTurnKey, cloneAgentActivityMessage, compareAgentActivityMessages, createAgentActivitySnapshotProjector, createAgentSessionEngine, createEmptyAgentActivitySnapshot, dispatchSessionMutation, hasAgentCapability, isPendingActivationViable, latestAgentActivityMessageVersion, loadAllAgentSessionMessages, mergeAgentActivityMessages, normalizeAgentActivityCapabilityReferences, normalizeAgentActivityDisplayStatus, normalizeAgentActivitySession, parseInlineActivityMessages, pendingSubmitRecordListsEqual, resolveAgentActivityCapability, resolveAgentActivityUsage, selectAttentionReadState, selectCanonicalAgentActivitySessions, selectComposerOptions, selectComposerOptionsLoadStatus, selectEngineActiveTurn, selectEngineAvailableCommands, selectEngineCancelPending, selectEngineCancelState, selectEngineHasPendingInteractions, selectEngineHasQueuedPrompts, selectEngineHasVisibleQueuedSubmit, selectEngineInteraction, selectEngineInteractionResponse, selectEngineInteractionResponseError, selectEngineInteractionsForSession, selectEngineLatestTurn, selectEnginePendingInteractions, selectEnginePromptQueue, selectEnginePromptQueueError, selectEngineQueuedPrompt, selectEngineQueuedPrompts, selectEngineSession, selectEngineSessionDeleted, selectEngineSessionDetailHydrated, selectEngineSessionDetailLoading, selectEngineSessionIsRespondingToInteraction, selectEngineSessionOperation, selectEngineSessionOperationError, selectEngineSessionReconcile, selectEngineSessionRuntimeAvailability, selectEngineSessionSettingsUpdate, selectEngineSubmitAvailability, selectEngineTurn, selectEngineTurnsForSession, selectLatestActivationForSession, selectLatestPendingSubmitForSession, selectNeedsAttentionCount, selectNeedsAttentionItems, selectPendingActivationByRequestId, selectPendingActivations, selectPendingSubmitsForSession, selectPlanDecisionForTurn, selectPlanTurnDismissed, selectRootAgentActivitySessions, selectRootAgentSessionIdsWithPendingInteractions, selectSessionActivationPresentations, selectSessionAttention, selectSessionHasUnconfirmedSubmit, selectSessionIsSubmitting, selectSessionMessages, selectSessionMessagesById, selectSessionMutation, selectSessionMutations, selectTuttiModeActivationPresentation, selectTuttiModeDraftIsActive, selectTuttiModeDraftOrchestrationIntensity, selectWorkspaceAgentConsumerCounts, selectWorkspaceAgentConsumerSession, selectWorkspaceAgentConsumerSessions, selectWorkspaceAgentRootConversationSessions, selectWorkspaceReconcileState, sessionActivationPresentationMapsEqual, tuttiModeActivationPresentationsEqual, workspaceAgentSessionStatus };
|
|
2167
|
+
export { AGENT_ACTIVITY_LIVE_PROTOCOL_REVISION, AGENT_CAPABILITY_KEYS, AGENT_SESSION_ENGINE_LOCAL_ORIGIN, type ActivityMessagesReceivedIntent, type AgentActivityActivateSessionResult, type AgentActivityActivationMode, type AgentActivityActivationStatus, type AgentActivityAdapter, type AgentActivityCancelTurnInput, type AgentActivityCapabilityInput, type AgentActivityCapabilityReference, type AgentActivityCollaborationAdoption, type AgentActivityCollaborationMode, type AgentActivityCollaborationRun, type AgentActivityCollaborationStatus, type AgentActivityCollaborationTriggerSource, type AgentActivityCollaborationUsage, type AgentActivityCompletedCommand, type AgentActivityComposerBehavior, type AgentActivityComposerCapabilityOption, type AgentActivityComposerModelConfiguration, type AgentActivityComposerOptions, type AgentActivityComposerOptionsLoadStatus, type AgentActivityComposerPermissionConfig, type AgentActivityComposerPermissionModeOption, type AgentActivityComposerSettingOption, type AgentActivityComposerSettings, type AgentActivityComposerSkillOption, type AgentActivityCreateSessionInput, type AgentActivityDeleteSessionInput, type AgentActivityDeleteSessionResult, type AgentActivityDeleteSessionsInput, type AgentActivityDeleteSessionsResult, type AgentActivityDisplayStatus, type AgentActivityGoalControlAction, type AgentActivityGoalControlInput, type AgentActivityGoalControlResult, type AgentActivityInitialGoalControl, type AgentActivityInitialTuttiModeActivation, type AgentActivityInteraction, type AgentActivityLiveEvent, type AgentActivityLoadComposerOptionsInput, type AgentActivityMessage, type AgentActivityMessageDeltaEvent, type AgentActivityMessageOrder, type AgentActivityMessagePage, type AgentActivityMessagePageLike, type AgentActivityMessageSemantics, type AgentActivityModelPlanModel, type AgentActivityModelPlanSummary, type AgentActivityNeedsAttentionItem, type AgentActivityNeedsAttentionKind, type AgentActivityOptimisticApplyResult, type AgentActivityOptimisticMessageOverlay, type AgentActivityOptimisticMessageScope, type AgentActivityPresence, type AgentActivityRailPlacement, type AgentActivityRenameSessionInput, type AgentActivitySendInput, type AgentActivitySendInputResult, type AgentActivitySession, type AgentActivitySessionCapabilities, type AgentActivitySessionEventEnvelope, type AgentActivitySessionGoal, type AgentActivitySessionInput, type AgentActivitySessionKind, type AgentActivitySessionList, type AgentActivitySessionMessageWindow, type AgentActivitySessionPermissionConfig, type AgentActivitySessionSettings, type AgentActivitySessionUsage, type AgentActivitySetCollaborationAdoptionInput, type AgentActivitySetSessionPinnedInput, type AgentActivitySlashCommandEffect, type AgentActivitySlashCommandPolicy, type AgentActivitySnapshot, type AgentActivitySnapshotListener, type AgentActivitySubmitDiagnostics, type AgentActivitySubmitInteractiveInput, type AgentActivitySubmitInteractiveResult, type AgentActivitySubmitSettingsPatch, type AgentActivityTurn, type AgentActivityTurnCancelResponse, type AgentActivityTurnOrigin, type AgentActivityTuttiModeActivation, type AgentActivityTuttiModeActivationRevision, type AgentActivityTuttiModeActivationSource, type AgentActivityTuttiModeActivationStatus, type AgentActivityUpdateTuttiModeActivationInput, type AgentActivityUpdateTuttiModeActivationResult, type AgentActivityUpdatedApplyResult, type AgentActivityUpdatedEvent, type AgentActivityUsage, type AgentActivityUsageInput, type AgentCapabilityKey, type AgentPromptContentBlock, type AgentSessionAvailableCommand, type AgentSessionEngine, type AgentSessionEngineIdentity, type AgentSessionEngineListener, type AgentSessionEngineState, type AttentionCompletionKind, type AttentionReadCommand, type AttentionReadIntent, type AttentionReadRecord, type AttentionReadState, type CanonicalAgentSession, type ComposerOptionsCommand, type ComposerOptionsIntent, type ComposerOptionsState, type CreateAgentSessionEngineInput, ENGINE_INTENT_BATCH_DELAY_MS, type EngineClock, type EngineCommand, type EngineCommandOutcome, type EngineCommandPort, type EngineConnectionStatus, type EngineDiagnosticEvent, type EngineDiagnosticSink, type EngineDispatchOptions, type EngineDomainReducer, type EngineExternalCommand, type EngineIntent, type EngineInternalCommand, type EngineQueuedPrompt, type EngineReducerResult, type EngineRuntimeState, type EngineScheduledTask, type EngineScheduler, type InteractionRespondCommand, type InteractionResponseState, type InteractionResponseStatus, type LoadAllAgentSessionMessagesInput, type LoadAllAgentSessionMessagesResult, type PendingActivationIntentRecord, type PendingActivationStatus, type PendingIntentsIntent, type PendingIntentsState, type PendingSubmitIntentRecord, type PendingSubmitStatus, type PlanDecisionIntent, type PlanDecisionRecord, type PlanDecisionState, type PlanDecisionStatus, type PlanSubmitDecisionCommand, type PromptQueueInFlightCommand, type PromptQueueRecord, type PromptQueueSendCommand, type PromptQueueState, type PromptQueueSuspendReason, type SessionActivateCommand, type SessionActivationDismissedIntent, type SessionActivationFailureClearedIntent, type SessionActivationFailureRecordedIntent, type SessionActivationPresentation, type SessionActivationRequestedIntent, type SessionActivationSettingsPatchedIntent, type SessionActivityObservedIntent, type SessionCancelState, type SessionCancelStatus, type SessionCommandsIntent, type SessionCommandsState, type SessionDeleteMutationResult, type SessionLifecycleState, type SessionMessagesState, type SessionMutationCommand, type SessionMutationRecord, type SessionMutationStatus, type SessionMutationsIntent, type SessionMutationsState, type SessionOperationState, type SessionPinRequestedIntent, type SessionReconcileCommand, type SessionReconcileIntent, type SessionReconcileRecord, type SessionReconcileRequestedIntent, type SessionReconcileScope, type SessionReconcileState, type SessionRuntimeAvailability, type SessionSetPinnedCommand, type SessionSettingsUpdateState, type SessionSettingsUpdateStatus, type SessionUnactivateCommand, type SessionUnactivationRequestedIntent, type SessionsDeleteCommand, type SessionsDeleteRequestedIntent, type SubmitCanceledIntent, type SubmitDismissedIntent, type SubmitRequestedIntent, type TurnCancelCommand, type TuttiModeActivationCommand, type TuttiModeActivationIntent, type TuttiModeActivationPresentation, type TuttiModeActivationState, type TuttiModeActivationUpdateCommand, type WorkspaceAgentConsumerCounts, type WorkspaceAgentConsumerSession, agentActivitySessionCapabilitiesFromIds, agentActivitySessionMessageWindowFromDescendingPage, canonicalInteractionKey, canonicalTurnKey, cloneAgentActivityMessage, compareAgentActivityMessages, createAgentActivityOptimisticMessageOverlay, createAgentActivitySnapshotProjector, createAgentSessionEngine, createEmptyAgentActivitySnapshot, dispatchSessionMutation, hasAgentCapability, isPendingActivationViable, latestAgentActivityMessageVersion, loadAllAgentSessionMessages, mergeAgentActivityMessages, normalizeAgentActivityCapabilityReferences, normalizeAgentActivityDisplayStatus, normalizeAgentActivitySession, parseAgentActivityMessageDeltaEvent, parseInlineActivityMessages, pendingSubmitRecordListsEqual, resolveAgentActivityCapability, resolveAgentActivityUsage, selectAttentionReadState, selectCanonicalAgentActivitySessions, selectComposerOptions, selectComposerOptionsLoadStatus, selectEngineActiveTurn, selectEngineAvailableCommands, selectEngineCancelPending, selectEngineCancelState, selectEngineHasPendingInteractions, selectEngineHasQueuedPrompts, selectEngineHasVisibleQueuedSubmit, selectEngineInteraction, selectEngineInteractionResponse, selectEngineInteractionResponseError, selectEngineInteractionsForSession, selectEngineLatestTurn, selectEnginePendingInteractions, selectEnginePromptQueue, selectEnginePromptQueueError, selectEngineQueuedPrompt, selectEngineQueuedPrompts, selectEngineSession, selectEngineSessionDeleted, selectEngineSessionDetailHydrated, selectEngineSessionDetailLoading, selectEngineSessionIsRespondingToInteraction, selectEngineSessionOperation, selectEngineSessionOperationError, selectEngineSessionReconcile, selectEngineSessionRuntimeAvailability, selectEngineSessionSettingsUpdate, selectEngineSubmitAvailability, selectEngineTurn, selectEngineTurnsForSession, selectLatestActivationForSession, selectLatestPendingSubmitForSession, selectNeedsAttentionCount, selectNeedsAttentionItems, selectPendingActivationByRequestId, selectPendingActivations, selectPendingSubmitsForSession, selectPlanDecisionForTurn, selectPlanTurnDismissed, selectRootAgentActivitySessions, selectRootAgentSessionIdsWithPendingInteractions, selectSessionActivationPresentations, selectSessionAttention, selectSessionHasUnconfirmedSubmit, selectSessionIsSubmitting, selectSessionMessages, selectSessionMessagesById, selectSessionMutation, selectSessionMutations, selectTuttiModeActivationPresentation, selectTuttiModeDraftIsActive, selectTuttiModeDraftOrchestrationIntensity, selectWorkspaceAgentConsumerCounts, selectWorkspaceAgentConsumerSession, selectWorkspaceAgentConsumerSessions, selectWorkspaceAgentRootConversationSessions, selectWorkspaceReconcileState, sessionActivationPresentationMapsEqual, tuttiModeActivationPresentationsEqual, workspaceAgentSessionStatus };
|