@poncho-ai/harness 0.36.3 → 0.36.4

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @poncho-ai/harness@0.36.3 build /home/runner/work/poncho-ai/poncho-ai/packages/harness
2
+ > @poncho-ai/harness@0.36.4 build /home/runner/work/poncho-ai/poncho-ai/packages/harness
3
3
  > node scripts/embed-docs.js && tsup src/index.ts --format esm --dts
4
4
 
5
5
  [embed-docs] Generated poncho-docs.ts with 4 topics
@@ -8,9 +8,9 @@
8
8
  CLI tsup v8.5.1
9
9
  CLI Target: es2022
10
10
  ESM Build start
11
- ESM dist/index.js 387.70 KB
11
+ ESM dist/index.js 387.69 KB
12
12
  ESM dist/isolate-TCWTUVG4.js 47.34 KB
13
- ESM ⚡️ Build success in 202ms
13
+ ESM ⚡️ Build success in 182ms
14
14
  DTS Build start
15
- DTS ⚡️ Build success in 6580ms
15
+ DTS ⚡️ Build success in 6917ms
16
16
  DTS dist/index.d.ts 56.62 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @poncho-ai/harness
2
2
 
3
+ ## 0.36.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [`d7eb744`](https://github.com/cesr/poncho-ai/commit/d7eb744fb371727278bda6a349b9e117065549b4) Thanks [@cesr](https://github.com/cesr)! - fix: upsert conflict key matches PK (id only) — fixes ON CONFLICT error on conversation persist
8
+
3
9
  ## 0.36.3
4
10
 
5
11
  ### Patch Changes
package/dist/index.js CHANGED
@@ -3363,7 +3363,7 @@ var SqlStorageEngine = class {
3363
3363
  `INSERT INTO conversations (id, agent_id, tenant_id, owner_id, title, data, message_count, created_at, updated_at,
3364
3364
  tool_result_archive, harness_messages, continuation_messages)
3365
3365
  VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12)
3366
- ${this.dialect.upsert(["id", "agent_id"])}
3366
+ ${this.dialect.upsert(["id"])}
3367
3367
  data = excluded.data, title = excluded.title, message_count = excluded.message_count,
3368
3368
  updated_at = excluded.updated_at, tenant_id = excluded.tenant_id, owner_id = excluded.owner_id,
3369
3369
  tool_result_archive = excluded.tool_result_archive, harness_messages = excluded.harness_messages,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poncho-ai/harness",
3
- "version": "0.36.3",
3
+ "version": "0.36.4",
4
4
  "description": "Agent execution runtime - conversation loop, tool dispatch, streaming",
5
5
  "repository": {
6
6
  "type": "git",
@@ -301,7 +301,7 @@ export abstract class SqlStorageEngine implements StorageEngine {
301
301
  `INSERT INTO conversations (id, agent_id, tenant_id, owner_id, title, data, message_count, created_at, updated_at,
302
302
  tool_result_archive, harness_messages, continuation_messages)
303
303
  VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12)
304
- ${this.dialect.upsert(["id", "agent_id"])}
304
+ ${this.dialect.upsert(["id"])}
305
305
  data = excluded.data, title = excluded.title, message_count = excluded.message_count,
306
306
  updated_at = excluded.updated_at, tenant_id = excluded.tenant_id, owner_id = excluded.owner_id,
307
307
  tool_result_archive = excluded.tool_result_archive, harness_messages = excluded.harness_messages,