corsair 0.1.110 → 0.1.111
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -1
- package/dist/{browser-delivery-DSOMrzVq.d.ts → browser-delivery-C47IyQKV.d.ts} +1 -1
- package/dist/{chunk-AIDBRYAC.js → chunk-T5GSKYTP.js} +14 -14
- package/dist/client/react/index.d.ts +3 -3
- package/dist/{connect-GMIO7HOY.js → connect-XL5IRCO3.js} +1 -1
- package/dist/core.d.ts +6 -6
- package/dist/core.js +1 -1
- package/dist/http.d.ts +1 -0
- package/dist/http.js +1 -1
- package/dist/hub.d.ts +7 -7
- package/dist/hub.js +1 -1
- package/dist/{index-Down-zOl.d.ts → index-CQVHpCrY.d.ts} +1 -1
- package/dist/{index-DU9NOasm.d.ts → index-Cn751yk3.d.ts} +1 -1
- package/dist/{index-BfatdOwQ.d.ts → index-y3QBilws.d.ts} +2 -2
- package/dist/index.d.ts +10 -10
- package/dist/index.js +1 -1
- package/dist/oauth.d.ts +2 -2
- package/dist/oauth.js +1 -1
- package/dist/{setup-GLFWEPTA.js → setup-GRBP3GDX.js} +1 -1
- package/dist/{setup-introspect-LMUCDRCJ.js → setup-introspect-OFZ2ICYL.js} +1 -1
- package/dist/setup.d.ts +3 -3
- package/dist/setup.js +1 -1
- package/dist/{tenant-match-utils-BIM8e0pe.d.ts → tenant-match-utils-npYTTXCT.d.ts} +2 -2
- package/dist/tunnel.d.ts +5 -5
- package/dist/tunnel.js +1 -1
- package/dist/{types-DfIEIfeF.d.ts → types-CcBQ3Vhg.d.ts} +10 -3
- package/dist/{types-Ce3Ii8Xs.d.ts → types-Cd8FiQ08.d.ts} +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -12,12 +12,19 @@ Integrations make products capable. Integrations are also frustrating to write.
|
|
|
12
12
|
|
|
13
13
|
Install Corsair:
|
|
14
14
|
```bash
|
|
15
|
-
npm install corsair @corsair-dev/mcp
|
|
15
|
+
npm install corsair @corsair-dev/mcp @corsair-dev/slack @corsair-dev/github @corsair-dev/gmail @corsair-dev/linear @corsair-dev/googlecalendar
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
Declare your integrations in a file you can track and commit to git:
|
|
19
19
|
```typescript
|
|
20
20
|
// corsair.ts
|
|
21
|
+
import { createCorsair } from 'corsair';
|
|
22
|
+
import { slack } from '@corsair-dev/slack';
|
|
23
|
+
import { github } from '@corsair-dev/github';
|
|
24
|
+
import { gmail } from '@corsair-dev/gmail';
|
|
25
|
+
import { linear } from '@corsair-dev/linear';
|
|
26
|
+
import { googlecalendar } from '@corsair-dev/googlecalendar';
|
|
27
|
+
|
|
21
28
|
export const corsair = createCorsair({
|
|
22
29
|
plugins: [slack(), github(), gmail(), linear(), googlecalendar()],
|
|
23
30
|
});
|
|
@@ -25,6 +32,8 @@ export const corsair = createCorsair({
|
|
|
25
32
|
|
|
26
33
|
Connect it to your agent and start prompting:
|
|
27
34
|
```typescript
|
|
35
|
+
import { runStdioMcpServer } from '@corsair-dev/mcp';
|
|
36
|
+
|
|
28
37
|
const corsairMcpServer = runStdioMcpServer({ corsair })
|
|
29
38
|
|
|
30
39
|
query({
|