@quiki/mcp 0.6.1 → 0.6.3

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 CHANGED
@@ -91,6 +91,8 @@ Add the following to your `mcpServers` config (e.g. `~/Library/Application Suppo
91
91
 
92
92
  ## Changes
93
93
 
94
+ - **0.6.3**: tool descriptions only. Photo posts are Instagram and TikTok carousels, not TikTok only; `get_video` returns every slide in order (Quiki server v1.2.151 and later) as links that expire after about an hour, and a photo post's `ai_analysis` can carry `photoAnalysis` with the text read from each slide (server v1.2.152 and later).
95
+ - **0.6.2**: no code change. 0.6.1 was published from an out-of-date build and reported its version as 0.6.0 to MCP clients and in its User-Agent; 0.6.2 reports the right version. Publishing now always rebuilds first (`prepublishOnly`).
94
96
  - **0.6.1**: `get_bulk_import_status` explains that `FAILED` also means the import finished with nothing imported (every link failed, or every link was deleted or private), and `COMPLETED` means at least one video was imported. Description only; no change to inputs or outputs.
95
97
  - **0.6.0**: new tools `search_videos`, `list_folders`, `list_folder_videos`, `create_folder`, `add_to_folder` and `list_bulk_imports` (need Quiki server 1.2.72 or later). `list_recent_videos` pages with `cursor` / `nextCursor`. `get_video` takes `fields` to return only some sections and returns the video's `summary`. Every tool now returns `structuredContent` with a published output schema, alongside the same JSON text as before. No breaking changes: existing tool names and inputs are as before, and existing outputs only gained fields.
96
98
  - **0.5.0**: `whoami` reports the credit balance and, on the free plan, the daily scan allowance (needs Quiki server 1.2.71 or later). Every tool declares read-only, idempotent and open-world hints. No breaking changes: tool names, inputs and outputs are as before.
@@ -53,7 +53,7 @@ const VideoSummary = zod_1.z.looseObject({
53
53
  url: zod_1.z.string(),
54
54
  platform_video_id: zod_1.z.string().nullable(),
55
55
  platform: zod_1.z.string(),
56
- media_type: zod_1.z.string().describe('"video" or "photo" (TikTok photo carousels).'),
56
+ media_type: zod_1.z.string().describe('"video" or "photo" (an Instagram or TikTok photo or carousel post).'),
57
57
  mode: zod_1.z.string(),
58
58
  source: zod_1.z.string(),
59
59
  metadata: Metadata,
@@ -114,7 +114,10 @@ exports.RecentVideosOutput = zod_1.z.looseObject({
114
114
  exports.VideoOutput = VideoSummary.extend({
115
115
  summary: zod_1.z.string().nullable().optional().describe('Short AI summary. Server 1.2.72+.'),
116
116
  transcript: zod_1.z.string().nullable().optional(),
117
- images: zod_1.z.array(zod_1.z.string()).optional(),
117
+ images: zod_1.z
118
+ .array(zod_1.z.string())
119
+ .optional()
120
+ .describe('Photo posts only: every slide in order, as signed links that expire after about an hour.'),
118
121
  ai_analysis: OpenRecord.nullable().optional(),
119
122
  });
120
123
  exports.SearchVideosOutput = zod_1.z.looseObject({
@@ -32,9 +32,9 @@ exports.getVideoTool = {
32
32
  },
33
33
  outputSchema: outputSchemas_1.VideoOutput,
34
34
  description: [
35
- 'Fetches the full record for one previously scanned video: metadata, `summary` (a short AI summary, null when there is none), transcript (for videos), AI analysis (for deep scans), and image URLs (for TikTok photo carousels).',
35
+ 'Fetches the full record for one previously scanned video: metadata, `summary` (a short AI summary, null when there is none), transcript (for videos), AI analysis (for deep scans), and image URLs (for photo posts: every slide of an Instagram or TikTok carousel, in order).',
36
36
  '',
37
- "The `id` comes from `list_recent_videos`, `search_videos`, `list_folder_videos`, or the `video_id` field on a completed `scan_url` response. Check `media_type` to branch: for `'photo'`, `transcript` is absent and `images` is present.",
37
+ "The `id` comes from `list_recent_videos`, `search_videos`, `list_folder_videos`, or the `video_id` field on a completed `scan_url` response. Check `media_type` to branch: for `'photo'`, `transcript` is absent and `images` is present. Image URLs are signed links that expire after about an hour, so fetch them again rather than storing them. On newer Quiki servers a photo post's `ai_analysis` can also carry `photoAnalysis`: the text read from each slide and a short description of what it shows.",
38
38
  '',
39
39
  'Pass `fields` to get only some sections, e.g. `["summary"]` to skim several videos cheaply; sections you do not ask for are left out of the response. Older Quiki servers ignore `fields` and do not return `summary`.',
40
40
  ].join('\n'),
@@ -39,7 +39,7 @@ exports.listRecentVideosTool = {
39
39
  },
40
40
  outputSchema: outputSchemas_1.RecentVideosOutput,
41
41
  description: [
42
- "Lists the videos in the authenticated user's library that were most recently scanned or changed, newest first. Returns a trimmed shape (title, author, platform, URL, timestamps) without transcripts or AI analysis, so the agent can skim many entries and pick one to dig into. Call `get_video(id)` for the full body. Photo posts (TikTok carousels) are marked with `media_type: 'photo'` and do not have transcripts; they have `images` instead (fetch them via `get_video`).",
42
+ "Lists the videos in the authenticated user's library that were most recently scanned or changed, newest first. Returns a trimmed shape (title, author, platform, URL, timestamps) without transcripts or AI analysis, so the agent can skim many entries and pick one to dig into. Call `get_video(id)` for the full body. Photo posts (Instagram and TikTok carousels) are marked with `media_type: 'photo'` and do not have transcripts; they have `images` instead (fetch them via `get_video`).",
43
43
  '',
44
44
  'Paging: when `nextCursor` is not null, pass it back as `cursor` (with the same `limit` and `include_failed`) to get the next, older page. `nextCursor` is null on the last page, and also from older Quiki servers that do not page.',
45
45
  '',
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const PACKAGE_VERSION = "0.6.0";
1
+ export declare const PACKAGE_VERSION = "0.6.3";
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.6.0';
7
+ exports.PACKAGE_VERSION = '0.6.3';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quiki/mcp",
3
- "version": "0.6.1",
3
+ "version": "0.6.3",
4
4
  "description": "Quiki.io MCP server: whoami, scan_url, get_scan, list_recent_videos, get_video, search_videos, list_folders, list_folder_videos, create_folder, add_to_folder, bulk_import, bulk_import_estimate, get_bulk_import_status, list_bulk_imports over stdio.",
5
5
  "license": "MIT",
6
6
  "type": "commonjs",
@@ -14,6 +14,7 @@
14
14
  ],
15
15
  "scripts": {
16
16
  "build": "tsc",
17
+ "prepublishOnly": "npm run build",
17
18
  "start": "node dist/index.js",
18
19
  "dev": "ts-node src/index.ts",
19
20
  "test": "jest"