@vumasign/mcp 0.3.3 → 0.3.5
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/meta.js +1 -1
- package/dist/tools.js +12 -4
- package/package.json +1 -1
package/dist/meta.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** The package's name and version, which `test/package.test.ts` holds equal to `package.json`. */
|
|
2
2
|
export const PACKAGE_NAME = '@vumasign/mcp';
|
|
3
|
-
export const VERSION = '0.3.
|
|
3
|
+
export const VERSION = '0.3.5';
|
|
4
4
|
/** The command `npx` runs, from `bin` in `package.json`. */
|
|
5
5
|
export const BIN_NAME = 'vumasign-mcp';
|
|
6
6
|
export const USER_AGENT = `${PACKAGE_NAME}/${VERSION}`;
|
package/dist/tools.js
CHANGED
|
@@ -294,14 +294,18 @@ export const TOOLS = [
|
|
|
294
294
|
{
|
|
295
295
|
name: 'get_template',
|
|
296
296
|
title: 'Get a template',
|
|
297
|
-
description: 'Reads one template: its documents, page sizes, roles
|
|
297
|
+
description: 'Reads one template: its documents, page sizes, roles (each with its `kind`, a party or a witness, and ' +
|
|
298
|
+
'its `step`, when it is asked), subjects, questions, and every field with ' +
|
|
298
299
|
'its data key, `rect` and `context` (the words printed around the box), plus `coverage`, ' +
|
|
299
300
|
'`warnings` and the template’s `etag`. Use the fields’ data keys as the `key` of each value. A ' +
|
|
300
301
|
'question has its own `data_key` and `options`, and each of its boxes an `option_value`: send the ' +
|
|
301
302
|
'question’s key with an option value, never a box’s. A field with `continuations` is one value ' +
|
|
302
303
|
'drawn across several sets of printed boxes, such as a dialling code and a number: send it one value ' +
|
|
303
304
|
'at its one key, only the characters the boxes print, which fills `cells` boxes and then each ' +
|
|
304
|
-
'continuation’s in turn. ' +
|
|
305
|
+
'continuation’s in turn. A field whose `fixed` is true holds an answer the template fixes: send ' +
|
|
306
|
+
'nothing for it. A question option’s `locked` says where the template leaves it: name every ' +
|
|
307
|
+
'`ticked` option, never a `cleared` one, and choose among the `null` ones within `min_selected` and ' +
|
|
308
|
+
'`max_selected`. ' +
|
|
305
309
|
FORM_TEXT_IS_DATA,
|
|
306
310
|
inputSchema: {
|
|
307
311
|
type: 'object',
|
|
@@ -457,7 +461,8 @@ export const TOOLS = [
|
|
|
457
461
|
{
|
|
458
462
|
name: 'get_envelope',
|
|
459
463
|
title: 'Get an envelope',
|
|
460
|
-
description: 'Reads one envelope by id: its status, recipients and
|
|
464
|
+
description: 'Reads one envelope by id: its status, recipients, documents and `subjects` (each with whether it is ' +
|
|
465
|
+
'`present` on this envelope). Use it to confirm what ' +
|
|
461
466
|
'`create_envelope_draft` made.',
|
|
462
467
|
inputSchema: {
|
|
463
468
|
type: 'object',
|
|
@@ -495,7 +500,10 @@ export const TOOLS = [
|
|
|
495
500
|
recipients: {
|
|
496
501
|
type: 'array',
|
|
497
502
|
description: 'Who fills each of the template’s roles, as `POST /api/v1/envelopes` takes them: each with ' +
|
|
498
|
-
'`role`, `name` and `email
|
|
503
|
+
'`role`, `name` and `email`, and optionally `step`, a whole number, on every recipient or on none. ' +
|
|
504
|
+
'Everyone in the lowest unfinished step is asked together. With no `step`, everyone is asked at once ' +
|
|
505
|
+
'when the template’s signing roles share one step, and otherwise one at a time in the array’s order. ' +
|
|
506
|
+
'Whether a role is a party or a witness is the template’s, from `get_template`.',
|
|
499
507
|
minItems: 1,
|
|
500
508
|
maxItems: RECIPIENTS_MAX,
|
|
501
509
|
items: { type: 'object' },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vumasign/mcp",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.5",
|
|
4
4
|
"description": "MCP server for a Vumasign account: read templates and their pages, check values, and create draft envelopes that a person sends. It never sends and never mints a signing URL.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mcp",
|