@talonic/mcp 0.1.80 → 0.1.81
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/CHANGELOG.md +7 -0
- package/dist/content.js +2 -2
- package/dist/content.js.map +1 -1
- package/dist/http-server.js +20 -16
- package/dist/http-server.js.map +1 -1
- package/dist/index.js +20 -16
- package/dist/index.js.map +1 -1
- package/dist/server.js +20 -16
- package/dist/server.js.map +1 -1
- package/package.json +1 -1
package/dist/http-server.js
CHANGED
|
@@ -3440,7 +3440,6 @@ var MUTATING2 = {
|
|
|
3440
3440
|
openWorldHint: false
|
|
3441
3441
|
};
|
|
3442
3442
|
var AUTH_NOTE = "AUTH: a tlnc_ key needs a per-app 'decide' grant; an OAuth connector session needs the apps:decide scope (consented at connect) and a live workspace role of senior_member or above. A 403 (decide_grant_required, insufficient_scope, insufficient_tier) names what is missing \u2014 tell the user, do not retry.";
|
|
3443
|
-
var NOT_INVOCABLE_PREFIX = "NOT INVOCABLE IN THIS SESSION: the connector's OAuth token lacks the apps:decide scope. Ask the user to reconnect the Talonic connector and approve 'Claim and decide tasks' before calling this; a call now returns 403 insufficient_scope.\n\n";
|
|
3444
3443
|
var DESCRIPTIONS2 = {
|
|
3445
3444
|
list: [
|
|
3446
3445
|
"List one External-mode app's decision tasks (runs parked for an outside agent to decide), newest first.",
|
|
@@ -3500,7 +3499,6 @@ var DESCRIPTIONS2 = {
|
|
|
3500
3499
|
};
|
|
3501
3500
|
function registerDecisionTaskTools(server, getToken, baseUrl, options = {}) {
|
|
3502
3501
|
const invocable = options.invocable !== false;
|
|
3503
|
-
const describe = (text) => invocable ? text : NOT_INVOCABLE_PREFIX + text;
|
|
3504
3502
|
const metaFor = (key) => ({
|
|
3505
3503
|
_meta: {
|
|
3506
3504
|
...widgetToolMeta(key),
|
|
@@ -3511,7 +3509,7 @@ function registerDecisionTaskTools(server, getToken, baseUrl, options = {}) {
|
|
|
3511
3509
|
"talonic_list_decision_tasks",
|
|
3512
3510
|
{
|
|
3513
3511
|
title: "List Decision Tasks",
|
|
3514
|
-
description:
|
|
3512
|
+
description: DESCRIPTIONS2.list,
|
|
3515
3513
|
inputSchema: listInput2,
|
|
3516
3514
|
annotations: { title: "List Decision Tasks", ...READ_ONLY3 },
|
|
3517
3515
|
...metaFor("listDecisionTasks")
|
|
@@ -3522,7 +3520,7 @@ function registerDecisionTaskTools(server, getToken, baseUrl, options = {}) {
|
|
|
3522
3520
|
"talonic_claim_decision_task",
|
|
3523
3521
|
{
|
|
3524
3522
|
title: "Claim Decision Task",
|
|
3525
|
-
description:
|
|
3523
|
+
description: DESCRIPTIONS2.claim,
|
|
3526
3524
|
inputSchema: idInput2,
|
|
3527
3525
|
annotations: { title: "Claim Decision Task", ...MUTATING2 },
|
|
3528
3526
|
...metaFor("claimDecisionTask")
|
|
@@ -3533,7 +3531,7 @@ function registerDecisionTaskTools(server, getToken, baseUrl, options = {}) {
|
|
|
3533
3531
|
"talonic_read_decision_package",
|
|
3534
3532
|
{
|
|
3535
3533
|
title: "Read Decision Package",
|
|
3536
|
-
description:
|
|
3534
|
+
description: DESCRIPTIONS2.package,
|
|
3537
3535
|
inputSchema: packageInput,
|
|
3538
3536
|
annotations: { title: "Read Decision Package", ...READ_ONLY3 },
|
|
3539
3537
|
...metaFor("readDecisionPackage")
|
|
@@ -3544,7 +3542,7 @@ function registerDecisionTaskTools(server, getToken, baseUrl, options = {}) {
|
|
|
3544
3542
|
"talonic_heartbeat_decision_task",
|
|
3545
3543
|
{
|
|
3546
3544
|
title: "Heartbeat Decision Task",
|
|
3547
|
-
description:
|
|
3545
|
+
description: DESCRIPTIONS2.heartbeat,
|
|
3548
3546
|
inputSchema: epochInput,
|
|
3549
3547
|
annotations: { title: "Heartbeat Decision Task", ...MUTATING2 },
|
|
3550
3548
|
...metaFor("heartbeatDecisionTask")
|
|
@@ -3555,7 +3553,7 @@ function registerDecisionTaskTools(server, getToken, baseUrl, options = {}) {
|
|
|
3555
3553
|
"talonic_submit_decision_task",
|
|
3556
3554
|
{
|
|
3557
3555
|
title: "Submit Decision Task",
|
|
3558
|
-
description:
|
|
3556
|
+
description: DESCRIPTIONS2.submit,
|
|
3559
3557
|
inputSchema: submitInput2,
|
|
3560
3558
|
annotations: { title: "Submit Decision Task", ...MUTATING2 },
|
|
3561
3559
|
...metaFor("submitDecisionTask")
|
|
@@ -3566,7 +3564,7 @@ function registerDecisionTaskTools(server, getToken, baseUrl, options = {}) {
|
|
|
3566
3564
|
"talonic_release_decision_task",
|
|
3567
3565
|
{
|
|
3568
3566
|
title: "Release Decision Task",
|
|
3569
|
-
description:
|
|
3567
|
+
description: DESCRIPTIONS2.release,
|
|
3570
3568
|
inputSchema: epochInput,
|
|
3571
3569
|
annotations: { title: "Release Decision Task", ...MUTATING2 },
|
|
3572
3570
|
...metaFor("releaseDecisionTask")
|
|
@@ -3577,7 +3575,7 @@ function registerDecisionTaskTools(server, getToken, baseUrl, options = {}) {
|
|
|
3577
3575
|
"talonic_fail_decision_task",
|
|
3578
3576
|
{
|
|
3579
3577
|
title: "Fail Decision Task",
|
|
3580
|
-
description:
|
|
3578
|
+
description: DESCRIPTIONS2.fail,
|
|
3581
3579
|
inputSchema: failInput,
|
|
3582
3580
|
annotations: { title: "Fail Decision Task", ...MUTATING2 },
|
|
3583
3581
|
...metaFor("failDecisionTask")
|
|
@@ -3817,10 +3815,11 @@ function registerFieldTools(server, getToken, baseUrl) {
|
|
|
3817
3815
|
server.registerTool(
|
|
3818
3816
|
"talonic_list_fields",
|
|
3819
3817
|
{
|
|
3820
|
-
title: "List
|
|
3818
|
+
title: "List Registry Fields",
|
|
3821
3819
|
description: LIST_DESCRIPTION,
|
|
3822
3820
|
inputSchema: listFieldsInputSchema,
|
|
3823
3821
|
annotations: {
|
|
3822
|
+
title: "List Registry Fields",
|
|
3824
3823
|
readOnlyHint: true,
|
|
3825
3824
|
destructiveHint: false,
|
|
3826
3825
|
idempotentHint: true,
|
|
@@ -3833,10 +3832,11 @@ function registerFieldTools(server, getToken, baseUrl) {
|
|
|
3833
3832
|
server.registerTool(
|
|
3834
3833
|
"talonic_get_field",
|
|
3835
3834
|
{
|
|
3836
|
-
title: "Get
|
|
3835
|
+
title: "Get Field Concept Card",
|
|
3837
3836
|
description: GET_DESCRIPTION,
|
|
3838
3837
|
inputSchema: getFieldInputSchema,
|
|
3839
3838
|
annotations: {
|
|
3839
|
+
title: "Get Field Concept Card",
|
|
3840
3840
|
readOnlyHint: true,
|
|
3841
3841
|
destructiveHint: false,
|
|
3842
3842
|
idempotentHint: true,
|
|
@@ -3849,10 +3849,11 @@ function registerFieldTools(server, getToken, baseUrl) {
|
|
|
3849
3849
|
server.registerTool(
|
|
3850
3850
|
"talonic_field_values",
|
|
3851
3851
|
{
|
|
3852
|
-
title: "Read
|
|
3852
|
+
title: "Read Field Values",
|
|
3853
3853
|
description: VALUES_DESCRIPTION,
|
|
3854
3854
|
inputSchema: fieldValuesInputSchema,
|
|
3855
3855
|
annotations: {
|
|
3856
|
+
title: "Read Field Values",
|
|
3856
3857
|
readOnlyHint: true,
|
|
3857
3858
|
destructiveHint: false,
|
|
3858
3859
|
idempotentHint: true,
|
|
@@ -3987,10 +3988,11 @@ function registerAgentRegistryTools(server, getToken, baseUrl) {
|
|
|
3987
3988
|
server.registerTool(
|
|
3988
3989
|
"talonic_find_data",
|
|
3989
3990
|
{
|
|
3990
|
-
title: "Find
|
|
3991
|
+
title: "Find Data by Concept",
|
|
3991
3992
|
description: FIND_DESCRIPTION,
|
|
3992
3993
|
inputSchema: findDataInputSchema,
|
|
3993
3994
|
annotations: {
|
|
3995
|
+
title: "Find Data by Concept",
|
|
3994
3996
|
readOnlyHint: true,
|
|
3995
3997
|
destructiveHint: false,
|
|
3996
3998
|
idempotentHint: true,
|
|
@@ -4003,10 +4005,11 @@ function registerAgentRegistryTools(server, getToken, baseUrl) {
|
|
|
4003
4005
|
server.registerTool(
|
|
4004
4006
|
"talonic_list_agent_tools",
|
|
4005
4007
|
{
|
|
4006
|
-
title: "List
|
|
4008
|
+
title: "List Platform Agent Tools",
|
|
4007
4009
|
description: LIST_TOOLS_DESCRIPTION,
|
|
4008
4010
|
inputSchema: listAgentToolsInputSchema,
|
|
4009
4011
|
annotations: {
|
|
4012
|
+
title: "List Platform Agent Tools",
|
|
4010
4013
|
readOnlyHint: true,
|
|
4011
4014
|
destructiveHint: false,
|
|
4012
4015
|
idempotentHint: true,
|
|
@@ -4019,10 +4022,11 @@ function registerAgentRegistryTools(server, getToken, baseUrl) {
|
|
|
4019
4022
|
server.registerTool(
|
|
4020
4023
|
"talonic_invoke_agent_tool",
|
|
4021
4024
|
{
|
|
4022
|
-
title: "Invoke
|
|
4025
|
+
title: "Invoke Platform Agent Tool",
|
|
4023
4026
|
description: INVOKE_DESCRIPTION,
|
|
4024
4027
|
inputSchema: invokeAgentToolInputSchema,
|
|
4025
4028
|
annotations: {
|
|
4029
|
+
title: "Invoke Platform Agent Tool",
|
|
4026
4030
|
readOnlyHint: true,
|
|
4027
4031
|
destructiveHint: false,
|
|
4028
4032
|
idempotentHint: false,
|
|
@@ -4507,7 +4511,7 @@ function registerAskTools(server, getToken, baseUrl) {
|
|
|
4507
4511
|
|
|
4508
4512
|
// package.json
|
|
4509
4513
|
var package_default = {
|
|
4510
|
-
version: "0.1.
|
|
4514
|
+
version: "0.1.81"};
|
|
4511
4515
|
|
|
4512
4516
|
// src/version.ts
|
|
4513
4517
|
var VERSION = package_default.version;
|