Update to Deepnote
Snapshot Nov 14, 2026 · 00:15 UTC · version 3.0.0
Package or technical metadata updated
Package or technical metadata updated
Observed in package metadata. These changes alone do not establish a new customer-facing feature.
Up to 3 plugins free · no card required.
All fields and original values.
These are saved file metadata. Open a changed file to read its text edits.
Package file
Sep 30, 2026 · 22:52 UTC
5d2ca25aa9ea60b1c5e8e26d64a36dba69ea67b91f6ec082af009d50085cc31e
Nov 14, 2026 · 00:15 UTC
33e975e46d1d0c81c9f6ec20e04f120a480bbf091df302f70821ce8a30c827b4
Package file
Sep 30, 2026 · 22:52 UTC
99
Nov 14, 2026 · 00:15 UTC
100
Package file
Sep 30, 2026 · 22:52 UTC
{"sha256":"5075f358609026b4904fe1becd67311a90fbd404b823772eb7511dc275ad6fc2","size":2241}
Nov 14, 2026 · 00:15 UTC
Not present
Package file
Sep 30, 2026 · 22:52 UTC
Not present
Nov 14, 2026 · 00:15 UTC
{"sha256":"4d585fcb77880a49b73c41d91b7690040d1bf0036dcd8b7d65934f2eacb61f39","size":11343}
Compare saved observations
Download comparison JSONChanged files
Choose a file to see its text changes. Binary or large files show metadata only.
LICENSE →
mcp.json →
skills/deepnote-data-apps/SKILL.md →
skills/deepnote-data-apps/scripts/app-dev.mjs →
skills/deepnote-data-execution/SKILL.md →
skills/deepnote-links/SKILL.md →
skills/deepnote-mcp/SKILL.md →
skills/deepnote-notebook-editing/SKILL.md →
skills/deepnote-notebooks/SKILL.md →
skills/deepnote-runs/SKILL.md →
skills/deepnote-streamlit-apps/SKILL.md →
skills/deepnote-data-apps/scripts/app-dev.mjs
− removed · + added
--- before +++ after @@ -0,0 +1,207 @@ +#!/usr/bin/env node +// Previews a data app page locally, embedded the way Deepnote embeds it, against the real Deepnote API. +// +// Two loopback origins stand in for Deepnote: one serves the page folder with Deepnote's rules, the other serves a +// stand-in Deepnote page that embeds it, answers the app client's token requests, and lists the app's errors above +// it, where a browser tool can read them. The page calls the API itself, as it does in Deepnote. Built-in modules only. + +import fs from 'node:fs' +import http from 'node:http' +import path from 'node:path' +import { parseArgs } from 'node:util' + +const USAGE = `Usage: node app-dev.mjs <folder with index.html> --token <token> --api-origin <apiOrigin> [--port <port>] + + --token Viewer token from the create_data_app_token MCP tool. It is never printed. + --api-origin apiOrigin from the same create_data_app_token result. + --port Port of the preview page; the app is served on the next one. Default 4747.` + +// The common web types from the table Deepnote's server looks content types up in. +const CONTENT_TYPES = { + '.avif': 'image/avif', + '.css': 'text/css; charset=utf-8', + '.csv': 'text/csv; charset=utf-8', + '.gif': 'image/gif', + '.htm': 'text/html; charset=utf-8', + '.html': 'text/html; charset=utf-8', + '.ico': 'image/x-icon', + '.jpeg': 'image/jpeg', + '.jpg': 'image/jpeg', + '.js': 'text/javascript; charset=utf-8', + '.json': 'application/json; charset=utf-8', + '.map': 'application/json; charset=utf-8', + '.md': 'text/markdown; charset=utf-8', + '.mjs': 'text/javascript; charset=utf-8', + '.mp3': 'audio/mpeg', + '.mp4': 'video/mp4', + '.otf': 'font/otf', + '.pdf': 'application/pdf', + '.png': 'image/png', + '.svg': 'image/svg+xml', + '.ttf': 'font/ttf', + '.txt': 'text/plain; charset=utf-8', + '.wasm': 'application/wasm', + '.webm': 'video/webm', + '.webp': 'image/webp', + '.woff': 'font/woff', + '.woff2': 'font/woff2', + '.xml': 'application/xml; charset=utf-8', +} +// The app client asks for a new token a minute before this, so its refresh path runs during a preview. +const TOKEN_LIFETIME_SECONDS = 120 + +function fail(message) { + console.error(message) + process.exit(1) +} + +/** + * Serves the folder the way Deepnote serves `_deepnote_static/`: paths ending in `/` get their index.html, a folder + * without the trailing `/` redirects to it so relative links inside work, other paths need the exact file name, and + * nosniff makes the content type matter. + */ +function createAppServer(root, origins, apiOrigin) { + return http.createServer(async (req, res) => { + const { pathname, search } = new URL(req.url, origins.app) + let filePath + let file + try { + filePath = path.join(root, decodeURIComponent(pathname), pathname.endsWith('/') ? 'index.html' : '') + if (filePath.startsWith(root + path.sep)) file = await fs.promises.readFile(filePath) + } catch (error) { + if (error.code === 'EISDIR') { + res.writeHead(302, { location: `${pathname}/${search}` }).end() + return + } + } + if (!file) { + console.log(`[page] 404 ${req.url}`) + res.writeHead(404).end() + return + } + res.writeHead(200, { + 'cache-control': 'no-store', + // The API origin is listed for local Deepnote setups, whose API is plain http. + 'content-security-policy': `default-src 'self' 'unsafe-inline' 'unsafe-eval' data: blob: https: ${apiOrigin}; frame-ancestors 'self' ${origins.deepnote}`, + 'content-type': CONTENT_TYPES[path.extname(filePath).toLowerCase()] ?? 'application/octet-stream', + 'referrer-policy': 'no-referrer', + 'x-content-type-options': 'nosniff', + }) + res.end(file) + }) +} + +function renderDeepnotePage({ appOrigin, apiOrigin, token }) { + return `<!doctype html> +<html> +<head> +<meta charset="utf-8"> +<title>Deepnote app preview</title> +<style> +html, body { height: 100%; margin: 0; } +body { display: flex; flex-direction: column; font: 13px/1.5 system-ui, sans-serif; color: #334052; background: #f8fafc; } +#status { padding: 8px 16px; border-bottom: 1px solid #dde4ee; } +#status.problem { background: #fff1f2; color: #9f1239; } +#status ul { margin: 4px 0 0; padding-left: 20px; } +/* Deepnote sets this to the viewer's Deepnote theme, which the app's prefers-color-scheme follows; here it is the OS's. */ +iframe { flex: 1; width: 100%; border: 0; color-scheme: light dark; } +</style> +</head> +<body> +<div id="status" role="status">Waiting for the app to connect to Deepnote.</div> +<iframe src="${appOrigin}/" allow="fullscreen" title="Data app"></iframe> +<script> +const { appOrigin, apiOrigin, token } = ${JSON.stringify({ appOrigin, apiOrigin, token })} +const status = document.getElementById('status') +const errors = [] +let connected = false + +function show(text, problem) { + status.className = problem ? 'problem' : '' + status.textContent = text + if (errors.length === 0) return + const list = status.appendChild(document.createElement('ul')) + for (const error of errors) list.appendChild(document.createElement('li')).textContent = error +} + +// The app client connects as soon as its script runs, well before the page finishes loading. +document.querySelector('iframe').addEventListener('load', () => + setTimeout(() => { + if (!connected) { + show('The page loaded but never connected to Deepnote. Load https://deepnote.com/static/app-client/v1.js first in its <head>.', true) + } + }, 3000) +) +window.addEventListener('message', event => { + if (event.origin !== appOrigin) return + const { type, message, line, source } = event.data ?? {} + if (type === 'deepnote-static-files-api-token-request') { + const expiresAtSeconds = Math.floor(Date.now() / 1000) + ${TOKEN_LIFETIME_SECONDS} + event.source.postMessage({ type: 'deepnote-static-files-api-token-response', token, apiOrigin, expiresAtSeconds }, appOrigin) + return + } + if (type === 'deepnote-static-files-app-ready') { + connected = true + } else if (type === 'deepnote-static-files-app-error') { + const where = [line != null && 'line ' + line, source].filter(Boolean).join(', ') + errors.push(where ? message + ' (' + where + ')' : message) + } else { + return + } + if (errors.length > 0) show(errors.length === 1 ? '1 app error:' : errors.length + ' app errors:', true) + else show('Connected to Deepnote. No app errors.') +}) +</script> +</body> +</html> +` +} + +function listen(server, port) { + return new Promise((resolve, reject) => { + server.once('error', reject) + server.listen(port, '127.0.0.1', () => resolve(`http://127.0.0.1:${server.address().port}`)) + }) +} + +async function main() { + const { values, positionals } = parseArgs({ + allowPositionals: true, + options: { + token: { type: 'string' }, + 'api-origin': { type: 'string' }, + port: { type: 'string', default: '4747' }, + help: { type: 'boolean', default: false }, + }, + }) + if (values.help) { + console.log(USAGE) + return + } + if (positionals.length !== 1 || !values.token || !values['api-origin']) { + fail(USAGE) + } + const root = path.resolve(positionals[0]) + if (!fs.existsSync(path.join(root, 'index.html'))) { + fail(`No index.html in ${root}.`) + } + const apiOrigin = new URL(values['api-origin']).origin + const port = Number(values.port) + + const origins = {} + const deepnoteServer = http.createServer((req, res) => + res + .writeHead(200, { 'cache-control': 'no-store', 'content-type': 'text/html; charset=utf-8' }) + .end(renderDeepnotePage({ appOrigin: origins.app, apiOrigin, token: values.token })) + ) + origins.deepnote = await listen(deepnoteServer, port) + origins.app = await listen(createAppServer(root, origins, apiOrigin), port + 1) + + console.log(`Serving ${root} as the app at ${origins.app}, against the API at ${apiOrigin}.`) + console.log(`Preview: ${origins.deepnote}/`) + console.log( + 'Files are read from disk on every load, so reload after editing. The bar above the page shows whether the app connected to Deepnote and lists its errors. Press Ctrl+C to stop.' + ) +} + +await main().catch(error => fail(error.message))
Full technical diff · 27 changed fields
changed /files/.app.json/sha256
"5d2ca25aa9ea60b1c5e8e26d64a36dba69ea67b91f6ec082af009d50085cc31e"
"33e975e46d1d0c81c9f6ec20e04f120a480bbf091df302f70821ce8a30c827b4"
changed /files/.app.json/size
99
100
removed /files/.codex-plugin~1plugin.json
{
"sha256": "5075f358609026b4904fe1becd67311a90fbd404b823772eb7511dc275ad6fc2",
"size": 2241
}Field is absent
added /files/LICENSE
Field was absent
{
"sha256": "4d585fcb77880a49b73c41d91b7690040d1bf0036dcd8b7d65934f2eacb61f39",
"size": 11343
}removed /files/README.md
{
"sha256": "49edd4c69a028d61b3a21dad4dd383ac52ff288e42970bb616619b00feef4e6b",
"size": 2701
}Field is absent
removed /files/assets~1composer-icon.svg
{
"sha256": "cbd5c35e8e1c3207d035ac15cb58afbc2a9471b08a0d28fc7dd036b3c4cbda84",
"size": 867
}Field is absent
removed /files/assets~1composer.svg
{
"sha256": "cbd5c35e8e1c3207d035ac15cb58afbc2a9471b08a0d28fc7dd036b3c4cbda84",
"size": 867
}Field is absent
added /files/assets~1deepnote-icon.png
Field was absent
{
"sha256": "169be7d48d2246a37b70e0413e2eec0c89b2c36151d40454427f438fbe3145d4",
"size": 19631
}added /files/assets~1deepnote-icon.svg
Field was absent
{
"sha256": "cbd5c35e8e1c3207d035ac15cb58afbc2a9471b08a0d28fc7dd036b3c4cbda84",
"size": 867
}removed /files/assets~1logo-dark.png
{
"sha256": "74444c9986a34584362df110a606197bc535daf7eb375a4ebf2dcf9e7b6a5fbf",
"size": 3860
}Field is absent
removed /files/assets~1logo.png
{
"sha256": "c1935f9c040b104363f970e9a059806759e7054a3c5271832d8c934c85a23f89",
"size": 3827
}Field is absent
added /files/mcp.json
Field was absent
{
"sha256": "7aec8d20a7723ec51446d996e858e64813967d13600bebf44e1c377ed6b18211",
"size": 195
}added /files/plugin.json
Field was absent
{
"sha256": "58b1cfdf026e7d820184029120315d38f5ce65387e0ae7cc7d8e56af9e098a82",
"size": 2424
}added /files/skills~1deepnote-data-apps~1SKILL.md
Field was absent
{
"sha256": "cff6a828ac5f4e09e2391d23b62056254b3d7f46ed1c103f303b306c3b9d158a",
"size": 11945
}added /files/skills~1deepnote-data-apps~1scripts~1app-dev.mjs
Field was absent
{
"sha256": "a0059b4064e4171b87c14ffe90e330a5c9df65123c87c0bd3e660cb72ac545bf",
"size": 8054
}removed /files/skills~1deepnote-data-execution~1SKILL.md
{
"sha256": "f1e8f12483dc7520bf855a32cd7d42de2381cc7f57efacbf208f98c2f30d744a",
"size": 9125
}Field is absent
changed /files/skills~1deepnote-links~1SKILL.md/sha256
"2d8e97ba77314dc9c72c22ca12bbf14839092f2c870eaab7f11f2b5345502c80"
"3afc79cfcede99b251906894bb6aab944daa7db6778b6ec40c43fda1d76aea28"
changed /files/skills~1deepnote-links~1SKILL.md/size
6599
5939
added /files/skills~1deepnote-mcp~1SKILL.md
Field was absent
{
"sha256": "a632f4e2d311654b5abbaf1da60c4bef3eededcaa5344c08cc91327ab4b8f52b",
"size": 18246
}removed /files/skills~1deepnote-notebook-editing~1SKILL.md
{
"sha256": "7b56f2e0f1493edcc7bf54584368d979646a97b49c264ab6d1ab94ed5b984606",
"size": 8384
}Field is absent
changed /files/skills~1deepnote-notebooks~1SKILL.md/sha256
"35933814c95f2558f23648aa61471257af4927c6c32c34275cb81efefbf3103f"
"d2f8f078d2674ac39fa2273aad73779e534c830b742c136879862a5ae9166f7d"
changed /files/skills~1deepnote-notebooks~1SKILL.md/size
5211
11772
added /files/skills~1deepnote-runs~1SKILL.md
Field was absent
{
"sha256": "74481c32e2bb716dbe5e88b05870f97f64925b54ec896625112edf0dfdc72301",
"size": 7474
}added /files/skills~1deepnote-streamlit-apps~1SKILL.md
Field was absent
{
"sha256": "e02907edcd78748d33ebceb8583771c68a5258ba2c019e840c67a9e987dc8c59",
"size": 4523
}added /files/skills~1deepnote-workspace~1SKILL.md
Field was absent
{
"sha256": "ef80cf6edb7f35088fd044351c7a56eec21d8ec474099f8523cea70698415886",
"size": 8785
}removed /files/skills~1deepnote~1SKILL.md
{
"sha256": "8e51874a9ac07e1355a033a8536a46092e79504767e021e3154ae68b725ccb7c",
"size": 4172
}Field is absent
removed /files/skills~1deepnote~1references~1workspace-summary.md
{
"sha256": "ad5a1e1af2f71975ff38f9187f9db29add21a09b33d106bc361279ee0e1beb38",
"size": 6071
}Field is absent
Full snapshot data
{
"files": {
".app.json": {
"sha256": "33e975e46d1d0c81c9f6ec20e04f120a480bbf091df302f70821ce8a30c827b4",
"size": 100
},
"LICENSE": {
"sha256": "4d585fcb77880a49b73c41d91b7690040d1bf0036dcd8b7d65934f2eacb61f39",
"size": 11343
},
"assets/deepnote-icon.png": {
"sha256": "169be7d48d2246a37b70e0413e2eec0c89b2c36151d40454427f438fbe3145d4",
"size": 19631
},
"assets/deepnote-icon.svg": {
"sha256": "cbd5c35e8e1c3207d035ac15cb58afbc2a9471b08a0d28fc7dd036b3c4cbda84",
"size": 867
},
"mcp.json": {
"sha256": "7aec8d20a7723ec51446d996e858e64813967d13600bebf44e1c377ed6b18211",
"size": 195
},
"plugin.json": {
"sha256": "58b1cfdf026e7d820184029120315d38f5ce65387e0ae7cc7d8e56af9e098a82",
"size": 2424
},
"skills/deepnote-data-apps/SKILL.md": {
"sha256": "cff6a828ac5f4e09e2391d23b62056254b3d7f46ed1c103f303b306c3b9d158a",
"size": 11945
},
"skills/deepnote-data-apps/scripts/app-dev.mjs": {
"sha256": "a0059b4064e4171b87c14ffe90e330a5c9df65123c87c0bd3e660cb72ac545bf",
"size": 8054
},
"skills/deepnote-links/SKILL.md": {
"sha256": "3afc79cfcede99b251906894bb6aab944daa7db6778b6ec40c43fda1d76aea28",
"size": 5939
},
"skills/deepnote-mcp/SKILL.md": {
"sha256": "a632f4e2d311654b5abbaf1da60c4bef3eededcaa5344c08cc91327ab4b8f52b",
"size": 18246
},
"skills/deepnote-notebooks/SKILL.md": {
"sha256": "d2f8f078d2674ac39fa2273aad73779e534c830b742c136879862a5ae9166f7d",
"size": 11772
},
"skills/deepnote-runs/SKILL.md": {
"sha256": "74481c32e2bb716dbe5e88b05870f97f64925b54ec896625112edf0dfdc72301",
"size": 7474
},
"skills/deepnote-streamlit-apps/SKILL.md": {
"sha256": "e02907edcd78748d33ebceb8583771c68a5258ba2c019e840c67a9e987dc8c59",
"size": 4523
},
"skills/deepnote-workspace/SKILL.md": {
"sha256": "ef80cf6edb7f35088fd044351c7a56eec21d8ec474099f8523cea70698415886",
"size": 8785
}
}
}SHA-256 of public snapshot: 90d2da67c702b702047fe343b8dc3d378b35f40c28dfa4233fabeb8776bb2fd7