@quiki/mcp 0.4.0 → 0.4.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/dist/tools/bulkImport.js
CHANGED
|
@@ -27,6 +27,8 @@ exports.bulkImportTool = {
|
|
|
27
27
|
'',
|
|
28
28
|
'URLs that are not a single importable video -- channel, @handle and playlist URLs, TikTok vm./vt. short links, malformed video ids -- are reported as `totals.rejectedCount` and silently skipped rather than failing the call. They are excluded from `newEntryCount` and cost nothing. The counts partition the list exactly: `totalEntries` = `rejectedCount` + `duplicateCount` + `newEntryCount`. If `rejectedCount` is above zero and you expected every URL to scan, fix those URLs and submit them in a follow-up call.',
|
|
29
29
|
'',
|
|
30
|
+
'Bulk imports scan TikTok and YouTube videos in fast mode (1 credit each) and Instagram videos in deep mode (10 credits each). For a TikTok deep analysis or a transcript, call `scan_url` per video.',
|
|
31
|
+
'',
|
|
30
32
|
'Credits are debited per-job at worker completion (not up front). `fileName` is stamped as `API Bulk Import` so the dashboard distinguishes agent imports from file uploads.',
|
|
31
33
|
'',
|
|
32
34
|
'Write scope required.',
|
|
@@ -24,6 +24,8 @@ exports.bulkImportEstimateTool = {
|
|
|
24
24
|
'',
|
|
25
25
|
'Hard cap: 500 URLs per call. Mixed platforms must pass an explicit `platform`.',
|
|
26
26
|
'',
|
|
27
|
+
'Bulk imports scan TikTok and YouTube videos in fast mode (1 credit each) and Instagram videos in deep mode (10 credits each). For a TikTok deep analysis or a transcript, call `scan_url` per video.',
|
|
28
|
+
'',
|
|
27
29
|
'Read scope (read-only token works).',
|
|
28
30
|
'',
|
|
29
31
|
'The two count fields measure different things: `estimatedCost` is what your CURRENT URL list would cost if submitted as-is (always = `newEntryCount x effectiveCostPerVideo`); `scannableCount` is the maximum number of URLs that would fit your CURRENT balance (= `min(newEntryCount, floor(balance / effectiveCostPerVideo))`). When `fits: false`, trim your list to `scannableCount` and resubmit.',
|
|
@@ -13,7 +13,7 @@ exports.getBulkImportStatusTool = {
|
|
|
13
13
|
description: [
|
|
14
14
|
'Returns the current state of a bulk import. Poll this after `bulk_import` until `status` is one of `COMPLETED`, `FAILED`, or `CANCELLED`.',
|
|
15
15
|
'',
|
|
16
|
-
'Suggested cadence: every 5 s for the first 30 s, then every 10 s. The `jobStats` object tells you how many jobs are pending/processing/completed/failed/skipped right now; `skipped` counts links TikTok reported deleted or private before scanning
|
|
16
|
+
'Suggested cadence: every 5 s for the first 30 s, then every 10 s. The `jobStats` object tells you how many jobs are pending/processing/completed/failed/skipped right now; `failed` counts links that were scanned and failed; `skipped` counts links TikTok reported deleted or private before scanning and is NOT included in `failed`; `completed + failed + skipped` reaches the job total once the import has finished. The response also carries `skippedVideos`, equal to `jobStats.skipped`. `skippedAsDuplicate` reports URLs that were dropped because the user already has them in their library -- these never count toward credit cost.',
|
|
17
17
|
'',
|
|
18
18
|
'The `updatedAt` field on the response only ticks when a worker writes to the row -- it does NOT update on polls, on status-reads, or while jobs are queued. Use `jobStats` (specifically the `processing` count and the sum of `pending + processing`) to detect work-in-progress; treat `updatedAt` as a "last meaningful write" timestamp, not a heartbeat.',
|
|
19
19
|
'',
|
package/dist/tools/scanUrl.js
CHANGED
|
@@ -22,12 +22,14 @@ exports.scanUrlTool = {
|
|
|
22
22
|
'Submits a TikTok, YouTube, or Instagram URL for scanning. Returns scan metadata immediately (async) or waits up to 90 seconds for the result (sync-ish).',
|
|
23
23
|
'',
|
|
24
24
|
'Choosing `mode`:',
|
|
25
|
-
'- TikTok: omit `mode` for metadata-only (`fast
|
|
26
|
-
'- YouTube: omit `mode` for metadata-only (`fast
|
|
27
|
-
'- Instagram: `mode`
|
|
25
|
+
'- TikTok: omit `mode` for metadata-only (`fast`, 1 credit); pass `"deep"` to get transcript + AI analysis (10 credits).',
|
|
26
|
+
'- YouTube: omit `mode` for metadata-only (`fast`, 1 credit); pass `"transcript_only"` to get the transcript without AI analysis (6 credits: 1 for the scan plus 5 for the transcript). If no transcript is available, only the 1-credit scan is charged.',
|
|
27
|
+
'- Instagram: omit `mode` for the default `"deep"` (metadata + AI analysis, 10 credits). Pass `"transcript_only"` to add the transcript (5 credits) for a video already in your library; scan it with `"deep"` first.',
|
|
28
28
|
'- `"deep"` on YouTube is not yet supported and will return an error.',
|
|
29
29
|
'- `"transcript_only"` on TikTok is not supported; use `"deep"` instead.',
|
|
30
30
|
'',
|
|
31
|
+
'Credits are debited when the scan completes, and a failed scan is not charged. FREE and ADMIN accounts are not charged per scan (FREE has a daily scan limit).',
|
|
32
|
+
'',
|
|
31
33
|
'Set `wait=true` to hold the connection up to 90 s and receive the completed result in one call. Useful for short videos. For long videos or when latency matters, omit `wait` and poll with `get_scan`.',
|
|
32
34
|
'',
|
|
33
35
|
'When the scan completes (either via `wait=true` or by polling with `get_scan`), the response includes a `video_id` field. You can pass that to `get_video(id)` later to retrieve the same scan from the library without re-scanning.',
|
package/dist/types.d.ts
CHANGED
|
@@ -165,8 +165,14 @@ export interface BulkImportStatusResponse {
|
|
|
165
165
|
pending: number;
|
|
166
166
|
processing: number;
|
|
167
167
|
completed: number;
|
|
168
|
+
/** Links scanned and failed. Excludes `skipped` (v1.2.67). */
|
|
168
169
|
failed: number;
|
|
170
|
+
/** Links TikTok reported deleted or private before scanning. Not included in `failed`. */
|
|
169
171
|
skipped: number;
|
|
172
|
+
/** Queued links waiting for a delayed retry (a subset of `pending`). */
|
|
173
|
+
retrying: number;
|
|
170
174
|
};
|
|
175
|
+
/** Same value as `jobStats.skipped`. Not included in `failedVideos`. */
|
|
176
|
+
skippedVideos: number;
|
|
171
177
|
}
|
|
172
178
|
export {};
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const PACKAGE_VERSION = "0.4.
|
|
1
|
+
export declare const PACKAGE_VERSION = "0.4.2";
|
package/dist/version.js
CHANGED
|
@@ -4,4 +4,4 @@ exports.PACKAGE_VERSION = void 0;
|
|
|
4
4
|
// Single source for the package version: reported to MCP clients by the
|
|
5
5
|
// server (index.ts) and sent to Quiki as the User-Agent (apiClient.ts).
|
|
6
6
|
// Keep in step with package.json (a test checks this).
|
|
7
|
-
exports.PACKAGE_VERSION = '0.4.
|
|
7
|
+
exports.PACKAGE_VERSION = '0.4.2';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quiki/mcp",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"description": "Quiki.io MCP server — whoami, scan_url, get_scan, list_recent_videos, get_video, bulk_import, bulk_import_estimate, get_bulk_import_status over stdio.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "commonjs",
|