Skip to content

Latest commit

 

History

History
265 lines (150 loc) · 4.09 KB

CHANGELOG.md

File metadata and controls

265 lines (150 loc) · 4.09 KB

ccat-api

0.10.6

Patch Changes

  • 95d692f: Fix type module in package.json

0.10.5

Patch Changes

  • 6cf38ba: Add when in chat history, update deps

0.10.4

Patch Changes

  • de5799b: Improve types, renamed user to userId

0.10.3

Patch Changes

  • 36d3183: Fix websocket scheme not supported in the browser

0.10.2

Patch Changes

  • 00c4b3d: Add custom headers

0.10.1

Patch Changes

  • 648db68: Fix websocket default values

0.10.0

Minor Changes

  • 312facd:
    • Fix code formatting
    • Add query parameter setting to the WebSocketSettings
    • Change readyState to be a getter and renamed to socketState
    • Rename MetaData interface to Metadata
    • Update dependencies
    • Add union type of strings for SocketError name

0.9.3

Patch Changes

  • aa0729b: Add upgrade key to plugins

0.9.2

Patch Changes

  • 0564669: remove trailing slashes in endpoints

0.9.1

Patch Changes

  • a38c6df: Re-added custom data object in websocket message

0.9.0

Minor Changes

  • ebc7f00: Update to work with Cat v1.4.0

0.8.1

Patch Changes

  • b195a49: Fixed response of conversation history endpoint

0.8.0

Minor Changes

  • 90d2696:
    • Added endpoint to install from registry.
    • Removed everything related to prompt settings.
    • Fixed authKey change behaviour.
    • Added hooks and tools in plugins schema
    • Added endpoint to get conversation history.
    • Added endpoint to wipe memory points by metadata.

0.7.3

Patch Changes

  • 34f7752: Added endpoint for allowed mimetypes

0.7.2

Patch Changes

  • af856df: Added user id argument in send method

0.7.1

Patch Changes

  • 16d1ae7: Added link property in JSON Schema

0.7.0

Minor Changes

  • 65e0659: Sync with new ccat's endpoints

    • Fixed typos
    • Added generic to PromptSettings
    • Improved endpoints response types

0.6.2

Patch Changes

  • 6e8b315: Now the port is a number

0.6.1

Patch Changes

  • c97d9b8: Fixed DefaultPromptSettings exported interface name

0.6.0

Minor Changes

  • ab329b4: Refactored models

    • Added new plugin settings endpoints

0.5.1

Patch Changes

  • 9400f12: Sync with Cheshire Cat Core

0.5.0

Minor Changes

  • 693df12: Added reset method

    • Updated error handling
    • Now api getter and websocket can be undefined
    • Added summary parameter in file and url upload

0.4.5

Patch Changes

  • 467c9fe: Sync with cat's backend:

    • Updated /memory/delete endpoint
    • Updated packages

0.4.4

Patch Changes

  • c5fe613: Changed AcceptedFileContentTypes -> AcceptedFileTypes

    • Added accepted memory types
    • Added accepted plugin types

0.4.3

Patch Changes

  • bf53aa8: Privatized unused code in services

    • Added AcceptedFileContentTypes const for file upload
    • Added enumator WebSocketState for .readyState

0.4.2

Patch Changes

  • 9cdfd68: Added possibility to put custom keys in PromptSettings (ex. for plugins)

    • Added documentation for client settings

0.4.1

Patch Changes

  • 7f7c81f:
    • Added setter to change auth key at runtime
    • Added getter to get the state of the websocket
    • PromptSettings passed in send() are now Partial

0.4.0

Minor Changes

  • b2b8832:
    • Switched from options to single arguments
    • Updated types to sync with backend

0.3.1

Patch Changes

  • 371d3bc: Fixed delete plugin endpoint

0.3.0

Minor Changes

  • ffec775:
    • Documented code
    • Fixed typos
    • Added WebSocket settings (delay, path, retries, onFailed)

0.2.3

Patch Changes

  • 41e6da6: Added delete plugin endpoint

0.2.2

Patch Changes

  • 850bd81:
    • Added types for websocket.
    • Added eslint.
    • Now throwing error codes instead of strings.

0.2.1

Patch Changes

  • 16b9513: - The default port is now '1865'
    • init() now returns the class instance

0.2.0

Minor Changes

  • 8a9a740:
    • Added missing types to services.
    • Fixed types for CatClient.
    • Exported models from index.

0.1.1

Patch Changes

  • ab42e0c: The authKey is now optional

0.1.0

Minor Changes

  • 8389485: Created the Cheshire Cat API Client.