Add workspace-owner credit nudge flow to the CLI.

Expose workspace-owner account metadata and an app-server nudge endpoint so users who run out of credits can inspect usage and notify their workspace owner directly from the TUI.

Made-with: Cursor
This commit is contained in:
Richard Lee
2026-04-06 15:42:22 -07:00
parent dedd1c386a
commit 59f0f62dc3
37 changed files with 671 additions and 17 deletions

View File

@@ -0,0 +1,22 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"AddCreditsNudgeEmailStatus": {
"enum": [
"sent",
"cooldownActive"
],
"type": "string"
}
},
"properties": {
"status": {
"$ref": "#/definitions/AddCreditsNudgeEmailStatus"
}
},
"required": [
"status"
],
"title": "SendAddCreditsNudgeEmailResponse",
"type": "object"
}