harness-mcp-v2 3.2.34 → 3.2.35

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.
Files changed (129) hide show
  1. package/README.md +54 -14
  2. package/build/client/harness-client.d.ts.map +1 -1
  3. package/build/client/harness-client.js +69 -11
  4. package/build/client/harness-client.js.map +1 -1
  5. package/build/config.d.ts +81 -2
  6. package/build/config.d.ts.map +1 -1
  7. package/build/config.js +132 -15
  8. package/build/config.js.map +1 -1
  9. package/build/data/schemas/v0/pipeline.d.ts.map +1 -1
  10. package/build/data/schemas/v0/pipeline.js +14861 -14726
  11. package/build/data/schemas/v0/pipeline.js.map +1 -1
  12. package/build/data/schemas/v0/template.d.ts.map +1 -1
  13. package/build/data/schemas/v0/template.js +6977 -6851
  14. package/build/data/schemas/v0/template.js.map +1 -1
  15. package/build/data/schemas/v1/pipeline.d.ts.map +1 -1
  16. package/build/data/schemas/v1/pipeline.js +261 -62
  17. package/build/data/schemas/v1/pipeline.js.map +1 -1
  18. package/build/data/schemas/v1/template.d.ts.map +1 -1
  19. package/build/data/schemas/v1/template.js +261 -62
  20. package/build/data/schemas/v1/template.js.map +1 -1
  21. package/build/index.js +25 -7
  22. package/build/index.js.map +1 -1
  23. package/build/prompts/run-evaluation.d.ts.map +1 -1
  24. package/build/prompts/run-evaluation.js +2 -1
  25. package/build/prompts/run-evaluation.js.map +1 -1
  26. package/build/registry/extractors.d.ts +32 -0
  27. package/build/registry/extractors.d.ts.map +1 -1
  28. package/build/registry/extractors.js +69 -0
  29. package/build/registry/extractors.js.map +1 -1
  30. package/build/registry/index.d.ts +23 -3
  31. package/build/registry/index.d.ts.map +1 -1
  32. package/build/registry/index.js +119 -6
  33. package/build/registry/index.js.map +1 -1
  34. package/build/registry/toolsets/ai-evals.d.ts.map +1 -1
  35. package/build/registry/toolsets/ai-evals.js +348 -100
  36. package/build/registry/toolsets/ai-evals.js.map +1 -1
  37. package/build/registry/toolsets/ccm-cost-category.d.ts +16 -0
  38. package/build/registry/toolsets/ccm-cost-category.d.ts.map +1 -0
  39. package/build/registry/toolsets/ccm-cost-category.js +46 -0
  40. package/build/registry/toolsets/ccm-cost-category.js.map +1 -0
  41. package/build/registry/toolsets/ccm.d.ts.map +1 -1
  42. package/build/registry/toolsets/ccm.js +15 -14
  43. package/build/registry/toolsets/ccm.js.map +1 -1
  44. package/build/registry/toolsets/chaos-descriptions.d.ts +48 -15
  45. package/build/registry/toolsets/chaos-descriptions.d.ts.map +1 -1
  46. package/build/registry/toolsets/chaos-descriptions.js +60 -20
  47. package/build/registry/toolsets/chaos-descriptions.js.map +1 -1
  48. package/build/registry/toolsets/chaos.d.ts.map +1 -1
  49. package/build/registry/toolsets/chaos.js +409 -41
  50. package/build/registry/toolsets/chaos.js.map +1 -1
  51. package/build/registry/toolsets/connectors.js +3 -3
  52. package/build/registry/toolsets/connectors.js.map +1 -1
  53. package/build/registry/toolsets/registries-v3.d.ts.map +1 -1
  54. package/build/registry/toolsets/registries-v3.js +80 -2
  55. package/build/registry/toolsets/registries-v3.js.map +1 -1
  56. package/build/tools/field-copy.d.ts +51 -0
  57. package/build/tools/field-copy.d.ts.map +1 -0
  58. package/build/tools/field-copy.js +46 -0
  59. package/build/tools/field-copy.js.map +1 -0
  60. package/build/tools/harness-create.d.ts.map +1 -1
  61. package/build/tools/harness-create.js +13 -10
  62. package/build/tools/harness-create.js.map +1 -1
  63. package/build/tools/harness-delete.d.ts.map +1 -1
  64. package/build/tools/harness-delete.js +12 -9
  65. package/build/tools/harness-delete.js.map +1 -1
  66. package/build/tools/harness-describe.d.ts.map +1 -1
  67. package/build/tools/harness-describe.js +14 -6
  68. package/build/tools/harness-describe.js.map +1 -1
  69. package/build/tools/harness-diagnose.d.ts.map +1 -1
  70. package/build/tools/harness-diagnose.js +9 -6
  71. package/build/tools/harness-diagnose.js.map +1 -1
  72. package/build/tools/harness-execute.d.ts.map +1 -1
  73. package/build/tools/harness-execute.js +19 -14
  74. package/build/tools/harness-execute.js.map +1 -1
  75. package/build/tools/harness-get.d.ts.map +1 -1
  76. package/build/tools/harness-get.js +10 -8
  77. package/build/tools/harness-get.js.map +1 -1
  78. package/build/tools/harness-list.d.ts.map +1 -1
  79. package/build/tools/harness-list.js +10 -8
  80. package/build/tools/harness-list.js.map +1 -1
  81. package/build/tools/harness-schema.d.ts.map +1 -1
  82. package/build/tools/harness-schema.js +5 -3
  83. package/build/tools/harness-schema.js.map +1 -1
  84. package/build/tools/harness-search.d.ts.map +1 -1
  85. package/build/tools/harness-search.js +10 -8
  86. package/build/tools/harness-search.js.map +1 -1
  87. package/build/tools/harness-status.js +4 -4
  88. package/build/tools/harness-status.js.map +1 -1
  89. package/build/tools/harness-update.d.ts.map +1 -1
  90. package/build/tools/harness-update.js +12 -9
  91. package/build/tools/harness-update.js.map +1 -1
  92. package/build/tools/input-schemas.d.ts +16 -5
  93. package/build/tools/input-schemas.d.ts.map +1 -1
  94. package/build/tools/input-schemas.js +32 -11
  95. package/build/tools/input-schemas.js.map +1 -1
  96. package/build/tools/output-schemas.d.ts +8 -0
  97. package/build/tools/output-schemas.d.ts.map +1 -1
  98. package/build/tools/output-schemas.js +10 -0
  99. package/build/tools/output-schemas.js.map +1 -1
  100. package/build/utils/canonical-resource-type.d.ts +7 -0
  101. package/build/utils/canonical-resource-type.d.ts.map +1 -0
  102. package/build/utils/canonical-resource-type.js +16 -0
  103. package/build/utils/canonical-resource-type.js.map +1 -0
  104. package/build/utils/http-auth.d.ts +2 -1
  105. package/build/utils/http-auth.d.ts.map +1 -1
  106. package/build/utils/http-auth.js +10 -2
  107. package/build/utils/http-auth.js.map +1 -1
  108. package/build/utils/oauth-auth.d.ts +1 -0
  109. package/build/utils/oauth-auth.d.ts.map +1 -1
  110. package/build/utils/oauth-auth.js +5 -0
  111. package/build/utils/oauth-auth.js.map +1 -1
  112. package/build/utils/oauth-broker.d.ts +25 -0
  113. package/build/utils/oauth-broker.d.ts.map +1 -0
  114. package/build/utils/oauth-broker.js +606 -0
  115. package/build/utils/oauth-broker.js.map +1 -0
  116. package/build/utils/oauth-proxy-redis-vault.d.ts +51 -0
  117. package/build/utils/oauth-proxy-redis-vault.d.ts.map +1 -0
  118. package/build/utils/oauth-proxy-redis-vault.js +242 -0
  119. package/build/utils/oauth-proxy-redis-vault.js.map +1 -0
  120. package/build/utils/oauth-proxy-vault.d.ts +108 -0
  121. package/build/utils/oauth-proxy-vault.d.ts.map +1 -0
  122. package/build/utils/oauth-proxy-vault.js +183 -0
  123. package/build/utils/oauth-proxy-vault.js.map +1 -0
  124. package/build/utils/oauth-proxy.d.ts +53 -0
  125. package/build/utils/oauth-proxy.d.ts.map +1 -0
  126. package/build/utils/oauth-proxy.js +493 -0
  127. package/build/utils/oauth-proxy.js.map +1 -0
  128. package/npm-shrinkwrap.json +178 -31
  129. package/package.json +6 -5
