@unclick/mcp-server 0.3.17 → 0.3.19
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/__tests__/legalpass-tool.test.d.ts +2 -0
- package/dist/__tests__/legalpass-tool.test.d.ts.map +1 -0
- package/dist/__tests__/legalpass-tool.test.js +44 -0
- package/dist/__tests__/legalpass-tool.test.js.map +1 -0
- package/dist/__tests__/tool-schema-validation.test.d.ts +2 -0
- package/dist/__tests__/tool-schema-validation.test.d.ts.map +1 -0
- package/dist/__tests__/tool-schema-validation.test.js +54 -0
- package/dist/__tests__/tool-schema-validation.test.js.map +1 -0
- package/dist/copypass-tool.d.ts +3 -0
- package/dist/copypass-tool.d.ts.map +1 -0
- package/dist/copypass-tool.js +123 -0
- package/dist/copypass-tool.js.map +1 -0
- package/dist/copypass-tool.test.d.ts +2 -0
- package/dist/copypass-tool.test.d.ts.map +1 -0
- package/dist/copypass-tool.test.js +41 -0
- package/dist/copypass-tool.test.js.map +1 -0
- package/dist/legalpass-tool.d.ts +15 -0
- package/dist/legalpass-tool.d.ts.map +1 -0
- package/dist/legalpass-tool.js +121 -0
- package/dist/legalpass-tool.js.map +1 -0
- package/dist/memory/__tests__/response-bounds.test.js +31 -2
- package/dist/memory/__tests__/response-bounds.test.js.map +1 -1
- package/dist/memory/handlers.d.ts +1 -1
- package/dist/memory/handlers.d.ts.map +1 -1
- package/dist/memory/handlers.js +77 -5
- package/dist/memory/handlers.js.map +1 -1
- package/dist/memory/local.d.ts.map +1 -1
- package/dist/memory/local.js +2 -0
- package/dist/memory/local.js.map +1 -1
- package/dist/memory/supabase.d.ts.map +1 -1
- package/dist/memory/supabase.js +2 -0
- package/dist/memory/supabase.js.map +1 -1
- package/dist/memory/types.d.ts +2 -0
- package/dist/memory/types.d.ts.map +1 -1
- package/dist/server.d.ts +12 -0
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +82 -3
- package/dist/server.js.map +1 -1
- package/dist/tool-wiring.d.ts +120 -0
- package/dist/tool-wiring.d.ts.map +1 -1
- package/dist/tool-wiring.js +79 -0
- package/dist/tool-wiring.js.map +1 -1
- package/package.json +2 -1
package/dist/tool-wiring.js
CHANGED
|
@@ -195,10 +195,14 @@ import { lsListStores, lsListProducts, lsListOrders, lsListSubscriptions, lsGetO
|
|
|
195
195
|
import { ckListSubscribers, ckAddSubscriber, ckListForms, ckListSequences, ckListTags, ckTagSubscriber, } from "./convertkit-tool.js";
|
|
196
196
|
// ─── TestPass ─────────────────────────────────────────────────────────────────
|
|
197
197
|
import { testpassRun, testpassStatus, testpassSavePack, testpassEditItem, testpassReportHtml, testpassReportJson, testpassReportMd, } from "./testpass-tool.js";
|
|
198
|
+
// ─── LegalPass (issue-spotting guardrails) ───────────────────────────────────
|
|
199
|
+
import { legalpassRun, legalpassVerdict, } from "./legalpass-tool.js";
|
|
198
200
|
// ─── UXPass (sister to TestPass, UI/UX QC) ───────────────────────────────────
|
|
199
201
|
import { uxpassRun, uxpassStatus, uxpassReportHtml, uxpassReportJson, uxpassReportMd, uxpassRegisterPack, } from "./uxpass-tool.js";
|
|
200
202
|
// ─── SEOPass (search visibility QC, sister to UXPass) ───────────────────────
|
|
201
203
|
import { seopassRun, seopassStatus, seopassRegisterPack, seopassLighthousePlan, } from "./seopass-tool.js";
|
|
204
|
+
// ─── CopyPass (copy quality QC, sister to SecurityPass) ─────────────────────
|
|
205
|
+
import { copypassRun, copypassStatus, } from "./copypass-tool.js";
|
|
202
206
|
// ─── Crews (Orchestrator Wizard) ──────────────────────────────────────────────
|
|
203
207
|
import { crewsStartRun, crewsGetRun, crewsListRuns } from "./crews-tool.js";
|
|
204
208
|
// ─────────────────────────────────────────────────────────────────────────────
|
|
@@ -11179,6 +11183,46 @@ export const ADDITIONAL_TOOLS = [
|
|
|
11179
11183
|
required: ["run_id"],
|
|
11180
11184
|
},
|
|
11181
11185
|
},
|
|
11186
|
+
// ── legalpass-tool.ts ──────────────────────────────────────────────────────
|
|
11187
|
+
{
|
|
11188
|
+
name: "legalpass_run",
|
|
11189
|
+
description: "Plan a LegalPass issue-spotting run against a URL, contract upload, or repo. Scaffold-only: exposes LegalPass guardrails and the safe run envelope while full 12-hat execution lands in a later engine chip.",
|
|
11190
|
+
inputSchema: {
|
|
11191
|
+
type: "object",
|
|
11192
|
+
additionalProperties: false,
|
|
11193
|
+
properties: {
|
|
11194
|
+
pack_id: { type: "string", description: "LegalPass pack slug (default: legalpass-mvp-v0)" },
|
|
11195
|
+
target: {
|
|
11196
|
+
type: "object",
|
|
11197
|
+
additionalProperties: false,
|
|
11198
|
+
properties: {
|
|
11199
|
+
kind: { type: "string", enum: ["url", "contract_upload", "repo"] },
|
|
11200
|
+
url: { type: "string", description: "Target URL for url runs" },
|
|
11201
|
+
upload_ref: { type: "string", description: "Upload reference for contract_upload runs" },
|
|
11202
|
+
repo: { type: "string", description: "Repository identifier for repo runs" },
|
|
11203
|
+
branch: { type: "string", description: "Optional branch name for repo runs" },
|
|
11204
|
+
commit: { type: "string", description: "Optional commit SHA for repo runs" },
|
|
11205
|
+
},
|
|
11206
|
+
required: ["kind"],
|
|
11207
|
+
},
|
|
11208
|
+
profile: { type: "string", enum: ["smoke", "standard", "deep"], description: "Run profile (default: smoke)" },
|
|
11209
|
+
jurisdictions: { type: "array", items: { type: "string" }, description: "Optional jurisdiction routing hints" },
|
|
11210
|
+
},
|
|
11211
|
+
required: ["target"],
|
|
11212
|
+
},
|
|
11213
|
+
},
|
|
11214
|
+
{
|
|
11215
|
+
name: "legalpass_verdict",
|
|
11216
|
+
description: "Lint LegalPass-style verdict text against the issue-spotter guardrail and return the legally reviewed disclaimer banner for Pass-family outputs.",
|
|
11217
|
+
inputSchema: {
|
|
11218
|
+
type: "object",
|
|
11219
|
+
additionalProperties: false,
|
|
11220
|
+
properties: {
|
|
11221
|
+
verdict_text: { type: "string", description: "Verdict or finding text to check before display" },
|
|
11222
|
+
disclaimer_length: { type: "string", enum: ["chat", "results", "tos"], description: "Disclaimer length to return (default: results)" },
|
|
11223
|
+
},
|
|
11224
|
+
},
|
|
11225
|
+
},
|
|
11182
11226
|
// ── uxpass-tool.ts (UI/UX QC, sister to TestPass) ──────────────────────────
|
|
11183
11227
|
{
|
|
11184
11228
|
name: "uxpass_run",
|
|
@@ -11312,6 +11356,35 @@ export const ADDITIONAL_TOOLS = [
|
|
|
11312
11356
|
required: ["url"],
|
|
11313
11357
|
},
|
|
11314
11358
|
},
|
|
11359
|
+
// ── copypass-tool.ts (copy quality QC, scaffold-only for Chunk 1) ────────
|
|
11360
|
+
{
|
|
11361
|
+
name: "copypass_run",
|
|
11362
|
+
description: "Start a scaffold CopyPass run for AI-generated copy. Chunk 1 stores an in-session run record and echoes operator context so later evidence-led copy checks can plug into a stable shape.",
|
|
11363
|
+
inputSchema: {
|
|
11364
|
+
type: "object",
|
|
11365
|
+
additionalProperties: false,
|
|
11366
|
+
properties: {
|
|
11367
|
+
copy_text: { type: "string", description: "The AI-generated copy to review." },
|
|
11368
|
+
channel: { type: "string", description: "Optional surface label such as homepage_hero, pricing_section, or onboarding_email." },
|
|
11369
|
+
audience: { type: "string", description: "Optional intended audience for the copy." },
|
|
11370
|
+
goal: { type: "string", description: "Optional goal for the copy, such as clarity, conversion, or trust." },
|
|
11371
|
+
profile: { type: "string", enum: ["smoke", "standard", "deep"], description: "Reserved for later evaluator depth. Defaults to smoke." },
|
|
11372
|
+
},
|
|
11373
|
+
required: ["copy_text"],
|
|
11374
|
+
},
|
|
11375
|
+
},
|
|
11376
|
+
{
|
|
11377
|
+
name: "copypass_status",
|
|
11378
|
+
description: "Fetch the current status, notes, and scaffold finding count for a CopyPass run started in this MCP session.",
|
|
11379
|
+
inputSchema: {
|
|
11380
|
+
type: "object",
|
|
11381
|
+
additionalProperties: false,
|
|
11382
|
+
properties: {
|
|
11383
|
+
run_id: { type: "string", description: "The run id returned by copypass_run" },
|
|
11384
|
+
},
|
|
11385
|
+
required: ["run_id"],
|
|
11386
|
+
},
|
|
11387
|
+
},
|
|
11315
11388
|
// ── crews-tool.ts (Orchestrator Wizard) ──────────────────────────────────────
|
|
11316
11389
|
{
|
|
11317
11390
|
name: "start_crew_run",
|
|
@@ -12293,6 +12366,9 @@ export const ADDITIONAL_HANDLERS = {
|
|
|
12293
12366
|
testpass_report_html: (args) => testpassReportHtml(args),
|
|
12294
12367
|
testpass_report_json: (args) => testpassReportJson(args),
|
|
12295
12368
|
testpass_report_md: (args) => testpassReportMd(args),
|
|
12369
|
+
// legalpass-tool.ts
|
|
12370
|
+
legalpass_run: (args) => legalpassRun(args),
|
|
12371
|
+
legalpass_verdict: (args) => legalpassVerdict(args),
|
|
12296
12372
|
// uxpass-tool.ts
|
|
12297
12373
|
uxpass_run: (args) => uxpassRun(args),
|
|
12298
12374
|
uxpass_status: (args) => uxpassStatus(args),
|
|
@@ -12305,6 +12381,9 @@ export const ADDITIONAL_HANDLERS = {
|
|
|
12305
12381
|
seopass_status: (args) => seopassStatus(args),
|
|
12306
12382
|
seopass_register_pack: (args) => seopassRegisterPack(args),
|
|
12307
12383
|
seopass_lighthouse_plan: (args) => seopassLighthousePlan(args),
|
|
12384
|
+
// copypass-tool.ts
|
|
12385
|
+
copypass_run: (args) => copypassRun(args),
|
|
12386
|
+
copypass_status: (args) => copypassStatus(args),
|
|
12308
12387
|
// crews-tool.ts
|
|
12309
12388
|
start_crew_run: (args) => crewsStartRun(args),
|
|
12310
12389
|
get_run: (args) => crewsGetRun(args),
|