@oked/codex 0.6.21 → 0.6.23
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 +4 -5
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
[](https://www.npmjs.com/package/@oked/codex)
|
|
4
4
|
[](./LICENSE)
|
|
5
5
|
|
|
6
|
-
Codex CLI hook. Sensitive actions wait for a person in Telegram or on the [web dashboard](https://oked.ai/dashboard
|
|
6
|
+
Codex CLI hook. Sensitive actions wait for a person in Telegram or on the [web dashboard](https://oked.ai/dashboard) before Codex continues. The iPhone app is coming soon. Questions: [contact@oked.ai](mailto:contact@oked.ai).
|
|
7
7
|
|
|
8
8
|
Safe actions are allowed by the hook, with no notification. Warning actions are allowed and logged. OKed asks only for `review` and `high_stakes`.
|
|
9
9
|
|
|
@@ -11,10 +11,10 @@ Safe actions are allowed by the hook, with no notification. Warning actions are
|
|
|
11
11
|
|
|
12
12
|
```bash
|
|
13
13
|
npm install -g @oked/codex
|
|
14
|
-
|
|
14
|
+
oked-codex init
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
-
`
|
|
17
|
+
`oked-codex init` writes `.codex/hooks.json` in the current project and stores the API key in `~/.oked/config.json`. The file it writes:
|
|
18
18
|
|
|
19
19
|
```json
|
|
20
20
|
{
|
|
@@ -94,7 +94,6 @@ Command hooks do not run in Codex cloud. `write_stdin` on a shell that already p
|
|
|
94
94
|
| Var | Required | Description |
|
|
95
95
|
|---|---|---|
|
|
96
96
|
| `OKED_API_KEY` | no, after pairing | Optional override. `oked-codex init` stores the paired key in `~/.oked/config.json`. |
|
|
97
|
-
| `OKED_BACKEND_URL` | no | Override the hosted backend URL. |
|
|
98
97
|
| `OKED_STRICT_FAIL_CLOSED` | no | `1` or `true` denies every sensitive action when the backend is unreachable. |
|
|
99
98
|
| `OKED_REQUIRE_RECEIPT` | no | `0` allows an approval with no receipt. On by default since 0.6.0. |
|
|
100
99
|
| `OKED_HOOK_LOG` | no | Decision log path. Default `~/.oked/hook.log`. |
|
|
@@ -103,7 +102,7 @@ Command hooks do not run in Codex cloud. `write_stdin` on a shell that already p
|
|
|
103
102
|
|
|
104
103
|
Every decision comes with a receipt signed by OKed. The hook verifies it before allowing the action and keeps a copy in `~/.oked/receipts.jsonl`. Since 0.6.0 the hook denies an approval that has no valid receipt. Set `OKED_REQUIRE_RECEIPT=0` only for a backend that does not sign receipts.
|
|
105
104
|
|
|
106
|
-
You can paste one receipt at [oked.ai/docs/#verify](https://oked.ai/docs
|
|
105
|
+
You can paste one receipt at [oked.ai/docs/#verify](https://oked.ai/docs#verify), or check an export with `npx @oked/verify`. `oked receipts verify` from `@oked/claude-code` checks the same file. See [docs/receipts.md](../../docs/receipts.md).
|
|
107
106
|
|
|
108
107
|
## Degraded-mode behavior
|
|
109
108
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oked/codex",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.23",
|
|
4
4
|
"description": "OKed for Codex CLI. A PreToolUse hook that holds risky tool calls for a human decision.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"bugs": {
|
|
37
37
|
"url": "https://github.com/oked-ai/oked-sdk/issues"
|
|
38
38
|
},
|
|
39
|
-
"homepage": "https://oked.ai
|
|
39
|
+
"homepage": "https://oked.ai",
|
|
40
40
|
"license": "Apache-2.0",
|
|
41
41
|
"engines": {
|
|
42
42
|
"node": ">=18"
|
|
@@ -45,11 +45,11 @@
|
|
|
45
45
|
"access": "public"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@oked/hook-core": "0.6.
|
|
49
|
-
"@oked/sdk": "0.6.
|
|
48
|
+
"@oked/hook-core": "0.6.23",
|
|
49
|
+
"@oked/sdk": "0.6.23"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@types/node": "^
|
|
53
|
-
"typescript": "^
|
|
52
|
+
"@types/node": "^26.6.5",
|
|
53
|
+
"typescript": "^7.0.2"
|
|
54
54
|
}
|
|
55
55
|
}
|