chore(release): cut 0.4.0-beta.2

This commit is contained in:
Mohamed Boudra
2026-08-12 23:18:28 +02:00
parent ed0d4e6c5b
commit 44b9980a70
13 changed files with 77 additions and 41 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@getpaseo/app",
"version": "0.4.0-beta.1",
"version": "0.4.0-beta.2",
"private": true,
"main": "index.ts",
"scripts": {
@@ -25,6 +25,10 @@ class MemoryStorage implements ReplicaCacheStorage {
this.writes += 1;
this.values.set(key, value);
}
async removeItem(key: string): Promise<void> {
this.values.delete(key);
}
}
function workspace(
@@ -226,6 +230,38 @@ describe("ReplicaCache", () => {
});
});
it("clears a cache containing a timeline row that fails its schema", async () => {
const storage = new MemoryStorage();
const writer = new ReplicaCache(storage);
writer.setHosts([SERVER_ID]);
seedSession();
await writer.flush();
const payload = JSON.parse(storage.values.get("@paseo:replica-cache") ?? "null") as {
hosts: Array<{ timeline: { items: unknown[] } | null }>;
};
const timeline = payload.hosts[0]?.timeline;
if (!timeline) throw new Error("Expected cached timeline");
timeline.items = [
{
kind: "todo_list",
id: "legacy-todo",
timestamp: { __paseoDate: "2026-08-11T08:02:00.000Z" },
provider: "codex",
items: [{ text: "Ship it", completed: false }],
},
];
storage.values.set("@paseo:replica-cache", JSON.stringify(payload));
useSessionStore.getState().clearSession(SERVER_ID);
const reader = new ReplicaCache(storage);
reader.setHosts([SERVER_ID]);
await reader.restore();
expect(storage.values.has("@paseo:replica-cache")).toBe(false);
expect(useSessionStore.getState().sessions[SERVER_ID]).toBeUndefined();
});
it("persists only the focused agent view with a short timeline tail", async () => {
const storage = new MemoryStorage();
const cache = new ReplicaCache(storage);
+4 -4
View File
@@ -1,6 +1,6 @@
{
"name": "@getpaseo/cli",
"version": "0.4.0-beta.1",
"version": "0.4.0-beta.2",
"description": "Paseo CLI - control your AI coding agents from the command line",
"bin": {
"paseo": "bin/paseo"
@@ -28,9 +28,9 @@
},
"dependencies": {
"@clack/prompts": "^1.0.0",
"@getpaseo/client": "0.4.0-beta.1",
"@getpaseo/protocol": "0.4.0-beta.1",
"@getpaseo/server": "0.4.0-beta.1",
"@getpaseo/client": "0.4.0-beta.2",
"@getpaseo/protocol": "0.4.0-beta.2",
"@getpaseo/server": "0.4.0-beta.2",
"chalk": "^5.3.0",
"commander": "^12.0.0",
"mime-types": "^2.1.35",
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@getpaseo/client",
"version": "0.4.0-beta.1",
"version": "0.4.0-beta.2",
"description": "Paseo client SDK package",
"files": [
"dist",
@@ -39,8 +39,8 @@
"test": "vitest run"
},
"dependencies": {
"@getpaseo/protocol": "0.4.0-beta.1",
"@getpaseo/relay": "0.4.0-beta.1",
"@getpaseo/protocol": "0.4.0-beta.2",
"@getpaseo/relay": "0.4.0-beta.2",
"zod": "^4.4.3"
},
"devDependencies": {
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@getpaseo/desktop",
"version": "0.4.0-beta.1",
"version": "0.4.0-beta.2",
"private": true,
"description": "Paseo desktop app (Electron wrapper)",
"homepage": "https://paseo.sh",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@getpaseo/expo-two-way-audio",
"version": "0.4.0-beta.1",
"version": "0.4.0-beta.2",
"description": "Native module for two way audio streaming",
"keywords": [
"ExpoTwoWayAudio",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@getpaseo/highlight",
"version": "0.4.0-beta.1",
"version": "0.4.0-beta.2",
"files": [
"dist",
"!dist/**/*.map"
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@getpaseo/protocol",
"version": "0.4.0-beta.1",
"version": "0.4.0-beta.2",
"description": "Paseo shared protocol schemas and wire types",
"files": [
"dist",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@getpaseo/relay",
"version": "0.4.0-beta.1",
"version": "0.4.0-beta.2",
"description": "Paseo relay for bridging daemon and client connections",
"files": [
"dist",
+5 -5
View File
@@ -1,6 +1,6 @@
{
"name": "@getpaseo/server",
"version": "0.4.0-beta.1",
"version": "0.4.0-beta.2",
"description": "Paseo backend server",
"files": [
"dist/server",
@@ -71,10 +71,10 @@
"@agentclientprotocol/sdk": "^0.17.1",
"@anthropic-ai/claude-agent-sdk": "^0.3.220",
"@anthropic-ai/sdk": "^0.104.2",
"@getpaseo/client": "0.4.0-beta.1",
"@getpaseo/highlight": "0.4.0-beta.1",
"@getpaseo/protocol": "0.4.0-beta.1",
"@getpaseo/relay": "0.4.0-beta.1",
"@getpaseo/client": "0.4.0-beta.2",
"@getpaseo/highlight": "0.4.0-beta.2",
"@getpaseo/protocol": "0.4.0-beta.2",
"@getpaseo/relay": "0.4.0-beta.2",
"@isaacs/ttlcache": "^2.1.4",
"@modelcontextprotocol/sdk": "^1.20.1",
"@opencode-ai/sdk": "1.14.46",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@getpaseo/website",
"version": "0.4.0-beta.1",
"version": "0.4.0-beta.2",
"private": true,
"type": "module",
"scripts": {