@agimon-ai/po-core 0.0.0-alpha.125 → 0.0.0-alpha.126

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.
@@ -863,7 +863,26 @@ const headlessHttpContracts = [
863
863
  sessionId: Text$3,
864
864
  created: typebox.Type.Boolean()
865
865
  }), {
866
- body: body(typebox.Type.Object({ workspaceId: Optional$2(typebox.Type.String({ minLength: 1 })) }, { additionalProperties: false })),
866
+ body: body(typebox.Type.Object({
867
+ workspaceId: Optional$2(typebox.Type.String({ minLength: 1 })),
868
+ profile: Optional$2(typebox.Type.String({
869
+ minLength: 1,
870
+ pattern: "\\S"
871
+ }))
872
+ }, { additionalProperties: false })),
873
+ responses: {
874
+ ...jsonApiResponses(typebox.Type.Object({
875
+ sessionId: Text$3,
876
+ created: typebox.Type.Boolean()
877
+ })),
878
+ "422": {
879
+ description: "Profile required or invalid operation",
880
+ schema: typebox.Type.Union([typebox.Type.Object({
881
+ profileRequired: typebox.Type.Literal(true),
882
+ error: Text$3
883
+ }), ApiErrorSchema])
884
+ }
885
+ },
867
886
  availability: "Host provides addCoordinator; otherwise 501"
868
887
  }),
869
888
  host("sessions.get", "/api/workspaces/{workspaceId}/sessions/{sessionId}", "GET", SessionSummarySchema),