René's URL Explorer Experiment


Title: feat(cli,cloud): add `deepnote notebooks rename` by jankoritak · Pull Request #468 · deepnote/deepnote · GitHub

Open Graph Title: feat(cli,cloud): add `deepnote notebooks rename` by jankoritak · Pull Request #468 · deepnote/deepnote

X Title: feat(cli,cloud): add `deepnote notebooks rename` by jankoritak · Pull Request #468 · deepnote/deepnote

Description: Consumes the new public API endpoint PATCH /v2/notebooks/{notebookId} (deepnote-internal#20677) from the CLI, per the convention that new API endpoints get evaluated for CLI consumption. What @deepnote/cloud: new notebooks.ts module with updateNotebook(baseUrl, token, notebookId, { name }), built on the request() helper from #448. Tolerant response schema, raw escape hatch, empty-input guards. @deepnote/cli: new notebooks command group (mirroring the integrations group precedent) with deepnote notebooks rename — --token/DEEPNOTE_TOKEN (with .env pickup from the working directory, mirroring sync and run --cloud), --url, --output json. Bash/zsh/fish completions and README docs included. Design notes (open to feedback) Command shape: id-centric notebooks rename rather than file-centric. A file-centric rename would need a position on local-name↔cloud-name mapping, which the sync work is still settling; this keeps the command a pure cloud operation. Happy to change shape if a different UX is preferred. Module placement: notebooks.ts follows the file-per-resource pattern (projects.ts, schedules.ts, cloud-runs.ts). getNotebook from blocks.ts (#432) could migrate there later; deliberately not touched here. Exit codes: ApiError 400/401/403/404/409 map to InvalidUsage (2) — for a rename, "notebook not found", "name taken", and "project type forbids renaming" are caller-input outcomes. Only unexpected failures exit 1. Stacked on #448/#432 Based on feat/cli-push-blocks for the http.ts request helper. Will rebase onto main once those merge. Testing Unit: 8 tests on the cloud client (wire contract: method/auth/body, error taxonomy, 502 on invalid responses, URL encoding), 13 on the CLI command (token resolution incl. .env, output contracts, exit codes). E2E against a locally running deepnote-internal on the endpoint branch: rename round-trip (live rename visible in the open notebook via pubsub), duplicate-name 409, unknown-notebook 404, bad-token 401, --output json shapes — all with exit code 2. 🤖 Generated with Claude Code Summary by CodeRabbit New Features Added deepnote notebooks rename for renaming cloud notebooks, with token authentication, custom API URLs, text or JSON output, and Bash, Zsh, and Fish completions. Naming a notebook Init designates it as the project’s init notebook; rename results report its init status. Added notebook renaming and static website configuration options to the cloud API client. Added --push and --yes to run command completions across supported shells. Added validation and clear handling for authentication failures, naming conflicts, and API errors. Documentation Added CLI and API guides covering usage, restrictions, output formats, and exit codes.

Open Graph Description: Consumes the new public API endpoint PATCH /v2/notebooks/{notebookId} (deepnote-internal#20677) from the CLI, per the convention that new API endpoints get evaluated for CLI consumption. What @dee...

X Description: Consumes the new public API endpoint PATCH /v2/notebooks/{notebookId} (deepnote-internal#20677) from the CLI, per the convention that new API endpoints get evaluated for CLI consumption. What @dee...

Opengraph URL: https://github.com/deepnote/deepnote/pull/468

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,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/:user_id/:repository/pull/:id/commits/:range(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:10e6e367-59ac-52bc-bb4b-d344be11b330
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idABAE:280D83:82FB66:AEA6AB:6AEDC846
html-safe-nonce523f4c90c8763b29366a6fa3c4d49d8a92efeb7ac13aa34aaf629cbfe805a232
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQkFFOjI4MEQ4Mzo4MkZCNjY6QUVBNkFCOjZBRURDODQ2IiwidmlzaXRvcl9pZCI6IjM1MDc0Nzk5MzMwNjEyODU5NTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac92710b15f7ada0b85fd2a34c27b7b5c413f48417efeece18ec8e8121fed3dfbe
hovercard-subject-tagpull_request:4304680640
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/deepnote/deepnote/pull/468/commits/eee22bc860a309738f6518f2e0ea71bdd42459a7
twitter:imagehttps://avatars.githubusercontent.com/u/5691407?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/5691407?s=400&v=4
og:image:altConsumes the new public API endpoint PATCH /v2/notebooks/{notebookId} (deepnote-internal#20677) from the CLI, per the convention that new API endpoints get evaluated for CLI consumption. What @dee...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonec7d2f3ac4f4f560c56267b765892ba5b093e8a5fb2c0ed937edd8947746942e9
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/deepnote/deepnote git https://github.com/deepnote/deepnote.git
octolytics-dimension-user_id45339858
octolytics-dimension-user_logindeepnote
octolytics-dimension-repository_id1066509034
octolytics-dimension-repository_nwodeepnote/deepnote
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1066509034
octolytics-dimension-repository_network_root_nwodeepnote/deepnote
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release0cac2d0cb993b0ad48c49b076135ac558c742c30
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/deepnote/deepnote/pull/468/commits/eee22bc860a309738f6518f2e0ea71bdd42459a7#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeepnote%2Fdeepnote%2Fpull%2F468%2Fcommits%2Feee22bc860a309738f6518f2e0ea71bdd42459a7
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeepnote%2Fdeepnote%2Fpull%2F468%2Fcommits%2Feee22bc860a309738f6518f2e0ea71bdd42459a7
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=deepnote%2Fdeepnote
Reloadhttps://github.com/deepnote/deepnote/pull/468/commits/eee22bc860a309738f6518f2e0ea71bdd42459a7
Reloadhttps://github.com/deepnote/deepnote/pull/468/commits/eee22bc860a309738f6518f2e0ea71bdd42459a7
Reloadhttps://github.com/deepnote/deepnote/pull/468/commits/eee22bc860a309738f6518f2e0ea71bdd42459a7
deepnotehttps://github.com/deepnote
deepnotehttps://github.com/deepnote/deepnote
Codehttps://github.com/deepnote/deepnote
Issues14 (14)https://github.com/deepnote/deepnote/issues
Pull requests24 (24)https://github.com/deepnote/deepnote/pulls
Discussionshttps://github.com/deepnote/deepnote/discussions
Actionshttps://github.com/deepnote/deepnote/actions
Security and qualityhttps://github.com/deepnote/deepnote/security
Insightshttps://github.com/deepnote/deepnote/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fdeepnote%2Fdeepnote%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fdeepnote%2Fdeepnote%2Fissues%2Fnew%2Fchoose
jankoritakhttps://github.com/jankoritak
mainhttps://github.com/deepnote/deepnote/tree/main
feat/cli-rename-notebookhttps://github.com/deepnote/deepnote/tree/feat/cli-rename-notebook
Conversation 7 https://github.com/deepnote/deepnote/pull/468
Commits 20 https://github.com/deepnote/deepnote/pull/468/commits
Checks 21 https://github.com/deepnote/deepnote/pull/468/checks
Files changed https://github.com/deepnote/deepnote/pull/468/files
Please reload this pagehttps://github.com/deepnote/deepnote/pull/468/commits/eee22bc860a309738f6518f2e0ea71bdd42459a7
feat(cli,cloud): add deepnote notebooks rename https://github.com/deepnote/deepnote/pull/468/commits/eee22bc860a309738f6518f2e0ea71bdd42459a7#top
Show all changes 20 commits https://github.com/deepnote/deepnote/pull/468/files
d079a72 fix(cloud): harden run snapshots and request deadlines jamesbhobbs Aug 5, 2026 https://github.com/deepnote/deepnote/pull/468/commits/d079a72841301fb54abe6d86ef0c54f6175cd337
b337a4c fix(cloud): address snapshot review feedback jamesbhobbs Aug 5, 2026 https://github.com/deepnote/deepnote/pull/468/commits/b337a4c82e6e7d1f699f169e651d922df0a26eff
eee22bc style: format README table after rebase conflict resolution jamesbhobbs Aug 13, 2026 https://github.com/deepnote/deepnote/pull/468/commits/eee22bc860a309738f6518f2e0ea71bdd42459a7
5f877b5 feat(cli): configure detached cloud-run storage jamesbhobbs Aug 5, 2026 https://github.com/deepnote/deepnote/pull/468/commits/5f877b55407300feebd6cd28c47b145acb8cb7ca
16e560a fix(cli): complete storage-mode values in Bash jamesbhobbs Aug 5, 2026 https://github.com/deepnote/deepnote/pull/468/commits/16e560a3a7731be6ce83f32132545a3b4330816a
08a1db2 fix(cli): narrow JSON.parse result to CloudRunResult in tests jamesbhobbs Aug 13, 2026 https://github.com/deepnote/deepnote/pull/468/commits/08a1db2a9f35387bb64c3f039541dec9e3b0eaa1
40b3273 feat(cloud): add block-level API client and push sync engine jamesbhobbs Aug 13, 2026 https://github.com/deepnote/deepnote/pull/468/commits/40b32737327f51b3d7104dec604a1a7cc10c9306
f08dc90 Merge branch 'main' into fix/cloud-run-reliability jamesbhobbs Aug 13, 2026 https://github.com/deepnote/deepnote/pull/468/commits/f08dc90ced0501ffb0f003ac64f070943364078d
02ceeb5 fix(cli): narrow optional snapshotPath before fs.readFile in test jamesbhobbs Aug 13, 2026 https://github.com/deepnote/deepnote/pull/468/commits/02ceeb51448553673ecba00d4b040ab7346c88c0
03f7c5b test(cli): add Zsh and Fish assertions for --storage-mode completions jamesbhobbs Aug 13, 2026 https://github.com/deepnote/deepnote/pull/468/commits/03f7c5bacf2141f57fa93303c14d1ccad1b30693
dd9139d Merge branch 'fix/cloud-run-reliability' into feat/cli-push-blocks jamesbhobbs Aug 13, 2026 https://github.com/deepnote/deepnote/pull/468/commits/dd9139dcddb9a6a64e0162d3d022108135734555
2d07cf3 fix(sync): apply the approved plan and stop phantom integration updates jamesbhobbs Aug 17, 2026 https://github.com/deepnote/deepnote/pull/468/commits/2d07cf3c7e340d5ed74784398e329043cb50f633
14c0dc4 feat(cloud): add updateNotebook client for PATCH /v2/notebooks/{noteb… jankoritak Aug 18, 2026 https://github.com/deepnote/deepnote/pull/468/commits/14c0dc4060e741bc6566c3272afb3aae81077f35
690d318 feat(cli): add `deepnote notebooks rename` command jankoritak Aug 18, 2026 https://github.com/deepnote/deepnote/pull/468/commits/690d318aec5232342089b62789ce0a2c8fd00afe
aa82701 fix(cli): address notebook rename review feedback jankoritak Aug 18, 2026 https://github.com/deepnote/deepnote/pull/468/commits/aa827010a3bbd904c1f30dc511e01f34503b57de
d4c6300 fix(cli): load .env before reading token in notebooks rename jankoritak Aug 18, 2026 https://github.com/deepnote/deepnote/pull/468/commits/d4c63006ec537fc08433b3200e1e3d28d2626642
e25eeeb fix: apply CodeRabbit auto-fixes coderabbitai[bot] Aug 18, 2026 https://github.com/deepnote/deepnote/pull/468/commits/e25eeeb1b1d1818fe2028495dbc7abbaad814bac
7dd84f3 style: re-run prettier after CodeRabbit auto-fixes jankoritak Aug 18, 2026 https://github.com/deepnote/deepnote/pull/468/commits/7dd84f30325cb44d85e01ca4245ffa9ec66931e3
e7ece48 Merge origin/main into feat/cli-rename-notebook jankoritak Sep 9, 2026 https://github.com/deepnote/deepnote/pull/468/commits/e7ece488a1ebfff17c67b339e7d743456d676594
928168d Merge branch 'main' into feat/cli-rename-notebook jankoritak Sep 29, 2026 https://github.com/deepnote/deepnote/pull/468/commits/928168dedc25237a60ee13594c838efe7d53e678
Clear filters https://github.com/deepnote/deepnote/pull/468/commits/eee22bc860a309738f6518f2e0ea71bdd42459a7
Please reload this pagehttps://github.com/deepnote/deepnote/pull/468/commits/eee22bc860a309738f6518f2e0ea71bdd42459a7
Please reload this pagehttps://github.com/deepnote/deepnote/pull/468/commits/eee22bc860a309738f6518f2e0ea71bdd42459a7
Prev https://github.com/deepnote/deepnote/pull/468/commits/b337a4c82e6e7d1f699f169e651d922df0a26eff
Next https://github.com/deepnote/deepnote/pull/468/commits/5f877b55407300feebd6cd28c47b145acb8cb7ca
Please reload this pagehttps://github.com/deepnote/deepnote/pull/468/commits/eee22bc860a309738f6518f2e0ea71bdd42459a7
https://github.com/jamesbhobbs
https://github.com/claude
jamesbhobbshttps://github.com/deepnote/deepnote/commits?author=jamesbhobbs
claudehttps://github.com/deepnote/deepnote/commits?author=claude
https://github.com/deepnote/deepnote/blob/main/.github/CODEOWNERS#L2
packages/cloud/README.mdhttps://github.com/deepnote/deepnote/pull/468/commits/eee22bc860a309738f6518f2e0ea71bdd42459a7#diff-78502d1b0667704dcac6598d4669f368b79dc591cc26b82e928063d2384d34cc
View file https://github.com/deepnote/deepnote/blob/eee22bc860a309738f6518f2e0ea71bdd42459a7/packages/cloud/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/deepnote/deepnote/pull/468/commits/{{ revealButtonHref }}
https://github.com/deepnote/deepnote/pull/468/commits/eee22bc860a309738f6518f2e0ea71bdd42459a7#diff-78502d1b0667704dcac6598d4669f368b79dc591cc26b82e928063d2384d34cc
https://github.com/deepnote/deepnote/pull/468/commits/eee22bc860a309738f6518f2e0ea71bdd42459a7#diff-78502d1b0667704dcac6598d4669f368b79dc591cc26b82e928063d2384d34cc
Please reload this pagehttps://github.com/deepnote/deepnote/pull/468/commits/eee22bc860a309738f6518f2e0ea71bdd42459a7
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.