@@ -1510,6 +1510,52 @@ const schema = {
1510
1510
  "if-not-exists"
1511
1511
  ],
1512
1512
  "$schema": "http://json-schema.org/draft-07/schema#"
1513
+ },
1514
+ "MultiDeploymentConfigV1": {
1515
+ "title": "MultiDeploymentConfigV1",
1516
+ "type": "object",
1517
+ "additionalProperties": false,
1518
+ "description": "Optional configuration for deployments across multiple services and/or environments.",
1519
+ "properties": {
1520
+ "on-failure": {
1521
+ "description": "Behaviour when one of the multiple deployments fails. Supports expressions.",
1522
+ "oneOf": [
1523
+ {
1524
+ "$ref": "#/definitions/template_v1/common/StrategyOnFailureTypeV1"
1525
+ },
1526
+ {
1527
+ "$ref": "#/definitions/template_v1/common/Expression"
1528
+ }
1529
+ ]
1530
+ },
1531
+ "when": {
1532
+ "type": "string",
1533
+ "description": "Conditional expression controlling whether queued deployments proceed."
1534
+ },
1535
+ "max-concurrency": {
1536
+ "description": "Maximum number of concurrent service/environment deployments. Supports expressions.",
1537
+ "oneOf": [
1538
+ {
1539
+ "type": "integer",
1540
+ "minimum": 1
1541
+ },
1542
+ {
1543
+ "$ref": "#/definitions/template_v1/common/Expression"
1544
+ }
1545
+ ]
1546
+ }
1547
+ },
1548
+ "$schema": "http://json-schema.org/draft-07/schema#"
1549
+ },
1550
+ "StrategyOnFailureTypeV1": {
1551
+ "title": "StrategyOnFailureTypeV1",
1552
+ "description": "Defines behaviour when one of the multiple service/environment deployments fails.",
1553
+ "type": "string",
1554
+ "enum": [
1555
+ "run-all",
1556
+ "skip-queued"
1557
+ ],
1558
+ "$schema": "http://json-schema.org/draft-07/schema#"
1513
1559
  }
