@reminix/anthropic 0.0.7 → 0.0.9
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/README.md +15 -33
- package/dist/agent-adapter.d.ts +12 -24
- package/dist/agent-adapter.d.ts.map +1 -1
- package/dist/agent-adapter.js +18 -74
- package/dist/agent-adapter.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -35,8 +35,7 @@ serve({ agents: [agent], port: 8080 });
|
|
|
35
35
|
```
|
|
36
36
|
|
|
37
37
|
Your agent is now available at:
|
|
38
|
-
- `POST /agents/my-claude/
|
|
39
|
-
- `POST /agents/my-claude/chat` - Conversational chat
|
|
38
|
+
- `POST /agents/my-claude/execute` - Execute the agent
|
|
40
39
|
|
|
41
40
|
## API Reference
|
|
42
41
|
|
|
@@ -82,28 +81,24 @@ const request = {
|
|
|
82
81
|
|
|
83
82
|
## Endpoint Input/Output Formats
|
|
84
83
|
|
|
85
|
-
### POST /agents/{name}/
|
|
84
|
+
### POST /agents/{name}/execute
|
|
86
85
|
|
|
87
|
-
|
|
86
|
+
Execute the agent with a prompt or messages.
|
|
88
87
|
|
|
89
|
-
**Request:**
|
|
88
|
+
**Request with prompt:**
|
|
90
89
|
```json
|
|
91
90
|
{
|
|
92
|
-
"
|
|
93
|
-
"prompt": "Summarize this text: ..."
|
|
94
|
-
}
|
|
91
|
+
"prompt": "Summarize this text: ..."
|
|
95
92
|
}
|
|
96
93
|
```
|
|
97
94
|
|
|
98
|
-
|
|
95
|
+
**Request with messages:**
|
|
99
96
|
```json
|
|
100
97
|
{
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
]
|
|
106
|
-
}
|
|
98
|
+
"messages": [
|
|
99
|
+
{"role": "system", "content": "You are a helpful assistant."},
|
|
100
|
+
{"role": "user", "content": "Hello!"}
|
|
101
|
+
]
|
|
107
102
|
}
|
|
108
103
|
```
|
|
109
104
|
|
|
@@ -114,31 +109,18 @@ Or with messages:
|
|
|
114
109
|
}
|
|
115
110
|
```
|
|
116
111
|
|
|
117
|
-
###
|
|
112
|
+
### Streaming
|
|
118
113
|
|
|
119
|
-
|
|
114
|
+
For streaming responses, set `stream: true` in the request:
|
|
120
115
|
|
|
121
|
-
**Request:**
|
|
122
116
|
```json
|
|
123
117
|
{
|
|
124
|
-
"
|
|
125
|
-
|
|
126
|
-
{"role": "user", "content": "What is the capital of France?"}
|
|
127
|
-
]
|
|
118
|
+
"prompt": "Tell me a story",
|
|
119
|
+
"stream": true
|
|
128
120
|
}
|
|
129
121
|
```
|
|
130
122
|
|
|
131
|
-
|
|
132
|
-
```json
|
|
133
|
-
{
|
|
134
|
-
"output": "The capital of France is Paris.",
|
|
135
|
-
"messages": [
|
|
136
|
-
{"role": "system", "content": "You are a helpful assistant."},
|
|
137
|
-
{"role": "user", "content": "What is the capital of France?"},
|
|
138
|
-
{"role": "assistant", "content": "The capital of France is Paris."}
|
|
139
|
-
]
|
|
140
|
-
}
|
|
141
|
-
```
|
|
123
|
+
The response will be sent as Server-Sent Events (SSE).
|
|
142
124
|
|
|
143
125
|
## Runtime Documentation
|
|
144
126
|
|
package/dist/agent-adapter.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Anthropic adapter for Reminix Runtime.
|
|
3
3
|
*/
|
|
4
4
|
import type Anthropic from '@anthropic-ai/sdk';
|
|
5
|
-
import { AgentAdapter, type ServeOptions, type
|
|
5
|
+
import { AgentAdapter, type ServeOptions, type ExecuteRequest, type ExecuteResponse } from '@reminix/runtime';
|
|
6
6
|
/**
|
|
7
7
|
* Options for wrapping an Anthropic client.
|
|
8
8
|
*/
|
|
@@ -38,38 +38,26 @@ export declare class AnthropicAgentAdapter extends AgentAdapter {
|
|
|
38
38
|
*/
|
|
39
39
|
private extractContent;
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
* For task-oriented operations. Expects input with 'messages' key
|
|
44
|
-
* or a 'prompt' key for simple text generation.
|
|
45
|
-
*
|
|
46
|
-
* @param request - The invoke request with input data.
|
|
47
|
-
* @returns The invoke response with the output.
|
|
41
|
+
* Build Message list from execute request input.
|
|
48
42
|
*/
|
|
49
|
-
|
|
43
|
+
private buildMessagesFromInput;
|
|
50
44
|
/**
|
|
51
|
-
* Handle
|
|
52
|
-
*
|
|
53
|
-
* For conversational interactions.
|
|
45
|
+
* Handle an execute request.
|
|
54
46
|
*
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
*/
|
|
58
|
-
chat(request: ChatRequest): Promise<ChatResponse>;
|
|
59
|
-
/**
|
|
60
|
-
* Handle a streaming invoke request.
|
|
47
|
+
* For both task-oriented and chat-style operations. Expects input with 'messages' key
|
|
48
|
+
* or a 'prompt' key for simple text generation.
|
|
61
49
|
*
|
|
62
|
-
* @param request - The
|
|
63
|
-
* @
|
|
50
|
+
* @param request - The execute request with input data.
|
|
51
|
+
* @returns The execute response with the output.
|
|
64
52
|
*/
|
|
65
|
-
|
|
53
|
+
execute(request: ExecuteRequest): Promise<ExecuteResponse>;
|
|
66
54
|
/**
|
|
67
|
-
* Handle a streaming
|
|
55
|
+
* Handle a streaming execute request.
|
|
68
56
|
*
|
|
69
|
-
* @param request - The
|
|
57
|
+
* @param request - The execute request with input data.
|
|
70
58
|
* @yields JSON-encoded chunks from the stream.
|
|
71
59
|
*/
|
|
72
|
-
|
|
60
|
+
executeStream(request: ExecuteRequest): AsyncGenerator<string, void, unknown>;
|
|
73
61
|
}
|
|
74
62
|
/**
|
|
75
63
|
* Wrap an Anthropic client for use with Reminix Runtime.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-adapter.d.ts","sourceRoot":"","sources":["../src/agent-adapter.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,SAAS,MAAM,mBAAmB,CAAC;AAE/C,OAAO,EACL,YAAY,EAEZ,KAAK,YAAY,EACjB,KAAK,
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4B,EAAE,YAAY;CAAG;AAE1F;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,UAAU,CAAC,MAAM,EAAE,SAAS,EAAE,OAAO,GAAE,mBAAwB,GAAG,IAAI,CAIrF"}
|
package/dist/agent-adapter.js
CHANGED
|
@@ -62,51 +62,33 @@ export class AnthropicAgentAdapter extends AgentAdapter {
|
|
|
62
62
|
return '';
|
|
63
63
|
}
|
|
64
64
|
/**
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
* For task-oriented operations. Expects input with 'messages' key
|
|
68
|
-
* or a 'prompt' key for simple text generation.
|
|
69
|
-
*
|
|
70
|
-
* @param request - The invoke request with input data.
|
|
71
|
-
* @returns The invoke response with the output.
|
|
65
|
+
* Build Message list from execute request input.
|
|
72
66
|
*/
|
|
73
|
-
|
|
67
|
+
buildMessagesFromInput(request) {
|
|
74
68
|
const input = request.input;
|
|
75
|
-
// Build messages from input
|
|
76
|
-
let messages;
|
|
77
69
|
if ('messages' in input) {
|
|
78
|
-
|
|
70
|
+
return input.messages;
|
|
79
71
|
}
|
|
80
72
|
else if ('prompt' in input) {
|
|
81
|
-
|
|
73
|
+
return [{ role: 'user', content: String(input.prompt) }];
|
|
82
74
|
}
|
|
83
75
|
else {
|
|
84
|
-
|
|
76
|
+
return [{ role: 'user', content: JSON.stringify(input) }];
|
|
85
77
|
}
|
|
86
|
-
// Extract system message and convert messages
|
|
87
|
-
const { system, messages: anthropicMessages } = this.extractSystemAndMessages(messages);
|
|
88
|
-
// Call Anthropic API
|
|
89
|
-
const response = await this.client.messages.create({
|
|
90
|
-
model: this._model,
|
|
91
|
-
max_tokens: this._maxTokens,
|
|
92
|
-
messages: anthropicMessages,
|
|
93
|
-
...(system && { system }),
|
|
94
|
-
});
|
|
95
|
-
// Extract content from response
|
|
96
|
-
const output = this.extractContent(response);
|
|
97
|
-
return { output };
|
|
98
78
|
}
|
|
99
79
|
/**
|
|
100
|
-
* Handle
|
|
80
|
+
* Handle an execute request.
|
|
101
81
|
*
|
|
102
|
-
* For
|
|
82
|
+
* For both task-oriented and chat-style operations. Expects input with 'messages' key
|
|
83
|
+
* or a 'prompt' key for simple text generation.
|
|
103
84
|
*
|
|
104
|
-
* @param request - The
|
|
105
|
-
* @returns The
|
|
85
|
+
* @param request - The execute request with input data.
|
|
86
|
+
* @returns The execute response with the output.
|
|
106
87
|
*/
|
|
107
|
-
async
|
|
88
|
+
async execute(request) {
|
|
89
|
+
const messages = this.buildMessagesFromInput(request);
|
|
108
90
|
// Extract system message and convert messages
|
|
109
|
-
const { system, messages: anthropicMessages } = this.extractSystemAndMessages(
|
|
91
|
+
const { system, messages: anthropicMessages } = this.extractSystemAndMessages(messages);
|
|
110
92
|
// Call Anthropic API
|
|
111
93
|
const response = await this.client.messages.create({
|
|
112
94
|
model: this._model,
|
|
@@ -116,32 +98,16 @@ export class AnthropicAgentAdapter extends AgentAdapter {
|
|
|
116
98
|
});
|
|
117
99
|
// Extract content from response
|
|
118
100
|
const output = this.extractContent(response);
|
|
119
|
-
|
|
120
|
-
const responseMessages = [
|
|
121
|
-
...request.messages,
|
|
122
|
-
{ role: 'assistant', content: output },
|
|
123
|
-
];
|
|
124
|
-
return { output, messages: responseMessages };
|
|
101
|
+
return { output };
|
|
125
102
|
}
|
|
126
103
|
/**
|
|
127
|
-
* Handle a streaming
|
|
104
|
+
* Handle a streaming execute request.
|
|
128
105
|
*
|
|
129
|
-
* @param request - The
|
|
106
|
+
* @param request - The execute request with input data.
|
|
130
107
|
* @yields JSON-encoded chunks from the stream.
|
|
131
108
|
*/
|
|
132
|
-
async *
|
|
133
|
-
const
|
|
134
|
-
// Build messages from input
|
|
135
|
-
let messages;
|
|
136
|
-
if ('messages' in input) {
|
|
137
|
-
messages = input.messages;
|
|
138
|
-
}
|
|
139
|
-
else if ('prompt' in input) {
|
|
140
|
-
messages = [{ role: 'user', content: String(input.prompt) }];
|
|
141
|
-
}
|
|
142
|
-
else {
|
|
143
|
-
messages = [{ role: 'user', content: JSON.stringify(input) }];
|
|
144
|
-
}
|
|
109
|
+
async *executeStream(request) {
|
|
110
|
+
const messages = this.buildMessagesFromInput(request);
|
|
145
111
|
// Extract system message and convert messages
|
|
146
112
|
const { system, messages: anthropicMessages } = this.extractSystemAndMessages(messages);
|
|
147
113
|
// Stream from Anthropic API
|
|
@@ -157,28 +123,6 @@ export class AnthropicAgentAdapter extends AgentAdapter {
|
|
|
157
123
|
}
|
|
158
124
|
}
|
|
159
125
|
}
|
|
160
|
-
/**
|
|
161
|
-
* Handle a streaming chat request.
|
|
162
|
-
*
|
|
163
|
-
* @param request - The chat request with messages.
|
|
164
|
-
* @yields JSON-encoded chunks from the stream.
|
|
165
|
-
*/
|
|
166
|
-
async *chatStream(request) {
|
|
167
|
-
// Extract system message and convert messages
|
|
168
|
-
const { system, messages: anthropicMessages } = this.extractSystemAndMessages(request.messages);
|
|
169
|
-
// Stream from Anthropic API
|
|
170
|
-
const stream = this.client.messages.stream({
|
|
171
|
-
model: this._model,
|
|
172
|
-
max_tokens: this._maxTokens,
|
|
173
|
-
messages: anthropicMessages,
|
|
174
|
-
...(system && { system }),
|
|
175
|
-
});
|
|
176
|
-
for await (const event of stream) {
|
|
177
|
-
if (event.type === 'content_block_delta' && event.delta.type === 'text_delta') {
|
|
178
|
-
yield JSON.stringify({ chunk: event.delta.text });
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
126
|
}
|
|
183
127
|
/**
|
|
184
128
|
* Wrap an Anthropic client for use with Reminix Runtime.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-adapter.js","sourceRoot":"","sources":["../src/agent-adapter.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,OAAO,EACL,YAAY,EACZ,KAAK,
|
|
1
|
+
{"version":3,"file":"agent-adapter.js","sourceRoot":"","sources":["../src/agent-adapter.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,OAAO,EACL,YAAY,EACZ,KAAK,GAKN,MAAM,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AAI,EAAE,QAAQ,EAAE,GAAG,cAAc,EAAE,GAAG,OAAO,CAAC;IACtD,MAAM,KAAK,GAAG,SAAS,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;IAChD,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC,KAAK,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAC;AAC7C,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reminix/anthropic",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
4
4
|
"description": "Reminix adapter for Anthropic - serve agents as REST APIs",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"LICENSE"
|
|
47
47
|
],
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@reminix/runtime": "^0.0.
|
|
49
|
+
"@reminix/runtime": "^0.0.9"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"@anthropic-ai/sdk": ">=0.71.0"
|