@agent-os-sdk/client 0.4.7 → 0.4.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -533,7 +533,44 @@ export interface paths {
533
533
  path?: never;
534
534
  cookie?: never;
535
535
  };
536
- get?: never;
536
+ /**
537
+ * Gets the draft graph specification for an agent.
538
+ * @description Returns the current draft graph JSON as saved by autosave.
539
+ * Studio should use this as source of truth, not generate graphs locally.
540
+ *
541
+ * **Response includes ETag** for subsequent PUT If-Match.
542
+ */
543
+ get: {
544
+ parameters: {
545
+ query?: never;
546
+ header?: never;
547
+ path: {
548
+ id: string;
549
+ };
550
+ cookie?: never;
551
+ };
552
+ requestBody?: never;
553
+ responses: {
554
+ /** @description OK */
555
+ 200: {
556
+ headers: {
557
+ [name: string]: unknown;
558
+ };
559
+ content: {
560
+ "application/json": components["schemas"]["AgentDraftResponse"];
561
+ };
562
+ };
563
+ /** @description Not Found */
564
+ 404: {
565
+ headers: {
566
+ [name: string]: unknown;
567
+ };
568
+ content: {
569
+ "application/json": components["schemas"]["ProblemDetails"];
570
+ };
571
+ };
572
+ };
573
+ };
537
574
  /**
538
575
  * Updates the draft graph specification for an agent (autosave/resume).
539
576
  * @description **IMPORTANT:** Draft is for UI autosave only. Publish does NOT read from draft.
@@ -1105,6 +1142,7 @@ export interface paths {
1105
1142
  * Chat with the Meta-Agent to modify an agent's graph.
1106
1143
  * Returns SSE stream: message, graph_update, done events.
1107
1144
  * @description KERNEL: Frontend sends intention only. CP loads everything from DB.
1145
+ * SECURITY: X-Workspace-Id header is MANDATORY for workspace isolation.
1108
1146
  */
1109
1147
  post: {
1110
1148
  parameters: {