1514
1560
  },
1515
1561
  "pipeline": {
@@ -2301,6 +2347,18 @@ const schema = {
2301
2347
  "webhook": {
2302
2348
  "description": "Slack webhook URL.",
2303
2349
  "type": "string"
2350
+ },
2351
+ "bot-token": {
2352
+ "description": "Slack bot token secret.",
2353
+ "type": "string"
2354
+ },
2355
+ "channel": {
2356
+ "description": "Slack channel name or ID for bot token notifications.",
2357
+ "type": "string"
2358
+ },
2359
+ "use-bot-token": {
2360
+ "description": "When true, send Slack notifications via bot token.",
2361
+ "type": "boolean"
2304
2362
  }
2305
2363
  },
2306
2364
  "$schema": "http://json-schema.org/draft-07/schema#"
@@ -2777,6 +2835,10 @@ const schema = {
2777
2835
  "description": "Environment configuration for CD stages.",
2778
2836
  "$ref": "#/definitions/template_v1/stages/unified/EnvironmentV1"
2779
2837
  },
2838
+ "multi-deployment": {
2839
+ "description": "Configuration for deployments across multiple services and/or environments.",
2840
+ "$ref": "#/definitions/template_v1/common/MultiDeploymentConfigV1"
2841
+ },
2780
2842
  "workspace": {
2781
2843
  "type": "string",
2782
2844
  "description": "IaCM workspace identifier."
@@ -3928,83 +3990,124 @@ const schema = {
3928
3990
  "Filters": {
3929
3991
  "title": "Filters",
3930
3992
  "description": "Filters for selecting environments or infrastructures.",
3931
- "type": "array",
3932
- "items": {
3933
- "type": "object",
3934
- "properties": {
3935
- "infrastructures": {
3936
- "description": "Infrastructure filters.",
3937
- "oneOf": [
3938
- {
3939
- "type": "string",
3940
- "enum": [
3941
- "all"
3942
- ]
3943
- },
3944
- {
3945
- "type": "array",
3946
- "items": {
3947
- "$ref": "#/definitions/template_v1/stages/unified/FilterCondition"
3948
- }
3949
- },
3950
- {
3951
- "type": "object",
3952
- "properties": {
3953
- "or": {
3954
- "type": "array",
3955
- "items": {
3956
- "$ref": "#/definitions/template_v1/stages/unified/FilterCondition"
3957
- }
3993
+ "oneOf": [
3994
+ {
3995
+ "$ref": "#/definitions/template_v1/common/Expression"
3996
+ },
3997
+ {
3998
+ "type": "array",
3999
+ "items": {
4000
+ "type": "object",
4001
+ "properties": {
4002
+ "infrastructures": {
4003
+ "description": "Infrastructure filters.",
4004
+ "oneOf": [
4005
+ {
4006
+ "type": "string",
4007
+ "enum": [
4008
+ "all"
4009
+ ]
4010
+ },
4011
+ {
4012
+ "$ref": "#/definitions/template_v1/common/Expression"
3958
4013
  },
3959
- "and": {
4014
+ {
3960
4015
  "type": "array",
3961
4016
  "items": {
3962
4017
  "$ref": "#/definitions/template_v1/stages/unified/FilterCondition"
3963
4018
  }
4019
+ },
4020
+ {
4021
+ "type": "object",
4022
+ "properties": {
4023
+ "or": {
4024
+ "oneOf": [
4025
+ {
4026
+ "type": "array",
4027
+ "items": {
4028
+ "$ref": "#/definitions/template_v1/stages/unified/FilterCondition"
4029
+ }
4030
+ },
4031
+ {
4032
+ "$ref": "#/definitions/template_v1/common/Expression"
4033
+ }
4034
+ ]
4035
+ },
4036
+ "and": {
4037
+ "oneOf": [
4038
+ {
4039
+ "type": "array",
4040
+ "items": {
4041
+ "$ref": "#/definitions/template_v1/stages/unified/FilterCondition"
4042
+ }
4043
+ },
4044
+ {
4045
+ "$ref": "#/definitions/template_v1/common/Expression"
4046
+ }
4047
+ ]
4048
+ }
4049
+ },
4050
+ "additionalProperties": false
3964
4051
  }
3965
- },
3966
- "additionalProperties": false
3967
- }
3968
- ]
3969
- },
3970
- "environments": {
3971
- "description": "Environment filters.",
3972
- "oneOf": [
3973
- {
3974
- "type": "string",
3975
- "enum": [
3976
- "all"
3977
4052
  ]
3978
4053
  },
3979
- {
3980
- "type": "array",
3981
- "items": {
3982
- "$ref": "#/definitions/template_v1/stages/unified/FilterCondition"
3983
- }
3984
- },
3985
- {
3986
- "type": "object",
3987
- "properties": {
3988
- "or": {
3989
- "type": "array",
3990
- "items": {
3991
- "$ref": "#/definitions/template_v1/stages/unified/FilterCondition"
3992
- }
4054
+ "environments": {
4055
+ "description": "Environment filters.",
4056
+ "oneOf": [
4057
+ {
4058
+ "type": "string",
4059
+ "enum": [
4060
+ "all"
4061
+ ]
3993
4062
  },
3994
- "and": {
4063
+ {
4064
+ "$ref": "#/definitions/template_v1/common/Expression"
4065
+ },
4066
+ {
3995
4067
  "type": "array",
3996
4068
  "items": {
3997
4069
  "$ref": "#/definitions/template_v1/stages/unified/FilterCondition"
3998
4070
  }
4071
+ },
4072
+ {
4073
+ "type": "object",
4074
+ "properties": {
4075
+ "or": {
4076
+ "oneOf": [
4077
+ {
4078
+ "type": "array",
4079
+ "items": {
4080
+ "$ref": "#/definitions/template_v1/stages/unified/FilterCondition"
4081
+ }
4082
+ },
4083
+ {
4084
+ "$ref": "#/definitions/template_v1/common/Expression"
4085
+ }
4086
+ ]
4087
+ },
4088
+ "and": {
4089
+ "oneOf": [
4090
+ {
4091
+ "type": "array",
4092
+ "items": {
4093
+ "$ref": "#/definitions/template_v1/stages/unified/FilterCondition"
4094
+ }
4095
+ },
4096
+ {
4097
+ "$ref": "#/definitions/template_v1/common/Expression"
4098
+ }
4099
+ ]
4100
+ }
4101
+ },
4102
+ "additionalProperties": false
3999
4103
  }
4000
- },
4001
- "additionalProperties": false
4104
+ ]
4002
4105
  }
4003
- ]
4106
+ },
4107
+ "additionalProperties": false
4004
4108
  }
4005
- },
4006
- "additionalProperties": false
4007
- },
4109
+ }
4110
+ ],
4008
4111
  "$schema": "http://json-schema.org/draft-07/schema#"
4009
4112
  },
4010
4113
  "FilterCondition": {
@@ -4014,9 +4117,12 @@ const schema = {
4014
4117
  "properties": {
4015
4118
  "tags": {
4016
4119
  "description": "Tag-based filter conditions.",
4017
- "type": "object",
4018
4120
  "oneOf": [
4019
4121
  {
4122
+ "$ref": "#/definitions/template_v1/common/Expression"
4123
+ },
4124
+ {
4125
+ "type": "object",
4020
4126
  "required": [
4021
4127
  "in"
4022
4128
  ],
@@ -4039,6 +4145,7 @@ const schema = {
4039
4145
  "additionalProperties": false
4040
4146
  },
4041
4147
  {
4148
+ "type": "object",
4042
4149
  "required": [
4043
4150
  "all"
4044
4151
  ],
@@ -4059,6 +4166,45 @@ const schema = {
4059
4166
  }
4060
4167
  },
4061
4168
  "additionalProperties": false
4169
+ },
4170
+ {
4171
+ "type": "object",
4172
+ "required": [
4173
+ "match-type",
4174
+ "values"
4175
+ ],
4176
+ "properties": {
4177
+ "match-type": {
4178
+ "description": "How the tags are matched - `all` to require every tag (AND), `in` to require any one of them (OR).",
4179
+ "oneOf": [
4180
+ {
4181
+ "type": "string",
4182
+ "enum": [
4183
+ "all",
4184
+ "in"
4185
+ ]
4186
+ },
4187
+ {
4188
+ "$ref": "#/definitions/template_v1/common/Expression"
4189
+ }
4190
+ ]
4191
+ },
4192
+ "values": {
4193
+ "description": "Tags to filter on, as key/value pairs.",
4194
+ "anyOf": [
4195
+ {
4196
+ "type": "object",
4197
+ "additionalProperties": {
4198
+ "type": "string"
4199
+ }
4200
+ },
4201
+ {
4202
+ "$ref": "#/definitions/template_v1/common/Expression"
4203
+ }
4204
+ ]
4205
+ }
4206
+ },
4207
+ "additionalProperties": false
4062
4208
  }
4063
4209
  ]
4064
4210
  }
@@ -4648,6 +4794,11 @@ const schema = {
4648
4794
  "required": [
4649
4795
  "ai-eval"
4650
4796
  ]
4797
+ },
4798
+ {
4799
+ "required": [
4800
+ "render"
4801
+ ]
4651
4802
  }
4652
4803
  ]
4653
4804
  },
@@ -4825,6 +4976,16 @@ const schema = {
4825
4976
  "then": {
4826
4977
  "$ref": "#/definitions/template_v1/common/UnifiedTemplate"
4827
4978
  }
4979
+ },
4980
+ {
4981
+ "if": {
4982
+ "required": [
4983
+ "render"
4984
+ ]
4985
+ },
4986
+ "then": {
4987
+ "$ref": "#/definitions/template_v1/steps/unified/UnifiedRenderStepNode"
4988
+ }
4828
4989
  }
4829
4990
  ]
4830
4991
  },
@@ -6262,6 +6423,44 @@ const schema = {
6262
6423
  }
6263
6424
  },
6264
6425
  "$schema": "http://json-schema.org/draft-07/schema#"
6426
+ },
6427
+ "UnifiedRenderStepNode": {
6428
+ "title": "UnifiedRenderStepNode",
6429
+ "description": "Render step node for manifest rendering.",
6430
+ "allOf": [
6431
+ {
6432
+ "$ref": "#/definitions/template_v1/steps/unified/UnifiedPmsAbstractStepNode"
6433
+ },
6434
+ {
6435
+ "type": "object",
6436
+ "required": [
6437
+ "render"
6438
+ ],
6439
+ "properties": {
6440
+ "render": {
6441
+ "description": "Render step configuration.",
6442
+ "type": "object",
6443
+ "properties": {
6444
+ "with": {
6445
+ "description": "Render step parameters including manifest type and inputs.",
6446
+ "type": "object",
6447
+ "required": [
6448
+ "kind"
6449
+ ],
6450
+ "properties": {
6451
+ "kind": {
6452
+ "description": "Manifest type to render (e.g., k8s).",
6453
+ "type": "string"
6454
+ }
6455
+ },
6456
+ "additionalProperties": true
6457
+ }
6458
+ }
6459
+ }
6460
+ }
6461
+ }
6462
+ ],
6463
+ "$schema": "http://json-schema.org/draft-07/schema#"
6265
6464
  }
6266
6465
  },
6267
6466
  "common": {