@camunda/connectors-element-templates 1.0.14 → 1.0.16

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.
@@ -1422,8 +1422,8 @@
1422
1422
  "label": "Operation"
1423
1423
  },
1424
1424
  {
1425
- "id": "tools",
1426
- "label": "Tools",
1425
+ "id": "filters",
1426
+ "label": "Filters",
1427
1427
  "openByDefault": false
1428
1428
  },
1429
1429
  {
@@ -2274,17 +2274,33 @@
2274
2274
  },
2275
2275
  "type": "Dropdown",
2276
2276
  "choices": [
2277
- {
2278
- "name": "Call Tool",
2279
- "value": "tools/call"
2280
- },
2281
2277
  {
2282
2278
  "name": "List Tools",
2283
2279
  "value": "tools/list"
2284
2280
  },
2281
+ {
2282
+ "name": "Call Tool",
2283
+ "value": "tools/call"
2284
+ },
2285
2285
  {
2286
2286
  "name": "List Resources",
2287
2287
  "value": "resources/list"
2288
+ },
2289
+ {
2290
+ "name": "List Resource Templates",
2291
+ "value": "resources/templates/list"
2292
+ },
2293
+ {
2294
+ "name": "Read Resource",
2295
+ "value": "resources/read"
2296
+ },
2297
+ {
2298
+ "name": "List Prompts",
2299
+ "value": "prompts/list"
2300
+ },
2301
+ {
2302
+ "name": "Get Prompt",
2303
+ "value": "prompts/get"
2288
2304
  }
2289
2305
  ]
2290
2306
  },
@@ -2345,6 +2361,93 @@
2345
2361
  },
2346
2362
  "type": "String"
2347
2363
  },
2364
+ {
2365
+ "id": "data.connectorMode.operation.resourceUri",
2366
+ "label": "Resource URI",
2367
+ "description": "The URI of the resource to read.",
2368
+ "optional": false,
2369
+ "constraints": {
2370
+ "notEmpty": true
2371
+ },
2372
+ "feel": "optional",
2373
+ "group": "operation",
2374
+ "binding": {
2375
+ "name": "data.connectorMode.operation.resourceUri",
2376
+ "type": "zeebe:input"
2377
+ },
2378
+ "condition": {
2379
+ "allMatch": [
2380
+ {
2381
+ "property": "data.connectorMode.operation.type",
2382
+ "equals": "resources/read",
2383
+ "type": "simple"
2384
+ },
2385
+ {
2386
+ "property": "data.connectorMode.type",
2387
+ "equals": "standalone",
2388
+ "type": "simple"
2389
+ }
2390
+ ]
2391
+ },
2392
+ "type": "String"
2393
+ },
2394
+ {
2395
+ "id": "data.connectorMode.operation.promptName",
2396
+ "label": "Prompt name",
2397
+ "description": "The name of the prompt to get.",
2398
+ "optional": false,
2399
+ "constraints": {
2400
+ "notEmpty": true
2401
+ },
2402
+ "feel": "optional",
2403
+ "group": "operation",
2404
+ "binding": {
2405
+ "name": "data.connectorMode.operation.promptName",
2406
+ "type": "zeebe:input"
2407
+ },
2408
+ "condition": {
2409
+ "allMatch": [
2410
+ {
2411
+ "property": "data.connectorMode.operation.type",
2412
+ "equals": "prompts/get",
2413
+ "type": "simple"
2414
+ },
2415
+ {
2416
+ "property": "data.connectorMode.type",
2417
+ "equals": "standalone",
2418
+ "type": "simple"
2419
+ }
2420
+ ]
2421
+ },
2422
+ "type": "String"
2423
+ },
2424
+ {
2425
+ "id": "data.connectorMode.operation.promptArguments",
2426
+ "label": "Prompt arguments",
2427
+ "description": "The arguments to pass to the prompt generation.",
2428
+ "optional": true,
2429
+ "feel": "required",
2430
+ "group": "operation",
2431
+ "binding": {
2432
+ "name": "data.connectorMode.operation.promptArguments",
2433
+ "type": "zeebe:input"
2434
+ },
2435
+ "condition": {
2436
+ "allMatch": [
2437
+ {
2438
+ "property": "data.connectorMode.operation.type",
2439
+ "equals": "prompts/get",
2440
+ "type": "simple"
2441
+ },
2442
+ {
2443
+ "property": "data.connectorMode.type",
2444
+ "equals": "standalone",
2445
+ "type": "simple"
2446
+ }
2447
+ ]
2448
+ },
2449
+ "type": "String"
2450
+ },
2348
2451
  {
2349
2452
  "id": "data.connectorMode.toolOperation.method",
2350
2453
  "label": "Method",
@@ -2389,29 +2492,209 @@
2389
2492
  "type": "String"
2390
2493
  },
