Skip to main content
Every DoglyTdc script is a repository with branches, commits and versions. When you create a script (in the panel or through AI with create_script), it starts with this folder:

The four parts

src/ — the script

What runs on the page where the script is used. Goes into the published package.

ui/site/ — the storefront

The card and details screen on the DoglyTdc site. Applied when you merge into main.

painel-dev/ — the owner's panel

Menu, Home and functions of your Dev panel. Only you see it.

supabase/ — the server

Coming soon: this part gets its own documentation.

What each file is for

What goes into the published package

  • The entry is always src/script.js; files use require("./file.js") and module.exports.
  • The final package can be up to 2 MB. Above that, publishing fails with PAYLOAD_TOO_LARGE.

Workflow

1

Create a branch

Never edit main directly. Via MCP: create_branch.
2

Edit the files

A commit can have up to 100 files.
3

Validate

Dev panel: dev_panel_validate. Storefront: validate_presentation.
4

Merge into main

The site, details and Dev panel change right away.
5

Publish a version

Only when something in src/ changed.

Naming rules

doglytdc.json

Every field.

Theme, card, popup and button

The script’s look.

Dev panel

The owner’s panel.

Full example

Every template file.