Title: Get deepnote sync and publish ready for the editor and agents · Issue #543 · deepnote/deepnote · GitHub
Open Graph Title: Get deepnote sync and publish ready for the editor and agents · Issue #543 · deepnote/deepnote
X Title: Get deepnote sync and publish ready for the editor and agents · Issue #543 · deepnote/deepnote
Description: The VS Code / Cursor extension (deepnote/vscode-deepnote) and coding agents are going to drive deepnote sync and deepnote publish. Today they can't do that reliably. This issue collects the CLI changes they need. Current state @deepnote/...
Open Graph Description: The VS Code / Cursor extension (deepnote/vscode-deepnote) and coding agents are going to drive deepnote sync and deepnote publish. Today they can't do that reliably. This issue collects the CLI cha...
X Description: The VS Code / Cursor extension (deepnote/vscode-deepnote) and coding agents are going to drive deepnote sync and deepnote publish. Today they can't do that reliably. This issue collects the CLI...
Opengraph URL: https://github.com/deepnote/deepnote/issues/543
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Get deepnote sync and publish ready for the editor and agents","articleBody":"The VS Code / Cursor extension (deepnote/vscode-deepnote) and coding agents are going to drive `deepnote sync` and `deepnote publish`. Today they can't do that reliably. This issue collects the CLI changes they need.\n\n## Current state\n- `@deepnote/cli@0.8.0` on npm has no `publish` or `static-site access`; they exist only on `main`. `deepnote streamlit publish` is still in #466.\n- `publish` and `static-site access` output only human-readable text. `-q` hides the URL (`packages/cli/src/commands/publish.ts:327-347`).\n- `publish` needs `--project-id`. No command lists projects or returns their ids.\n- `sync` always covers every project in the workspace. There is no per-project filter.\n- Only `sync`, `run` and `schedule` read `.env`, each from its own folder. `publish`, `static-site access` and `streamlit publish` don't read it.\n- Nothing creates a starter app. A static app is just a folder that `publish` uploads.\n\n## Tasks\n- [ ] Release `@deepnote/cli`, `@deepnote/cloud` and `@deepnote/mcp` with `publish`, `static-site access` and `streamlit publish`, once #466 merges.\n- [ ] Add `-o json` to `publish`, `static-site access` and `streamlit publish`:\n - Static: `{url, projectId, apiAccess, filesUploaded, pruned}`\n - Streamlit: `{appId, url, status}`\n - A divergence (\"Deepnote changed these files since the last sync\") gets its own error code or exit code, so callers can offer \"sync first\" or \"force\".\n- [ ] Look up `DEEPNOTE_TOKEN` in `.env` the same way for every command that needs a token: the command's folder first, then parent folders up to the sync root. The missing-token error should tell the user to add `DEEPNOTE_TOKEN` to `.env`.\n- [ ] Make `--project-id` optional for `publish` and `streamlit publish`. When the folder is inside a synced project, take the id from `.deepnote-sync.json` or from the `.deepnote` file's project id.\n- [ ] Add `deepnote projects list -o json`, returning id, name, folder path and URL.\n- [ ] Add `deepnote sync --project \u003cid|path>` to sync a single project. This is separate from the speed-up in #535.\n- [ ] Add `deepnote app init \u003cdir> --template static|ts|streamlit`, which creates a starter app. The TS template builds to a folder that `publish` can upload. The extension and agents will share these templates.\n- [ ] Update `skills/deepnote/references/{cli-publish,cli-sync,apps}.md` and `docs/`, as AGENTS.md requires.\n\n## Done when\nAn agent with no TTY and only a `.env` file can do all of this without running `--help` or parsing text:\n1. Create an app.\n2. Sync one project.\n3. Publish the app.\n4. Get the URL back as JSON.\n\nUnblocks the vscode-deepnote work on agent setup and on sync and publish buttons.\n\n🤖 Generated with [Claude Code](https://claude.com/claude-code)\n","author":{"url":"https://github.com/jamesbhobbs","@type":"Person","name":"jamesbhobbs"},"datePublished":"2026-09-28T12:17:59Z","url":"https://github.com/deepnote/deepnote/issues/543"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:389593dd-d42f-1c9d-3778-b55f1070916d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B54A:3B1A19:13A6024:1A2A5B1:6AED6494 |
| html-safe-nonce | 50d2be56df5b64f3569c6ef0146b5f816e3ba16535b5e76745a3d62297dc6192 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNTRBOjNCMUExOToxM0E2MDI0OjFBMkE1QjE6NkFFRDY0OTQiLCJ2aXNpdG9yX2lkIjoiNzk4Njg4OTI0Mzc2Mzc2MjMyNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 799cb7d63d0945e0a85a6f3905dba201420d5bd7db0c9c2d32ef5d1e981a9b79 |
| hovercard-subject-tag | issue:5614398000 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/deepnote/deepnote/543/issue_layout |
| twitter:image | https://opengraph.githubassets.com/77539b01b97a2258244ae642a785df17953d53e78245b6efd67ccea6c69fe184/deepnote/deepnote/issues/543 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/77539b01b97a2258244ae642a785df17953d53e78245b6efd67ccea6c69fe184/deepnote/deepnote/issues/543 |
| og:image:alt | The VS Code / Cursor extension (deepnote/vscode-deepnote) and coding agents are going to drive deepnote sync and deepnote publish. Today they can't do that reliably. This issue collects the CLI cha... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jamesbhobbs |
| hostname | github.com |
| expected-hostname | github.com |
| None | 56fb42677ae87ed3e64410323d67980aa65d0485568a7858f874e7edfc6d1c11 |
| turbo-cache-control | no-preview |
| go-import | github.com/deepnote/deepnote git https://github.com/deepnote/deepnote.git |
| octolytics-dimension-user_id | 45339858 |
| octolytics-dimension-user_login | deepnote |
| octolytics-dimension-repository_id | 1066509034 |
| octolytics-dimension-repository_nwo | deepnote/deepnote |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1066509034 |
| octolytics-dimension-repository_network_root_nwo | deepnote/deepnote |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c9a37e2423ed382cf39f70b5aa4b4858b40a3b0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width