2391
2494
  {
2392
- "id": "data.tools.included",
2495
+ "id": "data.connectorMode.standaloneModeFilters.tools.included",
2393
2496
  "label": "Included tools",
2394
2497
  "description": "List of tools that can be used by the MCP client. By default, all tools are allowed.",
2395
2498
  "optional": true,
2396
2499
  "feel": "required",
2397
- "group": "tools",
2500
+ "group": "filters",
2398
2501
  "binding": {
2399
- "name": "data.tools.included",
2502
+ "name": "data.connectorMode.standaloneModeFilters.tools.included",
2400
2503
  "type": "zeebe:input"
2401
2504
  },
2505
+ "condition": {
2506
+ "allMatch": [
2507
+ {
2508
+ "property": "data.connectorMode.operation.type",
2509
+ "oneOf": ["tools/call", "tools/list"],
2510
+ "type": "simple"
2511
+ },
2512
+ {
2513
+ "property": "data.connectorMode.type",
2514
+ "equals": "standalone",
2515
+ "type": "simple"
2516
+ }
2517
+ ]
2518
+ },
2402
2519
  "type": "Text"
2403
2520
  },
2404
2521
  {
2405
- "id": "data.tools.excluded",
2522
+ "id": "data.connectorMode.standaloneModeFilters.tools.excluded",
2406
2523
  "label": "Excluded tools",
2407
2524
  "description": "List of tools that are not allowed to be used by the MCP client. Will override any included tools.",
2408
2525
  "optional": true,
2409
2526
  "feel": "required",
2410
- "group": "tools",
2527
+ "group": "filters",
2411
2528
  "binding": {
2412
- "name": "data.tools.excluded",
2529
+ "name": "data.connectorMode.standaloneModeFilters.tools.excluded",
2530
+ "type": "zeebe:input"
2531
+ },
2532
+ "condition": {
2533
+ "allMatch": [
2534
+ {
2535
+ "property": "data.connectorMode.operation.type",
2536
+ "oneOf": ["tools/call", "tools/list"],
2537
+ "type": "simple"
2538
+ },
2539
+ {
2540
+ "property": "data.connectorMode.type",
2541
+ "equals": "standalone",
2542
+ "type": "simple"
2543
+ }
2544
+ ]
2545
+ },
2546
+ "type": "Text"
2547
+ },
2548
+ {
2549
+ "id": "data.connectorMode.standaloneModeFilters.resources.included",
2550
+ "label": "Included resources",
2551
+ "description": "List of resources that can be accessed by the MCP client. By default, all resources are allowed.",
2552
+ "optional": true,
2553
+ "feel": "required",
2554
+ "group": "filters",
2555
+ "binding": {
2556
+ "name": "data.connectorMode.standaloneModeFilters.resources.included",
2557
+ "type": "zeebe:input"
2558
+ },
2559
+ "condition": {
2560
+ "allMatch": [
2561
+ {
2562
+ "property": "data.connectorMode.operation.type",
2563
+ "oneOf": [
2564
+ "resources/read",
2565
+ "resources/list",
2566
+ "resources/templates/list"
2567
+ ],
2568
+ "type": "simple"
2569
+ },
2570
+ {
2571
+ "property": "data.connectorMode.type",
2572
+ "equals": "standalone",
2573
+ "type": "simple"
2574
+ }
2575
+ ]
2576
+ },
2577
+ "type": "Text"
2578
+ },
2579
+ {
2580
+ "id": "data.connectorMode.standaloneModeFilters.resources.excluded",
2581
+ "label": "Excluded resources",
2582
+ "description": "List of resources that are not allowed to be accessed by the MCP client. Will override any included resources.",
2583
+ "optional": true,
2584
+ "feel": "required",
2585
+ "group": "filters",
2586
+ "binding": {
2587
+ "name": "data.connectorMode.standaloneModeFilters.resources.excluded",
2588
+ "type": "zeebe:input"
2589
+ },
2590
+ "condition": {
2591
+ "allMatch": [
2592
+ {
2593
+ "property": "data.connectorMode.operation.type",
2594
+ "oneOf": [
2595
+ "resources/read",
2596
+ "resources/list",
2597
+ "resources/templates/list"
2598
+ ],
2599
+ "type": "simple"
2600
+ },
2601
+ {
2602
+ "property": "data.connectorMode.type",
2603
+ "equals": "standalone",
2604
+ "type": "simple"
2605
+ }
2606
+ ]
2607
+ },
2608
+ "type": "Text"
2609
+ },
2610
+ {
2611
+ "id": "data.connectorMode.standaloneModeFilters.prompts.included",
2612
+ "label": "Included prompts",
2613
+ "description": "List of prompts that can be accessed by the MCP client. By default, all prompts are allowed.",
2614
+ "optional": true,
2615
+ "feel": "required",
2616
+ "group": "filters",
2617
+ "binding": {
2618
+ "name": "data.connectorMode.standaloneModeFilters.prompts.included",
2619
+ "type": "zeebe:input"
2620
+ },
2621
+ "condition": {
2622
+ "allMatch": [
2623
+ {
2624
+ "property": "data.connectorMode.operation.type",
2625
+ "oneOf": ["prompts/get", "prompts/list"],
2626
+ "type": "simple"
2627
+ },
2628
+ {
2629
+ "property": "data.connectorMode.type",
2630
+ "equals": "standalone",
2631
+ "type": "simple"
2632
+ }
2633
+ ]
2634
+ },
2635
+ "type": "Text"
2636
+ },
2637
+ {
2638
+ "id": "data.connectorMode.standaloneModeFilters.prompts.excluded",
2639
+ "label": "Excluded prompts",
2640
+ "description": "List of prompts that are not allowed to be accessed by the MCP client. Will override any included prompts.",
2641
+ "optional": true,
2642
+ "feel": "required",
2643
+ "group": "filters",
2644
+ "binding": {
2645
+ "name": "data.connectorMode.standaloneModeFilters.prompts.excluded",
2413
2646
  "type": "zeebe:input"
2414
2647
  },
2648
+ "condition": {
2649
+ "allMatch": [
2650
+ {
2651
+ "property": "data.connectorMode.operation.type",
2652
+ "oneOf": ["prompts/get", "prompts/list"],
2653
+ "type": "simple"
2654
+ },
2655
+ {
2656
+ "property": "data.connectorMode.type",
2657
+ "equals": "standalone",
2658
+ "type": "simple"
2659
+ }
2660
+ ]
2661
+ },
2662
+ "type": "Text"
2663
+ },
2664
+ {
2665
+ "id": "data.connectorMode.toolModeFilters.tools.included",
2666
+ "label": "Included tools",
2667
+ "description": "List of tools that can be used by the MCP client. By default, all tools are allowed.",
2668
+ "optional": true,
2669
+ "feel": "required",
2670
+ "group": "filters",
2671
+ "binding": {
2672
+ "name": "data.connectorMode.toolModeFilters.tools.included",
2673
+ "type": "zeebe:input"
2674
+ },
2675
+ "condition": {
2676
+ "property": "data.connectorMode.type",
2677
+ "equals": "aiAgentTool",
2678
+ "type": "simple"
2679
+ },
2680
+ "type": "Text"
2681
+ },
2682
+ {
2683
+ "id": "data.connectorMode.toolModeFilters.tools.excluded",
2684
+ "label": "Excluded tools",
2685
+ "description": "List of tools that are not allowed to be used by the MCP client. Will override any included tools.",
2686
+ "optional": true,
2687
+ "feel": "required",
2688
+ "group": "filters",
2689
+ "binding": {
2690
+ "name": "data.connectorMode.toolModeFilters.tools.excluded",
2691
+ "type": "zeebe:input"
2692
+ },
2693
+ "condition": {
2694
+ "property": "data.connectorMode.type",
2695
+ "equals": "aiAgentTool",
2696
+ "type": "simple"
2697
+ },
2415
2698
  "type": "Text"
2416
2699
  },
2417
2700
  {