You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Update kernel-go-sdk from v0.29.0 to v0.30.0
- Add --status flag for browser list (active, deleted, all)
- Add --async-timeout flag for invoke command
SDK bump triggered by: kernel/kernel-go-sdk@6ca29d2
Copy file name to clipboardExpand all lines: cmd/invoke.go
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,7 @@ func init() {
40
40
invokeCmd.Flags().StringP("payload", "p", "", "JSON payload for the invocation (optional)")
41
41
invokeCmd.Flags().StringP("payload-file", "f", "", "Path to a JSON file containing the payload (use '-' for stdin)")
42
42
invokeCmd.Flags().BoolP("sync", "s", false, "Invoke synchronously (default false). A synchronous invocation will open a long-lived HTTP POST to the Kernel API to wait for the invocation to complete. This will time out after 60 seconds, so only use this option if you expect your invocation to complete in less than 60 seconds. The default is to invoke asynchronously, in which case the CLI will open an SSE connection to the Kernel API after submitting the invocation and wait for the invocation to complete.")
43
+
invokeCmd.Flags().Int64("async-timeout", 0, "Timeout in seconds for async invocations (min 10, max 3600). Only applies when async mode is used.")
43
44
invokeCmd.Flags().StringP("output", "o", "", "Output format: json for JSONL streaming output")
0 commit comments