The workspace
Panels
Each repository's dev server: what it is and whether it is running
On this page(3 sections)
One entry per repo, with whether its preview server is up and what the app worked out about its contents. Starting and stopping are here; watching the output is the terminal's job.
GET/panelsRepos you can run and preview
Every repo with whether its dev server is up and what the sandbox worked out about its contents.
What you send
Nothing. Call it as it is.
What comes back
| Field | Type |
|---|---|
panelsOne entry per repository, worked out… | object[] |
repoWhich repository | string |
hasPanelWhether it has anything runnable at… | boolean |
runningWhether the sandbox has it running | boolean |
healthyWhether anything it owns is actually… | boolean |
portThe port the sandbox told it… | number |
serversEvery server this repository is really… | object[] |
urlWhere it answers, with the right… | string |
dirWhich part of the repository it… | string |
sessionThe terminal it runs in: the… | string |
previewUrlWhere to open it from outside | string |
roleWhich of the workspace's three fixed… | "intent" | "desired-state" | "app" |
deployConfigIt declares infrastructure | boolean |
desiredStateThat declaration has been resolved at… | boolean |
directoryUiIt carries a small interface of… | boolean |
monorepoIt holds several packages | boolean |
vitestIt has tests that can be… | boolean |
userStoriesIt carries stories an agent could… | boolean |
docsIt carries generated architecture documentation | boolean |
answered in this tab
curl "$SANDBOX/panels" \
-H "x-intentic-control: $INTENTIC_TOKEN"import { sandbox } from "@intentic/sandbox-client";
const result = await sandbox.panels.list();POST/panels/{repo}/startStart a repo's dev server
Brings the repo's own runnable app up in a terminal you can attach to, so its preview address starts answering.
What you send
| Field | Type | Where |
|---|---|---|
reporequiredWhich repository | string | address |
What comes back
| Field | Type |
|---|---|
okAlways true | true |
answered in this tab
curl -X POST "$SANDBOX/panels/root/start" \
-H "x-intentic-control: $INTENTIC_TOKEN"import { sandbox } from "@intentic/sandbox-client";
const result = await sandbox.panels.start({
"repo": "root"
});POST/panels/{repo}/stopStop a repo's dev server
Shuts it down and frees the port.
What you send
| Field | Type | Where |
|---|---|---|
reporequiredWhich repository | string | address |
What comes back
| Field | Type |
|---|---|
okAlways true | true |
answered in this tab
curl -X POST "$SANDBOX/panels/root/stop" \
-H "x-intentic-control: $INTENTIC_TOKEN"import { sandbox } from "@intentic/sandbox-client";
const result = await sandbox.panels.stop({
"repo": "root"
});More in The workspace