harness-mcp-v2 3.2.16 → 3.2.18

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 (65) hide show
  1. package/README.md +58 -41
  2. package/build/data/schemas/v0/pipeline.d.ts.map +1 -1
  3. package/build/data/schemas/v0/pipeline.js +418 -3
  4. package/build/data/schemas/v0/pipeline.js.map +1 -1
  5. package/build/data/schemas/v0/template.d.ts.map +1 -1
  6. package/build/data/schemas/v0/template.js +434 -3
  7. package/build/data/schemas/v0/template.js.map +1 -1
  8. package/build/data/schemas/v1/pipeline.d.ts.map +1 -1
  9. package/build/data/schemas/v1/pipeline.js +113 -5
  10. package/build/data/schemas/v1/pipeline.js.map +1 -1
  11. package/build/data/schemas/v1/template.d.ts.map +1 -1
  12. package/build/data/schemas/v1/template.js +113 -5
  13. package/build/data/schemas/v1/template.js.map +1 -1
  14. package/build/registry/enum-utils.d.ts +22 -0
  15. package/build/registry/enum-utils.d.ts.map +1 -0
  16. package/build/registry/enum-utils.js +47 -0
  17. package/build/registry/enum-utils.js.map +1 -0
  18. package/build/registry/extractors.d.ts +32 -0
  19. package/build/registry/extractors.d.ts.map +1 -1
  20. package/build/registry/extractors.js +61 -0
  21. package/build/registry/extractors.js.map +1 -1
  22. package/build/registry/index.d.ts.map +1 -1
  23. package/build/registry/index.js +6 -0
  24. package/build/registry/index.js.map +1 -1
  25. package/build/registry/toolsets/ai-evals.d.ts.map +1 -1
  26. package/build/registry/toolsets/ai-evals.js +80 -8
  27. package/build/registry/toolsets/ai-evals.js.map +1 -1
  28. package/build/registry/toolsets/chaos-descriptions.d.ts +46 -0
  29. package/build/registry/toolsets/chaos-descriptions.d.ts.map +1 -1
  30. package/build/registry/toolsets/chaos-descriptions.js +61 -0
  31. package/build/registry/toolsets/chaos-descriptions.js.map +1 -1
  32. package/build/registry/toolsets/chaos.d.ts.map +1 -1
  33. package/build/registry/toolsets/chaos.js +388 -2
  34. package/build/registry/toolsets/chaos.js.map +1 -1
  35. package/build/registry/toolsets/evidence-vault.d.ts +15 -0
  36. package/build/registry/toolsets/evidence-vault.d.ts.map +1 -0
  37. package/build/registry/toolsets/evidence-vault.js +296 -0
  38. package/build/registry/toolsets/evidence-vault.js.map +1 -0
  39. package/build/registry/toolsets/iacm.d.ts.map +1 -1
  40. package/build/registry/toolsets/iacm.js +1 -0
  41. package/build/registry/toolsets/iacm.js.map +1 -1
  42. package/build/registry/toolsets/pipelines.d.ts.map +1 -1
  43. package/build/registry/toolsets/pipelines.js +45 -15
  44. package/build/registry/toolsets/pipelines.js.map +1 -1
  45. package/build/registry/toolsets/pull-requests.d.ts.map +1 -1
  46. package/build/registry/toolsets/pull-requests.js +5 -5
  47. package/build/registry/toolsets/pull-requests.js.map +1 -1
  48. package/build/registry/toolsets/scs.d.ts +7 -0
  49. package/build/registry/toolsets/scs.d.ts.map +1 -1
  50. package/build/registry/toolsets/scs.js +43 -7
  51. package/build/registry/toolsets/scs.js.map +1 -1
  52. package/build/registry/toolsets/sto.d.ts.map +1 -1
  53. package/build/registry/toolsets/sto.js +3 -1
  54. package/build/registry/toolsets/sto.js.map +1 -1
  55. package/build/registry/toolsets/templates.d.ts.map +1 -1
  56. package/build/registry/toolsets/templates.js +143 -4
  57. package/build/registry/toolsets/templates.js.map +1 -1
  58. package/build/registry/types.d.ts +1 -1
  59. package/build/registry/types.d.ts.map +1 -1
  60. package/build/tools/harness-list.js +1 -1
  61. package/build/tools/harness-list.js.map +1 -1
  62. package/build/tools/harness-update.js +4 -5
  63. package/build/tools/harness-update.js.map +1 -1
  64. package/npm-shrinkwrap.json +12 -12
  65. package/package.json +5 -5
