@everme/codex 0.4.1 → 0.5.0
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/README.md +16 -3
- package/package.json +7 -2
package/README.md
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
# @everme/codex
|
|
2
2
|
|
|
3
|
-
Native EverMe lifecycle hook
|
|
4
|
-
|
|
3
|
+
Native EverMe lifecycle hook source for Codex. The release build bundles this
|
|
4
|
+
package and `@everme/agent-sdk` into `plugins/everme/bin/hook.mjs`, which is
|
|
5
|
+
shipped inside the EverMe Codex marketplace plugin and uses the stable
|
|
6
|
+
`/api/v1/mem/*` BFF contract.
|
|
5
7
|
|
|
6
8
|
## Lifecycle
|
|
7
9
|
|
|
@@ -14,7 +16,18 @@ Codex marketplace plugin and uses the stable `/api/v1/mem/*` BFF contract.
|
|
|
14
16
|
|
|
15
17
|
All hook failures are fail-open and credentials are redacted from diagnostics.
|
|
16
18
|
`evercli plugin install codex` writes credentials to `~/.codex/everme.env`
|
|
17
|
-
with mode `0600`; the user reviews and trusts the commands in `/hooks`.
|
|
19
|
+
with mode `0600`; the user reviews and trusts the commands in `/hooks`. Hook
|
|
20
|
+
execution does not install or download an npm package at runtime.
|
|
21
|
+
|
|
22
|
+
## Marketplace build
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
npm run build:marketplace
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
The generated `../everme/bin/hook.mjs` is committed with the marketplace
|
|
29
|
+
plugin. `npm test --workspace @everme/codex` rebuilds it before running the
|
|
30
|
+
isolated runner test.
|
|
18
31
|
|
|
19
32
|
## Configuration
|
|
20
33
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@everme/codex",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Native EverMe lifecycle hooks for Codex.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -15,6 +15,8 @@
|
|
|
15
15
|
"node": ">=18.0.0"
|
|
16
16
|
},
|
|
17
17
|
"scripts": {
|
|
18
|
+
"build:marketplace": "node scripts/build-marketplace.mjs",
|
|
19
|
+
"pretest": "npm run build:marketplace",
|
|
18
20
|
"test": "node --test tests/transcript.test.js tests/adapter.test.js tests/hook.test.js"
|
|
19
21
|
},
|
|
20
22
|
"keywords": [
|
|
@@ -38,6 +40,9 @@
|
|
|
38
40
|
"registry": "https://registry.npmjs.org"
|
|
39
41
|
},
|
|
40
42
|
"dependencies": {
|
|
41
|
-
"@everme/agent-sdk": "^0.
|
|
43
|
+
"@everme/agent-sdk": "^0.5.0"
|
|
44
|
+
},
|
|
45
|
+
"devDependencies": {
|
|
46
|
+
"esbuild": "^0.28.1"
|
|
42
47
|
}
|
|
43
48
|
}
|