@evolinkai/cli 0.10.0 → 0.10.2
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 +1 -1
- package/package.json +1 -1
- package/skills/evolink-cli/SKILL.md +1 -1
- package/src/media.mjs +5 -1
- package/src/platform/core/src/services/error-handler.js +53 -15
- package/src/platform/core/src/services/model-catalog.js +10 -1
- package/src/platform/core/src/services/pricing-quote-client.js +3 -1
- package/src/platform/core/src/services/pricing-rules-client.js +52 -8
- package/src/platform/core/src/services/pricing-rules-estimate.js +8 -1
- package/src/platform/core/src/services/public-error.js +5 -0
- package/src/platform/core/src/tools/get-pricing-rules.js +4 -0
- package/src/platform/core/src/tools/list-tasks.js +7 -6
- package/src/platform/core/src/tools/task-format.js +9 -1
- package/src/platform/core/src/version.js +1 -1
- package/src/platform/source.json +23 -23
package/README.md
CHANGED
|
@@ -242,7 +242,7 @@ See [Gemini trusted folders](https://geminicli.com/docs/cli/trusted-folders/) an
|
|
|
242
242
|
|
|
243
243
|
Generation errors preserve the saved quote and request ID when acceptance or charging is uncertain. `charged: no` alone does not authorize a new request: `submission_state` must also establish `not_submitted` or `rejected`. Recover uncertain submissions with the original quote, and query a known task. A new generation needs a fresh estimate and user approval.
|
|
244
244
|
|
|
245
|
-
A failed
|
|
245
|
+
A failed task is not charged: the credits reserved at submission are returned automatically, as `billing_note` says. Its `error.code` and `error.message` are what the API reports (the message on one line, without secrets, service addresses or links other than EvoLink docs); `channel_*` codes, which concern EvoLink's own upstream accounts, are reported as `service_unavailable`. A cancelled task does not establish a refund. `tasks get` can successfully return a failed task, while `tasks wait` exits nonzero with `task_failed`, a message naming the error code, and the same task and billing details. `billing.refund_status` reports account-balance evidence: `unknown`, `pending`, `failed`, `completed`, or `not_required`. A completed refund includes recorded credits and time; key-limit restoration remains unknown. Without billing fields the status stays `unknown`: a failed task still carries the `billing_note`, but no completed refund is claimed.
|
|
246
246
|
|
|
247
247
|
### Rules estimates and refresh
|
|
248
248
|
|
package/package.json
CHANGED
|
@@ -79,7 +79,7 @@ The saved model and input are the submitted model and input. A changed or expire
|
|
|
79
79
|
|
|
80
80
|
Use `generate` for the first submission of an approved quote. `tasks resume` is only for a submission whose reply was lost or whose outcome is unknown; it is not a quote-status command. If it returns `submission_not_started`, no task exists: use the original already-approved quote with `generate`, without creating another quote.
|
|
81
81
|
|
|
82
|
-
Use `--json` for commands consumed by the assistant. Progress is on stderr; stdout is one JSON envelope with `schema_version: 1`. `ok: false` and a nonzero exit code indicate a command error; a successful task query reporting `status: failed` is a task outcome, not a failed CLI invocation. Read the error's recovery details before retrying. For `invalid_status`, use `error.details.allowed_values` and correct only the free query; local status validation occurs before a platform request. Never guess an enum, interpret an empty list as a service failure, or resubmit a paid task to fix a query error. Run `evolink --help` for the maintained command reference and `evolink tasks list --help` for task filters.
|
|
82
|
+
Use `--json` for commands consumed by the assistant. Progress is on stderr; stdout is one JSON envelope with `schema_version: 1`. `ok: false` and a nonzero exit code indicate a command error; a successful task query reporting `status: failed` is a task outcome, not a failed CLI invocation. Tell the user its `error.code` and `error.message` (EvoLink's explanation). A failed task is not charged; the credits reserved at submission are returned automatically (`billing_note`). Read the error's recovery details before retrying. For `invalid_status`, use `error.details.allowed_values` and correct only the free query; local status validation occurs before a platform request. Never guess an enum, interpret an empty list as a service failure, or resubmit a paid task to fix a query error. Run `evolink --help` for the maintained command reference and `evolink tasks list --help` for task filters.
|
|
83
83
|
|
|
84
84
|
For setup problems, run `evolink doctor --agent NAME --json` if the installed version supports the agent option; otherwise use `doctor --json`. Read every failed or skipped check and every `guidance` entry; without `--agent`, outdated or modified skill copies appear in `guidance` and `skills` without failing the check. On Linux, login and later commands need the same unlocked Secret Service/D-Bus session. On SSH hosts, opening the link on another computer requires forwarding the loopback callback port; `--no-browser` does not solve callback routing. Report connection, model discovery and assistant skill discovery separately.
|
|
85
85
|
|
package/src/media.mjs
CHANGED
|
@@ -161,7 +161,11 @@ export class Media {
|
|
|
161
161
|
const remaining = Math.max(0, Math.ceil((deadline - Date.now()) / 1000));
|
|
162
162
|
const task = await this.client.call('get_task', { task_id: taskId, wait_seconds: Math.min(30, remaining) });
|
|
163
163
|
if (task.status === 'completed') return task;
|
|
164
|
-
|
|
164
|
+
// task.error.code is the shared core's user-facing code, the one the API reports.
|
|
165
|
+
if (['failed', 'cancelled'].includes(task.status)) {
|
|
166
|
+
throw new CliError('task_failed', `The generation task ${task.status === 'failed' ? 'failed' : 'was cancelled'}${
|
|
167
|
+
task.error?.code ? ` with error code ${task.error.code}` : ''}.`, { task });
|
|
168
|
+
}
|
|
165
169
|
progress(`${task.task_id}: ${task.status}${task.progress !== undefined ? ` (${task.progress}%)` : ''}`);
|
|
166
170
|
if (Date.now() >= deadline) throw new CliError('wait_timeout', 'The task is still running. Continue with tasks wait.', { task_id: taskId });
|
|
167
171
|
await new Promise(resolve => { const timer = setTimeout(done, 500); function done() { clearTimeout(timer); signal?.removeEventListener('abort', done); resolve(); } signal?.addEventListener('abort', done, { once: true }); });
|
|
@@ -1,6 +1,6 @@
|
|
|
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 { publicIdentifier, publicLabel, publicNumber } from './public-error.js';
|
|
3
|
+
import { publicIdentifier, publicLabel, publicNumber, publicText } from './public-error.js';
|
|
4
4
|
import { currentCredentialMode } from '../request-context.js';
|
|
5
5
|
import { API_KEYS_URL, MCP_CONSOLE_URL, MCP_KEY_NAME, TOP_UP_URL, siteUrl } from './http-policy.js';
|
|
6
6
|
import { trackedLink } from './utm.js';
|
|
@@ -403,7 +403,7 @@ const TASK_ERROR_MAP = {
|
|
|
403
403
|
retryable: false,
|
|
404
404
|
},
|
|
405
405
|
request_cancelled: {
|
|
406
|
-
suggestion: 'The task was cancelled
|
|
406
|
+
suggestion: 'The task was cancelled or interrupted before it completed.',
|
|
407
407
|
retryable: false,
|
|
408
408
|
},
|
|
409
409
|
resource_not_found: {
|
|
@@ -411,11 +411,13 @@ const TASK_ERROR_MAP = {
|
|
|
411
411
|
retryable: false,
|
|
412
412
|
},
|
|
413
413
|
generation_timeout: {
|
|
414
|
-
suggestion: 'The generation timed out.
|
|
414
|
+
suggestion: 'The generation timed out. Retain the task ID before considering another generation.',
|
|
415
415
|
retryable: true,
|
|
416
416
|
},
|
|
417
|
+
// A task fails with this code when the upstream channel is rate-limited or out of capacity.
|
|
418
|
+
// The user's balance and key limits are checked at submission and refuse the request instead.
|
|
417
419
|
quota_exceeded: {
|
|
418
|
-
suggestion:
|
|
420
|
+
suggestion: 'The upstream channel’s capacity or rate limit was reached. This is not the user’s balance or key limit. Wait before considering another generation.',
|
|
419
421
|
retryable: true,
|
|
420
422
|
},
|
|
421
423
|
resource_exhausted: {
|
|
@@ -427,11 +429,11 @@ const TASK_ERROR_MAP = {
|
|
|
427
429
|
retryable: false,
|
|
428
430
|
},
|
|
429
431
|
service_error: {
|
|
430
|
-
suggestion: 'The generation service reported an error. Retain the task ID
|
|
432
|
+
suggestion: 'The generation service reported an error. Retain the task ID.',
|
|
431
433
|
retryable: true,
|
|
432
434
|
},
|
|
433
435
|
service_unavailable: {
|
|
434
|
-
suggestion: 'The generation service was temporarily unavailable. Retain the task ID
|
|
436
|
+
suggestion: 'The generation service was temporarily unavailable. Retain the task ID.',
|
|
435
437
|
retryable: true,
|
|
436
438
|
},
|
|
437
439
|
unknown_error: {
|
|
@@ -439,19 +441,55 @@ const TASK_ERROR_MAP = {
|
|
|
439
441
|
retryable: false,
|
|
440
442
|
},
|
|
441
443
|
};
|
|
444
|
+
/** A rule-specific code: invalid_* names an input the user can fix; the rest have no fixed guidance. */
|
|
445
|
+
const RULE_INPUT_ERROR = {
|
|
446
|
+
suggestion: 'Fix the input this code names, checking this model’s get_model rules.',
|
|
447
|
+
retryable: false,
|
|
448
|
+
};
|
|
449
|
+
const RULE_ERROR = {
|
|
450
|
+
suggestion: 'EvoLink reported this error code for the task. Retain the task ID and give it to EvoLink support if the cause is unclear.',
|
|
451
|
+
retryable: false,
|
|
452
|
+
};
|
|
453
|
+
/**
|
|
454
|
+
* The code the user sees on the API, so the user and the assistant name the same error.
|
|
455
|
+
* channel_* codes describe EvoLink's own upstream channel accounts, which the user cannot fix;
|
|
456
|
+
* the user-facing code for them is service_unavailable.
|
|
457
|
+
*/
|
|
458
|
+
export function publicTaskErrorCode(value) {
|
|
459
|
+
const code = typeof value === 'string' ? value.trim().toLowerCase() : '';
|
|
460
|
+
if (!/^[a-z][a-z0-9_]{0,63}$/.test(code))
|
|
461
|
+
return 'unknown_error';
|
|
462
|
+
return code.startsWith('channel_') ? 'service_unavailable' : code;
|
|
463
|
+
}
|
|
442
464
|
export function getTaskErrorInfo(code) {
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
465
|
+
return Object.prototype.hasOwnProperty.call(TASK_ERROR_MAP, code) ? TASK_ERROR_MAP[code]
|
|
466
|
+
: code.startsWith('invalid_') ? RULE_INPUT_ERROR : RULE_ERROR;
|
|
467
|
+
}
|
|
468
|
+
/** Longest gateway explanation passed on for one failed task, in characters. */
|
|
469
|
+
const TASK_MESSAGE_MAX = 1000;
|
|
470
|
+
/**
|
|
471
|
+
* The gateway's explanation of a failed task, as API users see it, on one line: secrets,
|
|
472
|
+
* service addresses and links other than EvoLink docs are removed. It says why the task failed;
|
|
473
|
+
* what to do next still comes from the suggestion.
|
|
474
|
+
*/
|
|
475
|
+
export function publicTaskMessage(value) {
|
|
476
|
+
if (typeof value !== 'string')
|
|
477
|
+
return undefined;
|
|
478
|
+
// Four live rules type the upload-guide link as "https: //"; repair it rather than drop it.
|
|
479
|
+
const text = publicText(value.replace(/https: \/\/evolink\.ai\//g, 'https://evolink.ai/'))
|
|
480
|
+
.replace(/[\u200b-\u200f\u202a-\u202e\u2066-\u2069\ufeff]/g, '')
|
|
481
|
+
.replace(/\s+/g, ' ').trim();
|
|
482
|
+
if (!text)
|
|
483
|
+
return undefined;
|
|
484
|
+
const chars = [...text];
|
|
485
|
+
return chars.length > TASK_MESSAGE_MAX ? `${chars.slice(0, TASK_MESSAGE_MAX - 1).join('').trimEnd()}…` : text;
|
|
448
486
|
}
|
|
449
487
|
export function publicTaskError(error = {}) {
|
|
450
|
-
const code =
|
|
451
|
-
? error.code : 'unknown_error';
|
|
488
|
+
const code = publicTaskErrorCode(error.code);
|
|
452
489
|
const info = getTaskErrorInfo(code);
|
|
453
|
-
|
|
454
|
-
|
|
490
|
+
const message = publicTaskMessage(error.message)
|
|
491
|
+
?? (code === 'unknown_error' ? 'Generation failed; the cause is unknown.' : `Generation did not complete (${code}).`);
|
|
492
|
+
return { code, message, ...info };
|
|
455
493
|
}
|
|
456
494
|
export function formatTaskError(error) {
|
|
457
495
|
const info = publicTaskError(error);
|
|
@@ -41,16 +41,25 @@ export async function loadCatalog(config, pricingOptions = {}) {
|
|
|
41
41
|
try {
|
|
42
42
|
const { body } = await getPricingRules({ view: 'full' }, { fresh: pricingOptions.fresh });
|
|
43
43
|
const rules = 'models' in body ? body.models : [body.model];
|
|
44
|
+
// Rules left out of the list only matter here when they belong to a model this catalog shows.
|
|
45
|
+
const rejected = new Set(('models' in body ? body.rejected_models ?? [] : []).map(id => id.toLowerCase()));
|
|
46
|
+
const unreadable = [];
|
|
44
47
|
for (const entry of entries.values()) {
|
|
45
48
|
const rule = rules.find(model => model.model_id.toLowerCase() === entry.id.toLowerCase());
|
|
46
|
-
if (!rule)
|
|
49
|
+
if (!rule) {
|
|
50
|
+
if (rejected.has(entry.id.toLowerCase()))
|
|
51
|
+
unreadable.push(entry.id);
|
|
47
52
|
continue;
|
|
53
|
+
}
|
|
48
54
|
entry.priced = { id: entry.id, kind: entry.kind, pricingIncomplete: rule.pricing_status !== 'available',
|
|
49
55
|
prices: rule.components.map(c => ({ sku_id: c.sku_id, name: c.id,
|
|
50
56
|
unit: c.unit.includes('token') ? c.unit : c.unit.includes('second') ? 'second' : c.unit.includes('image') ? 'image' : c.unit,
|
|
51
57
|
min_usd: Number(c.rate.usd), max_usd: Number(c.rate.usd), min_charge_usd: Number(c.minimum_charge.usd),
|
|
52
58
|
role: c.unit.includes('token') ? 'token' : c.role.includes('output') || c.role === 'request' || c.role === 'output' ? 'output' : 'add_on' })) };
|
|
53
59
|
}
|
|
60
|
+
if (unreadable.length > 0) {
|
|
61
|
+
pricingWarning = `Prices for ${unreadable.length} listed model${unreadable.length === 1 ? ' are' : 's are'} unavailable right now because their published pricing rules could not be read: ${unreadable.slice(0, 10).join(', ')}${unreadable.length > 10 ? `, and ${unreadable.length - 10} more` : ''}. Other prices are unaffected.`;
|
|
62
|
+
}
|
|
54
63
|
}
|
|
55
64
|
catch (error) {
|
|
56
65
|
pricingWarning = `Prices are unavailable right now (${error instanceof Error ? error.message : 'unknown error'}).`;
|
|
@@ -150,8 +150,10 @@ export function prepareQuoteParameters(rule, entry, input, pricingParameters = {
|
|
|
150
150
|
else if (p.type === 'boolean' && typeof value !== 'boolean') {
|
|
151
151
|
fail('invalid_quote_parameter', `Pricing parameter ${name} must be boolean.`, name);
|
|
152
152
|
}
|
|
153
|
+
// Published enums may spell numbers as strings ("5") while the generation input carries a number (5);
|
|
154
|
+
// lookup expressions compare by text, so the allowed-value check does the same.
|
|
153
155
|
const allowed = p.values ?? p.enum;
|
|
154
|
-
if (allowed && !allowed.some(candidate => candidate === value))
|
|
156
|
+
if (allowed && !allowed.some(candidate => String(candidate) === String(value)))
|
|
155
157
|
fail('invalid_quote_parameter', `Pricing parameter ${name} is not an allowed value.`, name);
|
|
156
158
|
parameters[name] = value;
|
|
157
159
|
}
|
|
@@ -51,8 +51,10 @@ const rateFields = {
|
|
|
51
51
|
billing_rule: z.string().min(1).max(60), pricing_status: z.enum(['available', 'unavailable']),
|
|
52
52
|
effective_at: z.string().datetime({ offset: true }),
|
|
53
53
|
};
|
|
54
|
+
// Legacy text adapters express a tier as base rate × multiplier; published policies give each tier its own
|
|
55
|
+
// SKU and absolute rate and omit the multiplier. Either way tier.rate is the rate to charge.
|
|
54
56
|
const Tier = z.object({ ...rateFields, multiplier: decimal.refine(value => /^(?:0|[1-9]\d*)(?:\.\d+)?$/.test(value)
|
|
55
|
-
&& fraction(value)[0] > 0n), when: ExpressionSchema.optional() });
|
|
57
|
+
&& fraction(value)[0] > 0n).optional(), when: ExpressionSchema.optional() });
|
|
56
58
|
const Component = z.object({ ...rateFields, id: z.string().min(1).max(100), role: z.string().min(1).max(100),
|
|
57
59
|
label_key: z.string().min(1).max(100).optional(),
|
|
58
60
|
dimension: z.string().min(1).max(100), unit: z.string().min(1).max(100),
|
|
@@ -80,7 +82,8 @@ const Meta = z.object({ schema_version: z.literal('2'), catalog_version: z.strin
|
|
|
80
82
|
exchange_rate_version: z.literal('pricing-fx/v1:USD-CNY=6.8'),
|
|
81
83
|
updated_at: z.string().datetime({ offset: true }), fresh_until: z.string().datetime({ offset: true }),
|
|
82
84
|
});
|
|
83
|
-
|
|
85
|
+
// A list is checked model by model, so one unreadable model cannot void every other price.
|
|
86
|
+
const Envelope = z.object({ meta: Meta, models: z.array(z.unknown()).max(1000) });
|
|
84
87
|
const Single = z.object({ meta: Meta, model: Model });
|
|
85
88
|
const cache = new Map();
|
|
86
89
|
const pending = new Map();
|
|
@@ -104,15 +107,57 @@ function bounded(value, depth = 0, budget = { nodes: 0 }) {
|
|
|
104
107
|
return Object.values(value).every(item => bounded(item, depth + 1, budget));
|
|
105
108
|
return true;
|
|
106
109
|
}
|
|
110
|
+
/** A rejected model is named by its ID when that is a readable identifier, otherwise by its position. */
|
|
111
|
+
function rejectedName(raw, index) {
|
|
112
|
+
const id = identifier(100).safeParse(raw && typeof raw === 'object' ? raw.model_id : undefined);
|
|
113
|
+
return id.success ? id.data : `#${index}`;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Bounds, metadata and freshness apply to the whole response and fail closed. In a list, a model whose rules
|
|
117
|
+
* cannot be read is left out and named in `rejected_models`; the list fails only when no model is readable.
|
|
118
|
+
* A single-model response fails when its model cannot be read.
|
|
119
|
+
*/
|
|
107
120
|
export function validatePricingRules(body, single) {
|
|
108
121
|
if (!bounded(body))
|
|
109
122
|
throw new PricingRulesError('invalid_pricing_rules');
|
|
110
|
-
const parsed = (single ? Single :
|
|
123
|
+
const parsed = (single ? Single : Envelope).safeParse(body);
|
|
111
124
|
if (!parsed.success)
|
|
112
125
|
throw new PricingRulesError('invalid_pricing_rules');
|
|
113
126
|
if (Date.parse(parsed.data.meta.fresh_until) <= Date.now())
|
|
114
127
|
throw new PricingRulesError('expired_pricing_rules');
|
|
115
|
-
|
|
128
|
+
if ('model' in parsed.data)
|
|
129
|
+
return parsed.data;
|
|
130
|
+
const models = [], rejected = [];
|
|
131
|
+
parsed.data.models.forEach((raw, index) => {
|
|
132
|
+
const model = Model.safeParse(raw);
|
|
133
|
+
if (model.success)
|
|
134
|
+
models.push(model.data);
|
|
135
|
+
else
|
|
136
|
+
rejected.push(rejectedName(raw, index));
|
|
137
|
+
});
|
|
138
|
+
if (rejected.length > 0 && models.length === 0)
|
|
139
|
+
throw new PricingRulesError('invalid_pricing_rules');
|
|
140
|
+
return { meta: parsed.data.meta, models, ...(rejected.length > 0 ? { rejected_models: rejected } : {}) };
|
|
141
|
+
}
|
|
142
|
+
const completeRule = (model) => model.components.every(component => component.quantity_rule && component.rounding
|
|
143
|
+
&& component.tiers.every(tier => tier.when));
|
|
144
|
+
/**
|
|
145
|
+
* The full view must carry every expression an estimate evaluates. A single model without them fails; in a
|
|
146
|
+
* list, such a model is left out and named like an unreadable one, and the list fails only when none is left.
|
|
147
|
+
*/
|
|
148
|
+
function completeRules(body) {
|
|
149
|
+
if ('model' in body) {
|
|
150
|
+
if (!completeRule(body.model))
|
|
151
|
+
throw new PricingRulesError('incomplete_pricing_rules');
|
|
152
|
+
return body;
|
|
153
|
+
}
|
|
154
|
+
const kept = body.models.filter(completeRule);
|
|
155
|
+
if (kept.length === body.models.length)
|
|
156
|
+
return body;
|
|
157
|
+
if (kept.length === 0)
|
|
158
|
+
throw new PricingRulesError('incomplete_pricing_rules');
|
|
159
|
+
return { meta: body.meta, models: kept,
|
|
160
|
+
rejected_models: [...(body.rejected_models ?? []), ...body.models.filter(model => !completeRule(model)).map(model => model.model_id)] };
|
|
116
161
|
}
|
|
117
162
|
async function readBody(response) {
|
|
118
163
|
if (!response.body)
|
|
@@ -189,16 +234,15 @@ export async function getPricingRules(input, options = {}) {
|
|
|
189
234
|
throw new PricingRulesError(status === 404 ? 'not_found' : status === 429 ? 'rate_limit_exceeded'
|
|
190
235
|
: status === 503 ? 'pricing_rules_unavailable' : 'pricing_rules_http_error', status, status === 429 ? retryAfterSeconds(response.headers.get('Retry-After')) : undefined);
|
|
191
236
|
}
|
|
192
|
-
|
|
237
|
+
let body = validatePricingRules(await readBody(response), Boolean(query.model));
|
|
193
238
|
const models = 'model' in body ? [body.model] : body.models;
|
|
194
239
|
if (models.some(model => (query.model && model.model_id !== query.model)
|
|
195
240
|
|| (query.product_id && model.product_id !== query.product_id) || (query.operation && model.operation !== query.operation)
|
|
196
241
|
|| (query.modality && model.modality !== query.modality) || (query.lifecycle && model.lifecycle !== query.lifecycle))) {
|
|
197
242
|
throw new PricingRulesError('mismatched_pricing_rules');
|
|
198
243
|
}
|
|
199
|
-
if (query.view === 'full'
|
|
200
|
-
|
|
201
|
-
throw new PricingRulesError('incomplete_pricing_rules');
|
|
244
|
+
if (query.view === 'full')
|
|
245
|
+
body = completeRules(body);
|
|
202
246
|
if (cache.size >= MAX_CACHE_ENTRIES)
|
|
203
247
|
cache.delete(cache.keys().next().value);
|
|
204
248
|
cache.set(key, { body, etag: response.headers.get('ETag') ?? undefined,
|
|
@@ -3,6 +3,13 @@
|
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { getPricingRules } from './pricing-rules-client.js';
|
|
5
5
|
import { QuoteError, prepareQuoteParameters, quoteRequestHash } from './pricing-quote-client.js';
|
|
6
|
+
/**
|
|
7
|
+
* How long an approval from estimate_cost may be passed to generate_*. The rules' own
|
|
8
|
+
* `fresh_until` is a short refresh window (minutes); people confirming a price in a chat
|
|
9
|
+
* need longer. generate_* re-evaluates the current rules and refuses with `price_changed`
|
|
10
|
+
* when the price moved, so a longer approval cannot submit at a stale price.
|
|
11
|
+
*/
|
|
12
|
+
export const APPROVAL_TTL_MS = 30 * 60_000;
|
|
6
13
|
function fail(code, message) { throw new QuoteError(code, message); }
|
|
7
14
|
function gcd(a, b) { while (b)
|
|
8
15
|
[a, b] = [b, a % b]; return a < 0n ? -a : a; }
|
|
@@ -204,7 +211,7 @@ export function calculateRulesEstimate(body, entry, input, options = {}) {
|
|
|
204
211
|
fail('invalid_pricing_expression', 'The estimated charge exceeds its supported range.');
|
|
205
212
|
const amounts = amountsForUC(String(total)), requestHash = quoteRequestHash(entry.id, input, options.mediaSeconds, options.pricingParameters);
|
|
206
213
|
const approval = { source: 'pricing_rules', price_scope: 'public_default', model_id: entry.id,
|
|
207
|
-
request_hash: requestHash, total_uc: amounts.uc, expires_at:
|
|
214
|
+
request_hash: requestHash, total_uc: amounts.uc, expires_at: new Date(Date.now() + APPROVAL_TTL_MS).toISOString(),
|
|
208
215
|
fingerprint: quoteRequestHash(entry.id, { rules: economicRules(rule), parameters: params,
|
|
209
216
|
exchange_rate_version: body.meta.exchange_rate_version, components, missing: [...missing].sort(), total_uc: amounts.uc }) };
|
|
210
217
|
const estimate = { status: missing.size ? components.length ? 'partial' : 'needs_input' : 'estimated', min_usd: Number(amounts.usd), max_usd: Number(amounts.usd),
|
|
@@ -28,6 +28,11 @@ export function publicText(value) {
|
|
|
28
28
|
&& ['/dashboard/credits', '/dashboard/keys', '/dashboard/mcp'].includes(url.pathname)
|
|
29
29
|
&& [...url.searchParams].every(([key, v]) => key.startsWith('utm_') && /^[a-z0-9_-]{1,80}$/i.test(v) || key === 'tab' && v === 'mcp'))
|
|
30
30
|
return value;
|
|
31
|
+
// Official documentation pages, which gateway task errors link to (for example the upload guide).
|
|
32
|
+
if (url.origin === 'https://evolink.ai' && !url.username && !url.password
|
|
33
|
+
&& /^\/docs\/[A-Za-z0-9_.\/-]*$/.test(url.pathname) && !url.pathname.includes('//') && /^(#[A-Za-z0-9_-]{1,80})?$/.test(url.hash)
|
|
34
|
+
&& [...url.searchParams].every(([key, v]) => key.startsWith('utm_') && /^[a-z0-9_-]{1,80}$/i.test(v)))
|
|
35
|
+
return value;
|
|
31
36
|
}
|
|
32
37
|
catch { }
|
|
33
38
|
return '[service address]';
|
|
@@ -23,6 +23,10 @@ export function registerPricingRules(server) {
|
|
|
23
23
|
'No task quote or final spending cap was established. Do not multiply unit rates into a bill; minimum charges, tiers and rounding apply.',
|
|
24
24
|
'Coverage follows the models returned for this query. Empty results mean no matching public rules were returned, not zero cost.',
|
|
25
25
|
];
|
|
26
|
+
const rejected = 'models' in body ? body.rejected_models ?? [] : [];
|
|
27
|
+
if (rejected.length > 0) {
|
|
28
|
+
warnings.push(`${rejected.length} model(s) were left out because their published rules could not be read: ${rejected.slice(0, 20).join(', ')}${rejected.length > 20 ? `, and ${rejected.length - 20} more` : ''}. Missing rules do not mean these models are free.`);
|
|
29
|
+
}
|
|
26
30
|
const lines = [`Public pricing rules (${body.meta.price_scope}; ${selection}; ${source}); ${models.length} model(s).`, ...warnings];
|
|
27
31
|
for (const model of models) {
|
|
28
32
|
lines.push(`${model.model_id} (${model.modality}; ${model.pricing_status}; ${model.policy_source} v${model.policy_version})`);
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// Generated from Evolink-AI/evolink-mcp; adapted for direct REST operations. See platform/LICENSE and platform/NOTICE.
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { listTasks, queryTasks } from '../services/api-client.js';
|
|
5
|
+
import { publicTaskErrorCode } from '../services/error-handler.js';
|
|
5
6
|
import { READ_ONLY, errorResult, failure, money, ok, usdOf } from './shared.js';
|
|
6
7
|
import { TASK_ID } from './get-task.js';
|
|
7
8
|
import { RESULT_DELIVERY_GUIDANCE, RESULT_DELIVERY_INSTRUCTIONS, RESULT_LINK_HOURS, resultDeliveryMarkdown, resultLinks, resultResources, taskOutputs } from './task-format.js';
|
|
@@ -39,8 +40,9 @@ function rowFromTask(task) {
|
|
|
39
40
|
row.charged_credits = used;
|
|
40
41
|
row.charged_usd = task.usage?.cost?.usd ?? usdOf(used);
|
|
41
42
|
}
|
|
42
|
-
|
|
43
|
-
|
|
43
|
+
// The same user-facing code as get_task, never an upstream channel code.
|
|
44
|
+
if (task.status === 'failed' || task.error?.code)
|
|
45
|
+
row.error_code = publicTaskErrorCode(task.error?.code);
|
|
44
46
|
return row;
|
|
45
47
|
}
|
|
46
48
|
function rowLine(row) {
|
|
@@ -123,8 +125,9 @@ export function registerListTasks(server, config) {
|
|
|
123
125
|
items = items.filter(item => item.created_at * 1000 >= sinceMs);
|
|
124
126
|
if (untilMs !== undefined)
|
|
125
127
|
items = items.filter(item => item.created_at * 1000 <= untilMs);
|
|
126
|
-
// The list endpoint omits result links; read
|
|
127
|
-
const finished = items.filter(item => item.status === 'completed' && item.has_results
|
|
128
|
+
// The list endpoint omits result links and error codes; read those tasks in one batch to include them.
|
|
129
|
+
const finished = items.filter(item => item.status === 'completed' && item.has_results || item.status === 'failed')
|
|
130
|
+
.map(item => item.id).slice(0, MAX_IDS);
|
|
128
131
|
const details = new Map();
|
|
129
132
|
if (finished.length > 0) {
|
|
130
133
|
for (const task of await queryTasks(config, finished))
|
|
@@ -146,8 +149,6 @@ export function registerListTasks(server, config) {
|
|
|
146
149
|
row.charged_credits = item.credits_used;
|
|
147
150
|
row.charged_usd = usdOf(item.credits_used);
|
|
148
151
|
}
|
|
149
|
-
if (item.has_error)
|
|
150
|
-
row.error_code = 'failed';
|
|
151
152
|
return row;
|
|
152
153
|
});
|
|
153
154
|
const filters = [status && `status ${status}`, type && `type ${type}`, model && `model ${model}`, since && `since ${since}`, until && `until ${until}`].filter(Boolean).join(', ');
|
|
@@ -20,6 +20,8 @@ export const RESULT_DELIVERY_INSTRUCTIONS = [
|
|
|
20
20
|
/** Compact tool description; the full contract is sent in server instructions and completed results. */
|
|
21
21
|
export const RESULT_DELIVERY_GUIDANCE = 'On completion, promptly deliver original links with the 24-hour expiry and delivery_markdown. Edit only when the user explicitly requests or authorizes post-processing. Keep original links alongside optional embedded MCP thumbnails; do not add remote-image Markdown or use image syntax for video/audio.';
|
|
22
22
|
export const TERMINAL_STATUSES = new Set(['completed', 'failed', 'cancelled']);
|
|
23
|
+
/** The gateway charges nothing for a failed task and releases its reservation (refund, or expiry as a backstop). */
|
|
24
|
+
export const FAILED_TASK_BILLING = 'The task failed, so it is not charged. The credits reserved at submission are returned automatically.';
|
|
23
25
|
const MEDIA_EXTENSIONS = {
|
|
24
26
|
png: { kind: 'image', mimeType: 'image/png' },
|
|
25
27
|
jpg: { kind: 'image', mimeType: 'image/jpeg' },
|
|
@@ -187,6 +189,7 @@ export function describeTask(task) {
|
|
|
187
189
|
const billing = taskBilling(task);
|
|
188
190
|
structured.billing = billing;
|
|
189
191
|
lines.push(`Error: ${info.code} — ${info.message}`);
|
|
192
|
+
let verify = ' Query get_task again to verify billing.';
|
|
190
193
|
if (billing.refund_status === 'completed') {
|
|
191
194
|
lines.push(`Account balance refund completed: ${money(billing.refunded_credits)}. Key limit restoration is unknown.`);
|
|
192
195
|
structured.refunded = true;
|
|
@@ -200,10 +203,15 @@ export function describeTask(task) {
|
|
|
200
203
|
else if (billing.refund_status === 'not_required') {
|
|
201
204
|
lines.push('The billing record reports no account balance refund required. Check the recorded charge before requesting another generation.');
|
|
202
205
|
}
|
|
206
|
+
else if (status === 'failed' && billing.charge_status !== 'charged') {
|
|
207
|
+
lines.push(FAILED_TASK_BILLING);
|
|
208
|
+
structured.billing_note = FAILED_TASK_BILLING;
|
|
209
|
+
verify = '';
|
|
210
|
+
}
|
|
203
211
|
else {
|
|
204
212
|
lines.push('Charge and refund completion cannot be verified from the available billing evidence. Query this task again or contact EvoLink support.');
|
|
205
213
|
}
|
|
206
|
-
const next = `${info.suggestion}
|
|
214
|
+
const next = `${info.suggestion}${verify} Do not generate again automatically. Another generation is a separately paid task: obtain a fresh estimate and explicit user approval first.`;
|
|
207
215
|
lines.push(`Next step: ${next}`);
|
|
208
216
|
structured.error = { ...info, suggestion: next };
|
|
209
217
|
}
|
|
@@ -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.8.2';
|
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": "6a1ecce8f5359314b795ed793b52835dce8d547b99578d50655eebaadd7a28e5",
|
|
6
6
|
"files": {
|
|
7
7
|
"packages/core/src/branding.ts": "534b944a1370f210a3858c1a85b1a23071aca8e26b7a3e70e4d859ba5b152ff7",
|
|
8
8
|
"packages/core/src/config.ts": "208496230e22f43817cfb9b3805cde279fcce61a82227dfbd9f63485a33d33c7",
|
|
@@ -11,24 +11,24 @@
|
|
|
11
11
|
"packages/core/src/data/model-params.ts": "d387d10b7d888059df9c1bd2177e336a497981b63ecbac57009f399f4e1fd858",
|
|
12
12
|
"packages/core/src/platform-client.ts": "d272d1fbd7939acd69482207f1a75550e4ff8f584deee8f6d0c8ace86e453b6d",
|
|
13
13
|
"packages/core/src/platform-operations.ts": "3239283b4cff2490dd42ac006d03165ef2843eb05cfaece3572d1aacde2e7e32",
|
|
14
|
-
"packages/core/src/request-context.ts": "
|
|
15
|
-
"packages/core/src/server.ts": "
|
|
14
|
+
"packages/core/src/request-context.ts": "f62856e8281207449724a672312f7ea444af10317a0ce93590e2fd2a26fef03e",
|
|
15
|
+
"packages/core/src/server.ts": "1d6d7a46fcd0fd96526e02ab766f6379a750bc550cca054bd088c4a5993292e2",
|
|
16
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": "
|
|
18
|
+
"packages/core/src/services/error-handler.ts": "fd07d5dbd4cad3b4e75d7192c4d49623d92666fef40bd688646e0f756c208d5a",
|
|
19
19
|
"packages/core/src/services/file-client.ts": "9bd94da9a0719fba0050be261fb5210397be4e8b9e6ebc8a2e916fcc185fd2d2",
|
|
20
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": "0cad28a41774ea99ff6caf66860ac33a02e8fab254243368d502935b33842364",
|
|
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
27
|
"packages/core/src/services/pricing-client.ts": "2e8d1107bac56c7e6fd47dbdd79f35b446af283f3f85a18c8bedeca60b822d98",
|
|
28
|
-
"packages/core/src/services/pricing-quote-client.ts": "
|
|
29
|
-
"packages/core/src/services/pricing-rules-client.ts": "
|
|
30
|
-
"packages/core/src/services/pricing-rules-estimate.ts": "
|
|
31
|
-
"packages/core/src/services/public-error.ts": "
|
|
28
|
+
"packages/core/src/services/pricing-quote-client.ts": "a4537ce5ba83d9a8859ce6fb72223353443b67a42a0525b0cfad2abb93d0649a",
|
|
29
|
+
"packages/core/src/services/pricing-rules-client.ts": "d9424c7b249f2f559b50bf0a356fb5062a37460f9340213ea5488099d2c43c66",
|
|
30
|
+
"packages/core/src/services/pricing-rules-estimate.ts": "18b9115ffe4b7d04abd7c6fa2252cfe79a31a412567742ff9e8ea7237c59da21",
|
|
31
|
+
"packages/core/src/services/public-error.ts": "b706d2b5ccef1542c8f13e8cd41bfe844a590221e29053376f045680a912c54d",
|
|
32
32
|
"packages/core/src/services/upload-policy.ts": "2dc36716a3b9e78b078c618b029499bf6e27448dd44900b6f917dda5f8046ce3",
|
|
33
33
|
"packages/core/src/services/upload-slots.ts": "80da2511394daf61e3b8ed3b9fbed06c28fec7d4d5b1c3d68585bd89fa816096",
|
|
34
34
|
"packages/core/src/services/utm.ts": "adb224e91531b0db809b5de086ddc97bb5a383184458554dcdf784a65cd941a5",
|
|
@@ -38,17 +38,17 @@
|
|
|
38
38
|
"packages/core/src/tools/estimate-cost.ts": "b01e7f2a5d9b1a5ec44f58d1f5bade121cb9ed46a63aea98e6bfa0dbb7055b5b",
|
|
39
39
|
"packages/core/src/tools/generate.ts": "7ff1150e256eb5373a0c7f824cacdb65d76056da81d3ea6de0623df2aec7da2b",
|
|
40
40
|
"packages/core/src/tools/get-model.ts": "bd727644aa554c7aa9d0246cbcb427d5063fb4b86fa33561af73f54eed2d1aa6",
|
|
41
|
-
"packages/core/src/tools/get-pricing-rules.ts": "
|
|
41
|
+
"packages/core/src/tools/get-pricing-rules.ts": "6fdd62f1f09804c6149c423f8203c89b8e9a7c181f661e0d49d7468f7ceb5f00",
|
|
42
42
|
"packages/core/src/tools/get-task.ts": "937a5ad4454956dd000abfd11149523d135527018d4d643ede600950d69e6205",
|
|
43
|
-
"packages/core/src/tools/list-tasks.ts": "
|
|
43
|
+
"packages/core/src/tools/list-tasks.ts": "c430f7c06b5aef88a3c386cf68d8462c7bf7371063cbfa85fa2511495ba9d69c",
|
|
44
44
|
"packages/core/src/tools/prepare-upload.ts": "c58cfb04725cc660e34f68391727e99f726e355f9329d91ced56878212294d40",
|
|
45
45
|
"packages/core/src/tools/search-models.ts": "3b950140240ac6c5f0dfdc0264cb4b66d0583e05e220c67245b6e8a7616fc55e",
|
|
46
46
|
"packages/core/src/tools/shared.ts": "4edde666dc31af730460cbecf5520cc56626bc2b17f951f849130f3d7d4ccbef",
|
|
47
47
|
"packages/core/src/tools/task-billing.ts": "cfb18355e44caa41ea278b4156bd15e6c3ebca13411c7cf043d7225c5532dcce",
|
|
48
|
-
"packages/core/src/tools/task-format.ts": "
|
|
48
|
+
"packages/core/src/tools/task-format.ts": "05179cb238263817d4e67c711ef939d8b086246937698d0bd47b406eaf17a430",
|
|
49
49
|
"packages/core/src/tools/task-usage.ts": "ba05d054e1d60d67f6ab75cc6d9169f453c87e0e89c17a2c1be5fc429e8f9f47",
|
|
50
50
|
"packages/core/src/tools/upload-file.ts": "da6f239d1b1e6a13a7b418d24e738ebabf9823b2656111eeaa70eb247421ad40",
|
|
51
|
-
"packages/core/src/version.ts": "
|
|
51
|
+
"packages/core/src/version.ts": "b7195826c4fb9389d2b9c6420705667854517b43a004905434499cb714132cfa"
|
|
52
52
|
},
|
|
53
53
|
"artifacts": {
|
|
54
54
|
"core/src/config.js": "e5f001e6bb30fa3ca49ca1383b3deb83ea495d20079adefad6d0451f5bbee0e3",
|
|
@@ -60,18 +60,18 @@
|
|
|
60
60
|
"core/src/request-context.js": "ed22b79db1fc8b20c57f0a58e938ff4a833bb6a75a16d2246f732a41256c21e8",
|
|
61
61
|
"core/src/services/api-client.js": "9c3bbaba17c53f7560b56d344086834cb602ced0a540db18f1755e74fad0d36d",
|
|
62
62
|
"core/src/services/catalog-client.js": "f438fdb13fa9e9ddbf539b265bfcbb77c4d5024835130cbade3b83e9952893cf",
|
|
63
|
-
"core/src/services/error-handler.js": "
|
|
63
|
+
"core/src/services/error-handler.js": "edea48a8eaf90b4193a503c0418ba7157acabfe89833a39c1d41bbf568de8355",
|
|
64
64
|
"core/src/services/file-client.js": "d11798bfddc6637727a874532ad218b5deac58d6bca8f20abcd2c30b132210e4",
|
|
65
65
|
"core/src/services/http-policy.js": "322892ddb21f15cb3111a36b006b3ab62bea7a9d13b05d970ded62bae3ca32cd",
|
|
66
66
|
"core/src/services/model-capabilities.js": "2ad86bc08c82cce82964b18d6187632fc738f8cd17d03de1ef04f27b1e35cfe1",
|
|
67
|
-
"core/src/services/model-catalog.js": "
|
|
67
|
+
"core/src/services/model-catalog.js": "e25b005d48a38106565919cdfb50abf2b018b92e7d762a88470ba3af1ba2fa06",
|
|
68
68
|
"core/src/services/model-recommendations.js": "f330f941d26aa9fc127c2f7479cb2be026d6111a3f3066e89442ff29ec33803a",
|
|
69
69
|
"core/src/services/param-validator.js": "9e3fba916a39140614851689fcf47f1aa644a30b6192b6126af4d78695f88b10",
|
|
70
70
|
"core/src/services/pricing-client.js": "2f0f74f7769442e4edf8c3f37a66bb1c6c099253189e9b2079ad265d1327225d",
|
|
71
|
-
"core/src/services/pricing-quote-client.js": "
|
|
72
|
-
"core/src/services/pricing-rules-client.js": "
|
|
73
|
-
"core/src/services/pricing-rules-estimate.js": "
|
|
74
|
-
"core/src/services/public-error.js": "
|
|
71
|
+
"core/src/services/pricing-quote-client.js": "6107815eb757036470fac21f9d79da3a3862f583c3b2f0c1d9f56761fa9fc9f6",
|
|
72
|
+
"core/src/services/pricing-rules-client.js": "6c6a6de64a2fbf816f7be5661712bc18ae996328ffcb53401fe0cc0ce3123b6f",
|
|
73
|
+
"core/src/services/pricing-rules-estimate.js": "c7288e2f76b4de7116c88f7b443ed835d0e0af21387d6e1e389ad13a1c71f506",
|
|
74
|
+
"core/src/services/public-error.js": "306665fb8ac54beb911a8e908755e49c3a9aec64f3b9a5dee1a28eb64e8a2681",
|
|
75
75
|
"core/src/services/utm.js": "8aa328ddb92c3ef65568fab60226cb5fa2e940449d7ac3d6c2e35b6f9bcf835d",
|
|
76
76
|
"core/src/tool-guidance.js": "a9ebc5bc761738e9f603ba0111f35328237925a18107a342db589cd35655f1b6",
|
|
77
77
|
"core/src/tools/check-balance.js": "75baa61e57e289fd61a45251665df599967ba0beb4b33cc3976280a9d89421bf",
|
|
@@ -79,14 +79,14 @@
|
|
|
79
79
|
"core/src/tools/estimate-cost.js": "794374dc2b64e87375410e5f1bc049cd9fd1e58cd3b62db1b6f014a3135671fd",
|
|
80
80
|
"core/src/tools/generate.js": "85ef70bb75f685013c35bb862af0fec2ebf35477add9a3bffdafbd7b4fcfea3f",
|
|
81
81
|
"core/src/tools/get-model.js": "32bbba590e8f0fb632dab0e517f761cddcc7b64a8eb76f1d9ae571e6f80bf08d",
|
|
82
|
-
"core/src/tools/get-pricing-rules.js": "
|
|
82
|
+
"core/src/tools/get-pricing-rules.js": "3dcab9b74ec08156a27f34a0930363b7dead5d00bba8e6cdbb47cd68ea76aaad",
|
|
83
83
|
"core/src/tools/get-task.js": "1ef62167c629c7ad859d1d31cd8779eb98e3a22c8bb754b2c355e58515b308f0",
|
|
84
|
-
"core/src/tools/list-tasks.js": "
|
|
84
|
+
"core/src/tools/list-tasks.js": "73de0c3c7ecfff6f99202d17c1db53f2c394b15d01781199cc38f9c3eb80c6a5",
|
|
85
85
|
"core/src/tools/search-models.js": "9850b7d2d74a1d69229400d465b21ecb9ede79c75dddeb41787668f418c5bd06",
|
|
86
86
|
"core/src/tools/shared.js": "77d54bced4e05b3712a2bb44b6075d792d6dde18212aa0e615bf83af1b36bf79",
|
|
87
87
|
"core/src/tools/task-billing.js": "f49b252afcaf4a6275f5db6ebc8e6380387b2406bd5fc91e7367e3523025af8b",
|
|
88
|
-
"core/src/tools/task-format.js": "
|
|
88
|
+
"core/src/tools/task-format.js": "fd409b11bf24826d7669fcf8a0994e23d244034ae88fdc4d931444d7d12ce0fa",
|
|
89
89
|
"core/src/tools/task-usage.js": "3aae5d7807efc2c762bf604cf9ecfecf8f9008185bcef584e6d4243404418dc5",
|
|
90
|
-
"core/src/version.js": "
|
|
90
|
+
"core/src/version.js": "25a0bb45f50ed3031858e110bc463b93e87ca536d2701b11da39dc09b225ef61"
|
|
91
91
|
}
|
|
92
92
|
}
|