feat(protocol): expand Obsidian wikilinks in attach_context
When attaching Obsidian notes, extract [[wikilinks]] from the note content and resolve them to actual vault files. Linked notes are attached as "obsidian_wikilink" type, bounded by remaining_tokens. Supports both [[Note]] and [[Note|Display]] syntax. Closes #102 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
92c551f1b7
commit
263adf87cd
6 changed files with 103 additions and 16 deletions
|
|
@ -5,8 +5,10 @@
|
|||
# ここでは軽い状態表示のみ。
|
||||
|
||||
TOOL_INPUT="$1"
|
||||
MIYABI_BIN="/Users/shunsukehayashi/dev/platform/miyabi-cli-standalone/target/release/miyabi"
|
||||
STORE="/Users/shunsukehayashi/dev/platform/miyabi-cli-standalone/project_memory/tasks.json"
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
REPO_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
|
||||
MIYABI_BIN="${MIYABI_BIN:-$REPO_ROOT/target/release/miyabi}"
|
||||
STORE="${POLARIS_TASK_STORE:-$REPO_ROOT/project_memory/tasks.json}"
|
||||
|
||||
# miyabi バイナリがなければスキップ
|
||||
if [ ! -x "$MIYABI_BIN" ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue