refactor: remove module barrels (#24554)
This commit is contained in:
parent
55ecb06748
commit
f25f1485d5
313 changed files with 727 additions and 677 deletions
|
|
@ -84,7 +84,7 @@ test("explore agent denies edit and write", async () => {
|
|||
})
|
||||
|
||||
test("explore agent asks for external directories and allows Truncate.GLOB", async () => {
|
||||
const { Truncate } = await import("../../src/tool")
|
||||
const { Truncate } = await import("../../src/tool/truncate")
|
||||
await using tmp = await tmpdir()
|
||||
await Instance.provide({
|
||||
directory: tmp.path,
|
||||
|
|
@ -496,7 +496,7 @@ test("legacy tools config maps write/edit/patch to edit permission", async () =>
|
|||
})
|
||||
|
||||
test("Truncate.GLOB is allowed even when user denies external_directory globally", async () => {
|
||||
const { Truncate } = await import("../../src/tool")
|
||||
const { Truncate } = await import("../../src/tool/truncate")
|
||||
await using tmp = await tmpdir({
|
||||
config: {
|
||||
permission: {
|
||||
|
|
@ -516,7 +516,7 @@ test("Truncate.GLOB is allowed even when user denies external_directory globally
|
|||
})
|
||||
|
||||
test("Truncate.GLOB is allowed even when user denies external_directory per-agent", async () => {
|
||||
const { Truncate } = await import("../../src/tool")
|
||||
const { Truncate } = await import("../../src/tool/truncate")
|
||||
await using tmp = await tmpdir({
|
||||
config: {
|
||||
agent: {
|
||||
|
|
@ -540,7 +540,7 @@ test("Truncate.GLOB is allowed even when user denies external_directory per-agen
|
|||
})
|
||||
|
||||
test("explicit Truncate.GLOB deny is respected", async () => {
|
||||
const { Truncate } = await import("../../src/tool")
|
||||
const { Truncate } = await import("../../src/tool/truncate")
|
||||
await using tmp = await tmpdir({
|
||||
config: {
|
||||
permission: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue