contractspec 4.0.6 → 4.0.8

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.
@@ -799,6 +799,95 @@
799
799
  }
800
800
  },
801
801
  "additionalProperties": false
802
+ },
803
+ "harness": {
804
+ "type": "object",
805
+ "properties": {
806
+ "artifactRoot": {
807
+ "default": ".contractspec/harness",
808
+ "type": "string"
809
+ },
810
+ "browserEngine": {
811
+ "default": "playwright",
812
+ "type": "string",
813
+ "enum": ["playwright", "agent-browser", "both"]
814
+ },
815
+ "targetBaseUrls": {
816
+ "type": "object",
817
+ "properties": {
818
+ "preview": {
819
+ "type": "string",
820
+ "format": "uri"
821
+ },
822
+ "task": {
823
+ "type": "string",
824
+ "format": "uri"
825
+ },
826
+ "shared": {
827
+ "type": "string",
828
+ "format": "uri"
829
+ },
830
+ "sandbox": {
831
+ "type": "string",
832
+ "format": "uri"
833
+ }
834
+ },
835
+ "additionalProperties": false
836
+ },
837
+ "allowlistedDomains": {
838
+ "type": "array",
839
+ "items": {
840
+ "type": "string"
841
+ }
842
+ },
843
+ "visual": {
844
+ "type": "object",
845
+ "properties": {
846
+ "maxDiffBytes": {
847
+ "type": "integer",
848
+ "minimum": 0,
849
+ "maximum": 9007199254740991
850
+ },
851
+ "maxDiffRatio": {
852
+ "type": "number",
853
+ "minimum": 0,
854
+ "maximum": 1
855
+ },
856
+ "updateBaselines": {
857
+ "default": false,
858
+ "type": "boolean"
859
+ }
860
+ },
861
+ "additionalProperties": false
862
+ },
863
+ "authProfiles": {
864
+ "type": "object",
865
+ "propertyNames": {
866
+ "type": "string"
867
+ },
868
+ "additionalProperties": {
869
+ "type": "object",
870
+ "properties": {
871
+ "kind": {
872
+ "type": "string",
873
+ "enum": [
874
+ "storage-state",
875
+ "browser-profile",
876
+ "session-name",
877
+ "headers-env"
878
+ ]
879
+ },
880
+ "ref": {
881
+ "type": "string",
882
+ "minLength": 1
883
+ }
884
+ },
885
+ "required": ["kind", "ref"],
886
+ "additionalProperties": false
887
+ }
888
+ }
889
+ },
890
+ "additionalProperties": false
802
891
  }
803
892
  },
804
893
  "additionalProperties": false
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "contractspec",
3
- "version": "4.0.6",
3
+ "version": "4.0.8",
4
4
  "description": "CLI tool for creating, building, and validating contract specifications",
5
5
  "bin": {
6
6
  "contractspec": "./bin/contractspec.mjs"
7
7
  },
8
8
  "dependencies": {
9
- "@contractspec/app.cli-contractspec": "6.1.2",
10
- "@contractspec/lib.contracts-spec": "5.6.0"
9
+ "@contractspec/app.cli-contractspec": "6.2.1",
10
+ "@contractspec/lib.contracts-spec": "6.0.0"
11
11
  },
12
12
  "files": [
13
13
  "bin",