@openai/agents 0.0.1
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/LICENSE +21 -0
- package/README.md +241 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +9 -0
- package/dist/index.mjs.map +1 -0
- package/dist/metadata.d.ts +12 -0
- package/dist/metadata.js +14 -0
- package/dist/metadata.js.map +1 -0
- package/dist/metadata.mjs +14 -0
- package/dist/metadata.mjs.map +1 -0
- package/dist/realtime/index.d.ts +1 -0
- package/dist/realtime/index.js +2 -0
- package/dist/realtime/index.js.map +1 -0
- package/dist/realtime/index.mjs +2 -0
- package/dist/realtime/index.mjs.map +1 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +2 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/index.mjs +2 -0
- package/dist/utils/index.mjs.map +1 -0
- package/package.json +71 -0
package/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2025 OpenAI
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
@@ -0,0 +1,241 @@
|
|
1
|
+
# OpenAI Agents SDK (JavaScript/TypeScript)
|
2
|
+
|
3
|
+
The OpenAI Agents SDK is a lightweight yet powerful framework for building multi-agent workflows in JavaScript/TypeScript. It is provider-agnostic, supporting OpenAI APIs and more.
|
4
|
+
|
5
|
+
<img src="https://cdn.openai.com/API/docs/images/orchestration.png" alt="Image of the Agents Tracing UI" style="max-height: 803px;">
|
6
|
+
|
7
|
+
## Core concepts
|
8
|
+
|
9
|
+
1. **Agents**: LLMs configured with instructions, tools, guardrails, and handoffs.
|
10
|
+
2. **Handoffs**: Specialized tool calls for transferring control between agents.
|
11
|
+
3. **Guardrails**: Configurable safety checks for input and output validation.
|
12
|
+
4. **Tracing**: Built-in tracking of agent runs, allowing you to view, debug, and optimize your workflows.
|
13
|
+
|
14
|
+
Explore the [`examples/`](examples/) directory to see the SDK in action.
|
15
|
+
|
16
|
+
## Supported Features
|
17
|
+
|
18
|
+
- [x] **Multi-Agent Workflows**: Compose and orchestrate multiple agents in a single workflow.
|
19
|
+
- [x] **Tool Integration**: Seamlessly call tools/functions from within agent responses.
|
20
|
+
- [x] **Handoffs**: Transfer control between agents dynamically during a run.
|
21
|
+
- [x] **Structured Outputs**: Support for both plain text and schema-validated structured outputs.
|
22
|
+
- [x] **Streaming Responses**: Stream agent outputs and events in real time.
|
23
|
+
- [x] **Tracing & Debugging**: Built-in tracing for visualizing and debugging agent runs.
|
24
|
+
- [x] **Guardrails**: Input and output validation for safety and reliability.
|
25
|
+
- [x] **Parallelization**: Run agents or tool calls in parallel and aggregate results.
|
26
|
+
- [x] **Human-in-the-Loop**: Integrate human approval or intervention into workflows.
|
27
|
+
- [x] **Realtime Voice Agents**: Build realtime voice agents using WebRTC or Websockets
|
28
|
+
- [x] **Local MCP Server Support**: Give an Agent access to a locally running MCP server to provide tools
|
29
|
+
- [x] **Separate optimized browser package**: Dedicated package meant to run in the browser for Realtime agents.
|
30
|
+
- [x] **Broader model support**: Use non-OpenAI models through the Vercel AI SDK adapter
|
31
|
+
- [ ] **Long running functions**: Suspend an agent loop to execute a long-running function and revive it later <img src="https://img.shields.io/badge/Future-lightgrey" alt="Future" style="width: auto; height: 1em; vertical-align: middle;">
|
32
|
+
- [ ] **Voice pipeline**: Chain text-based agents using speech-to-text and text-to-speech into a voice agent <img src="https://img.shields.io/badge/Future-lightgrey" alt="Future" style="width: auto; height: 1em; vertical-align: middle;">
|
33
|
+
|
34
|
+
## Get started
|
35
|
+
|
36
|
+
### Supported environments
|
37
|
+
|
38
|
+
- Node.js 22 or later
|
39
|
+
- Deno
|
40
|
+
- Bun
|
41
|
+
|
42
|
+
Experimental support:
|
43
|
+
|
44
|
+
- Cloudflare Workers with `nodejs_compat` enabled
|
45
|
+
|
46
|
+
[Check out the documentation](https://openai.github.io/openai-agents-js/guides/troubleshooting/) for more detailed information.
|
47
|
+
|
48
|
+
### Installation
|
49
|
+
|
50
|
+
```bash
|
51
|
+
npm install @openai/agents
|
52
|
+
```
|
53
|
+
|
54
|
+
## Hello world example
|
55
|
+
|
56
|
+
```js
|
57
|
+
import { Agent, run } from '@openai/agents';
|
58
|
+
|
59
|
+
const agent = new Agent({
|
60
|
+
name: 'Assistant',
|
61
|
+
instructions: 'You are a helpful assistant',
|
62
|
+
});
|
63
|
+
|
64
|
+
const result = await run(
|
65
|
+
agent,
|
66
|
+
'Write a haiku about recursion in programming.',
|
67
|
+
);
|
68
|
+
console.log(result.finalOutput);
|
69
|
+
// Code within the code,
|
70
|
+
// Functions calling themselves,
|
71
|
+
// Infinite loop's dance.
|
72
|
+
```
|
73
|
+
|
74
|
+
(_If running this, ensure you set the `OPENAI_API_KEY` environment variable_)
|
75
|
+
|
76
|
+
## Functions example
|
77
|
+
|
78
|
+
```js
|
79
|
+
import { z } from 'zod';
|
80
|
+
import { Agent, run, tool } from '@openai/agents';
|
81
|
+
|
82
|
+
const getWeatherTool = tool({
|
83
|
+
name: 'get_weather',
|
84
|
+
description: 'Get the weather for a given city',
|
85
|
+
parameters: z.object({ city: z.string() }),
|
86
|
+
execute: async (input) => {
|
87
|
+
return `The weather in ${input.city} is sunny`;
|
88
|
+
},
|
89
|
+
});
|
90
|
+
|
91
|
+
const agent = new Agent({
|
92
|
+
name: 'Data agent',
|
93
|
+
instructions: 'You are a data agent',
|
94
|
+
tools: [getWeatherTool],
|
95
|
+
});
|
96
|
+
|
97
|
+
async function main() {
|
98
|
+
const result = await run(agent, 'What is the weather in Tokyo?');
|
99
|
+
console.log(result.finalOutput);
|
100
|
+
}
|
101
|
+
|
102
|
+
main().catch(console.error);
|
103
|
+
```
|
104
|
+
|
105
|
+
## Handoffs example
|
106
|
+
|
107
|
+
```js
|
108
|
+
import { z } from 'zod';
|
109
|
+
import { Agent, run, tool } from '@openai/agents';
|
110
|
+
|
111
|
+
const getWeatherTool = tool({
|
112
|
+
name: 'get_weather',
|
113
|
+
description: 'Get the weather for a given city',
|
114
|
+
parameters: z.object({ city: z.string() }),
|
115
|
+
execute: async (input) => {
|
116
|
+
return `The weather in ${input.city} is sunny`;
|
117
|
+
},
|
118
|
+
});
|
119
|
+
|
120
|
+
const dataAgent = new Agent({
|
121
|
+
name: 'Data agent',
|
122
|
+
instructions: 'You are a data agent',
|
123
|
+
handoffDescription: 'You know everything about the weather',
|
124
|
+
tools: [getWeatherTool],
|
125
|
+
});
|
126
|
+
|
127
|
+
// Use Agent.create method to ensure the finalOutput type considers handoffs
|
128
|
+
const agent = Agent.create({
|
129
|
+
name: 'Basic test agent',
|
130
|
+
instructions: 'You are a basic agent',
|
131
|
+
handoffs: [dataAgent],
|
132
|
+
});
|
133
|
+
|
134
|
+
async function main() {
|
135
|
+
const result = await run(agent, 'What is the weather in San Francisco?');
|
136
|
+
console.log(result.finalOutput);
|
137
|
+
}
|
138
|
+
|
139
|
+
main().catch(console.error);
|
140
|
+
```
|
141
|
+
|
142
|
+
## Voice Agent
|
143
|
+
|
144
|
+
```js
|
145
|
+
import { z } from 'zod';
|
146
|
+
import { RealtimeAgent, RealtimeSession, tool } from '@openai/agents-realtime';
|
147
|
+
|
148
|
+
const getWeatherTool = tool({
|
149
|
+
name: 'get_weather',
|
150
|
+
description: 'Get the weather for a given city',
|
151
|
+
parameters: z.object({ city: z.string() }),
|
152
|
+
execute: async (input) => {
|
153
|
+
return `The weather in ${input.city} is sunny`;
|
154
|
+
},
|
155
|
+
});
|
156
|
+
|
157
|
+
const agent = new RealtimeAgent({
|
158
|
+
name: 'Data agent',
|
159
|
+
instructions: 'You are a data agent',
|
160
|
+
tools: [getWeatherTool],
|
161
|
+
});
|
162
|
+
|
163
|
+
// Intended to be run the browser
|
164
|
+
const { apiKey } = await fetch('/path/to/ephemerial/key/generation').then(
|
165
|
+
(resp) => resp.json(),
|
166
|
+
);
|
167
|
+
// automatically configures audio input/output so start talking
|
168
|
+
const session = new RealtimeSession(agent);
|
169
|
+
await session.connect({ apiKey });
|
170
|
+
```
|
171
|
+
|
172
|
+
## The agent loop
|
173
|
+
|
174
|
+
When you call `Runner.run()`, the SDK executes a loop until a final output is produced.
|
175
|
+
|
176
|
+
1. The agent is invoked with the given input, using the model and settings configured on the agent (or globally).
|
177
|
+
2. The LLM returns a response, which may include tool calls or handoff requests.
|
178
|
+
3. If the response contains a final output (see below), the loop ends and the result is returned.
|
179
|
+
4. If the response contains a handoff, the agent is switched to the new agent and the loop continues.
|
180
|
+
5. If there are tool calls, the tools are executed, their results are appended to the message history, and the loop continues.
|
181
|
+
|
182
|
+
You can control the maximum number of iterations with the `maxTurns` parameter.
|
183
|
+
|
184
|
+
### Final output
|
185
|
+
|
186
|
+
The final output is the last thing the agent produces in the loop.
|
187
|
+
|
188
|
+
1. If the agent has an `outputType` (structured output), the loop ends when the LLM returns a response matching that type.
|
189
|
+
2. If there is no `outputType` (plain text), the first LLM response without tool calls or handoffs is considered the final output.
|
190
|
+
|
191
|
+
**Summary of the agent loop:**
|
192
|
+
|
193
|
+
- If the current agent has an `outputType`, the loop runs until structured output of that type is produced.
|
194
|
+
- If not, the loop runs until a message is produced with no tool calls or handoffs.
|
195
|
+
|
196
|
+
### Error handling
|
197
|
+
|
198
|
+
- If the maximum number of turns is exceeded, a `MaxTurnsExceededError` is thrown.
|
199
|
+
- If a guardrail is triggered, a `GuardrailTripwireTriggered` exception is raised.
|
200
|
+
|
201
|
+
## Documentation
|
202
|
+
|
203
|
+
To view the documentation locally:
|
204
|
+
|
205
|
+
```bash
|
206
|
+
pnpm docs:dev
|
207
|
+
```
|
208
|
+
|
209
|
+
Then visit [http://localhost:4321](http://localhost:4321) in your browser.
|
210
|
+
|
211
|
+
## Development
|
212
|
+
|
213
|
+
If you want to contribute or edit the SDK/examples:
|
214
|
+
|
215
|
+
1. Install dependencies
|
216
|
+
|
217
|
+
```bash
|
218
|
+
pnpm install
|
219
|
+
```
|
220
|
+
|
221
|
+
2. Build the project
|
222
|
+
|
223
|
+
```bash
|
224
|
+
pnpm build
|
225
|
+
```
|
226
|
+
|
227
|
+
3. Run tests, linter, etc. (add commands as appropriate for your project)
|
228
|
+
|
229
|
+
## Acknowledgements
|
230
|
+
|
231
|
+
We'd like to acknowledge the excellent work of the open-source community, especially:
|
232
|
+
|
233
|
+
- [zod](https://github.com/colinhacks/zod) (schema validation)
|
234
|
+
- [Starlight](https://github.com/withastro/starlight)
|
235
|
+
- [vite](https://github.com/vitejs/vite) and [vitest](https://github.com/vitest-dev/vitest)
|
236
|
+
- [pnpm](https://pnpm.io/)
|
237
|
+
- [Next.js](https://github.com/vercel/next.js)
|
238
|
+
|
239
|
+
We're committed to building the Agents SDK as an open source framework so others in the community can expand on our approach.
|
240
|
+
|
241
|
+
For more details, see the [documentation](https://openai.github.io/openai-agents-js) or explore the [`examples/`](examples/) directory.
|
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
import { setDefaultModelProvider } from '@openai/agents-core';
|
2
|
+
import { OpenAIProvider } from '@openai/agents-openai';
|
3
|
+
import { setDefaultOpenAITracingExporter } from '@openai/agents-openai';
|
4
|
+
setDefaultModelProvider(new OpenAIProvider());
|
5
|
+
setDefaultOpenAITracingExporter();
|
6
|
+
export * from '@openai/agents-core';
|
7
|
+
export * from '@openai/agents-openai';
|
8
|
+
export * as realtime from '@openai/agents-realtime';
|
9
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB;OACtD,EAAE,cAAc,EAAE,MAAM,uBAAuB;OAC/C,EAAE,+BAA+B,EAAE,MAAM,uBAAuB;AAEvE,uBAAuB,CAAC,IAAI,cAAc,EAAE,CAAC,CAAC;AAC9C,+BAA+B,EAAE,CAAC;cAEpB,qBAAqB;cACrB,uBAAuB;OAC9B,KAAK,QAAQ,MAAM,yBAAyB"}
|
package/dist/index.mjs
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
import { setDefaultModelProvider } from '@openai/agents-core';
|
2
|
+
import { OpenAIProvider } from '@openai/agents-openai';
|
3
|
+
import { setDefaultOpenAITracingExporter } from '@openai/agents-openai';
|
4
|
+
setDefaultModelProvider(new OpenAIProvider());
|
5
|
+
setDefaultOpenAITracingExporter();
|
6
|
+
export * from '@openai/agents-core';
|
7
|
+
export * from '@openai/agents-openai';
|
8
|
+
export * as realtime from '@openai/agents-realtime';
|
9
|
+
//# sourceMappingURL=index.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB;OACtD,EAAE,cAAc,EAAE,MAAM,uBAAuB;OAC/C,EAAE,+BAA+B,EAAE,MAAM,uBAAuB;AAEvE,uBAAuB,CAAC,IAAI,cAAc,EAAE,CAAC,CAAC;AAC9C,+BAA+B,EAAE,CAAC;cAEpB,qBAAqB;cACrB,uBAAuB;OAC9B,KAAK,QAAQ,MAAM,yBAAyB"}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
export declare const METADATA: {
|
2
|
+
name: string;
|
3
|
+
version: string;
|
4
|
+
versions: {
|
5
|
+
"@openai/agents": string;
|
6
|
+
"@openai/agents-core": string;
|
7
|
+
"@openai/agents-openai": string;
|
8
|
+
"@openai/agents-realtime": string;
|
9
|
+
openai: string;
|
10
|
+
};
|
11
|
+
};
|
12
|
+
export default METADATA;
|
package/dist/metadata.js
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
// This file is automatically generated
|
2
|
+
export const METADATA = {
|
3
|
+
"name": "@openai/agents",
|
4
|
+
"version": "0.0.1",
|
5
|
+
"versions": {
|
6
|
+
"@openai/agents": "0.0.1",
|
7
|
+
"@openai/agents-core": "workspace:*",
|
8
|
+
"@openai/agents-openai": "workspace:*",
|
9
|
+
"@openai/agents-realtime": "workspace:*",
|
10
|
+
"openai": "^5.0.1"
|
11
|
+
}
|
12
|
+
};
|
13
|
+
export default METADATA;
|
14
|
+
//# sourceMappingURL=metadata.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"metadata.js","sourceRoot":"","sources":["../src/metadata.ts"],"names":[],"mappings":"AACA,uCAAuC;AAEvC,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,MAAM,EAAE,gBAAgB;IACxB,SAAS,EAAE,OAAO;IAClB,UAAU,EAAE;QACV,gBAAgB,EAAE,OAAO;QACzB,qBAAqB,EAAE,aAAa;QACpC,uBAAuB,EAAE,aAAa;QACtC,yBAAyB,EAAE,aAAa;QACxC,QAAQ,EAAE,QAAQ;KACnB;CACF,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
// This file is automatically generated
|
2
|
+
export const METADATA = {
|
3
|
+
"name": "@openai/agents",
|
4
|
+
"version": "0.0.1",
|
5
|
+
"versions": {
|
6
|
+
"@openai/agents": "0.0.1",
|
7
|
+
"@openai/agents-core": "workspace:*",
|
8
|
+
"@openai/agents-openai": "workspace:*",
|
9
|
+
"@openai/agents-realtime": "workspace:*",
|
10
|
+
"openai": "^5.0.1"
|
11
|
+
}
|
12
|
+
};
|
13
|
+
export default METADATA;
|
14
|
+
//# sourceMappingURL=metadata.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"metadata.mjs","sourceRoot":"","sources":["../src/metadata.ts"],"names":[],"mappings":"AACA,uCAAuC;AAEvC,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,MAAM,EAAE,gBAAgB;IACxB,SAAS,EAAE,OAAO;IAClB,UAAU,EAAE;QACV,gBAAgB,EAAE,OAAO;QACzB,qBAAqB,EAAE,aAAa;QACpC,uBAAuB,EAAE,aAAa;QACtC,yBAAyB,EAAE,aAAa;QACxC,QAAQ,EAAE,QAAQ;KACnB;CACF,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from '@openai/agents-realtime';
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/realtime/index.ts"],"names":[],"mappings":"cAAc,yBAAyB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/realtime/index.ts"],"names":[],"mappings":"cAAc,yBAAyB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from '@openai/agents-core/utils';
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"cAAc,2BAA2B"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"cAAc,2BAA2B"}
|
package/package.json
ADDED
@@ -0,0 +1,71 @@
|
|
1
|
+
{
|
2
|
+
"name": "@openai/agents",
|
3
|
+
"repository": "https://github.com/openai/openai-agents-js",
|
4
|
+
"homepage": "https://openai.github.io/openai-agents-js/",
|
5
|
+
"version": "0.0.1",
|
6
|
+
"description": "The OpenAI Agents SDK is a lightweight yet powerful framework for building multi-agent workflows.",
|
7
|
+
"author": "OpenAI <support@openai.com>",
|
8
|
+
"main": "dist/index.js",
|
9
|
+
"types": "dist/index.d.ts",
|
10
|
+
"exports": {
|
11
|
+
".": {
|
12
|
+
"require": {
|
13
|
+
"types": "./dist/index.d.ts",
|
14
|
+
"default": "./dist/index.js"
|
15
|
+
},
|
16
|
+
"types": "./dist/index.d.ts",
|
17
|
+
"default": "./dist/index.mjs"
|
18
|
+
},
|
19
|
+
"./realtime": {
|
20
|
+
"require": {
|
21
|
+
"types": "./dist/realtime/index.d.ts",
|
22
|
+
"default": "./dist/realtime/index.js"
|
23
|
+
},
|
24
|
+
"types": "./dist/realtime/index.d.ts",
|
25
|
+
"default": "./dist/realtime/index.mjs"
|
26
|
+
},
|
27
|
+
"./utils": {
|
28
|
+
"require": {
|
29
|
+
"types": "./dist/utils/index.d.ts",
|
30
|
+
"default": "./dist/utils/index.js"
|
31
|
+
},
|
32
|
+
"types": "./dist/utils/index.d.ts",
|
33
|
+
"default": "./dist/utils/index.mjs"
|
34
|
+
}
|
35
|
+
},
|
36
|
+
"dependencies": {
|
37
|
+
"openai": "^5.0.1",
|
38
|
+
"debug": "^4.4.0",
|
39
|
+
"@openai/agents-core": "0.0.1",
|
40
|
+
"@openai/agents-realtime": "0.0.1",
|
41
|
+
"@openai/agents-openai": "0.0.1"
|
42
|
+
},
|
43
|
+
"keywords": [
|
44
|
+
"openai",
|
45
|
+
"agents",
|
46
|
+
"ai",
|
47
|
+
"agentic"
|
48
|
+
],
|
49
|
+
"license": "MIT",
|
50
|
+
"devDependencies": {
|
51
|
+
"@types/debug": "^4.1.12"
|
52
|
+
},
|
53
|
+
"files": [
|
54
|
+
"dist"
|
55
|
+
],
|
56
|
+
"typesVersions": {
|
57
|
+
"*": {
|
58
|
+
"realtime": [
|
59
|
+
"dist/realtime/index.d.ts"
|
60
|
+
],
|
61
|
+
"utils": [
|
62
|
+
"dist/utils/index.d.ts"
|
63
|
+
]
|
64
|
+
}
|
65
|
+
},
|
66
|
+
"scripts": {
|
67
|
+
"prebuild": "tsx ../../scripts/embedMeta.ts",
|
68
|
+
"build": "tsc",
|
69
|
+
"build-check": "tsc --noEmit -p ./tsconfig.test.json"
|
70
|
+
}
|
71
|
+
}
|