@pentatonic-ai/ai-agent-sdk 0.10.23 → 0.10.24
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/dist/index.cjs
CHANGED
|
@@ -878,7 +878,7 @@ function fireAndForgetEmit(clientConfig, sessionOpts, messages, result, model) {
|
|
|
878
878
|
}
|
|
879
879
|
|
|
880
880
|
// src/telemetry.js
|
|
881
|
-
var VERSION = "0.10.
|
|
881
|
+
var VERSION = "0.10.24";
|
|
882
882
|
var TELEMETRY_URL = "https://sdk-telemetry.philip-134.workers.dev";
|
|
883
883
|
function machineId() {
|
|
884
884
|
const raw = typeof process !== "undefined" ? `${process.env?.USER || process.env?.USERNAME || "u"}:${process.platform || "x"}:${process.arch || "x"}` : "browser";
|
package/dist/index.js
CHANGED
|
@@ -847,7 +847,7 @@ function fireAndForgetEmit(clientConfig, sessionOpts, messages, result, model) {
|
|
|
847
847
|
}
|
|
848
848
|
|
|
849
849
|
// src/telemetry.js
|
|
850
|
-
var VERSION = "0.10.
|
|
850
|
+
var VERSION = "0.10.24";
|
|
851
851
|
var TELEMETRY_URL = "https://sdk-telemetry.philip-134.workers.dev";
|
|
852
852
|
function machineId() {
|
|
853
853
|
const raw = typeof process !== "undefined" ? `${process.env?.USER || process.env?.USERNAME || "u"}:${process.platform || "x"}:${process.arch || "x"}` : "browser";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pentatonic-ai/ai-agent-sdk",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.24",
|
|
4
4
|
"description": "TES SDK — LLM observability and lifecycle tracking via Pentatonic Thing Event System. Track token usage, tool calls, and conversations. Manage things through event-sourced lifecycle stages with AI enrichment and vector search.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -15,5 +15,10 @@ COPY worker.py .
|
|
|
15
15
|
# container crash-loop on import at startup (observed 2026-06-08 deploy).
|
|
16
16
|
# The test_*.py files are intentionally excluded; pytest only, not runtime.
|
|
17
17
|
COPY noise_filter.py confidence.py entity_id.py sensitive_filter.py extraction_schema.py source_time.py ./
|
|
18
|
+
# SEE-490 one-off backfill — a standalone script (not a worker.py import), but it
|
|
19
|
+
# does `from worker import …` so it must sit beside worker.py in /app. #141 added
|
|
20
|
+
# the script but not this COPY, so it never reached the image and the runbook's
|
|
21
|
+
# `/app/backfill_structured_edges.py` apply step had nothing to run.
|
|
22
|
+
COPY backfill_structured_edges.py ./
|
|
18
23
|
|
|
19
24
|
CMD ["python", "worker.py"]
|
|
@@ -125,8 +125,11 @@ def main(argv: list[str]) -> int:
|
|
|
125
125
|
|
|
126
126
|
# Separate connections: a server-side (named) cursor STREAMS the read so we
|
|
127
127
|
# never load the whole events table into memory; a second connection does the
|
|
128
|
-
# batched writes.
|
|
129
|
-
|
|
128
|
+
# batched writes. The read connection MUST NOT be autocommit — psycopg3's
|
|
129
|
+
# named server-side cursor issues DECLARE CURSOR, which requires a
|
|
130
|
+
# transaction block ("DECLARE CURSOR can only be used in transaction
|
|
131
|
+
# blocks"). It's read-only (SELECT), never committed, just closed at the end.
|
|
132
|
+
read_conn = psycopg.connect(dsn)
|
|
130
133
|
write_conn = psycopg.connect(dsn)
|
|
131
134
|
|
|
132
135
|
scanned = 0
|