@oh-my-pi/pi-agent-core 17.4.0 → 17.4.1

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/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@oh-my-pi/pi-agent-core",
4
- "version": "17.4.0",
4
+ "version": "17.4.1",
5
5
  "description": "General-purpose agent with transport abstraction, state management, and attachment support",
6
6
  "homepage": "https://omp.sh",
7
- "author": "Can Boluk",
7
+ "author": "Stencil Labs, Inc.",
8
8
  "contributors": [
9
9
  "Mario Zechner"
10
10
  ],
@@ -35,16 +35,16 @@
35
35
  "fmt": "biome format --write ."
36
36
  },
37
37
  "dependencies": {
38
- "@oh-my-pi/pi-ai": "17.4.0",
39
- "@oh-my-pi/pi-catalog": "17.4.0",
40
- "@oh-my-pi/pi-natives": "17.4.0",
41
- "@oh-my-pi/pi-utils": "17.4.0",
42
- "@oh-my-pi/pi-wire": "17.4.0",
43
- "@oh-my-pi/snapcompact": "17.4.0",
38
+ "@oh-my-pi/pi-ai": "17.4.1",
39
+ "@oh-my-pi/pi-catalog": "17.4.1",
40
+ "@oh-my-pi/pi-natives": "17.4.1",
41
+ "@oh-my-pi/pi-utils": "17.4.1",
42
+ "@oh-my-pi/pi-wire": "17.4.1",
43
+ "@oh-my-pi/snapcompact": "17.4.1",
44
44
  "@opentelemetry/api": "^1.9.1"
45
45
  },
46
46
  "devDependencies": {
47
- "@oh-my-pi/omptype": "17.4.0",
47
+ "@oh-my-pi/omptype": "17.4.1",
48
48
  "@opentelemetry/context-async-hooks": "^2.9.0",
49
49
  "@opentelemetry/sdk-trace-base": "^2.9.0",
50
50
  "@types/bun": "^1.3.14"
@@ -56,6 +56,8 @@
56
56
  "src",
57
57
  "README.md",
58
58
  "CHANGELOG.md",
59
+ "LICENSE",
60
+ "THIRD-PARTY-NOTICES.txt",
59
61
  "dist/types"
60
62
  ],
61
63
  "exports": {
@@ -25,6 +25,7 @@ import {
25
25
  } from "@oh-my-pi/pi-ai/providers/openai-shared";
26
26
  import { captureOpenAIHttpError } from "@oh-my-pi/pi-ai/utils/openai-http";
27
27
  import {
28
+ applyCodexResidencyHeader,
28
29
  CODEX_BASE_URL,
29
30
  getCodexAccountId,
30
31
  OPENAI_HEADER_VALUES,
@@ -416,6 +417,7 @@ function buildCompactionV2Headers(
416
417
  if (accountId) {
417
418
  headers[OPENAI_HEADERS.ACCOUNT_ID] = accountId;
418
419
  }
420
+ applyCodexResidencyHeader(headers, apiKey);
419
421
  if (routingSessionId) {
420
422
  headers[OPENAI_HEADERS.CONVERSATION_ID] = routingSessionId;
421
423
  headers[OPENAI_HEADERS.SESSION_ID] = routingSessionId;
@@ -45,6 +45,7 @@ import {
45
45
  } from "@oh-my-pi/pi-ai/utils";
46
46
  import { captureOpenAIHttpError } from "@oh-my-pi/pi-ai/utils/openai-http";
47
47
  import {
48
+ applyCodexResidencyHeader,
48
49
  CODEX_BASE_URL,
49
50
  getCodexAccountId,
50
51
  OPENAI_HEADER_VALUES,
@@ -834,6 +835,7 @@ export async function requestOpenAiRemoteCompaction(
834
835
  if (accountId) {
835
836
  headers[OPENAI_HEADERS.ACCOUNT_ID] = accountId;
836
837
  }
838
+ applyCodexResidencyHeader(headers, apiKey);
837
839
  const attestation = await getCodexAttestationHeader(accountId);
838
840
  if (attestation) {
839
841
  headers[OPENAI_HEADERS.ATTESTATION] = attestation;