kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
feat: move nango to optional peer dep
rodzic
b8a73c5d21
commit
45c7c4cf91
|
@ -29,7 +29,6 @@
|
|||
"@dexaai/dexter": "^2.1.0",
|
||||
"@genkit-ai/ai": "^0.5.2",
|
||||
"@genkit-ai/core": "^0.5.2",
|
||||
"@instructor-ai/instructor": "^1.3.0",
|
||||
"@langchain/core": "^0.2.6",
|
||||
"@langchain/openai": "^0.1.2",
|
||||
"ai": "^3.1.30",
|
||||
|
|
|
@ -85,7 +85,6 @@
|
|||
"test:unit": "vitest run"
|
||||
},
|
||||
"dependencies": {
|
||||
"@nangohq/node": "^0.39.33",
|
||||
"dedent": "^1.5.3",
|
||||
"delay": "^6.0.0",
|
||||
"hash-object": "^5.0.1",
|
||||
|
@ -101,13 +100,14 @@
|
|||
"zod-to-json-schema": "^3.23.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@aws-sdk/client-sso-oidc": "^3.592.0",
|
||||
"@browserbasehq/sdk": "^1.2.1",
|
||||
"@dexaai/dexter": "^2.0.3",
|
||||
"@e2b/code-interpreter": "^0.0.7",
|
||||
"@fisch0920/eslint-config": "^1.3.3",
|
||||
"@genkit-ai/ai": "^0.5.2",
|
||||
"@instructor-ai/instructor": "^1.3.0",
|
||||
"@langchain/core": "^0.2.6",
|
||||
"@nangohq/node": "^0.39.33",
|
||||
"@total-typescript/ts-reset": "^0.5.1",
|
||||
"@types/node": "^20.14.2",
|
||||
"ai": "^3.1.30",
|
||||
|
@ -136,6 +136,7 @@
|
|||
"@e2b/code-interpreter": "^0.0.7",
|
||||
"@genkit-ai/ai": "^0.5.2",
|
||||
"@langchain/core": "^0.2.6",
|
||||
"@nangohq/node": "^0.39.33",
|
||||
"ai": "^3.1.30",
|
||||
"expr-eval": "^2.0.2",
|
||||
"llamaindex": "^0.3.16",
|
||||
|
@ -154,6 +155,9 @@
|
|||
"@langchain/core": {
|
||||
"optional": true
|
||||
},
|
||||
"@nangohq/node": {
|
||||
"optional": true
|
||||
},
|
||||
"ai": {
|
||||
"optional": true
|
||||
},
|
||||
|
|
343
pnpm-lock.yaml
343
pnpm-lock.yaml
Plik diff jest za duży
Load Diff
|
@ -193,13 +193,10 @@ See the [examples](./examples) directory for examples of how to use each of thes
|
|||
|
||||
## TODO
|
||||
|
||||
- move @nangohq/node to a peer dep
|
||||
|
||||
- sdks
|
||||
- modelfusion
|
||||
- services
|
||||
- browserbase
|
||||
- [phantombuster](https://phantombuster.com)
|
||||
- [apify](https://apify.com/store)
|
||||
- perplexity
|
||||
- [socialdata](https://socialdata.tools)
|
||||
- valtown
|
||||
|
|
|
@ -3,7 +3,6 @@ export * from './create-ai-function.js'
|
|||
export * from './errors.js'
|
||||
export * from './fns.js'
|
||||
export * from './message.js'
|
||||
export * from './nango.js'
|
||||
export * from './parse-structured-output.js'
|
||||
export * from './services/index.js'
|
||||
export * from './tools/search-and-crawl.js'
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { auth, Client as TwitterV2Client } from 'twitter-api-sdk'
|
||||
|
||||
import { getNango, validateNangoConnectionOAuthScopes } from '../../nango.js'
|
||||
import { assert, getEnv } from '../../utils.js'
|
||||
import { getNango, validateNangoConnectionOAuthScopes } from './nango.js'
|
||||
|
||||
// Auth new Nango accounts here: https://app.nango.dev/connections
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
export * from './client.js'
|
||||
export * from './error.js'
|
||||
export * from './nango.js'
|
||||
export * from './twitter-client.js'
|
||||
export type * from './types.js'
|
||||
export * from './utils.js'
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { type Connection, Nango } from '@nangohq/node'
|
||||
|
||||
import { getEnv } from './utils.js'
|
||||
import { getEnv } from '../../utils.js'
|
||||
|
||||
// This is intentionally left as a global singleton to avoid re-creating the
|
||||
// Nango connection instance on successive calls in serverless environments.
|
Ładowanie…
Reference in New Issue