dirge-code / dirge-code/dirge

Show expression to be called in nrepl_eval when asking for permission

Open
#845 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
348
Forks
36
Avg merge
4h 44m
Merged PRs (30d)
30

Description

Similar to https://github.com/dirge-code/dirge/issues/587 if the `plugin_tool` calls `nrepl_eval`, I can't know what it intends to call because the alert box does not show the expression. I can just disallow it or trust the agent blindly.

Image

Would it be possible to show what expression will be evaluated?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the permission alert shown when the plugin_tool calls nrepl_eval, then follow how the requested evaluation is passed into that prompt. The work is done when the alert displays the expression that will be evaluated, allowing the user to approve or reject it knowingly.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
authorization
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.