@introspection-ai/recipes 0.54.0 → 0.56.0
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/artifact-links.d.ts +25 -0
- package/dist/artifact-links.d.ts.map +1 -0
- package/dist/artifact-links.js +92 -0
- package/dist/artifact-links.js.map +1 -0
- package/dist/artifact-viewer-tui.d.ts +2 -1
- package/dist/artifact-viewer-tui.d.ts.map +1 -1
- package/dist/artifact-viewer-tui.js.map +1 -1
- package/dist/artifact-viewer.d.ts +2 -1
- package/dist/artifact-viewer.d.ts.map +1 -1
- package/dist/artifact-viewer.js +49 -3
- package/dist/artifact-viewer.js.map +1 -1
- package/dist/artifact.d.ts +5 -4
- package/dist/artifact.d.ts.map +1 -1
- package/dist/artifact.js +4 -1
- package/dist/artifact.js.map +1 -1
- package/dist/batch/files.d.ts +16 -0
- package/dist/batch/files.d.ts.map +1 -0
- package/dist/batch/files.js +58 -0
- package/dist/batch/files.js.map +1 -0
- package/dist/batch/index.d.ts +67 -0
- package/dist/batch/index.d.ts.map +1 -0
- package/dist/batch/index.js +109 -0
- package/dist/batch/index.js.map +1 -0
- package/dist/batch/limiter.d.ts +20 -0
- package/dist/batch/limiter.d.ts.map +1 -0
- package/dist/batch/limiter.js +54 -0
- package/dist/batch/limiter.js.map +1 -0
- package/dist/batch/lines.d.ts +58 -0
- package/dist/batch/lines.d.ts.map +1 -0
- package/dist/batch/lines.js +77 -0
- package/dist/batch/lines.js.map +1 -0
- package/dist/batch/params.d.ts +30 -0
- package/dist/batch/params.d.ts.map +1 -0
- package/dist/batch/params.js +48 -0
- package/dist/batch/params.js.map +1 -0
- package/dist/batch/runner.d.ts +77 -0
- package/dist/batch/runner.d.ts.map +1 -0
- package/dist/batch/runner.js +240 -0
- package/dist/batch/runner.js.map +1 -0
- package/dist/batch/shards.d.ts +42 -0
- package/dist/batch/shards.d.ts.map +1 -0
- package/dist/batch/shards.js +115 -0
- package/dist/batch/shards.js.map +1 -0
- package/dist/connector-tools.d.ts +1 -1
- package/dist/connector-tools.d.ts.map +1 -1
- package/dist/connector-tools.js +15 -0
- package/dist/connector-tools.js.map +1 -1
- package/dist/documents/arguments.d.ts +17 -0
- package/dist/documents/arguments.d.ts.map +1 -1
- package/dist/documents/arguments.generated.d.ts +2 -1
- package/dist/documents/arguments.generated.d.ts.map +1 -1
- package/dist/documents/arguments.generated.js +22 -0
- package/dist/documents/arguments.generated.js.map +1 -1
- package/dist/documents/index.d.ts +1 -1
- package/dist/documents/index.d.ts.map +1 -1
- package/dist/documents/module.d.ts.map +1 -1
- package/dist/documents/module.js +2 -0
- package/dist/documents/module.js.map +1 -1
- package/dist/documents/tools.d.ts +1 -1
- package/dist/documents/tools.d.ts.map +1 -1
- package/dist/documents/tools.js +71 -6
- package/dist/documents/tools.js.map +1 -1
- package/dist/documents/types.d.ts +96 -0
- package/dist/documents/types.d.ts.map +1 -1
- package/dist/interactions.d.ts +6 -0
- package/dist/interactions.d.ts.map +1 -1
- package/dist/interactions.js +9 -0
- package/dist/interactions.js.map +1 -1
- package/dist/mcp-chunks/{chunk-53T5TVPR.js → chunk-AJDK5Z7O.js} +1 -1
- package/dist/mcp-chunks/{chunk-D6OGGMWS.js → chunk-KZGUH7E2.js} +1 -0
- package/dist/mcp-chunks/{server-SLD55EBC.js → server-HQBFWAJR.js} +2 -2
- package/dist/mcp-daemon.js +2 -2
- package/dist/mcp-run-worker.js +1 -1
- package/dist/otel-baggage.d.ts +7 -0
- package/dist/otel-baggage.d.ts.map +1 -0
- package/dist/otel-baggage.js +7 -0
- package/dist/otel-baggage.js.map +1 -0
- package/dist/recipe/manifest.generated.d.ts +3 -1
- package/dist/recipe/manifest.generated.d.ts.map +1 -1
- package/dist/recipe/manifest.generated.js +4 -2
- package/dist/recipe/manifest.generated.js.map +1 -1
- package/dist/recipe/package.d.ts +12 -0
- package/dist/recipe/package.d.ts.map +1 -1
- package/dist/recipe/package.js +32 -0
- package/dist/recipe/package.js.map +1 -1
- package/dist/review.d.ts +1 -1
- package/dist/review.d.ts.map +1 -1
- package/dist/review.js +1 -1
- package/dist/review.js.map +1 -1
- package/dist/session.d.ts +4 -2
- package/dist/session.d.ts.map +1 -1
- package/dist/session.js +29 -10
- package/dist/session.js.map +1 -1
- package/dist/signature/arguments.d.ts +78 -0
- package/dist/signature/arguments.d.ts.map +1 -0
- package/dist/signature/arguments.generated.d.ts +9 -0
- package/dist/signature/arguments.generated.d.ts.map +1 -0
- package/dist/signature/arguments.generated.js +129 -0
- package/dist/signature/arguments.generated.js.map +1 -0
- package/dist/signature/arguments.js +8 -0
- package/dist/signature/arguments.js.map +1 -0
- package/dist/signature/docx.d.ts +41 -0
- package/dist/signature/docx.d.ts.map +1 -0
- package/dist/signature/docx.js +449 -0
- package/dist/signature/docx.js.map +1 -0
- package/dist/signature/index.d.ts +9 -0
- package/dist/signature/index.d.ts.map +1 -0
- package/dist/signature/index.js +5 -0
- package/dist/signature/index.js.map +1 -0
- package/dist/signature/module.d.ts +39 -0
- package/dist/signature/module.d.ts.map +1 -0
- package/dist/signature/module.js +111 -0
- package/dist/signature/module.js.map +1 -0
- package/dist/signature/tool.d.ts +137 -0
- package/dist/signature/tool.d.ts.map +1 -0
- package/dist/signature/tool.js +677 -0
- package/dist/signature/tool.js.map +1 -0
- package/dist/signature/types.d.ts +259 -0
- package/dist/signature/types.d.ts.map +1 -0
- package/dist/signature/types.js +69 -0
- package/dist/signature/types.js.map +1 -0
- package/docs/README.md +19 -17
- package/docs/batch.md +223 -0
- package/docs/documents/README.md +152 -6
- package/docs/pi-extension.md +42 -0
- package/docs/providers.md +3 -1
- package/docs/signature/README.md +311 -0
- package/docs/signature/docusign.md +139 -0
- package/docs/signature/dropbox-sign.md +76 -0
- package/docs/signature/pandadoc.md +76 -0
- package/package.json +16 -6
- package/skills/documents/SKILL.md +17 -1
- package/skills/signature/SKILL.md +97 -0
|
@@ -0,0 +1,311 @@
|
|
|
1
|
+
# Signature tool
|
|
2
|
+
|
|
3
|
+
**Status: built for DocuSign** (`@introspection-ai/recipes/signature` and
|
|
4
|
+
`@introspection-ai/recipe-signature`). Dropbox Sign and PandaDoc are designed
|
|
5
|
+
below and not built. One `signature` tool sends a final, reviewed document
|
|
6
|
+
out for e-signature, with the same commands for each provider. Each provider
|
|
7
|
+
is served through its vendor's own remote MCP server, as the
|
|
8
|
+
[issues tool](../issues/README.md) serves Linear and Jira. Only the document
|
|
9
|
+
itself may take another path: a short-lived signed link the host issues, or,
|
|
10
|
+
where the host has none, one upload over the vendor's REST API
|
|
11
|
+
([Getting the document to the vendor](#getting-the-document-to-the-vendor)).
|
|
12
|
+
DocuSign's tools are captured; each other guide lists what its capture must
|
|
13
|
+
confirm ([Wiring a provider](../providers.md#10-wiring-a-provider)).
|
|
14
|
+
|
|
15
|
+
It is the step after the [document tools](../documents/README.md):
|
|
16
|
+
|
|
17
|
+
1. `documents convert` turns a PDF contract into Word.
|
|
18
|
+
2. The agent redlines it and fills in the customer's side of the signature
|
|
19
|
+
block: a two-column table with the party, then `By:`, `Name:`, `Title:`
|
|
20
|
+
and `Date:` lines.
|
|
21
|
+
3. A person reviews it, and every change is resolved.
|
|
22
|
+
4. `signature prepare` checks the result and makes a draft. `signature send`
|
|
23
|
+
asks the person to approve it, and only then emails the signers.
|
|
24
|
+
|
|
25
|
+
The [productivity tools'](../productivity/README.md) properties hold:
|
|
26
|
+
|
|
27
|
+
- **A command a provider cannot serve is absent, not failing.**
|
|
28
|
+
- **The vocabulary is neutral.** A Recipe written against `signature send`
|
|
29
|
+
runs on any provider by changing `provider`. No vendor payload is in a
|
|
30
|
+
command's arguments or results.
|
|
31
|
+
- **The model acts only on handles the host minted.** A draft and a sent
|
|
32
|
+
request are `sig_…` handles, valid in their session, never a vendor id.
|
|
33
|
+
|
|
34
|
+
## Declare it
|
|
35
|
+
|
|
36
|
+
```json
|
|
37
|
+
{ "pi": { "signature": [{ "provider": "docusign" }] } }
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
and select the tool in the agent file, with the vendor's server behind it:
|
|
41
|
+
|
|
42
|
+
```yaml
|
|
43
|
+
tools: [documents, signature]
|
|
44
|
+
mcp:
|
|
45
|
+
servers:
|
|
46
|
+
docusign:
|
|
47
|
+
include: ["*"]
|
|
48
|
+
behind: [signature]
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
- `provider` is `docusign`, `dropbox-sign` or `pandadoc`, all served by
|
|
52
|
+
`@introspection-ai/recipe-signature`, a companion of Recipes like
|
|
53
|
+
`@introspection-ai/recipe-issues`. A Recipe's own provider adds `package`,
|
|
54
|
+
as for [every family](../providers.md#2-declaring-providers).
|
|
55
|
+
- **One provider per Recipe.** A document goes out through one service.
|
|
56
|
+
- The provider calls the Recipe's MCP server with its own id (`docusign`,
|
|
57
|
+
`dropbox`, `pandadoc`); the `server` option names another. The server is
|
|
58
|
+
kept [behind the tool](../mcp-configuration.md#keep-a-server-behind-a-tool),
|
|
59
|
+
so the model never calls the vendor's tools directly.
|
|
60
|
+
- **The server's URL decides the environment.** A Recipe in development binds
|
|
61
|
+
the vendor's sandbox ([Providers](#providers)). Moving to production changes
|
|
62
|
+
the binding, never a tool argument.
|
|
63
|
+
- Nothing loads, and no tool is offered, unless the Recipe declares
|
|
64
|
+
`pi.signature` and the agent names `signature` in its `tools`. An agent's
|
|
65
|
+
`include: ["*"]` does not select it: a tool that emails people outside the
|
|
66
|
+
organization is chosen by name. When it is selected, the host offers the
|
|
67
|
+
core skill, `skills/signature/SKILL.md`.
|
|
68
|
+
|
|
69
|
+
## Commands
|
|
70
|
+
|
|
71
|
+
| Command | Arguments | Returns | Effect |
|
|
72
|
+
| --- | --- | --- | --- |
|
|
73
|
+
| `prepare` | `path`, `subject`, `message?`, `signers[]`, `cc?[]` | a draft's `sig_…` handle, the document's name and SHA-256, and where each signer's fields went | none outside the session |
|
|
74
|
+
| `send` | `request` (a draft's handle) | the request's status | **sends to others**, after a person approves |
|
|
75
|
+
| `status` | `request` | the request's status and each recipient's | read |
|
|
76
|
+
| `void` | `request`, `reason` | the request's status | **irreversible**, notifies the signers, after a person approves |
|
|
77
|
+
|
|
78
|
+
A signer and a cc are `{ name, email, order? }`. `order` defaults to 1 for
|
|
79
|
+
everyone, so all sign at once; 1, 2, … sign in turn. A cc receives the copy
|
|
80
|
+
once everyone before it has signed.
|
|
81
|
+
|
|
82
|
+
Every provider serves all four, with one difference: PandaDoc voids only a
|
|
83
|
+
sent request. Downloading the signed copy, listing earlier requests,
|
|
84
|
+
reminders, templates and embedded signing are [deferred](#deferred).
|
|
85
|
+
|
|
86
|
+
## What `prepare` checks
|
|
87
|
+
|
|
88
|
+
`prepare` reads the file locally and refuses it, before any provider call,
|
|
89
|
+
with `not_ready` naming what it found (`3 tracked changes`, `2 comments`):
|
|
90
|
+
|
|
91
|
+
- **It is a `.docx` under `outputs/`**, the directory the document tools write
|
|
92
|
+
to, so the document sent is the one the review produced. A PDF is not
|
|
93
|
+
accepted: `documents convert` turns it into Word for review, and the review
|
|
94
|
+
is what makes sending safe.
|
|
95
|
+
- **It has no pending tracked changes** (`w:ins`, `w:del`, moves, formatting
|
|
96
|
+
changes) in its body, headers, footers, footnotes or endnotes. They are
|
|
97
|
+
resolved with `documents respond`.
|
|
98
|
+
- **It has no comments, open or resolved.** Word keeps a resolved comment in
|
|
99
|
+
the file, so a signer would receive the negotiation's notes. The documents
|
|
100
|
+
tool cannot delete one, so the agent asks the person to.
|
|
101
|
+
- **Each signer's lines are found** (below).
|
|
102
|
+
|
|
103
|
+
## Placing fields
|
|
104
|
+
|
|
105
|
+
No provider is given coordinates. Each signer's fields go on their own `By:`
|
|
106
|
+
and `Date:` lines, found from the text the redline filled in:
|
|
107
|
+
|
|
108
|
+
1. In the document's tables, the cell where the signer's name follows
|
|
109
|
+
`Name:` is in the signer's column. A block that keeps every line in one
|
|
110
|
+
cell is handled within that cell.
|
|
111
|
+
2. In that column, the cells starting `By:` and `Date:` are the signer's.
|
|
112
|
+
3. In the **copy sent**, the host writes the provider's marker for that
|
|
113
|
+
signer right after the label's colon, in white text. The file under
|
|
114
|
+
`outputs/` is never changed, and the SHA-256 the person approves is the
|
|
115
|
+
reviewed file's.
|
|
116
|
+
|
|
117
|
+
The obvious anchor does not work: DocuSign places a tab at **every**
|
|
118
|
+
occurrence of its anchor text, and a two-column block has a `By:` in each
|
|
119
|
+
column, so each signer would also get a field in the other party's column.
|
|
120
|
+
Dropbox Sign and PandaDoc cannot anchor to existing text at all, only take
|
|
121
|
+
coordinates or tags typed into the document. A per-signer marker serves all
|
|
122
|
+
three:
|
|
123
|
+
|
|
124
|
+
| Provider | Marker for signer *n* | How the provider reads it |
|
|
125
|
+
| --- | --- | --- |
|
|
126
|
+
| `docusign` | `\sn\`, `\dn\` | `anchorString` tabs (`signHereTabs`, `dateSignedTabs`), `anchorIgnoreIfNotPresent: false`, so DocuSign refuses rather than send without a field |
|
|
127
|
+
| `dropbox-sign` | `[sig\|req\|signern]`, `[date\|req\|signern]` | text tags, with `use_text_tags` |
|
|
128
|
+
| `pandadoc` | `{signature:sn}`, `{date:sn}` | field tags, with `parse_form_fields: false` and the signer's `role` set to `sn` |
|
|
129
|
+
|
|
130
|
+
A DocuSign anchor is written at 1 point, since the tab has its own size. A
|
|
131
|
+
Dropbox Sign or PandaDoc tag *is* the field, sized by its text, so it keeps
|
|
132
|
+
the label's font size and is padded with underscores to the field's width.
|
|
133
|
+
|
|
134
|
+
A signer whose name is on no `Name:` line fails with `anchor_not_found`; one
|
|
135
|
+
whose name is on several, with `ambiguous`. A column with no `Date:` line gets
|
|
136
|
+
no date field. Initials on every page, text fields and signers without a
|
|
137
|
+
`Name:` line are not in this version.
|
|
138
|
+
|
|
139
|
+
## Drafts and approval
|
|
140
|
+
|
|
141
|
+
`prepare` keeps the draft **in the host**, not at the provider: the document's
|
|
142
|
+
path and SHA-256, the subject and message, the recipients and where their
|
|
143
|
+
fields went, recorded in the result's details so the host finds it again after
|
|
144
|
+
a pause. Nothing reaches the provider before `send`. This works the same for
|
|
145
|
+
all three, including Dropbox Sign, whose API has no draft that a later call
|
|
146
|
+
can send without someone finishing it in its web app.
|
|
147
|
+
|
|
148
|
+
`send` and `void` act only with a person's approval of that exact request:
|
|
149
|
+
|
|
150
|
+
1. `send` reads the file again and refuses it with `changed` if its SHA-256
|
|
151
|
+
differs from the draft's.
|
|
152
|
+
2. It asks with `askUserApproval` ([Interactions](../interactions.md)),
|
|
153
|
+
showing what will go out: the subject, the document's name and SHA-256,
|
|
154
|
+
and every signer and cc with their email and order. The card is built from
|
|
155
|
+
the draft, never from text the model wrote for it. `void` shows the
|
|
156
|
+
request, its recipients and the reason.
|
|
157
|
+
3. Only on `approved` does the host call the provider, handing it the marked
|
|
158
|
+
copy ([below](#getting-the-document-to-the-vendor)); the provider creates
|
|
159
|
+
and sends the request in one step.
|
|
160
|
+
|
|
161
|
+
| Host | Approval |
|
|
162
|
+
| --- | --- |
|
|
163
|
+
| Pi terminal (TUI) and RPC | The approval dialog; on approve, the same call proceeds. |
|
|
164
|
+
| Pause/resume host | The call returns the approval interrupt (`metadata.kind: "signature_send"` or `"signature_void"`). After the person approves, the model calls the command again; the host finds the earlier result, rewritten by the host to `Approved.`, checks it names the same request and SHA-256, and proceeds. |
|
|
165
|
+
| Headless and child agents | Refused with `approval_required`. `PI_ASK_USER_AUTO_APPROVE` and a child agent's automatic approvals never approve `send` or `void`. |
|
|
166
|
+
| No channel | Refused with `approval_required`, telling the model to ask in its reply. |
|
|
167
|
+
|
|
168
|
+
The approval is read from the session's own tool results, which the model
|
|
169
|
+
cannot write, so it cannot claim an approval it was not given. A decline, or a
|
|
170
|
+
request for changes, leaves the draft and returns the person's words; to
|
|
171
|
+
change a draft, the agent prepares a new one.
|
|
172
|
+
|
|
173
|
+
On Introspection, a Recipe's `policies/routes.yaml` can name `signature send`
|
|
174
|
+
and `signature void`, so a Cedar rule or an approved mission decides them for
|
|
175
|
+
every provider alike
|
|
176
|
+
([Policy and approvals](../productivity/README.md#policy-and-approvals)). The
|
|
177
|
+
model never can.
|
|
178
|
+
|
|
179
|
+
## Getting the document to the vendor
|
|
180
|
+
|
|
181
|
+
No vendor's MCP server takes a file's bytes: DocuSign's `createEnvelope`
|
|
182
|
+
accepts a document only as a `remoteUrl` and refuses base64, and the others
|
|
183
|
+
take a URL or a file in the person's own storage. So the document reaches the
|
|
184
|
+
vendor one of two ways, chosen by the host, and every other call stays on the
|
|
185
|
+
MCP server:
|
|
186
|
+
|
|
187
|
+
| Path | When | How |
|
|
188
|
+
| --- | --- | --- |
|
|
189
|
+
| **Signed link** | the host passes `publishDocument` | the host publishes the marked copy and the provider passes the link to the server's create tool (DocuSign's `remoteUrl`, Dropbox Sign's `file_urls`) |
|
|
190
|
+
| **Upload** | otherwise | the provider creates the request with one call to the vendor's REST API carrying the file (DocuSign's `documentBase64`), with the same person's token, and the MCP server serves the rest |
|
|
191
|
+
|
|
192
|
+
A provider declares which paths it supports in `capabilities.document`
|
|
193
|
+
(`["link", "upload"]` for DocuSign). The upload's REST host (DocuSign's
|
|
194
|
+
account `base_uri`) is in the provider's `hosts` and needs the egress to allow
|
|
195
|
+
it, beside the MCP server.
|
|
196
|
+
|
|
197
|
+
A signed link, when the host issues one:
|
|
198
|
+
|
|
199
|
+
- **comes from the host, not Recipes:** `publishDocument(bytes, { name,
|
|
200
|
+
contentType })` returns `{ url, expires_at }`. On Introspection it would be
|
|
201
|
+
a signed download URL on the task's file from the platform's file store;
|
|
202
|
+
- **is short-lived and unguessable:** valid for 10 minutes at most, for one
|
|
203
|
+
document, the marked copy the person approved. It is minted only after
|
|
204
|
+
approval, inside `send`, and never shown to the model: the result does not
|
|
205
|
+
carry it, and spans redact it;
|
|
206
|
+
- **is fetched once,** while the vendor creates the request, which then holds
|
|
207
|
+
its own copy. A link that expires first is a `provider_error`, and the
|
|
208
|
+
person approves again.
|
|
209
|
+
|
|
210
|
+
Anyone holding the link can download the contract while it is valid, so a host
|
|
211
|
+
offers it only where that window is acceptable for its documents; the upload
|
|
212
|
+
path never exposes the file.
|
|
213
|
+
|
|
214
|
+
## Status
|
|
215
|
+
|
|
216
|
+
`status` maps each provider's states to one set:
|
|
217
|
+
|
|
218
|
+
| Request | Means |
|
|
219
|
+
| --- | --- |
|
|
220
|
+
| `draft` | prepared in this session, not sent |
|
|
221
|
+
| `sent` | sent; nobody has opened it |
|
|
222
|
+
| `viewed` | a signer opened it |
|
|
223
|
+
| `completed` | everyone signed |
|
|
224
|
+
| `declined` | a signer declined |
|
|
225
|
+
| `voided` | voided by the sender, or expired |
|
|
226
|
+
|
|
227
|
+
A recipient is `pending`, `sent`, `viewed`, `signed` or `declined`, with
|
|
228
|
+
`signed_at` when known. Each guide gives its provider's mapping. DocuSign
|
|
229
|
+
allows one status read per envelope every 15 minutes, so the host keeps each
|
|
230
|
+
answer for the provider's `status_interval_seconds` and returns it with
|
|
231
|
+
`next_check_after` rather than calling again.
|
|
232
|
+
|
|
233
|
+
## Providers
|
|
234
|
+
|
|
235
|
+
| Provider | MCP server: sandbox | MCP server: production | Guide |
|
|
236
|
+
| --- | --- | --- | --- |
|
|
237
|
+
| `docusign` | `https://mcp-d.docusign.com/mcp`, a developer account | `https://mcp.docusign.com/mcp` | [DocuSign](docusign.md) |
|
|
238
|
+
| `dropbox-sign` | `https://mcp.dropbox.com/mcp`, with test mode | the same, without test mode | [Dropbox Sign](dropbox-sign.md) |
|
|
239
|
+
| `pandadoc` | `https://mcp.pandadoc.com/v1/mcp`, a sandbox workspace | the same; `mcp.pandadoc.eu` for EU accounts | [PandaDoc](pandadoc.md) |
|
|
240
|
+
|
|
241
|
+
A provider maps each command to its server's tools, each mapping marked
|
|
242
|
+
`verified` only once checked against a captured tool list, as
|
|
243
|
+
`LINEAR_MCP_TOOLS` is. A provider is offered only when every command it
|
|
244
|
+
declares is served by a verified mapping.
|
|
245
|
+
|
|
246
|
+
## Authentication
|
|
247
|
+
|
|
248
|
+
A provider holds no credential. Each person connects the vendor's MCP server
|
|
249
|
+
once with the vendor's OAuth, and the host attaches their token to the
|
|
250
|
+
server's requests, as for any Recipe MCP server
|
|
251
|
+
([MCP authentication](../mcp-auth.md)). The upload path's REST call uses
|
|
252
|
+
the **same token**: DocuSign's MCP server and its REST API accept one OAuth
|
|
253
|
+
access token from the same sign-in (tested with the `signature` scope), so
|
|
254
|
+
the egress attaches it to the provider's REST host as well, and the person
|
|
255
|
+
connects once. Every request runs as that person,
|
|
256
|
+
from their own account and plan, so the request is sent in their name. A
|
|
257
|
+
sandbox account connects the same way. A person who has not connected gets
|
|
258
|
+
`not_connected`, and the agent asks them with `introspection_open`.
|
|
259
|
+
|
|
260
|
+
## Errors
|
|
261
|
+
|
|
262
|
+
| Code | When |
|
|
263
|
+
| --- | --- |
|
|
264
|
+
| `not_ready` | the document is not a `.docx` under `outputs/`, or has tracked changes or comments |
|
|
265
|
+
| `anchor_not_found` | a signer's `Name:` line, or the `By:` line in its column, is not in the document |
|
|
266
|
+
| `ambiguous` | a signer's name is on more than one `Name:` line |
|
|
267
|
+
| `changed` | the file's SHA-256 differs from the draft's |
|
|
268
|
+
| `approval_required` | `send` or `void` cannot ask a person here |
|
|
269
|
+
| `not_connected` | the provider's MCP server is not bound, or the person has not connected it |
|
|
270
|
+
| `not_found` | the handle names nothing in this session, or the provider no longer has the request |
|
|
271
|
+
| `invalid_request` | arguments the message names, or a command the request's state does not allow (`send` twice, `void` once completed) |
|
|
272
|
+
| `rate_limited` | the provider throttled the call, with `retry_after_seconds` when it says |
|
|
273
|
+
| `provider_error` | the provider failed; the message quotes its error, never the request |
|
|
274
|
+
|
|
275
|
+
## Write a provider
|
|
276
|
+
|
|
277
|
+
As for [issues](../providers.md#7-the-issues-family): a module with `kind:
|
|
278
|
+
"signature"`, `apiVersion`, `id`, `capabilities` (`commands`, `marker`,
|
|
279
|
+
`status_interval_seconds`, `hosts`, `options`) and an `mcp` adapter (`url`,
|
|
280
|
+
`server`, `tools`). Its session implements:
|
|
281
|
+
|
|
282
|
+
- `send({ document, subject, message, signers, cc })`: create the request
|
|
283
|
+
from `document.url` when the host gave a [signed link](#getting-the-document-to-the-vendor),
|
|
284
|
+
else from `document.bytes` by upload, and send it, returning the provider's
|
|
285
|
+
ref and status;
|
|
286
|
+
- `status({ ref })`;
|
|
287
|
+
- `void({ ref, reason })`.
|
|
288
|
+
|
|
289
|
+
`prepare` is the host's alone, so a provider never sees an unapproved draft.
|
|
290
|
+
|
|
291
|
+
## Test
|
|
292
|
+
|
|
293
|
+
- **Unit:** the docx checks and marker placement against `.docx` files built
|
|
294
|
+
in the test (a two-column block, a one-cell block, a missing and a repeated
|
|
295
|
+
name); the approval gate on each host row above; each provider's calls
|
|
296
|
+
against a fake MCP server built from its captured tool list, which refuses
|
|
297
|
+
an argument its schema lacks.
|
|
298
|
+
- **Recorded:** one run per provider against its sandbox, with Polly
|
|
299
|
+
([Wiring a provider](../providers.md#10-wiring-a-provider)): `prepare`,
|
|
300
|
+
`send`, `status` and `void` on a dummy `acme` agreement whose signer and cc
|
|
301
|
+
are the sandbox account's own test addresses, never a real recipient. The
|
|
302
|
+
helper redacts tokens, account ids and addresses before the cassette is
|
|
303
|
+
committed, and CI replays it.
|
|
304
|
+
|
|
305
|
+
## Deferred
|
|
306
|
+
|
|
307
|
+
- **Download** of the signed copy with its certificate.
|
|
308
|
+
- **List** of earlier requests, so `status` can reach one sent in another
|
|
309
|
+
session.
|
|
310
|
+
- **Reminders, templates, embedded signing,** and signers without an email.
|
|
311
|
+
- **Tracked-link sharing** (DocSend), which has no API to create a link.
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
# DocuSign signature provider
|
|
2
|
+
|
|
3
|
+
**Status: built** (`packages/signature/src/docusign.ts`); tools captured. The tools below were captured from the
|
|
4
|
+
developer server (`docusign-mcp-server` v2.2.2, 42 tools) on 2026-11-12; the
|
|
5
|
+
ones the provider calls are in
|
|
6
|
+
[`test/fixtures/signature/docusign-tools.json`](../../test/fixtures/signature/docusign-tools.json).
|
|
7
|
+
The envelope shape follows DocuSign's eSignature REST v2.1 OpenAPI description
|
|
8
|
+
([`docusign/OpenAPI-Specifications`](https://github.com/docusign/OpenAPI-Specifications)).
|
|
9
|
+
|
|
10
|
+
**The document goes by link, or by one REST upload.** `createEnvelope`
|
|
11
|
+
accepts a document only as a `remoteUrl` ("a publicly accessible HTTPS URL,
|
|
12
|
+
max 25 MB per file") and refuses base64. With the host's signed link the
|
|
13
|
+
provider calls it; without one, it creates the envelope over REST
|
|
14
|
+
(`POST {base_uri}/restapi/v2.1/accounts/{accountId}/envelopes` with
|
|
15
|
+
`documentBase64`), with the same token
|
|
16
|
+
([Getting the document to the vendor](README.md#getting-the-document-to-the-vendor)).
|
|
17
|
+
Everything else goes through the MCP server.
|
|
18
|
+
|
|
19
|
+
The `docusign` provider serves the [`signature` tool](README.md) through the
|
|
20
|
+
Docusign MCP Server, a remote server DocuSign hosts.
|
|
21
|
+
|
|
22
|
+
| Environment | Server | OAuth |
|
|
23
|
+
| --- | --- | --- |
|
|
24
|
+
| Developer | `https://mcp-d.docusign.com/mcp` | `account-d.docusign.com` |
|
|
25
|
+
| Production | `https://mcp.docusign.com/mcp` | `account.docusign.com` |
|
|
26
|
+
|
|
27
|
+
```yaml
|
|
28
|
+
mcp:
|
|
29
|
+
servers:
|
|
30
|
+
docusign:
|
|
31
|
+
include: ["*"]
|
|
32
|
+
behind: [signature]
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Commands
|
|
36
|
+
|
|
37
|
+
Every tool but `getUserInfo` takes `accountId`.
|
|
38
|
+
|
|
39
|
+
| Command | Tool | Arguments |
|
|
40
|
+
| --- | --- | --- |
|
|
41
|
+
| `send` | `createEnvelope` with a signed link, else REST `POST …/envelopes` | the envelope definition below, with `status: "sent"`, and `remoteUrl` or `documentBase64` |
|
|
42
|
+
| `status` | `getEnvelope`, `listRecipients` | `envelopeId` |
|
|
43
|
+
| `void` | `updateEnvelope` | `envelopeId`, `envelopeUpdate: { status: "voided", voidedReason }` |
|
|
44
|
+
| setup | `getUserInfo` | none; returns the person's accounts and each one's base URI |
|
|
45
|
+
|
|
46
|
+
The envelope definition `send` passes:
|
|
47
|
+
|
|
48
|
+
```json
|
|
49
|
+
{
|
|
50
|
+
"status": "sent",
|
|
51
|
+
"emailSubject": "Acme MSA for signature",
|
|
52
|
+
"emailBlurb": "Please sign the attached agreement.",
|
|
53
|
+
"documents": [
|
|
54
|
+
{ "documentId": "1", "name": "acme-msa.docx", "fileExtension": "docx", "remoteUrl": "<signed link>" }
|
|
55
|
+
],
|
|
56
|
+
"recipients": {
|
|
57
|
+
"signers": [
|
|
58
|
+
{
|
|
59
|
+
"recipientId": "1",
|
|
60
|
+
"routingOrder": "1",
|
|
61
|
+
"name": "Jane Doe",
|
|
62
|
+
"email": "jane@example.com",
|
|
63
|
+
"tabs": {
|
|
64
|
+
"signHereTabs": [{ "anchorString": "\\s1\\", "anchorUnits": "pixels", "anchorXOffset": "0", "anchorYOffset": "0", "anchorIgnoreIfNotPresent": "false", "anchorMatchWholeWord": "true" }],
|
|
65
|
+
"dateSignedTabs": [{ "anchorString": "\\d1\\", "anchorUnits": "pixels", "anchorXOffset": "0", "anchorYOffset": "0", "anchorIgnoreIfNotPresent": "false", "anchorMatchWholeWord": "true" }]
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
"carbonCopies": [{ "recipientId": "2", "routingOrder": "2", "name": "Sam Roe", "email": "sam@example.com" }]
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
- `emailSubject` is at most 100 characters and is refused, not cut, beyond
|
|
75
|
+
that; `emailBlurb` at most 10,000. A name or email is at most 100.
|
|
76
|
+
- DocuSign converts a `.docx` to PDF itself; `fileExtension` is required for
|
|
77
|
+
it, since a signed link's path need not end in `.docx`.
|
|
78
|
+
- Each tab also takes `documentId` and `recipientId`, which the server's
|
|
79
|
+
schema requires.
|
|
80
|
+
- DocuSign searches every document for an anchor and places a tab at each
|
|
81
|
+
occurrence, which is why each signer has their own marker
|
|
82
|
+
([Placing fields](README.md#placing-fields)). It leaves the anchor text in
|
|
83
|
+
place, so the marker is white.
|
|
84
|
+
- `voidedReason` is cut at 200 characters. A completed envelope cannot be
|
|
85
|
+
voided.
|
|
86
|
+
|
|
87
|
+
## Status mapping
|
|
88
|
+
|
|
89
|
+
| Envelope | Neutral |
|
|
90
|
+
| --- | --- |
|
|
91
|
+
| `sent` | `sent` |
|
|
92
|
+
| `delivered` | `viewed` |
|
|
93
|
+
| `signed`, `completed` | `completed` |
|
|
94
|
+
| `declined` | `declined` |
|
|
95
|
+
| `voided`, `timedout` | `voided` |
|
|
96
|
+
| `deleted` | `not_found` |
|
|
97
|
+
|
|
98
|
+
A recipient's `created` is `pending`, `sent` is `sent`, `delivered` is
|
|
99
|
+
`viewed`, `signed` and `completed` are `signed`, and `declined` is
|
|
100
|
+
`declined`. `autoresponded` (the email bounced) is `sent`, with a note.
|
|
101
|
+
|
|
102
|
+
## Authentication and limits
|
|
103
|
+
|
|
104
|
+
- **Authorization Code grant, per person.** DocuSign registers no MCP client
|
|
105
|
+
itself, so the host's connector holds an integration key and secret from
|
|
106
|
+
DocuSign's developer console, with the `signature` scope. Each person
|
|
107
|
+
connects once. *To capture:* the scopes the server requires.
|
|
108
|
+
- **Plans.** DocuSign says the server's eSignature tools need a paid
|
|
109
|
+
production account, and an account admin can switch MCP access off. A
|
|
110
|
+
developer account reaches the developer server.
|
|
111
|
+
- **Rate limits.** 3,000 calls an hour per account and 500 per 30 seconds,
|
|
112
|
+
and one status read per envelope every 15 minutes:
|
|
113
|
+
`status_interval_seconds` is 900.
|
|
114
|
+
- **Size.** 25 MB per document.
|
|
115
|
+
|
|
116
|
+
## Tested
|
|
117
|
+
|
|
118
|
+
On the developer account, 2026-11-12, with the demo user as the only
|
|
119
|
+
recipient:
|
|
120
|
+
|
|
121
|
+
- `getUserInfo` returned one account and its base URI.
|
|
122
|
+
- `createEnvelope` made a draft from a public URL.
|
|
123
|
+
- A two-column block (Acme and Talent) with the markers written after the
|
|
124
|
+
Acme `By:` and `Date:` lines: DocuSign placed one signature and one date
|
|
125
|
+
tab, both in the Acme column (`listRecipients` with
|
|
126
|
+
`include_anchor_tab_locations`), and none in Talent's.
|
|
127
|
+
- `updateEnvelope` sent it; `getEnvelope` read `sent`.
|
|
128
|
+
- The signer signed from the email; `getEnvelope` read `completed`, and
|
|
129
|
+
`listRecipients` showed the signature tab `signed` and the date tab filled.
|
|
130
|
+
|
|
131
|
+
That run used the upload path: the envelope was created over REST with
|
|
132
|
+
`documentBase64`, then sent and read through the MCP server.
|
|
133
|
+
|
|
134
|
+
## Still to confirm
|
|
135
|
+
|
|
136
|
+
- `createEnvelope` with a `.docx` behind a signed link whose path has no
|
|
137
|
+
extension, and the markers in it.
|
|
138
|
+
- `updateEnvelope` to `voided`, and its error for a completed envelope.
|
|
139
|
+
- A Polly recording of `prepare`, `send`, `status` and `void` for CI.
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# Dropbox Sign signature provider
|
|
2
|
+
|
|
3
|
+
**Status: proposed; blocked on a capture.** Dropbox serves Dropbox Sign's
|
|
4
|
+
tools from its own remote MCP server, `https://mcp.dropbox.com/mcp`, which is
|
|
5
|
+
in beta. Dropbox's help centre says those tools send a document for
|
|
6
|
+
signature, check status, send reminders and cancel a pending request. Neither
|
|
7
|
+
the tool names nor how a tool takes a file have been seen, so this guide
|
|
8
|
+
records what the API supports (from the
|
|
9
|
+
[`hellosign/hellosign-openapi`](https://github.com/hellosign/hellosign-openapi)
|
|
10
|
+
description) and what the capture has to confirm.
|
|
11
|
+
|
|
12
|
+
The `dropbox-sign` provider serves the [`signature` tool](README.md) through
|
|
13
|
+
that server, under the Recipe's server id `dropbox`.
|
|
14
|
+
|
|
15
|
+
```yaml
|
|
16
|
+
mcp:
|
|
17
|
+
servers:
|
|
18
|
+
dropbox:
|
|
19
|
+
include: ["*"]
|
|
20
|
+
behind: [signature]
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Commands
|
|
24
|
+
|
|
25
|
+
| Command | Tool (*to capture*) | API it should reach |
|
|
26
|
+
| --- | --- | --- |
|
|
27
|
+
| `send` | send for signature | `POST /v3/signature_request/send`: the [signed link](README.md#getting-the-document-to-the-vendor) to the marked copy as `file_urls[]`, `signers[]` (`name`, `email_address`, `order`), `cc_email_addresses[]`, `title`, `subject`, `message`, `use_text_tags: true`, `hide_text_tags: false` |
|
|
28
|
+
| `status` | check status | `GET /v3/signature_request/{id}` |
|
|
29
|
+
| `void` | cancel | `POST /v3/signature_request/cancel/{id}` |
|
|
30
|
+
|
|
31
|
+
- **No draft at the provider.** Dropbox Sign's API can only send at once, or
|
|
32
|
+
make a draft someone finishes in its web app (`unclaimed_draft`), which is
|
|
33
|
+
why the host keeps the draft ([Drafts and approval](README.md#drafts-and-approval)).
|
|
34
|
+
- **Text tags.** Each signer's tags are `[sig|req|signern]` and
|
|
35
|
+
`[date|req|signern]`, *n* counting signers from 1. A tag must sit on one
|
|
36
|
+
line, and its width is the field's, so the host pads it. Dropbox Sign's
|
|
37
|
+
own `hide_text_tags` can clip text, so the tags are left in and coloured
|
|
38
|
+
white instead.
|
|
39
|
+
- **Cancel** is asynchronous and cannot be undone: a `200` queues it. It
|
|
40
|
+
applies to a request that is sent and not fully signed, by its sender.
|
|
41
|
+
- **Test mode.** `test_mode: true` makes a request that is free, watermarked
|
|
42
|
+
and not legally binding. Recordings use it.
|
|
43
|
+
|
|
44
|
+
## Status mapping
|
|
45
|
+
|
|
46
|
+
| Signature request | Neutral |
|
|
47
|
+
| --- | --- |
|
|
48
|
+
| `is_complete` | `completed` |
|
|
49
|
+
| `is_declined` | `declined` |
|
|
50
|
+
| cancelled (`410` on read) | `voided` |
|
|
51
|
+
| any signature `last_viewed_at` | `viewed` |
|
|
52
|
+
| otherwise | `sent` |
|
|
53
|
+
|
|
54
|
+
A signature's `awaiting_signature` is `sent`, or `viewed` once
|
|
55
|
+
`last_viewed_at` is set; `signed` is `signed`; `declined` is `declined`.
|
|
56
|
+
|
|
57
|
+
## Authentication and limits
|
|
58
|
+
|
|
59
|
+
- **OAuth with the person's Dropbox account.** Dropbox registers MCP clients
|
|
60
|
+
dynamically only for a trusted set; otherwise the connector holds the
|
|
61
|
+
client id and secret of a Dropbox app. Requests run under the person's own
|
|
62
|
+
Dropbox Sign plan and quota.
|
|
63
|
+
- **Rate limits.** Read from `X-RateLimit-*` headers; a `429`
|
|
64
|
+
(`exceeded_rate`) carries no `Retry-After`, so `X-Ratelimit-Reset` gives
|
|
65
|
+
`retry_after_seconds`. Test mode allows 10 requests a minute.
|
|
66
|
+
- **Size.** 40 MB per file and 500 pages per request.
|
|
67
|
+
|
|
68
|
+
## To capture
|
|
69
|
+
|
|
70
|
+
The provider is not offered until a capture shows:
|
|
71
|
+
|
|
72
|
+
- the Sign tools' names and input schemas;
|
|
73
|
+
- that the send tool takes a file URL (`file_urls`), not only a path in the
|
|
74
|
+
person's Dropbox;
|
|
75
|
+
- that it takes `use_text_tags` and `test_mode`;
|
|
76
|
+
- the error shapes.
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# PandaDoc signature provider
|
|
2
|
+
|
|
3
|
+
**Status: proposed; blocked on a capture.** PandaDoc hosts an official remote
|
|
4
|
+
MCP server, `https://mcp.pandadoc.com/v1/mcp` (`mcp.pandadoc.eu` for EU
|
|
5
|
+
accounts). The tool names below come from PandaDoc's own skill files for it
|
|
6
|
+
([`PandaDoc/mcp-server-guide`](https://github.com/PandaDoc/mcp-server-guide)),
|
|
7
|
+
not from a captured tool list, and the API behind them from PandaDoc's
|
|
8
|
+
OpenAPI description
|
|
9
|
+
([`PandaDoc/pandadoc-openapi-specification`](https://github.com/PandaDoc/pandadoc-openapi-specification),
|
|
10
|
+
8.29.0). It is the low-cost option.
|
|
11
|
+
|
|
12
|
+
The `pandadoc` provider serves the [`signature` tool](README.md) through that
|
|
13
|
+
server, under the Recipe's server id `pandadoc`.
|
|
14
|
+
|
|
15
|
+
```yaml
|
|
16
|
+
mcp:
|
|
17
|
+
servers:
|
|
18
|
+
pandadoc:
|
|
19
|
+
include: ["*"]
|
|
20
|
+
behind: [signature]
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Commands
|
|
24
|
+
|
|
25
|
+
| Command | Tools (*to capture*) | Notes |
|
|
26
|
+
| --- | --- | --- |
|
|
27
|
+
| `send` | `documents_create` (`source: "file"`), `documents_status_get` until `draft`, then `documents_send` | `recipients[]` with `email`, `first_name`, `last_name` (split from `name`), `role` (`s1`, `s2`, … per signer; none for a cc) and `signing_order`; `parse_form_fields: false`. `subject`, `message` on send |
|
|
28
|
+
| `status` | `documents_details_get` | recipients' `has_completed` and `signature_date` |
|
|
29
|
+
| `void` | `documents_status_change` to Expired (`document.voided`) | only from sent or viewed |
|
|
30
|
+
|
|
31
|
+
- **Fields are field tags.** PandaDoc cannot anchor a field to existing text;
|
|
32
|
+
it places one by page coordinates or by a tag typed into the document, and
|
|
33
|
+
its MCP skills say its field tool only reassigns existing fields. Tags work
|
|
34
|
+
in a `.docx`: `{signature:sn}` and `{date:sn}`, the role matching the
|
|
35
|
+
recipient's. A role name takes no underscores.
|
|
36
|
+
- **Creation is asynchronous.** A new document is `document.uploaded` for a
|
|
37
|
+
few seconds, then `document.draft`; `document.error` ends it. The provider
|
|
38
|
+
polls for up to 30 seconds, well within the link's lifetime. If sending
|
|
39
|
+
then fails, the provider deletes the document it created, when the server
|
|
40
|
+
has a tool for that (*to capture*).
|
|
41
|
+
- **A cc** is a recipient without a role.
|
|
42
|
+
|
|
43
|
+
## Status mapping
|
|
44
|
+
|
|
45
|
+
| Document | Neutral |
|
|
46
|
+
| --- | --- |
|
|
47
|
+
| `document.sent`, `waiting_approval`, `approved`, `external_review` | `sent` |
|
|
48
|
+
| `document.viewed` | `viewed` |
|
|
49
|
+
| `document.completed`, `paid`, `waiting_pay` | `completed` |
|
|
50
|
+
| `document.declined`, `rejected` | `declined` |
|
|
51
|
+
| `document.voided` | `voided` |
|
|
52
|
+
| `document.error` | `provider_error` |
|
|
53
|
+
|
|
54
|
+
A recipient is `signed` when `has_completed`, else `sent`.
|
|
55
|
+
|
|
56
|
+
## Authentication and limits
|
|
57
|
+
|
|
58
|
+
- **OAuth per person.** Each person signs in to PandaDoc and picks a
|
|
59
|
+
workspace. PandaDoc publishes no client id for its server, which suggests
|
|
60
|
+
dynamic client registration (*to capture*).
|
|
61
|
+
- **Sandbox.** A sandbox workspace's documents are watermarked and not
|
|
62
|
+
legally binding, and in a trial it sends only within the account's own
|
|
63
|
+
email domain. It allows 10 requests a minute per endpoint, so the descriptor
|
|
64
|
+
sets `status_interval_seconds: 60`.
|
|
65
|
+
- **Size.** 50 MB per document; encrypted PDFs are refused.
|
|
66
|
+
|
|
67
|
+
## To capture
|
|
68
|
+
|
|
69
|
+
The provider is not offered until a capture shows:
|
|
70
|
+
|
|
71
|
+
- the tool names and input schemas;
|
|
72
|
+
- that `documents_create` with `source: "file"` takes the
|
|
73
|
+
[signed link](README.md#getting-the-document-to-the-vendor) to the file, as PandaDoc's REST
|
|
74
|
+
API takes a public HTTPS `url`;
|
|
75
|
+
- that field tags in a `.docx` are read through that path;
|
|
76
|
+
- a delete tool, for a document whose send failed.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@introspection-ai/recipes",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.56.0",
|
|
4
4
|
"description": "The open format for vertical agents, built on Pi.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -61,6 +61,10 @@
|
|
|
61
61
|
"types": "./dist/agents.d.ts",
|
|
62
62
|
"import": "./dist/agents.js"
|
|
63
63
|
},
|
|
64
|
+
"./batch": {
|
|
65
|
+
"types": "./dist/batch/index.d.ts",
|
|
66
|
+
"import": "./dist/batch/index.js"
|
|
67
|
+
},
|
|
64
68
|
"./recipe": {
|
|
65
69
|
"types": "./dist/recipe/resolve.d.ts",
|
|
66
70
|
"import": "./dist/recipe/resolve.js"
|
|
@@ -97,6 +101,10 @@
|
|
|
97
101
|
"types": "./dist/issues/index.d.ts",
|
|
98
102
|
"import": "./dist/issues/index.js"
|
|
99
103
|
},
|
|
104
|
+
"./signature": {
|
|
105
|
+
"types": "./dist/signature/index.d.ts",
|
|
106
|
+
"import": "./dist/signature/index.js"
|
|
107
|
+
},
|
|
100
108
|
"./test-utils": {
|
|
101
109
|
"types": "./dist/test-utils.d.ts",
|
|
102
110
|
"import": "./dist/test-utils.js"
|
|
@@ -118,7 +126,6 @@
|
|
|
118
126
|
"dependencies": {
|
|
119
127
|
"@earendil-works/pi-mcp": ">=1.1.0 <2.0.0",
|
|
120
128
|
"@introspection-sdk/introspection-pi": ">=0.47.0",
|
|
121
|
-
"@opentelemetry/api": "^1.9.1",
|
|
122
129
|
"ajv": "^8.20.0",
|
|
123
130
|
"mcporter": "0.16.1",
|
|
124
131
|
"minimatch": "^10.2.6",
|
|
@@ -134,16 +141,18 @@
|
|
|
134
141
|
"@introspection-ai/recipe-productivity-google": ">=0.1.0",
|
|
135
142
|
"@introspection-ai/recipe-productivity-microsoft": ">=0.1.0",
|
|
136
143
|
"@introspection-ai/recipe-search": ">=0.1.0",
|
|
137
|
-
"@introspection-ai/
|
|
138
|
-
"@introspection-ai/mcp-client-linux-
|
|
139
|
-
"@introspection-ai/mcp-client-
|
|
140
|
-
"@introspection-ai/mcp-client-darwin-
|
|
144
|
+
"@introspection-ai/recipe-signature": ">=0.1.0",
|
|
145
|
+
"@introspection-ai/mcp-client-linux-x64": "0.56.0",
|
|
146
|
+
"@introspection-ai/mcp-client-linux-arm64": "0.56.0",
|
|
147
|
+
"@introspection-ai/mcp-client-darwin-arm64": "0.56.0",
|
|
148
|
+
"@introspection-ai/mcp-client-darwin-x64": "0.56.0"
|
|
141
149
|
},
|
|
142
150
|
"peerDependencies": {
|
|
143
151
|
"@earendil-works/pi-agent-core": ">=1.1.0 <2.0.0",
|
|
144
152
|
"@earendil-works/pi-ai": ">=1.1.0 <2.0.0",
|
|
145
153
|
"@earendil-works/pi-coding-agent": ">=1.1.0 <2.0.0",
|
|
146
154
|
"@earendil-works/pi-tui": ">=1.1.0 <2.0.0",
|
|
155
|
+
"@opentelemetry/api": "^1.10.0",
|
|
147
156
|
"typebox": "*"
|
|
148
157
|
},
|
|
149
158
|
"devDependencies": {
|
|
@@ -152,6 +161,7 @@
|
|
|
152
161
|
"@earendil-works/pi-coding-agent": "1.5.0",
|
|
153
162
|
"@earendil-works/pi-tui": "1.5.0",
|
|
154
163
|
"@eslint/js": "9.39.5",
|
|
164
|
+
"@opentelemetry/api": "^1.10.0",
|
|
155
165
|
"@pollyjs/adapter-fetch": "^6.0.7",
|
|
156
166
|
"@pollyjs/core": "^6.0.6",
|
|
157
167
|
"@pollyjs/persister-fs": "^6.0.6",
|