The contract is pinned to the server's dev at 59bebe2

The files routes, model_ref and GET /mcp are not in a server release yet:
contract/ is the server's tests/fixtures/api_v2 at its dev commit 59bebe2,
fetched by scripts/fetch-contract.py as always. The release moves the pin
to its tag. The schedules frame's version, a hash of the list, moved with
the list's new model_ref.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
HomerandClaude Fable 5.2 committed 2026-11-18 21:00:24 +00:00
1 parent 2375affca8
commit 7d49b8d94b
32 files changed
+232 -6

No files matched your search

@@ -93,7 +93,7 @@ class ScheduleContractTest {
assertWaybread(read("schedules", ScheduleList.serializer()).schedules.single())
assertWaybread(read("schedule", ScheduleEnvelope.serializer()).schedule)
val frame = read("event_schedules", SchedulesFrame.serializer())
assertEquals("31f4ad7e7995d215", frame.version)
assertEquals("3968a502db186b62", frame.version)
assertWaybread(frame.schedules.single())
}
+1
View File
@@ -3,6 +3,7 @@
"kind": "chat",
"title": "Waybread",
"model": "qwen",
"model_ref": "local/qwen",
"folder_id": null,
"pinned": false,
"archived": false,
+1
View File
@@ -3,6 +3,7 @@
"kind": "agent",
"title": "Waybread",
"model": "qwen",
"model_ref": "local/qwen",
"folder_id": null,
"pinned": false,
"archived": false,
+1
View File
@@ -3,6 +3,7 @@
"kind": "report",
"title": "Two cakes are unwrapped",
"model": "qwen",
"model_ref": "local/qwen",
"folder_id": null,
"pinned": false,
"archived": false,
+1
View File
@@ -5,6 +5,7 @@
"kind": "chat",
"title": "Waybread",
"model": "qwen",
"model_ref": "local/qwen",
"folder_id": null,
"pinned": false,
"archived": false,
+1
View File
@@ -10,6 +10,7 @@
"machine": false,
"origin": "",
"model": "qwen",
"model_ref": "local/qwen",
"attachments": [],
"end": null,
"steps": [
+1
View File
@@ -10,6 +10,7 @@
"machine": false,
"origin": "",
"model": "qwen",
"model_ref": "local/qwen",
"attachments": [],
"end": null,
"steps": [
+3 -1
View File
@@ -1,5 +1,5 @@
{
"version": "31f4ad7e7995d215",
"version": "3968a502db186b62",
"schedules": [
{
"id": "sched1",
@@ -39,6 +39,7 @@
"catch_up": "one",
"grace_minutes": null,
"model": "qwen",
"model_ref": "local/qwen",
"effort": "high",
"agents": null,
"tools": [
@@ -72,6 +73,7 @@
"attempts": 1,
"model": {
"id": "gpt-oss",
"ref": "local/gpt-oss",
"name": "GPT-OSS",
"reason": "switched",
"switched_from": "Qwen"
+4 -1
View File
@@ -4,7 +4,10 @@
"size": 27,
"mime": "text/markdown",
"kind": "markdown",
"language": "markdown",
"file_kind": "markdown",
"level": "commit",
"writable": true,
"language": "",
"sha": "abababababababababababababababababababababababababababababababab",
"text": "# Lembas\n\nWrap it in a leaf.\n"
}
+3
View File
@@ -4,6 +4,9 @@
"size": 2048,
"mime": "image/png",
"kind": "image",
"file_kind": "image",
"level": "ro",
"writable": false,
"language": "",
"sha": "abababababababababababababababababababababababababababababababab",
"text": "",
+6
View File
@@ -0,0 +1,6 @@
{
"detail": "This file changed since you opened it. Reload it, or save anyway.",
"conflict": true,
"sha": "abababababababababababababababababababababababababababababababab",
"version": "ver2"
}
+24
View File
@@ -0,0 +1,24 @@
{
"path": "/home/frodo/lembas.md",
"sha": "abababababababababababababababababababababababababababababababab",
"versions": [
{
"id": "ver2",
"sha": "abababababababababababababababababababababababababababababababab",
"size": 27,
"at": "2026-01-02T03:04:05+00:00",
"by": "Frodo",
"chat_id": "chat1",
"current": true
},
{
"id": "ver1",
"sha": "cdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcd",
"size": 20,
"at": "2026-01-02T03:04:05+00:00",
"by": "Frodo",
"chat_id": null,
"current": false
}
]
}
+19
View File
@@ -0,0 +1,19 @@
{
"op": "move",
"to": "/home/frodo/recipes",
"atomic": false,
"results": [
{
"path": "/home/frodo/lembas.md",
"ok": true,
"to": "/home/frodo/recipes/lembas.md"
},
{
"path": "/home/frodo/map.png",
"ok": false,
"error": "Read-only: /home/frodo/map.png can be read in this session but not changed."
}
],
"done": 1,
"failed": 1
}
+51
View File
@@ -0,0 +1,51 @@
{
"path": "/home/frodo",
"parent": "/home",
"entries": [
{
"name": "recipes",
"path": "/home/frodo/recipes",
"kind": "dir",
"file_kind": null,
"size": 0,
"mime": "",
"updated_at": "2026-01-02T03:04:05+00:00"
},
{
"name": "lembas.md",
"path": "/home/frodo/lembas.md",
"kind": "file",
"file_kind": "markdown",
"size": 27,
"mime": "text/markdown",
"updated_at": "2026-01-02T03:04:05+00:00"
},
{
"name": "map.png",
"path": "/home/frodo/map.png",
"kind": "file",
"file_kind": "image",
"size": 2048,
"mime": "image/png",
"updated_at": "2026-01-02T03:04:05+00:00"
},
{
"name": "lembas (2).md",
"path": "/home/frodo/lembas (2).md",
"kind": "file",
"file_kind": "markdown",
"size": 27,
"mime": "text/markdown",
"updated_at": "2026-01-02T03:04:05+00:00"
}
],
"copied": {
"name": "lembas (2).md",
"path": "/home/frodo/lembas (2).md",
"kind": "file",
"file_kind": "markdown",
"size": 27,
"mime": "text/markdown",
"updated_at": "2026-01-02T03:04:05+00:00"
}
}
+11
View File
@@ -6,6 +6,7 @@
"name": "recipes",
"path": "/home/frodo/recipes",
"kind": "dir",
"file_kind": null,
"size": 0,
"mime": "",
"updated_at": "2026-01-02T03:04:05+00:00"
@@ -14,9 +15,19 @@
"name": "lembas.md",
"path": "/home/frodo/lembas.md",
"kind": "file",
"file_kind": "markdown",
"size": 27,
"mime": "text/markdown",
"updated_at": "2026-01-02T03:04:05+00:00"
},
{
"name": "map.png",
"path": "/home/frodo/map.png",
"kind": "file",
"file_kind": "image",
"size": 2048,
"mime": "image/png",
"updated_at": "2026-01-02T03:04:05+00:00"
}
]
}
+4
View File
@@ -0,0 +1,4 @@
{
"restored": "/home/frodo/old.md",
"items": []
}
+12
View File
@@ -0,0 +1,12 @@
{
"items": [
{
"id": "node5",
"name": "old.md",
"path": "/home/frodo/old.md",
"kind": "file",
"size": 12,
"trashed_at": "2026-01-02T03:04:05+00:00"
}
]
}
+4
View File
@@ -0,0 +1,4 @@
{
"removed": 1,
"items": []
}
+3 -3
View File
@@ -1,5 +1,5 @@
{
"ref": "v2.0.0-beta.15",
"commit": "e38cec75b3685d09ba8ff28c859bd25e5b3a294c",
"sha256": "208111001ffd502f13d7f6fbc24a232e5ddc0d63c6789afe1636e34f1c737834"
"ref": "59bebe2",
"commit": "59bebe234cae114309e40d3f96e6074bd91db46a",
"sha256": "e0e4bba98c130740c1e4c3727e86ef7e0672772789b7e85cac3a674aae91d163"
}
+64
View File
@@ -0,0 +1,64 @@
{
"servers": [
{
"id": "mcp1",
"slug": "tracker",
"name": "Tracker",
"tools": 4,
"auth": {
"kind": "secret",
"state": "ready",
"shared": false,
"account": "",
"expires_at": null,
"renews": false,
"signin_url": null
}
},
{
"id": "mcp2",
"slug": "mail",
"name": "Mail",
"tools": 7,
"auth": {
"kind": "oauth",
"state": "signed_in",
"shared": false,
"account": "frodo@example.org",
"expires_at": null,
"renews": true,
"signin_url": null
}
},
{
"id": "mcp3",
"slug": "notes",
"name": "Notes",
"tools": 3,
"auth": {
"kind": "oauth",
"state": "signed_out",
"shared": false,
"account": "",
"expires_at": null,
"renews": false,
"signin_url": "https://lembas.example.org/settings/mcp/mcp3/sign-in"
}
},
{
"id": "mcp4",
"slug": "wiki",
"name": "Wiki",
"tools": 2,
"auth": {
"kind": "oauth",
"state": "needs_signin",
"shared": true,
"account": "",
"expires_at": null,
"renews": false,
"signin_url": null
}
}
]
}
+1
View File
@@ -9,6 +9,7 @@
"machine": false,
"origin": "",
"model": "qwen",
"model_ref": "local/qwen",
"attachments": [],
"end": null,
"steps": [
+1
View File
@@ -9,6 +9,7 @@
"machine": false,
"origin": "",
"model": "qwen",
"model_ref": null,
"attachments": [],
"end": {
"phase": "failed",
+1
View File
@@ -9,6 +9,7 @@
"machine": false,
"origin": "",
"model": null,
"model_ref": null,
"attachments": [],
"text": "And the leaves?",
"progress": {
+1
View File
@@ -9,6 +9,7 @@
"machine": false,
"origin": "",
"model": "qwen",
"model_ref": null,
"attachments": [],
"end": {
"phase": "stopped",
+1
View File
@@ -9,6 +9,7 @@
"machine": false,
"origin": "",
"model": null,
"model_ref": null,
"attachments": [],
"text": "How is lembas made?",
"progress": null
+2
View File
@@ -37,6 +37,7 @@
"catch_up": "one",
"grace_minutes": null,
"model": "qwen",
"model_ref": "local/qwen",
"effort": "high",
"agents": null,
"tools": [
@@ -70,6 +71,7 @@
"attempts": 1,
"model": {
"id": "gpt-oss",
"ref": "local/gpt-oss",
"name": "GPT-OSS",
"reason": "switched",
"switched_from": "Qwen"
+2
View File
@@ -23,6 +23,7 @@
"catch_up": "one",
"grace_minutes": null,
"model": null,
"model_ref": null,
"effort": null,
"agents": null,
"tools": [
@@ -74,6 +75,7 @@
"attempts": 1,
"model": {
"id": null,
"ref": null,
"name": null,
"reason": null,
"switched_from": null
+1
View File
@@ -14,6 +14,7 @@
"attempts": 1,
"model": {
"id": "gpt-oss",
"ref": "local/gpt-oss",
"name": "GPT-OSS",
"reason": "switched",
"switched_from": "Qwen"
+1
View File
@@ -14,6 +14,7 @@
"attempts": 1,
"model": {
"id": "qwen",
"ref": "local/qwen",
"name": "Qwen",
"reason": "directory",
"switched_from": null
+2
View File
@@ -20,6 +20,7 @@
"attempts": 2,
"model": {
"id": null,
"ref": null,
"name": null,
"reason": null,
"switched_from": null
@@ -60,6 +61,7 @@
"attempts": 1,
"model": {
"id": "gpt-oss",
"ref": "local/gpt-oss",
"name": "GPT-OSS",
"reason": "switched",
"switched_from": "Qwen"
+2
View File
@@ -23,6 +23,7 @@
"catch_up": "one",
"grace_minutes": null,
"model": null,
"model_ref": null,
"effort": null,
"agents": null,
"tools": [
@@ -61,6 +62,7 @@
"attempts": 1,
"model": {
"id": null,
"ref": null,
"name": null,
"reason": null,
"switched_from": null
+2
View File
@@ -38,6 +38,7 @@
"catch_up": "one",
"grace_minutes": null,
"model": "qwen",
"model_ref": "local/qwen",
"effort": "high",
"agents": null,
"tools": [
@@ -71,6 +72,7 @@
"attempts": 1,
"model": {
"id": "gpt-oss",
"ref": "local/gpt-oss",
"name": "GPT-OSS",
"reason": "switched",
"switched_from": "Qwen"