@capxul/mcp 4.0.1 → 4.1.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/main.mjs +146 -2
- package/package.json +2 -2
package/dist/main.mjs
CHANGED
|
@@ -4056,12 +4056,14 @@ const CAPXUL_OPERATIONS = {
|
|
|
4056
4056
|
},
|
|
4057
4057
|
activity: {
|
|
4058
4058
|
annotate: "activity.annotate",
|
|
4059
|
+
emitAnnotationSaved: "activity.emitAnnotationSaved",
|
|
4059
4060
|
get: "activity.get",
|
|
4060
4061
|
list: "activity.list",
|
|
4061
4062
|
summary: "activity.summary"
|
|
4062
4063
|
},
|
|
4063
4064
|
addressBook: {
|
|
4064
4065
|
add: "addressBook.add",
|
|
4066
|
+
emitRelationshipChanged: "addressBook.emitRelationshipChanged",
|
|
4065
4067
|
get: "addressBook.get",
|
|
4066
4068
|
hide: "addressBook.hide",
|
|
4067
4069
|
label: "addressBook.label",
|
|
@@ -5143,6 +5145,148 @@ Schema.Struct({
|
|
|
5143
5145
|
name: Schema.Literal("movement_scan_incident"),
|
|
5144
5146
|
props: MovementScanIncidentProps
|
|
5145
5147
|
});
|
|
5148
|
+
const ActivityReferenceProps = {
|
|
5149
|
+
reference_kind: Schema.Literals(["payment", "movement"]),
|
|
5150
|
+
reference_id: Schema.String
|
|
5151
|
+
};
|
|
5152
|
+
const ActivityFilterProps = {
|
|
5153
|
+
filter_kind: Schema.optional(Schema.Literals([
|
|
5154
|
+
"all",
|
|
5155
|
+
"payment",
|
|
5156
|
+
"movement"
|
|
5157
|
+
])),
|
|
5158
|
+
filter_direction: Schema.optional(Schema.Literals([
|
|
5159
|
+
"all",
|
|
5160
|
+
"in",
|
|
5161
|
+
"out",
|
|
5162
|
+
"self"
|
|
5163
|
+
])),
|
|
5164
|
+
filter_status: Schema.optional(Schema.Array(Schema.Literals([
|
|
5165
|
+
"pending",
|
|
5166
|
+
"settling",
|
|
5167
|
+
"pending_claim",
|
|
5168
|
+
"scheduled",
|
|
5169
|
+
"streaming",
|
|
5170
|
+
"settled",
|
|
5171
|
+
"cancelled",
|
|
5172
|
+
"failed"
|
|
5173
|
+
])))
|
|
5174
|
+
};
|
|
5175
|
+
const ActivityActionProps = {
|
|
5176
|
+
...TelemetryEnvelopeProps,
|
|
5177
|
+
scope_kind: Schema.Literals(["account", "organization"]),
|
|
5178
|
+
reason_code: Schema.optional(Schema.Literals(CAPXUL_ERROR_CODES))
|
|
5179
|
+
};
|
|
5180
|
+
Schema.Struct({
|
|
5181
|
+
name: Schema.Literal("contact_relationship_changed"),
|
|
5182
|
+
props: Schema.Struct({
|
|
5183
|
+
...TelemetryEnvelopeProps,
|
|
5184
|
+
change: Schema.Literals([
|
|
5185
|
+
"added",
|
|
5186
|
+
"renamed",
|
|
5187
|
+
"hidden",
|
|
5188
|
+
"restored"
|
|
5189
|
+
]),
|
|
5190
|
+
scope_kind: Schema.Literals(["account", "organization"]),
|
|
5191
|
+
scope_id: Schema.String,
|
|
5192
|
+
owner_party_id: Schema.String,
|
|
5193
|
+
party_id: Schema.String,
|
|
5194
|
+
hidden: Schema.Boolean,
|
|
5195
|
+
occurred_at: Schema.Number,
|
|
5196
|
+
operation: Schema.Literals([
|
|
5197
|
+
CAPXUL_OPERATIONS.addressBook.add,
|
|
5198
|
+
CAPXUL_OPERATIONS.addressBook.label,
|
|
5199
|
+
CAPXUL_OPERATIONS.addressBook.hide,
|
|
5200
|
+
CAPXUL_OPERATIONS.addressBook.unhide
|
|
5201
|
+
])
|
|
5202
|
+
})
|
|
5203
|
+
});
|
|
5204
|
+
const ContactActionProps = {
|
|
5205
|
+
...TelemetryEnvelopeProps,
|
|
5206
|
+
scope_kind: Schema.Literals(["account", "organization"]),
|
|
5207
|
+
party_id: OptionalString,
|
|
5208
|
+
reason_code: Schema.optional(Schema.Literals(CAPXUL_ERROR_CODES))
|
|
5209
|
+
};
|
|
5210
|
+
Schema.Struct({
|
|
5211
|
+
name: Schema.Literal("ui_contact_action_completed"),
|
|
5212
|
+
props: Schema.Union([
|
|
5213
|
+
Schema.Struct({
|
|
5214
|
+
...ContactActionProps,
|
|
5215
|
+
action: Schema.Literal("add"),
|
|
5216
|
+
outcome: Schema.Literals(["opened", "cancelled"])
|
|
5217
|
+
}),
|
|
5218
|
+
Schema.Struct({
|
|
5219
|
+
...ContactActionProps,
|
|
5220
|
+
action: Schema.Literal("refusal"),
|
|
5221
|
+
outcome: Schema.Literal("displayed")
|
|
5222
|
+
}),
|
|
5223
|
+
Schema.Struct({
|
|
5224
|
+
...ContactActionProps,
|
|
5225
|
+
action: Schema.Literal("retry"),
|
|
5226
|
+
outcome: Schema.Literal("requested")
|
|
5227
|
+
})
|
|
5228
|
+
])
|
|
5229
|
+
});
|
|
5230
|
+
Schema.Struct({
|
|
5231
|
+
name: Schema.Literal("activity_annotation_saved"),
|
|
5232
|
+
props: Schema.Struct({
|
|
5233
|
+
...TelemetryEnvelopeProps,
|
|
5234
|
+
...ActivityReferenceProps,
|
|
5235
|
+
scope_kind: Schema.Literals(["account", "organization"]),
|
|
5236
|
+
scope_id: Schema.String,
|
|
5237
|
+
occurred_at: Schema.Number
|
|
5238
|
+
})
|
|
5239
|
+
});
|
|
5240
|
+
Schema.Struct({
|
|
5241
|
+
name: Schema.Literal("ui_activity_action_completed"),
|
|
5242
|
+
props: Schema.Union([
|
|
5243
|
+
Schema.Struct({
|
|
5244
|
+
...ActivityActionProps,
|
|
5245
|
+
...ActivityFilterProps,
|
|
5246
|
+
action: Schema.Literal("filter"),
|
|
5247
|
+
outcome: Schema.Literal("committed")
|
|
5248
|
+
}),
|
|
5249
|
+
Schema.Struct({
|
|
5250
|
+
...ActivityActionProps,
|
|
5251
|
+
action: Schema.Literal("refusal"),
|
|
5252
|
+
outcome: Schema.Literal("displayed")
|
|
5253
|
+
}),
|
|
5254
|
+
Schema.Struct({
|
|
5255
|
+
...ActivityActionProps,
|
|
5256
|
+
action: Schema.Literal("retry"),
|
|
5257
|
+
outcome: Schema.Literal("requested")
|
|
5258
|
+
}),
|
|
5259
|
+
Schema.Struct({
|
|
5260
|
+
...ActivityActionProps,
|
|
5261
|
+
...ActivityReferenceProps,
|
|
5262
|
+
action: Schema.Literal("detail"),
|
|
5263
|
+
outcome: Schema.Literals(["opened", "failed"])
|
|
5264
|
+
}),
|
|
5265
|
+
Schema.Struct({
|
|
5266
|
+
...ActivityActionProps,
|
|
5267
|
+
...ActivityReferenceProps,
|
|
5268
|
+
action: Schema.Literal("receipt"),
|
|
5269
|
+
outcome: Schema.Literals([
|
|
5270
|
+
"document_rendered",
|
|
5271
|
+
"explorer_opened",
|
|
5272
|
+
"popup_blocked",
|
|
5273
|
+
"failed"
|
|
5274
|
+
])
|
|
5275
|
+
}),
|
|
5276
|
+
Schema.Struct({
|
|
5277
|
+
...ActivityActionProps,
|
|
5278
|
+
...ActivityFilterProps,
|
|
5279
|
+
action: Schema.Literal("export"),
|
|
5280
|
+
outcome: Schema.Literals([
|
|
5281
|
+
"completed",
|
|
5282
|
+
"partial",
|
|
5283
|
+
"failed"
|
|
5284
|
+
]),
|
|
5285
|
+
row_count: Schema.optional(Schema.Number),
|
|
5286
|
+
truncated: Schema.optional(Schema.Boolean)
|
|
5287
|
+
})
|
|
5288
|
+
])
|
|
5289
|
+
});
|
|
5146
5290
|
function redactTelemetryProps(name, props, options = {}) {
|
|
5147
5291
|
if (props === void 0) return void 0;
|
|
5148
5292
|
const clone = cloneProps$1(props);
|
|
@@ -11383,7 +11527,7 @@ const moneyExecutionContract = {
|
|
|
11383
11527
|
};
|
|
11384
11528
|
//#endregion
|
|
11385
11529
|
//#region ../../packages/sdk/package.json
|
|
11386
|
-
var version$1 = "4.0
|
|
11530
|
+
var version$1 = "4.1.0";
|
|
11387
11531
|
//#endregion
|
|
11388
11532
|
//#region ../../packages/sdk/src/telemetry/exception-projection.ts
|
|
11389
11533
|
/** Fixed fallback for failures that have no safe message. */
|
|
@@ -46415,7 +46559,7 @@ function stdioIdentity(env = process.env, options = {}) {
|
|
|
46415
46559
|
}
|
|
46416
46560
|
//#endregion
|
|
46417
46561
|
//#region package.json
|
|
46418
|
-
var version = "4.0
|
|
46562
|
+
var version = "4.1.0";
|
|
46419
46563
|
//#endregion
|
|
46420
46564
|
//#region src/deps.ts
|
|
46421
46565
|
const NO_IDENTITY = async () => void 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capxul/mcp",
|
|
3
|
-
"version": "4.0
|
|
3
|
+
"version": "4.1.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Capxul MCP server for auth, Account readiness, identity, Organizations, relationships, requests, destinations, and testnet funding over Streamable HTTP.",
|
|
6
6
|
"keywords": [
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"vite": "npm:@voidzero-dev/vite-plus-core@0.3.0",
|
|
52
52
|
"vite-plus": "0.3.0",
|
|
53
53
|
"@capxul/config": "0.3.0",
|
|
54
|
-
"@capxul/sdk": "4.0
|
|
54
|
+
"@capxul/sdk": "4.1.0",
|
|
55
55
|
"@capxul/typescript-config": "0.0.0"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|