mirror of
https://github.com/hanzoai/python-sdk.git
synced 2026-10-23 20:23:00 +00:00
regenerate from cloud 03cd1b9b10
This commit is contained in:
+2
-2
@@ -1,4 +1,4 @@
|
||||
ref=733acc2f6dc56a2ec0dd6baccc647749215c3181
|
||||
sha256=70d0f975d783aebae756b393e97355cfc39910867519139b3a1bc443644ec560
|
||||
ref=03cd1b9b10dc0ab2676fa6bd46a86dc48b2fc687
|
||||
sha256=18dbece85fa5da0fd05a03c3e5a6942d911541ca4f6a5f10975814d0cc7a1e1b
|
||||
repo=hanzo-inc/cloud
|
||||
path=openapi.yaml
|
||||
|
||||
@@ -7770,7 +7770,7 @@ class AgentsApi:
|
||||
) -> EventView:
|
||||
"""Records one turn of a session's transcript and answers 201 with it.
|
||||
|
||||
Records one turn of a session's transcript and answers 201 with it. THE TURN IS SCANNED BEFORE IT IS STORED. The same engine the code-security surface runs reads the payload at this boundary, and a credential in it refuses the append with 422 rather than redacting it — a redacted transcript is one that still had the secret in it once, and this way the author learns which value to rotate. The refusal carries every finding: the rule, the severity, the line, a MASKED preview and the fingerprint. The secret is never in the answer.
|
||||
Records one turn of a session's transcript and answers 201 with it. A `progress` turn additionally MOVES THE SESSION'S PROGRESS, marked as the run's own word rather than an estimate, and pushes the updated session onto the live stream — so a board's bar follows the run without polling and without a second write path. See progress.go. THE TURN IS SCANNED BEFORE IT IS STORED. The same engine the code-security surface runs reads the payload at this boundary, and a credential in it refuses the append with 422 rather than redacting it — a redacted transcript is one that still had the secret in it once, and this way the author learns which value to rotate. The refusal carries every finding: the rule, the severity, the line, a MASKED preview and the fingerprint. The secret is never in the answer.
|
||||
|
||||
:param id: ID is the session to append to, from the path. (required)
|
||||
:type id: str
|
||||
@@ -7841,7 +7841,7 @@ class AgentsApi:
|
||||
) -> ApiResponse[EventView]:
|
||||
"""Records one turn of a session's transcript and answers 201 with it.
|
||||
|
||||
Records one turn of a session's transcript and answers 201 with it. THE TURN IS SCANNED BEFORE IT IS STORED. The same engine the code-security surface runs reads the payload at this boundary, and a credential in it refuses the append with 422 rather than redacting it — a redacted transcript is one that still had the secret in it once, and this way the author learns which value to rotate. The refusal carries every finding: the rule, the severity, the line, a MASKED preview and the fingerprint. The secret is never in the answer.
|
||||
Records one turn of a session's transcript and answers 201 with it. A `progress` turn additionally MOVES THE SESSION'S PROGRESS, marked as the run's own word rather than an estimate, and pushes the updated session onto the live stream — so a board's bar follows the run without polling and without a second write path. See progress.go. THE TURN IS SCANNED BEFORE IT IS STORED. The same engine the code-security surface runs reads the payload at this boundary, and a credential in it refuses the append with 422 rather than redacting it — a redacted transcript is one that still had the secret in it once, and this way the author learns which value to rotate. The refusal carries every finding: the rule, the severity, the line, a MASKED preview and the fingerprint. The secret is never in the answer.
|
||||
|
||||
:param id: ID is the session to append to, from the path. (required)
|
||||
:type id: str
|
||||
@@ -7912,7 +7912,7 @@ class AgentsApi:
|
||||
) -> RESTResponseType:
|
||||
"""Records one turn of a session's transcript and answers 201 with it.
|
||||
|
||||
Records one turn of a session's transcript and answers 201 with it. THE TURN IS SCANNED BEFORE IT IS STORED. The same engine the code-security surface runs reads the payload at this boundary, and a credential in it refuses the append with 422 rather than redacting it — a redacted transcript is one that still had the secret in it once, and this way the author learns which value to rotate. The refusal carries every finding: the rule, the severity, the line, a MASKED preview and the fingerprint. The secret is never in the answer.
|
||||
Records one turn of a session's transcript and answers 201 with it. A `progress` turn additionally MOVES THE SESSION'S PROGRESS, marked as the run's own word rather than an estimate, and pushes the updated session onto the live stream — so a board's bar follows the run without polling and without a second write path. See progress.go. THE TURN IS SCANNED BEFORE IT IS STORED. The same engine the code-security surface runs reads the payload at this boundary, and a credential in it refuses the append with 422 rather than redacting it — a redacted transcript is one that still had the secret in it once, and this way the author learns which value to rotate. The refusal carries every finding: the rule, the severity, the line, a MASKED preview and the fingerprint. The secret is never in the answer.
|
||||
|
||||
:param id: ID is the session to append to, from the path. (required)
|
||||
:type id: str
|
||||
|
||||
@@ -28,7 +28,7 @@ class EventIn(BaseModel):
|
||||
""" # noqa: E501
|
||||
actor: Optional[StrictStr] = Field(default=None, description="Actor is who produced the turn. Empty takes the validated caller, which is what an agent writing its own transcript wants; naming one is for a surface recording on somebody else's behalf.")
|
||||
id: Optional[StrictStr] = Field(default=None, description="ID is the session to append to, from the path.")
|
||||
kind: Optional[StrictStr] = Field(default=None, description="Kind is what this turn IS: message, tool-call, spawn, log, status or control. Anything else is refused — the vocabulary is closed so a reader can branch on it.")
|
||||
kind: Optional[StrictStr] = Field(default=None, description="Kind is what this turn IS: message, tool-call, spawn, log, status, control or progress. Anything else is refused — the vocabulary is closed so a reader can branch on it.")
|
||||
payload: Optional[Any] = None
|
||||
__properties: ClassVar[List[str]] = ["actor", "id", "kind", "payload"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user