@sixb/pg 0.1.25 → 0.2.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/README.md +25 -1
- package/dist/agents/agent-storage.d.ts +8 -3
- package/dist/agents/agent-storage.d.ts.map +1 -1
- package/dist/agents/computers.d.ts +22 -0
- package/dist/agents/computers.d.ts.map +1 -0
- package/dist/agents/messages.d.ts.map +1 -1
- package/dist/agents/rows.d.ts +6 -0
- package/dist/agents/rows.d.ts.map +1 -1
- package/dist/agents/runs.d.ts +2 -1
- package/dist/agents/runs.d.ts.map +1 -1
- package/dist/agents/threads.d.ts +3 -1
- package/dist/agents/threads.d.ts.map +1 -1
- package/dist/agents/token-rates.d.ts +13 -0
- package/dist/agents/token-rates.d.ts.map +1 -0
- package/dist/ai-accounting-filters.d.ts +12 -0
- package/dist/ai-accounting-filters.d.ts.map +1 -0
- package/dist/ai-cost-groups.d.ts +1 -1
- package/dist/ai-cost-groups.d.ts.map +1 -1
- package/dist/index.d.ts +5 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1446 -588
- package/dist/index.js.map +30 -25
- package/dist/migrations.d.ts.map +1 -1
- package/dist/objects/index.d.ts +1 -0
- package/dist/objects/index.d.ts.map +1 -1
- package/dist/objects/partitions.d.ts +10 -0
- package/dist/objects/partitions.d.ts.map +1 -0
- package/dist/objects/prepare-queries.d.ts.map +1 -1
- package/dist/objects/query-compiler.d.ts +5 -0
- package/dist/objects/query-compiler.d.ts.map +1 -1
- package/dist/objects/query-indexes.d.ts +19 -1
- package/dist/objects/query-indexes.d.ts.map +1 -1
- package/dist/objects/reader.d.ts +3 -1
- package/dist/objects/reader.d.ts.map +1 -1
- package/dist/objects/sql-text.d.ts +3 -0
- package/dist/objects/sql-text.d.ts.map +1 -0
- package/dist/objects/storage.d.ts +3 -1
- package/dist/objects/storage.d.ts.map +1 -1
- package/dist/objects/text-count-index.d.ts.map +1 -1
- package/dist/ontology-storage/commits.d.ts.map +1 -1
- package/dist/ontology-storage/materialization-session.d.ts +7 -1
- package/dist/ontology-storage/materialization-session.d.ts.map +1 -1
- package/dist/ontology-storage/materialization-writer.d.ts +2 -0
- package/dist/ontology-storage/materialization-writer.d.ts.map +1 -1
- package/dist/ontology-storage/materializations.d.ts +2 -1
- package/dist/ontology-storage/materializations.d.ts.map +1 -1
- package/dist/pg-ai-cost-storage.d.ts.map +1 -1
- package/dist/pg-client.d.ts +1 -1
- package/dist/pg-client.d.ts.map +1 -1
- package/dist/storage-errors.d.ts +4 -1
- package/dist/storage-errors.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/agents/agent-storage.ts +10 -3
- package/src/agents/computers.ts +95 -0
- package/src/agents/messages.ts +15 -0
- package/src/agents/rows.ts +14 -0
- package/src/agents/runs.ts +56 -4
- package/src/agents/threads.ts +123 -2
- package/src/agents/token-rates.ts +76 -0
- package/src/ai-accounting-filters.ts +48 -0
- package/src/ai-cost-groups.ts +37 -12
- package/src/index.ts +21 -8
- package/src/migrations/082-agent-run-cancel-requests.sql +3 -0
- package/src/migrations/083-agent-thread-runs-on.sql +4 -0
- package/src/migrations/084-agent-token-rates.sql +16 -0
- package/src/migrations/085-agent-computer-sessions.sql +27 -0
- package/src/migrations/086-partition-objects.sql +93 -0
- package/src/migrations.ts +14 -0
- package/src/objects/index.ts +1 -0
- package/src/objects/partitions.ts +163 -0
- package/src/objects/prepare-queries.ts +50 -2
- package/src/objects/query-compiler.ts +136 -96
- package/src/objects/query-indexes.ts +120 -63
- package/src/objects/reader.ts +5 -4
- package/src/objects/sql-text.ts +8 -0
- package/src/objects/storage.ts +14 -2
- package/src/objects/text-count-index.ts +17 -12
- package/src/ontology-storage/commits.ts +11 -2
- package/src/ontology-storage/materialization-session.ts +10 -1
- package/src/ontology-storage/materialization-writer.ts +14 -0
- package/src/ontology-storage/materializations.ts +81 -7
- package/src/pg-ai-cost-storage.ts +119 -15
- package/src/pg-client.ts +13 -6
- package/src/storage-errors.ts +28 -1
package/README.md
CHANGED
|
@@ -81,7 +81,7 @@ Tested with pgvector 0.8.1; no approximate index is created.
|
|
|
81
81
|
| `max` | `10` | Pool size. Size it per role, not per project — an API replica and a worker each get their own pool. |
|
|
82
82
|
| `statementTimeoutMillis` | unset | A single stalled query can otherwise pin its connection until the process restarts. Keep it generous or unset for workers that run long bulk writes. |
|
|
83
83
|
| `idleInTransactionSessionTimeoutMillis` | unset | Aborts transactions left open and idle, releasing the connection. |
|
|
84
|
-
| `idleTimeoutMillis` | `
|
|
84
|
+
| `idleTimeoutMillis` | `60000` | Returns idle connections to the server. Longer keeps quiet apps warm, but holds slots: the pools of every role and replica must fit `max_connections`. |
|
|
85
85
|
| `connectTimeoutMillis` | `10000` | Fail fast when the database is unreachable. |
|
|
86
86
|
| `shutdownTimeoutMillis` | `5000` | `close()` stops accepting queries and waits this long for in-flight work, so a restart drains instead of severing live writes. |
|
|
87
87
|
|
|
@@ -142,6 +142,30 @@ CLI development runtime or production services start. `bun sixb db migrate` perf
|
|
|
142
142
|
`SIXB_SKIP_MIGRATION=1` disable both steps for production services when a separate release step
|
|
143
143
|
has already run them. No index is built in a request handler.
|
|
144
144
|
|
|
145
|
+
`objects` is partitioned by object type, so a query plans against its own type's indexes alone,
|
|
146
|
+
however many types the ontology has. Preparation gives each type its partition and builds its
|
|
147
|
+
indexes and statistics there. A row of a type without a partition waits in `objects_default`, and
|
|
148
|
+
moves across at that type's first preparation.
|
|
149
|
+
|
|
150
|
+
### Upgrading to the partitioned layout
|
|
151
|
+
|
|
152
|
+
Migration `086-partition-objects` holds `objects` exclusively while it copies the rows, and
|
|
153
|
+
preparation then rebuilds every query index. **Stop every service first**: a repeatable-read
|
|
154
|
+
transaction already waiting on that lock when it commits reads the new table with an older snapshot,
|
|
155
|
+
and sees no rows instead of an error. Services also read without query indexes until preparation
|
|
156
|
+
finishes.
|
|
157
|
+
|
|
158
|
+
```sh
|
|
159
|
+
pg_dump --format=custom ... # There is no down migration.
|
|
160
|
+
bun sixb deploy stop
|
|
161
|
+
bun sixb deploy # Migrates and prepares, then starts the services.
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
A deployment from before this layout cannot start against the migrated database, so going back means
|
|
165
|
+
restoring the backup. Autovacuum never analyzes a partitioned table itself, only its partitions, and
|
|
166
|
+
a large publication analyzes `objects` as before; if yours are all small, run `ANALYZE objects` now
|
|
167
|
+
and then so queries that read across types keep good statistics.
|
|
168
|
+
|
|
145
169
|
Custom runtimes can opt into the same lifecycle with:
|
|
146
170
|
|
|
147
171
|
```ts
|
|
@@ -2,19 +2,22 @@ import type { AgentStorage, ExecutionStorage } from "@sixb/core/storage";
|
|
|
2
2
|
import type { PgStoreClient } from "../transactions";
|
|
3
3
|
import { PgAgentApprovalStore } from "./approvals";
|
|
4
4
|
import { PgAgentContextCheckpointStore } from "./checkpoints";
|
|
5
|
+
import { PgAgentComputerSessionStore } from "./computers";
|
|
5
6
|
import { PgAgentMemoryStore } from "./memory";
|
|
6
7
|
import { PgAgentMessageStore } from "./messages";
|
|
7
8
|
import { PgAgentRunStore } from "./runs";
|
|
8
9
|
import { PgAgentApprovalModeStore } from "./settings";
|
|
9
10
|
import { PgAgentThreadStore } from "./threads";
|
|
11
|
+
import { PgAgentTokenRateStore } from "./token-rates";
|
|
10
12
|
export interface PgAgentStorageOptions {
|
|
11
13
|
readonly sql: PgStoreClient;
|
|
12
14
|
readonly executions: ExecutionStorage;
|
|
13
15
|
}
|
|
14
16
|
/**
|
|
15
|
-
* PostgreSQL-backed agent persistence: thread, run, message, context-checkpoint, memory, approval
|
|
16
|
-
*
|
|
17
|
-
* UPDATE` row locks for single-flight and checkpoint
|
|
17
|
+
* PostgreSQL-backed agent persistence: thread, run, message, context-checkpoint, memory, approval,
|
|
18
|
+
* approval-mode, computer-session and token-rate sub-stores sharing one connection. Cross-table writes run
|
|
19
|
+
* inside `runPgTransaction` with `SELECT ... FOR UPDATE` row locks for single-flight and checkpoint
|
|
20
|
+
* compare-and-swap safety.
|
|
18
21
|
*/
|
|
19
22
|
export declare class PgAgentStorage implements AgentStorage {
|
|
20
23
|
readonly threads: PgAgentThreadStore;
|
|
@@ -24,6 +27,8 @@ export declare class PgAgentStorage implements AgentStorage {
|
|
|
24
27
|
readonly memory: PgAgentMemoryStore;
|
|
25
28
|
readonly approvals: PgAgentApprovalStore;
|
|
26
29
|
readonly approvalModes: PgAgentApprovalModeStore;
|
|
30
|
+
readonly computers: PgAgentComputerSessionStore;
|
|
31
|
+
readonly tokenRates: PgAgentTokenRateStore;
|
|
27
32
|
constructor(options: PgAgentStorageOptions);
|
|
28
33
|
}
|
|
29
34
|
//# sourceMappingURL=agent-storage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-storage.d.ts","sourceRoot":"","sources":["../../src/agents/agent-storage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AACxE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAClD,OAAO,EAAE,6BAA6B,EAAE,MAAM,eAAe,CAAA;AAC7D,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAA;AAC7C,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAA;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAA;AACxC,OAAO,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAA;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"agent-storage.d.ts","sourceRoot":"","sources":["../../src/agents/agent-storage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AACxE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAClD,OAAO,EAAE,6BAA6B,EAAE,MAAM,eAAe,CAAA;AAC7D,OAAO,EAAE,2BAA2B,EAAE,MAAM,aAAa,CAAA;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAA;AAC7C,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAA;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAA;AACxC,OAAO,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAA;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAA;AAC9C,OAAO,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAA;AAErD,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,GAAG,EAAE,aAAa,CAAA;IAC3B,QAAQ,CAAC,UAAU,EAAE,gBAAgB,CAAA;CACtC;AAED;;;;;GAKG;AACH,qBAAa,cAAe,YAAW,YAAY;IACjD,QAAQ,CAAC,OAAO,EAAE,kBAAkB,CAAA;IACpC,QAAQ,CAAC,IAAI,EAAE,eAAe,CAAA;IAC9B,QAAQ,CAAC,QAAQ,EAAE,mBAAmB,CAAA;IACtC,QAAQ,CAAC,WAAW,EAAE,6BAA6B,CAAA;IACnD,QAAQ,CAAC,MAAM,EAAE,kBAAkB,CAAA;IACnC,QAAQ,CAAC,SAAS,EAAE,oBAAoB,CAAA;IACxC,QAAQ,CAAC,aAAa,EAAE,wBAAwB,CAAA;IAChD,QAAQ,CAAC,SAAS,EAAE,2BAA2B,CAAA;IAC/C,QAAQ,CAAC,UAAU,EAAE,qBAAqB,CAAA;gBAE9B,OAAO,EAAE,qBAAqB;CAW3C"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { AgentComputerSessionRecord, AgentComputerSessionStore, Principal } from "@sixb/core/storage";
|
|
2
|
+
import type { PgStoreClient } from "../transactions";
|
|
3
|
+
export declare class PgAgentComputerSessionStore implements AgentComputerSessionStore {
|
|
4
|
+
private readonly sql;
|
|
5
|
+
constructor(sql: PgStoreClient);
|
|
6
|
+
hold(input: AgentComputerSessionRecord): Promise<void>;
|
|
7
|
+
release(input: {
|
|
8
|
+
readonly projectId: string;
|
|
9
|
+
readonly id: string;
|
|
10
|
+
readonly ownerPrincipal: Principal;
|
|
11
|
+
}): Promise<AgentComputerSessionRecord | null>;
|
|
12
|
+
listLive(input: {
|
|
13
|
+
readonly projectId: string;
|
|
14
|
+
readonly ownerPrincipal: Principal;
|
|
15
|
+
readonly now: Date;
|
|
16
|
+
}): Promise<readonly AgentComputerSessionRecord[]>;
|
|
17
|
+
removeLapsed(input: {
|
|
18
|
+
readonly projectId: string;
|
|
19
|
+
readonly now: Date;
|
|
20
|
+
}): Promise<readonly AgentComputerSessionRecord[]>;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=computers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"computers.d.ts","sourceRoot":"","sources":["../../src/agents/computers.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,0BAA0B,EAC1B,yBAAyB,EACzB,SAAS,EACV,MAAM,oBAAoB,CAAA;AAC3B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAapD,qBAAa,2BAA4B,YAAW,yBAAyB;IAC/D,OAAO,CAAC,QAAQ,CAAC,GAAG;gBAAH,GAAG,EAAE,aAAa;IAEzC,IAAI,CAAC,KAAK,EAAE,0BAA0B,GAAG,OAAO,CAAC,IAAI,CAAC;IAmBtD,OAAO,CAAC,KAAK,EAAE;QACnB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;QAC1B,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAA;QACnB,QAAQ,CAAC,cAAc,EAAE,SAAS,CAAA;KACnC,GAAG,OAAO,CAAC,0BAA0B,GAAG,IAAI,CAAC;IAYxC,QAAQ,CAAC,KAAK,EAAE;QACpB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;QAC1B,QAAQ,CAAC,cAAc,EAAE,SAAS,CAAA;QAClC,QAAQ,CAAC,GAAG,EAAE,IAAI,CAAA;KACnB,GAAG,OAAO,CAAC,SAAS,0BAA0B,EAAE,CAAC;IAY5C,YAAY,CAAC,KAAK,EAAE;QACxB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;QAC1B,QAAQ,CAAC,GAAG,EAAE,IAAI,CAAA;KACnB,GAAG,OAAO,CAAC,SAAS,0BAA0B,EAAE,CAAC;CAQnD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../src/agents/messages.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EAEtB,KAAK,uBAAuB,EAC5B,KAAK,6BAA6B,EAClC,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC7B,MAAM,oBAAoB,CAAA;AAG3B,OAAO,EAAE,KAAK,aAAa,EAAoB,MAAM,iBAAiB,CAAA;AAGtE,qBAAa,mBAAoB,YAAW,iBAAiB;IAC/C,OAAO,CAAC,QAAQ,CAAC,GAAG;gBAAH,GAAG,EAAE,aAAa;IAEzC,MAAM,CAAC,KAAK,EAAE,uBAAuB,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAgGnE,aAAa,CAAC,KAAK,EAAE,6BAA6B,GAAG,OAAO,CAAC,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../src/agents/messages.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EAEtB,KAAK,uBAAuB,EAC5B,KAAK,6BAA6B,EAClC,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC7B,MAAM,oBAAoB,CAAA;AAG3B,OAAO,EAAE,KAAK,aAAa,EAAoB,MAAM,iBAAiB,CAAA;AAGtE,qBAAa,mBAAoB,YAAW,iBAAiB;IAC/C,OAAO,CAAC,QAAQ,CAAC,GAAG;gBAAH,GAAG,EAAE,aAAa;IAEzC,MAAM,CAAC,KAAK,EAAE,uBAAuB,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAgGnE,aAAa,CAAC,KAAK,EAAE,6BAA6B,GAAG,OAAO,CAAC,MAAM,CAAC;IAkEpE,OAAO,CAAC,MAAM,EAAE;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,EAAE,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,kBAAkB,GAAG,IAAI,CAAC;IAQtF,IAAI,CAAC,KAAK,EAAE,sBAAsB,GAAG,OAAO,CAAC,uBAAuB,CAAC;CAkC5E"}
|
package/dist/agents/rows.d.ts
CHANGED
|
@@ -13,6 +13,11 @@ export interface AgentThreadRow {
|
|
|
13
13
|
title: string | null;
|
|
14
14
|
sandbox_params: JsonValue | string | null;
|
|
15
15
|
sandbox_state: AgentThreadSandboxState | string | null;
|
|
16
|
+
runs_on: "computer" | null;
|
|
17
|
+
computer_id: string | null;
|
|
18
|
+
computer_name: string | null;
|
|
19
|
+
computer_folder: string | null;
|
|
20
|
+
moved_at: Date | string | null;
|
|
16
21
|
status: AgentThreadRecord["status"];
|
|
17
22
|
active_run_id: string | null;
|
|
18
23
|
last_message_at: Date | string | null;
|
|
@@ -48,6 +53,7 @@ export interface AgentRunRow {
|
|
|
48
53
|
attempt: number | string;
|
|
49
54
|
execution_token: string | null;
|
|
50
55
|
execution_queue_lease_expires_at: Date | string | null;
|
|
56
|
+
cancel_requested_at: Date | string | null;
|
|
51
57
|
created_at: Date | string;
|
|
52
58
|
started_at: Date | string | null;
|
|
53
59
|
completed_at: Date | string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rows.d.ts","sourceRoot":"","sources":["../../src/agents/rows.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,SAAS,EAAE,SAAS,EAA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 @@
|
|
|
1
|
-
import { type AgentRunRecord, type AgentRunStore, type ConfirmAgentRunExecutionOwnershipInput, type ConversationAgentRunRecord, type CreateAgentRunInput, type CreateSubagentRunInput, type ExecutionStorage, type FinishAgentRunInput, type FinishQueuedAgentRunInput, type ListAgentRunsInput, type ListAgentRunsResult, type ListThreadSubagentsInput, type ReclaimAgentRunInput, type StartAgentRunInput, type SubagentRunRecord } from "@sixb/core/storage";
|
|
1
|
+
import { type AgentRunRecord, type AgentRunStore, type ConfirmAgentRunExecutionOwnershipInput, type ConversationAgentRunRecord, type CreateAgentRunInput, type CreateSubagentRunInput, type ExecutionStorage, type FinishAgentRunInput, type FinishQueuedAgentRunInput, type ListAgentRunsInput, type ListAgentRunsResult, type ListThreadSubagentsInput, type ReclaimAgentRunInput, type RequestAgentRunCancelInput, type StartAgentRunInput, type SubagentRunRecord } from "@sixb/core/storage";
|
|
2
2
|
import { type PgStoreClient } from "../transactions";
|
|
3
3
|
export declare class PgAgentRunStore implements AgentRunStore {
|
|
4
4
|
private readonly sql;
|
|
@@ -10,6 +10,7 @@ export declare class PgAgentRunStore implements AgentRunStore {
|
|
|
10
10
|
finishQueued(input: FinishQueuedAgentRunInput): Promise<AgentRunRecord>;
|
|
11
11
|
reclaim(input: ReclaimAgentRunInput): Promise<AgentRunRecord>;
|
|
12
12
|
confirmExecutionOwnership(input: ConfirmAgentRunExecutionOwnershipInput): Promise<AgentRunRecord>;
|
|
13
|
+
requestCancel(input: RequestAgentRunCancelInput): Promise<AgentRunRecord>;
|
|
13
14
|
finish(input: FinishAgentRunInput): Promise<AgentRunRecord>;
|
|
14
15
|
getById(params: {
|
|
15
16
|
projectId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runs.d.ts","sourceRoot":"","sources":["../../src/agents/runs.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"runs.d.ts","sourceRoot":"","sources":["../../src/agents/runs.ts"],"names":[],"mappings":"AAgBA,OAAO,EA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AM,CAAA;KAAE,GAAG,OAAO,CAAC,cAAc,GAAG,IAAI,CAAC;IAQlF,QAAQ,CAAC,MAAM,EAAE;QACrB,SAAS,EAAE,MAAM,CAAA;QACjB,GAAG,EAAE,SAAS,MAAM,EAAE,CAAA;KACvB,GAAG,OAAO,CAAC,SAAS,cAAc,EAAE,CAAC;IAwBhC,mBAAmB,CACvB,KAAK,EAAE,wBAAwB,GAC9B,OAAO,CAAC,SAAS,iBAAiB,EAAE,CAAC;IAsBlC,IAAI,CAAC,KAAK,EAAE,kBAAkB,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAkDnE,OAAO,CAAC,WAAW;YAIL,UAAU;IA6BxB,oEAAoE;YACtD,aAAa;CAM5B"}
|
package/dist/agents/threads.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type AddAgentThreadParticipantsInput, type AgentThreadParticipantRecord, type AgentThreadRecord, type AgentThreadSandboxState, type AgentThreadStore, type CreateAgentThreadInput, type ForkAgentThreadInput, type ListAgentThreadChildrenInput, type ListAgentThreadParticipantsInput, type ListAgentThreadsInput, type ListAgentThreadsResult, type RemoveAgentThreadParticipantInput, type TransitionAgentThreadSandboxInput } from "@sixb/core/storage";
|
|
1
|
+
import { type AddAgentThreadParticipantsInput, type AgentThreadParticipantRecord, type AgentThreadRecord, type AgentThreadSandboxState, type AgentThreadStore, type AssignAgentThreadComputerInput, type CreateAgentThreadInput, type ForkAgentThreadInput, type ListAgentThreadChildrenInput, type ListAgentThreadParticipantsInput, type ListAgentThreadsInput, type ListAgentThreadsResult, type MoveAgentThreadToCloudInput, type MoveAgentThreadToCloudResult, type RemoveAgentThreadParticipantInput, type TransitionAgentThreadSandboxInput } from "@sixb/core/storage";
|
|
2
2
|
import { type PgStoreClient } from "../transactions";
|
|
3
3
|
export declare class PgAgentThreadStore implements AgentThreadStore {
|
|
4
4
|
private readonly sql;
|
|
@@ -18,6 +18,8 @@ export declare class PgAgentThreadStore implements AgentThreadStore {
|
|
|
18
18
|
list(input: ListAgentThreadsInput): Promise<ListAgentThreadsResult>;
|
|
19
19
|
addParticipants(input: AddAgentThreadParticipantsInput): Promise<readonly AgentThreadParticipantRecord[]>;
|
|
20
20
|
removeParticipant(input: RemoveAgentThreadParticipantInput): Promise<boolean>;
|
|
21
|
+
assignComputer(input: AssignAgentThreadComputerInput): Promise<AgentThreadRecord>;
|
|
22
|
+
moveToCloud(input: MoveAgentThreadToCloudInput): Promise<MoveAgentThreadToCloudResult>;
|
|
21
23
|
listParticipants(input: ListAgentThreadParticipantsInput): Promise<readonly AgentThreadParticipantRecord[]>;
|
|
22
24
|
}
|
|
23
25
|
//# sourceMappingURL=threads.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"threads.d.ts","sourceRoot":"","sources":["../../src/agents/threads.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"threads.d.ts","sourceRoot":"","sources":["../../src/agents/threads.ts"],"names":[],"mappings":"AAcA,OAAO,EACL,KAAK,+BAA+B,EAIpC,KAAK,4BAA4B,EACjC,KAAK,iBAAiB,EACtB,KAAK,uBAAuB,EAC5B,KAAK,gBAAgB,EACrB,KAAK,8BAA8B,EACnC,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,4BAA4B,EACjC,KAAK,gCAAgC,EACrC,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EACjC,KAAK,iCAAiC,EACtC,KAAK,iCAAiC,EACvC,MAAM,oBAAoB,CAAA;AAG3B,OAAO,EAAE,KAAK,aAAa,EAAoB,MAAM,iBAAiB,CAAA;AActE,qBAAa,kBAAmB,YAAW,gBAAgB;IAC7C,OAAO,CAAC,QAAQ,CAAC,GAAG;gBAAH,GAAG,EAAE,aAAa;IAEzC,iBAAiB,CACrB,KAAK,EAAE,iCAAiC,GACvC,OAAO,CAAC,uBAAuB,CAAC;IAyB7B,MAAM,CAAC,KAAK,EAAE,sBAAsB,GAAG,OAAO,CAAC,iBAAiB,CAAC;IA2DjE,IAAI,CAAC,KAAK,EAAE,oBAAoB,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAoK7D,OAAO,CAAC,MAAM,EAAE;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,EAAE,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,iBAAiB,GAAG,IAAI,CAAC;IAQrF,QAAQ,CAAC,MAAM,EAAE;QACrB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;QAC1B,QAAQ,CAAC,GAAG,EAAE,SAAS,MAAM,EAAE,CAAA;KAChC,GAAG,OAAO,CAAC,SAAS,iBAAiB,EAAE,CAAC;IAoBnC,YAAY,CAAC,KAAK,EAAE,4BAA4B,GAAG,OAAO,CAAC,SAAS,iBAAiB,EAAE,CAAC;IAgBxF,IAAI,CAAC,KAAK,EAAE,qBAAqB,GAAG,OAAO,CAAC,sBAAsB,CAAC;IAsDnE,eAAe,CACnB,KAAK,EAAE,+BAA+B,GACrC,OAAO,CAAC,SAAS,4BAA4B,EAAE,CAAC;IAgD7C,iBAAiB,CAAC,KAAK,EAAE,iCAAiC,GAAG,OAAO,CAAC,OAAO,CAAC;IAa7E,cAAc,CAAC,KAAK,EAAE,8BAA8B,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAqBjF,WAAW,CAAC,KAAK,EAAE,2BAA2B,GAAG,OAAO,CAAC,4BAA4B,CAAC;IA0BtF,gBAAgB,CACpB,KAAK,EAAE,gCAAgC,GACtC,OAAO,CAAC,SAAS,4BAA4B,EAAE,CAAC;CAGpD"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { AgentTokenRateRecord, AgentTokenRateStore } from "@sixb/core/storage";
|
|
2
|
+
import { type PgStoreClient } from "../transactions";
|
|
3
|
+
export declare class PgAgentTokenRateStore implements AgentTokenRateStore {
|
|
4
|
+
private readonly sql;
|
|
5
|
+
constructor(sql: PgStoreClient);
|
|
6
|
+
record(input: AgentTokenRateRecord): Promise<void>;
|
|
7
|
+
listLatest(input: {
|
|
8
|
+
readonly projectId: string;
|
|
9
|
+
readonly providerId: string;
|
|
10
|
+
readonly modelId: string;
|
|
11
|
+
}): Promise<readonly AgentTokenRateRecord[]>;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=token-rates.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"token-rates.d.ts","sourceRoot":"","sources":["../../src/agents/token-rates.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AACnF,OAAO,EAAE,KAAK,aAAa,EAAoB,MAAM,iBAAiB,CAAA;AAYtE,qBAAa,qBAAsB,YAAW,mBAAmB;IACnD,OAAO,CAAC,QAAQ,CAAC,GAAG;gBAAH,GAAG,EAAE,aAAa;IAEzC,MAAM,CAAC,KAAK,EAAE,oBAAoB,GAAG,OAAO,CAAC,IAAI,CAAC;IAgClD,UAAU,CAAC,KAAK,EAAE;QACtB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;QAC1B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;QAC3B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;KACzB,GAAG,OAAO,CAAC,SAAS,oBAAoB,EAAE,CAAC;CAmB7C"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { normalizeAiAccountingQuery } from "@sixb/core/internal/ai-cost-storage-provider";
|
|
2
|
+
/** The filter's values, each `null` when the query leaves that part open. */
|
|
3
|
+
export declare function pgAccountingFilterValues(query: ReturnType<typeof normalizeAiAccountingQuery>): {
|
|
4
|
+
readonly kind: string | null;
|
|
5
|
+
readonly source: string | null;
|
|
6
|
+
readonly workflow: string | null;
|
|
7
|
+
readonly mode: string | null;
|
|
8
|
+
readonly id: string | null;
|
|
9
|
+
};
|
|
10
|
+
/** The filter as SQL text over numbered `$n` parameters from `start`, for `sql.unsafe`. */
|
|
11
|
+
export declare function pgAccountingFilterSql(start: number): string;
|
|
12
|
+
//# sourceMappingURL=ai-accounting-filters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ai-accounting-filters.d.ts","sourceRoot":"","sources":["../src/ai-accounting-filters.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,8CAA8C,CAAA;AAK9F,6EAA6E;AAC7E,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,UAAU,CAAC,OAAO,0BAA0B,CAAC,GAAG;IAC9F,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;IAC9B,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IAChC,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAAA;CAC3B,CAaA;AAED,2FAA2F;AAC3F,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAmB3D"}
|
package/dist/ai-cost-groups.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ListAiModelCallGroupsInput, ListAiModelCallGroupsResult } from "@sixb/core/storage";
|
|
2
2
|
import type { PgStoreClient } from "./transactions";
|
|
3
|
-
/** Paginate initiating executions, then aggregate their matching calls without loading usage payloads. */
|
|
3
|
+
/** Paginate conversations, workflow runs and other initiating executions, then aggregate their matching calls without loading usage payloads. */
|
|
4
4
|
export declare function listAiModelCallGroups(sql: PgStoreClient, input: ListAiModelCallGroupsInput): Promise<ListAiModelCallGroupsResult>;
|
|
5
5
|
//# sourceMappingURL=ai-cost-groups.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai-cost-groups.d.ts","sourceRoot":"","sources":["../src/ai-cost-groups.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ai-cost-groups.d.ts","sourceRoot":"","sources":["../src/ai-cost-groups.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAA;AAEjG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAEnD,iJAAiJ;AACjJ,wBAAsB,qBAAqB,CACzC,GAAG,EAAE,aAAa,EAClB,KAAK,EAAE,0BAA0B,GAChC,OAAO,CAAC,2BAA2B,CAAC,CA6BtC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -28,9 +28,9 @@ export interface PostgresStorageOptions {
|
|
|
28
28
|
* Full connection string (e.g. DATABASE_URL). Takes precedence over individual fields.
|
|
29
29
|
*
|
|
30
30
|
* Add `sslnegotiation=direct` (with `sslmode=require`, `verify-ca` or `verify-full`) to open TLS
|
|
31
|
-
* directly, as libpq does against PostgreSQL 17 or later. It saves a round trip per connection
|
|
32
|
-
*
|
|
33
|
-
* negotiated the classic way.
|
|
31
|
+
* directly, as libpq does against PostgreSQL 17 or later. It saves a round trip per connection.
|
|
32
|
+
* On Bun 1.4.0–1.4.2 it also avoids a bug that keeps in memory every byte read over a TLS
|
|
33
|
+
* connection negotiated the classic way.
|
|
34
34
|
*/
|
|
35
35
|
connectionString?: string;
|
|
36
36
|
/** PostgreSQL host. Defaults to 'localhost'. */
|
|
@@ -47,7 +47,7 @@ export interface PostgresStorageOptions {
|
|
|
47
47
|
max?: number;
|
|
48
48
|
/** Concurrent root count/facet calculations per instance; defaults to 1. */
|
|
49
49
|
maxConcurrentAggregates?: number;
|
|
50
|
-
/** Idle connection timeout in milliseconds. Defaults to
|
|
50
|
+
/** Idle connection timeout in milliseconds. Defaults to 60000. */
|
|
51
51
|
idleTimeoutMillis?: number;
|
|
52
52
|
/**
|
|
53
53
|
* Server-side `statement_timeout` (ms) applied to every connection in the pool. A query
|
|
@@ -135,6 +135,7 @@ export declare class PostgresStorage implements MigrationCapableStorage, QueryPr
|
|
|
135
135
|
private readonly schemaName;
|
|
136
136
|
private readonly shutdownTimeoutSeconds;
|
|
137
137
|
private readonly transactionScope;
|
|
138
|
+
private readonly sortIndexes;
|
|
138
139
|
constructor(options: PostgresStorageOptions);
|
|
139
140
|
ping(): Promise<void>;
|
|
140
141
|
transaction<T>(run: (tx: Storage) => Promise<T> | T, options?: StorageTransactionOptions): Promise<T>;
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,uBAAuB,EACvB,OAAO,EACP,eAAe,EACf,yBAAyB,EAC1B,MAAM,YAAY,CAAA;AAenB,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,0BAA0B,EAC/B,KAAK,4BAA4B,EACjC,KAAK,aAAa,EAClB,KAAK,8BAA8B,EAEpC,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAC9C,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAA;AAI7E,OAAO,EAA8B,KAAK,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAE7F,YAAY,EAAE,kBAAkB,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAA;AAE1F,OAAO,EAAE,KAAK,sBAAsB,EAA6B,MAAM,4BAA4B,CAAA;AAEnG,YAAY,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAA;AAExE,OAAO,EAAE,iBAAiB,EAAqC,MAAM,oBAAoB,CAAA;AACzF,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAC5D,OAAO,EAA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