Finalize inbox artifacts and error protocol

This commit is contained in:
2026-03-19 03:25:06 +08:00
parent c3314cd9cf
commit f315d2330d
22 changed files with 659 additions and 86 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ func newClaimCmd(root *rootOptions) *cobra.Command {
agent = root.agent
}
if agent == "" {
return fmt.Errorf("agent is required")
return protocol.InvalidInput("agent is required", nil)
}
sqlDB, err := db.Open(ctx, root.dbPath)