mirror of
https://github.com/ksyasuda/dotfiles.git
synced 2026-02-28 00:22:41 -08:00
update
This commit is contained in:
@@ -10,22 +10,23 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"hooks": {
|
"hooks": {
|
||||||
"Notification": [
|
"Notification": [
|
||||||
|
{
|
||||||
|
"matcher": "",
|
||||||
|
"hooks": [
|
||||||
{
|
{
|
||||||
"matcher": "",
|
"type": "command",
|
||||||
"hooks": [
|
"command": "powershell.exe -Command \"[System.Reflection.Assembly]::LoadWithPartialName('System.Windows.Forms'); [System.Windows.Forms.MessageBox]::Show('Claude Code needs your attention', 'Claude Code')\""
|
||||||
{
|
|
||||||
"type": "command",
|
|
||||||
"command": "powershell.exe -Command \"[System.Reflection.Assembly]::LoadWithPartialName('System.Windows.Forms'); [System.Windows.Forms.MessageBox]::Show('Claude Code needs your attention', 'Claude Code')\""
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"enabledPlugins": {
|
"enabledPlugins": {
|
||||||
"pyright-lsp@claude-plugins-official": true,
|
"pyright-lsp@claude-plugins-official": true,
|
||||||
"typescript-lsp@claude-plugins-official": true,
|
"typescript-lsp@claude-plugins-official": true,
|
||||||
"clangd-lsp@claude-plugins-official": true
|
"clangd-lsp@claude-plugins-official": true,
|
||||||
|
"superpowers@claude-plugins-official": true
|
||||||
},
|
},
|
||||||
"sandbox": {
|
"sandbox": {
|
||||||
"enabled": false,
|
"enabled": false,
|
||||||
@@ -39,6 +40,5 @@
|
|||||||
"excludedCommands": [
|
"excludedCommands": [
|
||||||
"docker"
|
"docker"
|
||||||
]
|
]
|
||||||
},
|
}
|
||||||
"model": "haiku"
|
|
||||||
}
|
}
|
||||||
|
|||||||
12
.codex/AGENTS.md
Normal file
12
.codex/AGENTS.md
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
- Delete unused or obsolete files when your changes make them irrelevant (refactors, feature removals, etc.), and revert files only when the change is yours or explicitly requested. If a git operation leaves you unsure about other agents' in-flight work, stop and coordinate instead of deleting.
|
||||||
|
- **Before attempting to delete a file to resolve a local type/lint failure, stop and ask the user.** Other agents are often editing adjacent files; deleting their work to silence an error is never acceptable without explicit approval.
|
||||||
|
- NEVER edit `.env` or any environment variable files—only the user may change them.
|
||||||
|
- Coordinate with other agents before removing their in-progress edits—don't revert or delete work you didn't author unless everyone agrees.
|
||||||
|
- Moving/renaming and restoring files is allowed.
|
||||||
|
- ABSOLUTELY NEVER run destructive git operations (e.g., `git reset --hard`, `rm`, `git checkout`/`git restore` to an older commit) unless the user gives an explicit, written instruction in this conversation. Treat these commands as catastrophic; if you are even slightly unsure, stop and ask before touching them. _(When working within Cursor or Codex Web, these git limitations do not apply; use the tooling's capabilities as needed.)_
|
||||||
|
- Never use `git restore` (or similar commands) to revert files you didn't author—coordinate with other agents instead so their in-progress work stays intact.
|
||||||
|
- Always double-check git status before any commit
|
||||||
|
- Keep commits atomic: commit only the files you touched and list each path explicitly. For tracked files run `git commit -m "<scoped message>" -- path/to/file1 path/to/file2`. For brand-new files, use the one-liner `git restore --staged :/ && git add "path/to/file1" "path/to/file2" && git commit -m "<scoped message>" -- path/to/file1 path/to/file2`.
|
||||||
|
- Quote any git paths containing brackets or parentheses (e.g., `src/app/[candidate]/**`) when staging or committing so the shell does not treat them as globs or subshells.
|
||||||
|
- When running `git rebase`, avoid opening editors—export `GIT_EDITOR=:` and `GIT_SEQUENCE_EDITOR=:` (or pass `--no-edit`) so the default messages are used automatically.
|
||||||
|
- Never amend commits unless you have explicit written approval in the task thread.
|
||||||
49
.codex/config.toml
Normal file
49
.codex/config.toml
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
model = "gpt-5.3-codex-spark"
|
||||||
|
model_reasoning_effort = "medium"
|
||||||
|
personality = "pragmatic"
|
||||||
|
tool_output_token_limit = 25000
|
||||||
|
# Leave room for native compaction near the 272–273k context window.
|
||||||
|
# Formula: 273000 - (tool_output_token_limit + 15000)
|
||||||
|
# With tool_output_token_limit=25000 ⇒ 273000 - (25000 + 15000) = 233000
|
||||||
|
model_auto_compact_token_limit = 233000
|
||||||
|
[features]
|
||||||
|
ghost_commit = false
|
||||||
|
unified_exec = true
|
||||||
|
apply_patch_freeform = true
|
||||||
|
web_search_request = true
|
||||||
|
skills = true
|
||||||
|
shell_snapshot = true
|
||||||
|
|
||||||
|
[projects."/home/kyasuda/gitlab/python_package_registry"]
|
||||||
|
trust_level = "trusted"
|
||||||
|
|
||||||
|
[projects."/home/kyasuda/gitlab/treasury-me"]
|
||||||
|
trust_level = "trusted"
|
||||||
|
|
||||||
|
[projects."/home/kyasuda/projects/tmp"]
|
||||||
|
trust_level = "trusted"
|
||||||
|
|
||||||
|
[projects."/home/kyasuda/github/SubMiner"]
|
||||||
|
trust_level = "trusted"
|
||||||
|
|
||||||
|
[projects."/home/kyasuda/.zsh"]
|
||||||
|
trust_level = "untrusted"
|
||||||
|
|
||||||
|
[projects."/home/kyasuda/.config/mpv"]
|
||||||
|
trust_level = "untrusted"
|
||||||
|
|
||||||
|
[projects."/home/kyasuda/packages/whisperx"]
|
||||||
|
trust_level = "trusted"
|
||||||
|
|
||||||
|
[projects."/home/kyasuda/tmp"]
|
||||||
|
trust_level = "untrusted"
|
||||||
|
|
||||||
|
[projects."/home/kyasuda/github/Manatan"]
|
||||||
|
trust_level = "trusted"
|
||||||
|
|
||||||
|
[projects."/home/kyasuda/gitlab/accts-loader"]
|
||||||
|
trust_level = "trusted"
|
||||||
|
|
||||||
|
[mcp_servers.backlog]
|
||||||
|
command = "backlog"
|
||||||
|
args = ["mcp", "start"]
|
||||||
15
.codex/config.toml##os.Linux
Normal file
15
.codex/config.toml##os.Linux
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
model = "gpt-5.3-codex-spark"
|
||||||
|
model_reasoning_effort = "medium"
|
||||||
|
personality = "pragmatic"
|
||||||
|
tool_output_token_limit = 25000
|
||||||
|
# Leave room for native compaction near the 272–273k context window.
|
||||||
|
# Formula: 273000 - (tool_output_token_limit + 15000)
|
||||||
|
# With tool_output_token_limit=25000 ⇒ 273000 - (25000 + 15000) = 233000
|
||||||
|
model_auto_compact_token_limit = 233000
|
||||||
|
[features]
|
||||||
|
ghost_commit = false
|
||||||
|
unified_exec = true
|
||||||
|
apply_patch_freeform = true
|
||||||
|
web_search_request = true
|
||||||
|
skills = true
|
||||||
|
shell_snapshot = true
|
||||||
@@ -46,7 +46,7 @@ vo=gpu-next
|
|||||||
hwdec=nvdec
|
hwdec=nvdec
|
||||||
hwdec-codecs=all
|
hwdec-codecs=all
|
||||||
gpu-api=vulkan
|
gpu-api=vulkan
|
||||||
gpu-context=winvk
|
gpu-context=auto
|
||||||
vulkan-queue-count=2
|
vulkan-queue-count=2
|
||||||
vulkan-async-compute=yes
|
vulkan-async-compute=yes
|
||||||
vulkan-async-transfer=yes
|
vulkan-async-transfer=yes
|
||||||
@@ -168,4 +168,3 @@ sub-border-size=1.2
|
|||||||
sub-shadow-color=0.0/0.0/0.0/0.6
|
sub-shadow-color=0.0/0.0/0.0/0.6
|
||||||
sub-shadow-offset=3
|
sub-shadow-offset=3
|
||||||
sub-hinting=light
|
sub-hinting=light
|
||||||
|
|
||||||
|
|||||||
@@ -3,142 +3,16 @@
|
|||||||
"plugin": [
|
"plugin": [
|
||||||
"opencode-openai-codex-auth",
|
"opencode-openai-codex-auth",
|
||||||
"opencode-antigravity-auth@beta",
|
"opencode-antigravity-auth@beta",
|
||||||
"@mohak34/opencode-notifier@latest",
|
"@mohak34/opencode-notifier@latest"
|
||||||
],
|
],
|
||||||
|
"mcp": {
|
||||||
|
"backlog": {
|
||||||
|
"type": "local",
|
||||||
|
"command": ["backlog", "mcp", "start"],
|
||||||
|
"enabled": true
|
||||||
|
}
|
||||||
|
},
|
||||||
"provider": {
|
"provider": {
|
||||||
"openai": {
|
|
||||||
"name": "OpenAI",
|
|
||||||
"options": {
|
|
||||||
"reasoningEffort": "medium",
|
|
||||||
"reasoningSummary": "auto",
|
|
||||||
"textVerbosity": "medium",
|
|
||||||
"include": [
|
|
||||||
"reasoning.encrypted_content"
|
|
||||||
],
|
|
||||||
"store": false
|
|
||||||
},
|
|
||||||
"models": {
|
|
||||||
"gpt-5.2": {
|
|
||||||
"name": "GPT 5.2 (OAuth)",
|
|
||||||
"limit": {
|
|
||||||
"context": 272000,
|
|
||||||
"output": 128000
|
|
||||||
},
|
|
||||||
"modalities": {
|
|
||||||
"input": [
|
|
||||||
"text",
|
|
||||||
"image"
|
|
||||||
],
|
|
||||||
"output": [
|
|
||||||
"text"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"variants": {
|
|
||||||
"none": {
|
|
||||||
"reasoningEffort": "none",
|
|
||||||
"reasoningSummary": "auto",
|
|
||||||
"textVerbosity": "medium"
|
|
||||||
},
|
|
||||||
"low": {
|
|
||||||
"reasoningEffort": "low",
|
|
||||||
"reasoningSummary": "auto",
|
|
||||||
"textVerbosity": "medium"
|
|
||||||
},
|
|
||||||
"medium": {
|
|
||||||
"reasoningEffort": "medium",
|
|
||||||
"reasoningSummary": "auto",
|
|
||||||
"textVerbosity": "medium"
|
|
||||||
},
|
|
||||||
"high": {
|
|
||||||
"reasoningEffort": "high",
|
|
||||||
"reasoningSummary": "detailed",
|
|
||||||
"textVerbosity": "medium"
|
|
||||||
},
|
|
||||||
"xhigh": {
|
|
||||||
"reasoningEffort": "xhigh",
|
|
||||||
"reasoningSummary": "detailed",
|
|
||||||
"textVerbosity": "medium"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"gpt-5.2-codex": {
|
|
||||||
"name": "GPT 5.2 Codex (OAuth)",
|
|
||||||
"limit": {
|
|
||||||
"context": 272000,
|
|
||||||
"output": 128000
|
|
||||||
},
|
|
||||||
"modalities": {
|
|
||||||
"input": [
|
|
||||||
"text",
|
|
||||||
"image"
|
|
||||||
],
|
|
||||||
"output": [
|
|
||||||
"text"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"variants": {
|
|
||||||
"low": {
|
|
||||||
"reasoningEffort": "low",
|
|
||||||
"reasoningSummary": "auto",
|
|
||||||
"textVerbosity": "medium"
|
|
||||||
},
|
|
||||||
"medium": {
|
|
||||||
"reasoningEffort": "medium",
|
|
||||||
"reasoningSummary": "auto",
|
|
||||||
"textVerbosity": "medium"
|
|
||||||
},
|
|
||||||
"high": {
|
|
||||||
"reasoningEffort": "high",
|
|
||||||
"reasoningSummary": "detailed",
|
|
||||||
"textVerbosity": "medium"
|
|
||||||
},
|
|
||||||
"xhigh": {
|
|
||||||
"reasoningEffort": "xhigh",
|
|
||||||
"reasoningSummary": "detailed",
|
|
||||||
"textVerbosity": "medium"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"gpt-5.2-codex-max": {
|
|
||||||
"name": "GPT 5.2 Codex Max (OAuth)",
|
|
||||||
"limit": {
|
|
||||||
"context": 272000,
|
|
||||||
"output": 128000
|
|
||||||
},
|
|
||||||
"modalities": {
|
|
||||||
"input": [
|
|
||||||
"text",
|
|
||||||
"image"
|
|
||||||
],
|
|
||||||
"output": [
|
|
||||||
"text"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"variants": {
|
|
||||||
"low": {
|
|
||||||
"reasoningEffort": "low",
|
|
||||||
"reasoningSummary": "detailed",
|
|
||||||
"textVerbosity": "medium"
|
|
||||||
},
|
|
||||||
"medium": {
|
|
||||||
"reasoningEffort": "medium",
|
|
||||||
"reasoningSummary": "detailed",
|
|
||||||
"textVerbosity": "medium"
|
|
||||||
},
|
|
||||||
"high": {
|
|
||||||
"reasoningEffort": "high",
|
|
||||||
"reasoningSummary": "detailed",
|
|
||||||
"textVerbosity": "medium"
|
|
||||||
},
|
|
||||||
"xhigh": {
|
|
||||||
"reasoningEffort": "xhigh",
|
|
||||||
"reasoningSummary": "detailed",
|
|
||||||
"textVerbosity": "medium"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"google": {
|
"google": {
|
||||||
"name": "Google",
|
"name": "Google",
|
||||||
"models": {
|
"models": {
|
||||||
@@ -151,14 +25,8 @@
|
|||||||
"output": 65535
|
"output": 65535
|
||||||
},
|
},
|
||||||
"modalities": {
|
"modalities": {
|
||||||
"input": [
|
"input": ["text", "image", "pdf"],
|
||||||
"text",
|
"output": ["text"]
|
||||||
"image",
|
|
||||||
"pdf"
|
|
||||||
],
|
|
||||||
"output": [
|
|
||||||
"text"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"antigravity-gemini-3-pro-low": {
|
"antigravity-gemini-3-pro-low": {
|
||||||
@@ -170,14 +38,8 @@
|
|||||||
"output": 65535
|
"output": 65535
|
||||||
},
|
},
|
||||||
"modalities": {
|
"modalities": {
|
||||||
"input": [
|
"input": ["text", "image", "pdf"],
|
||||||
"text",
|
"output": ["text"]
|
||||||
"image",
|
|
||||||
"pdf"
|
|
||||||
],
|
|
||||||
"output": [
|
|
||||||
"text"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"antigravity-gemini-3-flash": {
|
"antigravity-gemini-3-flash": {
|
||||||
@@ -188,14 +50,8 @@
|
|||||||
"output": 65536
|
"output": 65536
|
||||||
},
|
},
|
||||||
"modalities": {
|
"modalities": {
|
||||||
"input": [
|
"input": ["text", "image", "pdf"],
|
||||||
"text",
|
"output": ["text"]
|
||||||
"image",
|
|
||||||
"pdf"
|
|
||||||
],
|
|
||||||
"output": [
|
|
||||||
"text"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user