Merge branch 'main' of github.com:getpaseo/paseo

This commit is contained in:
Mohamed Boudra
2026-08-13 20:06:41 +02:00
2 changed files with 13 additions and 0 deletions
@@ -3,6 +3,16 @@ import { describe, expect, test } from "vitest";
import { buildProviderCommand } from "@/utils/provider-command-templates";
describe("buildProviderCommand", () => {
test("builds Hermes resume commands from native session ids", () => {
expect(
buildProviderCommand({
provider: "hermes",
id: "resume",
sessionId: "20260813_111500_abc123",
}),
).toBe("hermes --resume 20260813_111500_abc123");
});
test("builds OpenCode resume commands from native session ids", () => {
expect(
buildProviderCommand({
@@ -17,6 +17,9 @@ export const PROVIDER_COMMAND_TEMPLATES: Record<
claude: {
resume: "claude --resume {sessionId}",
},
hermes: {
resume: "hermes --resume {sessionId}",
},
pi: {
resume: "pi --session {sessionId}",
},