🚀 Socket Launch Week 🚀 Day 4: Introducing Historical Analytics.Learn More
Socket
Sign inDemoInstall
Socket

@promptbook/browser

Package Overview
Dependencies
Maintainers
1
Versions
290
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@promptbook/browser - npm Package Versions

2345
29

0.89.0

Diff
hejny
published 0.89.0 •

Changelog

Source

0.89.0 (2025-04-15)

User system and spending of credits

  • Update typescript to 5.2.2
  • Remote server requires root url /, if you want to run multiple services on the same server, use 3rd or 4th degree subdomain
  • [🌬] Make websocket transport work
  • Allow to pass custom execution tools to promptbook server
  • CLI can be connected to Promptbook remote server
    • Allow to specify BRING_YOUR_OWN_KEYS / REMOTE_SERVER in cli commands ptbk run, ptbk make, ptbk list-models and ptbk start-server
  • CLI can login to Promptbook remote server via username + password and store the token
  • Add login to application mode on remote server
  • Add User token to application mode on remote server
  • Rename countTotalUsage -> countUsage and add spending()
  • Rename PromptResultUsage -> Usage
  • Delete OpenAiExecutionTools.createAssistantSubtools
  • RemoteServer exposes httpServer, expressApp and socketIoServer - you can add custom routes and middlewares
  • Adding OpenAPI specification and Swagger to remote server <!-- <- TODO: !!!! Uninstall unused dependencies swagger -->
  • @types/* imports are moved to devDependencies
  • Rename remoteUrl -> remoteServerUrl
  • Rename DEFAULT_REMOTE_URL -> DEFAULT_REMOTE_SERVER_URL
  • Remove DEFAULT_REMOTE_URL_PATH (it will be always socket.io)
  • rootPath is not required anymore
  • Rename types PromptbookServer_Identification -> Identification
  • Change scraperFetch -> promptbookFetch and add PromptbookFetchError
  • Better error handling in entire Promptbook engine
  • Catch non-error throws and wrap + rethrow them as WrappedError
  • Creating a default community health file
  • Functions isValidCsvString and isValidXmlString

0.90.0 and 0.91.0 were skipped

In pre-release

hejny
published 0.89.0-33 •
hejny
published 0.89.0-32 •
hejny
published 0.89.0-31 •
hejny
published 0.89.0-30 •
hejny
published 0.89.0-29 •
hejny
published 0.89.0-27 •
hejny
published 0.89.0-28 •
hejny
published 0.89.0-21 •
hejny
published 0.89.0-20 •
2345
29