Skip to content

feat: support global config file at ~/.claude/dash0-agent-plugin.local.md#89

Merged
GuyMoses merged 5 commits into
mainfrom
eng-8290-support-global-config-file-for-dash0-agent-plugin
May 19, 2026
Merged

feat: support global config file at ~/.claude/dash0-agent-plugin.local.md#89
GuyMoses merged 5 commits into
mainfrom
eng-8290-support-global-config-file-for-dash0-agent-plugin

Conversation

@GuyMoses

Copy link
Copy Markdown
Contributor

Summary

  • Add fallback to ~/.claude/dash0-agent-plugin.local.md when project-level config doesn't exist
  • Allows users to configure the plugin once for all projects

Precedence order

  1. Project-level .claude/dash0-agent-plugin.local.md
  2. Global ~/.claude/dash0-agent-plugin.local.md

Closes #88

Test plan

  • Verified global config loads when no project config exists
  • Verified project config takes precedence over global
  • Verified enabled: false still works
  • Verified no errors when neither config exists

@GuyMoses GuyMoses force-pushed the eng-8290-support-global-config-file-for-dash0-agent-plugin branch from 8c5370f to c64c8d2 Compare May 19, 2026 13:03
…l.md

Add fallback to global config when project-level config doesn't exist.
Precedence: project-level > global > environment variables.

Closes #88
@GuyMoses GuyMoses force-pushed the eng-8290-support-global-config-file-for-dash0-agent-plugin branch from c64c8d2 to a433b06 Compare May 19, 2026 13:05
- Show helpful message when OTLP URL or auth token is missing
- Document global config file support in README
- Update troubleshooting section with new error messages
@GuyMoses GuyMoses force-pushed the eng-8290-support-global-config-file-for-dash0-agent-plugin branch from a433b06 to 324acd4 Compare May 19, 2026 13:08
Add support for privacy settings in project-level and global config files.
Comment thread scripts/on-event.sh
PROJECT_SETTINGS=".claude/dash0-agent-plugin.local.md"
GLOBAL_SETTINGS="$HOME/.claude/dash0-agent-plugin.local.md"

load_settings "$PROJECT_SETTINGS" || load_settings "$GLOBAL_SETTINGS" || true

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i wonder if users will try to override just a single option, like dataset.
not urgent for now

GuyMoses added 2 commits May 19, 2026 17:30
When OmitIO is true, wrap REDACTED placeholder in proper JSON structure
so the UI can parse roles and show user/assistant entries in the
conversation timeline.
@GuyMoses GuyMoses merged commit eb61188 into main May 19, 2026
6 checks passed
@GuyMoses GuyMoses deleted the eng-8290-support-global-config-file-for-dash0-agent-plugin branch May 19, 2026 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support global config file at ~/.claude/dash0-agent-plugin.local.md

2 participants