@agentier/openai 0.1.0 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +30 -0
  2. package/package.json +12 -3
package/README.md ADDED
@@ -0,0 +1,30 @@
1
+ # @agentier/openai
2
+
3
+ OpenAI-compatible provider for [agentier](https://github.com/itIsMaku/agentier) — works with GPT, Ollama, Groq, Together, and any OpenAI-compatible API.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npm install @agentier/openai @agentier/core
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```ts
14
+ import { createAgent } from '@agentier/core'
15
+ import { openai } from '@agentier/openai'
16
+
17
+ const agent = createAgent({
18
+ provider: openai({ model: 'gpt-4o', apiKey: process.env.OPENAI_API_KEY }),
19
+ })
20
+
21
+ const result = await agent.run('Hello!')
22
+ ```
23
+
24
+ ## Documentation
25
+
26
+ Full docs and examples: [github.com/itIsMaku/agentier](https://github.com/itIsMaku/agentier)
27
+
28
+ ## License
29
+
30
+ MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentier/openai",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -10,8 +10,17 @@
10
10
  "types": "./dist/index.d.ts"
11
11
  }
12
12
  },
13
+ "description": "OpenAI-compatible provider for agentier — supports GPT, Ollama, Groq, Together",
14
+ "license": "MIT",
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "https://github.com/itIsMaku/agentier.git",
18
+ "directory": "packages/provider-openai"
19
+ },
20
+ "homepage": "https://github.com/itIsMaku/agentier/tree/master/packages/provider-openai",
13
21
  "files": [
14
- "dist"
22
+ "dist",
23
+ "README.md"
15
24
  ],
16
25
  "scripts": {
17
26
  "build": "bun build ./src/index.ts --outdir ./dist --target node",
@@ -19,7 +28,7 @@
19
28
  "typecheck": "tsc --noEmit"
20
29
  },
21
30
  "peerDependencies": {
22
- "@agentier/core": "^0.1.0"
31
+ "@agentier/core": "^0.1.1"
23
32
  },
24
33
  "devDependencies": {
25
34
  "@agentier/core": "workspace:*",