@qlairoslabs/acp-client 0.7.4 → 0.8.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/CHANGELOG-audit.md +58 -0
- package/CONSUMER_GUIDE.md +452 -19
- package/package.json +6 -1
- package/src/agent-adapter-registry.ts +66 -0
- package/src/agent-conversation-continuation.ts +121 -0
- package/src/agent-conversation-contracts.ts +279 -0
- package/src/agent-conversation-errors.ts +31 -0
- package/src/agent-conversation-owner.ts +55 -0
- package/src/agent-conversation-presentation.ts +217 -0
- package/src/agent-conversation-queue.ts +44 -0
- package/src/agent-conversation.ts +41 -0
- package/src/agent-ids.ts +50 -0
- package/src/agent-session.ts +973 -673
- package/src/agent.ts +1175 -0
- package/src/audit/config.ts +186 -0
- package/src/audit/contracts.ts +59 -0
- package/src/audit/index.ts +50 -0
- package/src/audit/projection.ts +125 -0
- package/src/audit/reader.ts +371 -0
- package/src/audit/runtime.ts +1060 -0
- package/src/checkpointing/config.ts +91 -0
- package/src/checkpointing/contracts.ts +45 -0
- package/src/checkpointing/coordinator.ts +100 -0
- package/src/checkpointing/ids.ts +5 -0
- package/src/checkpointing/index.ts +6 -0
- package/src/checkpointing/persistence/sqlite-repository.ts +159 -0
- package/src/checkpointing/recovery.ts +114 -0
- package/src/checkpointing/strategy.ts +139 -0
- package/src/identity.ts +62 -0
- package/src/index.ts +117 -0
- package/src/internal-inference/config.ts +68 -0
- package/src/internal-inference/contracts.ts +218 -0
- package/src/internal-inference/coordination/handles.ts +133 -0
- package/src/internal-inference/coordination/manager.ts +487 -0
- package/src/internal-inference/ids.ts +10 -0
- package/src/internal-inference/index.ts +10 -0
- package/src/internal-inference/persistence/records.ts +132 -0
- package/src/internal-inference/persistence/repository.ts +35 -0
- package/src/internal-inference/persistence/sqlite-repository.ts +551 -0
- package/src/internal-inference/runtime/harness-runtime.ts +78 -0
- package/src/internal-inference/strategy/registry.ts +42 -0
- package/src/metering/engine.ts +47 -0
- package/src/metering/record.ts +4 -1
- package/src/observation/contracts.ts +10 -0
- package/src/observation/index.ts +8 -0
- package/src/observation/subscription-hub.ts +43 -0
- package/src/persistence/activity-projection.ts +26 -12
- package/src/persistence/backend.ts +774 -0
- package/src/persistence/index.ts +99 -0
- package/src/persistence/sqlite-backend.ts +1927 -0
- package/src/persistence/sqlite-conversation-records.ts +425 -0
- package/src/persistence/sqlite-owner-lock.ts +106 -0
- package/src/persistence/sqlite-schema.ts +561 -0
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
export {
|
|
2
|
+
CONVERSATION_RECORD_KINDS,
|
|
3
|
+
DEFAULT_CONVERSATION_RECORD_CAPTURE,
|
|
4
|
+
IMPLICIT_USER_PARTICIPANT_ID,
|
|
5
|
+
PARTICIPANT_KINDS,
|
|
6
|
+
PersistenceCapabilityError,
|
|
7
|
+
PersistenceConflictError,
|
|
8
|
+
isConversationRecordKind,
|
|
9
|
+
isParticipantKind,
|
|
10
|
+
normalizeParticipantRef,
|
|
11
|
+
resolveConversationRecordCapture,
|
|
12
|
+
shouldCaptureProtocolMethod,
|
|
13
|
+
searchableText,
|
|
14
|
+
} from "./backend.ts";
|
|
15
|
+
export type {
|
|
16
|
+
ActivityRecord,
|
|
17
|
+
AgentActionRecord,
|
|
18
|
+
AgentConversationSummary,
|
|
19
|
+
AgentAuditState,
|
|
20
|
+
AgentPersistenceIdentity,
|
|
21
|
+
AuditOutboxItem,
|
|
22
|
+
AuditOutboxBacklog,
|
|
23
|
+
AuditOutboxPersistence,
|
|
24
|
+
ConfigurationRecord,
|
|
25
|
+
ConversationCheckpointPersistence,
|
|
26
|
+
ConversationListOptions,
|
|
27
|
+
ConversationMessagePersistence,
|
|
28
|
+
ConversationPage,
|
|
29
|
+
ConversationPersistence,
|
|
30
|
+
ConversationRecord,
|
|
31
|
+
ConversationRecordCaptureConfig,
|
|
32
|
+
ConversationRecordCapturePolicy,
|
|
33
|
+
ConversationRecordEnvelope,
|
|
34
|
+
ConversationRecordKind,
|
|
35
|
+
ConversationRecordPage,
|
|
36
|
+
ConversationRecordPersistence,
|
|
37
|
+
ConversationRuntimeCheckpoint,
|
|
38
|
+
CreateAgentConversationInput,
|
|
39
|
+
IdentityMemoryObservation,
|
|
40
|
+
IdentityPersistence,
|
|
41
|
+
IdentityProjectionState,
|
|
42
|
+
MessageListOptions,
|
|
43
|
+
MessagePage,
|
|
44
|
+
MessageRecord,
|
|
45
|
+
AgentMeteringCommitInput,
|
|
46
|
+
MeteringCommitInput,
|
|
47
|
+
MeteringPersistence,
|
|
48
|
+
MeteringRecordListOptions,
|
|
49
|
+
MeteringRecordPage,
|
|
50
|
+
MeteringRecordRetention,
|
|
51
|
+
MeteringReferenceRecord,
|
|
52
|
+
ProtocolRecordCapture,
|
|
53
|
+
ProtocolRecordCaptureLevel,
|
|
54
|
+
ProtocolRecordCaptureOptions,
|
|
55
|
+
ResolvedProtocolRecordCapturePolicy,
|
|
56
|
+
NativeActionRecord,
|
|
57
|
+
NewAuditOutboxItem,
|
|
58
|
+
NewConversationRecord,
|
|
59
|
+
NewIdentityMemoryObservation,
|
|
60
|
+
ParticipantKind,
|
|
61
|
+
ParticipantRef,
|
|
62
|
+
PersistedContent,
|
|
63
|
+
PersistedContentBlock,
|
|
64
|
+
PersistedIdentitySnapshot,
|
|
65
|
+
PersistedAgentMeteringState,
|
|
66
|
+
PersistedConversationMeteringState,
|
|
67
|
+
PersistenceBackend,
|
|
68
|
+
PersistenceCapabilities,
|
|
69
|
+
PersistenceExtension,
|
|
70
|
+
PersistenceExtensionCatalog,
|
|
71
|
+
PersistenceExtensionMigrationContext,
|
|
72
|
+
PersistenceExtensionRegistration,
|
|
73
|
+
PersistenceJsonPrimitive,
|
|
74
|
+
PersistenceJsonValue,
|
|
75
|
+
PersistenceScope,
|
|
76
|
+
PermissionRecord,
|
|
77
|
+
ProtocolRecord,
|
|
78
|
+
ProviderSessionPersistence,
|
|
79
|
+
ProviderSessionRecord,
|
|
80
|
+
RecordCaptureLevel,
|
|
81
|
+
RecordListOptions,
|
|
82
|
+
SearchMatch,
|
|
83
|
+
SearchPersistence,
|
|
84
|
+
SearchQuery,
|
|
85
|
+
ThinkingRecord,
|
|
86
|
+
ToolCallRecord,
|
|
87
|
+
VectorIndex,
|
|
88
|
+
VectorSearchMatch,
|
|
89
|
+
VectorSearchQuery,
|
|
90
|
+
} from "./backend.ts";
|
|
91
|
+
|
|
92
|
+
export {
|
|
93
|
+
AgentDatabaseInUseError,
|
|
94
|
+
SqliteAgentPersistence,
|
|
95
|
+
hasSafeConcurrentWal,
|
|
96
|
+
requireSqliteSearch,
|
|
97
|
+
} from "./sqlite-backend.ts";
|
|
98
|
+
export type { SqliteAgentPersistenceConfig } from "./sqlite-backend.ts";
|
|
99
|
+
export { SQLITE_AGENT_SCHEMA_VERSION } from "./sqlite-schema.ts";
|