@ampersend_ai/ampersend-sdk 0.0.22 → 0.0.26
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/ampersend/agent-client.d.ts +81 -0
- package/dist/ampersend/agent-client.d.ts.map +1 -0
- package/dist/ampersend/agent-client.js +104 -0
- package/dist/ampersend/agent-client.js.map +1 -0
- package/dist/ampersend/agent.d.ts +118 -0
- package/dist/ampersend/agent.d.ts.map +1 -0
- package/dist/ampersend/agent.js +109 -0
- package/dist/ampersend/agent.js.map +1 -0
- package/dist/ampersend/approval.js.map +1 -1
- package/dist/ampersend/client.d.ts +32 -8
- package/dist/ampersend/client.d.ts.map +1 -1
- package/dist/ampersend/client.js +81 -3
- package/dist/ampersend/client.js.map +1 -1
- package/dist/ampersend/curated-agent.d.ts +94 -94
- package/dist/ampersend/curated-agent.d.ts.map +1 -1
- package/dist/ampersend/curated-agent.js +41 -41
- package/dist/ampersend/curated-agent.js.map +1 -1
- package/dist/ampersend/index.d.ts +2 -0
- package/dist/ampersend/index.d.ts.map +1 -1
- package/dist/ampersend/index.js +4 -0
- package/dist/ampersend/index.js.map +1 -1
- package/dist/ampersend/management.d.ts +23 -59
- package/dist/ampersend/management.d.ts.map +1 -1
- package/dist/ampersend/management.js +6 -8
- package/dist/ampersend/management.js.map +1 -1
- package/dist/ampersend/marketplace.d.ts +20 -14
- package/dist/ampersend/marketplace.d.ts.map +1 -1
- package/dist/ampersend/marketplace.js +23 -49
- package/dist/ampersend/marketplace.js.map +1 -1
- package/dist/ampersend/treasurer.d.ts +4 -0
- package/dist/ampersend/treasurer.d.ts.map +1 -1
- package/dist/ampersend/treasurer.js +2 -2
- package/dist/ampersend/treasurer.js.map +1 -1
- package/dist/ampersend/types.d.ts +215 -310
- package/dist/ampersend/types.d.ts.map +1 -1
- package/dist/ampersend/types.js +146 -119
- package/dist/ampersend/types.js.map +1 -1
- package/dist/ampersend/zod-bridge.d.ts +4 -5
- package/dist/ampersend/zod-bridge.d.ts.map +1 -1
- package/dist/ampersend/zod-bridge.js +35 -19
- package/dist/ampersend/zod-bridge.js.map +1 -1
- package/dist/cli/ampersend.js +45 -2
- package/dist/cli/ampersend.js.map +1 -1
- package/dist/cli/commands/agent.d.ts +24 -0
- package/dist/cli/commands/agent.d.ts.map +1 -0
- package/dist/cli/commands/agent.js +166 -0
- package/dist/cli/commands/agent.js.map +1 -0
- package/dist/cli/commands/card.d.ts +128 -0
- package/dist/cli/commands/card.d.ts.map +1 -0
- package/dist/cli/commands/card.js +404 -0
- package/dist/cli/commands/card.js.map +1 -0
- package/dist/cli/commands/config.d.ts +1 -1
- package/dist/cli/commands/config.d.ts.map +1 -1
- package/dist/cli/commands/config.js +31 -42
- package/dist/cli/commands/config.js.map +1 -1
- package/dist/cli/commands/fetch.d.ts +77 -2
- package/dist/cli/commands/fetch.d.ts.map +1 -1
- package/dist/cli/commands/fetch.js +210 -129
- package/dist/cli/commands/fetch.js.map +1 -1
- package/dist/cli/commands/fund.d.ts +3 -0
- package/dist/cli/commands/fund.d.ts.map +1 -0
- package/dist/cli/commands/fund.js +22 -0
- package/dist/cli/commands/fund.js.map +1 -0
- package/dist/cli/commands/marketplace.d.ts +6 -0
- package/dist/cli/commands/marketplace.d.ts.map +1 -1
- package/dist/cli/commands/marketplace.js +27 -8
- package/dist/cli/commands/marketplace.js.map +1 -1
- package/dist/cli/commands/setup.d.ts +4 -1
- package/dist/cli/commands/setup.d.ts.map +1 -1
- package/dist/cli/commands/setup.js +66 -41
- package/dist/cli/commands/setup.js.map +1 -1
- package/dist/cli/commands/version.d.ts +3 -0
- package/dist/cli/commands/version.d.ts.map +1 -0
- package/dist/cli/commands/version.js +12 -0
- package/dist/cli/commands/version.js.map +1 -0
- package/dist/cli/config.d.ts +225 -45
- package/dist/cli/config.d.ts.map +1 -1
- package/dist/cli/config.js +426 -115
- package/dist/cli/config.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/mcp/proxy/cli.js +1 -0
- package/dist/mcp/proxy/cli.js.map +1 -1
- package/dist/mcp/proxy/factory.d.ts +2 -0
- package/dist/mcp/proxy/factory.d.ts.map +1 -1
- package/dist/mcp/proxy/factory.js +10 -1
- package/dist/mcp/proxy/factory.js.map +1 -1
- package/dist/mcp/proxy/server/init.js +1 -1
- package/dist/mcp/proxy/server/init.js.map +1 -1
- package/dist/mcp/proxy/server/server.d.ts +3 -1
- package/dist/mcp/proxy/server/server.d.ts.map +1 -1
- package/dist/mcp/proxy/server/server.js +5 -2
- package/dist/mcp/proxy/server/server.js.map +1 -1
- package/dist/mcp/proxy/types.d.ts +7 -0
- package/dist/mcp/proxy/types.d.ts.map +1 -1
- package/dist/mcp/proxy/types.js.map +1 -1
- package/dist/version.d.ts +3 -1
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +3 -1
- package/dist/version.js.map +1 -1
- package/dist/x402/http/factory.d.ts +2 -0
- package/dist/x402/http/factory.d.ts.map +1 -1
- package/dist/x402/http/factory.js +1 -0
- package/dist/x402/http/factory.js.map +1 -1
- package/dist/x402/index.d.ts +2 -0
- package/dist/x402/index.d.ts.map +1 -1
- package/dist/x402/index.js +2 -0
- package/dist/x402/index.js.map +1 -1
- package/dist/x402/siwx.d.ts +55 -0
- package/dist/x402/siwx.d.ts.map +1 -0
- package/dist/x402/siwx.js +122 -0
- package/dist/x402/siwx.js.map +1 -0
- package/dist/x402/wallets/smart-account/cosigned.d.ts +9 -2
- package/dist/x402/wallets/smart-account/cosigned.d.ts.map +1 -1
- package/dist/x402/wallets/smart-account/cosigned.js +13 -4
- package/dist/x402/wallets/smart-account/cosigned.js.map +1 -1
- package/package.json +3 -2
package/dist/ampersend/client.js
CHANGED
|
@@ -2,8 +2,34 @@ import { Mutex } from "async-mutex";
|
|
|
2
2
|
import { DateTime, Schema } from "effect";
|
|
3
3
|
import { SiweMessage } from "siwe";
|
|
4
4
|
import { privateKeyToAccount } from "viem/accounts";
|
|
5
|
-
import {
|
|
5
|
+
import { VERSION } from "../version.js";
|
|
6
|
+
import { AgentAuthorizeRequest, AgentAuthorizeResponse, AgentPaymentEventReport, AgentPaymentEventResponse, ApiError, SignSiwxResponse, SIWELoginResponse, SIWENonceResponse, } from "./types.js";
|
|
6
7
|
export * from "./types.js";
|
|
8
|
+
/**
|
|
9
|
+
* Best-effort summary of an HTTP error body. The server emits Effect Schema
|
|
10
|
+
* decode errors as JSON like `{ _tag: "HttpApiDecodeError", issues: [{ path,
|
|
11
|
+
* message }, ...], message: "<long indented blob>" }`. The raw `message` is
|
|
12
|
+
* unreadable; collapse `issues[]` into a flat string instead. For anything
|
|
13
|
+
* we don't recognise — including non-JSON bodies — return the body verbatim.
|
|
14
|
+
*/
|
|
15
|
+
function formatServerErrorBody(body) {
|
|
16
|
+
try {
|
|
17
|
+
const { issues, message } = JSON.parse(body);
|
|
18
|
+
if (Array.isArray(issues) && issues.length > 0) {
|
|
19
|
+
return issues
|
|
20
|
+
.map((i) => {
|
|
21
|
+
const path = Array.isArray(i?.path) && i.path.length > 0 ? i.path.join(".") : null;
|
|
22
|
+
const msg = typeof i?.message === "string" ? i.message : "validation failed";
|
|
23
|
+
return path ? `${path}: ${msg}` : msg;
|
|
24
|
+
})
|
|
25
|
+
.join("; ");
|
|
26
|
+
}
|
|
27
|
+
return typeof message === "string" ? message : body;
|
|
28
|
+
}
|
|
29
|
+
catch {
|
|
30
|
+
return body;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
7
33
|
/**
|
|
8
34
|
* TypeScript SDK for the API
|
|
9
35
|
*
|
|
@@ -15,6 +41,13 @@ export class ApiClient {
|
|
|
15
41
|
sessionKeyPrivateKey;
|
|
16
42
|
agentAddress;
|
|
17
43
|
timeout;
|
|
44
|
+
/**
|
|
45
|
+
* `Ampersend-Client` header value sent on every authenticated request.
|
|
46
|
+
* Format: `<name>/<version>`. Used by the API for product-analytics
|
|
47
|
+
* client attribution. Defaults to `sdk-typescript/<VERSION>`; the
|
|
48
|
+
* `ampersend` CLI overrides `clientName` to `ampersend-cli`.
|
|
49
|
+
*/
|
|
50
|
+
clientHeader;
|
|
18
51
|
authMutex = new Mutex();
|
|
19
52
|
auth = {
|
|
20
53
|
token: null,
|
|
@@ -25,6 +58,8 @@ export class ApiClient {
|
|
|
25
58
|
this.sessionKeyPrivateKey = options.sessionKeyPrivateKey;
|
|
26
59
|
this.agentAddress = options.agentAddress;
|
|
27
60
|
this.timeout = options.timeout ?? 30000;
|
|
61
|
+
const clientName = options.clientName ?? "sdk-typescript";
|
|
62
|
+
this.clientHeader = `${clientName}/${VERSION}`;
|
|
28
63
|
}
|
|
29
64
|
/**
|
|
30
65
|
* Internal method to perform authentication without mutex (for use within mutex)
|
|
@@ -33,6 +68,9 @@ export class ApiClient {
|
|
|
33
68
|
if (!this.sessionKeyPrivateKey) {
|
|
34
69
|
throw new ApiError("Session key private key is required for authentication");
|
|
35
70
|
}
|
|
71
|
+
if (!this.agentAddress) {
|
|
72
|
+
throw new ApiError("Agent address is required for authentication");
|
|
73
|
+
}
|
|
36
74
|
try {
|
|
37
75
|
const account = privateKeyToAccount(this.sessionKeyPrivateKey);
|
|
38
76
|
const sessionKeyAddress = account.address;
|
|
@@ -112,6 +150,25 @@ export class ApiClient {
|
|
|
112
150
|
checkIndex(rej.acceptsIndex, "rejected");
|
|
113
151
|
return response;
|
|
114
152
|
}
|
|
153
|
+
/**
|
|
154
|
+
* Ask the Ampersend API to co-sign a Sign-In-With-X (CAIP-122 / EIP-4361)
|
|
155
|
+
* message. The service parses the message, verifies it claims this agent's
|
|
156
|
+
* smart account, and signs `hashMessage(message)` with the service key.
|
|
157
|
+
*
|
|
158
|
+
* The buyer concatenates this with its own session-key signature and wraps
|
|
159
|
+
* via CoSignerValidator for ERC-1271 verification.
|
|
160
|
+
*/
|
|
161
|
+
async signSiwxChallenge(message) {
|
|
162
|
+
await this.ensureAuthenticated();
|
|
163
|
+
return this.fetch(`/api/v1/agents/${this.agentAddress}/auth/sign-siwx`, {
|
|
164
|
+
method: "POST",
|
|
165
|
+
headers: {
|
|
166
|
+
"Content-Type": "application/json",
|
|
167
|
+
Authorization: `Bearer ${this.auth.token}`,
|
|
168
|
+
},
|
|
169
|
+
body: JSON.stringify({ message }),
|
|
170
|
+
}, SignSiwxResponse);
|
|
171
|
+
}
|
|
115
172
|
async reportPaymentEvent(eventId, payment, event) {
|
|
116
173
|
await this.ensureAuthenticated();
|
|
117
174
|
const report = { id: eventId, payment, event };
|
|
@@ -125,6 +182,18 @@ export class ApiClient {
|
|
|
125
182
|
body: JSON.stringify(wireBody),
|
|
126
183
|
}, AgentPaymentEventResponse);
|
|
127
184
|
}
|
|
185
|
+
/**
|
|
186
|
+
* Authenticated GET against a path on the API. Performs SIWE auth first
|
|
187
|
+
* if needed, then decodes the response against `schema`. Use this from
|
|
188
|
+
* read-only clients that share auth with the rest of the SDK.
|
|
189
|
+
*/
|
|
190
|
+
async getAuthorized(path, schema) {
|
|
191
|
+
await this.ensureAuthenticated();
|
|
192
|
+
return this.fetch(path, {
|
|
193
|
+
method: "GET",
|
|
194
|
+
headers: { Authorization: `Bearer ${this.auth.token}` },
|
|
195
|
+
}, schema);
|
|
196
|
+
}
|
|
128
197
|
/**
|
|
129
198
|
* Clear the current authentication state
|
|
130
199
|
*/
|
|
@@ -135,7 +204,8 @@ export class ApiClient {
|
|
|
135
204
|
};
|
|
136
205
|
}
|
|
137
206
|
/**
|
|
138
|
-
* Get the configured agent address
|
|
207
|
+
* Get the configured agent address, or `undefined` if the client was
|
|
208
|
+
* constructed for unauthenticated reads only.
|
|
139
209
|
*/
|
|
140
210
|
getAgentAddress() {
|
|
141
211
|
return this.agentAddress;
|
|
@@ -162,8 +232,16 @@ export class ApiClient {
|
|
|
162
232
|
async fetch(path, init, schema) {
|
|
163
233
|
const url = `${this.baseUrl}${path}`;
|
|
164
234
|
try {
|
|
235
|
+
// Merge in the Ampersend-Client header so the API can attribute
|
|
236
|
+
// product-analytics events to SDK vs CLI vs library callers.
|
|
237
|
+
// Caller-supplied headers win on conflict.
|
|
238
|
+
const headers = new Headers(init.headers);
|
|
239
|
+
if (!headers.has("Ampersend-Client")) {
|
|
240
|
+
headers.set("Ampersend-Client", this.clientHeader);
|
|
241
|
+
}
|
|
165
242
|
const response = await fetch(url, {
|
|
166
243
|
...init,
|
|
244
|
+
headers,
|
|
167
245
|
signal: AbortSignal.timeout(this.timeout),
|
|
168
246
|
});
|
|
169
247
|
if (!response.ok) {
|
|
@@ -171,7 +249,7 @@ export class ApiClient {
|
|
|
171
249
|
try {
|
|
172
250
|
const errorBody = await response.text();
|
|
173
251
|
if (errorBody) {
|
|
174
|
-
errorMessage += `: ${errorBody}`;
|
|
252
|
+
errorMessage += `: ${formatServerErrorBody(errorBody)}`;
|
|
175
253
|
}
|
|
176
254
|
}
|
|
177
255
|
catch {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../src/ampersend/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AACnC,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAA;AAClC,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAA;
|
|
1
|
+
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../src/ampersend/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AACnC,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAA;AAClC,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAA;AAEnD,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAEvC,OAAO,EACL,qBAAqB,EACrB,s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KAAK,YAAY,QAAQ,EAAE,CAAC;gBAC9B,MAAM,KAAK,CAAA;YACb,CAAC;YACD,IAAI,KAAK,YAAY,KAAK,IAAI,KAAK,CAAC,IAAI,KAAK,YAAY,EAAE,CAAC;gBAC1D,MAAM,IAAI,QAAQ,CAAC,yBAAyB,IAAI,CAAC,OAAO,IAAI,CAAC,CAAA;YAC/D,CAAC;YACD,MAAM,IAAI,QAAQ,CAAC,mBAAmB,KAAK,EAAE,CAAC,CAAA;QAChD,CAAC;IACH,CAAC;CACF"}
|
|
@@ -1,117 +1,117 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
|
-
export declare const CuratedAgentSource: Schema.
|
|
2
|
+
export declare const CuratedAgentSource: Schema.Literals<readonly ["catalog", "bazaar", "ampersend", "registry"]>;
|
|
3
3
|
export type CuratedAgentSource = typeof CuratedAgentSource.Type;
|
|
4
|
-
export declare const HTTPMethod: Schema.
|
|
4
|
+
export declare const HTTPMethod: Schema.Literals<readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS"]>;
|
|
5
5
|
export type HTTPMethod = typeof HTTPMethod.Type;
|
|
6
|
-
export declare const x402ProtocolVersion: Schema.
|
|
6
|
+
export declare const x402ProtocolVersion: Schema.Literals<readonly [1, 2]>;
|
|
7
7
|
export type x402ProtocolVersion = typeof x402ProtocolVersion.Type;
|
|
8
8
|
export declare const CuratedAgentEndpointX402PricingConfig: Schema.Struct<{
|
|
9
|
-
amount: Schema.
|
|
10
|
-
amountAtomicUnit: Schema.
|
|
11
|
-
currency: Schema.
|
|
12
|
-
networkCaip2ID: Schema.
|
|
13
|
-
assetAddress: Schema.
|
|
14
|
-
payTo: Schema.NullOr<Schema.
|
|
15
|
-
x402Schema: Schema.NullOr<Schema.
|
|
9
|
+
readonly amount: Schema.BigIntFromString;
|
|
10
|
+
readonly amountAtomicUnit: Schema.BigIntFromString;
|
|
11
|
+
readonly currency: Schema.String;
|
|
12
|
+
readonly networkCaip2ID: Schema.NonEmptyString;
|
|
13
|
+
readonly assetAddress: Schema.NonEmptyString;
|
|
14
|
+
readonly payTo: Schema.NullOr<Schema.NonEmptyString>;
|
|
15
|
+
readonly x402Schema: Schema.NullOr<Schema.Literals<readonly ["exact", "deferred"]>>;
|
|
16
16
|
}>;
|
|
17
17
|
export type CuratedAgentEndpointX402PricingConfig = typeof CuratedAgentEndpointX402PricingConfig.Type;
|
|
18
|
-
export declare const CuratedAgentEndpointPricingConfig: Schema.Struct<{
|
|
19
|
-
amount: Schema.
|
|
20
|
-
amountAtomicUnit: Schema.
|
|
21
|
-
currency: Schema.
|
|
22
|
-
networkCaip2ID: Schema.
|
|
23
|
-
assetAddress: Schema.
|
|
24
|
-
payTo: Schema.NullOr<Schema.
|
|
25
|
-
x402Schema: Schema.NullOr<Schema.
|
|
26
|
-
}>;
|
|
18
|
+
export declare const CuratedAgentEndpointPricingConfig: Schema.Union<readonly [Schema.Struct<{
|
|
19
|
+
readonly amount: Schema.BigIntFromString;
|
|
20
|
+
readonly amountAtomicUnit: Schema.BigIntFromString;
|
|
21
|
+
readonly currency: Schema.String;
|
|
22
|
+
readonly networkCaip2ID: Schema.NonEmptyString;
|
|
23
|
+
readonly assetAddress: Schema.NonEmptyString;
|
|
24
|
+
readonly payTo: Schema.NullOr<Schema.NonEmptyString>;
|
|
25
|
+
readonly x402Schema: Schema.NullOr<Schema.Literals<readonly ["exact", "deferred"]>>;
|
|
26
|
+
}>]>;
|
|
27
27
|
export type CuratedAgentEndpointPricingConfig = typeof CuratedAgentEndpointPricingConfig.Type;
|
|
28
28
|
export declare const CuratedAgentEndpointDTO: Schema.Struct<{
|
|
29
|
-
id: Schema.brand<
|
|
30
|
-
curated_agent_id: Schema.brand<
|
|
31
|
-
url: Schema.
|
|
32
|
-
methods: Schema
|
|
33
|
-
x402_enabled: Schema.
|
|
34
|
-
x402_protocol_version: Schema.
|
|
35
|
-
network: Schema.NullOr<
|
|
36
|
-
description: Schema.NullOr<
|
|
37
|
-
enabled: Schema.
|
|
38
|
-
pricing_config: Schema.Struct<{
|
|
39
|
-
amount: Schema.
|
|
40
|
-
amountAtomicUnit: Schema.
|
|
41
|
-
currency: Schema.
|
|
42
|
-
networkCaip2ID: Schema.
|
|
43
|
-
assetAddress: Schema.
|
|
44
|
-
payTo: Schema.NullOr<Schema.
|
|
45
|
-
x402Schema: Schema.NullOr<Schema.
|
|
46
|
-
}>;
|
|
47
|
-
created_at: Schema.Union<[Schema.
|
|
48
|
-
updated_at: Schema.Union<[Schema.
|
|
29
|
+
readonly id: Schema.brand<Schema.String, "ID">;
|
|
30
|
+
readonly curated_agent_id: Schema.brand<Schema.String, "ID">;
|
|
31
|
+
readonly url: Schema.NonEmptyString;
|
|
32
|
+
readonly methods: Schema.$Array<Schema.Literals<readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS"]>>;
|
|
33
|
+
readonly x402_enabled: Schema.Boolean;
|
|
34
|
+
readonly x402_protocol_version: Schema.Literals<readonly [1, 2]>;
|
|
35
|
+
readonly network: Schema.NullOr<Schema.String>;
|
|
36
|
+
readonly description: Schema.NullOr<Schema.String>;
|
|
37
|
+
readonly enabled: Schema.Boolean;
|
|
38
|
+
readonly pricing_config: Schema.Union<readonly [Schema.Struct<{
|
|
39
|
+
readonly amount: Schema.BigIntFromString;
|
|
40
|
+
readonly amountAtomicUnit: Schema.BigIntFromString;
|
|
41
|
+
readonly currency: Schema.String;
|
|
42
|
+
readonly networkCaip2ID: Schema.NonEmptyString;
|
|
43
|
+
readonly assetAddress: Schema.NonEmptyString;
|
|
44
|
+
readonly payTo: Schema.NullOr<Schema.NonEmptyString>;
|
|
45
|
+
readonly x402Schema: Schema.NullOr<Schema.Literals<readonly ["exact", "deferred"]>>;
|
|
46
|
+
}>]>;
|
|
47
|
+
readonly created_at: Schema.Union<readonly [Schema.Int, Schema.compose<Schema.Int, Schema.NumberFromString>]>;
|
|
48
|
+
readonly updated_at: Schema.Union<readonly [Schema.Int, Schema.compose<Schema.Int, Schema.NumberFromString>]>;
|
|
49
49
|
}>;
|
|
50
50
|
export type CuratedAgentEndpointDTO = typeof CuratedAgentEndpointDTO.Type;
|
|
51
51
|
export declare const CuratedAgentSkillDTO: Schema.Struct<{
|
|
52
|
-
id: Schema.brand<
|
|
53
|
-
curated_agent_id: Schema.brand<
|
|
54
|
-
name: Schema.
|
|
55
|
-
instructions: Schema.
|
|
56
|
-
docs_url: Schema.NullOr<
|
|
57
|
-
skillmd_url: Schema.NullOr<
|
|
58
|
-
created_at: Schema.Union<[Schema.
|
|
59
|
-
updated_at: Schema.Union<[Schema.
|
|
52
|
+
readonly id: Schema.brand<Schema.String, "ID">;
|
|
53
|
+
readonly curated_agent_id: Schema.brand<Schema.String, "ID">;
|
|
54
|
+
readonly name: Schema.NonEmptyString;
|
|
55
|
+
readonly instructions: Schema.Unknown;
|
|
56
|
+
readonly docs_url: Schema.NullOr<Schema.String>;
|
|
57
|
+
readonly skillmd_url: Schema.NullOr<Schema.String>;
|
|
58
|
+
readonly created_at: Schema.Union<readonly [Schema.Int, Schema.compose<Schema.Int, Schema.NumberFromString>]>;
|
|
59
|
+
readonly updated_at: Schema.Union<readonly [Schema.Int, Schema.compose<Schema.Int, Schema.NumberFromString>]>;
|
|
60
60
|
}>;
|
|
61
61
|
export type CuratedAgentSkillDTO = typeof CuratedAgentSkillDTO.Type;
|
|
62
62
|
export declare const CuratedAgentDTO: Schema.Struct<{
|
|
63
|
-
id: Schema.brand<
|
|
64
|
-
name: Schema.
|
|
65
|
-
description: Schema.NullOr<
|
|
66
|
-
source: Schema.
|
|
67
|
-
enabled: Schema.
|
|
68
|
-
category: Schema.
|
|
69
|
-
tags: Schema
|
|
70
|
-
url: Schema.NullOr<
|
|
71
|
-
logo_url: Schema.NullOr<
|
|
72
|
-
docs_url: Schema.NullOr<
|
|
73
|
-
ampersend_agent_address: Schema.NullOr<Schema.
|
|
74
|
-
created_at: Schema.Union<[Schema.
|
|
75
|
-
updated_at: Schema.Union<[Schema.
|
|
76
|
-
endpoints: Schema
|
|
77
|
-
id: Schema.brand<
|
|
78
|
-
curated_agent_id: Schema.brand<
|
|
79
|
-
url: Schema.
|
|
80
|
-
methods: Schema
|
|
81
|
-
x402_enabled: Schema.
|
|
82
|
-
x402_protocol_version: Schema.
|
|
83
|
-
network: Schema.NullOr<
|
|
84
|
-
description: Schema.NullOr<
|
|
85
|
-
enabled: Schema.
|
|
86
|
-
pricing_config: Schema.Struct<{
|
|
87
|
-
amount: Schema.
|
|
88
|
-
amountAtomicUnit: Schema.
|
|
89
|
-
currency: Schema.
|
|
90
|
-
networkCaip2ID: Schema.
|
|
91
|
-
assetAddress: Schema.
|
|
92
|
-
payTo: Schema.NullOr<Schema.
|
|
93
|
-
x402Schema: Schema.NullOr<Schema.
|
|
94
|
-
}>;
|
|
95
|
-
created_at: Schema.Union<[Schema.
|
|
96
|
-
updated_at: Schema.Union<[Schema.
|
|
63
|
+
readonly id: Schema.brand<Schema.String, "ID">;
|
|
64
|
+
readonly name: Schema.NonEmptyString;
|
|
65
|
+
readonly description: Schema.NullOr<Schema.String>;
|
|
66
|
+
readonly source: Schema.Literals<readonly ["catalog", "bazaar", "ampersend", "registry"]>;
|
|
67
|
+
readonly enabled: Schema.Boolean;
|
|
68
|
+
readonly category: Schema.NonEmptyString;
|
|
69
|
+
readonly tags: Schema.$Array<Schema.NonEmptyString>;
|
|
70
|
+
readonly url: Schema.NullOr<Schema.String>;
|
|
71
|
+
readonly logo_url: Schema.NullOr<Schema.String>;
|
|
72
|
+
readonly docs_url: Schema.NullOr<Schema.String>;
|
|
73
|
+
readonly ampersend_agent_address: Schema.NullOr<Schema.NonEmptyString>;
|
|
74
|
+
readonly created_at: Schema.Union<readonly [Schema.Int, Schema.compose<Schema.Int, Schema.NumberFromString>]>;
|
|
75
|
+
readonly updated_at: Schema.Union<readonly [Schema.Int, Schema.compose<Schema.Int, Schema.NumberFromString>]>;
|
|
76
|
+
readonly endpoints: Schema.$Array<Schema.Struct<{
|
|
77
|
+
readonly id: Schema.brand<Schema.String, "ID">;
|
|
78
|
+
readonly curated_agent_id: Schema.brand<Schema.String, "ID">;
|
|
79
|
+
readonly url: Schema.NonEmptyString;
|
|
80
|
+
readonly methods: Schema.$Array<Schema.Literals<readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS"]>>;
|
|
81
|
+
readonly x402_enabled: Schema.Boolean;
|
|
82
|
+
readonly x402_protocol_version: Schema.Literals<readonly [1, 2]>;
|
|
83
|
+
readonly network: Schema.NullOr<Schema.String>;
|
|
84
|
+
readonly description: Schema.NullOr<Schema.String>;
|
|
85
|
+
readonly enabled: Schema.Boolean;
|
|
86
|
+
readonly pricing_config: Schema.Union<readonly [Schema.Struct<{
|
|
87
|
+
readonly amount: Schema.BigIntFromString;
|
|
88
|
+
readonly amountAtomicUnit: Schema.BigIntFromString;
|
|
89
|
+
readonly currency: Schema.String;
|
|
90
|
+
readonly networkCaip2ID: Schema.NonEmptyString;
|
|
91
|
+
readonly assetAddress: Schema.NonEmptyString;
|
|
92
|
+
readonly payTo: Schema.NullOr<Schema.NonEmptyString>;
|
|
93
|
+
readonly x402Schema: Schema.NullOr<Schema.Literals<readonly ["exact", "deferred"]>>;
|
|
94
|
+
}>]>;
|
|
95
|
+
readonly created_at: Schema.Union<readonly [Schema.Int, Schema.compose<Schema.Int, Schema.NumberFromString>]>;
|
|
96
|
+
readonly updated_at: Schema.Union<readonly [Schema.Int, Schema.compose<Schema.Int, Schema.NumberFromString>]>;
|
|
97
97
|
}>>;
|
|
98
|
-
skills: Schema
|
|
99
|
-
id: Schema.brand<
|
|
100
|
-
curated_agent_id: Schema.brand<
|
|
101
|
-
name: Schema.
|
|
102
|
-
instructions: Schema.
|
|
103
|
-
docs_url: Schema.NullOr<
|
|
104
|
-
skillmd_url: Schema.NullOr<
|
|
105
|
-
created_at: Schema.Union<[Schema.
|
|
106
|
-
updated_at: Schema.Union<[Schema.
|
|
98
|
+
readonly skills: Schema.$Array<Schema.Struct<{
|
|
99
|
+
readonly id: Schema.brand<Schema.String, "ID">;
|
|
100
|
+
readonly curated_agent_id: Schema.brand<Schema.String, "ID">;
|
|
101
|
+
readonly name: Schema.NonEmptyString;
|
|
102
|
+
readonly instructions: Schema.Unknown;
|
|
103
|
+
readonly docs_url: Schema.NullOr<Schema.String>;
|
|
104
|
+
readonly skillmd_url: Schema.NullOr<Schema.String>;
|
|
105
|
+
readonly created_at: Schema.Union<readonly [Schema.Int, Schema.compose<Schema.Int, Schema.NumberFromString>]>;
|
|
106
|
+
readonly updated_at: Schema.Union<readonly [Schema.Int, Schema.compose<Schema.Int, Schema.NumberFromString>]>;
|
|
107
107
|
}>>;
|
|
108
108
|
}>;
|
|
109
109
|
export type CuratedAgentDTO = typeof CuratedAgentDTO.Type;
|
|
110
110
|
export declare const AgentMarketplaceListQueryParams: Schema.Struct<{
|
|
111
|
-
source: Schema.optional<Schema.
|
|
112
|
-
category: Schema.optional<
|
|
113
|
-
search: Schema.optional<
|
|
114
|
-
network: Schema.optional<
|
|
111
|
+
readonly source: Schema.optional<Schema.Literals<readonly ["catalog", "bazaar", "ampersend", "registry"]>>;
|
|
112
|
+
readonly category: Schema.optional<Schema.String>;
|
|
113
|
+
readonly search: Schema.optional<Schema.String>;
|
|
114
|
+
readonly network: Schema.optional<Schema.String>;
|
|
115
115
|
}>;
|
|
116
116
|
export type AgentMarketplaceListQueryParams = typeof AgentMarketplaceListQueryParams.Type;
|
|
117
117
|
//# sourceMappingURL=curated-agent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"curated-agent.d.ts","sourceRoot":"","sources":["../../src/ampersend/curated-agent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AAIvC,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"curated-agent.d.ts","sourceRoot":"","sources":["../../src/ampersend/curated-agent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AAIvC,eAAO,MAAM,kBAAkB,0EAAkE,CAAA;AACjG,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC,IAAI,CAAA;AAE/D,eAAO,MAAM,UAAU,gFAAwE,CAAA;AAC/F,MAAM,MAAM,UAAU,GAAG,OAAO,UAAU,CAAC,IAAI,CAAA;AAE/C,eAAO,MAAM,mBAAmB,kCAA0B,CAAA;AAC1D,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,IAAI,CAAA;AAEjE,eAAO,MAAM,qCAAqC;;;;;;;;EAuBhD,CAAA;AACF,MAAM,MAAM,qCAAqC,GAAG,OAAO,qCAAqC,CAAC,IAAI,CAAA;AAErG,eAAO,MAAM,iCAAiC;;;;;;;;IAAwD,CAAA;AACtG,MAAM,MAAM,iCAAiC,GAAG,OAAO,iCAAiC,CAAC,IAAI,CAAA;AAE7F,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;EA0ClC,CAAA;AACF,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAC,IAAI,CAAA;AAEzE,eAAO,MAAM,oBAAoB;;;;;;;;;EA0B/B,CAAA;AACF,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,IAAI,CAAA;AAEnE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyC1B,CAAA;AACF,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAC,IAAI,CAAA;AAEzD,eAAO,MAAM,+BAA+B;;;;;EAO1C,CAAA;AACF,MAAM,MAAM,+BAA+B,GAAG,OAAO,+BAA+B,CAAC,IAAI,CAAA"}
|
|
@@ -1,133 +1,133 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
|
-
import { Address, ConvertedTimestamp, ID, Scheme } from "./types.js";
|
|
3
|
-
export const CuratedAgentSource = Schema.
|
|
4
|
-
export const HTTPMethod = Schema.
|
|
5
|
-
export const x402ProtocolVersion = Schema.
|
|
2
|
+
import { Address, ConvertedTimestamp, ID, NonEmptyTrimmedString, Scheme } from "./types.js";
|
|
3
|
+
export const CuratedAgentSource = Schema.Literals(["catalog", "bazaar", "ampersend", "registry"]);
|
|
4
|
+
export const HTTPMethod = Schema.Literals(["GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS"]);
|
|
5
|
+
export const x402ProtocolVersion = Schema.Literals([1, 2]);
|
|
6
6
|
export const CuratedAgentEndpointX402PricingConfig = Schema.Struct({
|
|
7
|
-
amount: Schema.
|
|
7
|
+
amount: Schema.BigIntFromString.annotate({
|
|
8
8
|
jsonSchema: {},
|
|
9
9
|
description: "The amount charged per request to the endpoint",
|
|
10
10
|
examples: [1000n],
|
|
11
11
|
}),
|
|
12
|
-
amountAtomicUnit: Schema.
|
|
12
|
+
amountAtomicUnit: Schema.BigIntFromString.annotate({
|
|
13
13
|
jsonSchema: {},
|
|
14
14
|
description: "atomic unit of the accepted asset for the payment to the endpoint. USDC has 6 decimals → $0.001 = '1000'",
|
|
15
15
|
examples: [100000n],
|
|
16
16
|
}),
|
|
17
|
-
currency: Schema.String.
|
|
17
|
+
currency: Schema.String.annotate({
|
|
18
18
|
examples: ["USDC"],
|
|
19
19
|
}),
|
|
20
|
-
networkCaip2ID:
|
|
20
|
+
networkCaip2ID: NonEmptyTrimmedString.annotate({
|
|
21
21
|
examples: ["eip155:8453"],
|
|
22
22
|
}),
|
|
23
23
|
assetAddress: Address,
|
|
24
24
|
payTo: Schema.NullOr(Address),
|
|
25
25
|
x402Schema: Schema.NullOr(Scheme),
|
|
26
|
-
}).
|
|
26
|
+
}).annotate({
|
|
27
27
|
identifier: "Ampersend/db/tables/CuratedAgentEndpoint/CuratedAgentEndpointX402PricingConfig",
|
|
28
28
|
});
|
|
29
|
-
export const CuratedAgentEndpointPricingConfig = Schema.Union(CuratedAgentEndpointX402PricingConfig);
|
|
29
|
+
export const CuratedAgentEndpointPricingConfig = Schema.Union([CuratedAgentEndpointX402PricingConfig]);
|
|
30
30
|
export const CuratedAgentEndpointDTO = Schema.Struct({
|
|
31
|
-
id: ID.
|
|
31
|
+
id: ID.annotate({
|
|
32
32
|
identifier: "curated_agent_endpoint.id",
|
|
33
33
|
}),
|
|
34
|
-
curated_agent_id: ID.
|
|
34
|
+
curated_agent_id: ID.annotate({
|
|
35
35
|
identifier: "curated_agent_endpoint.curated_agent_id",
|
|
36
36
|
}),
|
|
37
|
-
url:
|
|
37
|
+
url: NonEmptyTrimmedString.annotate({
|
|
38
38
|
identifier: "curated_agent_endpoint.url",
|
|
39
39
|
examples: ["https://api.venice.ai/api/v1/chat/completions"],
|
|
40
40
|
}),
|
|
41
|
-
methods: Schema.Array(HTTPMethod).
|
|
41
|
+
methods: Schema.Array(HTTPMethod).annotate({
|
|
42
42
|
identifier: "curated_agent_endpoint.methods",
|
|
43
43
|
description: "What HTTP method(s) does the endpoint allow/support",
|
|
44
44
|
}),
|
|
45
|
-
x402_enabled: Schema.Boolean.
|
|
45
|
+
x402_enabled: Schema.Boolean.annotate({
|
|
46
46
|
identifier: "curated_agent_endpoint.x402_enabled",
|
|
47
47
|
}),
|
|
48
|
-
x402_protocol_version: x402ProtocolVersion.
|
|
48
|
+
x402_protocol_version: x402ProtocolVersion.annotate({
|
|
49
49
|
identifier: "curated_agent_endpoint.x402_protocol_version",
|
|
50
50
|
description: "Identified which version of x402 the endpoint supports, which shows how to use the endpoint correctly",
|
|
51
51
|
}),
|
|
52
|
-
network: Schema.NullOr(Schema.String).
|
|
52
|
+
network: Schema.NullOr(Schema.String).annotate({
|
|
53
53
|
identifier: "curated_agent_endpoint.network",
|
|
54
54
|
description: "The network supported for payment to the endpoint; if the endpoint is x402 enabled",
|
|
55
55
|
examples: ["base", "base-sepolia", "solana"],
|
|
56
56
|
}),
|
|
57
|
-
description: Schema.NullOr(Schema.String).
|
|
57
|
+
description: Schema.NullOr(Schema.String).annotate({
|
|
58
58
|
identifier: "curated_agent_endpoint.description",
|
|
59
59
|
}),
|
|
60
|
-
enabled: Schema.Boolean.
|
|
60
|
+
enabled: Schema.Boolean.annotate({
|
|
61
61
|
identifier: "curated_agent_endpoint.enabled",
|
|
62
62
|
}),
|
|
63
|
-
pricing_config: CuratedAgentEndpointPricingConfig.
|
|
63
|
+
pricing_config: CuratedAgentEndpointPricingConfig.annotate({
|
|
64
64
|
identifier: "curated_agent_endpoint.pricing_config",
|
|
65
65
|
description: "Contains the required pricing information for paying for the service",
|
|
66
66
|
}),
|
|
67
67
|
created_at: ConvertedTimestamp,
|
|
68
68
|
updated_at: ConvertedTimestamp,
|
|
69
|
-
}).
|
|
69
|
+
}).annotate({
|
|
70
70
|
identifier: "Ampersend/domain/CuratedAgentEndpointDTO",
|
|
71
71
|
});
|
|
72
72
|
export const CuratedAgentSkillDTO = Schema.Struct({
|
|
73
|
-
id: ID.
|
|
73
|
+
id: ID.annotate({
|
|
74
74
|
identifier: "curated_agent_skill.id",
|
|
75
75
|
}),
|
|
76
|
-
curated_agent_id: ID.
|
|
76
|
+
curated_agent_id: ID.annotate({
|
|
77
77
|
identifier: "curated_agent_skill.curated_agent_id",
|
|
78
78
|
}),
|
|
79
|
-
name:
|
|
79
|
+
name: NonEmptyTrimmedString.annotate({
|
|
80
80
|
identifier: "curated_agent_skill.name",
|
|
81
81
|
}),
|
|
82
|
-
instructions: Schema.Unknown.
|
|
82
|
+
instructions: Schema.Unknown.annotate({
|
|
83
83
|
identifier: "curated_agent_skill.instructions",
|
|
84
84
|
description: "Provided setup/install instructions for how to use the skill",
|
|
85
85
|
}),
|
|
86
|
-
docs_url: Schema.NullOr(Schema.String).
|
|
86
|
+
docs_url: Schema.NullOr(Schema.String).annotate({
|
|
87
87
|
identifier: "curated_agent_skill.docs_url",
|
|
88
88
|
description: "Link to any docs for using the skill",
|
|
89
89
|
}),
|
|
90
|
-
skillmd_url: Schema.NullOr(Schema.String).
|
|
90
|
+
skillmd_url: Schema.NullOr(Schema.String).annotate({
|
|
91
91
|
identifier: "curated_agent_skill.skillmd_url",
|
|
92
92
|
description: "Link to the skill.md file",
|
|
93
93
|
}),
|
|
94
94
|
created_at: ConvertedTimestamp,
|
|
95
95
|
updated_at: ConvertedTimestamp,
|
|
96
|
-
}).
|
|
96
|
+
}).annotate({
|
|
97
97
|
identifier: "Ampersend/domain/CuratedAgentSkillDTO",
|
|
98
98
|
});
|
|
99
99
|
export const CuratedAgentDTO = Schema.Struct({
|
|
100
|
-
id: ID.
|
|
100
|
+
id: ID.annotate({
|
|
101
101
|
identifier: "curated_agent.id",
|
|
102
102
|
}),
|
|
103
|
-
name:
|
|
103
|
+
name: NonEmptyTrimmedString.annotate({
|
|
104
104
|
identifier: "curated_agent.name",
|
|
105
105
|
}),
|
|
106
|
-
description: Schema.NullOr(Schema.String).
|
|
106
|
+
description: Schema.NullOr(Schema.String).annotate({
|
|
107
107
|
identifier: "curated_agent.description",
|
|
108
108
|
}),
|
|
109
|
-
source: CuratedAgentSource.
|
|
109
|
+
source: CuratedAgentSource.annotate({
|
|
110
110
|
identifier: "curated_agent.source",
|
|
111
111
|
}),
|
|
112
|
-
enabled: Schema.Boolean.
|
|
112
|
+
enabled: Schema.Boolean.annotate({
|
|
113
113
|
identifier: "curated_agent.enabled",
|
|
114
114
|
}),
|
|
115
|
-
category:
|
|
115
|
+
category: NonEmptyTrimmedString.annotate({
|
|
116
116
|
identifier: "curated_agent.category",
|
|
117
117
|
}),
|
|
118
|
-
tags: Schema.Array(
|
|
118
|
+
tags: Schema.Array(NonEmptyTrimmedString).annotate({
|
|
119
119
|
identifier: "curated_agent.tags",
|
|
120
120
|
}),
|
|
121
|
-
url: Schema.NullOr(Schema.String).
|
|
121
|
+
url: Schema.NullOr(Schema.String).annotate({
|
|
122
122
|
identifier: "curated_agent.url",
|
|
123
123
|
}),
|
|
124
|
-
logo_url: Schema.NullOr(Schema.String).
|
|
124
|
+
logo_url: Schema.NullOr(Schema.String).annotate({
|
|
125
125
|
identifier: "curated_agent.logo_url",
|
|
126
126
|
}),
|
|
127
|
-
docs_url: Schema.NullOr(Schema.String).
|
|
127
|
+
docs_url: Schema.NullOr(Schema.String).annotate({
|
|
128
128
|
identifier: "curated_agent.docs_url",
|
|
129
129
|
}),
|
|
130
|
-
ampersend_agent_address: Schema.NullOr(Address).
|
|
130
|
+
ampersend_agent_address: Schema.NullOr(Address).annotate({
|
|
131
131
|
identifier: "curated_agent.ampersend_agent_address",
|
|
132
132
|
description: "FK to the agent.address if the curated agent is also registered in ampersend.",
|
|
133
133
|
}),
|
|
@@ -135,7 +135,7 @@ export const CuratedAgentDTO = Schema.Struct({
|
|
|
135
135
|
updated_at: ConvertedTimestamp,
|
|
136
136
|
endpoints: Schema.Array(CuratedAgentEndpointDTO),
|
|
137
137
|
skills: Schema.Array(CuratedAgentSkillDTO),
|
|
138
|
-
}).
|
|
138
|
+
}).annotate({
|
|
139
139
|
identifier: "Ampersend/domain/CuratedAgentDTO",
|
|
140
140
|
});
|
|
141
141
|
export const AgentMarketplaceListQueryParams = Schema.Struct({
|
|
@@ -143,7 +143,7 @@ export const AgentMarketplaceListQueryParams = Schema.Struct({
|
|
|
143
143
|
category: Schema.String.pipe(Schema.optional),
|
|
144
144
|
search: Schema.String.pipe(Schema.optional),
|
|
145
145
|
network: Schema.String.pipe(Schema.optional),
|
|
146
|
-
}).
|
|
146
|
+
}).annotate({
|
|
147
147
|
identifier: "Ampersend/domain/AgentMarketplaceListQueryParams",
|
|
148
148
|
});
|
|
149
149
|
//# sourceMappingURL=curated-agent.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"curated-agent.js","sourceRoot":"","sources":["../../src/ampersend/curated-agent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AAEvC,OAAO,EAAE,OAAO,EAAE,kBAAkB,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,YAAY,CAAA;
|
|
1
|
+
{"version":3,"file":"curated-agent.js","sourceRoot":"","sources":["../../src/amp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