@evolinkai/cli 0.8.0 → 0.9.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/README.md +57 -5
- package/package.json +1 -1
- package/skills/evolink-cli/SKILL.md +15 -3
- package/skills/evolink-cli/references/usage-and-budget.md +11 -1
- package/src/api.mjs +19 -2
- package/src/cli.mjs +32 -6
- package/src/errors.mjs +21 -13
- package/src/files.mjs +14 -2
- package/src/help.mjs +8 -2
- package/src/media.mjs +54 -15
- package/src/oauth.mjs +11 -3
- package/src/platform/core/src/config.js +7 -4
- package/src/platform/core/src/platform-client.js +9 -3
- package/src/platform/core/src/platform-operations.js +2 -0
- package/src/platform/core/src/services/api-client.js +61 -29
- package/src/platform/core/src/services/error-handler.js +89 -34
- package/src/platform/core/src/services/file-client.js +32 -0
- package/src/platform/core/src/services/http-policy.js +62 -12
- package/src/platform/core/src/services/model-catalog.js +13 -7
- package/src/platform/core/src/services/pricing-quote-client.js +239 -0
- package/src/platform/core/src/services/pricing-rules-client.js +222 -0
- package/src/platform/core/src/services/pricing-rules-estimate.js +231 -0
- package/src/platform/core/src/services/public-error.js +63 -0
- package/src/platform/core/src/tool-guidance.js +2 -0
- package/src/platform/core/src/tools/estimate-cost.js +36 -11
- package/src/platform/core/src/tools/generate.js +31 -7
- package/src/platform/core/src/tools/get-model.js +3 -1
- package/src/platform/core/src/tools/get-pricing-rules.js +54 -0
- package/src/platform/core/src/tools/shared.js +39 -19
- package/src/platform/core/src/tools/task-billing.js +31 -0
- package/src/platform/core/src/tools/task-format.js +31 -12
- package/src/platform/core/src/version.js +1 -1
- package/src/platform/source.json +47 -35
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
// Copyright 2024 EvoLink AI. SPDX-License-Identifier: Apache-2.0
|
|
2
2
|
// Generated from Evolink-AI/evolink-mcp; adapted for direct REST operations. See platform/LICENSE and platform/NOTICE.
|
|
3
|
+
import { CredentialError } from '../config.js';
|
|
4
|
+
import { publicIdentifier, publicErrorDetails, publicText } from '../services/public-error.js';
|
|
3
5
|
import { processCredentialsAllowed } from '../request-context.js';
|
|
4
6
|
import { ApiHttpError } from '../services/api-client.js';
|
|
5
7
|
import { CREDITS_PER_USD, formatCredits, formatUsd } from '../services/error-handler.js';
|
|
6
|
-
import { API_KEYS_URL, PaidRequestOutcomeUnknownError, RequestTimeoutError } from '../services/http-policy.js';
|
|
8
|
+
import { API_KEYS_URL, PaidRequestOutcomeUnknownError, RequestTimeoutError, SubmissionNotStartedError } from '../services/http-policy.js';
|
|
7
9
|
import { trackedLink } from '../services/utm.js';
|
|
8
10
|
/** Free lookups: clients can run them without asking. */
|
|
9
11
|
export const READ_ONLY = { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false };
|
|
@@ -19,7 +21,7 @@ export function ok(text, structured, resources = []) {
|
|
|
19
21
|
return { content: [{ type: 'text', text }, ...resources], structuredContent: { ok: true, ...structured } };
|
|
20
22
|
}
|
|
21
23
|
export function failure(text, structured) {
|
|
22
|
-
return { content: [{ type: 'text', text }], structuredContent: { ok: false, ...structured }, isError: true };
|
|
24
|
+
return { content: [{ type: 'text', text: publicText(text) }], structuredContent: { ok: false, ...(structured.charged === 'no' ? { submission_state: 'not_submitted' } : {}), ...publicErrorDetails(structured) }, isError: true };
|
|
23
25
|
}
|
|
24
26
|
export function money(credits) {
|
|
25
27
|
if (typeof credits !== 'number' || !Number.isFinite(credits))
|
|
@@ -42,10 +44,12 @@ export function usdOf(credits) {
|
|
|
42
44
|
return Number((credits / CREDITS_PER_USD).toFixed(6));
|
|
43
45
|
}
|
|
44
46
|
function infoFor(error) {
|
|
47
|
+
if (error instanceof SubmissionNotStartedError)
|
|
48
|
+
return infoFor(error.cause);
|
|
45
49
|
if (error instanceof ApiHttpError && error.info)
|
|
46
50
|
return error.info;
|
|
47
51
|
if (error instanceof ApiHttpError) {
|
|
48
|
-
return { status: error.status, category: 'server_error', message: error.
|
|
52
|
+
return { status: error.status, category: 'server_error', message: 'The operation returned an unverified error.', next_step: 'Retry in a minute.', retryable: true, request_id: error.requestId };
|
|
49
53
|
}
|
|
50
54
|
if (error instanceof PaidRequestOutcomeUnknownError) {
|
|
51
55
|
return {
|
|
@@ -59,8 +63,13 @@ function infoFor(error) {
|
|
|
59
63
|
if (error instanceof RequestTimeoutError || error instanceof TypeError) {
|
|
60
64
|
return { status: 0, category: 'server_error', message: 'EvoLink did not respond in time.', next_step: 'Retry in a minute.', retryable: true };
|
|
61
65
|
}
|
|
62
|
-
|
|
63
|
-
|
|
66
|
+
if (!(error instanceof CredentialError))
|
|
67
|
+
return {
|
|
68
|
+
status: 0, category: 'server_error', message: 'EvoLink could not complete this operation.',
|
|
69
|
+
next_step: 'Retry free queries. For a generation, recover the original task or client_request_id before creating a new paid request.', retryable: false,
|
|
70
|
+
};
|
|
71
|
+
const message = 'No EvoLink credential is available for this request.';
|
|
72
|
+
// Credential problems surface as typed errors from getApiKey(): no key in this scope, or a
|
|
64
73
|
// signed-in connection that cannot use the hosted service channel.
|
|
65
74
|
return {
|
|
66
75
|
status: 0,
|
|
@@ -75,35 +84,46 @@ function infoFor(error) {
|
|
|
75
84
|
/** Converts a thrown error into a tool error with a category and a concrete next step. */
|
|
76
85
|
export function errorResult(error, context = {}) {
|
|
77
86
|
const info = infoFor(error);
|
|
87
|
+
const requestId = publicIdentifier(info.request_id);
|
|
88
|
+
const clientRequestId = publicIdentifier(context.clientRequestId);
|
|
89
|
+
const taskId = publicIdentifier(context.taskId);
|
|
78
90
|
const label = `${info.category}${info.code ? `, ${info.code}` : ''}${info.status ? `, HTTP ${info.status}` : ''}`;
|
|
79
|
-
// A headline names the limit in plain words first, so every client shows the user which one stopped the call.
|
|
80
91
|
const lines = info.headline ? [info.headline] : [`Error (${label}): ${info.message}`];
|
|
81
|
-
lines.push(`Next step: ${info.next_step}`);
|
|
82
92
|
let charged;
|
|
93
|
+
let submissionState;
|
|
83
94
|
if (context.paid) {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
95
|
+
// An accepted task is stronger evidence than a later credential/read failure.
|
|
96
|
+
const accepted = context.phase === 'accepted' || !!taskId;
|
|
97
|
+
const beforeSubmit = !accepted && (context.phase === 'before_submit' || error instanceof SubmissionNotStartedError || error instanceof CredentialError);
|
|
98
|
+
const rejected = !accepted && error instanceof ApiHttpError && error.submissionState === 'rejected';
|
|
99
|
+
submissionState = accepted ? 'accepted' : beforeSubmit ? 'not_submitted' : rejected ? 'rejected' : 'outcome_unknown';
|
|
100
|
+
charged = beforeSubmit || rejected ? 'no' : 'unknown';
|
|
101
|
+
if (charged === 'unknown') {
|
|
102
|
+
info.next_step = taskId
|
|
103
|
+
? `Query the original task ${taskId}. Do not submit another generation to recover this result.`
|
|
104
|
+
: clientRequestId
|
|
105
|
+
? `Check list_tasks for the original request. To recover this exact submission, pass client_request_id "${clientRequestId}" with identical input; do not create a new quote or request ID.`
|
|
106
|
+
: 'Check list_tasks for the original request. Recover only with the same client_request_id and identical input; do not create a new quote or request ID.';
|
|
107
|
+
lines.push('Whether a charge was made is unknown. A new generation is separately paid and requires a fresh estimate and explicit user approval.');
|
|
93
108
|
}
|
|
109
|
+
else
|
|
110
|
+
lines.push(beforeSubmit ? 'Nothing was submitted or charged.' : 'Nothing was submitted or charged. Gateway admission rejected the generation before dispatch.');
|
|
94
111
|
}
|
|
112
|
+
lines.push(`Next step: ${info.next_step}`);
|
|
95
113
|
// No HTTP status: the request timed out or the connection dropped, so the upload's outcome is unknown.
|
|
96
114
|
if (context.upload && info.category === 'server_error' && !info.status) {
|
|
97
115
|
lines.push('The upload may not have finished. Calling upload_file again is safe.');
|
|
98
116
|
}
|
|
99
117
|
if (info.headline)
|
|
100
118
|
lines.push(`Error: ${label}`);
|
|
101
|
-
if (
|
|
102
|
-
lines.push(`Request ID: ${
|
|
119
|
+
if (requestId)
|
|
120
|
+
lines.push(`Request ID: ${requestId}`);
|
|
103
121
|
return failure(lines.join('\n'), {
|
|
104
122
|
error: info,
|
|
105
123
|
...(charged ? { charged } : {}),
|
|
106
|
-
...(
|
|
124
|
+
...(submissionState ? { submission_state: submissionState } : {}),
|
|
125
|
+
...(clientRequestId && context.paid ? { client_request_id: clientRequestId } : {}),
|
|
126
|
+
...(taskId ? { task_id: taskId } : {}),
|
|
107
127
|
});
|
|
108
128
|
}
|
|
109
129
|
/** Sends a progress notification when the client asked for them; failures are ignored. */
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// Copyright 2024 EvoLink AI. SPDX-License-Identifier: Apache-2.0
|
|
2
|
+
// Generated from Evolink-AI/evolink-mcp; adapted for direct REST operations. See platform/LICENSE and platform/NOTICE.
|
|
3
|
+
import { publicNumber } from '../services/public-error.js';
|
|
4
|
+
/** Ledger facts are distinct from the task outcome and from approximate usage costs. */
|
|
5
|
+
export function taskBilling(task) {
|
|
6
|
+
const raw = task.billing;
|
|
7
|
+
const billing = { charge_status: 'unknown', refund_status: 'unknown', limit_restoration: 'unknown' };
|
|
8
|
+
if (!raw || raw.refund_scope !== 'account_balance')
|
|
9
|
+
return billing;
|
|
10
|
+
billing.refund_scope = 'account_balance';
|
|
11
|
+
if (['unknown', 'reserved', 'charged', 'released'].includes(raw.charge_status ?? ''))
|
|
12
|
+
billing.charge_status = raw.charge_status;
|
|
13
|
+
if (['unknown', 'not_required', 'pending', 'failed'].includes(raw.refund_status ?? ''))
|
|
14
|
+
billing.refund_status = raw.refund_status;
|
|
15
|
+
for (const field of ['reserved_credits', 'charged_credits']) {
|
|
16
|
+
const n = publicNumber(raw[field]);
|
|
17
|
+
if (n !== undefined)
|
|
18
|
+
billing[field] = n;
|
|
19
|
+
}
|
|
20
|
+
const refunded = publicNumber(raw.refunded_credits);
|
|
21
|
+
const timestamp = typeof raw.refunded_at === 'string' && /^\d{4}-\d{2}-\d{2}T[0-9:.]+Z$/.test(raw.refunded_at)
|
|
22
|
+
&& Number.isFinite(Date.parse(raw.refunded_at)) ? raw.refunded_at : undefined;
|
|
23
|
+
// Require the authoritative release, amount and timestamp together. Status alone is not proof.
|
|
24
|
+
if (raw.refund_status === 'completed' && raw.charge_status === 'released' && timestamp
|
|
25
|
+
&& refunded !== undefined && refunded > 0 && refunded === billing.reserved_credits) {
|
|
26
|
+
billing.refund_status = 'completed';
|
|
27
|
+
billing.refunded_credits = refunded;
|
|
28
|
+
billing.refunded_at = timestamp;
|
|
29
|
+
}
|
|
30
|
+
return billing;
|
|
31
|
+
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
// Copyright 2024 EvoLink AI. SPDX-License-Identifier: Apache-2.0
|
|
2
2
|
// Generated from Evolink-AI/evolink-mcp; adapted for direct REST operations. See platform/LICENSE and platform/NOTICE.
|
|
3
3
|
import { queryTask } from '../services/api-client.js';
|
|
4
|
-
import {
|
|
4
|
+
import { publicIdentifier } from '../services/public-error.js';
|
|
5
|
+
import { publicTaskError } from '../services/error-handler.js';
|
|
6
|
+
import { taskBilling } from './task-billing.js';
|
|
5
7
|
import { money, sleep, usdOf } from './shared.js';
|
|
6
8
|
/** Result links from the gateway stay downloadable for this long. */
|
|
7
9
|
export const RESULT_LINK_HOURS = 24;
|
|
@@ -150,6 +152,7 @@ export function describeTask(task) {
|
|
|
150
152
|
progress: task.progress ?? 0,
|
|
151
153
|
model: task.model,
|
|
152
154
|
type: task.type,
|
|
155
|
+
billing: taskBilling(task),
|
|
153
156
|
};
|
|
154
157
|
const outputs = taskOutputs(task);
|
|
155
158
|
if (outputs.length) {
|
|
@@ -180,14 +183,29 @@ export function describeTask(task) {
|
|
|
180
183
|
structured.took_seconds = task.duration;
|
|
181
184
|
}
|
|
182
185
|
if (status === 'failed' || status === 'cancelled') {
|
|
183
|
-
const
|
|
184
|
-
const
|
|
185
|
-
|
|
186
|
-
lines.push(`Error: ${code}
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
186
|
+
const info = publicTaskError(task.error ?? { code: status === 'cancelled' ? 'request_cancelled' : 'unknown_error' });
|
|
187
|
+
const billing = taskBilling(task);
|
|
188
|
+
structured.billing = billing;
|
|
189
|
+
lines.push(`Error: ${info.code} — ${info.message}`);
|
|
190
|
+
if (billing.refund_status === 'completed') {
|
|
191
|
+
lines.push(`Account balance refund completed: ${money(billing.refunded_credits)}. Key limit restoration is unknown.`);
|
|
192
|
+
structured.refunded = true;
|
|
193
|
+
}
|
|
194
|
+
else if (billing.refund_status === 'pending') {
|
|
195
|
+
lines.push('Account balance refund is pending; it has not been confirmed.');
|
|
196
|
+
}
|
|
197
|
+
else if (billing.refund_status === 'failed') {
|
|
198
|
+
lines.push('Account balance refund processing failed; completion has not been confirmed. Contact EvoLink support with this task ID.');
|
|
199
|
+
}
|
|
200
|
+
else if (billing.refund_status === 'not_required') {
|
|
201
|
+
lines.push('The billing record reports no account balance refund required. Check the recorded charge before requesting another generation.');
|
|
202
|
+
}
|
|
203
|
+
else {
|
|
204
|
+
lines.push('Charge and refund completion cannot be verified from the available billing evidence. Query this task again or contact EvoLink support.');
|
|
205
|
+
}
|
|
206
|
+
const next = `${info.suggestion} Query get_task again to verify billing. Do not generate again automatically. Another generation is a separately paid task: obtain a fresh estimate and explicit user approval first.`;
|
|
207
|
+
lines.push(`Next step: ${next}`);
|
|
208
|
+
structured.error = { ...info, suggestion: next };
|
|
191
209
|
}
|
|
192
210
|
else if (status === 'completed') {
|
|
193
211
|
if (links.length > 0) {
|
|
@@ -207,9 +225,10 @@ export function describeTask(task) {
|
|
|
207
225
|
}
|
|
208
226
|
lines.push(`Next step: call get_task with task_id "${task.id}" again (it can wait up to 45 s). Do not call generate again to check progress: that starts and charges a new task.`);
|
|
209
227
|
}
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
228
|
+
const requestId = publicIdentifier(task.request_id);
|
|
229
|
+
if (requestId) {
|
|
230
|
+
lines.push(`Request ID: ${requestId}`);
|
|
231
|
+
structured.request_id = requestId;
|
|
213
232
|
}
|
|
214
233
|
return { lines, structured, resources: resultResources(task.id, links) };
|
|
215
234
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// Copyright 2024 EvoLink AI. SPDX-License-Identifier: Apache-2.0
|
|
2
2
|
// Generated from Evolink-AI/evolink-mcp; adapted for direct REST operations. See platform/LICENSE and platform/NOTICE.
|
|
3
3
|
/** Version reported in serverInfo and in the X-Evo-Client-Version header. */
|
|
4
|
-
export const MCP_VERSION = '1.
|
|
4
|
+
export const MCP_VERSION = '1.7.0';
|
package/src/platform/source.json
CHANGED
|
@@ -2,79 +2,91 @@
|
|
|
2
2
|
"schema_version": 1,
|
|
3
3
|
"repository": "Evolink-AI/evolink-mcp",
|
|
4
4
|
"baseline": "acc9fd43b945e3917b47809fc94f85ba26c7c8db",
|
|
5
|
-
"source_sha256": "
|
|
5
|
+
"source_sha256": "7cde53442ad7bed3408a9ab63647b66df928f457b0460321189eddc926a05b0b",
|
|
6
6
|
"files": {
|
|
7
7
|
"packages/core/src/branding.ts": "534b944a1370f210a3858c1a85b1a23071aca8e26b7a3e70e4d859ba5b152ff7",
|
|
8
|
-
"packages/core/src/config.ts": "
|
|
8
|
+
"packages/core/src/config.ts": "208496230e22f43817cfb9b3805cde279fcce61a82227dfbd9f63485a33d33c7",
|
|
9
9
|
"packages/core/src/data/model-constraints.ts": "c6a20af6ef181e5b620aa31944d1e8453b72f1794bda4c65397390184636542c",
|
|
10
10
|
"packages/core/src/data/model-params.generated.ts": "9641f2c80475259964104be11f1de86f64c23ccfa6defabb7614ff88ed93d819",
|
|
11
11
|
"packages/core/src/data/model-params.ts": "d387d10b7d888059df9c1bd2177e336a497981b63ecbac57009f399f4e1fd858",
|
|
12
|
-
"packages/core/src/platform-client.ts": "
|
|
13
|
-
"packages/core/src/platform-operations.ts": "
|
|
12
|
+
"packages/core/src/platform-client.ts": "d272d1fbd7939acd69482207f1a75550e4ff8f584deee8f6d0c8ace86e453b6d",
|
|
13
|
+
"packages/core/src/platform-operations.ts": "3239283b4cff2490dd42ac006d03165ef2843eb05cfaece3572d1aacde2e7e32",
|
|
14
14
|
"packages/core/src/request-context.ts": "c78d28379609779305aa2ebbf3c9cc503a98ed7f144eed48103ab518c9ef5539",
|
|
15
|
-
"packages/core/src/server.ts": "
|
|
16
|
-
"packages/core/src/services/api-client.ts": "
|
|
15
|
+
"packages/core/src/server.ts": "d7eb164ccee69cb8f5409e27260b92b0215ce52fbad48eb3ed3de72e7c7ceefc",
|
|
16
|
+
"packages/core/src/services/api-client.ts": "fb750cb37d4bce367851b1b659fd335894dda98b3ce46b14227a0150e1ef0773",
|
|
17
17
|
"packages/core/src/services/catalog-client.ts": "c2bcfb0f2780112bcddf6a42537cf9f6264717d0b3685c896790339b0f9bb7df",
|
|
18
|
-
"packages/core/src/services/error-handler.ts": "
|
|
19
|
-
"packages/core/src/services/file-client.ts": "
|
|
20
|
-
"packages/core/src/services/http-policy.ts": "
|
|
18
|
+
"packages/core/src/services/error-handler.ts": "9d46cf411eff9a477653cff67e764788b68c3dca163b5ebef99e60209c4f2173",
|
|
19
|
+
"packages/core/src/services/file-client.ts": "9bd94da9a0719fba0050be261fb5210397be4e8b9e6ebc8a2e916fcc185fd2d2",
|
|
20
|
+
"packages/core/src/services/http-policy.ts": "f8cc029627655718d52b30dadaaa503fa6d4597846a13c802b7558d9797ea6bd",
|
|
21
21
|
"packages/core/src/services/media-preview.ts": "89410d8eb9a02e6fb9d9bc0de8a69b48bec7a06039e54569b9fea7e35527b6c4",
|
|
22
22
|
"packages/core/src/services/model-capabilities.ts": "b41c8b6dd34432cd2e44529e7f40aa1dd7c3b5d0d20e5964b78468517e1979df",
|
|
23
|
-
"packages/core/src/services/model-catalog.ts": "
|
|
23
|
+
"packages/core/src/services/model-catalog.ts": "bb522057cfc893eedde05a99b572661dcd7e9281988f67da73e890876b144f4b",
|
|
24
24
|
"packages/core/src/services/model-recommendations.ts": "e986db35ac3a5e3c0c8daa1d4b9e5426e081b90674740de96fbcb11ddc2baf35",
|
|
25
25
|
"packages/core/src/services/param-validator.ts": "506e6d6f6a1ad170024d6a24ffcd2434c73e7ac855a89bbba9fdbb81653416fb",
|
|
26
26
|
"packages/core/src/services/preview-download.ts": "719e100e05f7632f633551773159ba7202f755c6d6ff5ecf364b40eeb26bee7b",
|
|
27
|
-
"packages/core/src/services/pricing-client.ts": "
|
|
27
|
+
"packages/core/src/services/pricing-client.ts": "2e8d1107bac56c7e6fd47dbdd79f35b446af283f3f85a18c8bedeca60b822d98",
|
|
28
|
+
"packages/core/src/services/pricing-quote-client.ts": "cca03e45d2f5f152b1a6112ce9edd5cdeb7d11f99eec531d4754c437e781d6d0",
|
|
29
|
+
"packages/core/src/services/pricing-rules-client.ts": "a7d86718ae4f654425304dd8e5f263dad369475cb06c920b8885b1060f0cee60",
|
|
30
|
+
"packages/core/src/services/pricing-rules-estimate.ts": "1aaf6935e549ceeb7ebf493ffe0fe430a6aabd59c00198b2b640df9d9a5cb827",
|
|
31
|
+
"packages/core/src/services/public-error.ts": "01cf744413fd5ba8206e63fb184356f557a5a76d36506f52fc2540f2480217d9",
|
|
28
32
|
"packages/core/src/services/upload-policy.ts": "2dc36716a3b9e78b078c618b029499bf6e27448dd44900b6f917dda5f8046ce3",
|
|
29
|
-
"packages/core/src/services/upload-slots.ts": "
|
|
33
|
+
"packages/core/src/services/upload-slots.ts": "80da2511394daf61e3b8ed3b9fbed06c28fec7d4d5b1c3d68585bd89fa816096",
|
|
30
34
|
"packages/core/src/services/utm.ts": "adb224e91531b0db809b5de086ddc97bb5a383184458554dcdf784a65cd941a5",
|
|
31
|
-
"packages/core/src/tool-guidance.ts": "
|
|
35
|
+
"packages/core/src/tool-guidance.ts": "e3aad97ac6cf113f3289c6a0f9b3635e582d9950cb10ec49267dfe504633fcf5",
|
|
32
36
|
"packages/core/src/tools/check-balance.ts": "f27b269a3c3c838a54fe54005eb72f637ddfdc2982d932901282bbf072d1efca",
|
|
33
37
|
"packages/core/src/tools/discovery.ts": "50adaf61d2e159a78348661b1b49b0332d47079275f943da67b5f132f8997218",
|
|
34
|
-
"packages/core/src/tools/estimate-cost.ts": "
|
|
35
|
-
"packages/core/src/tools/generate.ts": "
|
|
36
|
-
"packages/core/src/tools/get-model.ts": "
|
|
38
|
+
"packages/core/src/tools/estimate-cost.ts": "b01e7f2a5d9b1a5ec44f58d1f5bade121cb9ed46a63aea98e6bfa0dbb7055b5b",
|
|
39
|
+
"packages/core/src/tools/generate.ts": "7ff1150e256eb5373a0c7f824cacdb65d76056da81d3ea6de0623df2aec7da2b",
|
|
40
|
+
"packages/core/src/tools/get-model.ts": "bd727644aa554c7aa9d0246cbcb427d5063fb4b86fa33561af73f54eed2d1aa6",
|
|
41
|
+
"packages/core/src/tools/get-pricing-rules.ts": "a8325792565a74c3368067918544ab94766ce2f440ee2c10dcb3e4987687d21f",
|
|
37
42
|
"packages/core/src/tools/get-task.ts": "937a5ad4454956dd000abfd11149523d135527018d4d643ede600950d69e6205",
|
|
38
43
|
"packages/core/src/tools/list-tasks.ts": "22e5ac19bbe210fb11ea39afe12fa7f92fb40ffc0560c7bee3d1f9354fc78395",
|
|
39
|
-
"packages/core/src/tools/prepare-upload.ts": "
|
|
44
|
+
"packages/core/src/tools/prepare-upload.ts": "c58cfb04725cc660e34f68391727e99f726e355f9329d91ced56878212294d40",
|
|
40
45
|
"packages/core/src/tools/search-models.ts": "3b950140240ac6c5f0dfdc0264cb4b66d0583e05e220c67245b6e8a7616fc55e",
|
|
41
|
-
"packages/core/src/tools/shared.ts": "
|
|
42
|
-
"packages/core/src/tools/task-
|
|
46
|
+
"packages/core/src/tools/shared.ts": "4edde666dc31af730460cbecf5520cc56626bc2b17f951f849130f3d7d4ccbef",
|
|
47
|
+
"packages/core/src/tools/task-billing.ts": "cfb18355e44caa41ea278b4156bd15e6c3ebca13411c7cf043d7225c5532dcce",
|
|
48
|
+
"packages/core/src/tools/task-format.ts": "d9d367086db95034a04e6f1639fc1bdbced719b046233b0da905d06fd421f595",
|
|
43
49
|
"packages/core/src/tools/task-usage.ts": "ba05d054e1d60d67f6ab75cc6d9169f453c87e0e89c17a2c1be5fc429e8f9f47",
|
|
44
50
|
"packages/core/src/tools/upload-file.ts": "da6f239d1b1e6a13a7b418d24e738ebabf9823b2656111eeaa70eb247421ad40",
|
|
45
|
-
"packages/core/src/version.ts": "
|
|
51
|
+
"packages/core/src/version.ts": "c74733c45af0187c90e4e873d13ae686c690f66df33c5ecbcd0b4e74fc98bca1"
|
|
46
52
|
},
|
|
47
53
|
"artifacts": {
|
|
48
|
-
"core/src/config.js": "
|
|
54
|
+
"core/src/config.js": "e5f001e6bb30fa3ca49ca1383b3deb83ea495d20079adefad6d0451f5bbee0e3",
|
|
49
55
|
"core/src/data/model-constraints.js": "78029eb010d93e87ba4262b69e80bcdd87b979d38ce620c29bab70f9c967df7b",
|
|
50
56
|
"core/src/data/model-params.generated.js": "9f6ee98f59b9571797ab8e3d5ed874724fe386ec7616ae338596db15de8f3f78",
|
|
51
57
|
"core/src/data/model-params.js": "1c746a0547674ca5fb5f2a8bf9f6ca5496e6897193651917c84023088fc749ec",
|
|
52
|
-
"core/src/platform-client.js": "
|
|
53
|
-
"core/src/platform-operations.js": "
|
|
58
|
+
"core/src/platform-client.js": "7268a23e0c42ac454bc78bb4a768166670ad3996c13fa88ede03007dbee755e7",
|
|
59
|
+
"core/src/platform-operations.js": "534da709afd69e664c25e173adb8662644340b7024666036c0c98347e8833cfc",
|
|
54
60
|
"core/src/request-context.js": "ed22b79db1fc8b20c57f0a58e938ff4a833bb6a75a16d2246f732a41256c21e8",
|
|
55
|
-
"core/src/services/api-client.js": "
|
|
61
|
+
"core/src/services/api-client.js": "9c3bbaba17c53f7560b56d344086834cb602ced0a540db18f1755e74fad0d36d",
|
|
56
62
|
"core/src/services/catalog-client.js": "f438fdb13fa9e9ddbf539b265bfcbb77c4d5024835130cbade3b83e9952893cf",
|
|
57
|
-
"core/src/services/error-handler.js": "
|
|
58
|
-
"core/src/services/file-client.js": "
|
|
59
|
-
"core/src/services/http-policy.js": "
|
|
63
|
+
"core/src/services/error-handler.js": "150b2cc39a16b9cf7f51c2ad9db4f7d66ea677e11b63efc06363949709425fc6",
|
|
64
|
+
"core/src/services/file-client.js": "d11798bfddc6637727a874532ad218b5deac58d6bca8f20abcd2c30b132210e4",
|
|
65
|
+
"core/src/services/http-policy.js": "322892ddb21f15cb3111a36b006b3ab62bea7a9d13b05d970ded62bae3ca32cd",
|
|
60
66
|
"core/src/services/model-capabilities.js": "2ad86bc08c82cce82964b18d6187632fc738f8cd17d03de1ef04f27b1e35cfe1",
|
|
61
|
-
"core/src/services/model-catalog.js": "
|
|
67
|
+
"core/src/services/model-catalog.js": "75471fae09c23a8909317ec353255ee8e0934d80a50efd294289f7c6ded9de3b",
|
|
62
68
|
"core/src/services/model-recommendations.js": "f330f941d26aa9fc127c2f7479cb2be026d6111a3f3066e89442ff29ec33803a",
|
|
63
69
|
"core/src/services/param-validator.js": "9e3fba916a39140614851689fcf47f1aa644a30b6192b6126af4d78695f88b10",
|
|
64
70
|
"core/src/services/pricing-client.js": "2f0f74f7769442e4edf8c3f37a66bb1c6c099253189e9b2079ad265d1327225d",
|
|
71
|
+
"core/src/services/pricing-quote-client.js": "11206fa2936f7c380cd36ccf510259dbc31440ddb586746a8a3281616e27781a",
|
|
72
|
+
"core/src/services/pricing-rules-client.js": "133ee1c47b8f8e8ff7fe32e952a0a5ae87e75ab75a5403cb06827e08f119c7f0",
|
|
73
|
+
"core/src/services/pricing-rules-estimate.js": "ed6ae4fedaa68a952cc2b511bec8da30d3eb0a3c36efa5cb293c266b6dfd978f",
|
|
74
|
+
"core/src/services/public-error.js": "3982fd6ecf2600f708aa9d9e86efd72885dd4e2f701dd7880b9fa447e8367e08",
|
|
65
75
|
"core/src/services/utm.js": "8aa328ddb92c3ef65568fab60226cb5fa2e940449d7ac3d6c2e35b6f9bcf835d",
|
|
66
|
-
"core/src/tool-guidance.js": "
|
|
76
|
+
"core/src/tool-guidance.js": "a9ebc5bc761738e9f603ba0111f35328237925a18107a342db589cd35655f1b6",
|
|
67
77
|
"core/src/tools/check-balance.js": "75baa61e57e289fd61a45251665df599967ba0beb4b33cc3976280a9d89421bf",
|
|
68
78
|
"core/src/tools/discovery.js": "6095a2f699fbf465bcae3387b137901ecdbbbb00bbfa6f4b3250a7c293c45b70",
|
|
69
|
-
"core/src/tools/estimate-cost.js": "
|
|
70
|
-
"core/src/tools/generate.js": "
|
|
71
|
-
"core/src/tools/get-model.js": "
|
|
79
|
+
"core/src/tools/estimate-cost.js": "794374dc2b64e87375410e5f1bc049cd9fd1e58cd3b62db1b6f014a3135671fd",
|
|
80
|
+
"core/src/tools/generate.js": "85ef70bb75f685013c35bb862af0fec2ebf35477add9a3bffdafbd7b4fcfea3f",
|
|
81
|
+
"core/src/tools/get-model.js": "32bbba590e8f0fb632dab0e517f761cddcc7b64a8eb76f1d9ae571e6f80bf08d",
|
|
82
|
+
"core/src/tools/get-pricing-rules.js": "6562bd6a765379823305612e93b2f03c789affcc92f75ccf603b4bc64630472e",
|
|
72
83
|
"core/src/tools/get-task.js": "1ef62167c629c7ad859d1d31cd8779eb98e3a22c8bb754b2c355e58515b308f0",
|
|
73
84
|
"core/src/tools/list-tasks.js": "e795aeebed047d3ba72c87d699f3bb1306bc626d04c69db2a2667607abce586e",
|
|
74
85
|
"core/src/tools/search-models.js": "9850b7d2d74a1d69229400d465b21ecb9ede79c75dddeb41787668f418c5bd06",
|
|
75
|
-
"core/src/tools/shared.js": "
|
|
76
|
-
"core/src/tools/task-
|
|
86
|
+
"core/src/tools/shared.js": "77d54bced4e05b3712a2bb44b6075d792d6dde18212aa0e615bf83af1b36bf79",
|
|
87
|
+
"core/src/tools/task-billing.js": "f49b252afcaf4a6275f5db6ebc8e6380387b2406bd5fc91e7367e3523025af8b",
|
|
88
|
+
"core/src/tools/task-format.js": "2daefc0f34ff14f0be38eb65b6e91dacd0c3f111a474e424a25906c9d8122338",
|
|
77
89
|
"core/src/tools/task-usage.js": "3aae5d7807efc2c762bf604cf9ecfecf8f9008185bcef584e6d4243404418dc5",
|
|
78
|
-
"core/src/version.js": "
|
|
90
|
+
"core/src/version.js": "3a11740ee61119d3c9fd6dc0dd4e72b0e7771a92177e68129434fbd514e7251d"
|
|
79
91
|
}
|
|
80
92
|
}
|