Skip to content

Commit

Permalink
update changelogs
Browse files Browse the repository at this point in the history
  • Loading branch information
wladpaiva committed Oct 22, 2023
1 parent 1e6c762 commit a1dd1c1
Show file tree
Hide file tree
Showing 8 changed files with 51 additions and 7 deletions.
15 changes: 14 additions & 1 deletion .changeset/curvy-cheetahs-buy.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,17 @@
'aibitat': patch
---

added plugin support
Added plugins support to the AIbitat instance. This allows you to extend the
AIbitat instance with additional functionality.

```ts
import { AIbitat } from 'aibitat';

const aibitat = new AIbitat(...)
.use({
name: 'my-plugin',
setup: (aibitat) => {
// do something with the AIbitat instance
},
});
```
14 changes: 13 additions & 1 deletion .changeset/eighty-buses-return.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,16 @@
'aibitat': patch
---

Added `web-browsing` plugin
Added `experimental_webBrowsing` plugin to allow you to browse the web from your
AIbitat instance.

```ts
import { AIbitat } from 'aibitat';
import { experimental_webBrowsing } from 'aibitat/plugins';

const aibitat = new AIbitat(...)
.use(experimental_webBrowsing());
```

NOTE: This plugin is still in development and is not yet ready for use in
production.
2 changes: 1 addition & 1 deletion .changeset/friendly-needles-smile.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
'aibitat': patch
---

add dist files in the exported module
fix a bug where compiled files were not being included in the npm package
3 changes: 2 additions & 1 deletion .changeset/lazy-windows-arrive.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
'aibitat': patch
---

fix a where it was selecting the wrong the next participant in the group
fix a bug where it was selecting the wrong the next participant in the group
chat
11 changes: 10 additions & 1 deletion .changeset/soft-brooms-develop.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,13 @@
'aibitat': patch
---

fix module exports
Added `aibitat/plugins` as a plugin directory. This allows you enable plugins to
your AIbitat instance.

```ts
import { AIbitat } from 'aibitat';
import { cli } from 'aibitat/plugins';

const aibitat = new AIbitat(...)
.use(cli());
```
2 changes: 1 addition & 1 deletion .changeset/thick-pumas-thank.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
'aibitat': patch
---

added `onStart` event
added `onStart` event that is called when the chat starts.
2 changes: 1 addition & 1 deletion .changeset/wise-walls-pay.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
'aibitat': patch
---

`fileHistory` plugin
Added `fileHistory` plugin to the list of available plugins.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,15 @@ export function myPlugin(): AIbitatPlugin {
}
```

**List of available plugins:**

- `cli`: Adds a CLI interaction to the chat.
- `fileHistory`: Saves the chat history to a JSON file. Defaults to `history`
folder
- `experimental_webBrowsing`: Adds a `web-browsing` function to the chat that
enable agents to search and navigate on the internet. NOTE: this plugin is
experimental and may not work as expected.

### Listening to events

You can listen to events using the `on` method:
Expand Down

0 comments on commit a1dd1c1

Please sign in to comment.