@spine-event-engine/storage-postgres 2.0.0-snapshot.21 → 2.0.0-snapshot.23
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 +14 -4
- package/REFERENCE.md +40 -6
- package/dist/postgres/agent-execution.d.ts +284 -0
- package/dist/postgres/agent-execution.d.ts.map +1 -0
- package/dist/postgres/agent-execution.js +648 -0
- package/dist/postgres/agent-execution.js.map +1 -0
- package/dist/postgres/agent-history.d.ts +114 -0
- package/dist/postgres/agent-history.d.ts.map +1 -0
- package/dist/postgres/agent-history.js +225 -0
- package/dist/postgres/agent-history.js.map +1 -0
- package/dist/postgres/entity-commit.d.ts +20 -0
- package/dist/postgres/entity-commit.d.ts.map +1 -1
- package/dist/postgres/entity-commit.js +29 -1
- package/dist/postgres/entity-commit.js.map +1 -1
- package/dist/postgres/storage-factory.d.ts +9 -0
- package/dist/postgres/storage-factory.d.ts.map +1 -1
- package/dist/postgres/storage-factory.js +91 -2
- package/dist/postgres/storage-factory.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -8,6 +8,10 @@ with live acceptance recorded against PostgreSQL 16.15 and 18.6.
|
|
|
8
8
|
This is an experimental snapshot package. Use Node 24 or newer. For the precise
|
|
9
9
|
public API and operational rules, see the [coding-agent reference](REFERENCE.md).
|
|
10
10
|
|
|
11
|
+
Agent repositories can use this factory to retain accepted work and conversation
|
|
12
|
+
history across restarts. Their state and execution completion are saved together
|
|
13
|
+
in PostgreSQL; a model call does not keep a database transaction open.
|
|
14
|
+
|
|
11
15
|
## Install
|
|
12
16
|
|
|
13
17
|
```sh
|
|
@@ -73,14 +77,20 @@ text collation. Collation ordering can differ from JavaScript ordering, so
|
|
|
73
77
|
applications should choose and document their database collation deliberately.
|
|
74
78
|
|
|
75
79
|
`google.protobuf.Timestamp` columns are epoch nanoseconds in `BIGINT`, and
|
|
76
|
-
`spine.core.Version` columns are numeric `INT`.
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
+
`spine.core.Version` columns are numeric `INT`. Indexed timestamp values must
|
|
81
|
+
fit signed 64-bit epoch nanoseconds (approximately 1677–2262 UTC); the broader
|
|
82
|
+
Protobuf `Timestamp` range does not extend this SQL column range. Generated
|
|
83
|
+
names use the JVM physical-name renderer: ASCII unquoted spelling folds to
|
|
84
|
+
lowercase; names are limited to 63 UTF-8 bytes, and case-folded or byte-limit
|
|
85
|
+
collisions are rejected before the database is accessed.
|
|
80
86
|
|
|
81
87
|
## Live integration checks
|
|
82
88
|
|
|
83
89
|
The live suite is opt-in and requires an already running PostgreSQL service.
|
|
90
|
+
Use disposable test databases and a PostgreSQL superuser for this suite. The Agent
|
|
91
|
+
history regressions alter index catalog flags in isolated temporary schemas to
|
|
92
|
+
check rejection of invalid or unfinished indexes; these schemas are removed after
|
|
93
|
+
each test. The production adapter does not require superuser access.
|
|
84
94
|
No container or database is started automatically:
|
|
85
95
|
|
|
86
96
|
```sh
|
package/REFERENCE.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# @spine-event-engine/storage-postgres reference
|
|
2
2
|
|
|
3
3
|
This reference describes the public PostgreSQL adapter contract for coding
|
|
4
|
-
agents
|
|
4
|
+
agents.
|
|
5
5
|
|
|
6
6
|
## Public entry point
|
|
7
7
|
|
|
@@ -53,10 +53,41 @@ ordering; and finite limits. They do not support normalized offsets:
|
|
|
53
53
|
`RecordQuery.offset` is the separate provider-side pagination feature.
|
|
54
54
|
|
|
55
55
|
`Timestamp` values are stored as epoch nanoseconds in `BIGINT`; `Version` is
|
|
56
|
-
stored as numeric `INT`.
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
56
|
+
stored as numeric `INT`. Indexed timestamp values must fit signed 64-bit epoch
|
|
57
|
+
nanoseconds (approximately 1677–2262 UTC); Protobuf's wider `Timestamp` range
|
|
58
|
+
does not expand this SQL range. The JVM-compatible physical-name renderer folds
|
|
59
|
+
plain, non-reserved ASCII identifiers only. Reserved and quoted-required names
|
|
60
|
+
preserve their spelling; all names reject NUL, unsafe values, 63-byte overflow,
|
|
61
|
+
and collisions before DDL, DML, or catalog inspection.
|
|
62
|
+
|
|
63
|
+
## Agent history
|
|
64
|
+
|
|
65
|
+
The provider-only Agent history handle stores `AgentHistoryRecord` in one
|
|
66
|
+
`agent_history` record family per selected tenant database. Its payload retains
|
|
67
|
+
the original complete `AgentHistoryEntry` and full state type and Agent key.
|
|
68
|
+
SHA-256 digests provide bounded physical record IDs and indexed scope keys;
|
|
69
|
+
reads also compare the complete state type and Agent key. Three validated B-tree
|
|
70
|
+
indexes cover scope plus full order, scope plus category plus full order, and
|
|
71
|
+
scope plus conversation digest plus full order. Conversation reads also compare
|
|
72
|
+
the complete conversation key. `order_key` encodes original seconds,
|
|
73
|
+
nanoseconds, category, and unsigned UTF-8 record ID under PostgreSQL `C`
|
|
74
|
+
collation. The handle rejects incompatible existing same-name indexes; native
|
|
75
|
+
B-tree entry limits still apply to exceptionally long record IDs. Pages use
|
|
76
|
+
bounded SQL chunks and sum serialized entry bytes; a fetched chunk can be
|
|
77
|
+
larger than the returned byte budget.
|
|
78
|
+
|
|
79
|
+
## Agent execution
|
|
80
|
+
|
|
81
|
+
Agent execution records and per-instance pending entries are stored in separate
|
|
82
|
+
tenant database tables. Indexed queries select the next eligible instance and
|
|
83
|
+
the first unresolved signal within it. Required B-tree indexes use complete
|
|
84
|
+
binary-comparable ordering keys and are checked before admission.
|
|
85
|
+
|
|
86
|
+
Claims, history updates and conditional Entity completion use the same native
|
|
87
|
+
transaction connection. Completion compares the original Entity Version before
|
|
88
|
+
writing the resulting state, history, preferences and outgoing signals. Reopening
|
|
89
|
+
a factory can read the saved work. No database transaction remains open while a
|
|
90
|
+
model request runs.
|
|
60
91
|
|
|
61
92
|
## Lifecycle and errors
|
|
62
93
|
|
|
@@ -75,7 +106,10 @@ compiler internals.
|
|
|
75
106
|
|
|
76
107
|
## Live verification
|
|
77
108
|
|
|
78
|
-
The infrastructure suite is intentionally excluded from ordinary CI.
|
|
109
|
+
The infrastructure suite is intentionally excluded from ordinary CI. Its Agent
|
|
110
|
+
history regressions require a superuser to alter index catalog flags within
|
|
111
|
+
disposable temporary schemas, which are removed after each test. This is a test
|
|
112
|
+
requirement; the production adapter does not require superuser access. Supply
|
|
79
113
|
explicit `SPINE_TS_POSTGRESQL_URL`, `SPINE_TS_POSTGRESQL_TENANT_A_URL`, and
|
|
80
114
|
`SPINE_TS_POSTGRESQL_TENANT_B_URL` values naming three test databases, then run
|
|
81
115
|
the package's `test:postgresql:16`
|
|
@@ -0,0 +1,284 @@
|
|
|
1
|
+
import { type Message } from "@bufbuild/protobuf";
|
|
2
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
|
+
import { type AgentAcceptedInvocation, type AgentExecutionHead, type AgentExecutionRecord, type AgentInvocationKey, type AgentSignalKey } from "@spine-event-engine/proto/generated/spine/server/agent/execution_record_pb.js";
|
|
4
|
+
import type { AgentHistoryRecord } from "@spine-event-engine/proto/generated/spine/server/agent/history_record_pb.js";
|
|
5
|
+
import type { EntityRecord } from "@spine-event-engine/proto/generated/spine/server/entity/entity_pb.js";
|
|
6
|
+
import { type AgentExecutionStorage, type AgentExecutionCapacity, type AgentExecutionStorageInput, type AgentExecutionClaim, type AgentExecutionUpdate, type AgentExecutionComplete, type AgentPendingRead, type AgentPendingPage } from "@spine-event-engine/storage/provider";
|
|
7
|
+
import { PostgresRecordStorage } from "./record-storage.js";
|
|
8
|
+
import { PostgresEntityCommitStorage } from "./entity-commit.js";
|
|
9
|
+
/**
|
|
10
|
+
* Persists accepted Agent work, exclusive claims and deterministic evidence.
|
|
11
|
+
*
|
|
12
|
+
* @typeParam I Typed Agent identifier.
|
|
13
|
+
* @typeParam S Generated Agent state.
|
|
14
|
+
*/
|
|
15
|
+
export declare class PostgresAgentExecution<I, S extends Message> implements AgentExecutionStorage<I, S> {
|
|
16
|
+
#private;
|
|
17
|
+
private readonly input;
|
|
18
|
+
private readonly invocation;
|
|
19
|
+
private readonly head;
|
|
20
|
+
private readonly history;
|
|
21
|
+
private readonly current;
|
|
22
|
+
private readonly commits;
|
|
23
|
+
/**
|
|
24
|
+
* PostgreSQL has no tighter fixed row limit in this provider contract.
|
|
25
|
+
*/
|
|
26
|
+
readonly capacity: AgentExecutionCapacity;
|
|
27
|
+
/**
|
|
28
|
+
* Binds prepared record families to one Agent repository and tenant boundary.
|
|
29
|
+
*
|
|
30
|
+
* @param input Agent repository and current Entity layout.
|
|
31
|
+
* @param invocation Mutable invocation records.
|
|
32
|
+
* @param head Per-instance claim and current preference records.
|
|
33
|
+
* @param history Immutable Agent conversation, System and domain entries.
|
|
34
|
+
* @param current Existing Entity current records used for no-op version checks.
|
|
35
|
+
* @param commits Opens the existing conditional Entity commit coordinator.
|
|
36
|
+
*/
|
|
37
|
+
constructor(input: AgentExecutionStorageInput<I, S>, invocation: PostgresRecordStorage<string, AgentExecutionRecord>, head: PostgresRecordStorage<string, AgentExecutionHead>, history: PostgresRecordStorage<string, AgentHistoryRecord>, current: PostgresRecordStorage<I, EntityRecord>, commits: () => PostgresEntityCommitStorage<I, S>);
|
|
38
|
+
/**
|
|
39
|
+
* Persists original accepted work idempotently under its per-instance lock.
|
|
40
|
+
*
|
|
41
|
+
* @param accepted Complete source signal and selected bindings.
|
|
42
|
+
* @returns Detached stored invocation.
|
|
43
|
+
*/
|
|
44
|
+
admit(accepted: AgentAcceptedInvocation): Promise<AgentExecutionRecord>;
|
|
45
|
+
/**
|
|
46
|
+
* Reads a bounded indexed page of eligible accepted or interrupted work.
|
|
47
|
+
*
|
|
48
|
+
* @param request Complete continuation and page count.
|
|
49
|
+
* @returns Detached records and continuation state.
|
|
50
|
+
*/
|
|
51
|
+
pending(request: AgentPendingRead): Promise<AgentPendingPage>;
|
|
52
|
+
/**
|
|
53
|
+
* Builds one binary-collated native pending-head query.
|
|
54
|
+
*
|
|
55
|
+
* @param request Bounded pending-page request.
|
|
56
|
+
* @param asOf Fixed provider-time eligibility cutoff.
|
|
57
|
+
* @param table Resolved head table in the current schema.
|
|
58
|
+
* @returns Native SQL and exact bound values.
|
|
59
|
+
*/
|
|
60
|
+
private pendingQuery;
|
|
61
|
+
/**
|
|
62
|
+
* Reads one complete persisted invocation.
|
|
63
|
+
*
|
|
64
|
+
* @param key Original source and Agent instance identity.
|
|
65
|
+
* @returns Detached record if present.
|
|
66
|
+
*/
|
|
67
|
+
read(key: AgentInvocationKey): Promise<AgentExecutionRecord | undefined>;
|
|
68
|
+
/**
|
|
69
|
+
* Acquires only earliest unresolved same-instance work under a fresh transaction clock.
|
|
70
|
+
*
|
|
71
|
+
* @param key Original source and Agent instance identity.
|
|
72
|
+
* @param token New exclusive token.
|
|
73
|
+
* @param expiresAt Requested future expiry.
|
|
74
|
+
* @returns Claimed record and current preferences, when eligible.
|
|
75
|
+
*/
|
|
76
|
+
claim(key: AgentInvocationKey, token: string, expiresAt: Timestamp): Promise<AgentExecutionClaim | undefined>;
|
|
77
|
+
/**
|
|
78
|
+
* Checks the locked instance and persists one exclusive lease.
|
|
79
|
+
*
|
|
80
|
+
* @param client Native client in the current transaction.
|
|
81
|
+
* @param rows Tenant record executors.
|
|
82
|
+
* @param key Original Agent invocation identity.
|
|
83
|
+
* @param token New exclusive token.
|
|
84
|
+
* @param expiresAt Requested future lease expiry.
|
|
85
|
+
* @returns Claimed record and preferences when eligible.
|
|
86
|
+
*/
|
|
87
|
+
private claimLocked;
|
|
88
|
+
/**
|
|
89
|
+
* Checks the current head and earliest same-instance source.
|
|
90
|
+
*
|
|
91
|
+
* @param client Native client in the current transaction.
|
|
92
|
+
* @param rows Tenant record executors.
|
|
93
|
+
* @param head Per-instance pending and lease record.
|
|
94
|
+
* @param key Original Agent invocation identity.
|
|
95
|
+
* @param now Fresh time read under the per-instance lock.
|
|
96
|
+
* @returns Whether this invocation may receive the next lease.
|
|
97
|
+
*/
|
|
98
|
+
private eligibleClaim;
|
|
99
|
+
/**
|
|
100
|
+
* Updates one still-current lease under the per-instance transaction lock.
|
|
101
|
+
*
|
|
102
|
+
* @param key Original source and Agent instance identity.
|
|
103
|
+
* @param token Current exclusive token.
|
|
104
|
+
* @param expiresAt Requested later expiry.
|
|
105
|
+
* @returns Whether renewal succeeded.
|
|
106
|
+
*/
|
|
107
|
+
renew(key: AgentInvocationKey, token: string, expiresAt: Timestamp): Promise<boolean>;
|
|
108
|
+
/**
|
|
109
|
+
* Persists one execution update and its immutable history rows in the same transaction.
|
|
110
|
+
*
|
|
111
|
+
* @param input Exact read image, next execution record and history entries.
|
|
112
|
+
* @returns Completion after fenced evidence is persisted.
|
|
113
|
+
*/
|
|
114
|
+
update(input: AgentExecutionUpdate): Promise<void>;
|
|
115
|
+
/**
|
|
116
|
+
* Commits Entity state, history, preferences and outgoing obligations together.
|
|
117
|
+
*
|
|
118
|
+
* @param input Complete conditional transition.
|
|
119
|
+
* @returns Completion after conditional Entity and evidence commit.
|
|
120
|
+
*/
|
|
121
|
+
complete(input: AgentExecutionComplete<I, S>): Promise<void>;
|
|
122
|
+
/**
|
|
123
|
+
* Applies every conditional completion row on one transaction client.
|
|
124
|
+
*
|
|
125
|
+
* @param client Native database client in the current transaction.
|
|
126
|
+
* @param input Requested fenced execution change.
|
|
127
|
+
* @param prepared Prepared Entity state and Version write.
|
|
128
|
+
* @param rows Provider record handles bound to the tenant.
|
|
129
|
+
* @returns Completion after Entity and execution evidence commit.
|
|
130
|
+
*/
|
|
131
|
+
private completeLocked;
|
|
132
|
+
/**
|
|
133
|
+
* Validates one Version increment or no-op and a nonterminal prior phase.
|
|
134
|
+
*
|
|
135
|
+
* @param input Requested fenced execution change.
|
|
136
|
+
* @param prior Previously persisted execution record.
|
|
137
|
+
* @returns Expected initial Entity Version.
|
|
138
|
+
*/
|
|
139
|
+
private validateCompletion;
|
|
140
|
+
/**
|
|
141
|
+
* Marks original outgoing IDs accepted by normal delivery.
|
|
142
|
+
*
|
|
143
|
+
* @param key Original source and Agent instance identity.
|
|
144
|
+
* @param token Current exclusive token.
|
|
145
|
+
* @param expectedRecordBytes Exact previous record bytes.
|
|
146
|
+
* @param signals Original accepted output IDs.
|
|
147
|
+
* @returns Completion after original output IDs are marked delivered.
|
|
148
|
+
*/
|
|
149
|
+
markDelivered(key: AgentInvocationKey, token: string, expectedRecordBytes: Uint8Array, signals: readonly AgentSignalKey[]): Promise<void>;
|
|
150
|
+
/**
|
|
151
|
+
* Marks original output IDs while the per-instance native lock is held.
|
|
152
|
+
*
|
|
153
|
+
* @param client Native client in the current transaction.
|
|
154
|
+
* @param rows Tenant record executors.
|
|
155
|
+
* @param key Original Agent invocation identity.
|
|
156
|
+
* @param token Current exclusive claim token.
|
|
157
|
+
* @param expectedRecordBytes Exact prior execution record bytes.
|
|
158
|
+
* @param signals Original accepted output IDs.
|
|
159
|
+
* @returns Completion after persisted output status is updated.
|
|
160
|
+
*/
|
|
161
|
+
private deliverLocked;
|
|
162
|
+
/**
|
|
163
|
+
* Closes all provider record handles without deleting persisted work.
|
|
164
|
+
*/
|
|
165
|
+
close(): void;
|
|
166
|
+
/**
|
|
167
|
+
* Rejects calls after handle closure.
|
|
168
|
+
*/
|
|
169
|
+
private requireOpen;
|
|
170
|
+
/**
|
|
171
|
+
* Prepares three existing record families and required native indexes once.
|
|
172
|
+
*
|
|
173
|
+
* @returns Completion after provider capabilities are checked.
|
|
174
|
+
*/
|
|
175
|
+
private ready;
|
|
176
|
+
/**
|
|
177
|
+
* Ensures full scoped order and expiry indexes before accepted work.
|
|
178
|
+
*
|
|
179
|
+
* @returns Completion after native tables and indexes are prepared.
|
|
180
|
+
*/
|
|
181
|
+
private initialize;
|
|
182
|
+
/**
|
|
183
|
+
* Acquires a transaction-scoped lock even when the head row is absent.
|
|
184
|
+
*
|
|
185
|
+
* @param client Native database client in the current transaction.
|
|
186
|
+
* @param key Original Agent invocation identity.
|
|
187
|
+
* @param rows Provider record handles bound to the tenant.
|
|
188
|
+
* @returns Completion after locking the per-instance head.
|
|
189
|
+
*/
|
|
190
|
+
private lockHead;
|
|
191
|
+
/**
|
|
192
|
+
* Reads one head and rejects a physical digest collision.
|
|
193
|
+
*
|
|
194
|
+
* @param client Native database client in the current transaction.
|
|
195
|
+
* @param key Original Agent invocation identity.
|
|
196
|
+
* @param rows Provider record handles bound to the tenant.
|
|
197
|
+
* @returns Per-instance head when present.
|
|
198
|
+
*/
|
|
199
|
+
private currentHead;
|
|
200
|
+
/**
|
|
201
|
+
* Reads one invocation and rejects a physical digest collision.
|
|
202
|
+
*
|
|
203
|
+
* @param client Native database client in the current transaction.
|
|
204
|
+
* @param key Original Agent invocation identity.
|
|
205
|
+
* @param rows Provider record handles bound to the tenant.
|
|
206
|
+
* @returns Stored invocation when present.
|
|
207
|
+
*/
|
|
208
|
+
private existing;
|
|
209
|
+
/**
|
|
210
|
+
* Checks fresh Time, exact token and complete previous record bytes.
|
|
211
|
+
*
|
|
212
|
+
* @param checkNext Whether to validate the proposed next record.
|
|
213
|
+
* @param client Native database client in the current transaction.
|
|
214
|
+
* @param input Requested fenced execution change.
|
|
215
|
+
* @param rows Provider record handles bound to the tenant.
|
|
216
|
+
* @returns Current fenced record and head.
|
|
217
|
+
*/
|
|
218
|
+
private expected;
|
|
219
|
+
/**
|
|
220
|
+
* Reads claimed rows under the already acquired per-instance lock.
|
|
221
|
+
*
|
|
222
|
+
* @param client Native database client in the current transaction.
|
|
223
|
+
* @param key Original Agent invocation identity.
|
|
224
|
+
* @param rows Provider record handles bound to the tenant.
|
|
225
|
+
* @param token Exclusive claim token.
|
|
226
|
+
* @returns Current record and head if the token remains valid.
|
|
227
|
+
*/
|
|
228
|
+
private claimed;
|
|
229
|
+
/**
|
|
230
|
+
* Checks no earlier unresolved signal in the same full Agent scope.
|
|
231
|
+
*
|
|
232
|
+
* @param client Native database client in the current transaction.
|
|
233
|
+
* @param key Original Agent invocation identity.
|
|
234
|
+
* @param rows Provider record handles bound to the tenant.
|
|
235
|
+
* @returns Whether this invocation is earliest unresolved work.
|
|
236
|
+
*/
|
|
237
|
+
private earliest;
|
|
238
|
+
/**
|
|
239
|
+
* Adds an earlier accepted source without resetting an existing eligibility.
|
|
240
|
+
*
|
|
241
|
+
* @param head Per-instance pending and lease record.
|
|
242
|
+
* @param record Persisted Agent execution record.
|
|
243
|
+
*/
|
|
244
|
+
private offerCandidate;
|
|
245
|
+
/**
|
|
246
|
+
* Updates the head to one bounded native successor before terminal publication.
|
|
247
|
+
*
|
|
248
|
+
* @param client Native database client in the current transaction.
|
|
249
|
+
* @param head Per-instance pending and lease record.
|
|
250
|
+
* @param key Original Agent invocation identity.
|
|
251
|
+
* @param order Original Inbox order.
|
|
252
|
+
* @param rows Provider record handles bound to the tenant.
|
|
253
|
+
* @returns Completion after updating the next pending head.
|
|
254
|
+
*/
|
|
255
|
+
private advanceCandidate;
|
|
256
|
+
/**
|
|
257
|
+
* Reads at most two rows per unresolved status in original Inbox order.
|
|
258
|
+
*
|
|
259
|
+
* @param client Native database client in the current transaction.
|
|
260
|
+
* @param exclude Invocation omitted while selecting the successor.
|
|
261
|
+
* @param key Original Agent invocation identity.
|
|
262
|
+
* @param rows Provider record handles bound to the tenant.
|
|
263
|
+
* @returns Earliest unresolved invocation when present.
|
|
264
|
+
*/
|
|
265
|
+
private successor;
|
|
266
|
+
/**
|
|
267
|
+
* Builds the bounded native query for one unresolved invocation status.
|
|
268
|
+
*
|
|
269
|
+
* @param table Resolved invocation table in the current schema.
|
|
270
|
+
* @returns Complete indexed successor query.
|
|
271
|
+
*/
|
|
272
|
+
private successorSql;
|
|
273
|
+
/**
|
|
274
|
+
* Validates current Version and applies optional Entity rows in this transaction.
|
|
275
|
+
*
|
|
276
|
+
* @param client Native database client in the current transaction.
|
|
277
|
+
* @param expectedVersion Expected current Entity Version.
|
|
278
|
+
* @param input Requested fenced execution change.
|
|
279
|
+
* @param prepared Prepared Entity state and Version write.
|
|
280
|
+
* @returns Completion after conditional Entity state and Version write.
|
|
281
|
+
*/
|
|
282
|
+
private completeEntity;
|
|
283
|
+
}
|
|
284
|
+
//# sourceMappingURL=agent-execution.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent-execution.d.ts","sourceRoot":"","sources":["../../src/postgres/agent-execution.ts"],"names":[],"mappings":"AAcA,OAAO,EAAoB,KAAK,OAAO,EAAE,MAAM,oBAAoB,CAAC;AACpE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAGxD,OAAO,EAIL,KAAK,uBAAuB,EAC5B,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACpB,MAAM,+EAA+E,CAAC;AACvF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6EAA6E,CAAC;AACtH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sEAAsE,CAAC;AACzG,OAAO,EAKL,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,0BAA0B,EAC/B,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACtB,MAAM,sCAAsC,CAAC;AAI9C,OAAO,EAAE,qBAAqB,EAA+B,MAAM,qBAAqB,CAAC;AACzF,OAAO,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AAWjE;;;;;GAKG;AACH,qBAAa,sBAAsB,CAAC,CAAC,EAAE,CAAC,SAAS,OAAO,CAAE,YAAW,qBAAqB,CAAC,CAAC,EAAE,CAAC,CAAC;;IAqB5F,OAAO,CAAC,QAAQ,CAAC,KAAK;IACtB,OAAO,CAAC,QAAQ,CAAC,UAAU;IAC3B,OAAO,CAAC,QAAQ,CAAC,IAAI;IACrB,OAAO,CAAC,QAAQ,CAAC,OAAO;IACxB,OAAO,CAAC,QAAQ,CAAC,OAAO;IACxB,OAAO,CAAC,QAAQ,CAAC,OAAO;IAr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