diff --git a/claude/dot.yaml b/claude/dot.yaml index 110e3fa..bb9d3c4 100644 --- a/claude/dot.yaml +++ b/claude/dot.yaml @@ -7,7 +7,6 @@ windows: - pnpm links: commands: ~/.claude/commands - hooks: ~/.claude/hooks settings.json: ~/.claude/settings.json linux|darwin: @@ -19,5 +18,4 @@ linux|darwin: - pnpm links: commands: ~/.claude/commands - hooks: ~/.claude/hooks settings.json: ~/.claude/settings.json diff --git a/claude/hooks/index.ts b/claude/hooks/index.ts deleted file mode 100644 index 17aa386..0000000 --- a/claude/hooks/index.ts +++ /dev/null @@ -1,35 +0,0 @@ -import { readAll } from "jsr:@std/io" -import { Database } from "jsr:@db/sqlite"; - -async function runHook() { - const stdin = new TextDecoder().decode(await readAll(Deno.stdin)) - const data = JSON.parse(stdin) - - const hookEventName = data.hook_event_name - const sessionId = data.session_id - const cwd = data.cwd - - const db = new Database(".claude.db") - - db.exec(`CREATE TABLE IF NOT EXISTS sessions ( - id INTEGER PRIMARY KEY AUTOINCREMENT, - hook_event_name TEXT, - session_id TEXT, - cwd TEXT, - data JSON - created_at DATETIME DEFAULT CURRENT_TIMESTAMP - )`) - - const query = db.prepare(` - INSERT INTO sessions (hook_event_name, session_id, cwd, data) - VALUES (?, ?, ?, ?) - `) - - query.run(hookEventName, sessionId, cwd, data) - - db.close() -} - -await runHook().catch((e) => { - Deno.writeFileSync(".claude.error", new TextEncoder().encode(e)) -}) diff --git a/claude/settings.json b/claude/settings.json index 92aa9c3..bedb7b2 100644 --- a/claude/settings.json +++ b/claude/settings.json @@ -1,10 +1,9 @@ { "$schema": "https://json.schemastore.org/claude-code-settings.json", - "model": "opus", - "hooks": {}, "enabledPlugins": { "safety-net@cc-marketplace": true, "frontend-design@claude-plugins-official": true }, + "voiceEnabled": true, "skipDangerousModePermissionPrompt": true } diff --git a/code/settings.json b/code/settings.json index 65ab3f5..2ae54f5 100644 --- a/code/settings.json +++ b/code/settings.json @@ -17,9 +17,7 @@ "yaml": true }, "editor.stickyScroll.enabled": true, - "[typescript]": { - "editor.defaultFormatter": "biomejs.biome" - }, + "[typescript]": {}, "[javascript]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, @@ -67,6 +65,7 @@ "diffEditor.ignoreTrimWhitespace": false, "editor.formatOnPaste": false, "editor.formatOnSave": true, + "editor.codeActionsOnSave": {}, "editor.inlineSuggest.enabled": true, "editor.suggestSelection": "first", "editor.tabSize": 2, @@ -217,7 +216,6 @@ "git.autofetch": true, "window.zoomLevel": 1, "window.newWindowDimensions": "maximized", - "editor.codeActionsOnSave": {}, "terminal.integrated.enableMultiLinePasteWarning": "never", "todo-tree.general.exportPath": "${workspaceFolder}/todo-tree-%Y%m%d-%H%M.json", diff --git a/gcloud/dot.yaml b/gcloud/dot.yaml new file mode 100644 index 0000000..04a8bed --- /dev/null +++ b/gcloud/dot.yaml @@ -0,0 +1,5 @@ +windows: + installs: false + +linux|darwin: + installs: brew install --cask gcloud-cli diff --git a/gws/dot.yaml b/gws/dot.yaml new file mode 100644 index 0000000..ce65b60 --- /dev/null +++ b/gws/dot.yaml @@ -0,0 +1,5 @@ +windows: + installs: false + +linux|darwin: + installs: pnpm install -g @googleworkspace/cli