@oh-my-pi/pi-agent-core 16.1.2 → 16.1.3

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.md CHANGED
@@ -895,4 +895,4 @@ Initial release under @oh-my-pi scope. See previous releases at [badlogic/pi-mon
895
895
  ### Changed
896
896
 
897
897
  - `Agent` constructor now has all options optional (empty options use defaults).
898
- - `queueMessage()` is now synchronous (no longer returns a Promise).
898
+ - `queueMessage()` is now synchronous (no longer returns a Promise).
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@oh-my-pi/pi-agent-core",
4
- "version": "16.1.2",
4
+ "version": "16.1.3",
5
5
  "description": "General-purpose agent with transport abstraction, state management, and attachment support",
6
6
  "homepage": "https://omp.sh",
7
7
  "author": "Can Boluk",
@@ -35,12 +35,12 @@
35
35
  "fmt": "biome format --write ."
36
36
  },
37
37
  "dependencies": {
38
- "@oh-my-pi/pi-ai": "16.1.2",
39
- "@oh-my-pi/pi-catalog": "16.1.2",
40
- "@oh-my-pi/pi-natives": "16.1.2",
41
- "@oh-my-pi/pi-utils": "16.1.2",
42
- "@oh-my-pi/pi-wire": "16.1.2",
43
- "@oh-my-pi/snapcompact": "16.1.2",
38
+ "@oh-my-pi/pi-ai": "16.1.3",
39
+ "@oh-my-pi/pi-catalog": "16.1.3",
40
+ "@oh-my-pi/pi-natives": "16.1.3",
41
+ "@oh-my-pi/pi-utils": "16.1.3",
42
+ "@oh-my-pi/pi-wire": "16.1.3",
43
+ "@oh-my-pi/snapcompact": "16.1.3",
44
44
  "@opentelemetry/api": "^1.9.1"
45
45
  },
46
46
  "devDependencies": {
package/src/agent-loop.ts CHANGED
@@ -718,7 +718,7 @@ async function runLoopBody(
718
718
  stepCounter: StepCounter,
719
719
  streamFn?: StreamFn,
720
720
  ): Promise<void> {
721
- let deadlineTimer: ReturnType<typeof setTimeout> | undefined;
721
+ let deadlineTimer: Timer | undefined;
722
722
  if (config.deadline !== undefined) {
723
723
  const deadlineAbortController = new AbortController();
724
724
  const delay = config.deadline - Date.now();