You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Working directory for the agent session
60
+
description: Existing directory associated with session metadata. The daemon executes tools from its startup working directory; it never performs a process-wide chdir per request.
59
61
agent:
60
62
type: string
61
-
description: Named agent persona to run
63
+
description: Named Hawk agent persona to apply. Continuations inherit the persisted persona when omitted.
62
64
63
65
ChatResponse:
64
66
type: object
@@ -79,7 +81,7 @@ components:
79
81
80
82
Session:
81
83
type: object
82
-
description: Lightweight in-memory record of a daemon chat session.
84
+
description: Lightweight active record for a durably persisted daemon chat session.
83
85
properties:
84
86
id:
85
87
type: string
@@ -93,6 +95,8 @@ components:
93
95
type: integer
94
96
cwd:
95
97
type: string
98
+
agent:
99
+
type: string
96
100
97
101
SessionDetail:
98
102
type: object
@@ -110,6 +114,8 @@ components:
110
114
type: string
111
115
provider:
112
116
type: string
117
+
agent:
118
+
type: string
113
119
cwd:
114
120
type: string
115
121
name:
@@ -277,8 +283,9 @@ paths:
277
283
tags: [system]
278
284
summary: Readiness probe
279
285
description: |
280
-
Returns 200 when the daemon can serve chat (engine configured),
281
-
503 with a reason otherwise.
286
+
Returns 200 only when a session factory is configured and Eyrie's local
287
+
preflight confirms provider state, catalog, credentials, and model
288
+
selection are ready. Returns 503 with the failed dependency otherwise.
282
289
security: []
283
290
responses:
284
291
"200":
@@ -301,8 +308,10 @@ paths:
301
308
description: |
302
309
Non-streaming: returns the full response in one JSON object.
303
310
Streaming: send `Accept: text/event-stream` to receive Server-Sent Events.
304
-
Each request creates a new agent session; there is no standalone
305
-
session-creation endpoint.
311
+
Omit `session_id` to create and durably persist a new session. Supply a
312
+
previously returned `session_id` to load its transcript, append a turn,
313
+
and update that same durable session. The returned JSON field and the
314
+
`X-Hawk-Session-ID` header identify a retrievable `/v1/sessions/{id}`.
306
315
requestBody:
307
316
required: true
308
317
content:
@@ -312,6 +321,11 @@ paths:
312
321
responses:
313
322
"200":
314
323
description: Agent response (or SSE stream)
324
+
headers:
325
+
X-Hawk-Session-ID:
326
+
description: Durable session ID created or continued by this request.
327
+
schema:
328
+
type: string
315
329
content:
316
330
application/json:
317
331
schema:
@@ -331,6 +345,12 @@ paths:
331
345
application/json:
332
346
schema:
333
347
$ref: "#/components/schemas/Error"
348
+
"404":
349
+
description: Requested continuation session does not exist
0 commit comments