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
@@ -1 +1 @@
1
- {"version":3,"file":"pipeline.d.ts","sourceRoot":"","sources":["../../../../src/data/schemas/v1/pipeline.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAk+L/B,CAAC;AACF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"pipeline.d.ts","sourceRoot":"","sources":["../../../../src/data/schemas/v1/pipeline.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAyqM/B,CAAC;AACF,eAAe,MAAM,CAAC"}
@@ -1589,6 +1589,52 @@ const schema = {
1589
1589
  "if-not-exists"
1590
1590
  ],
1591
1591
  "$schema": "http://json-schema.org/draft-07/schema#"
1592
+ },
1593
+ "MultiDeploymentConfigV1": {
1594
+ "title": "MultiDeploymentConfigV1",
1595
+ "type": "object",
1596
+ "additionalProperties": false,
1597
+ "description": "Optional configuration for deployments across multiple services and/or environments.",
1598
+ "properties": {
1599
+ "on-failure": {
1600
+ "description": "Behaviour when one of the multiple deployments fails. Supports expressions.",
1601
+ "oneOf": [
1602
+ {
1603
+ "$ref": "#/definitions/pipeline_v1/common/StrategyOnFailureTypeV1"
1604
+ },
1605
+ {
1606
+ "$ref": "#/definitions/pipeline_v1/common/Expression"
1607
+ }
1608
+ ]
1609
+ },
1610
+ "when": {
1611
+ "type": "string",
1612
+ "description": "Conditional expression controlling whether queued deployments proceed."
1613
+ },
1614
+ "max-concurrency": {
1615
+ "description": "Maximum number of concurrent service/environment deployments. Supports expressions.",
1616
+ "oneOf": [
1617
+ {
1618
+ "type": "integer",
1619
+ "minimum": 1
1620
+ },
1621
+ {
1622
+ "$ref": "#/definitions/pipeline_v1/common/Expression"
1623
+ }
1624
+ ]
1625
+ }
1626
+ },
1627
+ "$schema": "http://json-schema.org/draft-07/schema#"
1628
+ },
1629
+ "StrategyOnFailureTypeV1": {
1630
+ "title": "StrategyOnFailureTypeV1",
1631
+ "description": "Defines behaviour when one of the multiple service/environment deployments fails.",
1632
+ "type": "string",
1633
+ "enum": [
1634
+ "run-all",
1635
+ "skip-queued"
1636
+ ],
1637
+ "$schema": "http://json-schema.org/draft-07/schema#"
1592
1638
  }
1593
1639
  },
