In Theseus the console opened as a tab at http://127.0.0.1:<port>, a raw local address in the URL bar. It is now a left-sidebar panel instead, loading the add-on's own ui/index.html: API calls, uploads and live events cross the add-on IPC bridge and the add-on forwards them to the control server with an internal session. Downloads go to Theseus's download manager through single-use 60-second links. The panel can widen to full window or open as a tab. The core gains internalSession() and downloadUrl() for that; web and desktop hosts keep talking HTTP as before. Grids now shrink to fit, so narrow hosts never scroll sideways.
28 lines
640 B
JSON
28 lines
640 B
JSON
{
|
|
"name": "pithos",
|
|
"version": "0.2.0",
|
|
"description": "A control panel for s3d, the Sia S3 gateway: daemon, users and keys, buckets, upload pipeline.",
|
|
"license": "MPL-2.0",
|
|
"type": "module",
|
|
"main": "core/server.js",
|
|
"bin": {
|
|
"pithos-web": "bin/pithos-web.js"
|
|
},
|
|
"scripts": {
|
|
"web": "node bin/pithos-web.js",
|
|
"desktop": "electron desktop/main.cjs",
|
|
"test": "node --test test/*.test.js"
|
|
},
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"dependencies": {
|
|
"yaml": "^2.9.1"
|
|
},
|
|
"optionalDependencies": {
|
|
"@lydell/node-pty": "1.2.0-beta.15"
|
|
},
|
|
"devDependencies": {
|
|
"electron": "^44.5.1"
|
|
}
|
|
}
|