🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@promptbook/browser

Package Overview
Dependencies
Maintainers
1
Versions
332
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@promptbook/browser - npm Package Versions

1
46
34

0.92.0-11

Diff
hejny
published 0.92.0-11 •
hejny
published 0.92.0-10 •
hejny
published 0.92.0-9 •
hejny
published 0.92.0-7 •
hejny
published 0.92.0-8 •
hejny
published 0.92.0-6 •
hejny
published 0.92.0-5 •
hejny
published 0.92.0-4 •
hejny
published 0.92.0-3 •
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