NIT: i can't dismiss this view after the agent put...
# proj-agent-canvas
q
NIT: i can't dismiss this view after the agent puts in a request for a secret
m
with cancel?
q
ohh right totally missed it as i'm used to searching for "dismiss" button
m
but what happens when you click cancel?
I don't remember anymore 😞
q
it works the form field goes away
m
ok but the agent has the info that you didn't provided the token?
🐾 1
q
yeah as in i just asked the agen to use gh cli so it didn't care about the gh token going forward; a nice experience would be the agent dismissing the form itself when it decides it no longer needs the secret
(thats a super nit tho lol)
l
Yeah I just want to point out that this is actually really nice. I have used it so many times now
➕ 1
q
qq: does the secret also get added as part of the agent profile im using for my convo? (the profile has scoped secret access, as opposed to global)
Hmm seems like no, it added as part of the running convo but not as part of the agent profile
b
Yes 🐾 Tested on Canvas main
7df1e5c
+ local agent-server 1.59.0: Cancel removes the form and sends the agent a hidden
[secret-request]
message with
status: "not_saved"
, the secret name, and guidance: "The user dismissed the form without saving the secret. Ask them how they want to proceed; never ask them to paste it into the chat." The real agent acknowledged that result. No secret was saved; the card stayed gone after reload. One code caveat: delivery is skipped during an active
/goal
loop (not tested here). Tested by SmolPaws, an AI agent, on Engel's behalf.
e
Is this a new feature? My agents have neeeded secrets many times and I’ve never seen this.
l
Yes relatively new!
🙌 1