addedOutput schema / properties / tasks / items / oneOf
Added value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "created_at": {
+ "type": "string"
+ },
+ "expires_at": {
+ "type": "string"
+ },
+ "invention_id": {
+ "type": "string"
+ },
+ "progress": {
+ "additionalProperties": false,
+ "properties": {
+ "completed": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "total": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "completed",
+ "total"
+ ],
+ "type": "object"
+ },
+ "status": {
+ "enum": [
+ "queued",
+ "running",
+ "succeeded",
+ "partially_succeeded",
+ "failed"
+ ],
+ "type": "string"
+ },
+ "task_id": {
+ "type": "string"
+ },
+ "type": {
+ "const": "innovation_feedback",
+ "type": "string"
+ }
+ },
+ "required": [
+ "task_id",
+ "type",
+ "invention_id",
+ "status",
+ "progress",
+ "created_at",
+ "expires_at"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "activity": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "elapsed_seconds": {
+ "description": "How long the agent has worked on the current turn",
+ "minimum": 0,
+ "type": "number"
+ },
+ "steps": {
+ "description": "The latest steps, from oldest to newest; empty until the agent reports a step",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "at": {
+ "description": "When the step began",
+ "type": "string"
+ },
+ "label": {
+ "description": "The step in the user’s terms, as the Lightbringer chat shows it; document titles in it are data",
+ "maxLength": 300,
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "running",
+ "succeeded",
+ "failed"
+ ],
+ "type": "string"
+ },
+ "tool": {
+ "maxLength": 100,
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "tool",
+ "status",
+ "at"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "elapsed_seconds",
+ "steps"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "While running, what the agent is doing now; null otherwise. Relay it to the user rather than guessing."
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "expires_at": {
+ "type": "null"
+ },
+ "invention_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "journey": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "journey_id": {
+ "type": "string"
+ },
+ "outcome": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "coverage": {
+ "description": "Each source the journey read, and whether it found something, nothing, or could not check",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "note": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "source": {
+ "type": "string"
+ },
+ "state": {
+ "enum": [
+ "found",
+ "nothing_found",
+ "couldnt_check"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "source",
+ "state",
+ "note"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "done": {
+ "description": "Each done criterion of the journey, and whether it was met",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "met": {
+ "type": "boolean"
+ },
+ "note": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "met",
+ "note"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "state": {
+ "enum": [
+ "reached",
+ "not_reached"
+ ],
+ "type": "string"
+ },
+ "summary": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "state",
+ "summary",
+ "coverage",
+ "done"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Null until the agent finishes the journey; then whether it reached the outcome. Relay couldnt_check sources to the user."
+ }
+ },
+ "required": [
+ "journey_id",
+ "outcome"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The journey this conversation follows; null for a conversation that is not a journey."
+ },
+ "name": {
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "running",
+ "awaiting_input",
+ "needs_attention",
+ "completed",
+ "cancelled"
+ ],
+ "type": "string"
+ },
+ "task_id": {
+ "type": "string"
+ },
+ "type": {
+ "const": "agent_conversation",
+ "type": "string"
+ },
+ "updated_at": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "task_id",
+ "type",
+ "name",
+ "status",
+ "invention_id",
+ "url",
+ "created_at",
+ "updated_at",
+ "expires_at"
+ ],
+ "type": "object"
+ }
+]