@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/dist/server.js CHANGED
@@ -3413,7 +3413,6 @@ var MUTATING2 = {
3413
3413
  openWorldHint: false
3414
3414
  };
3415
3415
  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.";
3416
- 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";
3417
3416
  var DESCRIPTIONS2 = {
3418
3417
  list: [
3419
3418
  "List one External-mode app's decision tasks (runs parked for an outside agent to decide), newest first.",
@@ -3473,7 +3472,6 @@ var DESCRIPTIONS2 = {
3473
3472
  };
3474
3473
  function registerDecisionTaskTools(server, getToken, baseUrl, options = {}) {
3475
3474
  const invocable = options.invocable !== false;
3476
- const describe = (text) => invocable ? text : NOT_INVOCABLE_PREFIX + text;
3477
3475
  const metaFor = (key) => ({
3478
3476
  _meta: {
3479
3477
  ...widgetToolMeta(key),
@@ -3484,7 +3482,7 @@ function registerDecisionTaskTools(server, getToken, baseUrl, options = {}) {
3484
3482
  "talonic_list_decision_tasks",
3485
3483
  {
3486
3484
  title: "List Decision Tasks",
3487
- description: describe(DESCRIPTIONS2.list),
3485
+ description: DESCRIPTIONS2.list,
3488
3486
  inputSchema: listInput2,
3489
3487
  annotations: { title: "List Decision Tasks", ...READ_ONLY3 },
3490
3488
  ...metaFor("listDecisionTasks")
@@ -3495,7 +3493,7 @@ function registerDecisionTaskTools(server, getToken, baseUrl, options = {}) {
3495
3493
  "talonic_claim_decision_task",
3496
3494
  {
3497
3495
  title: "Claim Decision Task",
3498
- description: describe(DESCRIPTIONS2.claim),
3496
+ description: DESCRIPTIONS2.claim,
3499
3497
  inputSchema: idInput2,
3500
3498
  annotations: { title: "Claim Decision Task", ...MUTATING2 },
3501
3499
  ...metaFor("claimDecisionTask")
@@ -3506,7 +3504,7 @@ function registerDecisionTaskTools(server, getToken, baseUrl, options = {}) {
3506
3504
  "talonic_read_decision_package",
3507
3505
  {
3508
3506
  title: "Read Decision Package",
3509
- description: describe(DESCRIPTIONS2.package),
3507
+ description: DESCRIPTIONS2.package,
3510
3508
  inputSchema: packageInput,
3511
3509
  annotations: { title: "Read Decision Package", ...READ_ONLY3 },
3512
3510
  ...metaFor("readDecisionPackage")
@@ -3517,7 +3515,7 @@ function registerDecisionTaskTools(server, getToken, baseUrl, options = {}) {
3517
3515
  "talonic_heartbeat_decision_task",
3518
3516
  {
3519
3517
  title: "Heartbeat Decision Task",
3520
- description: describe(DESCRIPTIONS2.heartbeat),
3518
+ description: DESCRIPTIONS2.heartbeat,
3521
3519
  inputSchema: epochInput,
3522
3520
  annotations: { title: "Heartbeat Decision Task", ...MUTATING2 },
3523
3521
  ...metaFor("heartbeatDecisionTask")
@@ -3528,7 +3526,7 @@ function registerDecisionTaskTools(server, getToken, baseUrl, options = {}) {
3528
3526
  "talonic_submit_decision_task",
3529
3527
  {
3530
3528
  title: "Submit Decision Task",
3531
- description: describe(DESCRIPTIONS2.submit),
3529
+ description: DESCRIPTIONS2.submit,
3532
3530
  inputSchema: submitInput2,
3533
3531
  annotations: { title: "Submit Decision Task", ...MUTATING2 },
3534
3532
  ...metaFor("submitDecisionTask")
@@ -3539,7 +3537,7 @@ function registerDecisionTaskTools(server, getToken, baseUrl, options = {}) {
3539
3537
  "talonic_release_decision_task",
3540
3538
  {
3541
3539
  title: "Release Decision Task",
3542
- description: describe(DESCRIPTIONS2.release),
3540
+ description: DESCRIPTIONS2.release,
3543
3541
  inputSchema: epochInput,
3544
3542
  annotations: { title: "Release Decision Task", ...MUTATING2 },
3545
3543
  ...metaFor("releaseDecisionTask")
@@ -3550,7 +3548,7 @@ function registerDecisionTaskTools(server, getToken, baseUrl, options = {}) {
3550
3548
  "talonic_fail_decision_task",
3551
3549
  {
3552
3550
  title: "Fail Decision Task",
3553
- description: describe(DESCRIPTIONS2.fail),
3551
+ description: DESCRIPTIONS2.fail,
3554
3552
  inputSchema: failInput,
3555
3553
  annotations: { title: "Fail Decision Task", ...MUTATING2 },
3556
3554
  ...metaFor("failDecisionTask")
@@ -3790,10 +3788,11 @@ function registerFieldTools(server, getToken, baseUrl) {
3790
3788
  server.registerTool(
3791
3789
  "talonic_list_fields",
3792
3790
  {
3793
- title: "List registry fields",
3791
+ title: "List Registry Fields",
3794
3792
  description: LIST_DESCRIPTION,
3795
3793
  inputSchema: listFieldsInputSchema,
3796
3794
  annotations: {
3795
+ title: "List Registry Fields",
3797
3796
  readOnlyHint: true,
3798
3797
  destructiveHint: false,
3799
3798
  idempotentHint: true,
@@ -3806,10 +3805,11 @@ function registerFieldTools(server, getToken, baseUrl) {
3806
3805
  server.registerTool(
3807
3806
  "talonic_get_field",
3808
3807
  {
3809
- title: "Get a field's concept card",
3808
+ title: "Get Field Concept Card",
3810
3809
  description: GET_DESCRIPTION,
3811
3810
  inputSchema: getFieldInputSchema,
3812
3811
  annotations: {
3812
+ title: "Get Field Concept Card",
3813
3813
  readOnlyHint: true,
3814
3814
  destructiveHint: false,
3815
3815
  idempotentHint: true,
@@ -3822,10 +3822,11 @@ function registerFieldTools(server, getToken, baseUrl) {
3822
3822
  server.registerTool(
3823
3823
  "talonic_field_values",
3824
3824
  {
3825
- title: "Read a field's values across documents",
3825
+ title: "Read Field Values",
3826
3826
  description: VALUES_DESCRIPTION,
3827
3827
  inputSchema: fieldValuesInputSchema,
3828
3828
  annotations: {
3829
+ title: "Read Field Values",
3829
3830
  readOnlyHint: true,
3830
3831
  destructiveHint: false,
3831
3832
  idempotentHint: true,
@@ -3960,10 +3961,11 @@ function registerAgentRegistryTools(server, getToken, baseUrl) {
3960
3961
  server.registerTool(
3961
3962
  "talonic_find_data",
3962
3963
  {
3963
- title: "Find the data behind a concept",
3964
+ title: "Find Data by Concept",
3964
3965
  description: FIND_DESCRIPTION,
3965
3966
  inputSchema: findDataInputSchema,
3966
3967
  annotations: {
3968
+ title: "Find Data by Concept",
3967
3969
  readOnlyHint: true,
3968
3970
  destructiveHint: false,
3969
3971
  idempotentHint: true,
@@ -3976,10 +3978,11 @@ function registerAgentRegistryTools(server, getToken, baseUrl) {
3976
3978
  server.registerTool(
3977
3979
  "talonic_list_agent_tools",
3978
3980
  {
3979
- title: "List the platform agent tools",
3981
+ title: "List Platform Agent Tools",
3980
3982
  description: LIST_TOOLS_DESCRIPTION,
3981
3983
  inputSchema: listAgentToolsInputSchema,
3982
3984
  annotations: {
3985
+ title: "List Platform Agent Tools",
3983
3986
  readOnlyHint: true,
3984
3987
  destructiveHint: false,
3985
3988
  idempotentHint: true,
@@ -3992,10 +3995,11 @@ function registerAgentRegistryTools(server, getToken, baseUrl) {
3992
3995
  server.registerTool(
3993
3996
  "talonic_invoke_agent_tool",
3994
3997
  {
3995
- title: "Invoke a platform agent tool",
3998
+ title: "Invoke Platform Agent Tool",
3996
3999
  description: INVOKE_DESCRIPTION,
3997
4000
  inputSchema: invokeAgentToolInputSchema,
3998
4001
  annotations: {
4002
+ title: "Invoke Platform Agent Tool",
3999
4003
  readOnlyHint: true,
4000
4004
  destructiveHint: false,
4001
4005
  idempotentHint: false,
@@ -4480,7 +4484,7 @@ function registerAskTools(server, getToken, baseUrl) {
4480
4484
 
4481
4485
  // package.json
4482
4486
  var package_default = {
4483
- version: "0.1.80"};
4487
+ version: "0.1.81"};
4484
4488
 
4485
4489
  // src/version.ts
4486
4490
  var VERSION = package_default.version;