@evolinkai/cli 0.14.0 → 0.14.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.
- package/README.md +7 -6
- package/package.json +1 -1
- package/skills/evolink-cli/SKILL.md +7 -7
- package/skills/evolink-cli/references/usage-and-budget.md +3 -3
- package/src/cli.mjs +3 -3
- package/src/help.mjs +2 -2
- package/src/media.mjs +63 -19
- package/src/platform/core/src/services/batch-generation.js +7 -7
- package/src/platform/core/src/services/omni-tokens.js +13 -0
- package/src/platform/core/src/services/pricing-rules-estimate.js +91 -40
- package/src/platform/core/src/services/qwen-tts-tokens.js +187 -0
- package/src/platform/core/src/tool-guidance.js +4 -4
- package/src/platform/core/src/tools/estimate-cost.js +3 -2
- package/src/platform/core/src/tools/generate.js +23 -22
- package/src/platform/core/src/version.js +1 -1
- package/src/platform/source.json +19 -17
|
@@ -10,6 +10,7 @@ import { ApprovedAccountQuote, QuoteParameters, QuoteError } from '../services/p
|
|
|
10
10
|
import { ApprovedRulesEstimate, REFERENCE_BUDGET_FACTOR, amountsForUC, calculateRulesEstimate, createRulesEstimate, checkRulesApproval, readPricingRulesFor, referenceAllowance, referenceBudgetExceeded, rulesBudgetExceeded } from '../services/pricing-rules-estimate.js';
|
|
11
11
|
import { PricingRulesError } from '../services/pricing-rules-client.js';
|
|
12
12
|
import { isOmniTokenModel } from '../services/omni-tokens.js';
|
|
13
|
+
import { isQwenTTSModel, qwenTTSInput } from '../services/qwen-tts-tokens.js';
|
|
13
14
|
import { CLIENT_REQUEST_ID_PATTERN, monotonicNow, newRunId, remainingMs } from '../services/http-policy.js';
|
|
14
15
|
import { formatUsd } from '../services/error-handler.js';
|
|
15
16
|
import { DASHBOARD_CHECK_GUIDANCE, MEDIA_SECONDS_DESCRIPTION, MEDIA_SECONDS_MAX, PAID, dashboardCheck, errorResult, failure, money, ok, progressReporter, retryText, usdOf } from './shared.js';
|
|
@@ -58,26 +59,29 @@ function inputSchema(kind) {
|
|
|
58
59
|
.describe('Model parameters exactly as listed by get_model, e.g. {"prompt":"…","quality":"1080p"}. Do not put model or callback_url here.'),
|
|
59
60
|
// The leading max() lets zod stop at an oversized array instead of checking every element.
|
|
60
61
|
inputs: z.array(z.record(z.string(), z.unknown())).max(MAX_BATCH_ITEMS).min(1).optional()
|
|
61
|
-
.describe(`Several tasks of this model at once (1–${MAX_BATCH_ITEMS}), each item like input. One pricing_quote from estimate_cost with the same inputs, in the same order, approves the whole batch; every item is submitted right away (up to ${BATCH_SUBMIT_CONCURRENCY} at a time) and the result lists each item's task_id or error. Collect the results with list_tasks (task_ids). To finish a batch, call again with the same client_request_id and exactly the same inputs within 24 hours: the items the result lists to finish (not submitted, or refused and since fixed) are then submitted, and accepted items return their original tasks without a new charge.
|
|
62
|
+
.describe(`Several tasks of this model at once (1–${MAX_BATCH_ITEMS}), each item like input. One pricing_quote from estimate_cost with the same inputs, in the same order, approves the whole batch; every item is submitted right away (up to ${BATCH_SUBMIT_CONCURRENCY} at a time) and the result lists each item's task_id or error. Collect the results with list_tasks (task_ids). To finish a batch, call again with the same client_request_id and exactly the same inputs within 24 hours of its first submission: the items the result lists to finish (not submitted, or refused and since fixed) are then submitted, and accepted items return their original tasks without a new charge. Within those 24 hours, never resubmit accepted, not-submitted or unknown-outcome items under a new client_request_id: that creates and charges new tasks. Past them, check list_tasks and submit only the items that did not go through, as a new batch with a new client_request_id. media_seconds and pricing_parameters apply to every item. Pass input or inputs, not both.`),
|
|
62
63
|
client_request_id: z.string().regex(CLIENT_REQUEST_ID_PATTERN).optional()
|
|
63
|
-
.describe(`Optional idempotency key (16–96 characters: letters, digits, . _ -; with inputs at most ${BATCH_REQUEST_ID_MAX}, since each item adds .NN). Reuse the same value only to retry the same request after a network error or timeout, or to finish a batch with exactly the same inputs.`),
|
|
64
|
+
.describe(`Optional idempotency key (16–96 characters: letters, digits, . _ -; with inputs at most ${BATCH_REQUEST_ID_MAX}, since each item adds .NN). Reuse the same value only to retry the same request after a network error or timeout, or to finish a batch with exactly the same inputs, within 24 hours of the first submission.`),
|
|
64
65
|
max_cost_usd: z.number().positive().max(10_000).optional()
|
|
65
66
|
.describe(`Compatibility option for a budget explicitly specified by the user. Compare the submission estimate against that budget; never derive this value from the estimate. This does not limit the final charge. Refuses when the estimate is incomplete or exceeds the budget; a token-billed reference price must fit ${REFERENCE_BUDGET_FACTOR} times over. With inputs it applies to the batch total.`),
|
|
66
67
|
account_quote: ApprovedAccountQuote.optional().describe('Legacy approval. Refresh with estimate_cost and obtain user approval before using the new pricing rules.'),
|
|
67
|
-
pricing_quote: ApprovedRulesEstimate.optional().describe('Client approval record from estimate_cost, for exactly this input (or these inputs). Rechecked against fresh pricing rules before submission
|
|
68
|
+
pricing_quote: ApprovedRulesEstimate.optional().describe('Client approval record from estimate_cost, for exactly this input (or these inputs), valid until its expires_at (24 hours from the estimate). Rechecked against fresh pricing rules before submission: refused if the input changed, the price rose or it expired; an unchanged or lower price submits. Does not bind final settlement.'),
|
|
68
69
|
pricing_parameters: QuoteParameters.optional().describe('The same explicit billing usage passed to estimate_cost.'),
|
|
69
70
|
media_seconds: z.number().positive().max(MEDIA_SECONDS_MAX).optional().describe(MEDIA_SECONDS_DESCRIPTION),
|
|
70
71
|
wait_seconds: z.number().int().min(0).max(MAX_WAIT_SECONDS).optional()
|
|
71
72
|
.describe(`Seconds to wait for the result after submitting, 0–${MAX_WAIT_SECONDS} (default ${WAIT_MS[kind] / 1000}; with inputs only 0). 0 returns the task_id right after submission: use it when submitting several tasks, then collect them with list_tasks.`),
|
|
72
|
-
skip_estimate: z.boolean().optional().describe('Only when the user has explicitly said not to estimate or not to confirm (for example "generate directly", "no need to estimate", "from now on just generate"); never on your own initiative. Submits without an approved estimate, also when the price cannot be computed or a pricing_quote changed, and says so in the result; the task is charged by actual usage. Invalid input and an explicit max_cost_usd are still checked.'),
|
|
73
|
+
skip_estimate: z.boolean().optional().describe('Only when the user has explicitly said not to estimate or not to confirm (for example "generate directly", "no need to estimate", "from now on just generate"); never on your own initiative. Submits without an approved estimate, also when the price cannot be computed or a pricing_quote changed or expired, and says so in the result; the task is charged by actual usage. Invalid input and an explicit max_cost_usd are still checked.'),
|
|
73
74
|
};
|
|
74
75
|
}
|
|
75
76
|
const argsSchema = (kind) => z.object(inputSchema(kind));
|
|
76
|
-
/** What lowers a reference price: GPT Image's output settings,
|
|
77
|
-
const lowerReference = (model) => isOmniTokenModel(model) ? 'quality, duration, images or input videos'
|
|
77
|
+
/** What lowers a reference price: GPT Image's output settings, a Gemini Omni video's resolution, length and media, or a Qwen TTS text. */
|
|
78
|
+
const lowerReference = (model) => isOmniTokenModel(model) ? 'quality, duration, images or input videos'
|
|
79
|
+
: isQwenTTSModel(model) ? 'length of the text' : 'size, quality, count or reference images';
|
|
78
80
|
function rangeText(estimate) {
|
|
79
81
|
return formatEstimateRange(estimate) ?? 'unknown';
|
|
80
82
|
}
|
|
83
|
+
/** A pricing_quote refused for its input, its price or its age: skip_estimate submits anyway and says why. */
|
|
84
|
+
const QUOTE_REFUSALS = new Set(['quote_input_changed', 'price_changed', 'quote_expired']);
|
|
81
85
|
/**
|
|
82
86
|
* Why the price could not be computed, when skip_estimate may set that aside: rules that are missing, unreadable or
|
|
83
87
|
* limited, or usage known only once the task runs. Input problems and a cancelled call are never set aside.
|
|
@@ -105,7 +109,7 @@ function unpriced(error) {
|
|
|
105
109
|
return undefined;
|
|
106
110
|
}
|
|
107
111
|
/**
|
|
108
|
-
* A pricing_quote that no longer
|
|
112
|
+
* A pricing_quote that no longer applies, set aside by skip_estimate: the result names the approved and the current
|
|
109
113
|
* price (`now`, undefined when no total can be computed before the task runs).
|
|
110
114
|
*/
|
|
111
115
|
function changedApproval(error, approval, now, batch = false) {
|
|
@@ -113,7 +117,12 @@ function changedApproval(error, approval, now, batch = false) {
|
|
|
113
117
|
return { reason: 'quote_input_changed', why: batch ? `the pricing_quote was for different inputs${now ? `; the estimate of these inputs is ${now}` : ''}`
|
|
114
118
|
: `the pricing_quote was for a different input${now ? `; this input's estimate is ${now}` : ''}` };
|
|
115
119
|
}
|
|
116
|
-
|
|
120
|
+
const approved = money(Number(amountsForUC(approval.total_uc).credits));
|
|
121
|
+
if (error.code === 'quote_expired') {
|
|
122
|
+
return { reason: 'quote_expired', why: `the pricing_quote expired at ${approval.expires_at} (approved ${approved}, now ${now ?? 'not computable before the task runs'})`,
|
|
123
|
+
approved: approval.total_uc };
|
|
124
|
+
}
|
|
125
|
+
return { reason: 'price_changed', why: `the price rose after it was approved (approved ${approved}, now ${now ?? 'not computable before the task runs'})`,
|
|
117
126
|
approved: approval.total_uc };
|
|
118
127
|
}
|
|
119
128
|
/** Why max_cost_usd could not be checked, and what the assistant can do next. */
|
|
@@ -163,7 +172,7 @@ async function generationModel(config, kind, model) {
|
|
|
163
172
|
}
|
|
164
173
|
/** An input as generate_* submits it, with the problems that stop it and the warnings it carries. */
|
|
165
174
|
function checkGenerationInput(entry, input) {
|
|
166
|
-
const prepared = prepareSeedanceInput(entry, input);
|
|
175
|
+
const prepared = prepareSeedanceInput(entry, qwenTTSInput(entry.id, input));
|
|
167
176
|
const errors = [], warnings = [];
|
|
168
177
|
if (entry.spec) {
|
|
169
178
|
const validation = validateInput(entry.spec, prepared.input);
|
|
@@ -245,10 +254,9 @@ function registerGenerate(server, config, kind) {
|
|
|
245
254
|
if (!skipped)
|
|
246
255
|
throw error;
|
|
247
256
|
}
|
|
248
|
-
let approvalExpired = false;
|
|
249
257
|
if (args.pricing_quote && rulesEstimate) {
|
|
250
258
|
try {
|
|
251
|
-
|
|
259
|
+
checkRulesApproval(args.pricing_quote, rulesEstimate);
|
|
252
260
|
}
|
|
253
261
|
catch (error) {
|
|
254
262
|
if (!skip || !(error instanceof QuoteError))
|
|
@@ -349,15 +357,13 @@ function registerGenerate(server, config, kind) {
|
|
|
349
357
|
if (estimateSkipped) {
|
|
350
358
|
if (!skipped)
|
|
351
359
|
lines.push('Submitted at the user\'s request without an approved estimate (skip_estimate).');
|
|
352
|
-
else if (
|
|
360
|
+
else if (QUOTE_REFUSALS.has(skipped.reason))
|
|
353
361
|
lines.push(`Submitted at the user's request (skip_estimate) although ${skipped.why}.`);
|
|
354
362
|
else
|
|
355
363
|
lines.push(`Price check skipped at the user's request (skip_estimate): ${skipped.why}. The task is charged by actual usage.`);
|
|
356
364
|
if (!(typeof reserved === 'number' && reserved > 0) && task.status !== 'completed')
|
|
357
365
|
lines.push('get_task shows the charge when the task finishes.');
|
|
358
366
|
}
|
|
359
|
-
if (approvalExpired)
|
|
360
|
-
lines.push(`The approved estimate expired at ${args.pricing_quote.expires_at}, but the input and price are unchanged, so it was submitted under that approval.`);
|
|
361
367
|
if (estimate?.status === 'estimated')
|
|
362
368
|
lines.push(`Estimate before submitting: ${rangeText(estimate)}`);
|
|
363
369
|
if (reference && estimate)
|
|
@@ -394,7 +400,6 @@ function registerGenerate(server, config, kind) {
|
|
|
394
400
|
client_request_id: clientRequestId,
|
|
395
401
|
submission_state: 'accepted',
|
|
396
402
|
replayed: submitted.idempotency_replayed === true,
|
|
397
|
-
...(approvalExpired ? { approval_expired: true } : {}),
|
|
398
403
|
...(estimateSkipped ? { estimate_skipped: true, estimate_skip_reason: skipped?.reason ?? 'none' } : {}),
|
|
399
404
|
...(skipped?.approved ? { approved_amounts: amountsForUC(skipped.approved) } : {}),
|
|
400
405
|
...(typeof reserved === 'number' ? { reserved_credits: reserved, reserved_usd: usdOf(reserved) } : {}),
|
|
@@ -528,10 +533,9 @@ async function generateBatch(config, kind, args, extra, startedMono) {
|
|
|
528
533
|
}) : [];
|
|
529
534
|
const estimates = rules && priced.every(item => item !== undefined) ? priced : undefined;
|
|
530
535
|
const total = estimates ? batchTotal(entry.id, estimates) : undefined;
|
|
531
|
-
let expiredApproval = false;
|
|
532
536
|
if (args.pricing_quote && total) {
|
|
533
537
|
try {
|
|
534
|
-
|
|
538
|
+
checkBatchApproval(args.pricing_quote, total.approval);
|
|
535
539
|
}
|
|
536
540
|
catch (error) {
|
|
537
541
|
if (!skipEstimate || !(error instanceof QuoteError))
|
|
@@ -615,7 +619,7 @@ async function generateBatch(config, kind, args, extra, startedMono) {
|
|
|
615
619
|
if (skippedBatch) {
|
|
616
620
|
if (!batchSkipped && !someItemsSkipped)
|
|
617
621
|
lines.push('Submitted at the user\'s request without an approved estimate (skip_estimate).');
|
|
618
|
-
else if (batchSkipped
|
|
622
|
+
else if (batchSkipped && QUOTE_REFUSALS.has(batchSkipped.reason))
|
|
619
623
|
lines.push(`Submitted at the user's request (skip_estimate) although ${batchSkipped.why}.`);
|
|
620
624
|
else if (batchSkipped)
|
|
621
625
|
lines.push(`Price check skipped at the user's request (skip_estimate): ${batchSkipped.why}. The tasks are charged by actual usage.`);
|
|
@@ -625,8 +629,6 @@ async function generateBatch(config, kind, args, extra, startedMono) {
|
|
|
625
629
|
if (accepted.some(report => !report.reserved))
|
|
626
630
|
lines.push('list_tasks or get_task shows each charge when its task finishes.');
|
|
627
631
|
}
|
|
628
|
-
if (expiredApproval)
|
|
629
|
-
lines.push(`The approved estimate expired at ${args.pricing_quote.expires_at}, but the inputs and price are unchanged, so the batch was submitted under that approval.`);
|
|
630
632
|
if (total?.status === 'estimated')
|
|
631
633
|
lines.push(`Estimate before submitting: ${rangeText(total.estimate)} for ${count} input${count === 1 ? '' : 's'}.`);
|
|
632
634
|
if (tokenBilled && total)
|
|
@@ -649,7 +651,7 @@ async function generateBatch(config, kind, args, extra, startedMono) {
|
|
|
649
651
|
lines.push(`Collect the results with list_tasks (task_ids: ${taskIds.join(', ')}); it is free and read-only.`);
|
|
650
652
|
if (finishing.length) {
|
|
651
653
|
const fixFirst = reports.some(report => report.finishable && report.state === 'rejected');
|
|
652
|
-
lines.push(`To finish the batch, call ${name} again with client_request_id "${batchId}" and exactly the same inputs within 24 hours${fixFirst ? ', after fixing what the refused inputs need' : ''}: ${itemList(finishing)} will then be submitted, and accepted items return their original tasks without a new charge.`);
|
|
654
|
+
lines.push(`To finish the batch, call ${name} again with client_request_id "${batchId}" and exactly the same inputs within 24 hours of its first submission${fixFirst ? ', after fixing what the refused inputs need' : ''}: ${itemList(finishing)} will then be submitted, and accepted items return their original tasks without a new charge.`);
|
|
653
655
|
}
|
|
654
656
|
if (unknown.length)
|
|
655
657
|
lines.push(`The outcome of ${itemList(unknown)} is unknown: retry later with the same client_request_id and inputs, or check list_tasks.`);
|
|
@@ -679,7 +681,6 @@ async function generateBatch(config, kind, args, extra, startedMono) {
|
|
|
679
681
|
client_request_id: batchId,
|
|
680
682
|
submission_state: accepted.length === count ? 'accepted' : accepted.length ? 'partial'
|
|
681
683
|
: counts.outcome_unknown ? 'outcome_unknown' : counts.rejected ? 'rejected' : 'not_submitted',
|
|
682
|
-
...(expiredApproval ? { approval_expired: true } : {}),
|
|
683
684
|
...(skippedBatch ? { estimate_skipped: true, estimate_skip_reason: skipReasons } : {}),
|
|
684
685
|
...(batchSkipped?.approved ? { approved_amounts: amountsForUC(batchSkipped.approved) } : {}),
|
|
685
686
|
...(heldCredits > 0 ? { reserved_credits: heldCredits, reserved_usd: usdOf(heldCredits) } : {}),
|
|
@@ -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.12.
|
|
4
|
+
export const MCP_VERSION = '1.12.1';
|
package/src/platform/source.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"schema_version": 1,
|
|
3
3
|
"repository": "Evolink-AI/evolink-mcp",
|
|
4
4
|
"baseline": "acc9fd43b945e3917b47809fc94f85ba26c7c8db",
|
|
5
|
-
"source_sha256": "
|
|
5
|
+
"source_sha256": "adfc3c4d069291aacb845fca8564d3cddc65bc20648c007237c4b88889737dbe",
|
|
6
6
|
"files": {
|
|
7
7
|
"packages/core/src/branding.ts": "534b944a1370f210a3858c1a85b1a23071aca8e26b7a3e70e4d859ba5b152ff7",
|
|
8
8
|
"packages/core/src/config.ts": "85e1f33f5a6f0c298d3acabbf50a3c328cc50152fd2da0b029ed033aa819b874",
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
"packages/core/src/platform-client.ts": "d272d1fbd7939acd69482207f1a75550e4ff8f584deee8f6d0c8ace86e453b6d",
|
|
14
14
|
"packages/core/src/platform-operations.ts": "cc961cdd754dd5bee335d01400329e3f3f6748fc53641f8bb5c2ab59f86c793a",
|
|
15
15
|
"packages/core/src/request-context.ts": "51169ceef179258603d8ed9c1441519d4a5dfd95caac950dfb535250b9bfa572",
|
|
16
|
-
"packages/core/src/server.ts": "
|
|
16
|
+
"packages/core/src/server.ts": "7583f3463cba4a263173f321a6b3585f73fd5f94c5f4f93f61664940416be296",
|
|
17
17
|
"packages/core/src/services/api-client.ts": "3c94d862afdebb09faee121bc9a8560858046c76335c155d6a47f71567da0d8e",
|
|
18
|
-
"packages/core/src/services/batch-generation.ts": "
|
|
18
|
+
"packages/core/src/services/batch-generation.ts": "ad8dbccf04331e27e5ede8cf0b27627f1200bf8fecfafdeaed22f63daa1edf90",
|
|
19
19
|
"packages/core/src/services/catalog-client.ts": "154cf6249ec36d3105eb5abae7eda323f06f4d995277c47c30e8d2b5c95cf691",
|
|
20
20
|
"packages/core/src/services/error-handler.ts": "fd07d5dbd4cad3b4e75d7192c4d49623d92666fef40bd688646e0f756c208d5a",
|
|
21
21
|
"packages/core/src/services/file-client.ts": "9bd94da9a0719fba0050be261fb5210397be4e8b9e6ebc8a2e916fcc185fd2d2",
|
|
@@ -26,27 +26,28 @@
|
|
|
26
26
|
"packages/core/src/services/model-capabilities.ts": "77766e4a2ff0edcfc3c5125e3f53589b703bd11e49c69b71aa81dba5af3e1fd6",
|
|
27
27
|
"packages/core/src/services/model-catalog.ts": "0cad28a41774ea99ff6caf66860ac33a02e8fab254243368d502935b33842364",
|
|
28
28
|
"packages/core/src/services/model-recommendations.ts": "e986db35ac3a5e3c0c8daa1d4b9e5426e081b90674740de96fbcb11ddc2baf35",
|
|
29
|
-
"packages/core/src/services/omni-tokens.ts": "
|
|
29
|
+
"packages/core/src/services/omni-tokens.ts": "eb84a2feab02afe9b527ac259514f5666dc5336506feb509eb4dcbd2e2281690",
|
|
30
30
|
"packages/core/src/services/param-validator.ts": "f045100e6722bf12a91bac0b593f41c98b9a755a38eae074a941f9bbe340a1e3",
|
|
31
31
|
"packages/core/src/services/preview-download.ts": "719e100e05f7632f633551773159ba7202f755c6d6ff5ecf364b40eeb26bee7b",
|
|
32
32
|
"packages/core/src/services/pricing-call-limit.ts": "6ae56916cd08680c97d266ac08dc6e4cb9bb998a656bde82e703e8a50b471bc1",
|
|
33
|
-
"packages/core/src/services/pricing-client.ts": "
|
|
33
|
+
"packages/core/src/services/pricing-client.ts": "c6bc7a74c3ac34a28b014f6f60b0f794346c540e2aa26d58ec62b50dc74dae25",
|
|
34
34
|
"packages/core/src/services/pricing-derived.ts": "70ac6538859d37d76db3d827048ad3d59053eaa8dbe40c25c06cbd5118062ebc",
|
|
35
35
|
"packages/core/src/services/pricing-quote-client.ts": "52dc7ef980584fcdf3e57d5834c3dd63feddc4197c88b43ebd5b3b2ae466dbac",
|
|
36
36
|
"packages/core/src/services/pricing-rules-client.ts": "65d8acad2252a3797f53922fb7bb3f1c55529a39b7ac40f781bf8939cf269dc5",
|
|
37
|
-
"packages/core/src/services/pricing-rules-estimate.ts": "
|
|
37
|
+
"packages/core/src/services/pricing-rules-estimate.ts": "d82d3aa0c70bdc48f2667c49ac4b20bb8f769f3b65207361eace5409ca0e3e65",
|
|
38
38
|
"packages/core/src/services/public-error.ts": "b74fbaf9a8b5265a392939e744d33a0b30783d287334a7c68e7d4a27d9e34937",
|
|
39
|
+
"packages/core/src/services/qwen-tts-tokens.ts": "6d253b6fa55e2c04c24a808be35e4864d8dbf89c541dec0ce7234de5fb32626d",
|
|
39
40
|
"packages/core/src/services/search-usage.ts": "8c5997b79a699d176313cc2a2f2b2e6ebd23b878e66035bc39600180de3266ad",
|
|
40
41
|
"packages/core/src/services/seedance-input.ts": "e16fa0c03af1afe3afba12045e69b731ec71a9d8af6ef0e30a0a988a36de251b",
|
|
41
42
|
"packages/core/src/services/task-response.ts": "09887c6c325dd04b4f6569ca243673d499cfe4acd414e8209cc8c9e9349513f2",
|
|
42
43
|
"packages/core/src/services/upload-policy.ts": "2dc36716a3b9e78b078c618b029499bf6e27448dd44900b6f917dda5f8046ce3",
|
|
43
44
|
"packages/core/src/services/upload-slots.ts": "80da2511394daf61e3b8ed3b9fbed06c28fec7d4d5b1c3d68585bd89fa816096",
|
|
44
45
|
"packages/core/src/services/utm.ts": "adb224e91531b0db809b5de086ddc97bb5a383184458554dcdf784a65cd941a5",
|
|
45
|
-
"packages/core/src/tool-guidance.ts": "
|
|
46
|
+
"packages/core/src/tool-guidance.ts": "e726593a9b6aee2d3d7c2d9ea9a8178b5eab75d8cf6de2a897382085d7d079f4",
|
|
46
47
|
"packages/core/src/tools/check-balance.ts": "f27b269a3c3c838a54fe54005eb72f637ddfdc2982d932901282bbf072d1efca",
|
|
47
48
|
"packages/core/src/tools/discovery.ts": "50adaf61d2e159a78348661b1b49b0332d47079275f943da67b5f132f8997218",
|
|
48
|
-
"packages/core/src/tools/estimate-cost.ts": "
|
|
49
|
-
"packages/core/src/tools/generate.ts": "
|
|
49
|
+
"packages/core/src/tools/estimate-cost.ts": "8a3bb9b3f3d7b19bdc4cc8f74b52b4a359439cf20a36518fe630524f3e82319b",
|
|
50
|
+
"packages/core/src/tools/generate.ts": "73228e555024611297ba5f893fb87d4cfcdc6bf9854047df3cb2e00eb5d70c28",
|
|
50
51
|
"packages/core/src/tools/get-model.ts": "2be7759cd62cddbab0c74e504f6694a577ba4fbaf037cd77ae8ab638f5d6ef32",
|
|
51
52
|
"packages/core/src/tools/get-pricing-rules.ts": "9488d008a8e42ee8746a82f8cd69bfbebf3af798dc34de9d96443f9166b976ab",
|
|
52
53
|
"packages/core/src/tools/get-task.ts": "41aa5d994c2820096c38c01d69bcea56adfbc6f500314d6858e2ba54aa63520d",
|
|
@@ -58,7 +59,7 @@
|
|
|
58
59
|
"packages/core/src/tools/task-format.ts": "fea6591b9fc7b9bd33862bc154ba28baba163ca022e5b1e7e1480cc52a3289e5",
|
|
59
60
|
"packages/core/src/tools/task-usage.ts": "ba05d054e1d60d67f6ab75cc6d9169f453c87e0e89c17a2c1be5fc429e8f9f47",
|
|
60
61
|
"packages/core/src/tools/upload-file.ts": "da6f239d1b1e6a13a7b418d24e738ebabf9823b2656111eeaa70eb247421ad40",
|
|
61
|
-
"packages/core/src/version.ts": "
|
|
62
|
+
"packages/core/src/version.ts": "f5f1061ac61fd43c48fb70ea8eca9bb7f0c10c5680ee54080e4dad20a712f51d"
|
|
62
63
|
},
|
|
63
64
|
"artifacts": {
|
|
64
65
|
"core/src/config.js": "e5f001e6bb30fa3ca49ca1383b3deb83ea495d20079adefad6d0451f5bbee0e3",
|
|
@@ -70,7 +71,7 @@
|
|
|
70
71
|
"core/src/platform-operations.js": "c0e2049d8ee21f57bb79a819850ab701b202637b948e61816016f4d66439d4b4",
|
|
71
72
|
"core/src/request-context.js": "ed22b79db1fc8b20c57f0a58e938ff4a833bb6a75a16d2246f732a41256c21e8",
|
|
72
73
|
"core/src/services/api-client.js": "55b6a6a25abbce5e4f033bb6c74fc6aae32ea522a05a7a469e25a503bd1fe8d2",
|
|
73
|
-
"core/src/services/batch-generation.js": "
|
|
74
|
+
"core/src/services/batch-generation.js": "c2d746c930f0f9a65cbcc0370d3214b793f5f582e8b5be9aa1f98cf84c517691",
|
|
74
75
|
"core/src/services/catalog-client.js": "82d08cc7154aec3fc1ea30f91ffd8b178e732b9b87cfa9117435c7ad01718318",
|
|
75
76
|
"core/src/services/error-handler.js": "edea48a8eaf90b4193a503c0418ba7157acabfe89833a39c1d41bbf568de8355",
|
|
76
77
|
"core/src/services/file-client.js": "d11798bfddc6637727a874532ad218b5deac58d6bca8f20abcd2c30b132210e4",
|
|
@@ -80,24 +81,25 @@
|
|
|
80
81
|
"core/src/services/model-capabilities.js": "d0ffa771076b66d738192b456ec119b672bcade6e3d55bfafd32b44697d4a96a",
|
|
81
82
|
"core/src/services/model-catalog.js": "e25b005d48a38106565919cdfb50abf2b018b92e7d762a88470ba3af1ba2fa06",
|
|
82
83
|
"core/src/services/model-recommendations.js": "f330f941d26aa9fc127c2f7479cb2be026d6111a3f3066e89442ff29ec33803a",
|
|
83
|
-
"core/src/services/omni-tokens.js": "
|
|
84
|
+
"core/src/services/omni-tokens.js": "3d4913027ac04e3212aa399e9c060a2697ccc9ea3aef2d0b4ff7ec7dd07c8238",
|
|
84
85
|
"core/src/services/param-validator.js": "8a42dd254d9383ed1d92238f65e5407faa979398b3c7bca08eb46933be396d47",
|
|
85
86
|
"core/src/services/pricing-call-limit.js": "96bf04c9138b36300ef03366b851a5a4974cb12bba2dc63065f78402543ce22b",
|
|
86
87
|
"core/src/services/pricing-client.js": "2f0f74f7769442e4edf8c3f37a66bb1c6c099253189e9b2079ad265d1327225d",
|
|
87
88
|
"core/src/services/pricing-derived.js": "aad78fd0cc522cd2d9684967f6a5b3b1013b36315dd79368a4e1131318bb0ed8",
|
|
88
89
|
"core/src/services/pricing-quote-client.js": "4e2ac98adc84546dcce7380082d1e24b5ffc96e1f837a54a63ca8d7d9153a70b",
|
|
89
90
|
"core/src/services/pricing-rules-client.js": "8b144be1c73737fb90cb28805ae21fabe402a439a87170e6c1f630f5844e07b9",
|
|
90
|
-
"core/src/services/pricing-rules-estimate.js": "
|
|
91
|
+
"core/src/services/pricing-rules-estimate.js": "3e33704c612c7f103dd52a28466d2598a8bdf4e8c99d0b0b402a4f84d17765c2",
|
|
91
92
|
"core/src/services/public-error.js": "60995dcbcb23d43800a9db36acefe86402781226516e3634b3bf0351ba0623e8",
|
|
93
|
+
"core/src/services/qwen-tts-tokens.js": "2af9854d271fbb0135190cff155f92d0323d73046638abc37e7c444df65d62a5",
|
|
92
94
|
"core/src/services/search-usage.js": "35e99dae5a548bef57a9b3b61d8ed28f4e6444308943baa71c608ad79953588a",
|
|
93
95
|
"core/src/services/seedance-input.js": "cfe5ea052c7926c31e2492bcb3e524cec0c3e4f4419f1f823d2f9cf275b52220",
|
|
94
96
|
"core/src/services/task-response.js": "28969c1aa86a8bcdf5dbfa4149fa86fa526dcd5730f922df0eed882ec30ddeaa",
|
|
95
97
|
"core/src/services/utm.js": "8aa328ddb92c3ef65568fab60226cb5fa2e940449d7ac3d6c2e35b6f9bcf835d",
|
|
96
|
-
"core/src/tool-guidance.js": "
|
|
98
|
+
"core/src/tool-guidance.js": "f4dd30891defd600dad0dcad380c8071f4620265198a18382d407799f3026f40",
|
|
97
99
|
"core/src/tools/check-balance.js": "75baa61e57e289fd61a45251665df599967ba0beb4b33cc3976280a9d89421bf",
|
|
98
100
|
"core/src/tools/discovery.js": "6095a2f699fbf465bcae3387b137901ecdbbbb00bbfa6f4b3250a7c293c45b70",
|
|
99
|
-
"core/src/tools/estimate-cost.js": "
|
|
100
|
-
"core/src/tools/generate.js": "
|
|
101
|
+
"core/src/tools/estimate-cost.js": "c0a1bb82fd5702675d432c8a21676f3ecc0de910d2de04b1199f835abe4d3a82",
|
|
102
|
+
"core/src/tools/generate.js": "0a2d2b9851ee1b6b8728bba97677fb8470cb50adb6430899e4d0654ca31b4b9d",
|
|
101
103
|
"core/src/tools/get-model.js": "2a150605c736ac0d6bd124337f55f3d4b797b074fb2aa6d04ca391c2a4b124ca",
|
|
102
104
|
"core/src/tools/get-pricing-rules.js": "534107dd2c128b596106309582a138e4d83f7b11ceb5c2ef716769e240d9b872",
|
|
103
105
|
"core/src/tools/get-task.js": "8803606894bfa0fed3da3177ce17818c03938973108a5b5e0477103b52ba9e9b",
|
|
@@ -107,6 +109,6 @@
|
|
|
107
109
|
"core/src/tools/task-billing.js": "f49b252afcaf4a6275f5db6ebc8e6380387b2406bd5fc91e7367e3523025af8b",
|
|
108
110
|
"core/src/tools/task-format.js": "13c558fab7278cb62c07df924eb37a0d0f1771fdd0c531b661e8499e7c2393b3",
|
|
109
111
|
"core/src/tools/task-usage.js": "3aae5d7807efc2c762bf604cf9ecfecf8f9008185bcef584e6d4243404418dc5",
|
|
110
|
-
"core/src/version.js": "
|
|
112
|
+
"core/src/version.js": "f098d30777a7c2aef1283a1d6f15485d9758e5bdd7c6078a07e1ba128ce2c077"
|
|
111
113
|
}
|
|
112
114
|
}
|