@@ -16039,6 +16039,22 @@ const schema = {
16039
16039
  }
16040
16040
  }
16041
16041
  }
16042
+ },
16043
+ {
16044
+ "if": {
16045
+ "properties": {
16046
+ "type": {
16047
+ "const": "MythosAgent"
16048
+ }
16049
+ }
16050
+ },
16051
+ "then": {
16052
+ "properties": {
16053
+ "spec": {
16054
+ "$ref": "#/definitions/pipeline/steps/common/MythosAgentStepInfo"
16055
+ }
16056
+ }
16057
+ }
16042
16058
  }
16043
16059
  ]
16044
16060
  },
@@ -28963,9 +28979,284 @@ const schema = {
28963
28979
  "$ref": "#/definitions/pipeline/steps/ci/ParameterFieldListString"
28964
28980
  },
28965
28981
  "config": {
28982
+ "oneOf": [
28983
+ {
28984
+ "type": "string",
28985
+ "enum": [
28986
+ "default",
28987
+ "full",
28988
+ "incremental"
28989
+ ]
28990
+ },
28991
+ {
28992
+ "type": "string",
28993
+ "pattern": "(<\\+.+>.*)",
28994
+ "minLength": 1
28995
+ }
28996
+ ]
28997
+ },
28998
+ "connectorRef": {
28999
+ "type": "string"
29000
+ },
29001
+ "imageTag": {
29002
+ "type": "string"
29003
+ },
29004
+ "imagePullPolicy": {
29005
+ "oneOf": [
29006
+ {
29007
+ "type": "string",
29008
+ "enum": [
29009
+ "Always",
29010
+ "Never",
29011
+ "IfNotPresent"
29012
+ ]
29013
+ },
29014
+ {
29015
+ "type": "string",
29016
+ "pattern": "(<\\+.+>.*)",
29017
+ "minLength": 1
29018
+ }
29019
+ ]
29020
+ },
29021
+ "ingestion": {
29022
+ "$ref": "#/definitions/pipeline/steps/common/STOYamlIngestion"
29023
+ },
29024
+ "mode": {
29025
+ "oneOf": [
29026
+ {
29027
+ "type": "string",
29028
+ "enum": [
29029
+ "ingestion",
29030
+ "orchestration"
29031
+ ]
29032
+ },
29033
+ {
29034
+ "type": "string",
29035
+ "pattern": "(<\\+.+>.*)",
29036
+ "minLength": 1
29037
+ }
29038
+ ]
29039
+ },
29040
+ "outputVariables": {
29041
+ "oneOf": [
29042
+ {
29043
+ "type": "array",
29044
+ "items": {
29045
+ "$ref": "#/definitions/pipeline/common/OutputNGVariable"
29046
+ }
29047
+ },
29048
+ {
29049
+ "type": "string",
29050
+ "pattern": "^<\\+input>((\\.)((executionInput\\(\\))|(allowedValues|selectOneFrom|selectManyFrom|default|regex)\\(.+?\\)))*$",
29051
+ "minLength": 1
29052
+ }
29053
+ ]
29054
+ },
29055
+ "privileged": {
29056
+ "oneOf": [
29057
+ {
29058
+ "type": "boolean"
29059
+ },
29060
+ {
29061
+ "type": "string",
29062
+ "pattern": "^<\\+input>((\\.)((executionInput\\(\\))|(allowedValues|selectOneFrom|selectManyFrom|default|regex)\\(.+?\\)))*$",
29063
+ "minLength": 1
29064
+ }
29065
+ ]
29066
+ },
29067
+ "resources": {
29068
+ "$ref": "#/definitions/pipeline/common/ContainerResource"
29069
+ },
29070
+ "runAsUser": {
29071
+ "oneOf": [
29072
+ {
29073
+ "type": "integer",
29074
+ "format": "int32"
29075
+ },
29076
+ {
29077
+ "type": "string"
29078
+ }
29079
+ ]
29080
+ },
29081
+ "settings": {
29082
+ "oneOf": [
29083
+ {
29084
+ "$ref": "#/definitions/pipeline/common/ParameterFieldMapStringJsonNode"
29085
+ },
29086
+ {
29087
+ "type": "string"
29088
+ }
29089
+ ]
29090
+ },
29091
+ "target": {
29092
+ "$ref": "#/definitions/pipeline/steps/common/STOYamlTarget"
29093
+ }
29094
+ }
29095
+ }
29096
+ ],
29097
+ "$schema": "http://json-schema.org/draft-07/schema#",
29098
+ "type": "object",
29099
+ "required": [
29100
+ "config",
29101
+ "mode",
29102
+ "target"
29103
+ ],
29104
+ "properties": {
29105
+ "advanced": {
29106
+ "$ref": "#/definitions/pipeline/steps/common/STOYamlAdvancedSettings"
29107
+ },
29108
+ "auth": {
29109
+ "$ref": "#/definitions/pipeline/steps/common/STOYamlAuth"
29110
+ },
29111
+ "baseImageConnectorRefs": {
29112
+ "$ref": "#/definitions/pipeline/steps/ci/ParameterFieldListString"
29113
+ },
29114
+ "config": {
29115
+ "oneOf": [
29116
+ {
28966
29117
  "type": "string",
28967
29118
  "enum": [
28968
- "default"
29119
+ "default",
29120
+ "full",
29121
+ "incremental"
29122
+ ]
29123
+ },
29124
+ {
29125
+ "type": "string",
29126
+ "pattern": "(<\\+.+>.*)",
29127
+ "minLength": 1
29128
+ }
29129
+ ]
29130
+ },
29131
+ "connectorRef": {
29132
+ "type": "string"
29133
+ },
29134
+ "imageTag": {
29135
+ "type": "string"
29136
+ },
29137
+ "imagePullPolicy": {
29138
+ "oneOf": [
29139
+ {
29140
+ "type": "string",
29141
+ "enum": [
29142
+ "Always",
29143
+ "Never",
29144
+ "IfNotPresent"
29145
+ ]
29146
+ },
29147
+ {
29148
+ "type": "string",
29149
+ "pattern": "(<\\+.+>.*)",
29150
+ "minLength": 1
29151
+ }
29152
+ ]
29153
+ },
29154
+ "ingestion": {
29155
+ "$ref": "#/definitions/pipeline/steps/common/STOYamlIngestion"
29156
+ },
29157
+ "mode": {
29158
+ "oneOf": [
29159
+ {
29160
+ "type": "string",
29161
+ "enum": [
29162
+ "ingestion",
29163
+ "orchestration"
29164
+ ]
29165
+ },
29166
+ {
29167
+ "type": "string",
29168
+ "pattern": "(<\\+.+>.*)",
29169
+ "minLength": 1
29170
+ }
29171
+ ]
29172
+ },
29173
+ "outputVariables": {
29174
+ "oneOf": [
29175
+ {
29176
+ "type": "array",
29177
+ "items": {
29178
+ "$ref": "#/definitions/pipeline/common/OutputNGVariable"
29179
+ }
29180
+ },
29181
+ {
29182
+ "type": "string",
29183
+ "pattern": "^<\\+input>((\\.)((executionInput\\(\\))|(allowedValues|selectOneFrom|selectManyFrom|default|regex)\\(.+?\\)))*$",
29184
+ "minLength": 1
29185
+ }
29186
+ ]
29187
+ },
29188
+ "privileged": {
29189
+ "oneOf": [
29190
+ {
29191
+ "type": "boolean"
29192
+ },
29193
+ {
29194
+ "type": "string",
29195
+ "pattern": "^<\\+input>((\\.)((executionInput\\(\\))|(allowedValues|selectOneFrom|selectManyFrom|default|regex)\\(.+?\\)))*$",
29196
+ "minLength": 1
29197
+ }
29198
+ ]
29199
+ },
29200
+ "resources": {
29201
+ "$ref": "#/definitions/pipeline/common/ContainerResource"
29202
+ },
29203
+ "runAsUser": {
29204
+ "oneOf": [
29205
+ {
29206
+ "type": "integer",
29207
+ "format": "int32"
29208
+ },
29209
+ {
29210
+ "type": "string"
29211
+ }
29212
+ ]
29213
+ },
29214
+ "settings": {
29215
+ "oneOf": [
29216
+ {
29217
+ "$ref": "#/definitions/pipeline/common/ParameterFieldMapStringJsonNode"
29218
+ },
29219
+ {
29220
+ "type": "string"
29221
+ }
29222
+ ]
29223
+ },
29224
+ "target": {
29225
+ "$ref": "#/definitions/pipeline/steps/common/STOYamlTarget"
29226
+ },
29227
+ "description": {
29228
+ "desc": "This is the description for OpenAiStepInfo"
29229
+ }
29230
+ }
29231
+ },
29232
+ "MythosAgentStepInfo": {
29233
+ "title": "MythosAgentStepInfo",
29234
+ "allOf": [
29235
+ {
29236
+ "$ref": "#/definitions/pipeline/common/StepSpecType"
29237
+ },
29238
+ {
29239
+ "type": "object",
29240
+ "required": [
29241
+ "config",
29242
+ "mode",
29243
+ "target"
29244
+ ],
29245
+ "properties": {
29246
+ "advanced": {
29247
+ "$ref": "#/definitions/pipeline/steps/common/STOYamlAdvancedSettings"
29248
+ },
29249
+ "auth": {
29250
+ "$ref": "#/definitions/pipeline/steps/common/STOYamlAuth"
29251
+ },
29252
+ "baseImageConnectorRefs": {
29253
+ "$ref": "#/definitions/pipeline/steps/ci/ParameterFieldListString"
29254
+ },
29255
+ "config": {
29256
+ "type": "string",
29257
+ "enum": [
29258
+ "hunt",
29259
+ "scan"
28969
29260
  ]
28970
29261
  },
28971
29262
  "connectorRef": {
@@ -29063,6 +29354,9 @@ const schema = {
29063
29354
  },
29064
29355
  "target": {
29065
29356
  "$ref": "#/definitions/pipeline/steps/common/STOYamlTarget"
29357
+ },
29358
+ "tool": {
29359
+ "$ref": "#/definitions/pipeline/steps/common/STOYamlMythosAgentToolData"
29066
29360
  }
29067
29361
  }
29068
29362
  }
@@ -29087,7 +29381,8 @@ const schema = {
29087
29381
  "config": {
29088
29382
  "type": "string",
29089
29383
  "enum": [
29090
- "default"
29384
+ "hunt",
29385
+ "scan"
29091
29386
  ]
29092
29387
  },
29093
29388
  "connectorRef": {
@@ -29186,11 +29481,30 @@ const schema = {
29186
29481
  "target": {
29187
29482
  "$ref": "#/definitions/pipeline/steps/common/STOYamlTarget"
29188
29483
  },
29484
+ "tool": {
29485
+ "$ref": "#/definitions/pipeline/steps/common/STOYamlMythosAgentToolData"
29486
+ },
29189
29487
  "description": {
29190
- "desc": "This is the description for OpenAiStepInfo"
29488
+ "desc": "This is the description for MythosAgentStepInfo"
29191
29489
  }
29192
29490
  }
29193
29491
  },
29492
+ "STOYamlMythosAgentToolData": {
29493
+ "title": "STOYamlMythosAgentToolData",
29494
+ "type": "object",
29495
+ "properties": {
29496
+ "model": {
29497
+ "type": "string"
29498
+ },
29499
+ "base_url": {
29500
+ "type": "string"
29501
+ },
29502
+ "description": {
29503
+ "desc": "This is the description for STOYamlMythosAgentToolData"
29504
+ }
29505
+ },
29506
+ "$schema": "http://json-schema.org/draft-07/schema#"
29507
+ },
29194
29508
  "CheckovScanNode": {
29195
29509
  "title": "CheckovScanNode",
29196
29510
  "type": "object",
@@ -42766,6 +43080,101 @@ const schema = {
42766
43080
  }
42767
43081
  ]
42768
43082
  },
43083
+ "MythosAgentNode": {
43084
+ "title": "MythosAgentNode",
43085
+ "type": "object",
43086
+ "required": [
43087
+ "identifier",
43088
+ "name",
43089
+ "spec",
43090
+ "type"
43091
+ ],
43092
+ "properties": {
43093
+ "description": {
43094
+ "type": "string",
43095
+ "desc": "This is the description for MythosAgentNode"
43096
+ },
43097
+ "enforce": {
43098
+ "$ref": "#/definitions/pipeline/common/PolicyConfig"
43099
+ },
43100
+ "failureStrategies": {
43101
+ "oneOf": [
43102
+ {
43103
+ "type": "array",
43104
+ "items": {
43105
+ "$ref": "#/definitions/pipeline/common/FailureStrategyConfig"
43106
+ }
43107
+ },
43108
+ {
43109
+ "type": "string",
43110
+ "pattern": "^<\\+input>$",
43111
+ "minLength": 1
43112
+ }
43113
+ ]
43114
+ },
43115
+ "identifier": {
43116
+ "type": "string",
43117
+ "pattern": "^[a-zA-Z_][0-9a-zA-Z_]{0,127}$"
43118
+ },
43119
+ "name": {
43120
+ "type": "string",
43121
+ "pattern": "^[a-zA-Z_0-9-.][-0-9a-zA-Z_\\s.]{0,127}$"
43122
+ },
43123
+ "strategy": {
43124
+ "oneOf": [
43125
+ {
43126
+ "$ref": "#/definitions/pipeline/common/StrategyConfig"
43127
+ },
43128
+ {
43129
+ "type": "string",
43130
+ "pattern": "^<\\+input>$",
43131
+ "minLength": 1
43132
+ }
43133
+ ]
43134
+ },
43135
+ "timeout": {
43136
+ "type": "string",
43137
+ "pattern": "^(([1-9])+\\d+[s])|(((([1-9])+\\d*[mhwd])+([\\s]?\\d+[smhwd])*)|(.*<\\+.*>(?!.*\\.executionInput\\(\\)).*)|(^$))$"
43138
+ },
43139
+ "type": {
43140
+ "type": "string",
43141
+ "enum": [
43142
+ "MythosAgent"
43143
+ ]
43144
+ },
43145
+ "when": {
43146
+ "oneOf": [
43147
+ {
43148
+ "$ref": "#/definitions/pipeline/common/StepWhenCondition"
43149
+ },
43150
+ {
43151
+ "type": "string",
43152
+ "pattern": "^<\\+input>$",
43153
+ "minLength": 1
43154
+ }
43155
+ ]
43156
+ }
43157
+ },
43158
+ "$schema": "http://json-schema.org/draft-07/schema#",
43159
+ "allOf": [
43160
+ {
43161
+ "if": {
43162
+ "properties": {
43163
+ "type": {
43164
+ "const": "MythosAgent"
43165
+ }
43166
+ }
43167
+ },
43168
+ "then": {
43169
+ "properties": {
43170
+ "spec": {
43171
+ "$ref": "#/definitions/pipeline/steps/common/MythosAgentStepInfo"
43172
+ }
43173
+ }
43174
+ }
43175
+ }
43176
+ ]
43177
+ },
42769
43178
  "SscaAibomOrchestrationStepNode": {
42770
43179
  "title": "SscaAibomOrchestrationStepNode",
42771
43180
  "type": "object",
@@ -117335,6 +117744,9 @@ const schema = {
117335
117744
  {
117336
117745
  "$ref": "#/definitions/pipeline/steps/common/OpenAiNode"
117337
117746
  },
117747
+ {
117748
+ "$ref": "#/definitions/pipeline/steps/common/MythosAgentNode"
117749
+ },
117338
117750
  {
117339
117751
  "$ref": "#/definitions/pipeline/steps/common/SscaEnforcementStepNode"
117340
117752
  },
@@ -118110,6 +118522,9 @@ const schema = {
118110
118522
  {
118111
118523
  "$ref": "#/definitions/pipeline/steps/common/OpenAiNode"
118112
118524
  },
118525
+ {
118526
+ "$ref": "#/definitions/pipeline/steps/common/MythosAgentNode"
118527
+ },
118113
118528
  {
118114
118529
  "$ref": "#/definitions/pipeline/steps/common/SscaComplianceStepNode"
118115
118530
  },