@everworker/oneringai 0.1.0
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 +1228 -0
- package/dist/IProvider-BP49c93d.d.cts +22 -0
- package/dist/IProvider-BP49c93d.d.ts +22 -0
- package/dist/ImageModel-B-uH3JEz.d.cts +763 -0
- package/dist/ImageModel-C7EyUfU0.d.ts +763 -0
- package/dist/capabilities/agents/index.cjs +408 -0
- package/dist/capabilities/agents/index.cjs.map +1 -0
- package/dist/capabilities/agents/index.d.cts +3 -0
- package/dist/capabilities/agents/index.d.ts +3 -0
- package/dist/capabilities/agents/index.js +405 -0
- package/dist/capabilities/agents/index.js.map +1 -0
- package/dist/capabilities/images/index.cjs +3583 -0
- package/dist/capabilities/images/index.cjs.map +1 -0
- package/dist/capabilities/images/index.d.cts +2 -0
- package/dist/capabilities/images/index.d.ts +2 -0
- package/dist/capabilities/images/index.js +3556 -0
- package/dist/capabilities/images/index.js.map +1 -0
- package/dist/index-BmOYeqU7.d.ts +1338 -0
- package/dist/index-DCzFlLoN.d.cts +1338 -0
- package/dist/index.cjs +49257 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +12263 -0
- package/dist/index.d.ts +12263 -0
- package/dist/index.js +48953 -0
- package/dist/index.js.map +1 -0
- package/package.json +162 -0
package/package.json
ADDED
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@everworker/oneringai",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Unified AI agent library with multi-vendor support for text generation, image generation, and agentic workflows",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"module": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/index.js",
|
|
13
|
+
"require": "./dist/index.cjs"
|
|
14
|
+
},
|
|
15
|
+
"./agents": {
|
|
16
|
+
"types": "./dist/capabilities/agents/index.d.ts",
|
|
17
|
+
"import": "./dist/capabilities/agents/index.js",
|
|
18
|
+
"require": "./dist/capabilities/agents/index.cjs"
|
|
19
|
+
},
|
|
20
|
+
"./images": {
|
|
21
|
+
"types": "./dist/capabilities/images/index.d.ts",
|
|
22
|
+
"import": "./dist/capabilities/images/index.js",
|
|
23
|
+
"require": "./dist/capabilities/images/index.cjs"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"files": [
|
|
27
|
+
"dist",
|
|
28
|
+
"README.md",
|
|
29
|
+
"LICENSE"
|
|
30
|
+
],
|
|
31
|
+
"scripts": {
|
|
32
|
+
"generate:tools": "tsx scripts/generate-tool-registry.ts",
|
|
33
|
+
"generate:vendors": "tsx scripts/generate-vendor-registry.ts",
|
|
34
|
+
"generate": "npm run generate:tools && npm run generate:vendors",
|
|
35
|
+
"build": "npm run generate && tsup",
|
|
36
|
+
"dev": "npm run generate && tsup --watch",
|
|
37
|
+
"test": "vitest run",
|
|
38
|
+
"test:watch": "vitest",
|
|
39
|
+
"test:ui": "vitest --ui",
|
|
40
|
+
"test:coverage": "vitest run --coverage",
|
|
41
|
+
"test:unit": "vitest run tests/unit",
|
|
42
|
+
"test:unit:coverage": "vitest run tests/unit --coverage",
|
|
43
|
+
"test:integration": "vitest run tests/integration",
|
|
44
|
+
"test:oauth": "vitest run tests/unit/oauth",
|
|
45
|
+
"lint": "eslint src",
|
|
46
|
+
"typecheck": "tsc --noEmit",
|
|
47
|
+
"prepare": "",
|
|
48
|
+
"prepublishOnly": "npm run build && npm run typecheck && npm run test:unit",
|
|
49
|
+
"preversion": "npm run build && npm run typecheck",
|
|
50
|
+
"version": "npm run build && git add -A",
|
|
51
|
+
"postversion": "git push && git push --tags",
|
|
52
|
+
"release:patch": "npm version patch -m 'Release %s'",
|
|
53
|
+
"release:minor": "npm version minor -m 'Release %s'",
|
|
54
|
+
"release:major": "npm version major -m 'Release %s'",
|
|
55
|
+
"example:agent": "tsx examples/basic-agent.ts",
|
|
56
|
+
"example:text": "tsx examples/simple-text.ts",
|
|
57
|
+
"example:conversation": "tsx examples/multi-turn-conversation.ts",
|
|
58
|
+
"example:chat": "tsx examples/interactive-chat.ts",
|
|
59
|
+
"example:vision": "tsx examples/vision-image-input.ts",
|
|
60
|
+
"example:providers": "tsx examples/multi-provider-comparison.ts",
|
|
61
|
+
"example:json-tool": "tsx examples/json-manipulation-tool.ts",
|
|
62
|
+
"example:hooks": "tsx examples/agent-with-hooks.ts",
|
|
63
|
+
"example:web": "tsx examples/web-research-agent.ts",
|
|
64
|
+
"example:oauth": "tsx examples/oauth-demo.ts",
|
|
65
|
+
"example:oauth-registry": "tsx examples/oauth-registry-demo.ts",
|
|
66
|
+
"example:oauth-static": "tsx examples/oauth-static-tokens.ts",
|
|
67
|
+
"example:oauth-multi-user": "tsx examples/oauth-multi-user.ts",
|
|
68
|
+
"example:oauth-multi-user-fetch": "tsx examples/oauth-multi-user-fetch.ts",
|
|
69
|
+
"example:custom-infrastructure": "tsx examples/custom-infrastructure.ts",
|
|
70
|
+
"example:provider-config": "tsx examples/provider-config-generator.ts",
|
|
71
|
+
"example:logging": "tsx examples/logging-demo.ts",
|
|
72
|
+
"docs": "tsx scripts/generate-api-docs.ts --mode public",
|
|
73
|
+
"docs:public": "tsx scripts/generate-api-docs.ts --mode public",
|
|
74
|
+
"docs:full": "mkdir -p docs && tsx scripts/generate-api-docs.ts --mode full"
|
|
75
|
+
},
|
|
76
|
+
"keywords": [
|
|
77
|
+
"ai",
|
|
78
|
+
"ai-agents",
|
|
79
|
+
"llm",
|
|
80
|
+
"agents",
|
|
81
|
+
"openai",
|
|
82
|
+
"anthropic",
|
|
83
|
+
"claude",
|
|
84
|
+
"gpt",
|
|
85
|
+
"gpt-4",
|
|
86
|
+
"gpt-5",
|
|
87
|
+
"gemini",
|
|
88
|
+
"google-ai",
|
|
89
|
+
"deepseek",
|
|
90
|
+
"groq",
|
|
91
|
+
"ollama",
|
|
92
|
+
"image-generation",
|
|
93
|
+
"dall-e",
|
|
94
|
+
"text-to-speech",
|
|
95
|
+
"speech-to-text",
|
|
96
|
+
"video-generation",
|
|
97
|
+
"sora",
|
|
98
|
+
"tool-calling",
|
|
99
|
+
"function-calling",
|
|
100
|
+
"agentic",
|
|
101
|
+
"multi-vendor",
|
|
102
|
+
"mcp",
|
|
103
|
+
"model-context-protocol",
|
|
104
|
+
"rag",
|
|
105
|
+
"chatbot",
|
|
106
|
+
"conversational-ai"
|
|
107
|
+
],
|
|
108
|
+
"author": {
|
|
109
|
+
"name": "Anton Antic",
|
|
110
|
+
"email": "anton@everworker.ai"
|
|
111
|
+
},
|
|
112
|
+
"license": "MIT",
|
|
113
|
+
"repository": {
|
|
114
|
+
"type": "git",
|
|
115
|
+
"url": "git+https://github.com/Integrail/oneringai.git"
|
|
116
|
+
},
|
|
117
|
+
"homepage": "https://github.com/Integrail/oneringai#readme",
|
|
118
|
+
"bugs": {
|
|
119
|
+
"url": "https://github.com/Integrail/oneringai/issues"
|
|
120
|
+
},
|
|
121
|
+
"dependencies": {
|
|
122
|
+
"@anthropic-ai/sdk": "^0.30.0",
|
|
123
|
+
"@google/genai": "^1.34.0",
|
|
124
|
+
"@modelcontextprotocol/sdk": "^1.25.3",
|
|
125
|
+
"@mozilla/readability": "^0.6.0",
|
|
126
|
+
"cheerio": "^1.1.2",
|
|
127
|
+
"clipboardy": "^5.0.2",
|
|
128
|
+
"dotenv": "^17.2.3",
|
|
129
|
+
"eventemitter3": "^5.0.1",
|
|
130
|
+
"glob": "^10.0.0",
|
|
131
|
+
"jose": "^6.1.3",
|
|
132
|
+
"jsdom": "^27.0.1",
|
|
133
|
+
"openai": "^6.16.0",
|
|
134
|
+
"readline-async": "^0.1.0",
|
|
135
|
+
"simple-icons": "^16.7.0",
|
|
136
|
+
"turndown": "^7.2.2",
|
|
137
|
+
"zod": "^4.3.6"
|
|
138
|
+
},
|
|
139
|
+
"devDependencies": {
|
|
140
|
+
"@faker-js/faker": "^9.9.0",
|
|
141
|
+
"@types/jsdom": "^27.0.0",
|
|
142
|
+
"@types/node": "^20.11.0",
|
|
143
|
+
"@types/turndown": "^5.0.6",
|
|
144
|
+
"@vitest/coverage-v8": "^1.6.1",
|
|
145
|
+
"eslint": "^8.56.0",
|
|
146
|
+
"ts-morph": "^27.0.2",
|
|
147
|
+
"tsup": "^8.0.1",
|
|
148
|
+
"tsx": "^4.21.0",
|
|
149
|
+
"typescript": "^5.3.3",
|
|
150
|
+
"vitest": "^1.2.0"
|
|
151
|
+
},
|
|
152
|
+
"engines": {
|
|
153
|
+
"node": ">=18.0.0"
|
|
154
|
+
},
|
|
155
|
+
"publishConfig": {
|
|
156
|
+
"access": "public",
|
|
157
|
+
"registry": "https://registry.npmjs.org/"
|
|
158
|
+
},
|
|
159
|
+
"optionalDependencies": {
|
|
160
|
+
"puppeteer": "^24.34.0"
|
|
161
|
+
}
|
|
162
|
+
}
|