mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-17 19:20:39 +09:00
Improve instructions bundle mode switching
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
parent
5252568825
commit
154a4a7ac1
5 changed files with 259 additions and 41 deletions
|
|
@ -103,6 +103,7 @@ describe("agent instructions bundle routes", () => {
|
|||
companyId: "company-1",
|
||||
mode: "managed",
|
||||
rootPath: "/tmp/agent-1",
|
||||
managedRootPath: "/tmp/agent-1",
|
||||
entryFile: "AGENTS.md",
|
||||
resolvedEntryPath: "/tmp/agent-1/AGENTS.md",
|
||||
editable: true,
|
||||
|
|
@ -161,6 +162,7 @@ describe("agent instructions bundle routes", () => {
|
|||
expect(res.body).toMatchObject({
|
||||
mode: "managed",
|
||||
rootPath: "/tmp/agent-1",
|
||||
managedRootPath: "/tmp/agent-1",
|
||||
entryFile: "AGENTS.md",
|
||||
});
|
||||
expect(mockAgentInstructionsService.getBundle).toHaveBeenCalled();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue