mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-12-04 12:50:37 +01:00
Fix Photon capability fallback and retryable construction cleanup
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
02441b75b3
commit
30bcfa3bbd
17 files changed
+848
-88
No files matched your search
@@ -35,6 +35,8 @@ const required = [
|
||||
["@chat-adapter/teams", "4.39.0"],
|
||||
["@chat-adapter/telegram", "4.39.0"],
|
||||
["@discordjs/ws", "1.2.3"],
|
||||
["@grpc/grpc-js", "1.14.5"],
|
||||
["@photon-ai/advanced-imessage", "2.2.0"],
|
||||
];
|
||||
|
||||
for (const [name, version] of required) {
|
||||
@@ -83,7 +85,12 @@ test("release selection includes every chat runtime patch and the existing ACPX
|
||||
join(tmpdir(), "paperclip-chat-release-contract-"),
|
||||
);
|
||||
t.after(() => rmSync(destination, { recursive: true, force: true }));
|
||||
for (const [name, version] of [...required, ["acpx", "0.13.1"]]) {
|
||||
for (const [name, version] of [
|
||||
...required,
|
||||
["acpx", "0.13.1"],
|
||||
["@agentclientprotocol/claude-agent-acp", "0.73.0"],
|
||||
["@agentclientprotocol/codex-acp", "1.6.2"],
|
||||
]) {
|
||||
const directory = join(destination, "node_modules", name);
|
||||
mkdirSync(directory, { recursive: true });
|
||||
writeFileSync(
|
||||
@@ -101,6 +108,8 @@ test("release selection includes every chat runtime patch and the existing ACPX
|
||||
[
|
||||
...required.map(([name, version]) => `${name}@${version}`),
|
||||
"acpx@0.13.1",
|
||||
"@agentclientprotocol/claude-agent-acp@0.73.0",
|
||||
"@agentclientprotocol/codex-acp@1.6.2",
|
||||
].sort(),
|
||||
);
|
||||
writeFileSync(
|
||||
|
||||
Reference in new issue
Block a user