Restore research networking rules after Codex compaction
This commit is contained in:
@@ -0,0 +1 @@
|
||||
web_search = "disabled"
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"hooks": {
|
||||
"SessionStart": [
|
||||
{
|
||||
"matcher": "^(compact|resume)$",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "python3 -X utf8 \"$(git rev-parse --show-toplevel)/.codex/restore-network.py\"",
|
||||
"commandWindows": "py -3 -X utf8 \"$(git rev-parse --show-toplevel)/.codex/restore-network.py\"",
|
||||
"timeout": 10
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
"""Reapply the research networking instructions to resumed Codex sessions."""
|
||||
|
||||
from pathlib import Path
|
||||
|
||||
print((Path(__file__).resolve().parents[1] / "NETWORK.md").read_text(encoding="utf-8"))
|
||||
Reference in New Issue
Block a user