Supero DX team Supero team
@supero-dx · joined 3 days ago
Docs, SDKs, CLI, MCP and App Studio.
- Questions
- 4
- Answers
- 35
- Accepted
- 35
- Getting a coding agent to use order operations instead of writing `status`Accepted
Have the agent call build_get_service_contract for each transactional service the app extends, before it writes UI for it. It returns the real state machine,…
- Catching browser-computed prices in AI-written checkout codeAccepted
Run the two checks the MCP server provides for this, before going live: build_audit is a static audit of the bundle; your code isn't run. It finds…
- Generated schema extends a base but inherits nothingAccepted
Qualify the reference. Platform bases are named "<service>:base_<name>", for example "cart:base_cart". An unqualified extends is looked up in the schema's own…
- The model names the image field `cover_photo`, `image` or `photo`Accepted
Not when the base declares them as aliases. A base type can say that one attribute answers to several names: the canonical primary_image answers to eight,…
- Deleted demo account came back after regeneratingAccepted
Regenerating re-runs setup with the configuration in the bundle. An account you deleted but left in the configuration's account list comes back, and the same…
- Schema edited with `fields` reads back as `attributes`Accepted
attributes and mandatory are the canonical spellings, and they're what App Studio emits. fields and required are accepted as synonyms, but a body sent with…
- Invoking a new entity's tool returns 404Accepted
The tool list is cached. After uploading or changing schemas, call POST /ai/v1/tools/refresh to regenerate it, then invoke again. /invoke returns 404 for any…
- Agent updated a record without asking for approvalAccepted
Confirmation gates belong to the agentic-loop path. In mode: "single" tools run as soon as the model calls them, so an update or delete goes through with no…
- Changing a published app over MCP without losing earlier editsAccepted
For a change to an app you already published, the assistant should start with build_get_bundle. It returns the current published files, including hand-tuned…
- Assistant won't work on my other projectAccepted
That's the access chosen on the approval page when you connected: Option What the assistant can do Who can choose it An existing project That project only.…
- Copilot in VS Code doesn't use the Supero toolsAccepted
Open Copilot Chat, switch to Agent mode, and check that the Supero tools are enabled in the tools picker. If the server isn't running, open .vscode/mcp.json…
- Cursor sign-in page says "Supero hasn't verified this app"Accepted
That page is normal for Cursor and VS Code. They sign in from a local address on your own machine (127.0.0.1 or localhost), and Supero can't check a program…
- There's no `supero login` commandAccepted
The supero you get from pip is an app runner, not an account CLI. There's no login, domains, schemas or keys subcommand. Run it from the root of a generated…
- Uploading a file and attaching it to a recordAccepted
Over REST it's two calls: upload, then write the whole file reference from the 201 body onto the record with an ordinary update. Store the object, not the…
- `org.crud.get()` returns None instead of raisingAccepted
Not-found isn't an exception in the Python SDK. org.crud.get() returns None on a 404 and org.crud.delete() returns False. Check the return value: A record…
- Giving a client their source code and dataAccepted
The source is a folder of readable Python and JavaScript files (schemas.py, ui_schemas.py, setup.py, config.py, ui/app.js, the run scripts). You can hand it…
- App Studio or MCP: which should I start with?Accepted
Start with App Studio if you know the outcome but not the data model yet, you want something running end to end before you go into detail, and the app is a…
- Encrypting a fieldAccepted
Encryption happens in your code through the generated SDK: ApiLib(enable_encryption=True, encryption_key=<32-byte AES-256 key>). Fields are encrypted before…
- CLI in CI: ".env not configured"Accepted
--no-interactive won't prompt, so .env needs SUPERO_DOMAIN, SUPERO_PROJECT, and either SUPERO_API_KEY or SUPERO_ADMIN_EMAIL plus SUPERO_PASSWORD. Write the…
- Installing the SDKsAccepted
pip install supero for Python (synchronous), npm install @supero/js-lib for JavaScript. The Python entry points are login(...), connect(domain_name,…
- Agent vs `services.ai`Accepted
They're separate. The in-app agent needs no setup and works on your app's data. services.ai is for AI calls in your own feature code, such as summarising a…
- Chat call returns 200 but the reply is an errorAccepted
Check the error field in the body, because a turn that failed can still come back as HTTP 200.
- Putting the agent on its own tabAccepted
Add a page with view: 'ai_assistant', or place the ai_assistant_panel widget in a page. To remove the floating button, render with AppShell.render({…
- Approve button errors when approving an edit laterAccepted
An approval request expires after 5 minutes. Ask the agent again. You can also approve with changes by sending modified_arguments.
- Starting from a screenshot instead of a descriptionAccepted
Yes. Upload the screenshot and App Studio writes a starting description from it, which you can edit before generating.
- Laptop went to sleep mid-generationAccepted
The build runs on the server, so it carried on without you. Reopen the project and the latest bundle is there. Regenerating would use another generation.
- New entity has no screen and no tableAccepted
Continue through the UI steps after the regeneration, then deploy. Tables are created at deploy time, not at generation.
- Regeneration finished but the new field isn't thereAccepted
Read the verdict shown after the build. "No data-model change was needed" means nothing was added. Ask again and name the entity and field directly, for…
- Live site unchanged after editing the appAccepted
Edits and regenerations don't go live by themselves, so deploy again. If you regenerated only the backend, also continue through the screen steps, because a…
- Bundle size limits over MCPAccepted
The limits are 300 files, 2 MB per file, about 8 MB in total and a 12 MB request body (larger bodies get 413). The platform provides ui/index.html,…