@everme/codex 0.6.2 → 0.6.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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/adapter.js +4 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everme/codex",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "type": "module",
5
5
  "description": "Native EverMe lifecycle hooks for Codex.",
6
6
  "license": "Apache-2.0",
@@ -40,7 +40,7 @@
40
40
  "registry": "https://registry.npmjs.org"
41
41
  },
42
42
  "dependencies": {
43
- "@everme/agent-sdk": "^0.6.2"
43
+ "@everme/agent-sdk": "^0.6.3"
44
44
  },
45
45
  "devDependencies": {
46
46
  "esbuild": "^0.28.1"
package/src/adapter.js CHANGED
@@ -7,6 +7,10 @@ const CONTEXT_EVENTS = new Set(["SessionStart", "UserPromptSubmit"]);
7
7
 
8
8
  export const codexAdapter = {
9
9
  platform: "codex",
10
+ // One hook invocation is one logical turn and the delivery marker runs on
11
+ // every one of them, so the SDK claims channel="hook" for these writes and
12
+ // they enter L1-2's denominator. Whole-session hosts leave this unset.
13
+ turnBoundary: "stop",
10
14
 
11
15
  envFile() {
12
16
  return process.env.EVERME_ENV_FILE_PATH || path.join(os.homedir(), ".codex", "everme.env");