From a73bd9838f15fb13b24d0c6522ab7b8884dbf1e5 Mon Sep 17 00:00:00 2001 From: github-actions Date: Sat, 19 Aug 2023 18:07:01 +0000 Subject: [PATCH 1/3] =?UTF-8?q?=F0=9F=A4=96=20docs:=20Auto=20update=20cont?= =?UTF-8?q?ributors?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 800ec30..34585f9 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,21 @@ +> 📊 Total: **2** 📊 Total: **3** + + + + + + + + + + + + + > 📊 Total: **2** From b1ac9768bcc968740bf97ad5188bd6ae5affab4c Mon Sep 17 00:00:00 2001 From: arvinxx Date: Sun, 20 Aug 2023 10:45:12 +0800 Subject: [PATCH 2/3] :sparkles: feat: add plugin request payload function --- src/market.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/market.ts b/src/market.ts index f15350a..4b1db86 100644 --- a/src/market.ts +++ b/src/market.ts @@ -16,3 +16,11 @@ export const marketIndexSchema = z.object({ plugins: z.array(z.any()), version: z.number(), }); + +export const pluginRequestPayloadSchema = z.object({ + arguments: z.string().optional(), + indexUrl: z.string().optional(), + name: z.string(), +}); + +export type PluginRequestPayload = z.infer; From e2cb97cabfda951adee0753cb95031d310ab6cf0 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Sun, 20 Aug 2023 02:49:02 +0000 Subject: [PATCH 3/3] :bookmark: chore(release): v1.4.0 [skip ci] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## [Version 1.4.0](https://github.com/lobehub/chat-plugin-sdk/compare/v1.3.1...v1.4.0) Released on **2023-08-20** #### ✨ Features - **misc**: Add plugin request payload function.
Improvements and Fixes #### What's improved * **misc**: Add plugin request payload function ([b1ac976](https://github.com/lobehub/chat-plugin-sdk/commit/b1ac976))
[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
--- CHANGELOG.md | 25 +++++++++++++++++++++++++ package.json | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ab0952..58424a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,31 @@ # Changelog +## [Version 1.4.0](https://github.com/lobehub/chat-plugin-sdk/compare/v1.3.1...v1.4.0) + +Released on **2023-08-20** + +#### ✨ Features + +- **misc**: Add plugin request payload function. + +
+ +
+Improvements and Fixes + +#### What's improved + +- **misc**: Add plugin request payload function ([b1ac976](https://github.com/lobehub/chat-plugin-sdk/commit/b1ac976)) + +
+ +
+ +[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) + +
+ ### [Version 1.3.1](https://github.com/lobehub/chat-plugin-sdk/compare/v1.3.0...v1.3.1) Released on **2023-08-19** diff --git a/package.json b/package.json index a5144c0..02df2e8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lobehub/chat-plugin-sdk", - "version": "1.3.1", + "version": "1.4.0", "description": "Lobe Chat Plugin SDK, help you to build an amazing chat plugin for Lobe Chat", "keywords": [ "lobehub",