@aphexcms/ai-openai 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/dist/index.d.ts +28 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +137 -0
- package/dist/index.js.map +1 -0
- package/package.json +44 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { AIProviderAdapter, AIChatRequest, AIStreamEvent } from '@aphexcms/cms-core/server';
|
|
2
|
+
export interface OpenAIAdapterConfig {
|
|
3
|
+
apiKey: string;
|
|
4
|
+
/** Override for OpenAI-compatible endpoints other than api.openai.com (see `createOpenRouterAdapter`/`createOllamaCompatAdapter` below). */
|
|
5
|
+
baseURL?: string;
|
|
6
|
+
defaultHeaders?: Record<string, string>;
|
|
7
|
+
}
|
|
8
|
+
export declare class OpenAIProviderAdapter implements AIProviderAdapter {
|
|
9
|
+
readonly name: string;
|
|
10
|
+
private client;
|
|
11
|
+
constructor(config: OpenAIAdapterConfig, name?: string);
|
|
12
|
+
chatStream(request: AIChatRequest): AsyncIterable<AIStreamEvent>;
|
|
13
|
+
}
|
|
14
|
+
export declare function createOpenAIAdapter(config: OpenAIAdapterConfig): AIProviderAdapter;
|
|
15
|
+
/**
|
|
16
|
+
* OpenRouter speaks the same OpenAI-compatible chat-completions + function-calling wire
|
|
17
|
+
* format — only the base URL (and OpenRouter's optional attribution headers) differ, so
|
|
18
|
+
* this is a config shorthand rather than a separate adapter package.
|
|
19
|
+
*/
|
|
20
|
+
export declare function createOpenRouterAdapter(config: {
|
|
21
|
+
apiKey: string;
|
|
22
|
+
/** Sent as `HTTP-Referer` — OpenRouter uses it for attribution on their leaderboards. */
|
|
23
|
+
siteUrl?: string;
|
|
24
|
+
/** Sent as `X-Title` — shown alongside your app's usage on OpenRouter's dashboard. */
|
|
25
|
+
siteName?: string;
|
|
26
|
+
}): AIProviderAdapter;
|
|
27
|
+
export type { AIProviderAdapter, AIChatRequest, AIStreamEvent, AIMessage, AIToolSpec, AIToolCall } from '@aphexcms/cms-core/server';
|
|
28
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACX,iBAAiB,EACjB,aAAa,EACb,aAAa,EAIb,MAAM,2BAA2B,CAAC;AAEnC,MAAM,WAAW,mBAAmB;IACnC,MAAM,EAAE,MAAM,CAAC;IACf,4IAA4I;IAC5I,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACxC;AA2DD,qBAAa,qBAAsB,YAAW,iBAAiB;IAC9D,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,MAAM,CAAS;gBAEX,MAAM,EAAE,mBAAmB,EAAE,IAAI,SAAW;IASjD,UAAU,CAAC,OAAO,EAAE,aAAa,GAAG,aAAa,CAAC,aAAa,CAAC;CAoEvE;AAED,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,mBAAmB,GAAG,iBAAiB,CAElF;AAED;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,MAAM,EAAE;IAC/C,MAAM,EAAE,MAAM,CAAC;IACf,yFAAyF;IACzF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,sFAAsF;IACtF,QAAQ,CAAC,EAAE,MAAM,CAAC;CAClB,GAAG,iBAAiB,CAYpB;AAED,YAAY,EACX,iBAAiB,EACjB,aAAa,EACb,aAAa,EACb,SAAS,EACT,UAAU,EACV,UAAU,EACV,MAAM,2BAA2B,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import OpenAI from 'openai';
|
|
2
|
+
function toOpenAIMessages(messages) {
|
|
3
|
+
return messages.map((m) => {
|
|
4
|
+
if (m.role === 'tool') {
|
|
5
|
+
return {
|
|
6
|
+
role: 'tool',
|
|
7
|
+
tool_call_id: m.toolCallId ?? '',
|
|
8
|
+
content: m.content
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
if (m.role === 'assistant' && m.toolCalls?.length) {
|
|
12
|
+
return {
|
|
13
|
+
role: 'assistant',
|
|
14
|
+
content: m.content || null,
|
|
15
|
+
tool_calls: m.toolCalls.map((tc) => ({
|
|
16
|
+
id: tc.id,
|
|
17
|
+
type: 'function',
|
|
18
|
+
function: { name: tc.name, arguments: JSON.stringify(tc.arguments) }
|
|
19
|
+
}))
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
return { role: m.role, content: m.content };
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
function toOpenAITool(tool) {
|
|
26
|
+
return {
|
|
27
|
+
type: 'function',
|
|
28
|
+
function: {
|
|
29
|
+
name: tool.name,
|
|
30
|
+
description: tool.description,
|
|
31
|
+
parameters: tool.parameters
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
function mapFinishReason(reason) {
|
|
36
|
+
switch (reason) {
|
|
37
|
+
case 'tool_calls':
|
|
38
|
+
return 'tool_calls';
|
|
39
|
+
case 'length':
|
|
40
|
+
return 'length';
|
|
41
|
+
default:
|
|
42
|
+
return 'stop';
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
export class OpenAIProviderAdapter {
|
|
46
|
+
name;
|
|
47
|
+
client;
|
|
48
|
+
constructor(config, name = 'openai') {
|
|
49
|
+
this.client = new OpenAI({
|
|
50
|
+
apiKey: config.apiKey,
|
|
51
|
+
baseURL: config.baseURL,
|
|
52
|
+
defaultHeaders: config.defaultHeaders
|
|
53
|
+
});
|
|
54
|
+
this.name = name;
|
|
55
|
+
}
|
|
56
|
+
async *chatStream(request) {
|
|
57
|
+
const buffers = new Map();
|
|
58
|
+
let finishReason = 'stop';
|
|
59
|
+
try {
|
|
60
|
+
const stream = await this.client.chat.completions.create({
|
|
61
|
+
model: request.model,
|
|
62
|
+
messages: toOpenAIMessages(request.messages),
|
|
63
|
+
...(request.tools?.length ? { tools: request.tools.map(toOpenAITool) } : {}),
|
|
64
|
+
...(request.maxTokens ? { max_tokens: request.maxTokens } : {}),
|
|
65
|
+
stream: true,
|
|
66
|
+
stream_options: { include_usage: true }
|
|
67
|
+
}, { signal: request.signal });
|
|
68
|
+
for await (const chunk of stream) {
|
|
69
|
+
const choice = chunk.choices?.[0];
|
|
70
|
+
const delta = choice?.delta;
|
|
71
|
+
if (delta?.content) {
|
|
72
|
+
yield { type: 'text', delta: delta.content };
|
|
73
|
+
}
|
|
74
|
+
if (delta?.tool_calls) {
|
|
75
|
+
for (const tc of delta.tool_calls) {
|
|
76
|
+
const existing = buffers.get(tc.index) ?? { id: '', name: '', args: '' };
|
|
77
|
+
if (tc.id)
|
|
78
|
+
existing.id = tc.id;
|
|
79
|
+
if (tc.function?.name)
|
|
80
|
+
existing.name += tc.function.name;
|
|
81
|
+
if (tc.function?.arguments)
|
|
82
|
+
existing.args += tc.function.arguments;
|
|
83
|
+
buffers.set(tc.index, existing);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
if (choice?.finish_reason) {
|
|
87
|
+
finishReason = mapFinishReason(choice.finish_reason);
|
|
88
|
+
}
|
|
89
|
+
if (chunk.usage) {
|
|
90
|
+
yield {
|
|
91
|
+
type: 'usage',
|
|
92
|
+
promptTokens: chunk.usage.prompt_tokens,
|
|
93
|
+
completionTokens: chunk.usage.completion_tokens
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
for (const buf of buffers.values()) {
|
|
98
|
+
// A malformed/incomplete argument buffer (e.g. the stream was cut short) yields
|
|
99
|
+
// an empty object rather than throwing here — the tool executor's own zod
|
|
100
|
+
// validation is what should surface a rejected-args error to the model.
|
|
101
|
+
let args = {};
|
|
102
|
+
try {
|
|
103
|
+
args = buf.args ? JSON.parse(buf.args) : {};
|
|
104
|
+
}
|
|
105
|
+
catch {
|
|
106
|
+
// leave empty
|
|
107
|
+
}
|
|
108
|
+
const toolCall = { id: buf.id, name: buf.name, arguments: args };
|
|
109
|
+
yield { type: 'toolCall', toolCall };
|
|
110
|
+
}
|
|
111
|
+
yield { type: 'done', finishReason };
|
|
112
|
+
}
|
|
113
|
+
catch (err) {
|
|
114
|
+
yield { type: 'error', message: err instanceof Error ? err.message : String(err) };
|
|
115
|
+
yield { type: 'done', finishReason: 'error' };
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
export function createOpenAIAdapter(config) {
|
|
120
|
+
return new OpenAIProviderAdapter(config, 'openai');
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* OpenRouter speaks the same OpenAI-compatible chat-completions + function-calling wire
|
|
124
|
+
* format — only the base URL (and OpenRouter's optional attribution headers) differ, so
|
|
125
|
+
* this is a config shorthand rather than a separate adapter package.
|
|
126
|
+
*/
|
|
127
|
+
export function createOpenRouterAdapter(config) {
|
|
128
|
+
return new OpenAIProviderAdapter({
|
|
129
|
+
apiKey: config.apiKey,
|
|
130
|
+
baseURL: 'https://openrouter.ai/api/v1',
|
|
131
|
+
defaultHeaders: {
|
|
132
|
+
...(config.siteUrl ? { 'HTTP-Referer': config.siteUrl } : {}),
|
|
133
|
+
...(config.siteName ? { 'X-Title': config.siteName } : {})
|
|
134
|
+
}
|
|
135
|
+
}, 'openrouter');
|
|
136
|
+
}
|
|
137
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,QAAQ,CAAC;AAiB5B,SAAS,gBAAgB,CAAC,QAAqB;IAC9C,OAAO,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE;QACzB,IAAI,CAAC,CAAC,IAAI,KAAK,MAAM,EAAE,CAAC;YACvB,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AAc,EAAE,MAAM,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YAC7D,GAAG,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,SAAS,EAAE,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;SAC1D;KACD,EACD,YAAY,CACZ,CAAC;AACH,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@aphexcms/ai-openai",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"access": "public",
|
|
7
|
+
"provenance": true
|
|
8
|
+
},
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "https://github.com/IcelandicIcecream/aphex.git",
|
|
12
|
+
"directory": "packages/ai-openai"
|
|
13
|
+
},
|
|
14
|
+
"type": "module",
|
|
15
|
+
"main": "./dist/index.js",
|
|
16
|
+
"types": "./dist/index.d.ts",
|
|
17
|
+
"exports": {
|
|
18
|
+
".": {
|
|
19
|
+
"types": "./dist/index.d.ts",
|
|
20
|
+
"import": "./dist/index.js",
|
|
21
|
+
"default": "./dist/index.js"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"files": [
|
|
25
|
+
"dist"
|
|
26
|
+
],
|
|
27
|
+
"scripts": {
|
|
28
|
+
"build": "tsc",
|
|
29
|
+
"dev:local": "node ../../scripts/swap-package-paths.js ./package.json src",
|
|
30
|
+
"prepack": "node ../../scripts/swap-package-paths.js ./package.json dist",
|
|
31
|
+
"postpack": "node ../../scripts/swap-package-paths.js ./package.json src"
|
|
32
|
+
},
|
|
33
|
+
"dependencies": {
|
|
34
|
+
"@aphexcms/cms-core": "workspace:^",
|
|
35
|
+
"openai": "^6.48.0"
|
|
36
|
+
},
|
|
37
|
+
"peerDependencies": {
|
|
38
|
+
"@aphexcms/cms-core": "workspace:^"
|
|
39
|
+
},
|
|
40
|
+
"devDependencies": {
|
|
41
|
+
"@aphexcms/cms-core": "workspace:^",
|
|
42
|
+
"typescript": "^5.9.3"
|
|
43
|
+
}
|
|
44
|
+
}
|