@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/index.js CHANGED
@@ -3388,7 +3388,6 @@ var MUTATING2 = {
3388
3388
  openWorldHint: false
3389
3389
  };
3390
3390
  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.";
3391
- 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";
3392
3391
  var DESCRIPTIONS2 = {
3393
3392
  list: [
3394
3393
  "List one External-mode app's decision tasks (runs parked for an outside agent to decide), newest first.",
@@ -3448,7 +3447,6 @@ var DESCRIPTIONS2 = {
3448
3447
  };
3449
3448
  function registerDecisionTaskTools(server, getToken, baseUrl, options = {}) {
3450
3449
  const invocable = options.invocable !== false;
3451
- const describe = (text) => invocable ? text : NOT_INVOCABLE_PREFIX + text;
3452
3450
  const metaFor = (key) => ({
3453
3451
  _meta: {
3454
3452
  ...widgetToolMeta(key),
@@ -3459,7 +3457,7 @@ function registerDecisionTaskTools(server, getToken, baseUrl, options = {}) {
3459
3457
  "talonic_list_decision_tasks",
3460
3458
  {
3461
3459
  title: "List Decision Tasks",
3462
- description: describe(DESCRIPTIONS2.list),
3460
+ description: DESCRIPTIONS2.list,
3463
3461
  inputSchema: listInput2,
3464
3462
  annotations: { title: "List Decision Tasks", ...READ_ONLY3 },
3465
3463
  ...metaFor("listDecisionTasks")
@@ -3470,7 +3468,7 @@ function registerDecisionTaskTools(server, getToken, baseUrl, options = {}) {
3470
3468
  "talonic_claim_decision_task",
3471
3469
  {
3472
3470
  title: "Claim Decision Task",
3473
- description: describe(DESCRIPTIONS2.claim),
3471
+ description: DESCRIPTIONS2.claim,
3474
3472
  inputSchema: idInput2,
3475
3473
  annotations: { title: "Claim Decision Task", ...MUTATING2 },
3476
3474
  ...metaFor("claimDecisionTask")
@@ -3481,7 +3479,7 @@ function registerDecisionTaskTools(server, getToken, baseUrl, options = {}) {
3481
3479
  "talonic_read_decision_package",
3482
3480
  {
3483
3481
  title: "Read Decision Package",
3484
- description: describe(DESCRIPTIONS2.package),
3482
+ description: DESCRIPTIONS2.package,
3485
3483
  inputSchema: packageInput,
3486
3484
  annotations: { title: "Read Decision Package", ...READ_ONLY3 },
3487
3485
  ...metaFor("readDecisionPackage")
@@ -3492,7 +3490,7 @@ function registerDecisionTaskTools(server, getToken, baseUrl, options = {}) {
3492
3490
  "talonic_heartbeat_decision_task",
3493
3491
  {
3494
3492
  title: "Heartbeat Decision Task",
3495
- description: describe(DESCRIPTIONS2.heartbeat),
3493
+ description: DESCRIPTIONS2.heartbeat,
3496
3494
  inputSchema: epochInput,
3497
3495
  annotations: { title: "Heartbeat Decision Task", ...MUTATING2 },
3498
3496
  ...metaFor("heartbeatDecisionTask")
@@ -3503,7 +3501,7 @@ function registerDecisionTaskTools(server, getToken, baseUrl, options = {}) {
3503
3501
  "talonic_submit_decision_task",
3504
3502
  {
3505
3503
  title: "Submit Decision Task",
3506
- description: describe(DESCRIPTIONS2.submit),
3504
+ description: DESCRIPTIONS2.submit,
3507
3505
  inputSchema: submitInput2,
3508
3506
  annotations: { title: "Submit Decision Task", ...MUTATING2 },
3509
3507
  ...metaFor("submitDecisionTask")
@@ -3514,7 +3512,7 @@ function registerDecisionTaskTools(server, getToken, baseUrl, options = {}) {
3514
3512
  "talonic_release_decision_task",
3515
3513
  {
3516
3514
  title: "Release Decision Task",
3517
- description: describe(DESCRIPTIONS2.release),
3515
+ description: DESCRIPTIONS2.release,
3518
3516
  inputSchema: epochInput,
3519
3517
  annotations: { title: "Release Decision Task", ...MUTATING2 },
3520
3518
  ...metaFor("releaseDecisionTask")
@@ -3525,7 +3523,7 @@ function registerDecisionTaskTools(server, getToken, baseUrl, options = {}) {
3525
3523
  "talonic_fail_decision_task",
3526
3524
  {
3527
3525
  title: "Fail Decision Task",
3528
- description: describe(DESCRIPTIONS2.fail),
3526
+ description: DESCRIPTIONS2.fail,
3529
3527
  inputSchema: failInput,
3530
3528
  annotations: { title: "Fail Decision Task", ...MUTATING2 },
3531
3529
  ...metaFor("failDecisionTask")
@@ -3765,10 +3763,11 @@ function registerFieldTools(server, getToken, baseUrl) {
3765
3763
  server.registerTool(
3766
3764
  "talonic_list_fields",
3767
3765
  {
3768
- title: "List registry fields",
3766
+ title: "List Registry Fields",
3769
3767
  description: LIST_DESCRIPTION,
3770
3768
  inputSchema: listFieldsInputSchema,
3771
3769
  annotations: {
3770
+ title: "List Registry Fields",
3772
3771
  readOnlyHint: true,
3773
3772
  destructiveHint: false,
3774
3773
  idempotentHint: true,
@@ -3781,10 +3780,11 @@ function registerFieldTools(server, getToken, baseUrl) {
3781
3780
  server.registerTool(
3782
3781
  "talonic_get_field",
3783
3782
  {
3784
- title: "Get a field's concept card",
3783
+ title: "Get Field Concept Card",
3785
3784
  description: GET_DESCRIPTION,
3786
3785
  inputSchema: getFieldInputSchema,
3787
3786
  annotations: {
3787
+ title: "Get Field Concept Card",
3788
3788
  readOnlyHint: true,
3789
3789
  destructiveHint: false,
3790
3790
  idempotentHint: true,
@@ -3797,10 +3797,11 @@ function registerFieldTools(server, getToken, baseUrl) {
3797
3797
  server.registerTool(
3798
3798
  "talonic_field_values",
3799
3799
  {
3800
- title: "Read a field's values across documents",
3800
+ title: "Read Field Values",
3801
3801
  description: VALUES_DESCRIPTION,
3802
3802
  inputSchema: fieldValuesInputSchema,
3803
3803
  annotations: {
3804
+ title: "Read Field Values",
3804
3805
  readOnlyHint: true,
3805
3806
  destructiveHint: false,
3806
3807
  idempotentHint: true,
@@ -3935,10 +3936,11 @@ function registerAgentRegistryTools(server, getToken, baseUrl) {
3935
3936
  server.registerTool(
3936
3937
  "talonic_find_data",
3937
3938
  {
3938
- title: "Find the data behind a concept",
3939
+ title: "Find Data by Concept",
3939
3940
  description: FIND_DESCRIPTION,
3940
3941
  inputSchema: findDataInputSchema,
3941
3942
  annotations: {
3943
+ title: "Find Data by Concept",
3942
3944
  readOnlyHint: true,
3943
3945
  destructiveHint: false,
3944
3946
  idempotentHint: true,
@@ -3951,10 +3953,11 @@ function registerAgentRegistryTools(server, getToken, baseUrl) {
3951
3953
  server.registerTool(
3952
3954
  "talonic_list_agent_tools",
3953
3955
  {
3954
- title: "List the platform agent tools",
3956
+ title: "List Platform Agent Tools",
3955
3957
  description: LIST_TOOLS_DESCRIPTION,
3956
3958
  inputSchema: listAgentToolsInputSchema,
3957
3959
  annotations: {
3960
+ title: "List Platform Agent Tools",
3958
3961
  readOnlyHint: true,
3959
3962
  destructiveHint: false,
3960
3963
  idempotentHint: true,
@@ -3967,10 +3970,11 @@ function registerAgentRegistryTools(server, getToken, baseUrl) {
3967
3970
  server.registerTool(
3968
3971
  "talonic_invoke_agent_tool",
3969
3972
  {
3970
- title: "Invoke a platform agent tool",
3973
+ title: "Invoke Platform Agent Tool",
3971
3974
  description: INVOKE_DESCRIPTION,
3972
3975
  inputSchema: invokeAgentToolInputSchema,
3973
3976
  annotations: {
3977
+ title: "Invoke Platform Agent Tool",
3974
3978
  readOnlyHint: true,
3975
3979
  destructiveHint: false,
3976
3980
  idempotentHint: false,
@@ -4455,7 +4459,7 @@ function registerAskTools(server, getToken, baseUrl) {
4455
4459
 
4456
4460
  // package.json
4457
4461
  var package_default = {
4458
- version: "0.1.80"};
4462
+ version: "0.1.81"};
4459
4463
 
4460
4464
  // src/version.ts
4461
4465
  var VERSION = package_default.version;