github takeshy/obsidian-gemini-helper v1.10.12

6 hours ago

Fix: Workflow system variable naming

Renamed workflow system variables from __varName__ to _varName.

Problem: The double underscore format (__eventFilePath__) is equivalent to markdown bold syntax (__text__ = **text**), causing LLMs to confuse variable names
with bold formatting when generating workflow YAML.

Changes:

  • All system variables now use single underscore prefix (e.g., _eventFilePath, _hotkeyContent)
  • Full backward compatibility — existing workflows using {{__eventFilePath__}} continue to work
  • Implemented previously unset system variables: _date, _time, _datetime, _workflowName, _lastModel
  • Added System Variables documentation to the AI workflow specification

Variable mapping:

Old New
__eventType__ _eventType
__eventFilePath__ _eventFilePath
__eventFile__ _eventFile
__eventFileContent__ _eventFileContent
__eventOldPath__ _eventOldPath
__hotkeyContent__ _hotkeyContent
__hotkeySelection__ _hotkeySelection
__hotkeyActiveFile__ _hotkeyActiveFile
__hotkeySelectionInfo__ _hotkeySelectionInfo
__workflowName__ _workflowName
__lastModel__ _lastModel
__date__ _date (newly implemented)
__time__ _time (newly implemented)
__datetime__ _datetime (newly implemented)

Don't miss a new obsidian-gemini-helper release

NewReleases is sending notifications on new releases.