fix(session): avoid sticky prompt tool overrides (#31394)
This commit is contained in:
@@ -421,19 +421,15 @@ describe("tool.task", () => {
|
||||
{
|
||||
permission: "bash",
|
||||
pattern: "*",
|
||||
action: "allow",
|
||||
action: "deny",
|
||||
},
|
||||
{
|
||||
permission: "read",
|
||||
pattern: "*",
|
||||
action: "allow",
|
||||
action: "deny",
|
||||
},
|
||||
])
|
||||
expect(seen?.tools).toEqual({
|
||||
todowrite: false,
|
||||
bash: false,
|
||||
read: false,
|
||||
})
|
||||
expect(seen?.tools).toBeUndefined()
|
||||
}),
|
||||
{
|
||||
config: {
|
||||
|
||||
Reference in New Issue
Block a user