1594
1640
  "Reference": {
@@ -2106,6 +2152,18 @@ const schema = {
2106
2152
  "webhook": {
2107
2153
  "description": "Slack webhook URL.",
2108
2154
  "type": "string"
2155
+ },
2156
+ "bot-token": {
2157
+ "description": "Slack bot token secret.",
2158
+ "type": "string"
2159
+ },
2160
+ "channel": {
2161
+ "description": "Slack channel name or ID for bot token notifications.",
2162
+ "type": "string"
2163
+ },
2164
+ "use-bot-token": {
2165
+ "description": "When true, send Slack notifications via bot token.",
2166
+ "type": "boolean"
2109
2167
  }
2110
2168
  },
2111
2169
  "$schema": "http://json-schema.org/draft-07/schema#"
@@ -2582,6 +2640,10 @@ const schema = {
2582
2640
  "description": "Environment configuration for CD stages.",
2583
2641
  "$ref": "#/definitions/pipeline_v1/stages/unified/EnvironmentV1"
2584
2642
  },
2643
+ "multi-deployment": {
2644
+ "description": "Configuration for deployments across multiple services and/or environments.",
2645
+ "$ref": "#/definitions/pipeline_v1/common/MultiDeploymentConfigV1"
2646
+ },
2585
2647
  "workspace": {
2586
2648
  "type": "string",
2587
2649
  "description": "IaCM workspace identifier."
@@ -3733,83 +3795,124 @@ const schema = {
3733
3795
  "Filters": {
3734
3796
  "title": "Filters",
3735
3797
  "description": "Filters for selecting environments or infrastructures.",
3736
- "type": "array",
3737
- "items": {
3738
- "type": "object",
3739
- "properties": {
3740
- "infrastructures": {
3741
- "description": "Infrastructure filters.",
3742
- "oneOf": [
3743
- {
3744
- "type": "string",
3745
- "enum": [
3746
- "all"
3747
- ]
3748
- },
3749
- {
3750
- "type": "array",
3751
- "items": {
3752
- "$ref": "#/definitions/pipeline_v1/stages/unified/FilterCondition"
3753
- }
3754
- },
3755
- {
3756
- "type": "object",
3757
- "properties": {
3758
- "or": {
3759
- "type": "array",
3760
- "items": {
3761
- "$ref": "#/definitions/pipeline_v1/stages/unified/FilterCondition"
3762
- }
3798
+ "oneOf": [
3799
+ {
3800
+ "$ref": "#/definitions/pipeline_v1/common/Expression"
3801
+ },
3802
+ {
3803
+ "type": "array",
3804
+ "items": {
3805
+ "type": "object",
3806
+ "properties": {
3807
+ "infrastructures": {
3808
+ "description": "Infrastructure filters.",
3809
+ "oneOf": [
3810
+ {
3811
+ "type": "string",
3812
+ "enum": [
3813
+ "all"
3814
+ ]
3815
+ },
3816
+ {
3817
+ "$ref": "#/definitions/pipeline_v1/common/Expression"
3763
3818
  },
3764
- "and": {
3819
+ {
3765
3820
  "type": "array",
3766
3821
  "items": {
3767
3822
  "$ref": "#/definitions/pipeline_v1/stages/unified/FilterCondition"
3768
3823
  }
3824
+ },
3825
+ {
3826
+ "type": "object",
3827
+ "properties": {
3828
+ "or": {
3829
+ "oneOf": [
3830
+ {
3831
+ "type": "array",
3832
+ "items": {
3833
+ "$ref": "#/definitions/pipeline_v1/stages/unified/FilterCondition"
3834
+ }
3835
+ },
3836
+ {
3837
+ "$ref": "#/definitions/pipeline_v1/common/Expression"
3838
+ }
3839
+ ]
3840
+ },
3841
+ "and": {
3842
+ "oneOf": [
3843
+ {
3844
+ "type": "array",
3845
+ "items": {
3846
+ "$ref": "#/definitions/pipeline_v1/stages/unified/FilterCondition"
3847
+ }
3848
+ },
3849
+ {
3850
+ "$ref": "#/definitions/pipeline_v1/common/Expression"
3851
+ }
3852
+ ]
3853
+ }
3854
+ },
3855
+ "additionalProperties": false
3769
3856
  }
3770
- },
3771
- "additionalProperties": false
3772
- }
3773
- ]
3774
- },
3775
- "environments": {
3776
- "description": "Environment filters.",
3777
- "oneOf": [
3778
- {
3779
- "type": "string",
3780
- "enum": [
3781
- "all"
3782
3857
  ]
3783
3858
  },
3784
- {
3785
- "type": "array",
3786
- "items": {
3787
- "$ref": "#/definitions/pipeline_v1/stages/unified/FilterCondition"
3788
- }
3789
- },
3790
- {
3791
- "type": "object",
3792
- "properties": {
3793
- "or": {
3794
- "type": "array",
3795
- "items": {
3796
- "$ref": "#/definitions/pipeline_v1/stages/unified/FilterCondition"
3797
- }
3859
+ "environments": {
3860
+ "description": "Environment filters.",
3861
+ "oneOf": [
3862
+ {
3863
+ "type": "string",
3864
+ "enum": [
3865
+ "all"
3866
+ ]
3798
3867
  },
3799
- "and": {
3868
+ {
3869
+ "$ref": "#/definitions/pipeline_v1/common/Expression"
3870
+ },
3871
+ {
3800
3872
  "type": "array",
3801
3873
  "items": {
3802
3874
  "$ref": "#/definitions/pipeline_v1/stages/unified/FilterCondition"
3803
3875
  }
3876
+ },
3877
+ {
3878
+ "type": "object",
3879
+ "properties": {
3880
+ "or": {
3881
+ "oneOf": [
3882
+ {
3883
+ "type": "array",
3884
+ "items": {
3885
+ "$ref": "#/definitions/pipeline_v1/stages/unified/FilterCondition"
3886
+ }
3887
+ },
3888
+ {
3889
+ "$ref": "#/definitions/pipeline_v1/common/Expression"
3890
+ }
3891
+ ]
3892
+ },
3893
+ "and": {
3894
+ "oneOf": [
3895
+ {
3896
+ "type": "array",
3897
+ "items": {
3898
+ "$ref": "#/definitions/pipeline_v1/stages/unified/FilterCondition"
3899
+ }
3900
+ },
3901
+ {
3902
+ "$ref": "#/definitions/pipeline_v1/common/Expression"
3903
+ }
3904
+ ]
3905
+ }
3906
+ },
3907
+ "additionalProperties": false
3804
3908
  }
3805
- },
3806
- "additionalProperties": false
3909
+ ]
3807
3910
  }
3808
- ]
3911
+ },
3912
+ "additionalProperties": false
3809
3913
  }
3810
- },
3811
- "additionalProperties": false
3812
- },
3914
+ }
3915
+ ],
3813
3916
  "$schema": "http://json-schema.org/draft-07/schema#"
3814
3917
  },
3815
3918
  "FilterCondition": {
@@ -3819,9 +3922,12 @@ const schema = {
3819
3922
  "properties": {
3820
3923
  "tags": {
3821
3924
  "description": "Tag-based filter conditions.",
3822
- "type": "object",
3823
3925
  "oneOf": [
3824
3926
  {
3927
+ "$ref": "#/definitions/pipeline_v1/common/Expression"
3928
+ },
3929
+ {
3930
+ "type": "object",
3825
3931
  "required": [
3826
3932
  "in"
3827
3933
  ],
@@ -3844,6 +3950,7 @@ const schema = {
3844
3950
  "additionalProperties": false
3845
3951
  },
3846
3952
  {
3953
+ "type": "object",
3847
3954
  "required": [
3848
3955
  "all"
3849
3956
  ],
@@ -3864,6 +3971,45 @@ const schema = {
3864
3971
  }
3865
3972
  },
3866
3973
  "additionalProperties": false
3974
+ },
3975
+ {
3976
+ "type": "object",
3977
+ "required": [
3978
+ "match-type",
3979
+ "values"
3980
+ ],
3981
+ "properties": {
3982
+ "match-type": {
3983
+ "description": "How the tags are matched - `all` to require every tag (AND), `in` to require any one of them (OR).",
3984
+ "oneOf": [
3985
+ {
3986
+ "type": "string",
3987
+ "enum": [
3988
+ "all",
3989
+ "in"
3990
+ ]
3991
+ },
3992
+ {
3993
+ "$ref": "#/definitions/pipeline_v1/common/Expression"
3994
+ }
3995
+ ]
3996
+ },
3997
+ "values": {
3998
+ "description": "Tags to filter on, as key/value pairs.",
3999
+ "anyOf": [
4000
+ {
4001
+ "type": "object",
4002
+ "additionalProperties": {
4003
+ "type": "string"
4004
+ }
4005
+ },
4006
+ {
4007
+ "$ref": "#/definitions/pipeline_v1/common/Expression"
4008
+ }
4009
+ ]
4010
+ }
4011
+ },
4012
+ "additionalProperties": false
3867
4013
  }
3868
4014
  ]
3869
4015
  }
@@ -4453,6 +4599,11 @@ const schema = {
4453
4599
  "required": [
4454
4600
  "ai-eval"
4455
4601
  ]
4602
+ },
4603
+ {
4604
+ "required": [
4605
+ "render"
4606
+ ]
4456
4607
  }
4457
4608
  ]
4458
4609
  },
@@ -4630,6 +4781,16 @@ const schema = {
4630
4781
  "then": {
4631
4782
  "$ref": "#/definitions/pipeline_v1/common/UnifiedTemplate"
4632
4783
  }
4784
+ },
4785
+ {
4786
+ "if": {
4787
+ "required": [
4788
+ "render"
4789
+ ]
4790
+ },
4791
+ "then": {
4792
+ "$ref": "#/definitions/pipeline_v1/steps/unified/UnifiedRenderStepNode"
4793
+ }
4633
4794
  }
4634
4795
  ]
4635
4796
  },
@@ -6067,6 +6228,44 @@ const schema = {
6067
6228
  }
6068
6229
  },
6069
6230
  "$schema": "http://json-schema.org/draft-07/schema#"
6231
+ },
6232
+ "UnifiedRenderStepNode": {
6233
+ "title": "UnifiedRenderStepNode",
6234
+ "description": "Render step node for manifest rendering.",
6235
+ "allOf": [
6236
+ {
6237
+ "$ref": "#/definitions/pipeline_v1/steps/unified/UnifiedPmsAbstractStepNode"
6238
+ },
6239
+ {
6240
+ "type": "object",
6241
+ "required": [
6242
+ "render"
6243
+ ],
6244
+ "properties": {
6245
+ "render": {
6246
+ "description": "Render step configuration.",
6247
+ "type": "object",
6248
+ "properties": {
6249
+ "with": {
6250
+ "description": "Render step parameters including manifest type and inputs.",
6251
+ "type": "object",
6252
+ "required": [
6253
+ "kind"
6254
+ ],
6255
+ "properties": {
6256
+ "kind": {
6257
+ "description": "Manifest type to render (e.g., k8s).",
6258
+ "type": "string"
6259
+ }
6260
+ },
6261
+ "additionalProperties": true
6262
+ }
6263
+ }
6264
+ }
6265
+ }
6266
+ }
6267
+ ],
6268
+ "$schema": "http://json-schema.org/draft-07/schema#"
6070
6269
  }
6071
6270
  },
6072
6271
  "common": {