@capxul/mcp 4.20.0-beta.39 → 4.20.0-beta.40
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { i as __exportAll, o as __require, r as __commonJSMin, s as __toESM } from "./lib-DnmstTkB.mjs";
|
|
3
|
-
import { $ as deserializeCapxulError, $n as readField, $t as ORGANIZATION_SETUP_REASONS, A as convexCallErrorFromCapxul, An as size, At as oauthBearerAuthClient, Bn as redactSecrets, Bt as CLI_CAPABILITIES, C as PonderIndexerAdapter, Cn as numberToHex$1, Ct as runPortEffect, D as TelemetryPortTag, Dn as hexToNumber, Dt as formatTraceparent, E as AccountReadPortTag, En as hexToBigInt, Et as toCapxulResult, F as makeDestinationsMethods, Fn as isEvmAddress, Ft as observationRequestHeaders, G as toPublicError, Gn as AuthClientError, Gt as MCP_EXPECTED_OUTCOME_EVENT_NAME, H as BASE_SEPOLIA_CHAIN_ID, Hn as isCredentialField, Ht as CLI_INVOCATION_KINDS, I as makeCheckoutMethods, In as toAddress, It as attachInvocationObservation, J as observeFailedResult, Jn as globalLocalStorage, Jt as normalizeCapxulOperation, K as failureDetail$1, Kn as AuthClientPortTag, Kt as CAPXUL_OPERATIONS, L as makeTargetsMethods, Ln as absurd, Lt as copyInvocationObservation, M as makeApprovalsMethods, Mn as DurationMsSchema, Mt as ClockPortTag, N as makeAccountMethods, Nn as EpochMsSchema, Nt as BetterAuthNodeLayer, O as ConvexCallError, On as trim$1, Ot as ActorFailure, P as makePaymentsMethods, Pn as ChainIdSchema, Pt as BetterAuthBrowserLayer, Q as version$2, Qn as isRecord, Qt as setups, R as makeVerificationMethods, Rn as getFunctionName, Rt as readInvocationObservation, S as makeHoldingsMethods, Sn as bytesToHex, St as runIdentityFacade, T as ConvexAccountLayer, Tn as toHex, Tt as runCapxulEffect, U as callOperation, Un as toAllowedOrigin, Ut as FAILURE_CLASSES, V as normalizeSafeSaltEmail, Vn as redactUrlSecrets, Vt as CLI_COMMAND_NAMES, W as asCapxulError, Wn as toPublishableKey, Wt as EXCEPTION_EVENT_NAME, X as withCapturedAttemptContext, Xn as toAuthUserId, Xt as details, Y as observeSdkClient, Yn as toEpochMs, Yt as OPERATIONS, Z as failureProperties, Zn as toEmail, Zt as onboardings, _ as makeActivityMethods, _n as concatHex, _t as validateHandle, an as diagnostics, ar as httpStatusMode, at as isEcdsaSignatureHex, b as ConvexSmartAccountLayer, bn as keccak256$1, bt as noSessionError, c as OrgPortTag, cn as isBytes32, cr as FAILURE_MODES, ct as recoverRawDigestSigner, dn as toRlp, dt as makeCurrentUserMethods, en as ORGANIZATION_SETUP_STATUSES, er as AuthCachePortTag, et as maskedMessage, fn as publicKeyToAddress, ft as makeClientRequestMethods, g as makeMeMethods, gn as concat, gt as toHandle, h as bootIdentityFlow, hn as slice, ht as toTesterKind, in as toOrgId, ir as PROVIDER_PROBLEMS, it as httpStatusOf, j as bindProductTelemetryInvocation, jn as isHex, jt as SystemClockLayer, k as ConvexCallPortTag, kn as BaseError, kt as carryInvocationParentSpan, ln as hashTypedData, lr as isFailureMode, lt as signerFailure, m as executeIdentityProductObservation, mn as createCursor, mt as toKycTier, n as makeOrgMethods, nn as CAPXUL_ERROR_CODES, nr as providerStatusFailure, nt as UNOBSERVABLE_SIGNER_STATUS, on as AppIdSchema, or as CapxulError, ot as isSignerNotReadySignal, pn as formatGwei$1, pt as toCountryCode, q as failureEvidenceProps, qn as detectAuthCacheAdapter, qt as isCapxulOperation, r as makeBankingMethods, rn as isExpectedOutcome, rr as PROVIDERS, rt as causeChain, s as ConvexOrganizationAdapter, sn as images, sr as isCapxulError, st as openfortSignerNotReadyCode, t as ConvexOrganizationSetupAdapter, tn as decodeChainCause, tr as Errors, tt as serializeCapxulError, un as sha256, ut as signerPathFailure, v as makePaymentDocumentsMethods, vn as isAddress, vt as makeAuthMethods, w as makeAccountsMethods, wn as stringToHex, wt as sessionFromActor, x as SmartAccountPortTag, xn as hexToBytes, xt as publicIdentityFailure, y as makeSmartAccountMethods, yn as InvalidAddressError, yt as askIdentity, z as withheld, zn as sanitizeObservationContext, zt as redactTelemetryProps } from "./organizations-
|
|
3
|
+
import { $ as deserializeCapxulError, $n as readField, $t as ORGANIZATION_SETUP_REASONS, A as convexCallErrorFromCapxul, An as size, At as oauthBearerAuthClient, Bn as redactSecrets, Bt as CLI_CAPABILITIES, C as PonderIndexerAdapter, Cn as numberToHex$1, Ct as runPortEffect, D as TelemetryPortTag, Dn as hexToNumber, Dt as formatTraceparent, E as AccountReadPortTag, En as hexToBigInt, Et as toCapxulResult, F as makeDestinationsMethods, Fn as isEvmAddress, Ft as observationRequestHeaders, G as toPublicError, Gn as AuthClientError, Gt as MCP_EXPECTED_OUTCOME_EVENT_NAME, H as BASE_SEPOLIA_CHAIN_ID, Hn as isCredentialField, Ht as CLI_INVOCATION_KINDS, I as makeCheckoutMethods, In as toAddress, It as attachInvocationObservation, J as observeFailedResult, Jn as globalLocalStorage, Jt as normalizeCapxulOperation, K as failureDetail$1, Kn as AuthClientPortTag, Kt as CAPXUL_OPERATIONS, L as makeTargetsMethods, Ln as absurd, Lt as copyInvocationObservation, M as makeApprovalsMethods, Mn as DurationMsSchema, Mt as ClockPortTag, N as makeAccountMethods, Nn as EpochMsSchema, Nt as BetterAuthNodeLayer, O as ConvexCallError, On as trim$1, Ot as ActorFailure, P as makePaymentsMethods, Pn as ChainIdSchema, Pt as BetterAuthBrowserLayer, Q as version$2, Qn as isRecord, Qt as setups, R as makeVerificationMethods, Rn as getFunctionName, Rt as readInvocationObservation, S as makeHoldingsMethods, Sn as bytesToHex, St as runIdentityFacade, T as ConvexAccountLayer, Tn as toHex, Tt as runCapxulEffect, U as callOperation, Un as toAllowedOrigin, Ut as FAILURE_CLASSES, V as normalizeSafeSaltEmail, Vn as redactUrlSecrets, Vt as CLI_COMMAND_NAMES, W as asCapxulError, Wn as toPublishableKey, Wt as EXCEPTION_EVENT_NAME, X as withCapturedAttemptContext, Xn as toAuthUserId, Xt as details, Y as observeSdkClient, Yn as toEpochMs, Yt as OPERATIONS, Z as failureProperties, Zn as toEmail, Zt as onboardings, _ as makeActivityMethods, _n as concatHex, _t as validateHandle, an as diagnostics, ar as httpStatusMode, at as isEcdsaSignatureHex, b as ConvexSmartAccountLayer, bn as keccak256$1, bt as noSessionError, c as OrgPortTag, cn as isBytes32, cr as FAILURE_MODES, ct as recoverRawDigestSigner, dn as toRlp, dt as makeCurrentUserMethods, en as ORGANIZATION_SETUP_STATUSES, er as AuthCachePortTag, et as maskedMessage, fn as publicKeyToAddress, ft as makeClientRequestMethods, g as makeMeMethods, gn as concat, gt as toHandle, h as bootIdentityFlow, hn as slice, ht as toTesterKind, in as toOrgId, ir as PROVIDER_PROBLEMS, it as httpStatusOf, j as bindProductTelemetryInvocation, jn as isHex, jt as SystemClockLayer, k as ConvexCallPortTag, kn as BaseError, kt as carryInvocationParentSpan, ln as hashTypedData, lr as isFailureMode, lt as signerFailure, m as executeIdentityProductObservation, mn as createCursor, mt as toKycTier, n as makeOrgMethods, nn as CAPXUL_ERROR_CODES, nr as providerStatusFailure, nt as UNOBSERVABLE_SIGNER_STATUS, on as AppIdSchema, or as CapxulError, ot as isSignerNotReadySignal, pn as formatGwei$1, pt as toCountryCode, q as failureEvidenceProps, qn as detectAuthCacheAdapter, qt as isCapxulOperation, r as makeBankingMethods, rn as isExpectedOutcome, rr as PROVIDERS, rt as causeChain, s as ConvexOrganizationAdapter, sn as images, sr as isCapxulError, st as openfortSignerNotReadyCode, t as ConvexOrganizationSetupAdapter, tn as decodeChainCause, tr as Errors, tt as serializeCapxulError, un as sha256, ut as signerPathFailure, v as makePaymentDocumentsMethods, vn as isAddress, vt as makeAuthMethods, w as makeAccountsMethods, wn as stringToHex, wt as sessionFromActor, x as SmartAccountPortTag, xn as hexToBytes, xt as publicIdentityFailure, y as makeSmartAccountMethods, yn as InvalidAddressError, yt as askIdentity, z as withheld, zn as sanitizeObservationContext, zt as redactTelemetryProps } from "./organizations-BXC-6y-P.mjs";
|
|
4
4
|
import { t as secp256k1 } from "./secp256k1-vkvPWdOZ.mjs";
|
|
5
5
|
import { t as require_lib } from "./lib-CoGPQsbr.mjs";
|
|
6
6
|
import { serveStdio } from "@modelcontextprotocol/server/stdio";
|
|
@@ -39759,7 +39759,7 @@ async function createCapxulClient(input) {
|
|
|
39759
39759
|
}
|
|
39760
39760
|
//#endregion
|
|
39761
39761
|
//#region package.json
|
|
39762
|
-
var version = "4.20.0-beta.
|
|
39762
|
+
var version = "4.20.0-beta.40";
|
|
39763
39763
|
//#endregion
|
|
39764
39764
|
//#region src/failure-report.ts
|
|
39765
39765
|
/**
|
|
@@ -12239,14 +12239,14 @@ const PLATFORM_OPERATIONS = {
|
|
|
12239
12239
|
drifts: {
|
|
12240
12240
|
/** The minute cron: compare Convex outcomes to Ponder facts and correct drift. */
|
|
12241
12241
|
reconcile: "indexing.drifts.reconcile",
|
|
12242
|
-
/** One native page of the
|
|
12242
|
+
/** One native page of Organizations, with the snapshot of each one the cycle compares. */
|
|
12243
12243
|
listOrganizations: "indexing.drifts.listOrganizations",
|
|
12244
|
-
/** One native page of
|
|
12244
|
+
/** One native page of Personal Accounts, with the snapshot of each one the cycle compares. */
|
|
12245
12245
|
listAccounts: "indexing.drifts.listAccounts",
|
|
12246
|
-
/**
|
|
12247
|
-
|
|
12248
|
-
/**
|
|
12249
|
-
|
|
12246
|
+
/** The cycle's lease, so two runs never compare at once. */
|
|
12247
|
+
claimCycle: "indexing.drifts.claimCycle",
|
|
12248
|
+
/** Release the lease; a completed cycle records what it compared. */
|
|
12249
|
+
closeCycle: "indexing.drifts.closeCycle",
|
|
12250
12250
|
/** One Organization's corrections, in one transaction. */
|
|
12251
12251
|
applyOrganizationCorrections: "indexing.drifts.applyOrganizationCorrections",
|
|
12252
12252
|
/** One Personal Account's corrections, in one transaction. */
|
|
@@ -17739,7 +17739,7 @@ function causeFromSummary(links) {
|
|
|
17739
17739
|
}
|
|
17740
17740
|
//#endregion
|
|
17741
17741
|
//#region ../../packages/sdk/package.json
|
|
17742
|
-
var version$1 = "4.20.0-beta.
|
|
17742
|
+
var version$1 = "4.20.0-beta.40";
|
|
17743
17743
|
//#endregion
|
|
17744
17744
|
//#region ../../packages/sdk/src/observability/telemetry/exception-projection.ts
|
|
17745
17745
|
/** Fixed fallback for failures that have no safe message. */
|
|
@@ -26206,7 +26206,7 @@ function makeApprovalsMethods(deps) {
|
|
|
26206
26206
|
const signal = options?.signal;
|
|
26207
26207
|
if (isCommandApproval(input)) return openApproval(signal, (signerAddress) => prepareVerifiedCommand(deps, input, signerAddress, signal));
|
|
26208
26208
|
if (isPermissionChange(input)) return openApproval(signal, async (signerAddress) => {
|
|
26209
|
-
const { prepareVerifiedPermissionChange } = await import("./permission-approvals-
|
|
26209
|
+
const { prepareVerifiedPermissionChange } = await import("./permission-approvals-BNP5hA8b.mjs");
|
|
26210
26210
|
return prepareVerifiedPermissionChange(deps, input, signerAddress, signal);
|
|
26211
26211
|
});
|
|
26212
26212
|
if ("organizationId" in input) return checkedBankApproval(deps, input, await openApproval(signal, (signerAddress) => prepareVerifiedOrganizationPayment(deps, input, signerAddress, signal)));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as abandonPrepared, Kt as CAPXUL_OPERATIONS, Ln as absurd, W as asCapxulError, a as prepareConfiguration, bt as noSessionError, d as verifiedPreparation, f as buildCommand, i as authorInvitation, l as preparePermission, o as verifiedConfiguration, or as CapxulError, p as validateReplacementInput, u as preparedIdentity } from "./organizations-
|
|
1
|
+
import { B as abandonPrepared, Kt as CAPXUL_OPERATIONS, Ln as absurd, W as asCapxulError, a as prepareConfiguration, bt as noSessionError, d as verifiedPreparation, f as buildCommand, i as authorInvitation, l as preparePermission, o as verifiedConfiguration, or as CapxulError, p as validateReplacementInput, u as preparedIdentity } from "./organizations-BXC-6y-P.mjs";
|
|
2
2
|
//#region ../../packages/sdk/src/accounts/permission-approvals.ts
|
|
3
3
|
/** Prepare a Permission write or an invitation's configuration for `signerAddress`, checked. */
|
|
4
4
|
function prepareVerifiedPermissionChange(deps, input, signerAddress, signal) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capxul/mcp",
|
|
3
|
-
"version": "4.20.0-beta.
|
|
3
|
+
"version": "4.20.0-beta.40",
|
|
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": [
|
|
@@ -54,10 +54,10 @@
|
|
|
54
54
|
"typescript": "npm:@typescript/typescript6@6.0.2",
|
|
55
55
|
"vite": "npm:@voidzero-dev/vite-plus-core@1.0.0",
|
|
56
56
|
"vite-plus": "1.0.0",
|
|
57
|
-
"@capxul/
|
|
57
|
+
"@capxul/sdk": "4.20.0-beta.40",
|
|
58
|
+
"@capxul/typescript-config": "0.0.0",
|
|
58
59
|
"@capxul/protocol": "0.2.0-beta.8",
|
|
59
|
-
"@capxul/
|
|
60
|
-
"@capxul/typescript-config": "0.0.0"
|
|
60
|
+
"@capxul/observability": "4.20.0-beta.40"
|
|
61
61
|
},
|
|
62
62
|
"scripts": {
|
|
63
63
|
"dev": "vp exec tsx src/main.ts serve",
|