Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@promptbook/remote-client

Package Overview
Dependencies
Maintainers
1
Versions
466
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@promptbook/remote-client - npm Package Versions

1
46

0.27.0

Diff

Changelog

Source

0.27.0 (2024-02-03)

Moving logic from promptbookStringToJson to createPtbkExecutor

  • Allow postprocessing and expectations in all execution types
  • Postprocessing is happening before checking expectations
  • In PromptbookJson postprocessing is represented internally in each PromptTemplateJson not as separate PromptTemplateJson
  • Introduce ExpectError
  • Rename maxNaturalExecutionAttempts to maxExecutionAttempts (because now it is not just for natural execution)
  • If title in promptbook contains emojis, pass it innto report
  • Fix description in report
  • Asking user infinite times for input if the input not matches the expectations
hejny
published 0.27.0-5 •

hejny
published 0.27.0-4 •

hejny
published 0.27.0-3 •

hejny
published 0.27.0-2 •

hejny
published 0.27.0-1 •

hejny
published 0.27.0-0 •

hejny
published 0.26.0 •

Changelog

Source

0.26.0 (2024-02-03)

  • Add EXPECT JSON command to promptbooks
  • Split internal representation EXPECT into EXPECT_AMOUNT and EXPECT_FORMAT
hejny
published 0.25.0 •

Changelog

Source

0.25.0 (2024-02-03)

  • CreatePtbkExecutorSettings are not mandatory anymore
hejny
published 0.24.0 •

Changelog

Source

0.24.0 (2024-01-25)

  • Add postprocessing function trimCodeBlock
  • Add EXPECT command to promptbooks
  • Add ExecutionReport
  • Add parseNumber utility function
  • PtbkExecutor returns richer result and does not throw, just returns isSuccessful=false, You can use assertsExecutionSuccessful utility function to check if the execution was successful
  • Add assertsExecutionSuccessful utility function
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc