File tree Expand file tree Collapse file tree
sdks/typescript/src/generated Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,7 +51,8 @@ import { Result } from "../types/fp.js";
5151 * Args:
5252 * request: Agent metadata and step schemas
5353 * db: Database session (injected)
54- * principal: Authorized request principal
54+ * principal: Authorized request principal for the agent create operation
55+ * target_principal: Optional principal from the target binding read check
5556 *
5657 * Returns:
5758 * InitAgentResponse with created flag and the effective controls
Original file line number Diff line number Diff line change @@ -53,7 +53,8 @@ import { Result } from "../types/fp.js";
5353 * target_type: Optional opaque target kind (paired with target_id)
5454 * target_id: Optional opaque target identifier (paired with target_type)
5555 * db: Database session (injected)
56- * principal: Authorized request principal
56+ * principal: Authorized request principal for the agent read operation
57+ * target_principal: Optional principal from the target binding read check
5758 *
5859 * Returns:
5960 * AgentControlsResponse with controls matching the requested state filters
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ export type CreateControlBindingRequest = {
2222 */
2323 targetId : string ;
2424 /**
25- * Opaque attachment kind (caller-defined; e.g. 'env ', 'log_stream ').
25+ * Opaque attachment kind (caller-defined; e.g. 'environment ', 'session ').
2626 */
2727 targetType : string ;
2828} ;
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ export type RuntimeTokenExchangeRequest = {
1414 */
1515 targetId : string ;
1616 /**
17- * Opaque target kind (e.g., ``log_stream ``).
17+ * Opaque target kind (e.g., ``session ``).
1818 */
1919 targetType : string ;
2020} ;
Original file line number Diff line number Diff line change @@ -80,7 +80,8 @@ export class Agents extends ClientSDK {
8080 * Args:
8181 * request: Agent metadata and step schemas
8282 * db: Database session (injected)
83- * principal: Authorized request principal
83+ * principal: Authorized request principal for the agent create operation
84+ * target_principal: Optional principal from the target binding read check
8485 *
8586 * Returns:
8687 * InitAgentResponse with created flag and the effective controls
@@ -186,7 +187,8 @@ export class Agents extends ClientSDK {
186187 * target_type: Optional opaque target kind (paired with target_id)
187188 * target_id: Optional opaque target identifier (paired with target_type)
188189 * db: Database session (injected)
189- * principal: Authorized request principal
190+ * principal: Authorized request principal for the agent read operation
191+ * target_principal: Optional principal from the target binding read check
190192 *
191193 * Returns:
192194 * AgentControlsResponse with controls matching the requested state filters
You can’t perform that action at this time.
0 commit comments