Skip to content
This repository was archived by the owner on Aug 22, 2025. It is now read-only.

Commit ceb5b36

Browse files
authored
Migrate to TS plugin (#1)
1 parent bd0be3f commit ceb5b36

19 files changed

Lines changed: 8096 additions & 8618 deletions
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
name: Build connector
1+
name: Build plugin
22

33
on:
44
push:
55
branches:
66
- main
77

88
concurrency:
9-
group: build-connector
9+
group: build-plugin
1010

1111
jobs:
12-
build-connector:
13-
name: Build connector
12+
build-plugin:
13+
name: Build plugin
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Checkout
@@ -19,13 +19,13 @@ jobs:
1919
- name: Setup NodeJS
2020
uses: actions/setup-node@v3
2121
with:
22-
node-version: "18"
22+
node-version: '18'
2323

2424
- name: Install dependencies
2525
shell: bash
2626
run: npm install
2727

28-
- name: Build connector
28+
- name: Build plugin
2929
shell: bash
3030
run: npm run build
3131

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
/node_modules
2-
/package-lock.json

.prettierrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"singleQuote": true,
3+
"trailingComma": "all",
4+
"printWidth": 120
5+
}

README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,36 @@
1-
# Connery Runner Administration
1+
# OpenAI
22

3-
This connector provides actions to manage the Connery Runner service.
3+
OpenAI plugin for Connery.
44

55
## Available actions
66

7-
| Action | Description |
8-
| ------------------------------------------------------------ | ------------------------------------------------------ |
9-
| [Create prompt completion](/actions/CreateChatCompletion.js) | Creates an OpenAI model response for the given prompt. |
7+
| Action | Description |
8+
| ----------------------------------------- | ---------------------------------------------------- |
9+
| [Send prompt](/src/actions/sendPrompt.ts) | Send prompt to OpenAI and return generated response. |
1010

1111
## Repository structure
1212

13-
The entry point for this connector is the `./index.js` file.
14-
It contains the connector definition and references to all the actions.
13+
The entry point for this plugin is the [./src/index.ts](/src/index.ts) file.
14+
It contains the plugin definition and references to all the actions.
1515

16-
The `./actions/` folder contains all the actions this connector defines.
16+
The [./src/actions/](/src/actions/) folder contains all the actions this plugin defines.
1717
Every action is represented by a separate file with the action definition and implementation.
1818

19-
The `./dist/connector.js` file is the compiled version of the connector with all the dependencies.
20-
Connery Runner uses this file to run the connector.
19+
The [./dist/plugin.js](/dist/plugin.js) file is the bundled version of the plugin with all the dependencies.
20+
Connery Platform uses this file to run the plugin.
2121

2222
## Connery
2323

24-
This repository is a [Connery](https://connery.io) connector.
24+
This repository is a plugin for [Connery](https://connery.io).
2525

26-
Connery is an open-source connector ecosystem for AI and No-Code.
26+
Connery is an open-source plugin ecosystem for AI and No-Code.
2727

2828
Learn more about Connery:
2929

3030
- [Documentation](https://docs.connery.io)
31-
- [Source code](https://github.com/connery-io/connery)
32-
- [A quick guide on how to start using this connector with Connery](https://docs.connery.io/docs/quick-start)
31+
- [Source code](https://github.com/connery-io/connery-platform)
32+
- [How to start using this plugin with Connery?](https://docs.connery.io/docs/platform/quick-start/)
3333

3434
## Support
3535

36-
If you have any questions or need help with this connector, please create an issue in this repository.
36+
If you have any questions or need help with this plugin, please create an issue in this repository.

actions/CreateChatCompletion.js

Lines changed: 0 additions & 50 deletions
This file was deleted.

0 commit comments

Comments
 (0)