@tenkeybridge/mcp 0.10.0 → 0.10.1
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/README.md +1 -1
- package/dist/cli.js +43 -1
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +43 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +43 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -790,6 +790,33 @@ var CATALOG = {
|
|
|
790
790
|
}
|
|
791
791
|
]
|
|
792
792
|
},
|
|
793
|
+
"Connection": {
|
|
794
|
+
"entity": "Connection",
|
|
795
|
+
"verdict": "live",
|
|
796
|
+
"group": "platform",
|
|
797
|
+
"read": "partial",
|
|
798
|
+
"write": "none",
|
|
799
|
+
"headline": "GET /v3/company/{companyId}/connection: whether the company file is connected right now, answered from presence alone (never reaches QuickBooks). A TenkeyBridge extension; QuickBooks Online has no equivalent.",
|
|
800
|
+
"usage": "GET /v3/company/{companyId}/connection",
|
|
801
|
+
"fields": [
|
|
802
|
+
{
|
|
803
|
+
"qbo": "Connection.online",
|
|
804
|
+
"support": "full",
|
|
805
|
+
"note": "true when the agent socket is open or the Web Connector is online (a sandbox realm is always online). An offline file is a normal 200 answer with online false, never a 503."
|
|
806
|
+
},
|
|
807
|
+
{
|
|
808
|
+
"qbo": "Connection.transport",
|
|
809
|
+
"support": "full",
|
|
810
|
+
"note": "The leg that would serve a call now: agent, qbwc or sandbox; null when offline."
|
|
811
|
+
},
|
|
812
|
+
{
|
|
813
|
+
"qbo": "Connection.lastSeenAt",
|
|
814
|
+
"support": "partial",
|
|
815
|
+
"note": "Now when an agent is connected; otherwise the Web Connector's last poll time; null when no Web Connector check-in is stored (an agent-only file reads null once disconnected)."
|
|
816
|
+
}
|
|
817
|
+
],
|
|
818
|
+
"unsupported": []
|
|
819
|
+
},
|
|
793
820
|
"CreditCardPayment": {
|
|
794
821
|
"entity": "CreditCardPayment",
|
|
795
822
|
"verdict": "gap",
|
|
@@ -4247,6 +4274,21 @@ function registerTools(server, client, access) {
|
|
|
4247
4274
|
}
|
|
4248
4275
|
}
|
|
4249
4276
|
));
|
|
4277
|
+
hide("get_connection", server.registerTool(
|
|
4278
|
+
"get_connection",
|
|
4279
|
+
{
|
|
4280
|
+
description: "Check whether the QuickBooks company file is reachable right now: { online, transport (agent, qbwc, sandbox or null), lastSeenAt }. An offline file answers online false, not an error. For a Web Connector file lastSeenAt is the last stored check-in and can be null or slightly behind while online is true. Costs no QuickBooks round trip.",
|
|
4281
|
+
inputSchema: {}
|
|
4282
|
+
},
|
|
4283
|
+
async () => {
|
|
4284
|
+
if (!client.connection) return fail("This TenkeyBridge client has no connection() method; upgrade @tenkeybridge/client to 0.10.1.");
|
|
4285
|
+
try {
|
|
4286
|
+
return ok(await client.connection());
|
|
4287
|
+
} catch (err) {
|
|
4288
|
+
return failure(err);
|
|
4289
|
+
}
|
|
4290
|
+
}
|
|
4291
|
+
));
|
|
4250
4292
|
hide("get", server.registerTool(
|
|
4251
4293
|
"get",
|
|
4252
4294
|
{
|
|
@@ -4404,7 +4446,7 @@ function registerTools(server, client, access) {
|
|
|
4404
4446
|
}
|
|
4405
4447
|
|
|
4406
4448
|
// src/version.ts
|
|
4407
|
-
var PKG_VERSION = "0.10.
|
|
4449
|
+
var PKG_VERSION = "0.10.1";
|
|
4408
4450
|
|
|
4409
4451
|
// src/server.ts
|
|
4410
4452
|
var SERVER_NAME = "tenkeybridge";
|