mirror of
https://github.com/HeyPuter/puter.git
synced 2026-05-03 08:00:32 +00:00
d4d78ac7db
* fix: dynamodb health checks and client recreation (#2789) * wip: no nanoServices groundwork * feat: data clients in new shape * wip: auth and perms in new system * more wip * middlewaters mainly done * wip: fsv2 in new layout * old fs v2 migration * driver system * driver and old fs fixes * ai drivers wip * stream support * metering in ai chat driver * wip: new auth * rate limit and auth routes * captcha and anti csrf * fix: types * auth store * app logic * wip most other dricvers * fs * mostly kill all legacy stuff * fs finish * fix: redis usage * ai controller * driver cleanup * socket io in v2 * broadcast and crudq stuff * subdomains * notifcations and shares * fix bad syntaxes * auth wip Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * extensions * extension setup * more routes * sql migrations and default services * home router * tier 7 * everything else * everything else * remaining missing bits * server health * logs * cleanup * deps * cleanup 2 * more cleanup 2 * boot * fix launch * config fix * move file * fix: tsconfig things * fix: extension loading * launching * fix: drivers * fix: others * fix: icons * fix: file uploads * fs fixes * fix: fs api * fix: dev-center * config * add back telemetry * lint stuff * husky hooks * fix: fs oss * fix: config migration * config migration * migrate scripts + replicate * runner * fix: merge defafult config * fix: default region * fix: api domain * fix paths in readfile * fix fs entry default s3 * NS: Remove Referral && Entri Service * dep cleanups * fix: static assets * fix: kv and perms * fix: driver registrations * fix: home mapping * fix: rao * adding back 500 alarm * fix: build paths * fix: fs and kv shapes * fix: kv shape * more kv coercing and ai chat matching format as prior * fix: private app gates * private app caches * fix: whole bunch of legacy shape issues * update template jsonc * fix caching partial oidc and fs signed paths * more oidc fixes * fix: wip * fix: private apps * admin route fixes * fix: last few things hopefully * claude uploads * fix security for app only routes * fix kv system namespace * stuff * fix: app and kv and suggested apps * fix:open item * fix: FS operations * fix: default app icons * add back token-read and WSL support * metering fixes * fix: fsEntry * perm scanners and implicators * proper download endpoint * fix: download * fix anti csrft on v2 * fix file extensions, app icons * fold in v1 fixes from origin/main into v2 equivalents Re-applies the v1 fixes that landed on origin/main into their v2 counterparts since the v1 files were deleted on DS/wip during the v2 migration. v1 commits referenced below. - SQLBatcher: flush immediately when queue hits maxBatchSize instead of racing the timer (v1 12f48238). - RedisClient: drop maxRetriesPerRequest from 2 to 1 to shrink failure window (v1b6776ab4). - ChatCompletionDriver: default minimumCredits to 1 when unset/zero so zero-cost precheck doesn't auto-pass (v136bd6073). - OpenAiImageProvider: add gpt-image-2 support — open-ended size rules, token-based cost estimator, arbitrary-size normalizer, isGpt prefix broadened to gpt-image- (v1f14f1bf4). models.ts auto-merged via rename detection. - AppStore: bump row cache TTL from 5m to 24h (v16b3196ed). Not ported: v1 app-object Redis cache (bdfa12b5/b886dde3) — v2's #toClient recomputes filetype_associations/created_from_origin per read; adding a second cache layer is a larger change for a follow-up. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * remoe anti-csrf from auth routes that had not used them * more icon fixes * fix worker functionality * fix: app and subdomain es Co-authored-by: Copilot <copilot@github.com> * fix PUT-761 * fix: PUT-748 * fix: rename fsService * Add security back to WorkerDriver * Migrate worker from fsEntry to fs. Fix cache issue * remove ability to create symlinks * strict webdav acl * require auth for wisp * chore: service renames * Add metering back to puter peer api * fix: PUT-760 PUT-749 * fix: PUT-746 * fix: peer cost Co-authored-by: Copilot <copilot@github.com> * fix: 771 * change order of peer controller * fix: create appdata folder for app on get auth token * fix: align delete site and list sites * delete: putility * fix subdomains * Add support for tilde in subdomains, fix subdomain update * cleanup PeerController.ts and fix billing oversight (#2844) * fix: PUT-786 * fix: bugs * fix: issues with multiple subdomain queries, or permission checks * fix: harden response shapes to not contain uneeded fields * fix: move state to redis * fix: missing kv methods + better sec Co-authored-by: Copilot <copilot@github.com> * fix: subdomainStore limit * fix: missing path resolution Co-authored-by: Copilot <copilot@github.com> * fs fixes * fix: undef error * fix fs + cleanup * fix: npm audit fixes * heal path entries where missing Co-authored-by: Copilot <copilot@github.com> * fix: caching Co-authored-by: Copilot <copilot@github.com> * fix: cache inconsistencies Co-authored-by: Copilot <copilot@github.com> * fix: app driver metadata Co-authored-by: Copilot <copilot@github.com> * remove extraneous comma * fix: associated app icons * fix: bad tool call * Add validation to WorkerDriver#getFilePaths * misc fs and auth issues Co-authored-by: Copilot <copilot@github.com> * fix: oidc errors Co-authored-by: Copilot <copilot@github.com> * fix: PUT-797 * fix: legacy appdata_app Co-authored-by: Copilot <copilot@github.com> * fix: add alert logs Co-authored-by: Copilot <copilot@github.com> * fix: error handling * Disable sharecontroller * fix: remove private user identifier for ai * fix: private app fixes * Add backback signup_server * fix: completionId size Co-authored-by: Copilot <copilot@github.com> * fix: revalidate path for oidc * fix: revalidate path for oidc * fix: email validation Co-authored-by: Copilot <copilot@github.com> * fix: user create query * fix: middleware extensions Co-authored-by: Copilot <copilot@github.com> * use x-forwarded-for for req ip forwarded * fix: missing last_activity ts * feat: add cache broadcast to subdomains * fix: update config typing --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Co-authored-by: ProgrammerIn-wonderland <3838shah@gmail.com> Co-authored-by: Copilot <copilot@github.com> Co-authored-by: Nariman Jelveh <nj@puter.com> Co-authored-by: velzie <velzie@velzie.rip>
91 lines
2.9 KiB
JSON
91 lines
2.9 KiB
JSON
{
|
|
"name": "puter.com",
|
|
"version": "2.5.1",
|
|
"author": "Puter Technologies Inc.",
|
|
"license": "AGPL-3.0-only",
|
|
"description": "Desktop environment in the browser!",
|
|
"homepage": "https://puter.com",
|
|
"type": "module",
|
|
"main": "exports.js",
|
|
"directories": {
|
|
"lib": "lib"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.35.0",
|
|
"@playwright/test": "^1.56.1",
|
|
"@stylistic/eslint-plugin": "^5.3.1",
|
|
"@types/express": "^5.0.0",
|
|
"@types/mime-types": "^3.0.1",
|
|
"@types/uuid": "^10.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^8.46.1",
|
|
"@typescript-eslint/parser": "^8.46.1",
|
|
"@vitest/coverage-v8": "^4.0.14",
|
|
"@vitest/ui": "^4.0.14",
|
|
"chalk": "^4.1.0",
|
|
"clean-css": "^5.3.2",
|
|
"dotenv": "^16.4.5",
|
|
"eslint": "^9.35.0",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"eslint-plugin-prettier": "^5.5.5",
|
|
"eslint-rule-composer": "^0.3.0",
|
|
"globals": "^15.15.0",
|
|
"html-webpack-plugin": "^5.6.0",
|
|
"husky": "^9.1.7",
|
|
"license-check-and-add": "^4.0.5",
|
|
"mocha": "^7.2.0",
|
|
"nodemon": "^3.1.0",
|
|
"prettier": "^3.8.3",
|
|
"simple-git": "^3.32.3",
|
|
"typescript": "^5.4.5",
|
|
"uglify-js": "^3.17.4",
|
|
"vite-plugin-static-copy": "^3.3.0",
|
|
"webpack": "^5.88.2",
|
|
"webpack-cli": "^5.1.1",
|
|
"yaml": "^2.8.1"
|
|
},
|
|
"scripts": {
|
|
"test": "npx vitest run --config=src/backend/vitest.config.ts && node src/backend/tools/test.mjs",
|
|
"test:puterjs-api": "vitest run tests/puterJsApiTests",
|
|
"test:backend": "npm run build:ts; vitest run --config=src/backend/vitest.config.ts",
|
|
"test:backend-coverage": "npm run build:ts; vitest run --config=src/backend/vitest.config.ts",
|
|
"start=gui": "nodemon --exec \"node dev-server.js\" ",
|
|
"start": "node --enable-source-maps -r ./dist/src/backend/telemetry.js ./dist/src/backend/index.js",
|
|
"prestart": "npm run build:ts",
|
|
"dev": "npm run build:ts && node --enable-source-maps -r ./dist/src/backend/telemetry.js ./dist/src/backend/index.js",
|
|
"build": "npm run build:ts && cd src/gui && node ./build.js && cd ../puter-js && npm run build",
|
|
"build:workerLib": "cd src/puter-js && npm run build && cd ../worker && npm run build",
|
|
"check-translations": "node tools/check-translations.js",
|
|
"prepare": "husky",
|
|
"build:ts": "tsc -p tsconfig.json && node ./tools/write-dist-package-json.mjs",
|
|
"postinstall": "./tools/extensionSetup.sh"
|
|
},
|
|
"workspaces": [
|
|
"src/*",
|
|
"tools/*",
|
|
"experiments/js-parse-and-output"
|
|
],
|
|
"nodemonConfig": {
|
|
"ext": "js, json, mjs, jsx, svg, css",
|
|
"ignore": [
|
|
"./dist/",
|
|
"./node_modules/"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@ai-sdk/openai": "^3.0.25",
|
|
"@aws-sdk/client-s3": "^3.1020.0",
|
|
"@aws-sdk/s3-request-presigner": "^3.1028.0",
|
|
"@heyputer/putility": "^1.0.2",
|
|
"ai": "^6.0.73",
|
|
"dedent": "^1.5.3",
|
|
"javascript-time-ago": "^2.5.11",
|
|
"open": "^10.1.0"
|
|
},
|
|
"optionalDependencies": {
|
|
"sharp": "^0.34.4"
|
|
},
|
|
"engines": {
|
|
"node": ">=24.0.0"
|
|
}
|
|
}
|