mirror of
https://github.com/ksyasuda/dotfiles.git
synced 2026-08-01 19:21:31 -07:00
Compare commits
6 Commits
e518b6b6e9
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
a3266acbe4
|
|||
|
5bc3a20f3d
|
|||
|
69d787aeb0
|
|||
|
7871a51d51
|
|||
|
0cee4cc0e2
|
|||
|
5e60b7a744
|
@@ -1,7 +1,8 @@
|
|||||||
{
|
{
|
||||||
"attribution": {
|
"attribution": {
|
||||||
"commit": "",
|
"commit": "",
|
||||||
"pr": ""
|
"pr": "",
|
||||||
|
"sessionUrl": false
|
||||||
},
|
},
|
||||||
"permissions": {
|
"permissions": {
|
||||||
"deny": [
|
"deny": [
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
{
|
{
|
||||||
"attribution": {
|
"attribution": {
|
||||||
"commit": "",
|
"commit": "",
|
||||||
"pr": ""
|
"pr": "",
|
||||||
|
"sessionUrl": false
|
||||||
},
|
},
|
||||||
"permissions": {
|
"permissions": {
|
||||||
"allow": [
|
"allow": [
|
||||||
@@ -40,6 +41,10 @@
|
|||||||
"Bash(yadm push --force*)"
|
"Bash(yadm push --force*)"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"model": "opus[1m]",
|
||||||
|
"env": {
|
||||||
|
"PLAYWRIGHT_MCP_EXECUTABLE_PATH": "/opt/helium-browser-bin/helium"
|
||||||
|
},
|
||||||
"hooks": {
|
"hooks": {
|
||||||
"Notification": [
|
"Notification": [
|
||||||
{
|
{
|
||||||
@@ -47,7 +52,19 @@
|
|||||||
"hooks": [
|
"hooks": [
|
||||||
{
|
{
|
||||||
"type": "command",
|
"type": "command",
|
||||||
"command": "notify-send 'Claude Code' 'Claude Code needs your attention'"
|
"command": "notify-send -a 'Claude Code' -i claude-desktop 'Claude Code' 'Claude Code needs your attention'"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"Stop": [
|
||||||
|
{
|
||||||
|
"matcher": "",
|
||||||
|
"hooks": [
|
||||||
|
{
|
||||||
|
"type": "command",
|
||||||
|
"command": "jq -r '.cwd // \".\"' | { read -r d; notify-send -a 'Claude Code' -i claude-desktop -u normal 'Claude Code' \"Finished: $(basename \"$d\")\"; } 2>/dev/null || true",
|
||||||
|
"async": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -63,19 +80,24 @@
|
|||||||
"playwright@claude-plugins-official": true,
|
"playwright@claude-plugins-official": true,
|
||||||
"coderabbit@claude-plugins-official": true,
|
"coderabbit@claude-plugins-official": true,
|
||||||
"discord@claude-plugins-official": true,
|
"discord@claude-plugins-official": true,
|
||||||
"chrome-devtools-mcp@claude-plugins-official": true
|
"chrome-devtools-mcp@claude-plugins-official": false
|
||||||
},
|
},
|
||||||
"sandbox": {
|
"sandbox": {
|
||||||
"enabled": false,
|
"enabled": false,
|
||||||
"autoAllowBashIfSandboxed": true,
|
"autoAllowBashIfSandboxed": true,
|
||||||
"network": {
|
"network": {
|
||||||
"allowUnixSockets": ["/var/run/docker.sock"],
|
"allowUnixSockets": [
|
||||||
|
"/var/run/docker.sock"
|
||||||
|
],
|
||||||
"allowLocalBinding": true
|
"allowLocalBinding": true
|
||||||
},
|
},
|
||||||
"excludedCommands": ["docker"]
|
"excludedCommands": [
|
||||||
|
"docker"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"effortLevel": "high",
|
"effortLevel": "high",
|
||||||
"tui": "fullscreen",
|
"tui": "fullscreen",
|
||||||
"skipDangerousModePermissionPrompt": true,
|
"skipDangerousModePermissionPrompt": true,
|
||||||
|
"agentPushNotifEnabled": true,
|
||||||
"voiceEnabled": true
|
"voiceEnabled": true
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ Work style: telegraph; noun-phrases ok; drop grammar; min tokens.
|
|||||||
- Keep files <~500 LOC; split/refactor as needed.
|
- Keep files <~500 LOC; split/refactor as needed.
|
||||||
- Commits: Conventional Commits (`feat|fix|refactor|build|ci|chore|docs|style|perf|test`).
|
- Commits: Conventional Commits (`feat|fix|refactor|build|ci|chore|docs|style|perf|test`).
|
||||||
- Prefer end-to-end verify; if blocked, say what’s missing.
|
- Prefer end-to-end verify; if blocked, say what’s missing.
|
||||||
|
- Do not use em-dashes
|
||||||
|
|
||||||
## Docs
|
## Docs
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
model = "gpt-5.6-sol"
|
model = "gpt-5.6-sol"
|
||||||
model_reasoning_effort = "high"
|
model_reasoning_effort = "medium"
|
||||||
personality = "pragmatic"
|
personality = "pragmatic"
|
||||||
tool_output_token_limit = 25000
|
tool_output_token_limit = 25000
|
||||||
# Leave room for native compaction near the 272–273k context window.
|
# Leave room for native compaction near the 272–273k context window.
|
||||||
@@ -9,6 +9,7 @@ model_auto_compact_token_limit = 233000
|
|||||||
suppress_unstable_features_warning = true
|
suppress_unstable_features_warning = true
|
||||||
notify = ["/home/sudacode/.codex/scripts/codex-notify"]
|
notify = ["/home/sudacode/.codex/scripts/codex-notify"]
|
||||||
sandbox_mode = "workspace-write"
|
sandbox_mode = "workspace-write"
|
||||||
|
service_tier = "default"
|
||||||
|
|
||||||
[tui]
|
[tui]
|
||||||
notifications = ["agent-turn-complete"]
|
notifications = ["agent-turn-complete"]
|
||||||
@@ -218,6 +219,9 @@ trust_level = "trusted"
|
|||||||
[projects."/home/sudacode/.agents/skills"]
|
[projects."/home/sudacode/.agents/skills"]
|
||||||
trust_level = "trusted"
|
trust_level = "trusted"
|
||||||
|
|
||||||
|
[projects."/home/sudacode/github/manatan"]
|
||||||
|
trust_level = "trusted"
|
||||||
|
|
||||||
[notice.model_migrations]
|
[notice.model_migrations]
|
||||||
"gpt-5.3-codex" = "gpt-5.4"
|
"gpt-5.3-codex" = "gpt-5.4"
|
||||||
|
|
||||||
|
|||||||
@@ -5,6 +5,9 @@ import subprocess
|
|||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
|
||||||
|
CHATGPT_ICON = "/usr/share/icons/hicolor/512x512/apps/chatgpt-desktop.png"
|
||||||
|
|
||||||
|
|
||||||
def main() -> int:
|
def main() -> int:
|
||||||
if len(sys.argv) != 2:
|
if len(sys.argv) != 2:
|
||||||
return 0
|
return 0
|
||||||
@@ -27,7 +30,13 @@ def main() -> int:
|
|||||||
message = message[:177] + "..."
|
message = message[:177] + "..."
|
||||||
|
|
||||||
subprocess.run(
|
subprocess.run(
|
||||||
[notify_send, "--app-name=Codex", "Codex", message],
|
[
|
||||||
|
notify_send,
|
||||||
|
"--app-name=Codex",
|
||||||
|
f"--icon={CHATGPT_ICON}",
|
||||||
|
"Codex",
|
||||||
|
message,
|
||||||
|
],
|
||||||
stdout=subprocess.DEVNULL,
|
stdout=subprocess.DEVNULL,
|
||||||
stderr=subprocess.DEVNULL,
|
stderr=subprocess.DEVNULL,
|
||||||
check=False,
|
check=False,
|
||||||
|
|||||||
@@ -160,3 +160,4 @@ x-scheme-handler/claude-cli=claude-code-url-handler.desktop
|
|||||||
x-scheme-handler/mux=mux.desktop
|
x-scheme-handler/mux=mux.desktop
|
||||||
x-scheme-handler/claude=com.anthropic.claude-desktop.desktop
|
x-scheme-handler/claude=com.anthropic.claude-desktop.desktop
|
||||||
x-scheme-handler/t3code=t3code.desktop
|
x-scheme-handler/t3code=t3code.desktop
|
||||||
|
x-scheme-handler/codex=ChatGPT.desktop
|
||||||
|
|||||||
@@ -110,3 +110,7 @@ case ":$PATH:" in
|
|||||||
*) export PATH="$PNPM_HOME:$PATH" ;;
|
*) export PATH="$PNPM_HOME:$PATH" ;;
|
||||||
esac
|
esac
|
||||||
# pnpm end
|
# pnpm end
|
||||||
|
|
||||||
|
# >>> Codex installer >>>
|
||||||
|
export PATH="/home/sudacode/.local/bin:$PATH"
|
||||||
|
# <<< Codex installer <<<
|
||||||
|
|||||||
Reference in New Issue
Block a user