From d52861631b7609f156e59a44b03a6c9cbafa1b1f Mon Sep 17 00:00:00 2001 From: Zhongwei Li Date: Sun, 30 Nov 2025 08:30:22 +0800 Subject: [PATCH] Initial commit --- .claude-plugin/plugin.json | 12 ++++++++++ README.md | 3 +++ hooks/hooks.json | 14 ++++++++++++ plugin.lock.json | 45 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 74 insertions(+) create mode 100644 .claude-plugin/plugin.json create mode 100644 README.md create mode 100644 hooks/hooks.json create mode 100644 plugin.lock.json diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json new file mode 100644 index 0000000..38b68ca --- /dev/null +++ b/.claude-plugin/plugin.json @@ -0,0 +1,12 @@ +{ + "name": "obsidian-logger", + "description": "A plugin to automatically log Claude Code work sessions to Obsidian Daily Notes", + "version": "0.1.0", + "author": { + "name": "kadoppe", + "email": "kkadowakix@gmail.com" + }, + "hooks": [ + "./hooks" + ] +} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..b18adfc --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# obsidian-logger + +A plugin to automatically log Claude Code work sessions to Obsidian Daily Notes diff --git a/hooks/hooks.json b/hooks/hooks.json new file mode 100644 index 0000000..410ae3e --- /dev/null +++ b/hooks/hooks.json @@ -0,0 +1,14 @@ +{ + "hooks": { + "Stop": [ + { + "hooks": [ + { + "type": "command", + "command": "python3 ${CLAUDE_PLUGIN_ROOT}/scripts/append-to-daily-note.py" + } + ] + } + ] + } +} diff --git a/plugin.lock.json b/plugin.lock.json new file mode 100644 index 0000000..a9ef613 --- /dev/null +++ b/plugin.lock.json @@ -0,0 +1,45 @@ +{ + "$schema": "internal://schemas/plugin.lock.v1.json", + "pluginId": "gh:kadoppe/cc-marketplace:plugins/obsidian-logger", + "normalized": { + "repo": null, + "ref": "refs/tags/v20251128.0", + "commit": "178dd9e8791b02f16051522c338a01a760b1aad4", + "treeHash": "d3574653f15a6dffe9d1e3f615875b60c1dd788ef5790a624a67f7ecd9276acf", + "generatedAt": "2025-11-28T10:19:23.809205Z", + "toolVersion": "publish_plugins.py@0.2.0" + }, + "origin": { + "remote": "git@github.com:zhongweili/42plugin-data.git", + "branch": "master", + "commit": "aa1497ed0949fd50e99e70d6324a29c5b34f9390", + "repoRoot": "/Users/zhongweili/projects/openmind/42plugin-data" + }, + "manifest": { + "name": "obsidian-logger", + "description": "A plugin to automatically log Claude Code work sessions to Obsidian Daily Notes", + "version": "0.1.0" + }, + "content": { + "files": [ + { + "path": "README.md", + "sha256": "5a723c90741e20f41bd3fda46c825ac7fe4fb11ce3d64d2125c926bcf462809f" + }, + { + "path": "hooks/hooks.json", + "sha256": "b194dd49f558d5cbb694dd7b50c4b9d7180aa07e68f1824bc23a5afcb41cdcd6" + }, + { + "path": ".claude-plugin/plugin.json", + "sha256": "36f5ce250c5185379db974012fd4d3d4cad6730bb34f7b635e5b30c9afbf350d" + } + ], + "dirSha256": "d3574653f15a6dffe9d1e3f615875b60c1dd788ef5790a624a67f7ecd9276acf" + }, + "security": { + "scannedAt": null, + "scannerVersion": null, + "flags": [] + } +} \ No newline at end of file