Skip to content

Commit 7056bcd

Browse files
authored
Merge branch 'main' into upload-log
2 parents 9294810 + ae78d62 commit 7056bcd

File tree

21 files changed

+7710
-266
lines changed

21 files changed

+7710
-266
lines changed

.github/workflows/test.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
8+
jobs:
9+
test:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-node@v4
14+
with:
15+
node-version: '20'
16+
cache: 'npm'
17+
- run: npm install
18+
- run: npm test -- --coverage --silent
19+

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<div align="center">
44
<a href="https://agentops.ai?ref=gh">
5-
<img src="docs/images/logo/github-banner.png" alt="Logo">
5+
<img src="https://raw.githubusercontent.com/AgentOps-AI/agentops/main/docs/images/external/logo/github-banner.png" alt="Logo">
66
</a>
77
</div>
88

@@ -13,10 +13,10 @@
1313
<br />
1414

1515
<div align="center">
16-
<a href="https://github.com/agentops-ai/agentops/issues">
16+
<a href="https://github.com/agentops-ai/agentops-ts/issues">
1717
<img src="https://img.shields.io/github/commit-activity/m/agentops-ai/agentops-ts" alt="git commit activity">
1818
</a>
19-
<img src="https://img.shields.io/pypi/v/agentops?&color=3670A0" alt="PyPI - Version">
19+
<img src="https://img.shields.io/npm/v/agentops?&color=3670A0" alt="NPM - Version">
2020
<a href="https://opensource.org/licenses/MIT">
2121
<img src="https://img.shields.io/badge/License-MIT-yellow.svg?&color=3670A0" alt="License: MIT">
2222
</a>

examples/openai-agents-example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
"dependencies": {
1212
"openai": "^4.0.0",
13-
"@openai/agents": "^0.0.1",
13+
"@openai/agents": "^0.0.8",
1414
"agentops": "file:../..",
1515
"zod": "^3.22.0",
1616
"dotenv": "^16.0.0"

jest.config.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ module.exports = {
77
transform: {
88
'^.+\\.ts$': ['ts-jest', {
99
useESM: false,
10+
diagnostics: false,
1011
}],
1112
},
1213
transformIgnorePatterns: [
@@ -17,12 +18,13 @@ module.exports = {
1718
},
1819
collectCoverageFrom: [
1920
'src/**/*.ts',
20-
'!src/**/*.d.ts',
2121
'!src/index.ts',
22-
'!src/__tests__/**',
22+
'!src/**/*.d.ts',
23+
'!src/instrumentation/**',
24+
'!src/tracing.ts',
2325
],
2426
coverageDirectory: 'coverage',
2527
coverageReporters: ['text', 'lcov', 'html'],
2628
setupFilesAfterEnv: ['<rootDir>/tests/setup.ts'],
2729
testTimeout: 10000,
28-
};
30+
};

0 commit comments

Comments
 (0)